Trait evm_state::AccountProvider[][src]

pub trait AccountProvider {
    fn last_root(&self) -> H256;
fn get_account_state(&self, address: H160) -> Option<AccountState>;
fn get_storage(&self, address: H160, index: H256) -> Option<H256>;
fn block_number(&self) -> u64;
fn timestamp(&self) -> u64;
fn block_version(&self) -> BlockVersion; }

Required methods

fn last_root(&self) -> H256[src]

fn get_account_state(&self, address: H160) -> Option<AccountState>[src]

fn get_storage(&self, address: H160, index: H256) -> Option<H256>[src]

fn block_number(&self) -> u64[src]

fn timestamp(&self) -> u64[src]

fn block_version(&self) -> BlockVersion[src]

Loading content...

Implementors

impl AccountProvider for EvmState[src]

impl AccountProvider for EvmBackend<Committed>[src]

impl AccountProvider for EvmBackend<Incomming>[src]

Loading content...