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

Getting Started

Everything you need to connect, deposit, and start using Varla — whether you're a borrower, lender, or developer.

Any EVM Wallet

Varla works with any Ethereum-compatible wallet that supports ERC-1155 tokens — MetaMask, Trust Wallet, Rainbow, Rabby, WalletConnect mobile wallets, Ledger/Trezor via WalletConnect, or Gnosis Safe (including Polymarket's auto-created Safes).


Connection Flows

1

Wallet Connection (Reown)

If you signed into Polymarket with a non-custodial wallet (MetaMask, etc.), click "Connect Wallet" in Varla. Select the same wallet — your existing positions appear automatically.
2

Email / Social Import (Privy)

If you signed into Polymarket with email or Google, export your private key from Polymarket settings and import it into Varla via the secure Privy flow. Key material is never held in full or accessible as plaintext by Varla or Privy.
3

Approve Collateral Transfers

First-time users approve Varla to move ERC-1155 positions (one-time setApprovalForAll). For repayment or lending, you'll also approve USDC/USDT transfers (one-time).
⚠ Keep your key safe
Never share your private key. Only approve contracts you trust. VarlaCore is the only contract that needs ERC-1155 approval.

Requirements by Chain

RequirementPolygonBSC
WalletAny EVM walletAny EVM wallet
NetworkPolygon MainnetBNB Smart Chain
Gas TokenPOLBNB
PositionsPolymarket ERC-1155Opinion ERC-1155

Approvals

ApprovalWhen NeededOne-Time?
setApprovalForAllFirst collateral depositYes
USDC/USDT approvalFirst repay or lend depositYes

Gas Estimates (Polygon)

ActionGas UnitsApprox Cost
Approval~50,000~$0.01
Deposit~150,000~$0.03
Borrow~200,000~$0.04
Repay~150,000~$0.03
Withdraw~100,000~$0.02

Developer Quickstart

TypeScript SDK

Get started with @varla/sdk — read helpers, write actions, and chain-aware addresses.

GraphQL API

Query pool rates, user positions, and oracle data.

Smart Contracts

Integrate Varla at the contract level — ABIs, interfaces, and addresses.

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