Skip to main content

Module subnet_catalog

Module subnet_catalog 

Source
Expand description

Cached NNS subnet catalog models, resolution helpers, builders, and renderers.

Structs§

ResolvedSubnet
ResolvedSubnet
RoutingRange
RoutingRange
SubnetCatalog
SubnetCatalog
SubnetInfo
SubnetInfo

Enums§

CatalogError
CatalogError
ClassificationSource
ClassificationSource
GeographicScope
GeographicScope
ResolveAs
ResolveAs
ResolvedSubnetSubject
ResolvedSubnetSubject
SubnetKind
SubnetKind
SubnetSpecialization
SubnetSpecialization

Constants§

CATALOG_SCHEMA_VERSION
MAINNET_NETWORK
MAINNET_REGISTRY_CANISTER_ID

Functions§

canonical_principal_text
Parses a textual IC principal into canonical text.
catalog_to_pretty_json
Renders one subnet catalog JSON payload with stable pretty formatting.
parse_catalog_json
Decodes and validates one subnet catalog JSON payload.