mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openzeppelin-contracts/docs/source/killable.rst

17 lines
368 B

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