Type Alias pallet_nicks::pallet::NameOf
source · pub(crate) type NameOf<T: Config> = StorageMap<_GeneratedPrefixForStorageNameOf<T>, Twox64Concat, T::AccountId, (BoundedVec<u8, T::MaxLength>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance)>;
Expand description
The lookup table for names.
Storage type is [StorageMap
] with key type T :: AccountId
and value type (BoundedVec < u8, T :: MaxLength > , BalanceOf < T >)
.
Aliased Type§
struct NameOf<T: Config>(PhantomData<(_GeneratedPrefixForStorageNameOf<T>, Twox64Concat, <T as Config>::AccountId, (BoundedVec<u8, <T as Config>::MaxLength>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance), OptionQuery, GetDefault, GetDefault)>);
Fields§
§0: PhantomData<(_GeneratedPrefixForStorageNameOf<T>, Twox64Concat, <T as Config>::AccountId, (BoundedVec<u8, <T as Config>::MaxLength>, <<T as Config>::Currency as Currency<<T as Config>::AccountId>>::Balance), OptionQuery, GetDefault, GetDefault)>