referrerpolicy=no-referrer-when-downgrade

Votes

Type Alias Votes 

Source
pub type Votes<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageVotes<T, I>, Twox64Concat, T::AccountId, Twox64Concat, T::AccountId, Vote, OptionQuery>;
Expand description

Double map from Candidate -> Voter -> (Maybe) Vote.

Storage type is [StorageDoubleMap] with key1 type T :: AccountId, key2 type T :: AccountId and value type Vote.

Aliased Type§

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