Skip to main content

has_library_annotations

Function has_library_annotations 

Source
fn has_library_annotations(gcx: Gcx<'_>) -> bool
Expand description

Returns whether any library declares a struct that mentions an ERC-7201 storage location.

Finding referenced libraries walks function bodies, so it is skipped when no library could contribute a namespace, such as when only base contracts declare them.