Reya
  • Start Here
    • Why Reya?
  • REYA PRODUCTS
    • Reya DEX
      • Navigating Reya DEX
        • Dashboard: getting started
          • Creating your margin account
          • Moving funds
          • Checking your account
        • The Trading Screen
          • Trade form
          • Market Data Panel
        • LP Pool
      • Trading on Reya DEX
        • Perpetual Futures
        • Margin
        • Auto-exchange and Liquidations
        • Specifications
        • Conditional Orders
        • FlashSwap
        • Collateral liquidations
        • Settlement and cross-collateralization
      • Docs: Reya DEX REST API
      • Docs: Reya DEX WebSocket
    • Reya Network
      • The structure of Reya Network
      • The Liquidity Layer
        • Reya’s pool for perpetual futures
        • Offering liquidity in the passive pool
        • Deepdive into passive perps
        • Network Owned Liquidity
      • Derivatives Clearing
        • Automatic leveraging of PnL across instruments
        • Cross-collateralization
          • Haircuts
          • Auto-exchange conditions
          • Auto-exchange mechanism
        • Cross-margining
          • The margin system
        • The liquidation engine
          • Ranked liquidations
          • Dutch auction
          • Backstop LPs
          • Insurance Funds
          • Page 1
        • Spot markets
        • Reya Governance
      • What's the roadmap
      • Who's Behind Reya Network
    • rUSD / srUSD
      • rUSD
      • srUSD
      • srUSD How to and FAQs
  • COMMUNITY
    • Join the Reya Community
    • Incentives Overview
      • Experience (XP)
        • Technical details
      • Boosts
      • Ranks and Seasons
    • x.com
  • Technical Docs
    • Reya Python SDK
    • Contract Functions
      • Core
      • Passive Perp Instrument
      • Passive Pool
      • Oracle Adapter
    • Contract Addresses
    • Smart Contract Withdrawals
    • Audits
  • REYA RESOURCES
    • Blog
    • Beginner's Guide to Better Trading with Reya
    • Block Explorer
    • Glossary (coming soon)
    • FAQ (coming soon)
Powered by GitBook
On this page
  1. REYA PRODUCTS
  2. Reya Network
  3. The Liquidity Layer

Reya’s pool for perpetual futures

Reya Network’s initial deployment already includes a passive liquidity mechanism for perpetual fututes. It uses a novel constant-product pegging mechanism for perpetual futures. It powers any exchange operating on Reya Network, and allows for unprecedented capital efficiency, both for traders as well as LPs. For the first time ever on-chain:

  1. Traders can leverage positions with full portfolio cross-margining

  2. LPs can offer capital at collateralization ratio of less than 100% of nominal in addition to cross-margining

In simulations using Synthetix orderflow for ETH between April and December 2023, Reya’s liquidity design would have provided an APY of 65% compared with the actual returns of 12% on Synthetix.

Reya Network’s passive pool mechanism accomplishes this by introducing a series of new safety mechanism designs, such as:

  1. a constant product pegging mechanism to the spot market, a novel price impact function based on the constant product curve, which, uniquely, automatically adapts to changes in liquidity while incentivizing rebalancing of the pool’s exposure;

  2. a dynamic funding rate that, also based on the constant product pegging, further strongly incentivizing rebalancing of the pool’s net exposure by using the price impact function to determine the funding rate velocity;

  3. a margin system of Reya’s Derivatives Clearing mechanism, allowing for wide control of the risk profile while also enabling full portfolio cross-margining;

  4. an open trading system, enabling developers to build their exchanges on top of the instrument and clearing systems, further incentivizing liquidity and trading in Reya Network.

At heart, the constant-product-pegged passive liquidity mechanism is a market making model that provides the best features of a traditional constant product AMM while allowing LPs to offer price-passive liquidity in a highly efficient manner. This means that LPs can offer liquidity without continuously pricing crypto assets while fully leveraging their capital.

To enable price-passive LPing, the passive LP mechanism makes full use of the spot market prices, which can be used to index the futures. It also aggregates all liquidity, creating a unique interface between makers and takers.

Critically, the pool only acts as a temporary counterparty to trades, by offsetting trade flow automatically and freeing up capital for new trades. Finally, the price impact function based on the constant curve not only allows the pool to automatically adjust to changes in liquidity conditions, but also strongly disincentivizes liquidity drainage.

PreviousThe Liquidity LayerNextOffering liquidity in the passive pool