Type Alias pallet_session::pallet::KeyOwner

source ·
pub type KeyOwner<T: Config> = StorageMap<_GeneratedPrefixForStorageKeyOwner<T>, Twox64Concat, (KeyTypeId, Vec<u8>), T::ValidatorId, OptionQuery>;
Expand description

The owner of a key. The key is the KeyTypeId + the encoded key.

Storage type is [StorageMap] with key type (KeyTypeId, Vec < u8 >) and value type T :: ValidatorId.

Aliased Type§

struct KeyOwner<T: Config>(PhantomData<(_GeneratedPrefixForStorageKeyOwner<T>, Twox64Concat, (KeyTypeId, Vec<u8>), <T as Config>::ValidatorId, OptionQuery, GetDefault, GetDefault)>);

Fields§

§0: PhantomData<(_GeneratedPrefixForStorageKeyOwner<T>, Twox64Concat, (KeyTypeId, Vec<u8>), <T as Config>::ValidatorId, OptionQuery, GetDefault, GetDefault)>