Varla Documentation
Your Positions Varla You Get
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ $10,000 │ Deposit │ VarlaCore │ Borrow │ $6,500 │
│ PM Shares │ ────────► │ (Escrow) │ ───────► │ USDC │
└─────────────┘ └─────────────┘ └─────────────┘
Keep your positions + Get liquidity now
Get Familiar with Varla
Varla 101
Learn the basics — prediction markets, the capital efficiency problem, and how Varla solves it.
Protocol Overview
Cross-margin architecture, tiered LTV, non-custodial design, and permissionless liquidations.
Lending & Borrowing
Getting Started
Wallet setup, SDK quickstart, and integration guides for TypeScript, GraphQL, and Solidity.
Lending Model
ERC4626 vault mechanics, supply & borrow flows, interest rate model, and protocol reserves.
User Positions
Open, supply, borrow, withdraw, repay — full lifecycle of managing positions in Varla.
Risk Engine
LTV tiers, health factor thresholds, early-closure decay, oracle system, and liquidation mechanics.
Prediction Markets
Markets Overview
Which prediction market platforms Varla supports and how they integrate.
Polymarket
Polygon-based positions, USDC collateral, CTF and NegRisk market support.
Opinion
BSC-based positions, USDT collateral, CTF Execution Engine integration.
Multi-Market Adapters
How Varla connects to any prediction market through adapter contracts.
Developers
Smart Contracts
VarlaCore, VarlaPool, VarlaOracle, and liquidation engine architecture.
SDK Reference
@varla/sdk — read helpers, write actions, events, and integration recipes.
API Reference
Contract addresses, deployment info, and on-chain parameter references.
Testing & Debugging
Tools and patterns for testing Varla protocol integrations.