Expand description
Optimism-specific constants, types, and helpers.
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
BlockEnvand it implementsBlocktrait. - cfg
- This module contains
CfgEnvand implementsCfgtrait for it. - context
- This module contains
Contextstruct and implementsContextTrtrait for it. - either
- The enum
Eitherwith variantsLeftandRightis a general purpose sum type with two cases. - evm
- This module contains
Evmstruct. - journal
- This module contains
Journalstruct and implementsJournalTrtrait for it. - journaled_
state - local
- Local context that is filled by execution.
- result
- transaction
- tx
- This module contains
TxEnvstruct and implementsTransactiontrait for it.
Enums§
- Create
Scheme - Create scheme
- Transaction
Type - Transaction types of all Ethereum transaction
Traits§
- Block
- Trait for retrieving block information required for execution.
- Cfg
- Context
Setters - 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