You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
634 B
12 lines
634 B
8 years ago
|
PullPayment
|
||
|
=============================================
|
||
|
|
||
|
Base contract supporting async send for pull payments. Inherit from this contract and use asyncSend instead of send.
|
||
|
|
||
|
asyncSend(address dest, uint amount) internal
|
||
|
"""""""""""""""""""""""""""""""""""""""""""""""
|
||
|
Adds sent amount to available balance that payee can pull from this contract, called by payer.
|
||
|
|
||
|
withdrawPayments( )
|
||
|
"""""""""""""""""""""""""""""""""""""""""""""""
|
||
|
Sends designated balance to payee calling the contract. Throws error if designated balance is 0, if contract does not hold enough funds ot pay the payee, or if the send transaction is not successful.
|