* Update contract pragmas to solidity 0.7 * Remove internal declaration on constructors * Reference SafeMath explicitely * Remove public constructor declaration from abstract contracts * Remove public constructor declaration from non-abstract contracts
16 lines
363 B
Solidity
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);
|
|
}
|
|
}
|