SelfDestructible allows an inheriting contract to be destroyed by its owner, who must announce an intention to destroy it, and then wait for a four week cooling-off period before it can be destroyed. Any ether remaining in the contract at this time is forwarded to a nominated beneficiary.
The timestamp at which the self destruction was begun.
True iff the contract is currently undergoing self destruction.
The address where any lingering eth in this contract will be sent.
The duration (four weeks) that must be waited between self destruct initiation and actual destruction. That is the contract can only be destroyed after the timestamp
initiationTime + SELFDESTRUCT_DELAY.
uint public constant
constructor(address _owner) public
- The provided owner must not be the zero address.
Changes the self destruct beneficiary.
setSelfDestructBeneficiary(address _beneficiary) external
- The provided beneficiary must not be the zero address.
Resets the timer and disables self destruction.
If self destruction is active and the timer has elapsed, destroy this contract and forward its ether to
Self destruction was terminated by the contract owner.
The contract was destroyed, forwarding the ether on to the beneficiary.
Self destruction was initiated with the indicated delay time.
The self destruct beneficiary was changed to the indicated new address.