There are 1 repository under selfdestruct topic.
This repository implements a simplified PoC that showcases how a contract can morph. A similar approach was used as part of the governance attack on Tornado Cash in May 2023.
the official source-code leak of lithiumclient.wtf
Detect SELFDESTRUCT opcodes in EVM runtime bytecode
A Laravel library for automatically deleting models after a specified time.
The smart contract's business logic must consider that the actual balance associated with it can be higher than the internal accounting's value. In general it's recommended not to use the contract's balance as a guard.