Enum sp_core::crypto::Ss58AddressFormat[][src]

pub enum Ss58AddressFormat {
Show variants PolkadotAccount, BareSr25519, KusamaAccount, BareEd25519, KatalChainAccount, PlasmAccount, BifrostAccount, EdgewareAccount, KaruraAccount, ReynoldsAccount, AcalaAccount, LaminarAccount, PolymathAccount, SubstraTeeAccount, TotemAccount, SynesthesiaAccount, KulupuAccount, DarkAccount, DarwiniaAccount, GeekAccount, StafiAccount, DockTestAccount, DockMainAccount, ShiftNrg, ZeroAccount, AlphavilleAccount, JupiterAccount, SubsocialAccount, DhiwayAccount, PhalaAccount, LitentryAccount, RobonomicsAccount, DataHighwayAccount, AresAccount, ValiuAccount, CentrifugeAccount, NodleAccount, KiltAccount, PolimecAccount, SubstrateAccount, BareSecp256k1, ChainXAccount, UniartsAccount, Reserved46, Reserved47, NeatcoinAccount, HydraDXAccount, AventusAccount, CrustAccount, EquilibriumAccount, SoraAccount, ZeitgeistAccount, MantaAccount, CalamariAccount, PolkaSmith, PolkaFoundry, OriginTrailAccount, HeikoAccount, ParallelAccount, SocialAccount, Moonbeam, Moonriver, BasiliskAccount, Custom(u16),
}
Expand description

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

Variants

PolkadotAccount

Polkadot Relay-chain, standard account (*25519).

BareSr25519

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

KusamaAccount

Kusama Relay-chain, standard account (*25519).

BareEd25519

Bare 32-bit Edwards Ed25519 key.

KatalChainAccount

Katal Chain, standard account (*25519).

PlasmAccount

Plasm Network, standard account (*25519).

BifrostAccount

Bifrost mainnet, direct checksum, standard account (*25519).

EdgewareAccount

Edgeware mainnet, standard account (*25519).

KaruraAccount

Acala Karura canary network, standard account (*25519).

ReynoldsAccount

Laminar Reynolds canary network, standard account (*25519).

AcalaAccount

Acala mainnet, standard account (*25519).

LaminarAccount

Laminar mainnet, standard account (*25519).

PolymathAccount

Polymath network, standard account (*25519).

SubstraTeeAccount

Any SubstraTEE off-chain network private account (*25519).

TotemAccount

Any Totem Live Accounting network standard account (*25519).

SynesthesiaAccount

Synesthesia mainnet, standard account (*25519).

KulupuAccount

Kulupu mainnet, standard account (*25519).

DarkAccount

Dark mainnet, standard account (*25519).

DarwiniaAccount

Darwinia Chain mainnet, standard account (*25519).

GeekAccount

GeekCash mainnet, standard account (*25519).

StafiAccount

Stafi mainnet, standard account (*25519).

DockTestAccount

Dock testnet, standard account (*25519).

DockMainAccount

Dock mainnet, standard account (*25519).

ShiftNrg

ShiftNrg mainnet, standard account (*25519).

ZeroAccount

ZERO mainnet, standard account (*25519).

AlphavilleAccount

ZERO testnet, standard account (*25519).

JupiterAccount

Jupiter testnet, standard account (*25519).

SubsocialAccount

Subsocial network, standard account (*25519).

DhiwayAccount

Dhiway CORD network, standard account (*25519).

PhalaAccount

Phala Network, standard account (*25519).

LitentryAccount

Litentry Network, standard account (*25519).

RobonomicsAccount

Any Robonomics network standard account (*25519).

DataHighwayAccount

DataHighway mainnet, standard account (*25519).

AresAccount

Ares Protocol, standard account (*25519).

ValiuAccount

Valiu Liquidity Network mainnet, standard account (*25519).

CentrifugeAccount

Centrifuge Chain mainnet, standard account (*25519).

NodleAccount

Nodle Chain mainnet, standard account (*25519).

KiltAccount

KILT Chain mainnet, standard account (*25519).

PolimecAccount

Polimec Chain mainnet, standard account (*25519).

SubstrateAccount

Any Substrate network, standard account (*25519).

BareSecp256k1

Bare ECDSA SECP256k1 key.

ChainXAccount

ChainX mainnet, standard account (*25519).

UniartsAccount

UniArts Chain mainnet, standard account (*25519).

Reserved46

Reserved for future use (46).

Reserved47

Reserved for future use (47).

NeatcoinAccount

Neatcoin mainnet, standard account (*25519).

HydraDXAccount

HydraDX standard account (*25519).

AventusAccount

Aventus Chain mainnet, standard account (*25519).

CrustAccount

Crust Network, standard account (*25519).

EquilibriumAccount

Equilibrium Network, standard account (*25519).

SoraAccount

SORA Network, standard account (*25519).

ZeitgeistAccount

Zeitgeist network, standard account (*25519).

MantaAccount

Manta Network, standard account (*25519).

CalamariAccount

Manta Canary Network, standard account (*25519).

PolkaSmith

PolkaSmith Canary Network, standard account (*25519).

PolkaFoundry

PolkaFoundry Network, standard account (*25519).

OriginTrailAccount

OriginTrail Parachain, ethereumm account (ECDSA).

HeikoAccount

Heiko, session key (*25519).

ParallelAccount

Parallel, session key (*25519).

SocialAccount

Social Network, standard account (*25519).

Moonbeam

Moonbeam, session key (*25519).

Moonriver

Moonriver, session key (*25519).

BasiliskAccount

Basilisk standard account (*25519).

Custom(u16)

Use a manually provided numeric value as a standard identifier

Implementations

names of all address formats

All known address formats.

Whether the address is custom.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

The associated error which can be returned from parsing.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

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

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

Performs the conversion.

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

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

Performs the conversion.

Get a reference to the inner from the outer.

Get a mutable reference to the inner from the outer.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The counterpart to unchecked_from.