Files
openzeppelin-contracts/contracts/mocks/PullPaymentMock.sol
2020-11-17 21:29:39 -03:00

16 lines
363 B
Solidity

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