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. Derivatives Clearing

Cross-collateralization

PreviousAutomatic leveraging of PnL across instrumentsNextHaircuts

REYA creates a new type of margin account that allows both for:

  • posting of collateral in any token, so that users may leverage their preferred tokens while holding on to them. As example use cases, users can hold onto their yield bearing tokens (e.g., stETH) while backing a portfolio in their base token (e.g. ETH); or holding ETH to back a USDC position, perhaps ensuring a constant collateralization ratio by posting ETH to back a short USDC-denominated ETH perp.

  • Aggregation of portfolios in different settlement tokens, unprecedently. This is a unique feature in Reya, which allows users to share PnL across portfolios in different denominations, analogously to the sharing of PnL with a settlement token. By doing so, users can automatically virtually borrow from one portfolio onto another with actual conversion happening only as needed, ensuring maximal synergy.

Reya’s cross-collateralization module uses a system of bubbles and haircuts based in USDC to manage collateral mismatch. This means that:

  • when converting amounts from one token into another, a haircut is applied to conservatively account for possible future movements of the exchange rate;

  • margin requirements are first netted out, as much as possible, within each bubble, to avoid distorting effects of the haircuts;

  • closely associated tokens (e.g. yield bearing tokens) are included at the bubble level to minimize unnecessary haircuts;

  • all surplus or deficit margin in the bubbles is then rebased and netted off.

The following diagram illustrates the system, where we use USD as the root of the diagram as an example.