Skip to main content

Module state

Module state 

Source

Re-exportsΒ§

use alloy_sol_types::Revert; πŸ”’
use alloy_sol_types::SolError; πŸ”’
use evm2::interpreter::gas::CALL_STIPEND; πŸ”’
use foundry_common::contracts::ContractsByArtifact; πŸ”’
use foundry_evm::core::backend::GLOBAL_FAIL_SLOT; πŸ”’
use foundry_evm::inspectors::cheatcodes::Error; πŸ”’
use foundry_evm::inspectors::cheatcodes::ExpectedCallType; πŸ”’
use foundry_evm::inspectors::cheatcodes::expect_revert_mismatch; πŸ”’
use std::collections::BTreeSet; πŸ”’
use super::*; πŸ”’

StructsΒ§

AccessRecord πŸ”’
AssumeNoRevert πŸ”’
CallFrame πŸ”’
CallMock πŸ”’
CallMockOutcome πŸ”’
ExpectedCall πŸ”’
ExpectedCreate πŸ”’
ExpectedEmit πŸ”’
ExpectedEmitChecks πŸ”’
ExpectedRevert πŸ”’
FunctionMock πŸ”’
PathState πŸ”’
StorageWrite πŸ”’
SymbolicBlock πŸ”’
SymbolicLog πŸ”’
SymbolicPrank πŸ”’
SymbolicReplayStorageSlot πŸ”’
SymbolicSnapshot πŸ”’
A vm.snapshotState entry: the world state with the block environment and gas price, which Forge restores together.
SymbolicStorageHook πŸ”’
SymbolicWorld πŸ”’
SymbolicWorldState πŸ”’
World data shared copy-on-write by branched paths and snapshots.
UnknownCall πŸ”’
One call into code the equivalence check does not know, with its inputs and its fresh results.

EnumsΒ§

ExpectedRevertData πŸ”’
PersistentWrite πŸ”’
A cheatcode write that survives a revert of the frame that made it, see PathState::replay_persistent_writes.

ConstantsΒ§

MAX_BOUND_ANALYSIS_VISITS πŸ”’

FunctionsΒ§

register_expected_call πŸ”’
Registers an expected call using the concrete cheatcode’s keyed-additive semantics.
symbolic_storage_symbol πŸ”’