[][src]Type Definition evmc_sys::evmc_get_storage_fn

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>;

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.