Type Alias pallet_conviction_voting::pallet::ClassLocksFor
source · pub type ClassLocksFor<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageClassLocksFor<T, I>, Twox64Concat, T::AccountId, BoundedVec<(<<T as Config<I>>::Polls as Polling<TallyOf<T, I>>>::Class, <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance), ClassCountOf<T::Polls, TallyOf<T, I>>>, ValueQuery>;
Expand description
The voting classes which have a non-zero lock requirement and the lock amounts which they require. The actual amount locked on behalf of this pallet should always be the maximum of this list.
Storage type is [StorageMap
] with key type T :: AccountId
and value type BoundedVec < (ClassOf < T, I > , BalanceOf < T, I >), ClassCountOf < T :: Polls, TallyOf < T, I > > >
.
Aliased Type§
struct ClassLocksFor<T: Config<I>, I: 'static = ()>(/* private fields */);