Read the whole position.
A Kamino Obligation contains the borrower’s deposits and borrows. Its health depends on the reserves, accrued interest, oracle prices and market configuration behind them.
Track lending positions, recheck the protocol’s rules, and submit a bounded repayment. This Kamino example connects your keeper to Solana account data and transaction infrastructure.
A candidate, before execution
Illustrative values. One collateral asset and one debt asset.
- Collateral value
- $10,000
- Debt at a 100% borrow factor
- $8,100
- Liquidation threshold
- 80% × $10,000 = $8,000
$8,100 ≥ $8,000 Candidate for a fresh protocol check
Use the liquidation threshold.
The borrowing limit controls how much a user can borrow. The liquidation threshold determines when an existing position can be liquidated. They serve different checks.
Kamino adjusts debt with borrow factors and blends thresholds across collateral reserves. A simple debt-to-collateral ratio can miss those rules.
This example covers ordinary price-triggered liquidations. Elevation groups, auto-deleverage and fixed-term debt can change the applicable rules.
Inspect the liquidation engine