Struct sewup::runtimes::traits::VMMessageBuilder[][src]

pub struct VMMessageBuilder<'a> {
    pub kind: evmc_call_kind,
    pub flags: Flags,
    pub depth: i32,
    pub gas: i64,
    pub destination: Option<&'a Raw>,
    pub sender: Option<&'a Raw>,
    pub input_data: Option<&'a Vec<u8>>,
    pub value: Raw,
    pub code: Option<&'a Vec<u8>>,
    pub create2_salt: Option<()>,
}

Fields

kind: evmc_call_kindflags: Flagsdepth: i32gas: i64destination: Option<&'a Raw>sender: Option<&'a Raw>input_data: Option<&'a Vec<u8>>value: Rawcode: Option<&'a Vec<u8>>create2_salt: Option<()>

Implementations

The Message will be restricted and do not modify the storage

Use Create2 EVM call with predefined salt The call help you generate the contract address.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.