XSwap Protocol
Yield Farming
Yield Farms allow users to earn XTT while supporting XSwap DEX by staking XSP2 Tokens.
Yield farming can give better rewards than XSP 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 article about Impermanent Loss 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 XSP2 tokens in a farm to earn XTT, you're still providing liquidity to the liquidity pool, so you earn XSP2 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 XSP2 rewards for providing liquidity. Here's an example of calculating XSP2 rewards:
In the WXDC/XSP pair , we see these values:
  • Calculate yearly fees
  • ​
Copy link
On this page
Reward calculations
Calculating Farm Base Reward APR
Calculating LP Reward APR