PullPaymentMock.sol 337 B

12345678910111213
  1. pragma solidity ^0.6.0;
  2. import "../payment/PullPayment.sol";
  3. // mock class using PullPayment
  4. contract PullPaymentMock is PullPayment {
  5. constructor () public payable { }
  6. // test helper function to call asyncTransfer
  7. function callTransfer(address dest, uint256 amount) public {
  8. _asyncTransfer(dest, amount);
  9. }
  10. }