[][src]Trait srml_indices::Trait

pub trait Trait: Trait {
    type AccountIndex: Parameter + Member + Codec + Default + SimpleArithmetic + Copy;
    type IsDeadAccount: IsDeadAccount<Self::AccountId>;
    type ResolveHint: ResolveHint<Self::AccountId, Self::AccountIndex>;
    type Event: From<Event<Self>> + Into<Self::Event>;
}

The module's config trait.

Associated Types

type AccountIndex: Parameter + Member + Codec + Default + SimpleArithmetic + Copy

Type used for storing an account's index; implies the maximum number of accounts the system can hold.

type IsDeadAccount: IsDeadAccount<Self::AccountId>

Whether an account is dead or not.

type ResolveHint: ResolveHint<Self::AccountId, Self::AccountIndex>

How to turn an id into an index.

type Event: From<Event<Self>> + Into<Self::Event>

The overarching event type.

Loading content...

Implementors

Loading content...