Expand description
Cheatcode specification for Foundry.
Re-exportsΒ§
pub(crate) use Deserialize;πpub(crate) use Deserialize;πpub(crate) use Serialize;πpub(crate) use Serialize;πpub(crate) use borrow::Cow;πpub(crate) use fmt;π
ModulesΒ§
- Symbolic
Vm - Module containing a contractβs types and functions.
- Vm
- Foundry cheatcodes interface.
- cheatcode π
- function π
- items π
- symbolic π
- vm π
StructsΒ§
- Cheatcode
- Specification of a single cheatcode. Extends
Functionwith 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
Structfield.
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
Vmfunctions.