Skip to main content

Module evm

Module evm 

Source

Structs§

FoundryEvm
FoundryHandler

Traits§

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.
new_eth_evm_with_inspector
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§

NestedEvmClosure
Closure type used by CheatcodesExecutor methods that run nested EVM operations.