Trait noble_indices::Config[][src]

pub trait Config: Config {
    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>;
    type WeightInfo: WeightInfo;
}

The module’s config trait.

Associated Types

type AccountIndex: Parameter + Member + Codec + Default + AtLeast32Bit + Copy[src]

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

type Currency: ReservableCurrency<Self::AccountId>[src]

The currency trait.

type Deposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>[src]

The deposit needed for reserving an index.

type Event: From<Event<Self>> + Into<Self::Event>[src]

The overarching event type.

type WeightInfo: WeightInfo[src]

Weight information for extrinsics in this noble.

Loading content...

Implementors

Loading content...