EVMC
evmc_message Struct Reference

The message describing an EVM call, including a zero-depth calls from a transaction origin. More...

#include <evmc.h>

Public Attributes

enum evmc_call_kind kind
 The kind of the call. More...
 
uint32_t flags
 Additional flags modifying the call execution behavior. More...
 
int32_t depth
 The call depth. More...
 
int64_t gas
 The amount of gas for message execution. More...
 
evmc_address destination
 The destination of the message. More...
 
evmc_address sender
 The sender of the message. More...
 
const uint8_t * input_data
 The message input data. More...
 
size_t input_size
 The size of the message input data. More...
 
evmc_uint256be value
 The amount of Ether transferred with the message.
 
evmc_bytes32 create2_salt
 The optional value used in new contract address construction. More...
 

Detailed Description

The message describing an EVM call, including a zero-depth calls from a transaction origin.

Definition at line 95 of file evmc.h.

Member Data Documentation

◆ create2_salt

evmc_bytes32 evmc_message::create2_salt

The optional value used in new contract address construction.

Ignored unless kind is EVMC_CREATE2.

Definition at line 142 of file evmc.h.

◆ depth

int32_t evmc_message::depth

The call depth.

Definition at line 107 of file evmc.h.

◆ destination

evmc_address evmc_message::destination

The destination of the message.

Definition at line 113 of file evmc.h.

◆ flags

uint32_t evmc_message::flags

Additional flags modifying the call execution behavior.

In the current version the only valid values are EVMC_STATIC or 0.

Definition at line 104 of file evmc.h.

◆ gas

int64_t evmc_message::gas

The amount of gas for message execution.

Definition at line 110 of file evmc.h.

◆ input_data

const uint8_t* evmc_message::input_data

The message input data.

This MAY be NULL.

Definition at line 123 of file evmc.h.

◆ input_size

size_t evmc_message::input_size

The size of the message input data.

If input_data is NULL this MUST be 0.

Definition at line 130 of file evmc.h.

◆ kind

enum evmc_call_kind evmc_message::kind

The kind of the call.

For zero-depth calls EVMC_CALL SHOULD be used.

Definition at line 98 of file evmc.h.

◆ sender

evmc_address evmc_message::sender

The sender of the message.

Definition at line 116 of file evmc.h.


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