pub type VotingFor<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageVotingFor<T, I>, Twox64Concat, T::AccountId, Twox64Concat, <<T as Config<I>>::Polls as Polling<TallyOf<T, I>>>::Class, Voting<<<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance, <T as Config>::AccountId, BlockNumberFor<T>, <<T as Config<I>>::Polls as Polling<TallyOf<T, I>>>::Index, <T as Config<I>>::MaxVotes>, ValueQuery>;
Expand description

All voting for a particular voter in a particular voting class. We store the balance for the number of votes that we have recorded.

Storage type is [StorageDoubleMap] with key1 type T :: AccountId, key2 type ClassOf < T, I > and value type VotingOf < T, I >.

Aliased Type§

struct VotingFor<T: Config<I>, I: 'static = ()>(/* private fields */);