Expand description
EVM execution context.
Re-exports§
pub use block::BlockEnv;
pub use cfg::CfgEnv;
pub use evm::Evm;
pub use local::LocalContext;
pub use tx::TxEnv;
pub use context::*;
pub use journal::*;
Modules§
- block
- This module contains
BlockEnv
and it implementsBlock
trait. - cfg
- This module contains
CfgEnv
and implementsCfg
trait for it. - context
- This module contains
Context
struct and implementsContextTr
trait for it. - either
- The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases. - evm
- This module contains
Evm
struct. - journal
- This module contains
Journal
struct and implementsJournalTr
trait for it. - journaled_
state - Journaled state trait
JournalTr
and related types. - local
- Local context that is filled by execution.
- result
- Result of the EVM execution. Containing both execution result, state and errors.
- transaction
- Transaction trait
Transaction
and associated types. - tx
- This module contains
TxEnv
struct and implementsTransaction
trait for it.
Structs§
- Frame
Stack - Non-empty, item-pooling Vec.
- Frame
Token - Used to guarantee that a frame is initialized before use.
- OutFrame
- A potentially initialized frame. Used when initializing a new frame in the main loop.
Enums§
- Context
Error - Inner Context error used for Interpreter to set error without returning it frm instruction
- Create
Scheme - Create scheme
- Transaction
Type - Transaction types of all Ethereum transaction
Traits§
- Block
- Trait for retrieving block information required for execution.
- Cfg
- Configuration for the EVM.
- Context
Setters - Trait for setting the transaction and block in the context.
- Context
Tr - Trait that defines the context of the EVM execution.
- DBError
Marker - Database error marker is needed to implement From conversion for Error type.
- Database
- EVM database interface.
- Journal
Tr - Trait that contains database and journal of all changes that were made to the state.
- Local
Context Tr - Local context used for caching initcode from Initcode transactions.
- Transaction
- Main Transaction trait that abstracts and specifies all transaction currently supported by Ethereum
Type Aliases§
- Transact
To - Transaction destination