Expand description
Implementations of Evm
cheatcodes.
Modules§
- fork 🔒
- mapping 🔒
- mock 🔒
- prank 🔒
- record_
debug_ 🔒step
Structs§
- Account
State 🔒Diffs - Account state diff info.
- Balance
Diff 🔒 - Balance diff info.
- Deal
Record - Records
deal
cheatcodes - GasRecord
- Records the
snapshotGas*
cheatcodes. - Record
Access - Records storage slots reads and writes.
- Slot
State 🔒Diff - Storage slot diff info.
Functions§
- derive_
snapshot_ 🔒name - genesis_
account 🔒 - Helper function that creates a
GenesisAccount
from a regularAccount
. - get_
nonce 🔒 - get_
recorded_ 🔒state_ diffs - Helper function to returns state diffs recorded for each changed account.
- get_
state_ 🔒diff - Consumes recorded account accesses and returns them as an abi encoded array of AccountAccess. If there are no accounts were recorded as accessed, an abi encoded empty array is returned.
- inner_
delete_ 🔒state_ snapshot - inner_
delete_ 🔒state_ snapshots - inner_
last_ 🔒gas_ snapshot - inner_
revert_ 🔒to_ state - inner_
revert_ 🔒to_ state_ and_ delete - inner_
snapshot_ 🔒state - inner_
start_ 🔒gas_ snapshot - inner_
stop_ 🔒gas_ snapshot - inner_
value_ 🔒snapshot - journaled_
account 🔒 - Ensures the
Account
is loaded and touched. - read_
callers 🔒 - Reads the current caller information and returns the current CallerMode,
msg.sender
andtx.origin
. - set_
cold_ 🔒slot - Helper function to set / unset cold storage slot of the target address.