pub fn set_collection_max_supply<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    max_supply: u32
)
Expand description

Set the maximum number of items a collection could have.

Origin must be either ForceOrigin or Signed and the sender should be the Owner of the collection.

  • collection: The identifier of the collection to change.
  • max_supply: The maximum number of items a collection could have.

Emits CollectionMaxSupplySet event when successful.

Warning: Doc-Only

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