XSwap Protocol
  • ℹ️XSwap Protocol Intro
  • 🌟Get Started
    • πŸ‘›Create A Wallet
    • πŸ’»Using XSwap without Centralized Exchanges
    • πŸ“²Connect your wallet to XSWAP
    • πŸŒ‰Bridge your tokens from ETH Blockchain
  • πŸ“₯Contact Us
    • 🏒Business Partnerships
    • πŸͺ™Add logo and token to suggested list
    • πŸ™‚Customer Support
  • PRODUCTS
    • V2 DEX
      • πŸ”„SWAP
        • Token Swaps
        • How to Trade
        • Liquidity Pools
        • How to Add/Remove Liquidity
          • Create Pair
          • Add liquidity
          • Remove liquidity
      • πŸ’ΈXSP Staking
      • 🚜Yield Farming
        • How To Use Farms
          • Pools - Stake XTT
            • How to use the Flexible Staking option
            • How to use the Fixed-Term Staking option
              • XTT Pool FAQ
    • V3 DEX
      • πŸ“‚View Header
      • πŸ–₯️Manage Network
      • πŸ’ΈConnect wallet
      • πŸ“¨View Tokens, Pools and Activity
      • 🀝Swap
      • πŸ€‘Tokens
      • 🎱Pools
      • πŸ“ˆCharts
      • πŸ‘¨β€πŸŒΎV3 Farming
    • XSwap Treasure Project
      • πŸ”ŽWhat is XTT
      • πŸ’°Rewards Token
      • πŸš€XDC Launchpad
      • πŸͺ™XTT Token
      • πŸͺ‚XTT Airdrop
      • πŸ›£οΈRoadmap
      • πŸ“šXDC.Sale Tutorial
    • Analytics
    • πŸ“±XSwap Wallet
    • πŸ‘œMigrating Liquidity from V2 to V3
    • πŸ—³οΈGovernance
  • *️Responsible Risk Disclosure Policy
  • ✳️General Terms and Conditions
  • πŸ”PRIVACY POLICY
  • CONTRACTS
    • πŸ“”XSwap Protocol Contracts
    • πŸ“–Audit
  • Socials
    • Telegram
    • Announcement Channel
    • Twitter
    • YouTube
Powered by GitBook
On this page
  • Reward calculations
  • Calculating Farm Base Reward APR
  • Calculating LP Reward APR
  1. PRODUCTS
  2. V2 DEX

Yield Farming

The details below are for V2 Yield Farming.

PreviousXSP StakingNextHow To Use Farms

Last updated 1 year ago

For V3 Yield Farming Instructions, click

Yield Farms allow users to earn XTT while supporting XSwap DEX by staking LP Tokens, XSP2.

Check out our to get started with farming.

NOTE:

Yield farming can give better rewards than Staking, but it comes with a risk of Impermanent Loss. It’s not as scary as it sounds, but it is worth learning about the concept before you get started.

Check out this great from Binance Academy to learn more.

Reward calculations

Yield Farm APR calculations include both:

  • LP rewards APR earned through providing liquidity and;

  • Farm base rewards APR earned staking LP Tokens in the Farm.

Why? Because when you stake your LP Tokens, XSP2 in a farm to earn XTT, you're still providing liquidity to the liquidity pool, so you earn LP rewards as well!

So how do we calculate those figures?

Calculating Farm Base Reward APR

The Farm Base APR is calculated according to the farm multiplier and the total amount of liquidity in the farm -- this is the amount of XTT distributed to the farm.

Calculating LP Reward APR

On top of that, farmers receive LP rewards for providing liquidity. Here's an example of calculating LP rewards:

In the XTT-WXDC pair, we see these values:

In the XTT-WXDC pair above, we see these values:

Liquidity: $364,510 Volume 24H: $4,785 Volume 7D: 40,491

  • Calculate yearly fees

    • Use the 24H volume to calculate the fee share of liquidity providers in the pool (based on the 0.214% trading fee structure): $4,785*0.214/100 = $10.234

    • Next, use that fee share to estimate the projected yearly fees earned by the pool (based on the current 24h volume): $10.234*365 = $3,737.56

  • We can now use the yearly fees to calculate the LP rewards APR: That's yearly fees divided by liquidity: ($3,737.56/$364,510)*100 = 1.025% LP reward APR

🚜
here.
How to Use Farms guide
article about Impermanent Loss
Farm Base APR
Page cover image