pub fn transfer_ownership<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    owner: <<T as Config>::Lookup as StaticLookup>::Source
)
Expand description

Change the Owner of an asset.

Origin must be Signed and the sender should be the Owner of the asset id.

  • id: The identifier of the asset.
  • owner: The new Owner of this asset.

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.