pub type VotingOf<T: Config> = StorageMap<_GeneratedPrefixForStorageVotingOf<T>, Twox64Concat, T::AccountId, Voting<<<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance, T::MaxVotes>, ValueQuery>;
Expand description
All votes for a particular voter. We store the balance for the number of votes that we have recorded.
TWOX-NOTE: SAFE as AccountId
s are crypto hashes anyway.
Storage type is [StorageMap
] with key type T :: AccountId
and value type Voting < BalanceOf < T >, T :: MaxVotes >
.