Struct evm::backend::MemoryVicinity [−][src]
pub struct MemoryVicinity {
pub gas_price: U256,
pub origin: H160,
pub chain_id: U256,
pub block_hashes: Vec<H256>,
pub block_number: U256,
pub block_coinbase: H160,
pub block_timestamp: U256,
pub block_difficulty: U256,
pub block_gas_limit: U256,
pub block_base_fee_per_gas: U256,
}Expand description
Vivinity value of a memory backend.
Fields
gas_price: U256Gas price.
origin: H160Origin.
chain_id: U256Chain ID.
block_hashes: Vec<H256>Environmental block hashes.
block_number: U256Environmental block number.
block_coinbase: H160Environmental coinbase.
block_timestamp: U256Environmental block timestamp.
block_difficulty: U256Environmental block difficulty.
block_gas_limit: U256Environmental block gas limit.
block_base_fee_per_gas: U256Environmental base fee per gas.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for MemoryVicinity
impl Send for MemoryVicinity
impl Sync for MemoryVicinity
impl Unpin for MemoryVicinity
impl UnwindSafe for MemoryVicinity
Blanket Implementations
Mutably borrows from an owned value. Read more