Type Alias pallet_identity::pallet::PendingUsernames
source · pub type PendingUsernames<T: Config> = StorageMap<_GeneratedPrefixForStoragePendingUsernames<T>, Blake2_128Concat, BoundedVec<u8, <T as Config>::MaxUsernameLength>, (T::AccountId, BlockNumberFor<T>, Provider<<<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance>), OptionQuery>;
Expand description
Usernames that an authority has granted, but that the account controller has not confirmed
that they want it. Used primarily in cases where the AccountId
cannot provide a signature
because they are a pure proxy, multisig, etc. In order to confirm it, they should call
accept_username.
First tuple item is the account and second is the acceptance deadline.
Storage type is [StorageMap
] with key type Username < T >
and value type (T :: AccountId, BlockNumberFor < T > , ProviderOf < T >)
.
Aliased Type§
struct PendingUsernames<T: Config>(/* private fields */);