pub trait UnlockConfig: 'static {
type AccountId: Parameter + Ord;
type Currency: LockableCurrency<Self::AccountId> + ReservableCurrency<Self::AccountId>;
type PalletName: Get<&'static str>;
type MaxVotesPerVoter: Get<u32>;
type PalletId: Get<LockIdentifier>;
type DbWeight: Get<RuntimeDbWeight>;
}
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 MaxVotesPerVoter: Get<u32>
type MaxVotesPerVoter: Get<u32>
The maximum number of votes per voter as configured previously in the previous runtime.
Object Safety§
This trait is not object safe.