referrerpolicy=no-referrer-when-downgrade

Function pallet_uniques::pallet::dispatchables::mint

source ·
pub fn mint<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    item: T::ItemId,
    owner: <<T as Config>::Lookup as StaticLookup>::Source,
)
Expand description

Mint an item of a particular collection.

The origin must be Signed and the sender must be the Issuer of the collection.

  • collection: The collection of the item to be minted.
  • item: The item value of the item to be minted.
  • beneficiary: The initial owner of the minted item.

Emits Issued event when successful.

Weight: O(1)

§Warning: Doc-Only

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