Skip to main content

Module evm

Module evm 

Source

Modules§

eth
monadmonad
opoptimism
tempo

Structs§

BlockContext
Transaction metadata for an exact block and its two ancestors.
EthEvmNetwork
MonadEvmNetworkmonad
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 trait exposing the operations that cheatcode nested EVM closures need.

Functions§

context_for_child_transaction
Builds context for a synthetic transaction executed on top of block_number.
get_create2_factory_call_inputs
Get the call inputs for the CREATE2 factory.
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.
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.
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
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