Enum sp_core::crypto::Ss58AddressFormatRegistry
source · [−]#[non_exhaustive]
#[repr(u16)]
pub enum Ss58AddressFormatRegistry {
Show 85 variants
BareEd25519Account,
BareSecp256K1Account,
BareSr25519Account,
AcalaAccount,
AltairAccount,
AresAccount,
AventusAccount,
BasiliskAccount,
BifrostAccount,
CalamariAccount,
CentrifugeAccount,
CessAccount,
CessTestnetAccount,
ChainxAccount,
CloverAccount,
ComposableAccount,
ContextfreeAccount,
CordAccount,
CrustAccount,
DarkAccount,
DarwiniaAccount,
DatahighwayAccount,
DockMainnetAccount,
DockTestnetAccount,
EdgewareAccount,
EfinityAccount,
EquilibriumAccount,
GeekAccount,
GenshiroAccount,
HeikoAccount,
HydradxAccount,
IntegriteeAccount,
IntegriteeIncognitoAccount,
InterlayAccount,
JupiterAccount,
KapexAccount,
KaruraAccount,
KatalchainAccount,
KiltAccount,
KintsugiAccount,
KulupuAccount,
KusamaAccount,
LaminarAccount,
LitentryAccount,
MantaAccount,
MathchainAccount,
MathchainTestnetAccount,
MoonbeamAccount,
MoonriverAccount,
NeatcoinAccount,
NodleAccount,
OrigintrailParachainAccount,
ParallelAccount,
PhalaAccount,
PicassoAccount,
PioneerNetworkAccount,
PlasmAccount,
PoliAccount,
PolkadexAccount,
PolkadotAccount,
PolkafoundryAccount,
PolkasmithAccount,
PolymeshAccount,
PontemNetworkAccount,
QuartzMainnetAccount,
Reserved46Account,
Reserved47Account,
ReynoldsAccount,
RobonomicsAccount,
ShiftAccount,
SocialNetworkAccount,
SoraAccount,
StafiAccount,
SubsocialAccount,
SubspaceAccount,
SubspaceTestnetAccount,
SubstrateAccount,
SynesthesiaAccount,
TotemAccount,
UniartsAccount,
VlnAccount,
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.
AcalaAccount
Acala - https://acala.network/
AltairAccount
Altair - https://centrifuge.io/
AresAccount
Ares Protocol - https://www.aresprotocol.com/
AventusAccount
AvN Mainnet - https://aventus.io
BasiliskAccount
Basilisk - https://bsx.fi
BifrostAccount
Bifrost - https://bifrost.finance/
CalamariAccount
Calamari: Manta Canary Network - https://manta.network
CentrifugeAccount
Centrifuge Chain - https://centrifuge.io/
CessAccount
CESS - https://cess.cloud
CessTestnetAccount
CESS Testnet - https://cess.cloud
ChainxAccount
ChainX - https://chainx.org/
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
DockMainnetAccount
Dock Mainnet - https://dock.io
DockTestnetAccount
Dock Testnet - https://dock.io
EdgewareAccount
Edgeware - https://edgewa.re
EfinityAccount
Efinity - https://efinity.io/
EquilibriumAccount
Equilibrium Network - https://equilibrium.io
GeekAccount
GeekCash - https://geekcash.org
GenshiroAccount
Genshiro Network - https://genshiro.equilibrium.io
HeikoAccount
Heiko - https://parallel.fi/
HydradxAccount
HydraDX - https://hydradx.io
IntegriteeAccount
Integritee - https://integritee.network
IntegriteeIncognitoAccount
Integritee Incognito - https://integritee.network
InterlayAccount
Interlay - https://interlay.io/
JupiterAccount
Jupiter - https://jupiter.patract.io
KapexAccount
Kapex - https://totemaccounting.com
KaruraAccount
Karura - https://karura.network/
KatalchainAccount
Katal Chain
KiltAccount
KILT Chain - https://kilt.io/
KintsugiAccount
Kintsugi - https://interlay.io/
KulupuAccount
Kulupu - https://kulupu.network/
KusamaAccount
Kusama Relay Chain - https://kusama.network
LaminarAccount
Laminar - http://laminar.network/
LitentryAccount
Litentry Network - https://litentry.com/
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
NodleAccount
Nodle Chain - https://nodle.io/
OrigintrailParachainAccount
OriginTrail Parachain - https://origintrail.io
ParallelAccount
Parallel - https://parallel.fi/
PhalaAccount
Phala Network - https://phala.network
PicassoAccount
Picasso - https://picasso.composable.finance
PioneerNetworkAccount
Pioneer Network by Bit.Country - https://bit.country
PlasmAccount
Plasm Network - https://plasmnet.io
PoliAccount
Polimec Chain - https://polimec.io/
PolkadexAccount
Polkadex Mainnet - 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
ShiftAccount
ShiftNrg
SocialNetworkAccount
Social Network - https://social.network
SoraAccount
SORA Network - https://sora.org
StafiAccount
Stafi - https://stafi.io
SubsocialAccount
Subsocial
SubspaceAccount
Subspace - https://subspace.network
SubspaceTestnetAccount
Subspace testnet - https://subspace.network
SubstrateAccount
Substrate - https://substrate.io/
SynesthesiaAccount
Synesthesia - https://synesthesia.network/
TotemAccount
Totem - https://totemaccounting.com
UniartsAccount
UniArts Network - https://uniarts.me
VlnAccount
Valiu Liquidity Network - https://valiu.com/
XxnetworkAccount
xx network - https://xx.network
ZeitgeistAccount
Zeitgeist - https://zeitgeist.pm
ZeroAccount
ZERO - https://zero.io
ZeroAlphavilleAccount
ZERO Alphaville - https://zero.io
Trait Implementations
Performs the conversion.
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
pub fn from_str(
data: &str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::Err>
pub fn from_str(
data: &str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as FromStr>::Err>
Parses a string s
to return a value of this type. Read more
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
pub fn try_from(
x: &'a str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::Error>
pub fn try_from(
x: &'a str
) -> Result<Ss58AddressFormatRegistry, <Ss58AddressFormatRegistry as TryFrom<&'a str>>::Error>
Performs the conversion.
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Performs the conversion.
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
Mutably borrows from an owned value. Read more
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
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
The counterpart to unchecked_from
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more