PullPaymentMock.sol 370 B

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