🤩oLIT Rewards
For calculating the range of oLIT emission and eventually the oLIT APR, we need first calculate the price of the BunniToken in USD.
Bunni Token USD Price
We can use pricePerFullShare
function in BunniLens contract to get the amount of each reserve token per single BunniToken
BunniLens on Mainnet:
Now we can multiply those values per the USD price of the reserve token and sum them to get the price of the corresponding Bunni Token
Annual Gauge Reward in USD
For calculating the lower and upper APRs, we need to get some extra parameters in the corresponding gauge:
With the above parameters we get the annualRewardUSD
NOTE: the oLITPriceUSD is determined by applying the discount factor to the LIT price which now is 50%
Lower and Upper vAPRs in Bunni gauges
Now we have all what we need to calculate the oLIT APRs, we first get the working supply in USD terms, for the upper APR what would be the annual reward / the working supply (both in USD terms).
While for the lower APR we use the tokenless_production
weight, which affects how much staking weight is given to liquidity and how much is given to vote locked tokens.
oLIT vAPR
Lower and Upper APR are the range in which the oLIT rewards can fell, to get the proper percentage we need to also calculate the boost Liquis has.
Bunni's formula for getting the corresponding relative weight in a specific gauge is:
Where
With this formula we can calculate Liquis boost for each gauge:
Once we have the boost we can simply multiply the lower APR for the boost to get the actual Liquis boosted oLIT vAPR
NOTE: Liquis currently charges a 25% fee on oLIT rewards which is splitted as following
19.5% to liqLIT stakers
3% to LIQ lockers (vlLIQ)
2% to the Liquis Treasury
0.5% to Keepers triggering the transactions
Last updated