pub trait UnlockConfig: 'static {
type AccountId: Parameter + Ord;
type Currency: LockableCurrency<Self::AccountId> + ReservableCurrency<Self::AccountId>;
type PalletName: Get<&'static str>;
type MaxVotes: Get<u32>;
type MaxDeposits: Get<u32>;
type DbWeight: Get<RuntimeDbWeight>;
type BlockNumber: Parameter + Zero + Copy + Ord;
}
Expand description
The configuration for UnlockAndUnreserveAllFunds
.
Required Associated Types§
sourcetype Currency: LockableCurrency<Self::AccountId> + ReservableCurrency<Self::AccountId>
type Currency: LockableCurrency<Self::AccountId> + ReservableCurrency<Self::AccountId>
The currency type used in the runtime.
Should match the currency type previously used for the pallet, if applicable.
sourcetype PalletName: Get<&'static str>
type PalletName: Get<&'static str>
The name of the pallet as previously configured in
construct_runtime!
.
sourcetype MaxDeposits: Get<u32>
type MaxDeposits: Get<u32>
The maximum deposit as configured previously in the runtime.
sourcetype DbWeight: Get<RuntimeDbWeight>
type DbWeight: Get<RuntimeDbWeight>
The DB weight as configured in the runtime to calculate the correct weight.
sourcetype BlockNumber: Parameter + Zero + Copy + Ord
type BlockNumber: Parameter + Zero + Copy + Ord
The block number as configured in the runtime.
Object Safety§
This trait is not object safe.