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

Smart Contracts

Varla's on-chain architecture — the core contracts that power prediction market lending, liquidation, oracle pricing, and governance.
ℹLicense
All Varla contracts are licensed under BUSL-1.1 and target Solidity ^0.8.33.

Architecture

Contract architecture
VarlaPool (ERC-4626)       ←→  VarlaInterestRateStrategy
       ↕
VarlaCore (ERC1155Holder)  ←→  VarlaOracle ←→ OracleUpdaterRouter
       ↕
VarlaLiquidator            ←→  Liquidator variants
       ↕                         (VarlaMergeLiquidator, VarlaConvertLiquidator)
Market Adapters
  ├─ PolymarketCtfAdapter
  ├─ PolymarketNegRiskMergeAdapter
  └─ OpinionCtfExecutionEngineAdapter

Access: VarlaAccessManager + VarlaRoles
Governance: VarlaGovernor + VarlaTimelock
Token: VRLA + VarlaStaking + VarlaVestingWallet

Core Contracts

ContractRole
VarlaCoreCentral borrowing engine — deposit/withdraw ERC1155 collateral, borrow/repay, health factor checks, position management
VarlaPoolERC-4626 vault — lender deposits, share accounting, interest accrual, fee collection
VarlaOraclePush-based oracle — packed price storage, staleness checks, grace windows
VarlaInterestRateStrategyKinked interest rate model — configurable optimal utilization, two-slope curve
VarlaLiquidatorSimple, multi-collateral, and bad-debt liquidation (+ merge and convert mode contracts)

All Contract Pages

VarlaCore

Borrowing engine, collateral escrow, health factor checks.

VarlaPool

ERC-4626 lending vault with interest accrual.

VarlaOracle

Push-based oracle with packed price storage.

Interest Rate Strategy

Kinked rate model with configurable slopes.

Liquidators

Liquidation router with merge and convert variants.

Market Adapters

Polymarket and Opinion prediction market integrations.

Access Control

RBAC via VarlaAccessManager and VarlaRoles.

Governance

VarlaGovernor and VarlaTimelock for on-chain governance.

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