Enum sp_core::crypto::Ss58AddressFormatRegistry
source · [−]#[non_exhaustive]
#[repr(u16)]
pub enum Ss58AddressFormatRegistry {
Show 92 variants
BareEd25519Account,
BareSecp256K1Account,
BareSr25519Account,
DicoAccount,
KicoAccount,
AcalaAccount,
AjunaAccount,
AltairAccount,
AresAccount,
AstarAccount,
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,
KabochaAccount,
KapexAccount,
KaruraAccount,
KatalchainAccount,
KiltAccount,
KintsugiAccount,
KulupuAccount,
KusamaAccount,
LaminarAccount,
LitentryAccount,
LitmusAccount,
MantaAccount,
MathchainAccount,
MathchainTestnetAccount,
MoonbeamAccount,
MoonriverAccount,
NeatcoinAccount,
NodleAccount,
OakAccount,
OrigintrailParachainAccount,
ParallelAccount,
PhalaAccount,
PicassoAccount,
PioneerNetworkAccount,
PoliAccount,
PolkadexAccount,
PolkadotAccount,
PolkafoundryAccount,
PolkasmithAccount,
PolymeshAccount,
PontemNetworkAccount,
QuartzMainnetAccount,
Reserved46Account,
Reserved47Account,
ReynoldsAccount,
RobonomicsAccount,
ShiftAccount,
SocialNetworkAccount,
SoraAccount,
SoraKusamaParaAccount,
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.
DicoAccount
DICO - https://dico.io
KicoAccount
KICO - https://dico.io
AcalaAccount
Acala - https://acala.network/
AjunaAccount
Ajuna Network - https://ajuna.io
AltairAccount
Altair - https://centrifuge.io/
AresAccount
Ares Protocol - https://www.aresprotocol.com/
AstarAccount
Astar Network - https://astar.network
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
KabochaAccount
Kabocha - https://kabocha.network
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/
LitmusAccount
Litmus 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/
OakAccount
OAK Network - https://oak.tech
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
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
SoraKusamaParaAccount
SORA Kusama Parachain - 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
sourceimpl Clone for Ss58AddressFormatRegistry
impl Clone for Ss58AddressFormatRegistry
sourcepub fn clone(&self) -> Ss58AddressFormatRegistry
pub fn clone(&self) -> Ss58AddressFormatRegistry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Ss58AddressFormatRegistry
impl Debug for Ss58AddressFormatRegistry
sourceimpl Display for Ss58AddressFormatRegistry
impl Display for Ss58AddressFormatRegistry
sourceimpl From<Ss58AddressFormatRegistry> for Ss58AddressFormat
impl From<Ss58AddressFormatRegistry> for Ss58AddressFormat
sourcepub fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat
pub fn from(x: Ss58AddressFormatRegistry) -> Ss58AddressFormat
Performs the conversion.
sourceimpl FromStr for Ss58AddressFormatRegistry
impl FromStr for Ss58AddressFormatRegistry
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourcepub 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
sourceimpl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry
impl<'a> TryFrom<&'a str> for Ss58AddressFormatRegistry
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourcepub 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.
sourceimpl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry
impl TryFrom<Ss58AddressFormat> for Ss58AddressFormatRegistry
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourcepub fn try_from(
x: Ss58AddressFormat
) -> Result<Ss58AddressFormatRegistry, ParseError>
pub fn try_from(
x: Ss58AddressFormat
) -> Result<Ss58AddressFormatRegistry, ParseError>
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub 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
. Read more
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub 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
. Read more
pub fn as_any(&self) -> &(dyn Any + 'static)
pub 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. Read more
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
pub 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. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for T where
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
sourcefn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to unchecked_from
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more