pub fn mint<T: Config<I>, I: 'static>(
    id: T::AssetIdParameter,
    beneficiary: <<T as Config>::Lookup as StaticLookup>::Source,
    amount: T::Balance
)
Expand description

Mint assets of a particular class.

The origin must be Signed and the sender must be the Issuer of the asset id.

  • id: The identifier of the asset to have some amount minted.
  • beneficiary: The account to be credited with the minted assets.
  • amount: The amount of the asset to be minted.

Emits Issued event when successful.

Weight: O(1) Modes: Pre-existing balance of beneficiary; Account pre-existence of beneficiary.

Warning: Doc-Only

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