Struct evmc_vm::ExecutionContext [−][src]
pub struct ExecutionContext<'a> { /* fields omitted */ }
Expand description
EVMC context structure. Exposes the EVMC host functions, message data, and transaction context to the executing VM.
Implementations
Retrieve the transaction context.
Check if an account exists.
Read from a storage key.
pub fn set_storage(
&mut self,
address: &Address,
key: &Bytes32,
value: &Bytes32
) -> StorageStatus
pub fn set_storage(
&mut self,
address: &Address,
key: &Bytes32,
value: &Bytes32
) -> StorageStatus
Set value of a storage key.
Get balance of an account.
Get code size of an account.
Get code hash of an account.
Copy code of an account.
Self-destruct the current account.
Call to another account.
Get block hash of an account.
Access an account.
Access a storage key.