Farming: Difference between revisions

From Seasonal Tokens
Jump to navigation Jump to search
No edit summary
 
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Introduction=


A decentralized market like Uniswap is not operated by humans, it doesn't have buy-and-sell orders like normal markets. Instead, it has Liquidity Pools.


For a token pair of A and B tokens, it has a repository of A and B tokens
The number of A tokens has the same value as the number of B tokens.
For example, the Spring-Matic liquidity pool has a number S of Spring tokens and a number M of Matic. So Spring's price is M/S
Uniswap users are encouraged to provide liquidity by receiving a percentage of all trades done on Uniswap.
But for small projects where there are not many transactions, this percentage may be very small.
This is what happens in Seasonal Tokens. We don't get much income from Uniswap.
That is the reason for creating the farms. Farms will provide extra income to liquidity providers to overcome this problem.
=Seasonal Tokens Farms=


* Nine percent of all Seasonal Tokens mined are donated to the Farms.  
* Nine percent of all Seasonal Tokens mined are donated to the Farms.  
Line 11: Line 25:




=Which Token is the Most Profitable to Farm? (UPDATED JAN 22 2024)=
=Which Token is the Most Profitable to Farm? (UPDATED NOVEMBER 2024)=


  Use the annual Percent Return on Investment as an indicator of which of the farms is the most profitable at the time of the update. Not as an indicator of future profits.
  Use the annual Percent Return on Investment as an indicator of which of the farms is the most profitable at the time of the update. Not as an indicator of future profits.
Line 33: Line 47:
|+ Projected Anual Return on Investment in Polygon Farms
|+ Projected Anual Return on Investment in Polygon Farms
|-
|-
! Spring !! Summer !! Autumn !! Winter
! date!! Spring !! Summer !! Autumn !! Winter
 
|-
|-
| 40.7% || 63.9% || 22.7% || 38%
| 10/10/2024|| 8.60% || 10.89% || 9.44% || 3.81%
|-
| 11/05/2024|| 7.44% || 09.43% || 8.52% || 3.11%
|}


|}
==Ethereum Farm==
==Ethereum Farm==


Line 44: Line 61:
|+ Projected Anual Return on Investment in Ethereum Farms
|+ Projected Anual Return on Investment in Ethereum Farms
|-
|-
! Spring !! Summer !! Autumn !! Winter
! date!! Spring !! Summer !! Autumn !! Winter
|-
| 10/10/2024|| 6.60% || 10.98% || 11.02% || 6.42%
|-
|-
| 9.63% || 15.29% || 8.86% || 11.11%
| 11/05/2024|| 6.78% || 10.71% || 10.94% || 6.11%
|}


|}
==ROI in Polygon Farm==
 
As you can see in the table above, farming in Polygon is more profitable than farming in the Ethereum network. This is because there is more liquidity in the Ethereum network.
This opportunity will remain open for early farmers and it will reduce in time as more farming positions are added.
 
We have created four test liquidity positions in Polygon to observe their Matic value as a percentage of the Matic invested.
You can see that from July 2023 to June 2024 they have increased in Matic value by up to 30%
 
[[File:Polygonfarmroi.png |1300px]]


Click [http://84.46.244.52:8040/ HERE] for an updated graph. (It may take a while to build up the graph from current data)


How to create a liquidity position and deposit it into the farm: [https://www.reddit.com/r/seasonaltokens/wiki/index/farming/ Farming Tutorial on Reddit]
How to create a liquidity position and deposit it into the farm: [https://www.reddit.com/r/seasonaltokens/wiki/index/farming/ Farming Tutorial on Reddit]
Line 59: Line 88:
In the next section, we will dive into the details of how to compute the above ROI.
In the next section, we will dive into the details of how to compute the above ROI.


==Example:==
# First we calculate how many tokens are mined every day
# Then take 4.5% of that for one farm
# Then distribute those tokens among the 4 liquidity pools
# Then multiply by the fraction of the total liquidity we have
# Divide by the size of our liquidity position to obtain a percentage ROI


If you have a Spring Liquidity Position in the Polygon farm, you will receive rewards in the four tokens.
It is very important to notice that the tokens are not distributed equally among the four liquidity pools. Some receive more tokens than others. It is arranged in such a way that the farming demand complements the mining supply contributing to the relative price oscillations.


===The amount of Spring per day received by the Spring Liquidity Pool is: ===
== 1. Tokens mined per day ==


* 144 rewards per day (on average) times the number of Spring tokens on each reward (you can see this on the [https://www.seasonaltokens.org/mining Mining Page])*(4.5/100)*(0.27)
There are on average 144 mining rewards per day on each token mining pool. So the total number of tokens mined is 144 times the number of tokens per reward.
 
Where 0.27 is the fraction of total farming rewards given to the Spring Liquidity Pool. (See the table below)
 
* And finally, to obtain your share of Spring tokens you have to multiply the above result by the fraction of liquidity you provided. You can obtain this number by taking the amount of Matic in your Liquidity Position and dividing it by the total amount of Matic in the Liquidity Pool.
 
To obtain all rewards you have to add the Summer, Autumn, and Winter rewards calculated similarly.
 
* The above annual ROI is calculated by adding the Matic value of the Spring, Summer, Autumn, and Winter rewards times 365
 
* The Percent annual ROI is calculated by taking the above result for the annual ROI and dividing it by the amount of Matic in your Liquidity Position times 100
 
==Farming Rewards Correlate with Mining Supply==
 
The 9% donation to the farm is distributed among the 4 liquidity pools in such a way that complements the changes in mining supply, adding a rotating demand that acts together with the mining supply to produce the oscillations in the relative price of the tokens.
 
Four months after the mining supply of a token is cut in half, the farming reward for that token is increased, creating a combination of reduced supply and increased demand helping the price oscillations.
 
==Number of Tokens per Reward==
 
Every ten minutes on average a miner finds a solution to the proof of work challenge and receives a reward in tokens. There are 144 rewards per day.


{| class="wikitable" style="margin:auto"
{| class="wikitable" style="margin:auto"
Line 101: Line 114:
|-
|-
| September || 2024 || 84 || 70 || 60 || 52.5
| September || 2024 || 84 || 70 || 60 || 52.5
|}
|}  
 
Therefore, at the time of this writing, there are 144*84 Spring, 144*70 Summer, 144*60 Autumn, and 144*105 Winter mined every day.
 
==2. Fraction of Tokens donated to the Farm==
 
Multiply the above number of tokens mined per day by 4.5/100 to obtain the number of tokens of each type donated to the ETH, or Polygon farm.


==Farming Rewards==
==3. Distribution of Tokens among the 4 Liquidity Pools==


Nine percent of the tokens mined are donated to the farms.  
To contribute to the relative price oscillations, the farming rewards are organized in such a way that the demand for tokens for farming complements the scarcity produced by the mining supply.
Four months after the halving of the mining supply of the token produced at the fastest rate, the farming rewards for that token increase.


For example, in June 2022 the mining supply of Spring was cut in half, four months later, on October 2022 the farming rewards changed and Spring received more rewards than the other 3 tokens.
The idea here is that the token whose mining supply was cut in half will start rising in price relative to the other tokens, and it makes sense to trade it for cheaper tokens.
To motivate users to keep them in the liquidity pools the reward increases to compensate for the possible loss of opportunity in trading the tokens for cheaper tokens.


In March 2023 the Summer mining supply was cut in half, four months later, in July 2023 the farming rewards changed and Summer receives more rewards than the other 3 tokens.
In December 2023 Autumn mining supply is cut in half, and on April 2024 the farming rewards will give Autumn the larger fraction of rewards.


{| class="wikitable" style="margin:auto"
{| class="wikitable" style="margin:auto"
Line 128: Line 147:
|}
|}


==Profitability of Farming==
Therefore, (at the time of this writing) from the 144*84*4.5/100 Spring tokens donated to the farm, 27% will go to the Spring liquidity pool. 32% will go to the Summer liquidity pool. 19% for Autumn pool and 22% for the Winter pool.
 
And similarly for the Summer, Autumn, and Winter tokens donated to the farm. They will be distributed in the same proportion among the four liquidity pools.
 
[[File:FarmRewardsCROP.png |500px]]
==4. Token distribution among the Liquidity Providers==
 
Finally, the last factor in the calculation of the token rewards is the fraction of the tokens each liquidity provider receives.
The tokens are distributed according to the fraction of liquidity provided. A person holding 10% of the liquidity will receive 10% of the rewarded tokens.
 
You obtain this fraction by taking the amount of Matic or ETH in your liquidity position, divided by the total amount of Matic or ETH in the Liquidity Pool.
 
Your Liquidity Position in the Spring liquidity pool receives also Summer, Autumn, and Winter. So to calculate the total rewards per day we have to add the other rewards.
 
==5. Percent Anual Return of Investment ==
 
* The annual ROI is calculated by adding the Matic value of the Spring, Summer, Autumn, and Winter rewards times 365


===Number of Tokens donated to the Farm===
* The Percent annual ROI is calculated by taking the above result for the annual ROI and dividing it by the amount of Matic in your Liquidity Position times 100


Each farm receives 4.5% of the mined tokens, therefore the number of tokens donated every day is:
=Example=


(144 rewards per day)*(Number of tokens per reward)*(4.5/100)
Suppose you have a Spring liquidity position. You will receive every day some number of Spring, Summer, Autumn, and Winter tokens, as described above.


For example, at the time of this writing the number of Spring Tokens per reward is 84,
Then we can calculate the Matic value of the daily rewards by multiplying the number of tokens by their respective price in Matic and adding the result.
therefore the number of tokens donated per day to each farm is: 544.32 Spring


===Token distribution among the four Liquidity Pools===
Now we have the value in Matic of our daily reward. To visualize the ROI in a more familiar form we multiply this by 365, to obtain the annual ROI (In Matic) of our Liquidity Position.


Those 544.32 Spring tokens are distributed among the four liquidity pools in the proportion given by the Farming Rewards (Fraction) table above. At the time of this writing the
To obtain the percentage ROI we divide this number by the number of Matic in our Liquidity Position.
fraction of tokens distributed to each Liquidity Pool is: (0.27,0.32,0.19,0.22) for Spring, Summer, Autumn and Winter Liquidity Pools respectively.


Therefore the 544.32 Spring tokens will be distributed in this way:
This annual percent ROI does not depend on the dollar price of Matic.


146.97 tokens to the Spring liquidity pool.
If the annual percent ROI is 10% (for example) it means that if we invest 1 Matic in the Liquidity Pool, we will have 1.1 Matic by the end of the year.
174.18 tokens to the Summer liquidity pool.
103.42 tokens to the Autumn liquidity pool.
119.75 tokens to the Winter liquidity pool.


===Token distribution among the Liquidity Providers===
Warning: Use this ROI only to decide which liquidity pool is giving the best returns at the moment you are providing liquidity. The projected annual ROI may change a lot during the year, and so it is not a good indicator of future profits. It is only a metric used to decide where to add liquidity at a given moment.


Finally the last factor in the calculation of the token rewards is the fraction of the tokens each liquidity provider receives.
=Farming Technical Data=
The tokens are distributed according to the fraction of liquidity provided. A person holding 10% of the liquidity will receive 10% of the rewarded tokens.
 
==Seasonal Tokens Ethereum Farm Contract:==
 
https://etherscan.io/address/0xe8adb0111ccb570e366c73ee799242effc319404
 
==Polygon Farm smart contract:==
 
https://polygonscan.com/address/0x27114Bb43Ca5B3fc13bf51284aa036Ed5869B371
 
==Checking Your Liquidity Position on Uniswap==
 
Your liquidity position in Uniswap V3 is represented by an NFT. You can view your account in Etherscan or Polygonscan. On the Overview category find the Token Holdings tab.
Then find the NFT assets page to find it. You may also find some trash NFT's sent by you by some advertising promotions or scammers!
 
You can check the initial Token/ETH amounts by clicking on the NFT icon, and review the mint transaction at the bottom of the page.
 
Notice that after you deposit the liquidity in the farm, you will no longer have the Uniswap V3 NFT liquidity position in your account.
 
You can see your unclaimed fees in Uniswap by using the (Liquidity Position Number) located in the first column of Your Farm Stats on the Farming page.
 
https://app.uniswap.org/#/pools/ (Liquidity Position Number)
 
You have to be connected to the appropriate network to see it.
 
You can see how much fees are collected in Uniswap by visiting:
 
https://app.uniswap.org/#/pools/LP#
 
Where LP# is the liquidity position number given in Your Farming Stats on the website's farming page.
 
==Liquidity Positions on The Farm==


We can calculate the amount of tokens received per ETH or Matic invested. Let's suppose we are talking about a Spring Liquidity position in the Polygon Farm, then in order to know how many Spring tokens you receive per Matic invested
Liquidity positions on the Farm are identified by the liquidity position number located in the first column in Your Farm Stats on the Seasonal Toekens website Farming page.
you have to multiply by 1/Total Matic in the Spring Liquidity Pool:
Then you have the Trading Pair, the percentage of total liquidity you have, the number of tokens and Matic (or ETH) you have. And finally the Harvestable tokens columns.


146.97*(1/2597.18)= 0.0566 Spring tokens per Matic invested in the Spring Liquidity pool every day.
These are the tokens you have earned by providing liquidity to the Farm. Liquidity positions are locked for a period of 30 days, then they are unlocked for 7 days if you want to withdraw your liquidity.


One Matic invested in the Spring liquidity pool receives also Summer, Autumn, and Winter. So to calculate the total rewards per matic per day we have to add the other rewards.
If you "Harvest" the tokens you will withdraw the earned tokens but not the liquidity position.

Latest revision as of 02:50, 6 November 2024

Introduction

A decentralized market like Uniswap is not operated by humans, it doesn't have buy-and-sell orders like normal markets. Instead, it has Liquidity Pools.

For a token pair of A and B tokens, it has a repository of A and B tokens The number of A tokens has the same value as the number of B tokens.

For example, the Spring-Matic liquidity pool has a number S of Spring tokens and a number M of Matic. So Spring's price is M/S

Uniswap users are encouraged to provide liquidity by receiving a percentage of all trades done on Uniswap. But for small projects where there are not many transactions, this percentage may be very small. This is what happens in Seasonal Tokens. We don't get much income from Uniswap.

That is the reason for creating the farms. Farms will provide extra income to liquidity providers to overcome this problem.

Seasonal Tokens Farms

  • Nine percent of all Seasonal Tokens mined are donated to the Farms.
  • There are two farms, one in Ethereum network and another in Polygon network, Each farm receives 4.5% of all mined tokens.
  • The 4.5% is then distributed among the four Liquidity Pools, but not in the same proportion. It is arranged in such a way that it complements the Mining supply, see Farming Rewards section below.
  • Finally, farmers receive rewards in proportion to the percentage of liquidity they have on each farm.

FarmRewards.png


Which Token is the Most Profitable to Farm? (UPDATED NOVEMBER 2024)

Use the annual Percent Return on Investment as an indicator of which of the farms is the most profitable at the time of the update. Not as an indicator of future profits.

The numbers will vary if:

  • The number of tokens in the liquidity pools changes. (This happens when a farmer adds or retires liquidity from the farm)
  • The Fraction of Farming Rewards given to each pool changes. (This happens every 9 months and correlates with mining supply)

Since the yearly ROI is a percent of the total Matic/ETH invested, it is not dependent on the dollar price of Matic or Ether. In other words: This ROI is given on Matic or ETH, and it is not calculated as a return in dollars.

For example, if you invested 10 Matic in the Polygon Spring Liquidity Pool, and the annual ROI is 40%, it means that in one year your 10 Matic will turn into 14 Matic.

Warning: Use this ROI only to decide which token is more profitable to farm at the given date of the update. It is not guaranteed that you will get this return on investment over a year, because the numbers vary with the above mentioned factors. 


Polygon Farm

Projected Anual Return on Investment in Polygon Farms
date Spring Summer Autumn Winter
10/10/2024 8.60% 10.89% 9.44% 3.81%
11/05/2024 7.44% 09.43% 8.52% 3.11%

Ethereum Farm

Projected Anual Return on Investment in Ethereum Farms
date Spring Summer Autumn Winter
10/10/2024 6.60% 10.98% 11.02% 6.42%
11/05/2024 6.78% 10.71% 10.94% 6.11%

ROI in Polygon Farm

As you can see in the table above, farming in Polygon is more profitable than farming in the Ethereum network. This is because there is more liquidity in the Ethereum network. This opportunity will remain open for early farmers and it will reduce in time as more farming positions are added.

We have created four test liquidity positions in Polygon to observe their Matic value as a percentage of the Matic invested. You can see that from July 2023 to June 2024 they have increased in Matic value by up to 30%

Polygonfarmroi.png

Click HERE for an updated graph. (It may take a while to build up the graph from current data)

How to create a liquidity position and deposit it into the farm: Farming Tutorial on Reddit Adding a liquidity position in the farm is far more expensive in the Ethereum network than in Polygon.


ROI Calculation Explained

In the next section, we will dive into the details of how to compute the above ROI.

  1. First we calculate how many tokens are mined every day
  2. Then take 4.5% of that for one farm
  3. Then distribute those tokens among the 4 liquidity pools
  4. Then multiply by the fraction of the total liquidity we have
  5. Divide by the size of our liquidity position to obtain a percentage ROI
It is very important to notice that the tokens are not distributed equally among the four liquidity pools. Some receive more tokens than others. It is arranged in such a way that the farming demand complements the mining supply contributing to the relative price oscillations.

1. Tokens mined per day

There are on average 144 mining rewards per day on each token mining pool. So the total number of tokens mined is 144 times the number of tokens per reward.

Mining Supply
Month Year Spring Summer Autumn Winter
September 2021 168 140 120 105
June 2022 84 140 120 105
March 2023 84 70 120 105
December 2023 84 70 60 105
September 2024 84 70 60 52.5

Therefore, at the time of this writing, there are 144*84 Spring, 144*70 Summer, 144*60 Autumn, and 144*105 Winter mined every day.

2. Fraction of Tokens donated to the Farm

Multiply the above number of tokens mined per day by 4.5/100 to obtain the number of tokens of each type donated to the ETH, or Polygon farm.

3. Distribution of Tokens among the 4 Liquidity Pools

To contribute to the relative price oscillations, the farming rewards are organized in such a way that the demand for tokens for farming complements the scarcity produced by the mining supply. Four months after the halving of the mining supply of the token produced at the fastest rate, the farming rewards for that token increase.

The idea here is that the token whose mining supply was cut in half will start rising in price relative to the other tokens, and it makes sense to trade it for cheaper tokens. To motivate users to keep them in the liquidity pools the reward increases to compensate for the possible loss of opportunity in trading the tokens for cheaper tokens.


Farming Rewards (Fraction)
Month Year Spring Summer Autumn Winter
Initially 2021 0.19 0.23 0.27 0.31
October 2022 0.32 0.19 0.23 0.26
July 2023 0.27 0.32 0.19 0.22
April 2024 0.23 0.27 0.32 0.18
January 2025 0.19 0.23 0.27 0.31

Therefore, (at the time of this writing) from the 144*84*4.5/100 Spring tokens donated to the farm, 27% will go to the Spring liquidity pool. 32% will go to the Summer liquidity pool. 19% for Autumn pool and 22% for the Winter pool.

And similarly for the Summer, Autumn, and Winter tokens donated to the farm. They will be distributed in the same proportion among the four liquidity pools.

FarmRewardsCROP.png

4. Token distribution among the Liquidity Providers

Finally, the last factor in the calculation of the token rewards is the fraction of the tokens each liquidity provider receives. The tokens are distributed according to the fraction of liquidity provided. A person holding 10% of the liquidity will receive 10% of the rewarded tokens.

You obtain this fraction by taking the amount of Matic or ETH in your liquidity position, divided by the total amount of Matic or ETH in the Liquidity Pool.

Your Liquidity Position in the Spring liquidity pool receives also Summer, Autumn, and Winter. So to calculate the total rewards per day we have to add the other rewards.

5. Percent Anual Return of Investment

  • The annual ROI is calculated by adding the Matic value of the Spring, Summer, Autumn, and Winter rewards times 365
  • The Percent annual ROI is calculated by taking the above result for the annual ROI and dividing it by the amount of Matic in your Liquidity Position times 100

Example

Suppose you have a Spring liquidity position. You will receive every day some number of Spring, Summer, Autumn, and Winter tokens, as described above.

Then we can calculate the Matic value of the daily rewards by multiplying the number of tokens by their respective price in Matic and adding the result.

Now we have the value in Matic of our daily reward. To visualize the ROI in a more familiar form we multiply this by 365, to obtain the annual ROI (In Matic) of our Liquidity Position.

To obtain the percentage ROI we divide this number by the number of Matic in our Liquidity Position.

This annual percent ROI does not depend on the dollar price of Matic.

If the annual percent ROI is 10% (for example) it means that if we invest 1 Matic in the Liquidity Pool, we will have 1.1 Matic by the end of the year.

Warning: Use this ROI only to decide which liquidity pool is giving the best returns at the moment you are providing liquidity. The projected annual ROI may change a lot during the year, and so it is not a good indicator of future profits. It is only a metric used to decide where to add liquidity at a given moment.

Farming Technical Data

Seasonal Tokens Ethereum Farm Contract:

https://etherscan.io/address/0xe8adb0111ccb570e366c73ee799242effc319404

Polygon Farm smart contract:

https://polygonscan.com/address/0x27114Bb43Ca5B3fc13bf51284aa036Ed5869B371

Checking Your Liquidity Position on Uniswap

Your liquidity position in Uniswap V3 is represented by an NFT. You can view your account in Etherscan or Polygonscan. On the Overview category find the Token Holdings tab. Then find the NFT assets page to find it. You may also find some trash NFT's sent by you by some advertising promotions or scammers!

You can check the initial Token/ETH amounts by clicking on the NFT icon, and review the mint transaction at the bottom of the page.

Notice that after you deposit the liquidity in the farm, you will no longer have the Uniswap V3 NFT liquidity position in your account.

You can see your unclaimed fees in Uniswap by using the (Liquidity Position Number) located in the first column of Your Farm Stats on the Farming page.

https://app.uniswap.org/#/pools/ (Liquidity Position Number)

You have to be connected to the appropriate network to see it.

You can see how much fees are collected in Uniswap by visiting:

https://app.uniswap.org/#/pools/LP#

Where LP# is the liquidity position number given in Your Farming Stats on the website's farming page.

Liquidity Positions on The Farm

Liquidity positions on the Farm are identified by the liquidity position number located in the first column in Your Farm Stats on the Seasonal Toekens website Farming page. Then you have the Trading Pair, the percentage of total liquidity you have, the number of tokens and Matic (or ETH) you have. And finally the Harvestable tokens columns.

These are the tokens you have earned by providing liquidity to the Farm. Liquidity positions are locked for a period of 30 days, then they are unlocked for 7 days if you want to withdraw your liquidity.

If you "Harvest" the tokens you will withdraw the earned tokens but not the liquidity position.