pub struct CallInputs {
    pub contract: B160,
    pub transfer: Transfer,
    pub input: Bytes,
    pub gas_limit: u64,
    pub context: CallContext,
    pub is_static: bool,
}
Expand description

Inputs for a call.

Fields§

§contract: B160

The target of the call.

§transfer: Transfer

The transfer, if any, in this call.

§input: Bytes

The call data of the call.

§gas_limit: u64

The gas limit of the call.

§context: CallContext

The context of the call.

§is_static: bool

Is static call

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
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.