Remove an external stablecoin from the approved list.
Must be [Config::ManagerOrigin].
Config::ManagerOrigin
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
RedemptionFee
AssetCeilingWeight
asset_id
Error::AssetNotApproved
Error::AssetHasDebt
Event::ExternalAssetRemoved
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:
MintingFeefor this assetRedemptionFeefor this assetAssetCeilingWeightfor this assetParameters
asset_id: The external stablecoin to removeErrors
Error::AssetNotApproved]: If the asset is not in the approved listError::AssetHasDebt]: If the asset has non-zero PSM debtEvents
Event::ExternalAssetRemoved]: Emitted on successful removal