Type Definition pallet_elections_phragmen::pallet::Voting
source · pub type Voting<T: Config> = StorageMap<_GeneratedPrefixForStorageVoting<T>, Twox64Concat, T::AccountId, Voter<T::AccountId, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>, ValueQuery>;
Expand description
Votes and locked stake of a particular voter.
TWOX-NOTE: SAFE as AccountId
is a crypto hash.
Storage type is StorageMap
with key type T :: AccountId
and value type Voter < T :: AccountId, BalanceOf < T > >
.