πŸ₯‘
Swappi Docs
English
English
  • Intro
  • Getting Started
    • 1️⃣Choosing a Wallet
    • 2️⃣Connecting Your Wallet to Conflux eSpace
    • 3️⃣Getting CFX in Conflux eSpace
    • 4️⃣Bridging Your Tokens to Conflux eSpace
    • 5️⃣Adding Your Bridged Tokens to MetaMask
    • 6️⃣Connecting MetaMask to Swappi
    • 7️⃣Your First Swap!
    • 8️⃣Adding Liquidity to a Liquidity Pool
    • πŸ§‘β€πŸŒΎFarming Tasty Avocados
    • 🌠Boosting Your Rewards
    • ➑️What's Next?
  • Quick Reference
    • πŸ“ŒBridges to Conflux eSpace
    • πŸ“Token Contract Addresses
    • πŸ“Liquidity Pools Token Addresses
  • Transferring Assets to Conflux eSpace
    • πŸ—ΊοΈOverview
    • 🏦From Exchanges
      • Transferring eSpace CFX from KuCoin to MetaMask
      • Transferring eSpace CFX from Gate.io to MetaMask
    • πŸ›°οΈFrom Conflux Core Space
      • Bridging Assets From Conflux Core with Fluent
    • 🌐From Other Networks
      • Bridging Assets with Butter Bridge
      • Bridging Assets from Ethereum with cBridge
      • Bridging Stablecoins with Meson
      • Bridging from Binance SmartChain with the eSpace Bridge
  • Products
    • πŸ”„Exchange
      • Token Swaps
      • How to Trade
      • Liquidity Pools
      • Adding Liquidity to a Pool
      • Removing Liquidity from a Pool
    • πŸ§‘β€πŸŒΎYield Farming
      • Overview
      • Finding a Farm
      • Putting your LP Tokens into a Farm
      • Adding LP Tokens to a Farm
      • Removing LP Tokens from a Farm
      • Collecting Your Farming Rewards
      • Returning Your Farm to Harvest
      • How often should I harvest my Rewards?
    • 🌠Boosting
      • Boosting your PPI Rewards
    • πŸ’³Genesis Pass NFT
      • Transferring Your Swappi Genesis Pass NFT Using Confluxscan
    • 🎲Lottery
      • πŸ› οΈRules
      • 🎫Getting Your Ticket
      • 🎩How Are Winners Determined?
      • πŸ’°Claiming Your Prize
      • ❓F.A.Q.
    • πŸš€Launchpad
      • πŸ§‘β€πŸš€About Swappi Launchpad
      • πŸ’ΉParticipating in an IDO
      • ❓F.A.Q.
  • About Swappi
    • πŸ₯‘About PPI
    • πŸ“Swappi Contract Addresses
    • πŸ›£οΈProduct Roadmap
    • 🐞Bug Bounty Program
  • Wallets
    • πŸ’°Supported Wallets
    • πŸ”Using Your Ledger Hardware Wallet with Swappi
    • 🌊Connecting Fluent to Swappi
    • 🦊Using TokenPocket with Swappi
  • Get Help
    • Fixing Stuck Pending Transactions in Your Wallet
    • Checklist
    • General FAQ
    • Boost FAQ
  • Contact Us
    • Business Partnerships
    • Customer Support
    • Social Accounts and Communities
  • Brand & Logos
    • README
    • Downloads
Powered by GitBook
On this page
  • Reward calculations
  • Calculating Farm Base Reward APY
  • Calculating LP Reward APR
  1. Products

Yield Farming

Yield Farms allow users to earn PPI while supporting Swappi by staking LP Tokens.

PreviousRemoving Liquidity from a PoolNextOverview

Last updated 3 years ago

Check out our guide to get started with farming.

To find the farms' smart contract addresses, see .

Reward calculations

Yield Farm APR calculations include both:

  • LP rewards APR earned through providing liquidity

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

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

Calculating Farm Base Reward APY

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

Calculating LP Reward APR

A quick example of calculating LP rewards:

If in the CFX/USDT pair, we see these values:

Liquidity: $100M Volume 24H: $10M Volume 7D: 200M

  • Calculate yearly fees

    • Use the 24H volume to calculate the fee share of liquidity providers in the pool (based on the 0.17% trading fee structure): $10,000,000*0.17/100 = $17,000

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

  • We can now use the yearly fees to calculate the LP rewards APR: That's yearly fees divided by liquidity: ($6,205,000/$100,000,000)*100 = 6.205% LP reward APR

πŸ§‘β€πŸŒΎ
How to Use Farms
Contract Addresses