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

18 lines
325 B
Solidity

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