mirror of
https://github.com/th30d4y/OpenLearnX.git
synced 2026-05-26 19:26:33 +00:00
16 lines
362 B
Solidity
16 lines
362 B
Solidity
// 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);
|
|
}
|
|
}
|