Structsยง
- Bytecode
Dependency ๐ - Represents a single bytecode dependency.
- Bytecode
Dependency ๐Collector - Walks over contract HIR and collects
BytecodeDependencys and referenced contracts. - Preprocessor
Dependencies ๐ - Holds data about referenced source contracts and bytecode dependencies.
Enumsยง
- Bytecode
Dependency ๐Kind - Represents a bytecode dependency kind.
Functionsยง
- can_
rewrite ๐ - Returns whether generated helper and artifact references preserve the source-unit identity.
- handle_
call_ ๐expr - Helper function to analyze and extract bytecode dependency from a given call expression.
- is_
path_ ๐in_ dir - Returns whether
pathresolves withindir, accepting relative, absolute, and symlinked paths. - named_
arg ๐ - Helper function to extract value of a given named arg.
- remapping_
applies ๐ - Returns whether a generated import would be redirected by
remapping. - remapping_
matches_ ๐path - Returns whether
pathhas the string prefix selected byremapping. - remove_
bytecode_ ๐dependencies - Goes over all test/script files and replaces bytecode dependencies with cheatcode invocations.