Rewards
Last updated
Last updated
Users that provide liquidity in one of our whitelisted liquidity pools (LP) are rewarded with Kerosene. Two different metrics are obtained to calculate the ''effective'' LP size, which in turn is used to determine the amount of rewards per user.
XP
LP size
We use hyperbolic tangent functions to create curves for the two metrics, which allows us to define the exact shape of each function - especially the ranges for each metric. This gives us the freedom to put higher weights on the XP metric compared to the LP metric.
The baseline of this multiplier is , meaning that a Note without XP is obtaining this multiplier. We use a baseline in order to enable Notes the farming of Kerosene even if they start farming without XP. The average XP () is used as scaling parameter within the hyperbolic tangent. Users XP is given by .
Below is a plot of this multiplier where we fix :
The LP multiplier has no baseline and acts as activator of the XP multiplier. The scaling within the hyperbolic tangent is performed differently compared to the XP multiplier. Here, we use the maximum function that chooses either the minimum LP size () or the percentile of the LP size distribution (median LP size, ). We use in order to prevent attacks from whales that could manipulate the average LP size by providing huge amounts of liquidity to one or more of our liquidity pools. To prevent sybil attacks (e.g., staking many small positions into our staking contract to lower ), we use a minimum LP size () and the maximum function between and . Hence, all user LP sizes are either scaled by or depending on which of both is larger. Users LP is given by .
Below is a plot of this multiplier where we fix :
Finally, we use both multiplier to calculate the effective user LP size ():
Our off-chain staking logic uses a user's () effective LP sizes to determine their share ()
In the equation above, we have participants that are actively staking their LP tokens.