Crate ss58_registry

source ·
Expand description

Enumerations of well-known SS58 account types and tokens used in the Polkadot ecosystem.

Structs

Error encountered while parsing Ss58AddressFormat from &’_ str unit struct for now.
A custom address format. See also Ss58AddressFormatRegistry
Name and decimals of a given token.
A given amount of token. Can be used for nicely formatted output and token-aware comparison of different amounts.

Enums

A known address (sub)format/network ID for SS58.
List of well-known tokens used on some network in the ecosystem.

Functions

const function to convert Ss58AddressFormat to u16
const function to convert Ss58AddressFormat to u16