Type Alias pallet_collective::pallet::Voting
source · pub type Voting<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageVoting<T, I>, Identity, T::Hash, Votes<T::AccountId, BlockNumberFor<T>>, OptionQuery>;
Expand description
Votes on a given proposal, if it is ongoing.
Storage type is [StorageMap
] with key type T :: Hash
and value type Votes < T :: AccountId, BlockNumberFor < T > >
.
Aliased Type§
struct Voting<T: Config<I>, I: 'static = ()>(PhantomData<(_GeneratedPrefixForStorageVoting<T, I>, Identity, <T as Config>::Hash, Votes<<T as Config>::AccountId, <<<T as Config>::Block as Block>::Header as Header>::Number>, OptionQuery, GetDefault, GetDefault)>);
Fields§
§0: PhantomData<(_GeneratedPrefixForStorageVoting<T, I>, Identity, <T as Config>::Hash, Votes<<T as Config>::AccountId, <<<T as Config>::Block as Block>::Header as Header>::Number>, OptionQuery, GetDefault, GetDefault)>