Files
openzeppelin-contracts/docs/source/killable.rst
2017-05-08 22:50:43 +03:00

16 lines
376 B
ReStructuredText

Destructible
=============================================
Base contract that can be destroyed by owner.
Inherits from contract Ownable.
destroy( ) onlyOwner
"""""""""""""""""""
Destroys the contract and sends funds back to the owner.
destroyAndSendRecepient(address _recipient) onlyOwner
"""""""""""""""""""
Destroys the contract and sends funds back to the _recepient.