@xoxno/sdk-js
    Preparing search index...

    Interface SpokeAssetArgs

    add_asset_to_spoke / edit_asset_in_spoke payload: the per-(hub, spoke, asset) risk config. Caps are asset-native i128 decimal strings and are always enforced ceilings — there is no "unlimited" sentinel, and '0' means the asset accepts nothing on that side. ltv/threshold/bonus/liquidationFees are bps. Oracle config is asset-level on the price-aggregator, not per-spoke.

    interface SpokeAssetArgs {
        asset: string;
        bonus: number;
        borrowCap: string;
        canBorrow: boolean;
        canCollateral: boolean;
        frozen: boolean;
        hubId: number;
        liquidationFees: number;
        ltv: number;
        noSeize: boolean;
        paused: boolean;
        spokeId: number;
        supplyCap: string;
        threshold: number;
    }
    Index

    Properties

    asset: string
    bonus: number
    borrowCap: string
    canBorrow: boolean
    canCollateral: boolean
    frozen: boolean

    ADR 0008 per-listing incident flag: blocks new exposure, exits stay live.

    hubId: number
    liquidationFees: number
    ltv: number
    noSeize: boolean

    ADR 0008 per-listing incident flag: blocks only the liquidation seizure leg (SpokeAssetSeizureHalted, 318), and nothing else. Deliberately not folded into paused: seizure is pro-rata over an account's whole collateral, so gating it on a user-activity halt would turn one paused listing into a protocol-wide liquidation halt.

    paused: boolean

    ADR 0008 per-listing incident flag: blocks every user verb on the listing, including the debt leg of a liquidation that names this asset.

    spokeId: number
    supplyCap: string
    threshold: number