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

Liquidations

How Varla's permissionless liquidation system works — triggers, incentives, and what happens to borrowers and liquidators.
✦ Key Takeaways
  • Trigger — health factor drops below 1.0
  • Permissionless — anyone can execute a liquidation (no allowlists)
  • Partial liquidation — only enough collateral is seized to restore health
  • Liquidation bonus — 5-15% incentive for liquidators, scales with urgency

When Liquidation Happens

A position becomes liquidatable when its health factor drops below 1.0. This can happen because collateral lost value (PM share price declined), the market is approaching resolution (early-closure decay), or debt grew from accrued interest.

Liquidation trigger
healthFactor = Σ(positionValue × liquidationThreshold) / totalDebt

if healthFactor < 1.0:
  → Position is liquidatable
  → Anyone can call liquidate(borrower, tokenId, amount)

Liquidation Bonus

Liquidators receive a bonus on the collateral they seize — more than the debt they repay. The bonus scales with the severity of undercollateralization.

Health FactorBonusRationale
~1.0 (just liquidatable)~5%Minimal incentive, low risk
~0.9~10%Moderate urgency
≤ 0.8~15%High urgency, max incentive

Liquidation Flow

What happens during liquidation
1. Liquidator identifies unhealthy position (HF < 1.0)
2. Liquidator calls liquidate(borrower, tokenId, debtToCover)
3. Contract verifies: HF < 1.0, oracle is fresh, amount is valid
4. Debt is reduced: borrower's scaled debt decreases
5. Collateral seized: ERC-1155 positions transferred to liquidator
6. Bonus applied: liquidator receives collateral worth debtCovered × (1 + bonus)
7. Pool repaid: stablecoins flow from liquidator → VarlaPool

For Borrowers

⚠ Avoid liquidation
Monitor your health factor. If it's approaching 1.0, either supply more collateral or repay some debt. Liquidation costs you the bonus — up to 15% of seized collateral value.

For Liquidators

💡 Running a liquidation bot
Liquidations are permissionless and competitive. Monitor the readAccountSnapshot() SDK helper for positions approaching HF 1.0. The bonus makes liquidation profitable when accounting for gas costs.

Partial vs Full Liquidation

Liquidation aims to restore you to a target health factor (default 1.05) rather than wiping you out entirely. Only enough collateral is seized to bring your HF back to the target.

However, full liquidation may occur when:

ConditionWhat happens
Severely underwaterCollateral value is so low that partial liquidation can't restore HF to the target
Dust debt remainingPartial liquidation would leave a tiny remaining debt not worth the gas to manage
Single-position collateralOnly one position to seize, and partial seizure isn't enough

Why Liquidation Can Be Delayed

Liquidation has stricter oracle rules than normal borrowing to protect borrowers from unfair liquidation during oracle outages:

RuleDetail
Stale price blocks liquidationIf any non-zero collateral has an unavailable price, liquidation is blocked entirely
Grace period after recoveryAfter oracle comes back online, there's a default 5-minute grace period before liquidation is allowed

This means your position is protected during oracle outages — even though your HF might calculate below 1.0 temporarily, no one can act on it until prices are fresh. See Oracle System for details.


Bad Debt

If collateral value drops below outstanding debt (e.g., a PM position resolves to $0), the remaining shortfall becomes bad debt. This is absorbed first by the protocol reserve fund, then socialized to lenders only as a last resort.

ℹ Borrower liability
You lose all collateral but don't owe the protocol anything beyond that. There's no personal liability for bad debt — your exposure is limited to the collateral you deposited.

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