DerpDex.com
  • 🤪DerpDEX Overview
    • šŸ¤”Vision, Why & Gap
  • šŸ”—Official Links
  • šŸš€Roadmap & Launch Plan
  • šŸ§‘ā€šŸ¤ā€šŸ§‘Derp DAO
  • Tokenomics
    • šŸ¤‘DERP
    • šŸ”xDERP
      • Vesting
      • Conversion
      • Earnings sharing
    • 🧮Token Distribution
      • Release schedule
      • DERP reserved wallets
    • šŸŽŠAirdrops!
  • Protocol
    • āš’ļøAMM
      • šŸ˜Concentrated Liquidity (CLAMM)
      • 🤩v2: DMM
    • šŸ”„Swap
      • Smart Routing
    • šŸ’¹Liquidity Provider
      • Concentrated Liquidity
    • 🌱Fees
      • Stablecoins
      • Other cryptocurrencies
    • šŸŒ‰Bridge
    • šŸ¤Aggregator
    • šŸ› ļøInscription Bridge
  • CAMPAIGN
    • šŸŽ†Genesis Launch
  • Getting Started
    • Getting Started
    • Bridge
      • zkSync Era
      • Base
      • opBNB
      • DERP Token Bridge
    • Add Liquidity
    • Withdraw Liquidity
    • Swap
    • Inscription Bridge
  • CONTRACTS
    • Contracts
    • Contract Addresses
    • šŸ›”ļøAudits
  • Products
    • Genesis Pools
      • How it works?
      • Rewards
      • Genesis campaign
      • Terminology
    • Zap-to-Earn
    • Launchpad
    • šŸ§‘ā€šŸŒ¾Yield Farming
      • Yield Booster
      • How to Farm?
      • FAQ
    • ⭐Staking
      • How to Stake or Redeem?
  • Resources
    • ā“FAQ
    • šŸ¤Partnership
    • šŸ¤“Meme-token launch
    • šŸ“—zkSync Gas Fee Guide
    • šŸŒ‰DERP Bridge via OTC
Powered by GitBook
On this page
  • Rewards
  • APR Calculation
  1. Products

Yield Farming

PreviousLaunchpadNextYield Booster

Last updated 1 year ago

Yield Farming allows users to earn reward tokens by staking user LP positions (in NFT form).

When user stake the position, the liquidity in the user position will be transferred to farming pool position and used to calculate the LP shares over the TVL of the pool. By doing so, the position cannot be manipulated by supplying to an out-of-range etc as the amounts in the liquidity are used to calculate the shares and utilised as the liquidity of the pools.

The ways of providing liquidity in DerpDEX:

  • Add Liquidity

  • Zap-to-Earn

Rewards

Reward tokens from yield farming could be multiple tokens. This is the benefits of the yield farming in DerpDEX, which working partnership with other project to incentivise DerpDEX LP.

APR Calculation

Base APR: LP trading fees based on the pool fee tier

Farm APR: Reward emission from farming pool

totalShares: Total Value Lock of the pool

xDERP allocated: Amount of xDERP allocated

durationRemaining: Remaining duration of reward emission

total xDERP allocated: Total allocation of the xDERP for the pool

maxDuration: Maximum duration of the reward emission

userShares: LP shares of the user position

multiplier: Multiplier of the reward emission

FarmAPR=(totalSharesāˆ—xDERPallocatedāˆ—durationRemaining)(totalxDERPAllocatedāˆ—maxDuration)Farm APR = \dfrac{(totalShares * xDERP allocated * durationRemaining)}{ (totalxDERPAllocated * maxDuration)}FarmAPR=(totalxDERPAllocatedāˆ—maxDuration)(totalSharesāˆ—xDERPallocatedāˆ—durationRemaining)​

Multiplier Calculation

Multiplier=farmAPR+userSharesuserSharesMultiplier = \dfrac{farmAPR + userShares}{userShares}Multiplier=userSharesfarmAPR+userShares​

šŸ§‘ā€šŸŒ¾
Add Liquidity
Zap-to-Earn