Skip to main content

Module evm

Module evm 

Modules§

eth
opoptimism
tempo

Structs§

EthEvmNetwork
OpEvmNetwork
TempoEvmNetwork

Traits§

FoundryEvmFactory
FoundryEvmNetwork
Foundry’s supertrait associating [Network] with FoundryEvmFactory
IntoInstructionResult
Converts a network-specific halt reason into an InstructionResult.
NestedEvm
Object-safe trait exposing the operations that cheatcode nested EVM closures need.

Functions§

get_create2_factory_call_inputs
Get the call inputs for the CREATE2 factory.
with_cloned_context
Clones the current context (env + journal), passes the database, cloned env, and cloned journal inner to the callback. The callback builds whatever EVM it needs, runs its operations, and returns (result, modified_env, modified_journal). Modified state is written back after the callback returns.

Type Aliases§

BlockEnvFor
BlockResponseFor
EthRevmEvm
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.
NetworkFor
OpRevmEvm
PrecompilesFor
SpecFor
TempoRevmEvm
TransactionRequestFor
TransactionResponseFor
TxEnvFor
TxEnvelopeFor