Crate revm

Expand description

Revm is a Rust EVM implementation.

Modules§

bytecode
Crate that contains bytecode types and opcode constants.
context
Optimism-specific constants, types, and helpers.
context_interface
Optimism-specific constants, types, and helpers.
database_interface
Optimism-specific constants, types, and helpers.
handler
Optimism-specific constants, types, and helpers.
interpreter
revm-interpreter
precompile
revm-precompile
primitives
revm-primitives
state
Optimism-specific constants, types, and helpers.

Structs§

Context
EVM context contains data that EVM needs for execution.
Journal
A journal of state changes internal to the EVM

Enums§

JournalEntry
Journal entries that are used to track changes to the state and are used to revert it.

Traits§

Database
EVM database interface.
DatabaseCommit
EVM database commit interface.
DatabaseRef
EVM database interface.
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.
InspectCommitEvm
InspectCommitEvm is a API that allows inspecting similar to InspectEvm but it has functions that commit the state diff to the database.
InspectEvm
InspectEvm is a API that allows inspecting the EVM.
Inspector
EVM hooks into execution.
MainBuilder
MainContext
Trait used to initialize Context with default mainnet types.
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.

Type Aliases§

MainnetEvm