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.

Modules§

basebase
eth
monadmonad
opoptimism
tempo

Structs§

BaseEvmNetwork
Base EVM network.
BlockContext
Transaction metadata for an exact block and its two ancestors.
EthEvmNetwork
MonadEvmNetwork
OpEvmNetwork
ProtocolSystemCall
A canonical Monad protocol system transaction.
TempoEvmNetwork

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§

base_code_sentinel_addresses
Base precompiles installed at upgrade that hold state but carry no bytecode.
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.
monad_block_participants
Collects all senders and EIP-7702 authorities from a block’s transactions.
monad_context_from_participants
Builds Monad context from cached ancestor participants and the current block transactions.
prepare_child_state
Prepares account state for execution across a synthetic transaction boundary.
protocol_system_call
Converts a canonical Monad envelope into its dedicated system call.
refresh_nested_chain_journal
Refreshes journal state derived from a nested EVM’s active Monad chain position.
try_transact_monad_system_replay
Tries to execute a canonical Monad system transaction on an existing Monad EVM.
with_inherited_evm
Runs a child operation with the parent’s environment, journal, and native chain state.

Type Aliases§

BaseRevmEvm
BlockEnvFor
BlockResponseFor
ChainFor
EthRevmEvm
EvmEnvFor
EvmFactoryFor
Convenience type aliases for accessing associated types through FoundryEvmNetwork.
FoundryContextFor
HaltReasonFor
MonadBlockParticipants
Senders and EIP-7702 authorities that participated in one Monad block.
MonadRevmEvm
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
OpRevmEvm
PrecompilesFor
SpecFor
TempoRevmEvm
TransactionRequestFor
TransactionResponseFor
TxEnvFor
TxEnvelopeFor