Skip to main content

MarketConfigEntry

Risk parameters for a specific e-mode or collateral category.

categorystring

E-mode category identifier

Example: 1
labelstring

Human-readable label for this config category

Example: ETH correlated
borrowCollateralFactornumbernullable

LTV for borrowing (0-1)

Example: 0.8
collateralFactornumbernullable

Liquidation threshold (0-1)

Example: 0.85
borrowFactornumbernullable

Borrow factor (typically 1)

Example: 1
liquidationPenaltynumbernullable

Liquidation penalty for this mode, as a fraction of repaid debt the liquidator receives on top of par (e.g. 0.05 = 5%). Mode-specific where supported (Aave e-modes, Dolomite categories, Euler vaults).

Example: 0.05
closeFactornumbernullable

Max fraction of debt repayable per liquidation (0-1). Mirrors the pool-level closeFactor; not e-mode-specific in any supported protocol, so the same value across every mode of a market.

Example: 0.5
targetHealthFactornumbernullable

Liquidation target health factor (e.g. 1.05). Set only by protocols that liquidate to a target HF instead of a fixed close factor (Aave V4, spoke-level); omitted otherwise.

Example: 1.05
collateralDisabledboolean
debtDisabledboolean
MarketConfigEntry
{
"category": "1",
"label": "ETH correlated",
"borrowCollateralFactor": 0.8,
"collateralFactor": 0.85,
"borrowFactor": 1,
"liquidationPenalty": 0.05,
"closeFactor": 0.5,
"targetHealthFactor": 1.05,
"collateralDisabled": true,
"debtDisabled": true
}