Struct sputnikvm::Context [] [src]

pub struct Context {
    pub address: Address,
    pub caller: Address,
    pub code: Rc<Vec<u8>>,
    pub data: Rc<Vec<u8>>,
    pub gas_limit: Gas,
    pub gas_price: Gas,
    pub origin: Address,
    pub value: U256,
    pub apprent_value: U256,
    pub is_system: bool,
    pub is_static: bool,
}

A VM context. See the Yellow Paper for more information.

Fields

Address that is executing this runtime.

Caller of the runtime.

Code to be executed.

Data associated with this execution.

Gas limit.

Gas price.

The origin of the context. The same as caller when it is from a transaction.

Value passed for this runtime.

Apprent value in the execution context.

Whether this represents a system call.

Whether this call is static.

Trait Implementations

impl Debug for Context
[src]

[src]

Formats the value using the given formatter.

impl Clone for Context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more