Struct evmodin::util::mocked_host::MockedHost [−][src]
pub struct MockedHost {
pub accounts: HashMap<Address, Account>,
pub tx_context: TxContext,
pub block_hash: U256,
pub call_result: Output,
pub recorded: Mutex<Records>,
}
Fields
accounts: HashMap<Address, Account>
tx_context: TxContext
block_hash: U256
call_result: Output
recorded: Mutex<Records>
Trait Implementations
Check if an account exists.
Get value of a storage key. Read more
Set value of a storage key.
Get balance of an account. Read more
Get code size of an account. Read more
Get code hash of an account. Read more
Copy code of an account. Read more
Self-destruct account.
Retrieve transaction context.
Get block hash. Read more
Mark account as warm, return previous access status. Read more
Mark storage key as warm, return previous access status. Read more
Auto Trait Implementations
impl !RefUnwindSafe for MockedHost
impl Send for MockedHost
impl Sync for MockedHost
impl Unpin for MockedHost
impl UnwindSafe for MockedHost
Blanket Implementations
Mutably borrows from an owned value. Read more