Type Alias XpOf

Source
pub type XpOf<T: Config<I>, I: 'static = ()> = StorageMap<_GeneratedPrefixForStorageXpOf<T, I>, Blake2_128Concat, XpId<T>, Xp<T, I>, OptionQuery>;
Expand description

Stores XP state for key.

Maps each XP key XpId to its corresponding XP data structure Xp. Stores metadata, balances, and activity information for each XP entry.

Storage type is [StorageMap] with key type XpId < T > and value type Xp < T, I >.

Aliased Typeยง

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