add destroy function, allowing send funds to recepient

This commit is contained in:
Maxim Averin
2017-05-08 19:34:05 +03:00
parent f7a7fc3b06
commit 4de772f5ed
3 changed files with 20 additions and 2 deletions

View File

@ -8,4 +8,9 @@ Inherits from contract Ownable.
destroy( ) onlyOwner
"""""""""""""""""""
Destroys the contract and sends funds back to the owner.
Destroys the contract and sends funds back to the owner.
destroyAndSendRecepient(address _recipient) onlyOwner
"""""""""""""""""""
Destroys the contract and sends funds back to the _recepient.