Files
openzeppelin-contracts/docs/source/killable.rst
Jorge Izquierdo a6a2ee2bf1 Merge with master
2017-05-21 16:08:47 -04:00

16 lines
367 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.