referrerpolicy=no-referrer-when-downgrade

Type Alias bp_polkadot_bulletin::AccountAddress

pub type AccountAddress = MultiAddress<<<MultiSignature as Verify>::Signer as IdentifyAccount>::AccountId, ()>;
Expand description

Address of account on Polkadot-like chains.

Aliased Type§

enum AccountAddress {
    Id(AccountId32),
    Index(()),
    Raw(Vec<u8>),
    Address32([u8; 32]),
    Address20([u8; 20]),
}

Variants§

§

Id(AccountId32)

It’s an account ID (pubkey).

§

Index(())

It’s an account index.

§

Raw(Vec<u8>)

It’s some arbitrary raw bytes.

§

Address32([u8; 32])

It’s a 32 byte representation.

§

Address20([u8; 20])

It’s a 20 byte representation.