Set the circuit breaker status for a specific external asset.
Must be [Config::ManagerOrigin].
Config::ManagerOrigin
Controls which operations are allowed for this asset:
CircuitBreakerLevel::AllEnabled
CircuitBreakerLevel::MintingDisabled
CircuitBreakerLevel::AllDisabled
asset_id
status
Error::AssetNotApproved
Event::AssetStatusUpdated
Set the circuit breaker status for a specific external asset.
Dispatch Origin
Must be [
Config::ManagerOrigin].Details
Controls which operations are allowed for this asset:
CircuitBreakerLevel::AllEnabled]: All swaps allowedCircuitBreakerLevel::MintingDisabled]: Only redemptions allowed (useful for draining debt)CircuitBreakerLevel::AllDisabled]: No swaps allowedParameters
asset_id: The external stablecoin to configurestatus: The new circuit breaker level for this assetErrors
Error::AssetNotApproved]: If the asset is not in the approved listEvents
Event::AssetStatusUpdated]: Emitted with the asset ID and new status