set_team: TxDescriptor<
    {
        admin?: MultiAddress;
        collection: number;
        freezer?: MultiAddress;
        issuer?: MultiAddress;
    },
>

Change the Issuer, Admin and Freezer of a collection.

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

Note: by setting the role to None only the ForceOrigin will be able to change it after to Some(account).

  • collection: The collection whose team should be changed.
  • issuer: The new Issuer of this collection.
  • admin: The new Admin of this collection.
  • freezer: The new Freezer of this collection.

Emits TeamChanged.

Weight: O(1)