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.
Try Varla
Varla
Protocol
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.
Developers
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.
Resources
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.
Try Varla

Introduction

Overview
Varla 101

Protocol

Overview
Lending Model
Supply & BorrowInterest RatesReserves
User Positions
Open PositionsSupply AssetsBorrow AssetsWithdraw AssetsRepay Loans
Risk Engine
Health FactorLTV & ThresholdsLiquidationsMarket ResolutionOracle 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
VarlaPoolVarlaOracleInterest RateLiquidatorsMarket Adapters
Governance & Access
Governance

References

SDK Reference
API Reference

Operations

Testing & Debugging
Contract Addresses

Security

Overview
Trust Assumptions
Risk Disclosure
Risk Parameters

Borrow Assets

How to borrow stablecoins against your deposited prediction market collateral — limits, mechanics, and best practices.

How Borrowing Works

After depositing collateral, call borrow(amount) on VarlaCore. The contract checks that your post-borrow health factor stays above 1.0, then transfers stablecoins from the VarlaPool to your wallet.

Borrow check
newDebt = currentDebt + borrowAmount
healthFactor = weightedCollateral / newDebt

if healthFactor >= 1.0:
  ✓ Transfer stablecoins to borrower
else:
  ✗ Revert — would make position unhealthy

Maximum Borrow Amount

Your max borrow is determined by the weighted collateral value minus your current debt. Each position contributes based on its oracle price and risk tier LTV.

Max borrow calculation
maxBorrow = Σ(positionValue × tierLTV) - currentDebt

Example:
├── Position A: $5,000 × 80% = $4,000
├── Position B: $3,000 × 65% = $1,950
├── Current debt: $2,000
└── Max additional borrow: $3,950
⚠Don't max out
Borrowing to your maximum leaves zero margin. Any price drop in your collateral will trigger liquidation. A safe buffer is borrowing no more than 70-80% of your max capacity.

Interest

Interest begins accruing immediately on a per-second basis. Your debt grows continuously via the global borrow index. See Interest Rates for the full rate model.

Requirements

RequirementDetails
Collateral depositedAt least one eligible PM position
Oracle freshPrice data must not be stale (<15min)
Post-borrow HF ≥ 1.0Health factor must remain healthy
Pool liquidityPool must have enough available stablecoins

Menu

  • Overview
  • How it works
  • Features
  • Docs
  • FAQs

Ecosystem

  • Prediction markets
  • Builders
  • Integrations
  • Governance

Company

  • About
  • Terms
  • Privacy
  • Support

©2026 Varla Labs Inc. All rights reserved