pub type ReversePoolIdLookup<T: Config> = CountedStorageMap<_GeneratedPrefixForStorageReversePoolIdLookup<T>, Twox64Concat, T::AccountId, PoolId, OptionQuery>;
Expand description

A reverse lookup from the pool’s account id to its id.

This is only used for slashing. In all other instances, the pool id is used, and the accounts are deterministically derived from it.

Storage type is CountedStorageMap with key type T :: AccountId and value type PoolId.