Struct evm::EnvInfo[][src]

pub struct EnvInfo {
    pub number: u64,
    pub author: H160,
    pub timestamp: u64,
    pub difficulty: U256,
    pub gas_limit: U256,
    pub last_hashes: Arc<Vec<H256>>,
    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 From<Env> for EnvInfo
[src]

Performs the conversion.

impl Default for EnvInfo
[src]

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

impl Clone for EnvInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EnvInfo
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for EnvInfo

impl Sync for EnvInfo