referrerpolicy=no-referrer-when-downgrade

set_minting_fee

Function set_minting_fee 

Source
pub fn set_minting_fee<T: Config>(
    internal_asset: T::AssetId,
    external_asset: T::AssetId,
    fee: Permill,
)
Expand description

Set the minting fee for an (internal_asset, external_asset) pair.

§Dispatch Origin

Must match the PSM instance’s full_admin (the Full privilege level).

§Parameters

  • internal_asset: The PSM instance to configure.
  • external_asset: The external asset whose minting fee is being updated.
  • fee: The new minting fee.

§Errors

§Events

§Warning: Doc-Only

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