How to calculate Au points for LP and YT
Au Multipliers for LP & YT
asUSDF: 25x Au
asBNB: 10x Au
USDF: 35x Au
How to calculate Au points for LP?
Using LP-asUSDF as an example:
Formula: Au multiplier*(SY held in LP*User LP/Total LP)
Au multiplier refers to the Au points for that asset. For LP-asUSDF, it is 25x.
SY held in LP*User LP/Total LP refers to the SY attributable to you in the pool
Scenario using wallet 0xd6…995b:
1. First, query the activeBalance and the pool’s totalActiveSupply.
Go to the LP-asUSDF contract > Read Contract > Query the wallet address in 2. activeBalance and 19. totalActiveSupply. Use https://bscscan.com/unitconverter if you need help converting units.
For the wallet 0xd6…995b, the activeBalance is 209.11 and the totalActiveSupply is 2,488,522.
Hence, this user’s percentage proportion of the LP pool = (209.11/2,488,522)*100 = 0.0084%.
2. Next, derive the SY attributable to the wallet. Go to the LP-asUSDF contract and look at the total SY sitting in the LP contract.
The total SY in the LP-asUSDF contract is 4,052,238. Thus, for the wallet 0xd6…995b, the SY attributable to the user is 4,052,238*0.0084% = 340.38 SY.
Putting it all together, this user earns 25*340.38 = 8,509 Au points/hour.
How to calculate Au points for YT?
Using YT-asUSDF as an example:
Formula = Au multiplier*(SY*YT/Total YT)
Au multiplier refers to the Au points for that asset. For LP-asUSDF, it is 25x.
SY*YT/Total YT refers to your proportion of SY (which earns you Au points)
Scenario using wallet 0xd6…995b:
1. First, get the total SY amount sitting in the YT-asUSDF contract. In the example below, it is 15,199,750.
Then, look at how many YT-asUSDF the wallet 0xd6…995b has. After checking token holdings, this user has 4,514 YT-asUSDF.
Thus, the user wallet 0xd6…995b’s percentage proportion of YT is (4,514/15,199,750)*100 = 0.03%
2. Next, calculate the user’s proportion of SY.
It is 0.03%*15,199,750 = 4,559 SY. However, remember that there is a 3% fee. Hence, the user’s proportion of SY is 4,559*97% = 4,422 SY.
Putting it all together, this user earns 25*4,422 = 110,550 Au points/hour
Last updated