Type Definition pallet_ranked_collective::pallet::IndexToId
source · pub type IndexToId<T: Config<I>, I: 'static = ()> = StorageDoubleMap<_GeneratedPrefixForStorageIndexToId<T, I>, Twox64Concat, Rank, Twox64Concat, MemberIndex, T::AccountId>;
Expand description
The members in the collective by index. All indices in the range 0..MemberCount
will
return Some
, however a member’s index is not guaranteed to remain unchanged over time.
Storage type is StorageDoubleMap
with key1 type Rank, key2 type MemberIndex and value type T :: AccountId.