πŸͺ„
Magic Yearn Documentation
  • πŸ‘‹ Welcome to Magic Yearn!
    • Offical Links and Contract Addresses
  • 🌎 Ecosystem
    • πŸͺ™ Magic Yearn Share Token (MyS)
      • πŸ“Š Tokenomics
      • πŸ”₯ Emissions & Burn
      • πŸ”¨ Utility
      • πŸ›οΈ Governance
      • πŸ–Ό Minting myINK (NFTs)
    • πŸͺ™ Magic Yearn Exchange Token (MyEx)
      • πŸ“Š Tokenomics
      • 🧰 Utility
    • πŸͺ™ Magic Yearn XXX Token (myXXX)
      • ♻️ Reflows
      • πŸ’° Transaction Fees
  • ⌨️ Wrapper (AMM)
    • πŸ’§ Adding Liquidity via a DEX
    • βœ… Minting myXXX
    • πŸ’§ Adding Liquidity via Wrapper (Zap-In)
    • πŸ”₯ Burning myXXX
  • πŸ’± Decentralized Exchange Pegging
  • πŸ’° Staking
    • 🌊 Pool Types
  • πŸ–ΌοΈ Magic Yearn NFTs
    • πŸͺ™ MyFreeINK
    • πŸͺ™ myINK
    • πŸ–ΌοΈ Mint NFTs
    • πŸ”₯ Burn NFTs
  • πŸ“‰ Fee Reduction
    • πŸ“ Summary
    • πŸ’² Zap-in Fees
    • 🫰 myXXX Transaction Fees
  • βœ… Project Benefits (Liquidity Pools & Single Staking)
    • 🌊 Liquidity Pools for Existing myXXX Tokens
    • 🌊 Liquidity Pools for Existing myXXX Tokens with MyS Rewards
    • πŸͺ™ Creating a myXXX Token
    • πŸͺ™ Creating a myXXX Token with MyS Rewards
    • πŸͺ™ Creating a myXXX Token with MyS Rewards & Customized Arbitrage Trades
  • πŸ›£οΈ Roadmap
  • β˜‘οΈ Teneo
  • 🧐Audit
  • βš–οΈLegal
    • πŸ“ TERMS AND CONDITIONS
    • πŸ“PRIVACY POLICY
    • πŸ“USER AGREEMENT
  • πŸ–₯️ Testnet Guide: Beta Version
    • 🦊 Testnet Setup (MetaMask)
    • πŸ’§ Testnet Faucet
    • πŸ’° Reduce Fees
    • πŸ”›Getting LP-Tokens
    • πŸ“ˆStaking
Powered by GitBook
On this page

πŸ’± Decentralized Exchange Pegging

PreviousπŸ”₯ Burning myXXXNextπŸ’° Staking

Last updated 2 years ago

Liquidity pools on DEXs can discover their own token prices through trading that occurs on the platform. Whitelisted contracts can take advantage of this functionality and improve the system πŸ‘

When it comes to decentralized exchange pegging in a liquidity pool, 2 different scenarios are possible:

  1. The amount of XXX exceeds that of myXXX, which can occur if:

  • A user purchases myXXX on a DEX

  • Another pooled token (i.e. YYY) reduces in value, forcing arbitrage traders to buy myXXX for YYY and swap it immediately to XXX - the ratio of the myXXX/XXX would then change from 1:1 to a different value

2. The amount of myXXX exceeds that of XXX, which can occur if:

  • A myXXX holder swaps to XXX

  • Another pooled token (i.e. YYY) increases in value, forcing arbitrage traders to buy myXXX for XXX and swap it immediately to YYY - the ratio of the myXXX/XXX would then change from 1:1 to a different value

3. Same amount ratio near 1:1

  • No need to repeg

✳️ The re-pegging process depends heavily on the TVL (Total Value Locked) in the pool - the lower the TVL, the bigger the ratio difference. However, the Wrapper (AMM) will never be affected by the DEX.