Struct ssvm_evmc_sys::evmc_message [−][src]
#[repr(C)]pub struct evmc_message {
pub kind: evmc_call_kind,
pub flags: u32,
pub depth: i32,
pub gas: i64,
pub destination: evmc_address,
pub sender: evmc_address,
pub input_data: *const u8,
pub input_size: usize,
pub value: evmc_uint256be,
pub create2_salt: evmc_bytes32,
}
Expand description
The message describing an EVM call, including a zero-depth calls from a transaction origin.
Fields
kind: evmc_call_kind
The kind of the call. For zero-depth calls ::EVMC_CALL SHOULD be used.
flags: u32
Additional flags modifying the call execution behavior. In the current version the only valid values are ::EVMC_STATIC or 0.
depth: i32
The call depth.
gas: i64
The amount of gas for message execution.
destination: evmc_address
The destination of the message.
sender: evmc_address
The sender of the message.
input_data: *const u8
The message input data.
This MAY be NULL.
input_size: usize
The size of the message input data.
If input_data is NULL this MUST be 0.
value: evmc_uint256be
The amount of Ether transferred with the message.
create2_salt: evmc_bytes32
The optional value used in new contract address construction.
Ignored unless kind is EVMC_CREATE2.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for evmc_message
impl !Send for evmc_message
impl !Sync for evmc_message
impl Unpin for evmc_message
impl UnwindSafe for evmc_message
Blanket Implementations
Mutably borrows from an owned value. Read more