Expand description
Cheatcode specification for Foundry.
Modules§
Structs§
- Cheatcode
- Specification of a single cheatcode. Extends
Function
with additional metadata. - Cheatcodes
- Foundry cheatcodes. Learn more: https://book.getfoundry.sh/cheatcodes/
- Enum
- A Solidity enumeration.
- Enum
Variant - A variant of an
Enum
. - Error
- A Solidity custom error.
- Event
- A Solidity event.
- Function
- Solidity function.
- Struct
- A Solidity struct.
- Struct
Field - A
Struct
field.
Enums§
- Group
- Cheatcode groups.
Initially derived and modified from inline comments in
forge-std
’sVm.sol
. - Mutability
- Solidity function state mutability attribute. See the Solidity docs for more information.
- Safety
- Cheatcode safety.
- Status
- The status of a cheatcode.
- Visibility
- Solidity function visibility attribute. See the Solidity docs for more information.
Traits§
- Cheatcode
Def - Cheatcode definition trait. Implemented by all
Vm
functions.