referrerpolicy=no-referrer-when-downgrade

Function pallet_uniques::pallet::dispatchables::set_team

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

Change the Issuer, Admin and Freezer of a collection.

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

  • 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.