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