Enum sp_core::crypto::Ss58AddressFormatRegistry
source · #[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
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
DICO - https://dico.io
IceAccount
ICE Network - https://icenetwork.io
KicoAccount
KICO - https://dico.io
SnowAccount
SNOW: ICE Canary Network - https://icenetwork.io
AcalaAccount
Acala - https://acala.network/
AjunaAccount
Ajuna Network - https://ajuna.io
AltairAccount
Altair - https://centrifuge.io/
AmplitudeAccount
Amplitude chain - https://pendulumchain.org/
AnmolAccount
Anmol Network - https://anmol.network/
AresAccount
Ares Protocol - https://www.aresprotocol.com/
AstarAccount
Astar Network - https://astar.network
AventusAccount
AvN Mainnet - https://aventus.io
BajunAccount
Bajun Network - https://ajuna.io
BasiliskAccount
Basilisk - https://bsx.fi
BifrostAccount
Bifrost - https://bifrost.finance/
BitgreenAccount
Bitgreen - https://bitgreen.org/
BittensorAccount
Bittensor - https://bittensor.com
CalamariAccount
Calamari: Manta Canary Network - https://manta.network
CentrifugeAccount
Centrifuge Chain - https://centrifuge.io/
CereAccount
Cere Network - https://cere.network
CessAccount
CESS - https://cess.cloud
CessTestnetAccount
CESS Testnet - https://cess.cloud
ChainflipAccount
Chainflip - https://chainflip.io/
ChainxAccount
ChainX - https://chainx.org/
CloudwalkMainnetAccount
CloudWalk Network Mainnet - https://explorer.mainnet.cloudwalk.io
CloverAccount
Clover Finance - https://clover.finance
ComposableAccount
Composable - https://composable.finance
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
DENTNet - https://www.dentnet.io
DockPosMainnetAccount
Dock Mainnet - https://dock.io
DorafactoryPolkadotAccount
Dorafactory Polkadot Network - https://dorafactory.org
EdgewareAccount
Edgeware - https://edgewa.re
EfinityAccount
Efinity - https://efinity.io/
EquilibriumAccount
Equilibrium Network - https://equilibrium.io
FragnovaAccount
Fragnova Network - https://fragnova.com
FrequencyAccount
Frequency - https://www.frequency.xyz
G1Account
Ğ1 - https://duniter.org
GeekAccount
GEEK Network - https://geek.gl
GenshiroAccount
Genshiro Network - https://genshiro.equilibrium.io
GmAccount
GM - https://gmordie.com
HashedAccount
Hashed Network - https://hashed.network
HeikoAccount
Heiko - https://parallel.fi/
HumanodeAccount
Humanode Network - https://humanode.io
HydradxAccount
HydraDX - https://hydradx.io
IbtidaAccount
Anmol Network Ibtida Canary network - https://anmol.network/
IntegriteeAccount
Integritee - https://integritee.network
IntegriteeIncognitoAccount
Integritee Incognito - https://integritee.network
InterlayAccount
Interlay - https://interlay.io/
JoystreamAccount
Joystream - https://www.joystream.org
JupiterAccount
Jupiter - https://jupiter.patract.io
KabochaAccount
Kabocha - https://kabocha.network
KapexAccount
Kapex - https://totemaccounting.com
KaruraAccount
Karura - https://karura.network/
KatalchainAccount
Katal Chain
KiltAccount
KILT Spiritnet - https://kilt.io/
KintsugiAccount
Kintsugi - https://interlay.io/
KrestAccount
Krest Network - https://www.peaq.network/
KulupuAccount
Kulupu - https://kulupu.network/
KusamaAccount
Kusama Relay Chain - https://kusama.network
LaminarAccount
Laminar - http://laminar.network/
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
Moonbeam - https://moonbeam.network
MoonriverAccount
Moonriver - https://moonbeam.network
NeatcoinAccount
Neatcoin Mainnet - https://neatcoin.org
NftmartAccount
NFTMart - https://nftmart.io
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
Parallel - https://parallel.fi/
PeaqAccount
Peaq Network - https://www.peaq.network/
PendulumAccount
Pendulum chain - https://pendulumchain.org/
PhalaAccount
Phala Network - https://phala.network
PicassoAccount
Picasso - https://picasso.composable.finance
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
Polymesh - https://polymath.network/
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
Robonomics - https://robonomics.network
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
Stafi - https://stafi.io
Subsocial
SubspaceAccount
Subspace - https://subspace.network
SubspaceTestnetAccount
Subspace testnet - https://subspace.network
SubstrateAccount
Substrate - https://substrate.io/
SynesthesiaAccount
Synesthesia - https://synesthesia.network/
T3RnAccount
t3rn - https://t3rn.io/
TangleAccount
Tangle Network - https://www.webb.tools/
TernoaAccount
Ternoa - https://www.ternoa.network
TidefiAccount
Tidefi - https://tidefi.com
TinkerAccount
Tinker - https://invarch.network
TotemAccount
Totem - https://totemaccounting.com
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
Zeitgeist - https://zeitgeist.pm
ZeroAccount
ZERO - https://zero.io
ZeroAlphavilleAccount
ZERO Alphaville - https://zero.io
Implementations§
source§impl Ss58AddressFormatRegistry
impl Ss58AddressFormatRegistry
sourcepub fn tokens(&self) -> &'static [TokenRegistry]
pub fn tokens(&self) -> &'static [TokenRegistry]
Tokens used on the given network.
Trait Implementations§
source§impl Clone for Ss58AddressFormatRegistry
impl Clone for Ss58AddressFormatRegistry
source§fn clone(&self) -> Ss58AddressFormatRegistry
fn clone(&self) -> Ss58AddressFormatRegistry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Ss58AddressFormatRegistry
impl Debug for Ss58AddressFormatRegistry
source§impl Display for Ss58AddressFormatRegistry
impl Display for Ss58AddressFormatRegistry
source§impl From<Ss58AddressFormatRegistry> for Ss58AddressFormat
impl From<Ss58AddressFormatRegistry> for Ss58AddressFormat
source§fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat
fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat
source§impl FromStr for Ss58AddressFormatRegistry
impl FromStr for Ss58AddressFormatRegistry
§type Err = ParseError
type Err = ParseError
source§fn from_str(
data: &str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::Err>
fn from_str( data: &str ) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::Err>
s
to return a value of this type. Read moresource§impl PartialEq<Ss58AddressFormatRegistry> for Ss58AddressFormatRegistry
impl PartialEq<Ss58AddressFormatRegistry> for Ss58AddressFormatRegistry
source§fn eq(&self, other: &Ss58AddressFormatRegistry) -> bool
fn eq(&self, other: &Ss58AddressFormatRegistry) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry
impl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry
§type Error = ParseError
type Error = ParseError
source§fn try_from(
x: &'a str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::Error>
fn try_from( x: &'a str ) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::Error>
source§impl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry
impl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry
§type Error = ParseError
type Error = ParseError
source§fn try_from(
x: Ss58AddressFormat
) -> Result<Ss58AddressFormatRegistry, ParseError>
fn try_from( x: Ss58AddressFormat ) -> Result<Ss58AddressFormatRegistry, ParseError>
impl Copy for Ss58AddressFormatRegistry
impl Eq for Ss58AddressFormatRegistry
impl StructuralEq for Ss58AddressFormatRegistry
impl StructuralPartialEq for Ss58AddressFormatRegistry
Auto Trait Implementations§
impl RefUnwindSafe for Ss58AddressFormatRegistry
impl Send for Ss58AddressFormatRegistry
impl Sync for Ss58AddressFormatRegistry
impl Unpin for Ss58AddressFormatRegistry
impl UnwindSafe for Ss58AddressFormatRegistry
Blanket Implementations§
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere T: Any,
§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
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>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
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)
fn as_any(&self) -> &(dyn Any + 'static)
&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)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.