Expand description
Implementations of Filesystem cheatcodes.
Structsยง
- Parsed
Artifact ๐Path - Parsed artifact path components.
Enumsยง
- Artifact
Source ๐ - Resolved location of an artifact referenced by a cheatcode path argument.
Functionsยง
- deploy_
code ๐ - Helper function to deploy contract from artifact code. Uses CREATE2 scheme if salt specified.
- ffi ๐
- get_
artifact_ ๐code - Returns the bytecode from a JSON artifact file.
- get_
artifact_ ๐source - Resolves a cheatcode artifact reference to its source.
- latest_
broadcast ๐ - map_
broadcast_ ๐tx_ type - parse_
artifact_ ๐path - Parses an artifact path string into its components.
- parse_
broadcast_ ๐results - prompt ๐
- prompt_
input ๐ - prompt_
password ๐ - read_
artifact_ ๐file - Reads an artifact JSON file, mapping I/O errors to a helpful message when the lookup fell through the in-memory artifacts list.
- read_
dir ๐ - write_
file ๐