Files
openzeppelin-contracts/contracts/mocks/PullPaymentMock.sol
Francisco Giordano e357592208 fix linter errors
2019-01-24 13:18:09 -03:00

16 lines
375 B
Solidity

pragma solidity ^0.5.0;
import "../payment/PullPayment.sol";
// mock class using PullPayment
contract PullPaymentMock is PullPayment {
constructor () public payable {
PullPayment.initialize();
}
// test helper function to call asyncTransfer
function callTransfer(address dest, uint256 amount) public {
_asyncTransfer(dest, amount);
}
}