Skip to main content

compile_local_storage_layout

Function compile_local_storage_layout 

Source
fn compile_local_storage_layout(
    project: &Project,
    address_code: &Bytes,
    json: bool,
) -> Result<Option<ConfigurableContractArtifact>>
Expand description

Finds the local artifact matching address_code and produces its storage layout.

Human-readable output compiles only the target’s source and imports when safe. JSON and unsafe cases retain the full-project compile to preserve existing behavior.