referrerpolicy=no-referrer-when-downgrade

Function pallet_uniques::pallet::dispatchables::freeze_collection

source ·
pub fn freeze_collection<T: Config<I>, I: 'static>(collection: T::CollectionId)
Expand description

Disallow further unprivileged transfers for a whole collection.

Origin must be Signed and the sender should be the Freezer of the collection.

  • collection: The collection to be frozen.

Emits CollectionFrozen.

Weight: O(1)

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::freeze_collection.