Expand description
Β§foundry-cheatcodes
Foundry cheatcodes implementations.
Re-exports§
pub extern crate foundry_cheatcodes_spec as spec;
Modules§
- Foundry cheatcodes interface.
- base64 π
- config π
- crypto πImplementations of
Crypto
Cheatcodes. - env πImplementations of
Environment
cheatcodes. - error π
- evm πImplementations of
Evm
cheatcodes. - fs πImplementations of
Filesystem
cheatcodes. - inspector πCheatcode EVM inspector.
- json πImplementations of
Json
cheatcodes. - script πImplementations of
Scripting
cheatcodes. - string πImplementations of
String
cheatcodes. - test πImplementations of
Testing
cheatcodes. - toml πImplementations of
Toml
cheatcodes. - utils πImplementations of
Utilities
cheatcodes.
Structs§
- Helps collecting transactions from different forks.
- An EVM inspector that handles calls to various cheatcodes, each with their own behavior.
- Additional, configurable context the
Cheatcodes
inspector has access to - The cheatcode context, used in
Cheatcode
. - Contains additional, test specific resources that should be kept for the duration of the test
- Error thrown by cheatcodes.
- Clonable wrapper around
WalletsInner
. - Contains context for wallet management.
Enums§
- Kind of cheatcode errors.
- Forge execution contexts.
Traits§
- Cheatcode πCheatcode implementation.
- Cheatcode definition trait. Implemented by all
Vm
functions. - Helper trait for obtaining complete [revm::Inspector] instance from mutable reference to Cheatcodes.
- DynCheatcode π
Functions§
- Set
forge
command current execution context for the duration of the program. Execution context is immutable, subsequent calls of this function wonβt change the context.
Type Aliases§
- List of transactions that can be broadcasted.
- Tracks the expected calls per address.
- Cheatcode result type.