pub enum Ss58AddressFormat {
Show 49 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, PatractAccount, SubsocialAccount, DhiwayAccount, PhalaAccount, LitentryAccount, RobonomicsAccount, DataHighwayAccount, AresAccount, ValiuAccount, CentrifugeAccount, NodleAccount, KiltAccount, PolimecAccount, SubstrateAccount, BareSecp256k1, ChainXAccount, UniartsAccount, Reserved46, Reserved47, AventusAccount, CrustAccount, 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).

PatractAccount

Patract mainnet, 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).

AventusAccount

Aventus Chain mainnet, standard account (*25519).

CrustAccount

Crust Network, 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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)

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.