Type Alias gtest_runtime::Address

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

The address format for describing accounts.

Aliased Type§

enum Address {
    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])

Its a 20 byte representation.