pub fn set_collection_max_supply<T: Config<I>, I: 'static>(
collection: T::CollectionId,
max_supply: u32,
)Expand description
Set the maximum amount of items a collection could have.
Origin must be either ForceOrigin or Signed and the sender should be the Owner of
the collection.
Note: This function can only succeed once per collection.
collection: The identifier of the collection to change.max_supply: The maximum amount 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.