Files
openzeppelin-contracts/docs/source/killable.rst
2017-09-16 10:20:06 -04:00

17 lines
368 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.
destroyAndSend(address _recipient) onlyOwner
"""""""""""""""""""
Destroys the contract and sends funds back to the _recepient.