[][src]Trait pallet_indices::Trait

pub trait Trait: Trait {
    type AccountIndex: Parameter + Member + Codec + Default + AtLeast32Bit + Copy;
    type Currency: ReservableCurrency<Self::AccountId>;
    type Deposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>;
    type Event: From<Event<Self>> + Into<Self::Event>;
}

The module's config trait.

Associated Types

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

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

type Currency: ReservableCurrency<Self::AccountId>

The currency trait.

type Deposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>

The deposit needed for reserving an index.

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

The overarching event type.

Loading content...

Implementors

Loading content...