referrerpolicy=no-referrer-when-downgrade

remove_external_asset

Function remove_external_asset 

Source
pub fn remove_external_asset<T: Config>(asset_id: T::AssetId)
Expand description

Remove an external stablecoin from the approved list.

§Dispatch Origin

Must be Config::ManagerOrigin.

§Details

The asset cannot be removed if it has non-zero PSM debt outstanding. This prevents orphaned debt that cannot be redeemed.

Upon removal, the associated configuration is also cleaned up:

  • MintingFee for this asset
  • RedemptionFee for this asset
  • AssetCeilingWeight for this asset

§Parameters

  • asset_id: The external stablecoin to remove

§Errors

§Events

§Warning: Doc-Only

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