Type Definition ssvm_evmc_sys::evmc_selfdestruct_fn [−][src]
pub type evmc_selfdestruct_fn = Option<unsafe extern "C" fn(context: *mut evmc_context, address: *const evmc_address, beneficiary: *const evmc_address)>;
Expand description
Selfdestruct callback function.
This callback 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.
@param context The pointer to the Host execution context. @see ::evmc_context. @param address The address of the contract to be selfdestructed. @param beneficiary The address where the remaining ETH is going to be transferred.