Skip to main content

Crate core

Crate core 

Expand description

§foundry-evm-core

Core EVM abstractions.

Modules§

abi
backend
Foundry’s main executor backend abstraction and implementation.
buffer
bytecode
constants
decode
Various utilities to decode test results.
env
evm
fork
hardfork
ic
opts
precompiles
state_snapshot
Support for snapshotting different states
tempo
Tempo precompile and contract initialization for Foundry.
utils

Structs§

EvmEnv
Container type that holds both the configuration and block environment for EVM execution.

Traits§

FoundryBlock
Extension of Block with mutable setters, allowing EVM-agnostic mutation of block fields.
FoundryContextExt
Extension trait providing mutable field access to block, tx, and cfg environments.
FoundryInspectorExt
A combined inspector trait that integrates revm’s Inspector with Foundry-specific extensions. Automatically implemented for any type that implements both Inspector<CTX> and InspectorExt.
FoundryTransaction
Extension of Transaction with mutable setters, allowing EVM-agnostic mutation of transaction fields.
FromAnyRpcTransaction
Trait for converting an [AnyRpcTransaction] into a specific TxEnv.
InspectorExt
Foundry-specific inspector methods, decoupled from any particular EVM context type.

Type Aliases§

Breakpoints
Map keyed by breakpoints char to their location (contract address, pc)