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.
ForceOrigin
Signed
collection
Note: This function can only succeed once per collection.
max_supply
Emits CollectionMaxSupplySet event when successful.
CollectionMaxSupplySet
Set the maximum amount of items a collection could have.
Origin must be either
ForceOrigin
orSigned
and the sender should be the Owner of thecollection
.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.