Function pallet_uniques::pallet::dispatchables::clear_collection_metadata
source · pub fn clear_collection_metadata<T: Config<I>, I: 'static>(
collection: T::CollectionId
)
Expand description
Clear the metadata for a collection.
Origin must be either ForceOrigin
or Signed
and the sender should be the Owner of
the collection
.
Any deposit is freed for the collection’s owner.
collection
: The identifier of the collection whose metadata to clear.
Emits CollectionMetadataCleared
.
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::clear_collection_metadata
.