Files
openzeppelin-contracts/contracts/mocks/PullPaymentMock.sol
Nicolás Venturo fac773ac99 Add SPX license identifier (#2235)
(cherry picked from commit 56de324afe)
2020-06-08 13:05:11 -03:00

16 lines
370 B
Solidity

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