Shadow Exchange
  • INTRODUCTION TO SHADOW
    • šŸ¦”What is SHADOW?
      • šŸ‘»Why Fantom?
    • šŸ«‚Our Partners
    • ā˜Æļøx(3,3) Fundamentals
    • šŸ”®AMM DEX Functionalities
      • Swaps
      • Voting
      • Incentives
      • LP Staking
  • Concentrated Liquidity Core
    • šŸ¤”Concentrated Liquidity
      • šŸ”¢Fee Tiers
      • 🦭Concentrated Liquidity Pair Fee Distribution
      • šŸ…Concentrated Liquidity Advantage
    • šŸ†Concentrated Liquidity (CL) Gauges
    • šŸ“œBUSL-1.1 License
    • šŸCompetitive Farming
  • SHADOW Tokenomics
    • šŸ“ŠSHADOW Initial Distribution
    • šŸ“ˆEmissions Schedule
      • 🪜Breakdown
    • šŸŖ‚Airdrop
    • āŒxSHADOW
      • How is xSHADOW obtained?
      • How is xSHADOW used?
      • šŸŒ€PVP Rebase
      • šŸ”„Redeeming
      • šŸ’°xSHADOW Revenue Distribution
  • Resources
    • šŸ“„Deployed Contract Addresses
    • šŸ“±dApp and Socials
    • šŸ“øSHADOW Media Kit
    • šŸŒ‰Bridging To Sonic
  • Security and Legal Considerations
    • šŸ›Fixed Solidly Vulnerabilities
    • šŸ› ļøWhy Proxy Contracts?
    • šŸ”Contract Timelock
    • šŸ˜ŽInherited Security
    • šŸ–‹ļøFormal Audits
    • āš–ļøRisks and Legal Disclosures
Powered by GitBook
On this page
  • Please visit docs.shadow.so these are depreciated.
  • Web app is available at shadow.so
  • Graphical Representation of The Swap Curves
  1. INTRODUCTION TO SHADOW
  2. AMM DEX Functionalities

Swaps

PreviousAMM DEX FunctionalitiesNextVoting

Last updated 5 months ago

Please visit these are depreciated.

Web app is available at

On SHADOW, similar to other decentralized exchanges (DEXs), users engage with the platform to make swaps of tokens from available liquidity pairs. The slippage and trade price for a swap are determined based on the total value locked in the liquidity pairs and whether arbitrage activities have balanced the pool to its market rate.

SHADOW features two types of Liquidity Pools, each with its own swap curve:

  • Volatile (UniV2-Style): This is the basic type of pool where tokens are paired with equal weights in terms of dollar value. The volatile swap curve is used to facilitate trades within these pools and is best suited for tokens with prices that may be subject to fluctuation in market prices.

    • The volatile swap curve used is:

xāˆ—y=kx*y=kxāˆ—y=k
  • Correlated (Andre Cronje-Style): Shadow also makes available a high efficiency stable swap curve that is designed for stable coins and other tokens that do not fluctuate greatly in price. The stable swap curve, devised by Andre Cronje, offers near-zero slippage and allows for ultra-efficent stable swaps.

    • The stable swap curve used is:

x3yĀ +y3x≄kx^{3}y \ +y^{3}x \geq kx3yĀ +y3x≄k

Graphical Representation of The Swap Curves

To provide a graphical representation of the swap curves, the graph below illustrates the variance between 0 and 100. It demonstrates that the Green (Correlated) curve exhibits less slippage from the mean as the K value fluctuates.

This visualization helps users understand the behavior of the swap curves and the corresponding slippage levels associated with different values of K. SHADOW aims to provide an optimized trading experience with minimal slippage, enhancing liquidity provision and ensuring efficient token swaps for users.

šŸ”®
docs.shadow.so
shadow.so
Green = StableSwap Curve, Red = Volatile Swap Curve