Skip to main content

Module evm

Module evm 

Source
Expand description

Shared EVM traits, associated types, and execution helpers.

Each network module owns its network marker and concrete EVM implementations.

Re-exports§

pub use eth::*;
pub use tempo::*;
pub use base::*;base
pub use monad::*;monad
pub use op::*;optimism

Modules§

basebase
eth
monadmonad
opoptimism
tempo

Traits§

FoundryEvmFactory
FoundryEvmNetwork
Foundry’s compatibility trait associating a [Network] with a FoundryEvmFactory.
IntoInstructionResult
Converts a network-specific halt reason into an [InstructionResult].
NestedEvm
Object-safe EVM operations used by nested execution and fork replay.

Functions§

get_create2_factory_call_inputs
Get the call inputs for the CREATE2 factory.
merge_child_state
Merges a child’s returned account state into its suspended parent.
prepare_child_state
Prepares account state for execution across a synthetic transaction boundary.
run_inspected_frame 🔒
Runs a nested frame with inspection and settles its gas into the parent frame.
with_inherited_evm
Runs a child operation with the parent’s environment, journal, and native chain state.

Type Aliases§

BlockEnvFor
BlockResponseFor
ChainFor
EvmEnvFor
EvmFactoryFor
Convenience type aliases for accessing associated types through FoundryEvmNetwork.
FoundryContextFor
HaltReasonFor
NestedEvmClosure
Closure type used by CheatcodesExecutor methods that run nested EVM operations.
NestedEvmClosureFor
Nested EVM closure for a Foundry EVM network.
NestedEvmFor
Boxed nested EVM produced by a Foundry EVM factory.
NetworkFor
PrecompilesFor
SpecFor
TransactionRequestFor
TransactionResponseFor
TxEnvFor
TxEnvelopeFor