You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
Solidity
16 lines
362 B
Solidity
2 years ago
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
pragma solidity ^0.8.0;
|
||
|
|
||
|
import "../security/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);
|
||
|
}
|
||
|
}
|