Function pallet_nfts::pallet::dispatchables::transfer_ownership
source · pub fn transfer_ownership<T: Config<I>, I: 'static>(
collection: T::CollectionId,
owner: <<T as SystemConfig>::Lookup as StaticLookup>::Source
)
Expand description
Change the Owner of a collection.
Origin must be Signed and the sender should be the Owner of the collection
.
collection
: The collection whose owner should be changed.owner
: The new Owner of this collection. They must have calledset_accept_ownership
withcollection
in order for this operation to succeed.
Emits OwnerChanged
.
Weight: O(1)
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::transfer_ownership
.