Crate alloy_evm

Crate alloy_evm 

Source
Expand description

§alloy-evm

EVM interface.

This crate contains constants, types, and functions for interacting with the Ethereum Virtual Machine (EVM). It is compatible with the types from the alloy ecosystem and comes with batteries included for revm

Re-exports§

pub use evm::Database;
pub use evm::Evm;
pub use evm::EvmFactory;
pub use eth::EthEvm;
pub use eth::EthEvmFactory;
pub use env::EvmEnv;
pub use revm;
pub use error::*;
pub use tx::*;
pub use traits::*;

Modules§

block
Block execution abstraction.
env
Configuration types for EVM environment.
error
Abstraction over EVM errors.
eth
Ethereum EVM implementation.
evm
Abstraction over EVM.
precompiles
Helpers for dealing with Precompiles.
tracing
Helpers for tracing.
traits
EVM traits.
tx
Transaction abstractions for EVM execution.

Functions§

spec
Map the latest active hardfork at the given header to a SpecId.
spec_by_timestamp_and_block_number
Map the latest active hardfork at the given timestamp or block number to a SpecId.