How to calculate Au points for LP and YT
Au Multipliers for LP & YT
asUSDF: 25x Au
asBNB: 10x Au
USDF: 35x Au
Contracts
SY-asUSDF: 0x9E515a7115C86d7314159DbdAb41E555d5330Dfe
YT-asUSDF: 0x5e4Ea9538E8ae4C22f3897e85C7AB51672Bb3a62
SY-asBNB: 0xe954c3b53b2cd8b9056737193780f0a541815bb2
YT-asBNB: 0x89c625c475f33a78a8c60250137a3d51aa12b357
SY-USDF: 0x0f47aee96fae2558b0081c8d2dffbb8512397e23
YT-USDF: 0x5e9d14e48c7a35c77caf83bd15ae2f73d411e523
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 SY-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 SY-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