Expand description
Revm is a Rust EVM implementation.
Modules§
- bytecode
- Crate that contains bytecode types and opcode constants.
- context
- EVM execution context.
- context_
interface - EVM execution context interface.
- database
- Database implementations.
- database_
interface - Database interface.
- handler
- EVM execution handling.
- inspector
- Inspector is a crate that provides a set of traits that allow inspecting the EVM execution.
- interpreter
- revm-interpreter
- precompile
- revm-precompile
- primitives
- revm-primitives
- state
- Account and storage state.
Structs§
- Context
- EVM context contains data that EVM needs for execution.
- Journal
- A journal of state changes internal to the EVM
Enums§
- Journal
Entry - Journal entries that are used to track changes to the state and are used to revert it.
Traits§
- Database
- EVM database interface.
- Database
Commit - EVM database commit interface.
- Database
Ref - EVM database interface.
- Execute
Commit Evm - Extension of the
ExecuteEvm
trait that adds a method that commits the state after execution. - Execute
Evm - Execute EVM transactions. Main trait for transaction execution.
- Inspect
Commit Evm - InspectCommitEvm is a API that allows inspecting similar to
InspectEvm
but it has functions that commit the state diff to the database. - Inspect
Evm - InspectEvm is a API that allows inspecting the EVM.
- Inspector
- EVM hooks into execution.
- Main
Builder - Trait for building mainnet EVM instances from contexts.
- Main
Context - Trait used to initialize Context with default mainnet types.
- System
Call Commit Evm - Extension of the
SystemCallEvm
trait that adds a method that commits the state after execution. - System
Call Evm - 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§
- Mainnet
Evm - Type alias for a mainnet EVM instance with standard Ethereum components.