LogoLogo
HomeInterface
  • 🏦Welcome to VirtuSwap!
    • 🏠What is VirtuSwap?
    • 🚩Getting Started with VirtuSwap
      • Connect to VirtuSwap
      • How to Trade Tokens
      • Intro to Liquidity Pools Structure on VirtuSwap
      • How to Provide Liquidity
      • How to Withdraw Liquidity
      • How to Disconnect from VirtuSwap
  • VirtuSwap Basics
    • 🤷‍♀️The Problem
    • 🔦Solution Overview
    • 🪙$VRSW Token
      • VRSW Tokenomics
      • VRSW Utility
      • Fees and Incentives
      • Staking Guide
    • 🤖AI agents
    • ❔FAQ
    • 🚀VirtuSwap Technology
      • How Virtual Pools Work
      • Allowed Virtual Reserves
      • Reserve Ratio and Threshold
      • Exchange of Reserves
      • Providing Liquidity on VirtuSwap
    • 🫂VirtuSwapDAO
      • VirtuSwapDAO Design
      • Participation in VirtuSwap Governance
      • Governance Systems
      • Submitting Proposals
      • VirtuSwapDAO Treasuries and Multi-Signature Wallets
      • VirtuSwap Emergency DAO
    • ❤️Mission and Core Principles
  • Technical Reference
    • 🥸Smart Contracts - v1
      • DEX Contracts
        • vPair
        • vPairFactory
        • vRouter 1.1
        • vRouter 1.2
        • vRouter 1.3
        • vExchangeReserves
        • vPoolManager
        • Multicall
        • Structures
        • User Defined Value Types
      • Tokenomics Contracts
        • VGlobalMinter
        • VChainMinter
        • VStaker
        • VTokenomicsParams
        • VVestingWallet
        • Structures
      • Administrative Privileges
    • 📫Deployment Addresses
    • 📦TypeScript SDK
  • 🔐Security
Powered by GitBook
On this page
  1. VirtuSwap Basics
  2. VirtuSwap Technology

Reserve Ratio and Threshold

The Reserve Ratio is the ratio between the total value of all non-native reserve tokens in a pool and the value of the two native tokens.

In order to limit the amount of risk taken by the VirtuSwap LPs, the maximum possible reserve ratio (reserve threshold) is set on the protocol level. If the Reserve Ratio in the pool would exceed the threshold following a trade, the trade does not go through. Trades increasing the reserve ratio beyond the threshold are never allowed. In other words, the pool stops accepting additional reserves until some or all of the reserves are emptied during the Exchange of Reserves procedure.

The value of a reserve asset is expressed in terms of one of the native tokens in the pool. This is accomplished by obtaining the implied exchange rate from another pool (a reference pool) that holds the reserve in question and one of the pools' native tokens.

For example, to determine the value of reserve C in pool A-B, it is necessary to locate an A-C or a B-C pool. Thus, the price ratio between C and A (or C and B) can be established, and the ratio between total value of C and the total value of A and B can be calculated.

The initial value of reserve threshold is set to 2%. The value is governed by VirtuSwap DAO and can be updated from time to time.

In future versions of the protocol, pool-level governance of reserve threshold will be added, so that LPs can make decisions on the value of reserve threshold in their pools.

PreviousAllowed Virtual ReservesNextExchange of Reserves

Last updated 7 months ago

🚀