add pragmas and get tests to run
This commit is contained in:
11
contracts/examples/PullPaymentExample.sol
Normal file
11
contracts/examples/PullPaymentExample.sol
Normal file
@ -0,0 +1,11 @@
|
||||
pragma solidity ^0.4.0;
|
||||
|
||||
import '../PullPayment.sol';
|
||||
|
||||
// Example class using PullPayment
|
||||
contract PullPaymentExample is PullPayment {
|
||||
// test helper function to call asyncSend
|
||||
function callSend(address dest, uint amount) external {
|
||||
asyncSend(dest, amount);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user