Skip to main content

storage_layouts

Function storage_layouts 

Source
pub(crate) fn storage_layouts(
    sources: &ExternalIdentifierConfig,
    chain: Chain,
    addresses: Vec<Address>,
) -> AddressMap<(String, Arc<StorageLayout>)>
Expand description

Resolves the storage layouts of contracts outside the local project.

Returns the layouts it could resolve; anything absent stays undecoded. Costs nothing for addresses already resolved in this process or by a previous run.