Struct vm::EnvInfo[][src]

pub struct EnvInfo {
    pub number: BlockNumber,
    pub author: Address,
    pub timestamp: u64,
    pub difficulty: U256,
    pub gas_limit: U256,
    pub last_hashes: Arc<LastHashes>,
    pub gas_used: U256,
}

Information concerning the execution environment for a message-call/contract-creation.

Fields

The block number.

The block author.

The block timestamp.

The block difficulty.

The block gas limit.

The last 256 block hashes.

The gas used.

Trait Implementations

impl Debug for EnvInfo
[src]

Formats the value using the given formatter. Read more

impl Clone for EnvInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for EnvInfo
[src]

Returns the "default value" for a type. Read more

impl From<Env> for EnvInfo
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for EnvInfo

impl Sync for EnvInfo