Crate foundry_cheatcodes_spec

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.