All chains
    Preparing search index...

    Type Alias set_asset_status

    set_asset_status: TxDescriptor<
        {
            asset_id: { interior: XcmV5Junctions; parents: number };
            status: Enum<
                {
                    AllDisabled: undefined;
                    AllEnabled: undefined;
                    MintingDisabled: undefined;
                },
            >;
        },
    >

    Set the circuit breaker status for a specific external asset.

    Must be [Config::ManagerOrigin].

    Controls which operations are allowed for this asset:

    • [CircuitBreakerLevel::AllEnabled]: All swaps allowed
    • [CircuitBreakerLevel::MintingDisabled]: Only redemptions allowed (useful for draining debt)
    • [CircuitBreakerLevel::AllDisabled]: No swaps allowed
    • asset_id: The external stablecoin to configure
    • status: The new circuit breaker level for this asset
    • [Error::AssetNotApproved]: If the asset is not in the approved list
    • [Event::AssetStatusUpdated]: Emitted with the asset ID and new status