Skip to main content

KeyOwner

Type Alias 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ยง

pub struct KeyOwner<T: Config>(/* private fields */);