referrerpolicy=no-referrer-when-downgrade

Function pallet_nfts::pallet::dispatchables::set_team

source ·
pub fn set_team<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    issuer: Option<<<T as SystemConfig>::Lookup as StaticLookup>::Source>,
    admin: Option<<<T as SystemConfig>::Lookup as StaticLookup>::Source>,
    freezer: Option<<<T as SystemConfig>::Lookup as StaticLookup>::Source>,
)
Expand description

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)

§Warning: Doc-Only

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