Type Definition democracy::pallet::VotingOf

source ·
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 AccountIds are crypto hashes anyway.

Storage type is [StorageMap] with key type T :: AccountId and value type Voting < BalanceOf < T >, T :: MaxVotes >.