Struct vm::ActionParams[][src]

pub struct ActionParams {
    pub code_address: Address,
    pub code_hash: Option<H256>,
    pub address: Address,
    pub sender: Address,
    pub origin: Address,
    pub gas: U256,
    pub gas_price: U256,
    pub value: ActionValue,
    pub code: Option<Arc<Bytes>>,
    pub data: Option<Bytes>,
    pub call_type: CallType,
    pub params_type: ParamsType,
}

Action (call/create) input params. Everything else should be specified in Externalities.

Fields

Address of currently executed code.

Hash of currently executed code.

Receive address. Usually equal to code_address, except when called using CALLCODE.

Sender of current part of the transaction.

Transaction initiator.

Gas paid up front for transaction execution

Gas price.

Transaction value.

Code being executed.

Input data.

Type of call

Param types encoding

Trait Implementations

impl Clone for ActionParams
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ActionParams
[src]

Formats the value using the given formatter. Read more

impl Default for ActionParams
[src]

Returns default ActionParams initialized with zeros

impl From<Transaction> for ActionParams
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for ActionParams

impl Sync for ActionParams