referrerpolicy=no-referrer-when-downgrade

Type Alias pallet_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::AccountId, BlockNumberFor<T>, T::MaxVotes>, ValueQuery>;
Expand description

All votes for a particular voter. We store the balance for the number of votes that we have recorded. The second item is the total amount of delegations, that will be added.

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 :: AccountId, BlockNumberFor < T > , T :: MaxVotes >.

Aliased Type§

struct VotingOf<T: Config>(/* private fields */);