Function pallet_nfts::pallet::dispatchables::force_mint
source · pub fn force_mint<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
mint_to: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
item_config: ItemConfig,
)
Expand description
Mint an item of a particular collection from a privileged origin.
The origin must conform to ForceOrigin
or must be Signed
and the sender must be the
Issuer of the collection
.
collection
: The collection of the item to be minted.item
: An identifier of the new item.mint_to
: Account into which the item will be minted.item_config
: A config of the new 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::force_mint
.