Type Definition pallet_nfts::pallet::Attribute
source · pub type Attribute<T: Config<I>, I: 'static = ()> = StorageNMap<_GeneratedPrefixForStorageAttribute<T, I>, (NMapKey<Blake2_128Concat, T::CollectionId>, NMapKey<Blake2_128Concat, Option<T::ItemId>>, NMapKey<Blake2_128Concat, AttributeNamespace<T::AccountId>>, NMapKey<Blake2_128Concat, BoundedVec<u8, T::KeyLimit>>), (BoundedVec<u8, T::ValueLimit>, AttributeDeposit<<<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance, <T as SystemConfig>::AccountId>), OptionQuery>;
Expand description
Attributes of a collection.
Storage type is StorageNMap
with keys type (T :: CollectionId, Option < T :: ItemId >, AttributeNamespace < T :: AccountId >, BoundedVec < u8, T :: KeyLimit >) and value type (BoundedVec < u8, T :: ValueLimit >, AttributeDepositOf < T, I >).