#[non_exhaustive]
#[repr(u16)]
pub enum Ss58AddressFormatRegistry {
Show 130 variants BareEd25519Account, BareSecp256K1Account, BareSr25519Account, DicoAccount, IceAccount, KicoAccount, SnowAccount, AcalaAccount, AjunaAccount, AltairAccount, AmplitudeAccount, AnmolAccount, AresAccount, AstarAccount, AventusAccount, BajunAccount, BasiliskAccount, BifrostAccount, BitgreenAccount, BittensorAccount, CalamariAccount, CentrifugeAccount, CereAccount, CessAccount, CessTestnetAccount, ChainflipAccount, ChainxAccount, CloudwalkMainnetAccount, CloverAccount, ComposableAccount, ContextfreeAccount, CordAccount, CrustAccount, DarkAccount, DarwiniaAccount, DatahighwayAccount, DentnetAccount, DockPosMainnetAccount, DorafactoryPolkadotAccount, EdgewareAccount, EfinityAccount, EquilibriumAccount, FragnovaAccount, FrequencyAccount, G1Account, GeekAccount, GenshiroAccount, GmAccount, HashedAccount, HeikoAccount, HumanodeAccount, HydradxAccount, IbtidaAccount, IntegriteeAccount, IntegriteeIncognitoAccount, InterlayAccount, JoystreamAccount, JupiterAccount, KabochaAccount, KapexAccount, KaruraAccount, KatalchainAccount, KiltAccount, KintsugiAccount, KrestAccount, KulupuAccount, KusamaAccount, LaminarAccount, LitentryAccount, LitmusAccount, LuhnAccount, MantaAccount, MathchainAccount, MathchainTestnetAccount, MoonbeamAccount, MoonriverAccount, NeatcoinAccount, NftmartAccount, NodleAccount, OakAccount, OrigintrailParachainAccount, P3DAccount, P3DtAccount, ParallelAccount, PeaqAccount, PendulumAccount, PhalaAccount, PicassoAccount, PioneerNetworkAccount, PoliAccount, PolkadexAccount, PolkadexparachainAccount, PolkadotAccount, PolkafoundryAccount, PolkasmithAccount, PolymeshAccount, PontemNetworkAccount, QuartzMainnetAccount, Reserved46Account, Reserved47Account, ReynoldsAccount, RobonomicsAccount, SapphireMainnetAccount, SealsAccount, ShiftAccount, SocialNetworkAccount, SoraAccount, SoraDotParaAccount, SoraKusamaParaAccount, StafiAccount, SubsocialAccount, SubspaceAccount, SubspaceTestnetAccount, SubstrateAccount, SynesthesiaAccount, T3RnAccount, TangleAccount, TernoaAccount, TidefiAccount, TinkerAccount, TotemAccount, UniartsAccount, UniqueMainnetAccount, VaraAccount, VlnAccount, WatrAccount, XxnetworkAccount, ZeitgeistAccount, ZeroAccount, ZeroAlphavilleAccount,
}
Expand description

A known address (sub)format/network ID for SS58.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

BareEd25519Account

Bare 32-bit Ed25519 public key.

§

BareSecp256K1Account

Bare 32-bit ECDSA SECP-256k1 public key.

§

BareSr25519Account

Bare 32-bit Schnorr/Ristretto (S/R 25519) public key.

§

DicoAccount

§

IceAccount

ICE Network - https://icenetwork.io

§

KicoAccount

§

SnowAccount

SNOW: ICE Canary Network - https://icenetwork.io

§

AcalaAccount

§

AjunaAccount

Ajuna Network - https://ajuna.io

§

AltairAccount

§

AmplitudeAccount

Amplitude chain - https://pendulumchain.org/

§

AnmolAccount

Anmol Network - https://anmol.network/

§

AresAccount

§

AstarAccount

Astar Network - https://astar.network

§

AventusAccount

AvN Mainnet - https://aventus.io

§

BajunAccount

Bajun Network - https://ajuna.io

§

BasiliskAccount

Basilisk - https://bsx.fi

§

BifrostAccount

§

BitgreenAccount

§

BittensorAccount

§

CalamariAccount

Calamari: Manta Canary Network - https://manta.network

§

CentrifugeAccount

Centrifuge Chain - https://centrifuge.io/

§

CereAccount

Cere Network - https://cere.network

§

CessAccount

§

CessTestnetAccount

CESS Testnet - https://cess.cloud

§

ChainflipAccount

§

ChainxAccount

§

CloudwalkMainnetAccount

CloudWalk Network Mainnet - https://explorer.mainnet.cloudwalk.io

§

CloverAccount

Clover Finance - https://clover.finance

§

ComposableAccount

§

ContextfreeAccount

Automata ContextFree - https://ata.network

§

CordAccount

CORD Network - https://cord.network/

§

CrustAccount

Crust Network - https://crust.network

§

DarkAccount

Dark Mainnet

§

DarwiniaAccount

Darwinia Network - https://darwinia.network/

§

DatahighwayAccount

DataHighway

§

DentnetAccount

§

DockPosMainnetAccount

Dock Mainnet - https://dock.io

§

DorafactoryPolkadotAccount

Dorafactory Polkadot Network - https://dorafactory.org

§

EdgewareAccount

Edgeware - https://edgewa.re

§

EfinityAccount

§

EquilibriumAccount

Equilibrium Network - https://equilibrium.io

§

FragnovaAccount

Fragnova Network - https://fragnova.com

§

FrequencyAccount

§

G1Account

§

GeekAccount

GEEK Network - https://geek.gl

§

GenshiroAccount

§

GmAccount

§

HashedAccount

Hashed Network - https://hashed.network

§

HeikoAccount

§

HumanodeAccount

Humanode Network - https://humanode.io

§

HydradxAccount

§

IbtidaAccount

Anmol Network Ibtida Canary network - https://anmol.network/

§

IntegriteeAccount

§

IntegriteeIncognitoAccount

Integritee Incognito - https://integritee.network

§

InterlayAccount

§

JoystreamAccount

§

JupiterAccount

§

KabochaAccount

§

KapexAccount

§

KaruraAccount

§

KatalchainAccount

Katal Chain

§

KiltAccount

KILT Spiritnet - https://kilt.io/

§

KintsugiAccount

§

KrestAccount

Krest Network - https://www.peaq.network/

§

KulupuAccount

§

KusamaAccount

Kusama Relay Chain - https://kusama.network

§

LaminarAccount

§

LitentryAccount

Litentry Network - https://litentry.com/

§

LitmusAccount

Litmus Network - https://litentry.com/

§

LuhnAccount

Luhn Network - https://luhn.network

§

MantaAccount

Manta network - https://manta.network

§

MathchainAccount

MathChain mainnet - https://mathwallet.org

§

MathchainTestnetAccount

MathChain testnet - https://mathwallet.org

§

MoonbeamAccount

§

MoonriverAccount

§

NeatcoinAccount

Neatcoin Mainnet - https://neatcoin.org

§

NftmartAccount

§

NodleAccount

Nodle Chain - https://nodle.io/

§

OakAccount

OAK Network - https://oak.tech

§

OrigintrailParachainAccount

OriginTrail Parachain - https://parachain.origintrail.io/

§

P3DAccount

3DP network - https://3dpass.org

§

P3DtAccount

3DP test network - https://3dpass.org

§

ParallelAccount

§

PeaqAccount

§

PendulumAccount

Pendulum chain - https://pendulumchain.org/

§

PhalaAccount

Phala Network - https://phala.network

§

PicassoAccount

§

PioneerNetworkAccount

Pioneer Network by Bit.Country - https://bit.country

§

PoliAccount

Polimec Chain - https://polimec.io/

§

PolkadexAccount

Polkadex Mainnet - https://polkadex.trade

§

PolkadexparachainAccount

Polkadex Parachain - https://polkadex.trade

§

PolkadotAccount

Polkadot Relay Chain - https://polkadot.network

§

PolkafoundryAccount

PolkaFoundry Network - https://polkafoundry.com

§

PolkasmithAccount

PolkaSmith Canary Network - https://polkafoundry.com

§

PolymeshAccount

§

PontemNetworkAccount

Pontem Network - https://pontem.network

§

QuartzMainnetAccount

QUARTZ by UNIQUE - https://unique.network

§

Reserved46Account

This prefix is reserved.

§

Reserved47Account

This prefix is reserved.

§

ReynoldsAccount

Laminar Reynolds Canary - http://laminar.network/

§

RobonomicsAccount

§

SapphireMainnetAccount

Sapphire by Unique - https://unique.network

§

SealsAccount

Seals Network - https://seals.app

§

ShiftAccount

ShiftNrg

§

SocialNetworkAccount

Social Network - https://social.network

§

SoraAccount

SORA Network - https://sora.org

§

SoraDotParaAccount

SORA Polkadot Parachain - https://sora.org

§

SoraKusamaParaAccount

SORA Kusama Parachain - https://sora.org

§

StafiAccount

§

SubsocialAccount

Subsocial

§

SubspaceAccount

§

SubspaceTestnetAccount

Subspace testnet - https://subspace.network

§

SubstrateAccount

§

SynesthesiaAccount

§

T3RnAccount

§

TangleAccount

Tangle Network - https://www.webb.tools/

§

TernoaAccount

§

TidefiAccount

§

TinkerAccount

§

TotemAccount

§

UniartsAccount

UniArts Network - https://uniarts.me

§

UniqueMainnetAccount

Unique Network - https://unique.network

§

VaraAccount

Vara Network - https://vara-network.io/

§

VlnAccount

Valiu Liquidity Network - https://valiu.com/

§

WatrAccount

Watr Protocol - https://www.watr.org

§

XxnetworkAccount

xx network - https://xx.network

§

ZeitgeistAccount

§

ZeroAccount

§

ZeroAlphavilleAccount

ZERO Alphaville - https://zero.io

Implementations§

source§

impl Ss58AddressFormatRegistry

source

pub fn tokens(&self) -> &'static [TokenRegistry]

Tokens used on the given network.

Trait Implementations§

source§

impl Clone for Ss58AddressFormatRegistry

source§

fn clone(&self) -> Ss58AddressFormatRegistry

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ss58AddressFormatRegistry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Ss58AddressFormatRegistry

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Ss58AddressFormatRegistry> for Ss58AddressFormat

source§

fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat

Converts to this type from the input type.
source§

impl FromStr for Ss58AddressFormatRegistry

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(data: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl PartialEq<Ss58AddressFormatRegistry> for Ss58AddressFormatRegistry

source§

fn eq(&self, other: &Ss58AddressFormatRegistry) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(x: &'a str) -> Result<Ss58AddressFormatRegistry, Self::Error>

Performs the conversion.
source§

impl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from( x: Ss58AddressFormat ) -> Result<Ss58AddressFormatRegistry, ParseError>

Performs the conversion.
source§

impl Copy for Ss58AddressFormatRegistry

source§

impl Eq for Ss58AddressFormatRegistry

source§

impl StructuralEq for Ss58AddressFormatRegistry

source§

impl StructuralPartialEq for Ss58AddressFormatRegistry

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.