pub trait Database {
    fn basic(&mut self, address: H160) -> AccountInfo;
fn code_by_hash(&mut self, code_hash: H256) -> Bytes;
fn storage(&mut self, address: H160, index: U256) -> U256;
fn block_hash(&mut self, number: U256) -> H256; }

Required methods

Get basic account information.

Get account code by its hash

Get storage value of address at index.

Implementations on Foreign Types

Implementors