Crate foundry_cheatcodes_spec

Source
Expand description

Cheatcode specification for Foundry.

Modules§

Vm
Foundry cheatcodes interface.
cheatcode 🔒
function 🔒
items 🔒
vm 🔒

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.
EnumVariant
A variant of an Enum.
Error
A Solidity custom error.
Event
A Solidity event.
Function
Solidity function.
Struct
A Solidity struct.
StructField
A Struct field.

Enums§

Group
Cheatcode groups. Initially derived and modified from inline comments in forge-std’s Vm.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§

CheatcodeDef
Cheatcode definition trait. Implemented by all Vm functions.