Trait pallet_indices::pallet::Config [−][src]
pub trait Config: Config { type AccountIndex: Parameter + Member + MaybeSerializeDeserialize + Codec + Default + AtLeast32Bit + Copy; type Currency: ReservableCurrency<Self::AccountId>; type Deposit: Get<<<Self as Config>::Currency as Currency<<Self as Config>::AccountId>>::Balance>; type Event: From<Event<Self>> + IsType<<Self as Config>::Event>; type WeightInfo: WeightInfo; }
Expand description
The module’s config trait.
Associated Types
type AccountIndex: Parameter + Member + MaybeSerializeDeserialize + Codec + Default + AtLeast32Bit + Copy
type AccountIndex: Parameter + Member + MaybeSerializeDeserialize + 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>
type Currency: ReservableCurrency<Self::AccountId>
The currency trait.
The deposit needed for reserving an index.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.