Expand description
Revm is a Rust EVM implementation.
Re-exports§
pub use handler::register::EvmHandler;
pub use handler::Handler;
pub use bytecode;
pub use database_interface;
pub use interpreter;
pub use precompile;
pub use primitives;
pub use specification;
pub use state;
pub use transaction;
pub use wiring;
Modules§
Structs§
- Call CallStackFrame.
- Main Context structure that contains both EvmContext and External context.
- Precompiles context.
- Context with handler configuration.
- EVM instance containing both internal EVM context and external context and the handler that dictates the logic of EVM (or hardfork specification).
- Evm Builder allows building or modifying EVM. Note that some of the methods that changes underlying structures will reset the registered handler to default mainnet.
- EVM context that contains the inner EVM context and precompiles.
- EVM contexts contains data that EVM needs for execution.
- SubRoutine checkpoint that will help us to go back from this
- A journal of state changes internal to the EVM.
Enums§
- A single precompile handler.
- Call stack frame.
- Contains either a frame or a result.
- Journal entries that are used to track changes to the state and are used to revert it.
Constants§
- EVM call stack limit.
Traits§
- Context aware stateful precompile trait. It is used to create a arc precompile in
ContextPrecompile
. - Context aware mutable stateful precompile trait. It is used to create a boxed precompile in
ContextPrecompile
. - EVM database interface.
- EVM database commit interface.
- EVM database interface.
Type Aliases§
- Arc over context stateful precompile.
- Box over context mutable stateful precompile