pub type evmc_get_storage_fn = Option<unsafe extern "C" fn(context: *mut evmc_host_context, address: *const evmc_address, key: *const evmc_bytes32) -> evmc_bytes32>;Expand description
Get storage callback function.
This callback function is used by a VM to query the given account storage entry.
@param context The Host execution context. @param address The address of the account. @param key The index of the account’s storage entry. @return The storage value at the given storage key or null bytes if the account does not exist.
Aliased Type§
pub enum evmc_get_storage_fn {
None,
Some(unsafe extern "C" fn(*mut evmc_host_context, *const evmc_address, *const evmc_bytes32) -> evmc_bytes32),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut evmc_host_context, *const evmc_address, *const evmc_bytes32) -> evmc_bytes32)
Some value of type T.