Self Destruct

A global variable in the Solidity language that allows you to “destroy the current contract, sending its funds to the given address”selfdestruct acts as an alias to the deprecated suicide terminology in accordance with EIP 6 - Renaming SUICIDE OPCODE. It frees up space on the blockchain and prevents future execution of the contract. The contract’s address will still persist, but ether sent to it will be lost forever. The possibility to kill a contract has to be implemented by the contract creator him/herself using the Solidity selfdestruct function.


Leave a Reply

Your email address will not be published. Required fields are marked *