Files
openzeppelin-contracts/contracts/test-helpers/PullPaymentMock.sol

18 lines
343 B
Solidity

pragma solidity ^0.4.4;
import '../PullPayment.sol';
// mock class using PullPayment
contract PullPaymentMock is PullPayment {
function PullPaymentMock() payable { }
// test helper function to call asyncSend
function PullPaymentMock() payable { }
function callSend(address dest, uint amount) {
asyncSend(dest, amount);
}
}