EVMC
evmc_result_optional_storage Union Reference

The union representing evmc_result "optional storage". More...

#include <helpers.h>

Public Attributes

uint8_t bytes [24]
 24 bytes of optional storage.
 
void * pointer
 Optional pointer.
 

Detailed Description

The union representing evmc_result "optional storage".

The evmc_result struct contains 24 bytes of optional storage that can be reused by the object creator if the object does not contain evmc_result::create_address.

A VM implementation MAY use this memory to keep additional data when returning result from evmc_execute_fn(). The host application MAY use this memory to keep additional data when returning result of performed calls from evmc_call_fn().

See also
evmc_get_optional_storage(), evmc_get_const_optional_storage().

Definition at line 198 of file helpers.h.

Member Data Documentation

◆ bytes

uint8_t evmc_result_optional_storage::bytes[24]

24 bytes of optional storage.

Definition at line 200 of file helpers.h.

◆ pointer

void* evmc_result_optional_storage::pointer

Optional pointer.

Definition at line 201 of file helpers.h.


The documentation for this union was generated from the following file: