abstract suspend fun selfdestruct(address: Address, beneficiary: Address): Unit
(source)
Selfdestruct function.
This function is used by an EVM to SELFDESTRUCT given contract. The execution of the contract will not be stopped, that is up to the EVM.
address
- The address of the contract to be selfdestructed.
beneficiary
- The address where the remaining ETH is going to be transferred.