pub fn extend_storage_layout(
layout: &mut StorageLayout,
gcx: Gcx<'_>,
root: &Path,
contract: ContractId,
) -> Result<()>Expand description
Appends the ERC-7201 namespaces of contract, its bases, and the libraries they reference to
its storage layout.
Namespaced fields are labeled <namespace>.<field>. Malformed annotations, duplicate namespace
roots, and errors emitted while computing types in the contract and its bases are errors, in
which case layout is unchanged. Such problems in libraries only skip the affected namespace.