pub trait Config<I: 'static = ()>: Config {
    type Balance: Parameter + Member + AtLeast32BitUnsigned + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + MaxEncodedLen + TypeInfo;
    type DustRemoval: OnUnbalanced<NegativeImbalance<Self, I>>;
    type Event: From<Event<Self, I>> + IsType<<Self as Config>::Event>;
    type ExistentialDeposit: Get<Self::Balance>;
    type AccountStore: StoredMap<Self::AccountId, Self::BalanceInfo>;
    type WeightInfo: WeightInfo;
    type MaxLocks: Get<u32>;
    type MaxReserves: Get<u32>;
    type ReserveIdentifier: Parameter + Member + MaxEncodedLen + Ord + Copy;
    type BalanceInfo: BalanceInfo<Self::Balance, I> + Into<<Self as Config>::AccountData> + Member + Codec + Clone + Default + EncodeLike + TypeInfo;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types

The balance of an account.

Handler for the unbalanced reduction when removing a dust account.

The overarching event type.

The minimum amount required to keep an account open.

The means of storing the balances of an account.

Weight information for extrinsics in this pallet.

The maximum number of locks that should exist on an account. Not strictly enforced, but used for weight estimation.

The maximum number of named reserves that can exist on an account.

The id type for named reserves.

A handler to access the balance of an account. Different balances instance might have its own implementation, which you can configure in runtime.

Implementors