tx · DDzU2SZArWXzMLcgkJXacLMWABpdX8AXb2cou5PjjRpV 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.01000000 Waves 2021.12.02 11:05 [1816396] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "DDzU2SZArWXzMLcgkJXacLMWABpdX8AXb2cou5PjjRpV", "fee": 1000000, "feeAssetId": null, "timestamp": 1638432357503, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "47LvXPmBjduV67z6YnSbTsmemUzPGk11Fc8A6S8hJzD2V7pAYQXmx46eToSHDFrtD4ocNycTiAda8HFdcvghekgx" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSAwoBCAAAAE0AAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgAAAAADmlkeFBvb2xBZGRyZXNzAAAAAAAAAAABAAAAAA1pZHhQb29sU3RhdHVzAAAAAAAAAAACAAAAABBpZHhQb29sTFBBc3NldElkAAAAAAAAAAADAAAAAA1pZHhBbXRBc3NldElkAAAAAAAAAAAEAAAAAA9pZHhQcmljZUFzc2V0SWQAAAAAAAAAAAUAAAAADmlkeEFtdEFzc2V0RGNtAAAAAAAAAAAGAAAAABBpZHhQcmljZUFzc2V0RGNtAAAAAAAAAAAHAAAAAA5pZHhJQW10QXNzZXRJZAAAAAAAAAAACAAAAAAQaWR4SVByaWNlQXNzZXRJZAAAAAAAAAAACQAAAAANaWR4TFBBc3NldERjbQAA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AA1NFUAAAAAFpAQAAABNnd3hVc2VySW5mb1JFQURPTkxZAAAAAQAAAAt1c2VyQWRkcmVzcwQAAAAPZmFjdG9yeUNvbnRyYWN0CQEAAAAYcmVhZEZhY3RvcnlBZGRyZXNzT3JGYWlsAAAAAAQAAAAKZmFjdG9yeUNmZwkBAAAAFHJlYWRGYWN0b3J5Q2ZnT3JGYWlsAAAAAQUAAAAPZmFjdG9yeUNvbnRyYWN0BAAAABBib29zdGluZ0NvbnRyYWN0CQEAAAAYZ2V0Qm9vc3RpbmdBZGRyZXNzT3JGYWlsAAAAAQUAAAAKZmFjdG9yeUNmZwQAAAAPZ3d4VXNlckluZm9MSVNUAwkAAAEAAAACCQAD/AAAAAQFAAAAEGJvb3N0aW5nQ29udHJhY3QCAAAAE2d3eFVzZXJJbmZvUkVBRE9OTFkJAARMAAAAAgUAAAALdXNlckFkZHJlc3MFAAAAA25pbAUAAAADbmlsAgAAAAlMaXN0W0FueV0JAAP8AAAABAUAAAAQYm9vc3RpbmdDb250cmFjdAIAAAATZ3d4VXNlckluZm9SRUFET05MWQkABEwAAAACBQAAAAt1c2VyQWRkcmVzcwUAAAADbmlsBQAAAANuaWwJAAACAAAAAQIAAAAeQ291bGRuJ3QgY2FzdCBBbnkgdG8gTGlzdFtBbnldBAAAAAlnd3hBbW91bnQDCQAAAQAAAAIJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAAAgAAAANJbnQJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAACQAAAgAAAAECAAAAGENvdWxkbid0IGNhc3QgQW55IHRvIEludAkABRQAAAACBQAAAANuaWwJAAS5AAAAAgkABEwAAAACAgAAAAIlZAkABEwAAAACCQABpAAAAAEFAAAACWd3eEFtb3VudAUAAAADbmlsBQAAAANTRVAAAAAAqusAog==", "chainId": 84, "height": 1816396, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 82H92vxgiVJH6LMiebRPauJVidUYJGexDqeNvgc7FRVC Next: 2cotE12hv2rqhCNiMpiTQowSjdr643j3EPXPsHdM86cG Diff:
Old | New | Differences | |
---|---|---|---|
360 | 360 | let totalCachedGwx = valueOrElse(getInteger(boostingContract, totalCachedGwxKEY), 0) | |
361 | 361 | let MULT3 = 1000 | |
362 | 362 | let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3) | |
363 | - | let boostEmissionPerBlockX3 = ((wxEmissionPerBlockX3 * 2) / 3) | |
364 | - | let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff)) | |
365 | 363 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
366 | 364 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
367 | 365 | let stakedByUser = readStaked(stakingContract, stakedByUserKEY) | |
379 | 377 | then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew) | |
380 | 378 | else 0 | |
381 | 379 | let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8) | |
380 | + | let boostEmissionPerBlockX3 = (poolWxEmissionPerBlockX3 * 2) | |
381 | + | let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff)) | |
382 | 382 | let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)]) | |
383 | 383 | let boostCoeff = if ((userWxPerBlockX3 == 0)) | |
384 | 384 | then (1 * MULT8) | |
385 | 385 | else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3) | |
386 | - | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStartNew)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3))], "::") | |
386 | + | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStartNew)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3)), ""], "::") | |
387 | 387 | $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStartNew), toString(boostCoeff), debug], SEP)) | |
388 | 388 | } | |
389 | 389 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SCALE8 = 8 | |
5 | 5 | ||
6 | 6 | let MULT8 = 100000000 | |
7 | 7 | ||
8 | 8 | let SCALE18 = 18 | |
9 | 9 | ||
10 | 10 | let MULT18 = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let SEP = "__" | |
13 | 13 | ||
14 | 14 | let POOLWEIGHTMULT = MULT8 | |
15 | 15 | ||
16 | 16 | let idxPoolAddress = 1 | |
17 | 17 | ||
18 | 18 | let idxPoolStatus = 2 | |
19 | 19 | ||
20 | 20 | let idxPoolLPAssetId = 3 | |
21 | 21 | ||
22 | 22 | let idxAmtAssetId = 4 | |
23 | 23 | ||
24 | 24 | let idxPriceAssetId = 5 | |
25 | 25 | ||
26 | 26 | let idxAmtAssetDcm = 6 | |
27 | 27 | ||
28 | 28 | let idxPriceAssetDcm = 7 | |
29 | 29 | ||
30 | 30 | let idxIAmtAssetId = 8 | |
31 | 31 | ||
32 | 32 | let idxIPriceAssetId = 9 | |
33 | 33 | ||
34 | 34 | let idxLPAssetDcm = 10 | |
35 | 35 | ||
36 | 36 | func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined")) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined")) | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0) | |
43 | 43 | ||
44 | 44 | ||
45 | 45 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
46 | 46 | ||
47 | 47 | ||
48 | 48 | func asAnyList (val) = match val { | |
49 | 49 | case valAnyLyst: List[Any] => | |
50 | 50 | valAnyLyst | |
51 | 51 | case _ => | |
52 | 52 | throw("fail to cast into List[Any]") | |
53 | 53 | } | |
54 | 54 | ||
55 | 55 | ||
56 | 56 | func asInt (val) = match val { | |
57 | 57 | case valInt: Int => | |
58 | 58 | valInt | |
59 | 59 | case _ => | |
60 | 60 | throw("fail to cast into Int") | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func asString (val) = match val { | |
65 | 65 | case valStr: String => | |
66 | 66 | valStr | |
67 | 67 | case _ => | |
68 | 68 | throw("fail to cast into String") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | let IdxFactoryCfgStakingDapp = 1 | |
76 | 76 | ||
77 | 77 | let IdxFactoryCfgBoostingDapp = 2 | |
78 | 78 | ||
79 | 79 | let IdxFactoryCfgIdoDapp = 3 | |
80 | 80 | ||
81 | 81 | let IdxFactoryCfgTeamDapp = 4 | |
82 | 82 | ||
83 | 83 | let IdxFactoryCfgEmissionDapp = 5 | |
84 | 84 | ||
85 | 85 | let IdxFactoryCfgRestDapp = 6 | |
86 | 86 | ||
87 | 87 | let IdxFactoryCfgSlippageDapp = 7 | |
88 | 88 | ||
89 | 89 | let IdxFactoryCfgGwxRewardDapp = 8 | |
90 | 90 | ||
91 | 91 | func keyFactoryCfg () = "%s__factoryConfig" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func keyFactoryLpList () = "%s__lpTokensList" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress())) | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp]) | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp]) | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp]) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | func getGwxRewardAddressOrFail (factoryCfg) = addressFromStringValue("3PH83bJCZraJoEzFefz4p8UXZD9YazNnj1n") | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func keyBoostCfg () = "%s__config" | |
128 | 128 | ||
129 | 129 | ||
130 | 130 | func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked" | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks" | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount" | |
137 | 137 | ||
138 | 138 | ||
139 | 139 | func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount" | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP) | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP) | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP) | |
152 | 152 | ||
153 | 153 | ||
154 | 154 | func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP) | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP) | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP) | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP) | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total" | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func keyTotalCachedGwx () = "%s%s__gwxCached__total" | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr) | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP) | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP) | |
197 | 197 | ||
198 | 198 | ||
199 | 199 | func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP) | |
200 | 200 | ||
201 | 201 | ||
202 | 202 | func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0) | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
206 | 206 | ||
207 | 207 | ||
208 | 208 | func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current" | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func keyEmissionStartBlock () = "%s%s__emission__startBlock" | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func keyEmissionDurationInBlocks () = "%s%s__emission__duration" | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | func keyEmissionEndBlock () = "%s%s__emission__endBlock" | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | func internalCurrentRewardRate (factoryContract,stakingContract,emissionContract,lpAssetId) = { | |
221 | 221 | let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId)) | |
222 | 222 | let poolWeightMult = MULT8 | |
223 | 223 | let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
224 | 224 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
225 | 225 | let wxEmissionPerBlockMax = getIntOrFail(emissionContract, keyEmissionRatePerBlockMaxCurrent()) | |
226 | 226 | let boostMaxCoeff = 3 | |
227 | 227 | let poolWxEmissionPerBlock = (fraction(wxEmissionPerBlock, poolWeight, poolWeightMult) / boostMaxCoeff) | |
228 | 228 | let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult) | |
229 | 229 | let maxFactor = (boostMaxCoeff * MULT8) | |
230 | 230 | let totalLpStaked = getIntOrZero(stakingContract, keyStakedTotal(lpAssetId)) | |
231 | 231 | [poolWxEmissionPerBlock, maxFactor, totalLpStaked] | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 | ||
235 | 235 | func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = { | |
236 | 236 | let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration) | |
237 | 237 | let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8) | |
238 | 238 | [gWxAmountStart] | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | @Callable(i) | |
243 | 243 | func constructor (factoryAddress) = if ((i.caller != this)) | |
244 | 244 | then throw("not authorized") | |
245 | 245 | else [StringEntry(keyFactoryAddress(), factoryAddress)] | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | ||
249 | 249 | @Callable(i) | |
250 | 250 | func currentRewardRateREADONLY (lpAssetId) = { | |
251 | 251 | let factoryContract = readFactoryAddressOrFail() | |
252 | 252 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
253 | 253 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
254 | 254 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
255 | 255 | let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId) | |
256 | 256 | let wxEmissionPerBlock = rewardData[0] | |
257 | 257 | let maxFactor = rewardData[1] | |
258 | 258 | let totalLpStaked = rewardData[2] | |
259 | 259 | $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP)) | |
260 | 260 | } | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | ||
264 | 264 | @Callable(i) | |
265 | 265 | func currentUserRewardRateREADONLY (lpAssetId,userAddress) = { | |
266 | 266 | let factoryContract = readFactoryAddressOrFail() | |
267 | 267 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
268 | 268 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
269 | 269 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
270 | 270 | let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId) | |
271 | 271 | let wxEmissionPerBlock = rewardData[0] | |
272 | 272 | let maxFactor = rewardData[1] | |
273 | 273 | let totalLpStaked = rewardData[2] | |
274 | 274 | let lpStakedByUser = getIntOrZero(stakingContract, keyStakedByUser(userAddress, lpAssetId)) | |
275 | 275 | let userClaimInfo = split(asString(invoke(stakingContract, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP) | |
276 | 276 | let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart") | |
277 | 277 | let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart") | |
278 | 278 | let debug = userClaimInfo[7] | |
279 | 279 | let boostingPower = if ((boostRewardPart == 0)) | |
280 | 280 | then (1 * MULT8) | |
281 | 281 | else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart) | |
282 | 282 | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP)) | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | ||
287 | 287 | @Callable(i) | |
288 | 288 | func claimedRewardREADONLY (userAddress) = { | |
289 | 289 | let factoryContract = readFactoryAddressOrFail() | |
290 | 290 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
291 | 291 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
292 | 292 | let lpList = readLpList() | |
293 | 293 | let prefix = "%s%d%d%d%s" | |
294 | 294 | func claimedRewardByLpAggregator (resultStr,nextLp) = { | |
295 | 295 | let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress) | |
296 | 296 | let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress) | |
297 | 297 | let minRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserMinRewardKEY), 0) | |
298 | 298 | let boostRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserBoostRewardKEY), 0) | |
299 | 299 | let gFeeClaimed = 0 | |
300 | 300 | makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP) | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | let result = { | |
304 | 304 | let $l = lpList | |
305 | 305 | let $s = size($l) | |
306 | 306 | let $acc0 = "%s" | |
307 | 307 | func 1 ($a,$i) = if (($i >= $s)) | |
308 | 308 | then $a | |
309 | 309 | else claimedRewardByLpAggregator($a, $l[$i]) | |
310 | 310 | ||
311 | 311 | func 2 ($a,$i) = if (($i >= $s)) | |
312 | 312 | then $a | |
313 | 313 | else throw("List size exceeds 10") | |
314 | 314 | ||
315 | 315 | 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
316 | 316 | } | |
317 | 317 | $Tuple2(nil, ((result + SEP) + userAddress)) | |
318 | 318 | } | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | ||
322 | 322 | @Callable(i) | |
323 | 323 | func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = { | |
324 | 324 | let factoryContract = readFactoryAddressOrFail() | |
325 | 325 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
326 | 326 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
327 | 327 | let mathContract = getGwxRewardAddressOrFail(factoryCfg) | |
328 | 328 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
329 | 329 | let stakingContract = getStakingAddressOrFail(factoryCfg) | |
330 | 330 | let EMPTYSTR = "empty" | |
331 | 331 | let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingContract, keyBoostCfg()), SEP)[4]) | |
332 | 332 | let lpAssetIdStr = if ((lpAssetIdOpt == "")) | |
333 | 333 | then EMPTYSTR | |
334 | 334 | else lpAssetIdOpt | |
335 | 335 | let userAddressStr = if ((userAddressOpt == "")) | |
336 | 336 | then EMPTYSTR | |
337 | 337 | else userAddressOpt | |
338 | 338 | let userNumStr = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
339 | 339 | let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNumStr)), 0) | |
340 | 340 | let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNumStr)), height) | |
341 | 341 | let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNumStr)), 0) | |
342 | 342 | let lockEnd = (lockStart + lockDuration) | |
343 | 343 | let remainingDuration = max([(lockEnd - height), 0]) | |
344 | 344 | let userAmountNew = (userAmount + deltaWxAmount) | |
345 | 345 | let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks]) | |
346 | 346 | let userCurrgWxAmount = asInt(asAnyList(invoke(boostingContract, "gwxUserInfoREADONLY", [userAddressStr], nil))[0]) | |
347 | 347 | let gWxAmountStartNew = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0] | |
348 | 348 | let gWxParamsResultList = asAnyList(invoke(mathContract, "calcGwxParamsREADONLY", [gWxAmountStartNew, height, lockDurationNew], nil)) | |
349 | 349 | let gWxAmountDiff = (gWxAmountStartNew - userCurrgWxAmount) | |
350 | 350 | if ((0 > gWxAmountDiff)) | |
351 | 351 | then throw("gWxAmountDiff is less then 0") | |
352 | 352 | else { | |
353 | 353 | let k = asInt(gWxParamsResultList[0]) | |
354 | 354 | let b = asInt(gWxParamsResultList[1]) | |
355 | 355 | let period = toString(asInt(gWxParamsResultList[2])) | |
356 | 356 | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
357 | 357 | let totalCachedGwxKEY = keyTotalCachedGwx() | |
358 | 358 | let userMaxBoostIntNew = ((gWxAmountStartNew * lockDurationNew) / 2) | |
359 | 359 | let totalMaxBoostInt = getIntOrZero(boostingContract, totalMaxBoostIntegralKEY) | |
360 | 360 | let totalCachedGwx = valueOrElse(getInteger(boostingContract, totalCachedGwxKEY), 0) | |
361 | 361 | let MULT3 = 1000 | |
362 | 362 | let wxEmissionPerBlockX3 = (getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) * MULT3) | |
363 | - | let boostEmissionPerBlockX3 = ((wxEmissionPerBlockX3 * 2) / 3) | |
364 | - | let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff)) | |
365 | 363 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
366 | 364 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
367 | 365 | let stakedByUser = readStaked(stakingContract, stakedByUserKEY) | |
368 | 366 | let stakedTotal = readStaked(stakingContract, stakedTotalKEY) | |
369 | 367 | let stakedByUserNew = (stakedByUser + deltaLpAmount) | |
370 | 368 | let stakedTotalNew = (stakedTotal + deltaLpAmount) | |
371 | 369 | let poolWeight = if ((lpAssetIdStr != EMPTYSTR)) | |
372 | 370 | then { | |
373 | 371 | let poolAddressStr = valueOrErrorMessage(getString(factoryContract, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
374 | 372 | getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr)) | |
375 | 373 | } | |
376 | 374 | else 0 | |
377 | 375 | let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3)) | |
378 | 376 | let wxPerLpX3 = if ((stakedTotalNew != 0)) | |
379 | 377 | then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew) | |
380 | 378 | else 0 | |
381 | 379 | let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8) | |
380 | + | let boostEmissionPerBlockX3 = (poolWxEmissionPerBlockX3 * 2) | |
381 | + | let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff)) | |
382 | 382 | let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)]) | |
383 | 383 | let boostCoeff = if ((userWxPerBlockX3 == 0)) | |
384 | 384 | then (1 * MULT8) | |
385 | 385 | else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3) | |
386 | - | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStartNew)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3))], "::") | |
386 | + | let debug = makeString([("lpAssetIdStr=" + lpAssetIdStr), ("userAddressStr=" + userAddressStr), ("userNumStr=" + userNumStr), ("userAmount=" + toString(userAmount)), ("userAmountNew=" + toString(userAmountNew)), ("lockDurationNew=" + toString(lockDurationNew)), ("gWxAmountStart=" + toString(gWxAmountStartNew)), ("tmpUserBoostPerBlockX3=" + toString(tmpUserBoostPerBlockX3)), ("stakedByUserNew=" + toString(stakedByUserNew)), ("stakedTotalNew=" + toString(stakedTotalNew)), ("poolWeight=" + toString(poolWeight)), ("wxPerLpX3=" + toString(wxPerLpX3)), ("poolWxEmissionPerBlockX3=" + toString(poolWxEmissionPerBlockX3)), ("userWxPerBlockX3=" + toString(userWxPerBlockX3)), ""], "::") | |
387 | 387 | $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStartNew), toString(boostCoeff), debug], SEP)) | |
388 | 388 | } | |
389 | 389 | } | |
390 | 390 | ||
391 | 391 | ||
392 | 392 | ||
393 | 393 | @Callable(i) | |
394 | 394 | func wxEmissionStatsREADONLY () = { | |
395 | 395 | let ONEMULT = toString(MULT8) | |
396 | 396 | let ONE = "1" | |
397 | 397 | let factoryContract = readFactoryAddressOrFail() | |
398 | 398 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
399 | 399 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
400 | 400 | let emissionContract = getEmissionAddressOrFail(factoryCfg) | |
401 | 401 | let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent()) | |
402 | 402 | let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock()) | |
403 | 403 | let passedBlocks = if ((emissionStartBlock > height)) | |
404 | 404 | then 0 | |
405 | 405 | else (height - emissionStartBlock) | |
406 | 406 | let teamEmDuration = (1440 * 365) | |
407 | 407 | let teamEmMax = (201000000 * MULT8) | |
408 | 408 | let teamEm = if ((passedBlocks > teamEmDuration)) | |
409 | 409 | then teamEmMax | |
410 | 410 | else fraction(teamEmMax, passedBlocks, teamEmDuration) | |
411 | 411 | let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm) | |
412 | 412 | let totalWxLocked = getIntOrZero(boostingContract, keyBoostingLockParamTotalAmount()) | |
413 | 413 | let locksDurationSumInBlocks = getIntOrZero(boostingContract, keyBoostingStatsLocksDurationSumInBlocks()) | |
414 | 414 | let locksCount = getIntOrZero(boostingContract, keyBoostingStatsLocksCount()) | |
415 | 415 | $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP)) | |
416 | 416 | } | |
417 | 417 | ||
418 | 418 | ||
419 | 419 | ||
420 | 420 | @Callable(i) | |
421 | 421 | func lpStatsREADONLY (lpAsset) = { | |
422 | 422 | let factoryAddress = readFactoryAddressOrFail() | |
423 | 423 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryAddress, keyFactoryLpAssetToPoolContractAddress(lpAsset))) | |
424 | 424 | let cfg = if ($isInstanceOf(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil), "List[Any]")) | |
425 | 425 | then invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil) | |
426 | 426 | else throw("Couldn't cast Any to List[Any]") | |
427 | 427 | let lpAssetId = fromBase58String(if ($isInstanceOf(cfg[idxPoolLPAssetId], "String")) | |
428 | 428 | then cfg[idxPoolLPAssetId] | |
429 | 429 | else throw("Couldn't cast Any to String")) | |
430 | 430 | let amtAssetId = if ($isInstanceOf(cfg[idxAmtAssetId], "String")) | |
431 | 431 | then cfg[idxAmtAssetId] | |
432 | 432 | else throw("Couldn't cast Any to String") | |
433 | 433 | let priceAssetId = if ($isInstanceOf(cfg[idxPriceAssetId], "String")) | |
434 | 434 | then cfg[idxPriceAssetId] | |
435 | 435 | else throw("Couldn't cast Any to String") | |
436 | 436 | let iAmtAssetId = if ($isInstanceOf(cfg[idxIAmtAssetId], "String")) | |
437 | 437 | then cfg[idxIAmtAssetId] | |
438 | 438 | else throw("Couldn't cast Any to String") | |
439 | 439 | let iPriceAssetId = if ($isInstanceOf(cfg[idxIPriceAssetId], "String")) | |
440 | 440 | then cfg[idxIPriceAssetId] | |
441 | 441 | else throw("Couldn't cast Any to String") | |
442 | 442 | let amtAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxAmtAssetDcm], "String")) | |
443 | 443 | then cfg[idxAmtAssetDcm] | |
444 | 444 | else throw("Couldn't cast Any to String")) | |
445 | 445 | let priceAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxPriceAssetDcm], "String")) | |
446 | 446 | then cfg[idxPriceAssetDcm] | |
447 | 447 | else throw("Couldn't cast Any to String")) | |
448 | 448 | let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity | |
449 | 449 | let accAmtAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil), "Int")) | |
450 | 450 | then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil) | |
451 | 451 | else throw("Couldn't cast Any to Int") | |
452 | 452 | let accPriceAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil), "Int")) | |
453 | 453 | then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil) | |
454 | 454 | else throw("Couldn't cast Any to Int") | |
455 | 455 | let pricesList = if ($isInstanceOf(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil), "List[Any]")) | |
456 | 456 | then invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil) | |
457 | 457 | else throw("Couldn't cast Any to List[Any]") | |
458 | 458 | let curPrice = 0 | |
459 | 459 | let lpAmtAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil), "Int")) | |
460 | 460 | then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil) | |
461 | 461 | else throw("Couldn't cast Any to Int") | |
462 | 462 | let lpPriceAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil), "Int")) | |
463 | 463 | then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil) | |
464 | 464 | else throw("Couldn't cast Any to Int") | |
465 | 465 | let poolWeight = getIntegerValue(factoryAddress, keyFactoryPoolWeight(toString(poolAddress))) | |
466 | 466 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(accAmtAssetBalance), toString(accPriceAssetBalance), toString(poolLPBalance), toString(curPrice), toString(lpAmtAssetShare), toString(lpPriceAssetShare), toString(poolWeight)], SEP)) | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(i) | |
472 | 472 | func gwxUserInfoREADONLY (userAddress) = { | |
473 | 473 | let factoryContract = readFactoryAddressOrFail() | |
474 | 474 | let factoryCfg = readFactoryCfgOrFail(factoryContract) | |
475 | 475 | let boostingContract = getBoostingAddressOrFail(factoryCfg) | |
476 | 476 | let gwxUserInfoLIST = if ($isInstanceOf(invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil), "List[Any]")) | |
477 | 477 | then invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil) | |
478 | 478 | else throw("Couldn't cast Any to List[Any]") | |
479 | 479 | let gwxAmount = if ($isInstanceOf(gwxUserInfoLIST[0], "Int")) | |
480 | 480 | then gwxUserInfoLIST[0] | |
481 | 481 | else throw("Couldn't cast Any to Int") | |
482 | 482 | $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP)) | |
483 | 483 | } | |
484 | 484 | ||
485 | 485 |
github/deemru/w8io/169f3d6 72.56 ms ◑