#[non_exhaustive]
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<(), Error>

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

impl Display for Ss58AddressFormatRegistry

source§

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

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<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::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, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync + 'static>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

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

const: unstable · 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, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,

source§

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

source§

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.
source§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

source§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> MaybeDebug for Twhere T: Debug,

§

impl<T> MaybeRefUnwindSafe for Twhere T: RefUnwindSafe,