Type Definition pallet_dkg_proposals::pallet::Votes

source ·
pub type Votes<T: Config> = StorageDoubleMap<_GeneratedPrefixForStorageVotes<T>, Blake2_256, TypedChainId, Blake2_256, (ProposalNonce, ProposalOf<T>), ProposalVotes<T::AccountId, BlockNumberFor<T>, T::MaxVotes>>;
Expand description

All known proposals. The key is the hash of the call and the deposit ID, to ensure it’s unique.

Storage type is [StorageDoubleMap] with key1 type TypedChainId, key2 type (ProposalNonce, ProposalOf < T >) and value type ProposalVotes < T :: AccountId, BlockNumberFor < T >, T :: MaxVotes >.