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

Multi-Market Adapters

Varla's adapter architecture — how the protocol connects to different prediction market platforms through a standardized interface.

The Adapter Pattern

Each prediction market platform has its own token format, oracle source, and resolution mechanics. Varla uses adapter contracts that translate platform-specific details into a standardized interface VarlaCore understands.

Adapter architecture
Prediction Market Platform
        │
   Platform Adapter ← Translates:
   ├── Token format → Standard ERC-1155 interface
   ├── Price source → VarlaOracle-compatible feed
   ├── Resolution → Standard resolved/unresolved status
   └── Market metadata → Risk tier classification
        │
     VarlaCore ← Works with any adapter

Current Adapters

AdapterPlatformChainToken Handling
PolymarketAdapterPolymarketPolygonCTF + NegRisk unwrapping
OpinionAdapterOpinionBSCCTF-EE direct passthrough

Adding a New Platform

To integrate a new prediction market, a new adapter contract must implement the IVarlaAdapter interface. This includes methods for token validation, price fetching, and resolution status checks. The adapter is then registered with VarlaCore via governance.

💡Want to integrate?
If you're building a prediction market and want to integrate with Varla, reach out on Discord. We'll help you build an adapter for your platform.

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