Crate context

Expand description

Optimism-specific constants, types, and helpers.

Modules§

block
cfg
context
evm
journal
journaled_state
result
transaction
tx

Structs§

BlockEnv
The block environment
CfgEnv
EVM configuration
Context
EVM context contains data that EVM needs for execution.
Evm
EvmData
Journal
A journal of state changes internal to the EVM
JournalInner
Inner journal state that contains journal and state changes.
JournalOutput
Output of the journal after finalizing.
TxEnv
The transaction environment

Enums§

CreateScheme
Create scheme
JournalEntry
Journal entries that are used to track changes to the state and are used to revert it.
TransactionType
Transaction types of all Ethereum transaction

Traits§

Block
Trait for retrieving block information required for execution.
Cfg
ContextSetters
ContextTr
Trait that defines the context of the EVM execution.
DBErrorMarker
Database error marker is needed to implement From conversion for Error type.
Database
EVM database interface.
JournalEntryTr
Trait for tracking and reverting state changes in the EVM. Journal entry contains information about state changes that can be reverted.
JournalTr
Trait that contains database and journal of all changes that were made to the state.
Transaction
Main Transaction trait that abstracts and specifies all transaction currently supported by Ethereum

Type Aliases§

TransactTo
Transaction destination