Skip to main content
An account with debt is healthy only when this ratio is strictly greater than 1.10. Equality is unhealthy. Zero debt is always healthy. The program uses a maximum-integer sentinel for an unbounded ratio.
An account with debt is healthy only when collateral USD / debt USD > 1.10. Equality is unhealthy. A displayed Health Factor at or below 1.1 is a liquidation candidate.

What counts as collateral

  • Live SPL balances in margin vaults, priced with Pyth
  • Recognized Lite / Kamino receipt value
  • Conservative rounding: collateral value floors, debt value ceils
Unpriced, stale, or low-confidence feeds can fail the instruction instead of silently counting as zero.

What moves health

  • Stock or SOL price
  • Accrued borrow interest
  • Swap slippage (vault composition changes)
  • Kamino exchange-rate moves on Farm receipts
There is no guaranteed time to liquidation. Read Liquidation and Math Reference.