Type Alias XpOwners

Source
pub type XpOwners<T: Config<I>, I: 'static = ()> = StorageNMap<_GeneratedPrefixForStorageXpOwners<T, I>, (NMapKey<Blake2_128Concat, T::AccountId>, NMapKey<Blake2_128Concat, XpId<T>>), (), OptionQuery>;
Expand description

Owner-to-XP-key mapping.

Maps each account [frame_system::Config::AccountId] and XP key XpId pair to an empty tuple, representing ownership of the XP key by the account. Used for efficient owner lookups.

Storage type is [StorageNMap] with keys type (T :: AccountId, XpId < T >) and value type ().

Aliased Typeยง

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