Expand description
Optimism-specific constants, types, and helpers.
Re-exports§
pub use api::ExecuteCommitEvm;
pub use api::ExecuteEvm;
pub use evm::EvmTr;
pub use evm::FrameTr;
pub use handler::EvmTrError;
pub use handler::Handler;
pub use system_call::SystemCallCommitEvm;
pub use system_call::SystemCallEvm;
pub use system_call::SystemCallTx;
pub use system_call::SYSTEM_ADDRESS;
Modules§
- api
- EVM execution API traits and implementations.
- evm
- Core EVM traits for execution and frame management.
- execution
- EVM execution logic and utilities.
- handler
- Handler implementation for orchestrating EVM execution.
- instructions
- EVM instruction set implementations and tables.
- post_
execution - Post-execution operations including gas refunds and state finalization.
- pre_
execution - Handles related to the main function of the EVM.
- system_
call - System call implementations for special EVM operations.
- validation
- Transaction and environment validation utilities.
Structs§
- Call
Frame - Call Frame
- Create
Frame - Create Frame
- EthFrame
- Frame implementation for Ethereum.
- EthPrecompiles
- The
PrecompileProvider
for ethereum precompiles. - Mainnet
Handler - Mainnet handler that implements the default
Handler
trait for the Evm.
Enums§
- Frame
Data - Frame Data
- Frame
Result - Frame Result
- Item
OrResult - Represents either an item or a result.
Traits§
- Main
Builder - Trait for building mainnet EVM instances from contexts.
- Main
Context - Trait used to initialize Context with default mainnet types.
- Precompile
Provider - Provider for precompiled contracts in the EVM.
Functions§
- return_
create - Handles the result of a CREATE operation, including validation and state updates.
Type Aliases§
- Context
TrDb Error - Type alias for database errors from a context.
- Frame
Init OrResult - Type alias for frame initialization or result.
- Mainnet
Context - Type alias for a mainnet context with standard Ethereum environment types.
- Mainnet
Evm - Type alias for a mainnet EVM instance with standard Ethereum components.