Type Definition pallet_nfts::pallet::NextCollectionId

source ·
pub type NextCollectionId<T: Config<I>, I: 'static = ()> = StorageValue<_GeneratedPrefixForStorageNextCollectionId<T, I>, T::CollectionId, OptionQuery>;
Expand description

Stores the CollectionId that is going to be used for the next collection. This gets incremented whenever a new collection is created.

Storage type is StorageValue with value type T :: CollectionId.