Varla
OverviewWhat it is and why it matters.How It WorksLending against prediction markets, step by step.FeaturesLending, borrowing, leverage, and risk management.Supported MarketsPolymarket, Opinion, Kalshi, and more.
DocumentationProtocol docs, guides, and architecture.Smart ContractsPool, Collateral Manager, Oracle, Liquidation Engine.SDK ReferenceTypeScript SDK for protocol interactions.API ReferenceREST and GraphQL endpoints for market data.
BlogLatest news and announcements from Varla.FAQsFrequently asked questions about the protocol.Security & AuditsProtocol security, audits, and trust assumptions.Brand AssetsLogos, colors, and typography guidelines.
Sign up
Varla
Protocol
Overview What it is and why it matters.
How It Works Lending against prediction markets, step by step.
Features Lending, borrowing, leverage, and risk management.
Supported Markets Polymarket, Opinion, Kalshi, and more.
Developers
Documentation Protocol docs, guides, and architecture.
Smart Contracts Pool, Collateral Manager, Oracle, Liquidation Engine.
SDK Reference TypeScript SDK for protocol interactions.
API Reference REST and GraphQL endpoints for market data.
Resources
Blog Latest news and announcements from Varla.
FAQs Frequently asked questions about the protocol.
Security & Audits Protocol security, audits, and trust assumptions.
Brand Assets Logos, colors, and typography guidelines.
Sign up

Introduction

Overview
Varla 101

Protocol

Overview
Lending Model
Supply & Borrow Interest Rates Reserves
User Positions
Open Positions Supply Assets Borrow Assets Withdraw Assets Repay Loans
Risk Engine
Health Factor LTV & Thresholds Liquidations Market Resolution Oracle System

Markets

Overview
Polymarket
Opinion
Kalshi
Adapters

Token

Overview
Distribution
Utility & Governance
Varla Gems

Security

Overview
Trust Assumptions
Risk Disclosure
Risk Parameters

Resources

FAQ
Glossary
Links
Brand Assets

Getting Started

Overview
TypeScript SDK
GraphQL API
Smart Contracts

Smart Contracts

Overview
Core Protocol
VarlaPool VarlaOracle Interest Rate Liquidators Market Adapters
Governance & Access
Governance

References

SDK Reference
API Reference

Operations

Testing & Debugging
Contract Addresses

Security

Overview
Trust Assumptions
Risk Disclosure
Risk Parameters

Health Factor

The health factor is the single number that determines whether your position is safe or liquidatable. It measures the ratio of your risk-adjusted collateral to your outstanding debt.
✦ Key Takeaways
  • HF ≥ 1.0 — your position is safe, no liquidation possible
  • HF < 1.0 — your position is liquidatable by anyone, instantly
  • Target: keep above 1.2 — gives you buffer for price swings and interest accrual
  • Cross-margin — all deposited positions contribute to one combined health factor

Formula

Health factor calculation
Health Factor = Σ(Position Value × Liquidation Threshold) / Total Debt

Where:
├── Position Value = shares × min(spotPrice, twapPrice)
├── Liquidation Threshold = tier-specific (55%, 70%, or 85%)
└── Total Debt = borrowed amount + accrued interest
⚠ The one rule that matters
If your health factor drops below 1.0, anyone can liquidate your position. There's no queue, no warning period, no grace. Everything else in risk management flows from this single threshold.

What Moves HF Down

Your health factor decreases when your collateral value drops or your debt increases. Five common causes:

CauseEffectHow fast
Position price dropsCollateral value ↓Immediate — tracks oracle price
Interest accruesDebt ↑Continuous — compounds per-second
You withdraw collateralCollateral value ↓Immediate — on transaction
Market approaches resolutionEarly-closure factor reduces effective LTVGradual — linear decay over 7 days
Oracle becomes unavailableThat collateral = $0 borrow powerImmediate — after staleness window

What Moves HF Up

You can actively improve your health factor through these actions:

ActionEffect
Repay debtDebt ↓ — most direct way to improve HF
Add collateralCollateral value ↑ — deposit more PM positions
Position price risesCollateral value ↑ — passive improvement

HF Zones

Think of your health factor in four zones:

Health FactorStatusRecommended Action
> 1.5SafeMonitor normally
1.2 – 1.5CautionWatch market moves closely
1.0 – 1.2WarningConsider repaying debt or adding collateral
< 1.0LiquidatableLiquidation can happen at any moment
💡 Buffer recommendation
Keep your health factor above 1.2 at minimum. This gives you margin for price swings, interest accrual, and early-closure decay. A sudden 15% price drop at HF 1.2 would bring you to ~1.02 — still safe but barely.

Worked Example

Let's walk through a concrete scenario showing how HF changes with market movements.

Starting position
Portfolio: $600 in Moderate tier (65% LTV / 70% liq threshold)
Debt: $300 USDC borrowed

Collateral value = $600 × 0.70 = $420  (using liq threshold)
Health Factor = $420 / $300 = 1.40 ✅ Safe
After 20% price drop
Portfolio drops to: $480
Collateral value = $480 × 0.70 = $336
Health Factor = $336 / $300 = 1.12 ⚠️ Caution zone

→ You should consider repaying some debt or adding collateral.
After another 10% drop
Portfolio drops to: $432
Collateral value = $432 × 0.70 = $302.40
Health Factor = $302.40 / $300 = 1.008 🚨 Danger!

→ One more small move and you're liquidatable.
→ Interest accrual alone could push you under 1.0.
ℹ Monitor with the SDK
Use readAccountSnapshot() from the TypeScript SDK to check your current health factor programmatically. Build alerts for when HF drops below your comfort threshold.

Menu

  • Overview
  • How it works
  • Features
  • Documentations
  • FAQs

Ecosystem

  • Prediction markets
  • Builders
  • Integrations
  • Governance

Company

  • About
  • Terms
  • Privacy
  • Support

©2026 Varla Labs Inc. All rights reserved