Crate handler

Expand description

Optimism-specific constants, types, and helpers.

Modules§

api
evm
execution
handler
instructions
post_execution
pre_execution
Handles related to the main function of the EVM.
system_call
validation

Structs§

EthFrame
EthPrecompiles
The PrecompileProvider for ethereum precompiles.
MainnetHandler

Enums§

FrameData
Frame Data
FrameResult
Frame Result
ItemOrResult

Constants§

SYSTEM_ADDRESS

Traits§

EvmTr
A trait that integrates context, instruction set, and precompiles to create an EVM struct.
EvmTrError
ExecuteCommitEvm
Extension of the ExecuteEvm trait that adds a method that commits the state after execution.
ExecuteEvm
Execute EVM transactions. Main trait for transaction execution.
Frame
Call frame trait
Handler
The main implementation of Ethereum Mainnet transaction execution.
MainBuilder
MainContext
Trait used to initialize Context with default mainnet types.
PrecompileProvider
SystemCallCommitEvm
Extension of the SystemCallEvm trait that adds a method that commits the state after execution.
SystemCallEvm
API for executing the system calls. System calls dont deduct the caller or reward the beneficiary. They are used before and after block execution to insert or obtain blockchain state.
SystemCallTx
Creates the system transaction with default values and set data and tx call target to system contract address that is going to be called.

Functions§

return_create
return_eofcreate

Type Aliases§

ContextTrDbError
FrameInitOrResult
FrameOrResult
MainnetContext
MainnetEvm