GENESYS BLOCKCHAIN
  • ⛓️GENESYS BLOCKCHAIN (GCHAIN)
    • ⛓️GCHAIN
    • ✅What is GCHAIN?
    • ✅Proof of Authority
    • ✅Validators
    • ✅(GSYS)
    • ✅How to add Gchain to your wallet
    • 📚Glossary
    • ⚠️Terms & Conditions
  • 🐘GENESYS WALLET (GWALLET)
    • 🐘How to create your Gwallet
  • GENESYS VIEWAPP
    • 📊GVA General Aspects
      • 📈Why GVA?
        • 📊GenesysView App
        • 📈GVA products & Services
        • 📈GVA Features
        • 📈GVA Launchpad
          • Connect Wallet
          • Change Network
          • Let's Connect
          • Coin Crafter
            • Mint Coin
            • My Token Collection
          • Genesys Platform
            • Launch Pre-sale
            • Pre-sale Directory
          • Reward Lock
            • Set up Pool
            • Pool Ledger
          • Prize Draw
            • Launch Simple Lottery
            • Lottery Roster
          • Secure Vault
            • Establish Secure Lock
            • Token Secure Storage
            • Liquidity Vaults
          • Utility Kit
            • Multisender
            • Wrapped Converter
            • D-vote
            • Soon!
            • Market Maker
          • Collaboration Hub
        • 👨‍💻GVA P2P exchange
        • 🔐GVA Privacy & Security
  • BLUELOTUSDAO
    • Introduction
      • Best returns/yield for Liquidity Providers (LPs)
      • Best Rates for Traders
    • BlueLotusDAO Products
      • 🔁Exchange
        • Token Swap
        • Time to Trade
        • LPs (Liquidity Pools)
        • How to Add/Remove Liquidity V2
        • How to Add/Remove Liquidity V3
      • 🚜Farming
        • How to Use Farms
      • 🪙Pools
        • How to Stake in Pools
      • BlueLotusDAO Protocol
        • How BlueLotusDAO works
        • Programmable Pricing Curve
        • Dynamic Fee
        • BlueLotusDAO Ecosystem
        • Adding Liquidity in BlueLotusDAO
        • Protocol Fee
        • BLDT TOKENOMICS
          • BLDT Description
          • Deflationary Mechanisms
  • BLUELOTUSDAO GOVERNANCE
    • Introduction
    • Native Token
    • Governance
      • 📝Summary
      • 📚Categories
      • 🤝Voting
        • Voting Authority
      • ⚙️Governance Process
        • Governance Stages
          • Temperature Check
          • Consensus Check
          • Governance Proposal
      • 🔗Security
      • 🌎Blue Lotus Foundation
  • BLUE20-BRIDGE
    • Blue20-Bridge Intro
    • Blue20-Bridge
    • How to use Blue20-Bridge
Powered by GitBook
On this page
  1. BLUELOTUSDAO
  2. BlueLotusDAO Products
  3. BlueLotusDAO Protocol

Dynamic Fee

PreviousProgrammable Pricing CurveNextBlueLotusDAO Ecosystem

Last updated 1 year ago

Besides the programmable pricing curve model, we also introduce a dynamic LP fee model that adjusts the AMM LP fee based on market conditions. Most existing AMMs have a simple LP fee model (e.g. a fixed percentage of the trade value). This does not reflect what is happening in traditional capital markets, in which market makers adjust the trading spread based on market conditions to either protect themselves (when market is fast-moving) or attract more trades to incentivize more trades.

We wanted to bring this important fee/market volatility correlation to AMMs.

Particularly, in our dynamic fee model, the LP fee is increased when the market is moving fast (i.e. becoming volatile), and is reduced when the market is stable (less volatile). In a 'quiet' market, the dynamic fee model encourages the user to trade more by offering tighter spreads through the reduction of LP fees. The increased volume attracted by the lower spread will arguably make up for the revenue loss due to the reduction of the LP fees. On the other hand, spreads are increased by charging higher LP fees when the market is volatile. Traders or users who trade in such volatile markets will receive fewer tokens than average, as the profit is kept in the pool to reduce potential impermanent loss for LPs. Thus, this dynamic fee model encourages market stability in Defi through spread adjustments.

There are several ways to implement this dynamic fee adjustment mechanism deterministically. BlueLotusDAO's approach is based on the on-chain volume of each pool. To determine the fluctuation of BlueLotusDAO's volume, the AMM compares its volume between the short window and long window using methodologies such as Simple Moving Average (SMA) or Exponential Moving Average (EMA).

Dynamic Fee Adjustment based on Volume

Based on this bonding function, when users want to sell Δx\Delta xΔx, the formula for Δy\Delta yΔy they get in the Dynamic Fee model is:

Δy=f(x)−f(x+Δx⋅(1−fee−z))\Delta y = f(x) - f(x + \Delta x \cdot (1 - fee - z))Δy=f(x)−f(x+Δx⋅(1−fee−z))

where:

  • x,yx, yx,y are the current inventories of 2 assets X,YX, YX,Y

  • feefeefee is the base fee, pre-defined by AMM

  • zzz is the variant factor, dependent on the average volume of AMM during a time period. It must satisfy the condition 0<1−fee−z≤10 < 1 − fee − z \leq 10<1−fee−z≤1, alternatively written as −fee≤z<1−fee−fee \leq z < 1 − fee−fee≤z<1−fee

Page cover image