writing docs

This commit is contained in:
Demian Elias Brener
2016-12-18 19:52:20 -03:00
parent 8ba40d066f
commit ec07dce76f
19 changed files with 345 additions and 314 deletions

View File

@ -0,0 +1,12 @@
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.