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

Reserves

How the protocol reserve fund works — first-loss coverage for lenders, bad debt absorption, and long-term protocol sustainability.

How Reserves Accumulate

Every time interest accrues on borrows, 10% is directed to the protocol reserve fund. The remaining 90% flows to lenders via increasing vault share value.

Reserve accrual
totalInterest = borrowRate × totalBorrows × timeDelta

reserveIncrease = totalInterest × reserveFactor  (10%)
lenderIncrease  = totalInterest × (1 - reserveFactor)  (90%)

What Reserves Protect Against

Bad debt from liquidation shortfalls
If a liquidation doesn't fully cover a borrower's debt (e.g., collateral resolved to $0 before liquidators could act), the shortfall becomes "bad debt." Reserves are consumed first to cover this — lenders are only affected after reserves are depleted.
Oracle failures or market disruption
In edge cases where oracle data is stale or markets are disrupted, positions may become undercollateralized faster than liquidators can respond. The reserve fund provides a buffer during these events.
Protocol operational costs
A portion of reserves may be used for protocol maintenance, oracle costs, and security audits — governed by the protocol's governance framework.

Bad Debt Waterfall

Loss absorption order
1. Liquidation bonus covers partial losses
2. Reserve fund absorbs remaining bad debt
3. If reserves depleted → loss socialized to all lenders (pro-rata)

In practice, steps 1-2 should cover nearly all scenarios.
Socialization is a last resort — it has never been triggered.
💡 Reserve transparency
Reserve balance is visible on-chain and queryable via readPoolSnapshot() from the SDK. The reserve grows continuously as long as there are active borrows.

Parameters

ParameterValueGovernance?
Reserve Factor10%Yes — adjustable
Reserve FloorNoneAccumulates from day 1
Reserve CapNoneNo upper limit
WithdrawalGovernance onlyMulti-sig controlled

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