Expand description
Implementations of Utilities
cheatcodes.
Structsยง
- Ignored
Traces - Contains locations of traces ignored via cheatcodes.
Functionsยง
- get_
canonical_ ๐type_ def - Returns EIP-712 canonical type definition from the provided string type representation or type
name. If type name provided, then it looks up bindings from file generated by
forge bind-json
. - get_
struct_ ๐hash - Returns the EIP-712 struct hash for provided name, definition and ABI encoded data.
- get_
type_ ๐def_ from_ bindings - Returns the EIP-712 type definition from the bindings in the provided path. Assumes that read validation for the path has already been checked.
- random_
int ๐ - Helper to generate a random
int
value (with given bits if specified) from type strategy. - random_
uint ๐ - Helper to generate a random
uint
value (with given bits or bounded if specified) from type strategy.