Trait evm_state::Backend [−][src]
EVM backend.
Required methods
pub fn gas_price(&self) -> U256
[src]
Gas price.
pub fn origin(&self) -> H160
[src]
Origin.
pub fn block_hash(&self, number: U256) -> H256
[src]
Environmental block hash.
pub fn block_number(&self) -> U256
[src]
Environmental block number.
pub fn block_coinbase(&self) -> H160
[src]
Environmental coinbase.
pub fn block_timestamp(&self) -> U256
[src]
Environmental block timestamp.
pub fn block_difficulty(&self) -> U256
[src]
Environmental block difficulty.
pub fn block_gas_limit(&self) -> U256
[src]
Environmental block gas limit.
pub fn chain_id(&self) -> U256
[src]
Environmental chain ID.
pub fn exists(&self, address: H160) -> bool
[src]
Whether account at address exists.
pub fn basic(&self, address: H160) -> Basic
[src]
Get basic account information.
pub fn code(&self, address: H160) -> Vec<u8, Global>
[src]
Get account code.
pub fn storage(&self, address: H160, index: H256) -> H256
[src]
Get storage value of address at index.
pub fn original_storage(&self, address: H160, index: H256) -> Option<H256>
[src]
Get original storage value of address at index, if available.
Implementations on Foreign Types
impl<'backend, 'config, B> Backend for MemoryStackState<'backend, 'config, B> where
B: Backend,
[src]
B: Backend,