PullPayment
contract PullPayment
Base contract supporting async send for pull payments. Inherit from this contract and use asyncSend instead of send or transfer.
Source: payment/PullPayment.sol
Reference
Functions
asyncSend
function asyncSend(address dest, uint256 amount) internal
Called by the payer to store the sent amount as credit to be pulled.
- Parameters:
dest
- The destination address of the funds.amount
- The amount to transfer.
withdrawPayments
function withdrawPayments() public
Withdraw accumulated balance, called by payee.