Skip to main content

Module storage

Module storage 

Source

StructsΒ§

StorageArgs
CLI arguments for cast storage.
StorageReport πŸ”’
Represents the storage layout of a contract and its values.
StorageValue πŸ”’
Represents the value of a storage slot eth_getStorageAt call.

ConstantsΒ§

MIN_SOLC πŸ”’
The minimum Solc version for outputting storage layouts.

FunctionsΒ§

compile_full_storage_layout πŸ”’
compile_local_storage_layout πŸ”’
Finds the local artifact matching address_code and produces its storage layout.
compile_target_storage_layout πŸ”’
fetch_and_print_storage πŸ”’
find_target_artifact πŸ”’
find_unique_artifact πŸ”’
Returns the artifact whose deployed bytecode is code.
has_deployed_code πŸ”’
Returns whether code is the artifact’s deployed bytecode.
same_artifact πŸ”’
Returns whether two artifact IDs identify the same contract across compiler runs.