tx · AazSXqCijK2Cv8mioYb3DQhNQk3kAr8KqpxDK9bYGoWw 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.01400000 Waves 2021.12.17 15:09 [1838244] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "AazSXqCijK2Cv8mioYb3DQhNQk3kAr8KqpxDK9bYGoWw", "fee": 1400000, "feeAssetId": null, "timestamp": 1639743034991, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "VXEr1f5VehdiER8K1cJPm4ViCA6yDtxYENZ4M1uJB7Z2y9ABFCTcCeo7y7baytocBhyxHA9YQhFJGn91W4xt6Fg" ], "script": "base64:AAIFAAAAAAAAAD4IAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSBAoCCAESBAoCCAESBAoCCAESAwoBCAAAAFQAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgAAAAACnplcm9CaWdJbnQJAAE2AAAAAQAAAAAAAAAAAAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAEAAAAADWlkeFBvb2xTdGF0dXMAAAAAAAAAAAIAAAAAEGlkeFBvb2xMUEFzc2V0SWQAAAAAAAAAAAMAAAAADWlkeEFtdEFzc2V0SWQAAAAAAAAAAAQAAAAAD2lkeFByaWNlQXNzZXRJZAAAAAAAAAAABQAAAAAOaWR4QW10QXNzZXREY20AAAAAAAAAAAYAAAAAEGlkeFByaWNlQXNzZXREY20AAAAAAAAAAAcAAAAADmlkeElBbXRBc3NldEl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AAAAAIFAAAACnBvb2xTdGF0dXMFAAAAA25pbAUAAAADU0VQAAAAAWkBAAAAE2d3eFVzZXJJbmZvUkVBRE9OTFkAAAABAAAAC3VzZXJBZGRyZXNzBAAAAA9nd3hVc2VySW5mb0xJU1QKAAAAAAFACQAD/AAAAAQFAAAADGJvb3N0aW5nRGFwcAIAAAATZ3d4VXNlckluZm9SRUFET05MWQkABEwAAAACBQAAAAt1c2VyQWRkcmVzcwUAAAADbmlsBQAAAANuaWwDCQAAAQAAAAIFAAAAAUACAAAACUxpc3RbQW55XQUAAAABQAkAAAIAAAABAgAAAB5Db3VsZG4ndCBjYXN0IEFueSB0byBMaXN0W0FueV0EAAAACWd3eEFtb3VudAoAAAAAAUAJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAAAwkAAAEAAAACBQAAAAFAAgAAAANJbnQFAAAAAUAJAAACAAAAAQIAAAAYQ291bGRuJ3QgY2FzdCBBbnkgdG8gSW50CQAFFAAAAAIFAAAAA25pbAkABLkAAAACCQAETAAAAAICAAAAAiVkCQAETAAAAAIJAAGkAAAAAQUAAAAJZ3d4QW1vdW50BQAAAANuaWwFAAAAA1NFUAAAAAC5oIQv", "chainId": 84, "height": 1838244, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6Z5wHDjCVNAxK8Vt1D83warf5GpCoSznW7wiqQCxuvMN Next: BaeQKeML9EhJ4Kvk3ykMe5cL92LuJibsDoTfAhon2pqm Full:
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 zeroBigInt = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let idxPoolAddress = 1 | |
19 | 19 | ||
20 | 20 | let idxPoolStatus = 2 | |
21 | 21 | ||
22 | 22 | let idxPoolLPAssetId = 3 | |
23 | 23 | ||
24 | 24 | let idxAmtAssetId = 4 | |
25 | 25 | ||
26 | 26 | let idxPriceAssetId = 5 | |
27 | 27 | ||
28 | 28 | let idxAmtAssetDcm = 6 | |
29 | 29 | ||
30 | 30 | let idxPriceAssetDcm = 7 | |
31 | 31 | ||
32 | 32 | let idxIAmtAssetId = 8 | |
33 | 33 | ||
34 | 34 | let idxIPriceAssetId = 9 | |
35 | 35 | ||
36 | 36 | let idxLPAssetDcm = 10 | |
37 | 37 | ||
38 | 38 | func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined")) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined")) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func asAnyList (val) = match val { | |
51 | 51 | case valAnyLyst: List[Any] => | |
52 | 52 | valAnyLyst | |
53 | 53 | case _ => | |
54 | 54 | throw("fail to cast into List[Any]") | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func asInt (val) = match val { | |
59 | 59 | case valInt: Int => | |
60 | 60 | valInt | |
61 | 61 | case _ => | |
62 | 62 | throw("fail to cast into Int") | |
63 | 63 | } | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func asString (val) = match val { | |
67 | 67 | case valStr: String => | |
68 | 68 | valStr | |
69 | 69 | case _ => | |
70 | 70 | throw("fail to cast into String") | |
71 | 71 | } | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func keyFactoryAddress () = "%s%s__config__factoryAddress" | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | let IdxFactoryCfgStakingDapp = 1 | |
78 | 78 | ||
79 | 79 | let IdxFactoryCfgBoostingDapp = 2 | |
80 | 80 | ||
81 | 81 | let IdxFactoryCfgIdoDapp = 3 | |
82 | 82 | ||
83 | 83 | let IdxFactoryCfgTeamDapp = 4 | |
84 | 84 | ||
85 | 85 | let IdxFactoryCfgEmissionDapp = 5 | |
86 | 86 | ||
87 | 87 | let IdxFactoryCfgRestDapp = 6 | |
88 | 88 | ||
89 | 89 | let IdxFactoryCfgSlippageDapp = 7 | |
90 | 90 | ||
91 | 91 | let IdxFactoryCfgGwxRewardDapp = 8 | |
92 | 92 | ||
93 | 93 | func keyFactoryCfg () = "%s__factoryConfig" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func keyFactoryLpList () = "%s__lpTokensList" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress())) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func getBoostingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgBoostingDapp]) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func getEmissionAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgEmissionDapp]) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func getStakingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgStakingDapp]) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func getGwxRewardAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgGwxRewardDapp]) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func keyBoostCfg () = "%s__config" | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked" | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount" | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total" | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func keyTotalCachedGwx () = "%s%s__gwxCached__total" | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr) | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP) | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current" | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current" | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func keyEmissionStartBlock () = "%s%s__emission__startBlock" | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func keyEmissionDurationInBlocks () = "%s%s__emission__duration" | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func keyEmissionEndBlock () = "%s%s__emission__endBlock" | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | let factoryDapp = readFactoryAddressOrFail() | |
223 | 223 | ||
224 | 224 | let factoryCfg = readFactoryCfgOrFail(factoryDapp) | |
225 | 225 | ||
226 | 226 | let emissionDapp = getEmissionAddressOrFail(factoryCfg) | |
227 | 227 | ||
228 | 228 | let stakingDapp = getStakingAddressOrFail(factoryCfg) | |
229 | 229 | ||
230 | 230 | let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg) | |
231 | 231 | ||
232 | 232 | let boostingDapp = getBoostingAddressOrFail(factoryCfg) | |
233 | 233 | ||
234 | 234 | func internalCurrentRewardRate (lpAssetId) = { | |
235 | 235 | let poolAddressStr = getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAssetId)) | |
236 | 236 | let poolWeightMult = MULT8 | |
237 | 237 | let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr)) | |
238 | 238 | let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent()) | |
239 | 239 | let wxEmissionPerBlockMax = getIntOrFail(emissionDapp, keyEmissionRatePerBlockMaxCurrent()) | |
240 | 240 | let boostMaxCoeff = 3 | |
241 | 241 | let poolWxEmissionPerBlock = (fraction(wxEmissionPerBlock, poolWeight, poolWeightMult) / boostMaxCoeff) | |
242 | 242 | let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult) | |
243 | 243 | let maxFactor = (boostMaxCoeff * MULT8) | |
244 | 244 | let totalLpStaked = getIntOrZero(stakingDapp, keyStakedTotal(lpAssetId)) | |
245 | 245 | [poolWxEmissionPerBlock, maxFactor, totalLpStaked] | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = { | |
250 | 250 | let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration) | |
251 | 251 | let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8) | |
252 | 252 | [gWxAmountStart] | |
253 | 253 | } | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | @Callable(i) | |
257 | 257 | func constructor (factoryAddress) = if ((i.caller != this)) | |
258 | 258 | then throw("not authorized") | |
259 | 259 | else [StringEntry(keyFactoryAddress(), factoryAddress)] | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | ||
263 | 263 | @Callable(i) | |
264 | 264 | func currentRewardRateREADONLY (lpAssetId) = { | |
265 | 265 | let rewardData = internalCurrentRewardRate(lpAssetId) | |
266 | 266 | let wxEmissionPerBlock = rewardData[0] | |
267 | 267 | let maxFactor = rewardData[1] | |
268 | 268 | let totalLpStaked = rewardData[2] | |
269 | 269 | $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP)) | |
270 | 270 | } | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | ||
274 | 274 | @Callable(i) | |
275 | 275 | func currentUserRewardRateREADONLY (lpAssetId,userAddress) = { | |
276 | 276 | let rewardData = internalCurrentRewardRate(lpAssetId) | |
277 | 277 | let wxEmissionPerBlock = rewardData[0] | |
278 | 278 | let maxFactor = rewardData[1] | |
279 | 279 | let totalLpStaked = rewardData[2] | |
280 | 280 | let lpStakedByUser = getIntOrZero(stakingDapp, keyStakedByUser(userAddress, lpAssetId)) | |
281 | 281 | let userClaimInfo = split(asString(invoke(stakingDapp, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP) | |
282 | 282 | let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart") | |
283 | 283 | let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart") | |
284 | 284 | let debug = userClaimInfo[7] | |
285 | 285 | let boostingPower = if ((boostRewardPart == 0)) | |
286 | 286 | then (1 * MULT8) | |
287 | 287 | else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart) | |
288 | 288 | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP)) | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | ||
293 | 293 | @Callable(i) | |
294 | 294 | func claimedRewardREADONLY (userAddress) = { | |
295 | 295 | let lpList = readLpList() | |
296 | 296 | let prefix = "%s%d%d%d%s" | |
297 | 297 | func claimedRewardByLpAggregator (resultStr,nextLp) = { | |
298 | 298 | let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress) | |
299 | 299 | let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress) | |
300 | 300 | let minRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserMinRewardKEY), 0) | |
301 | 301 | let boostRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserBoostRewardKEY), 0) | |
302 | 302 | let gFeeClaimed = 0 | |
303 | 303 | makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP) | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | let result = { | |
307 | 307 | let $l = lpList | |
308 | 308 | let $s = size($l) | |
309 | 309 | let $acc0 = "%s" | |
310 | 310 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
311 | 311 | then $a | |
312 | 312 | else claimedRewardByLpAggregator($a, $l[$i]) | |
313 | 313 | ||
314 | 314 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
315 | 315 | then $a | |
316 | 316 | else throw("List size exceeds 10") | |
317 | 317 | ||
318 | 318 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
319 | 319 | } | |
320 | 320 | $Tuple2(nil, ((result + SEP) + userAddress)) | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(i) | |
326 | 326 | func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = { | |
327 | 327 | let mathDapp = gwxRewardDapp | |
328 | 328 | let EMPTYSTR = "empty" | |
329 | 329 | let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingDapp, keyBoostCfg()), SEP)[4]) | |
330 | 330 | let lpAssetIdStr = if ((lpAssetIdOpt == "")) | |
331 | 331 | then EMPTYSTR | |
332 | 332 | else lpAssetIdOpt | |
333 | 333 | let userAddressStr = if ((userAddressOpt == "")) | |
334 | 334 | then EMPTYSTR | |
335 | 335 | else userAddressOpt | |
336 | 336 | let userNumStr = valueOrElse(getString(boostingDapp, keyUser2NumMapping(userAddressOpt)), EMPTYSTR) | |
337 | 337 | let userAmount = valueOrElse(getInteger(boostingDapp, keyLockParamUserAmount(userNumStr)), 0) | |
338 | 338 | let lockStart = valueOrElse(getInteger(boostingDapp, keyLockParamStartBlock(userNumStr)), height) | |
339 | 339 | let lockDuration = valueOrElse(getInteger(boostingDapp, keyLockParamDuration(userNumStr)), 0) | |
340 | 340 | let lockEnd = (lockStart + lockDuration) | |
341 | 341 | let remainingDuration = max([(lockEnd - height), 0]) | |
342 | 342 | let userAmountNew = (userAmount + deltaWxAmount) | |
343 | 343 | let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks]) | |
344 | 344 | let userCurrgWxAmount = asInt(asAnyList(invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddressStr], nil))[0]) | |
345 | 345 | let gWxAmountStartNew = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0] | |
346 | 346 | let gWxParamsResultList = asAnyList(invoke(mathDapp, "calcGwxParamsREADONLY", [gWxAmountStartNew, height, lockDurationNew], nil)) | |
347 | 347 | let gWxAmountDiff = (gWxAmountStartNew - userCurrgWxAmount) | |
348 | 348 | let k = asInt(gWxParamsResultList[0]) | |
349 | 349 | let b = asInt(gWxParamsResultList[1]) | |
350 | 350 | let period = toString(asInt(gWxParamsResultList[2])) | |
351 | 351 | let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL() | |
352 | 352 | let totalCachedGwxKEY = keyTotalCachedGwx() | |
353 | 353 | let userMaxBoostIntNew = ((gWxAmountStartNew * lockDurationNew) / 2) | |
354 | 354 | let totalMaxBoostInt = getIntOrZero(boostingDapp, totalMaxBoostIntegralKEY) | |
355 | 355 | let totalCachedGwx = valueOrElse(getInteger(boostingDapp, totalCachedGwxKEY), 0) | |
356 | 356 | let MULT3 = 1000 | |
357 | 357 | let wxEmissionPerBlockX3 = (getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent()) * MULT3) | |
358 | 358 | let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr) | |
359 | 359 | let stakedTotalKEY = keyStakedTotal(lpAssetIdStr) | |
360 | 360 | let stakedByUser = readStaked(stakingDapp, stakedByUserKEY) | |
361 | 361 | let stakedTotal = readStaked(stakingDapp, stakedTotalKEY) | |
362 | 362 | let stakedByUserNew = (stakedByUser + deltaLpAmount) | |
363 | 363 | let stakedTotalNew = (stakedTotal + deltaLpAmount) | |
364 | 364 | let poolWeight = if ((lpAssetIdStr != EMPTYSTR)) | |
365 | 365 | then { | |
366 | 366 | let poolAddressStr = valueOrErrorMessage(getString(factoryDapp, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr)) | |
367 | 367 | getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr)) | |
368 | 368 | } | |
369 | 369 | else 0 | |
370 | 370 | let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3)) | |
371 | 371 | let wxPerLpX3 = if ((stakedTotalNew != 0)) | |
372 | 372 | then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew) | |
373 | 373 | else 0 | |
374 | 374 | let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8) | |
375 | 375 | let boostEmissionPerBlockX3 = (poolWxEmissionPerBlockX3 * 2) | |
376 | 376 | let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff)) | |
377 | 377 | let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)]) | |
378 | 378 | let boostCoeff = if ((userWxPerBlockX3 == 0)) | |
379 | 379 | then (1 * MULT8) | |
380 | 380 | else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3) | |
381 | 381 | 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)), ("gWxAmountDiff=" + toString(gWxAmountDiff)), ("totalCachedGwx=" + toString(totalCachedGwx)), ("userCurrgWxAmount=" + toString(userCurrgWxAmount))], "::") | |
382 | 382 | $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStartNew), toString(boostCoeff), debug], SEP)) | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(i) | |
388 | 388 | func wxEmissionStatsREADONLY () = { | |
389 | 389 | let ONEMULT = toString(MULT8) | |
390 | 390 | let ONE = "1" | |
391 | 391 | let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent()) | |
392 | 392 | let emissionStartBlock = getIntOrFail(emissionDapp, keyEmissionStartBlock()) | |
393 | 393 | let passedBlocks = if ((emissionStartBlock > height)) | |
394 | 394 | then 0 | |
395 | 395 | else (height - emissionStartBlock) | |
396 | 396 | let teamEmDuration = (1440 * 365) | |
397 | 397 | let teamEmMax = (201000000 * MULT8) | |
398 | 398 | let teamEm = if ((passedBlocks > teamEmDuration)) | |
399 | 399 | then teamEmMax | |
400 | 400 | else fraction(teamEmMax, passedBlocks, teamEmDuration) | |
401 | 401 | let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm) | |
402 | 402 | let totalWxLocked = getIntOrZero(boostingDapp, keyBoostingLockParamTotalAmount()) | |
403 | 403 | let locksDurationSumInBlocks = getIntOrZero(boostingDapp, keyBoostingStatsLocksDurationSumInBlocks()) | |
404 | 404 | let locksCount = getIntOrZero(boostingDapp, keyBoostingStatsLocksCount()) | |
405 | 405 | $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP)) | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | ||
410 | 410 | @Callable(i) | |
411 | 411 | func poolStatsREADONLY (lpAsset) = { | |
412 | 412 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset))) | |
413 | 413 | let cfg = { | |
414 | 414 | let @ = invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil) | |
415 | 415 | if ($isInstanceOf(@, "List[Any]")) | |
416 | 416 | then @ | |
417 | 417 | else throw("Couldn't cast Any to List[Any]") | |
418 | 418 | } | |
419 | 419 | let lpAssetId = fromBase58String({ | |
420 | 420 | let @ = cfg[idxPoolLPAssetId] | |
421 | 421 | if ($isInstanceOf(@, "String")) | |
422 | 422 | then @ | |
423 | 423 | else throw("Couldn't cast Any to String") | |
424 | 424 | }) | |
425 | 425 | let amtAssetId = { | |
426 | 426 | let @ = cfg[idxAmtAssetId] | |
427 | 427 | if ($isInstanceOf(@, "String")) | |
428 | 428 | then @ | |
429 | 429 | else throw("Couldn't cast Any to String") | |
430 | 430 | } | |
431 | 431 | let priceAssetId = { | |
432 | 432 | let @ = cfg[idxPriceAssetId] | |
433 | 433 | if ($isInstanceOf(@, "String")) | |
434 | 434 | then @ | |
435 | 435 | else throw("Couldn't cast Any to String") | |
436 | 436 | } | |
437 | 437 | let iAmtAssetId = { | |
438 | 438 | let @ = cfg[idxIAmtAssetId] | |
439 | 439 | if ($isInstanceOf(@, "String")) | |
440 | 440 | then @ | |
441 | 441 | else throw("Couldn't cast Any to String") | |
442 | 442 | } | |
443 | 443 | let iPriceAssetId = { | |
444 | 444 | let @ = cfg[idxIPriceAssetId] | |
445 | 445 | if ($isInstanceOf(@, "String")) | |
446 | 446 | then @ | |
447 | 447 | else throw("Couldn't cast Any to String") | |
448 | 448 | } | |
449 | 449 | let amtAssetDcm = parseIntValue({ | |
450 | 450 | let @ = cfg[idxAmtAssetDcm] | |
451 | 451 | if ($isInstanceOf(@, "String")) | |
452 | 452 | then @ | |
453 | 453 | else throw("Couldn't cast Any to String") | |
454 | 454 | }) | |
455 | 455 | let priceAssetDcm = parseIntValue({ | |
456 | 456 | let @ = cfg[idxPriceAssetDcm] | |
457 | 457 | if ($isInstanceOf(@, "String")) | |
458 | 458 | then @ | |
459 | 459 | else throw("Couldn't cast Any to String") | |
460 | 460 | }) | |
461 | 461 | let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity | |
462 | 462 | let accAmtAssetBalance = { | |
463 | 463 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil) | |
464 | 464 | if ($isInstanceOf(@, "Int")) | |
465 | 465 | then @ | |
466 | 466 | else throw("Couldn't cast Any to Int") | |
467 | 467 | } | |
468 | 468 | let accPriceAssetBalance = { | |
469 | 469 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil) | |
470 | 470 | if ($isInstanceOf(@, "Int")) | |
471 | 471 | then @ | |
472 | 472 | else throw("Couldn't cast Any to Int") | |
473 | 473 | } | |
474 | 474 | let pricesList = if ((poolLPBalance == 0)) | |
475 | 475 | then [zeroBigInt, zeroBigInt, zeroBigInt] | |
476 | 476 | else { | |
477 | 477 | let @ = invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil) | |
478 | 478 | if ($isInstanceOf(@, "List[Any]")) | |
479 | 479 | then @ | |
480 | 480 | else throw("Couldn't cast Any to List[Any]") | |
481 | 481 | } | |
482 | 482 | let curPrice = 0 | |
483 | 483 | let lpAmtAssetShare = { | |
484 | 484 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil) | |
485 | 485 | if ($isInstanceOf(@, "Int")) | |
486 | 486 | then @ | |
487 | 487 | else throw("Couldn't cast Any to Int") | |
488 | 488 | } | |
489 | 489 | let lpPriceAssetShare = { | |
490 | 490 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil) | |
491 | 491 | if ($isInstanceOf(@, "Int")) | |
492 | 492 | then @ | |
493 | 493 | else throw("Couldn't cast Any to Int") | |
494 | 494 | } | |
495 | 495 | let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(toString(poolAddress))) | |
496 | 496 | $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)) | |
497 | 497 | } | |
498 | 498 | ||
499 | 499 | ||
500 | 500 | ||
501 | 501 | @Callable(i) | |
502 | 502 | func poolEvaluatePutByAmountAssetREADONLY (lpAsset,inAmAssetAmt) = { | |
503 | 503 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset))) | |
504 | 504 | let cfg = { | |
505 | 505 | let @ = invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil) | |
506 | 506 | if ($isInstanceOf(@, "List[Any]")) | |
507 | 507 | then @ | |
508 | 508 | else throw("Couldn't cast Any to List[Any]") | |
509 | 509 | } | |
510 | 510 | let lpAssetId = fromBase58String({ | |
511 | 511 | let @ = cfg[idxPoolLPAssetId] | |
512 | 512 | if ($isInstanceOf(@, "String")) | |
513 | 513 | then @ | |
514 | 514 | else throw("Couldn't cast Any to String") | |
515 | 515 | }) | |
516 | 516 | let amAssetIdStr = { | |
517 | 517 | let @ = cfg[idxAmtAssetId] | |
518 | 518 | if ($isInstanceOf(@, "String")) | |
519 | 519 | then @ | |
520 | 520 | else throw("Couldn't cast Any to String") | |
521 | 521 | } | |
522 | 522 | let amAssetId = fromBase58String(amAssetIdStr) | |
523 | 523 | let prAssetIdStr = { | |
524 | 524 | let @ = cfg[idxPriceAssetId] | |
525 | 525 | if ($isInstanceOf(@, "String")) | |
526 | 526 | then @ | |
527 | 527 | else throw("Couldn't cast Any to String") | |
528 | 528 | } | |
529 | 529 | let prAssetId = fromBase58String(prAssetIdStr) | |
530 | 530 | let amtAssetDcm = parseIntValue({ | |
531 | 531 | let @ = cfg[idxAmtAssetDcm] | |
532 | 532 | if ($isInstanceOf(@, "String")) | |
533 | 533 | then @ | |
534 | 534 | else throw("Couldn't cast Any to String") | |
535 | 535 | }) | |
536 | 536 | let priceAssetDcm = parseIntValue({ | |
537 | 537 | let @ = cfg[idxPriceAssetDcm] | |
538 | 538 | if ($isInstanceOf(@, "String")) | |
539 | 539 | then @ | |
540 | 540 | else throw("Couldn't cast Any to String") | |
541 | 541 | }) | |
542 | 542 | let poolStatus = { | |
543 | 543 | let @ = cfg[idxPoolStatus] | |
544 | 544 | if ($isInstanceOf(@, "String")) | |
545 | 545 | then @ | |
546 | 546 | else throw("Couldn't cast Any to String") | |
547 | 547 | } | |
548 | 548 | let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity | |
549 | 549 | let accAmtAssetBalance = { | |
550 | 550 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil) | |
551 | 551 | if ($isInstanceOf(@, "Int")) | |
552 | 552 | then @ | |
553 | 553 | else throw("Couldn't cast Any to Int") | |
554 | 554 | } | |
555 | 555 | let accPriceAssetBalance = { | |
556 | 556 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil) | |
557 | 557 | if ($isInstanceOf(@, "Int")) | |
558 | 558 | then @ | |
559 | 559 | else throw("Couldn't cast Any to Int") | |
560 | 560 | } | |
561 | 561 | let amtAssetAmtX18 = parseBigIntValue({ | |
562 | 562 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [accAmtAssetBalance, amtAssetDcm], nil) | |
563 | 563 | if ($isInstanceOf(@, "String")) | |
564 | 564 | then @ | |
565 | 565 | else throw("Couldn't cast Any to String") | |
566 | 566 | }) | |
567 | 567 | let priceAssetAmtX18 = parseBigIntValue({ | |
568 | 568 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [accPriceAssetBalance, priceAssetDcm], nil) | |
569 | 569 | if ($isInstanceOf(@, "String")) | |
570 | 570 | then @ | |
571 | 571 | else throw("Couldn't cast Any to String") | |
572 | 572 | }) | |
573 | 573 | let curPriceX18 = if ((poolLPBalance == 0)) | |
574 | 574 | then zeroBigInt | |
575 | 575 | else parseBigIntValue({ | |
576 | 576 | let @ = invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(priceAssetAmtX18), toString(amtAssetAmtX18)], nil) | |
577 | 577 | if ($isInstanceOf(@, "String")) | |
578 | 578 | then @ | |
579 | 579 | else throw("Couldn't cast Any to String") | |
580 | 580 | }) | |
581 | 581 | let curPrice = { | |
582 | 582 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil) | |
583 | 583 | if ($isInstanceOf(@, "Int")) | |
584 | 584 | then @ | |
585 | 585 | else throw("Couldn't cast Any to Int") | |
586 | 586 | } | |
587 | 587 | let inAmAssetAmtX18 = parseBigIntValue({ | |
588 | 588 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [inAmAssetAmt, amtAssetDcm], nil) | |
589 | 589 | if ($isInstanceOf(@, "String")) | |
590 | 590 | then @ | |
591 | 591 | else throw("Couldn't cast Any to String") | |
592 | 592 | }) | |
593 | 593 | let inPrAssetAmtX18 = fraction(inAmAssetAmtX18, curPriceX18, MULT18) | |
594 | 594 | let inPrAssetAmt = { | |
595 | 595 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inPrAssetAmtX18), priceAssetDcm], nil) | |
596 | 596 | if ($isInstanceOf(@, "Int")) | |
597 | 597 | then @ | |
598 | 598 | else throw("Couldn't cast Any to Int") | |
599 | 599 | } | |
600 | 600 | let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false, false], nil) | |
601 | 601 | let $t02230622659 = match res { | |
602 | 602 | case _ => | |
603 | 603 | if (if ($isInstanceOf($match0._1, "Int")) | |
604 | 604 | then if ($isInstanceOf($match0._3, "Int")) | |
605 | 605 | then if ($isInstanceOf($match0._4, "Int")) | |
606 | 606 | then if ($isInstanceOf($match0._5, "Int")) | |
607 | 607 | then $isInstanceOf($match0._6, "Int") | |
608 | 608 | else false | |
609 | 609 | else false | |
610 | 610 | else false | |
611 | 611 | else false) | |
612 | 612 | then { | |
613 | 613 | let calcLpAmt = $match0._1 | |
614 | 614 | let curPriceCalc = $match0._3 | |
615 | 615 | let amBalance = $match0._4 | |
616 | 616 | let prBalance = $match0._5 | |
617 | 617 | let lpEmission = $match0._6 | |
618 | 618 | $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission) | |
619 | 619 | } | |
620 | 620 | else throw("Couldn't cast types") | |
621 | 621 | } | |
622 | 622 | let calcLpAmt = $t02230622659._1 | |
623 | 623 | let curPriceCalc = $t02230622659._2 | |
624 | 624 | let amBalance = $t02230622659._3 | |
625 | 625 | let prBalance = $t02230622659._4 | |
626 | 626 | let lpEmission = $t02230622659._5 | |
627 | 627 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(calcLpAmt), toString(curPrice), toString(amBalance), toString(prBalance), toString(lpEmission), poolStatus, toString(inAmAssetAmt), toString(inPrAssetAmt)], SEP)) | |
628 | 628 | } | |
629 | 629 | ||
630 | 630 | ||
631 | 631 | ||
632 | 632 | @Callable(i) | |
633 | 633 | func poolEvaluatePutByPriceAssetREADONLY (lpAsset,inPrAssetAmt) = { | |
634 | 634 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset))) | |
635 | 635 | let cfg = { | |
636 | 636 | let @ = invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil) | |
637 | 637 | if ($isInstanceOf(@, "List[Any]")) | |
638 | 638 | then @ | |
639 | 639 | else throw("Couldn't cast Any to List[Any]") | |
640 | 640 | } | |
641 | 641 | let lpAssetId = fromBase58String({ | |
642 | 642 | let @ = cfg[idxPoolLPAssetId] | |
643 | 643 | if ($isInstanceOf(@, "String")) | |
644 | 644 | then @ | |
645 | 645 | else throw("Couldn't cast Any to String") | |
646 | 646 | }) | |
647 | 647 | let amAssetIdStr = { | |
648 | 648 | let @ = cfg[idxAmtAssetId] | |
649 | 649 | if ($isInstanceOf(@, "String")) | |
650 | 650 | then @ | |
651 | 651 | else throw("Couldn't cast Any to String") | |
652 | 652 | } | |
653 | 653 | let amAssetId = fromBase58String(amAssetIdStr) | |
654 | 654 | let prAssetIdStr = { | |
655 | 655 | let @ = cfg[idxPriceAssetId] | |
656 | 656 | if ($isInstanceOf(@, "String")) | |
657 | 657 | then @ | |
658 | 658 | else throw("Couldn't cast Any to String") | |
659 | 659 | } | |
660 | 660 | let prAssetId = fromBase58String(prAssetIdStr) | |
661 | 661 | let amtAssetDcm = parseIntValue({ | |
662 | 662 | let @ = cfg[idxAmtAssetDcm] | |
663 | 663 | if ($isInstanceOf(@, "String")) | |
664 | 664 | then @ | |
665 | 665 | else throw("Couldn't cast Any to String") | |
666 | 666 | }) | |
667 | 667 | let priceAssetDcm = parseIntValue({ | |
668 | 668 | let @ = cfg[idxPriceAssetDcm] | |
669 | 669 | if ($isInstanceOf(@, "String")) | |
670 | 670 | then @ | |
671 | 671 | else throw("Couldn't cast Any to String") | |
672 | 672 | }) | |
673 | 673 | let poolStatus = { | |
674 | 674 | let @ = cfg[idxPoolStatus] | |
675 | 675 | if ($isInstanceOf(@, "String")) | |
676 | 676 | then @ | |
677 | 677 | else throw("Couldn't cast Any to String") | |
678 | 678 | } | |
679 | 679 | let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity | |
680 | 680 | let amBalanceRaw = { | |
681 | 681 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil) | |
682 | 682 | if ($isInstanceOf(@, "Int")) | |
683 | 683 | then @ | |
684 | 684 | else throw("Couldn't cast Any to Int") | |
685 | 685 | } | |
686 | 686 | let prBalanceRaw = { | |
687 | 687 | let @ = invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil) | |
688 | 688 | if ($isInstanceOf(@, "Int")) | |
689 | 689 | then @ | |
690 | 690 | else throw("Couldn't cast Any to Int") | |
691 | 691 | } | |
692 | 692 | let amBalanceRawX18 = parseBigIntValue({ | |
693 | 693 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [amBalanceRaw, amtAssetDcm], nil) | |
694 | 694 | if ($isInstanceOf(@, "String")) | |
695 | 695 | then @ | |
696 | 696 | else throw("Couldn't cast Any to String") | |
697 | 697 | }) | |
698 | 698 | let prBalanceRawX18 = parseBigIntValue({ | |
699 | 699 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [prBalanceRaw, priceAssetDcm], nil) | |
700 | 700 | if ($isInstanceOf(@, "String")) | |
701 | 701 | then @ | |
702 | 702 | else throw("Couldn't cast Any to String") | |
703 | 703 | }) | |
704 | 704 | let curPriceX18 = if ((poolLPBalance == 0)) | |
705 | 705 | then zeroBigInt | |
706 | 706 | else parseBigIntValue({ | |
707 | 707 | let @ = invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(prBalanceRawX18), toString(amBalanceRawX18)], nil) | |
708 | 708 | if ($isInstanceOf(@, "String")) | |
709 | 709 | then @ | |
710 | 710 | else throw("Couldn't cast Any to String") | |
711 | 711 | }) | |
712 | 712 | let curPrice = { | |
713 | 713 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil) | |
714 | 714 | if ($isInstanceOf(@, "Int")) | |
715 | 715 | then @ | |
716 | 716 | else throw("Couldn't cast Any to Int") | |
717 | 717 | } | |
718 | 718 | let inPrAssetAmtX18 = parseBigIntValue({ | |
719 | 719 | let @ = invoke(poolAddress, "toX18WrapperREADONLY", [inPrAssetAmt, priceAssetDcm], nil) | |
720 | 720 | if ($isInstanceOf(@, "String")) | |
721 | 721 | then @ | |
722 | 722 | else throw("Couldn't cast Any to String") | |
723 | 723 | }) | |
724 | 724 | let inAmAssetAmtX18 = fraction(inPrAssetAmtX18, MULT18, curPriceX18) | |
725 | 725 | let inAmAssetAmt = { | |
726 | 726 | let @ = invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inAmAssetAmtX18), amtAssetDcm], nil) | |
727 | 727 | if ($isInstanceOf(@, "Int")) | |
728 | 728 | then @ | |
729 | 729 | else throw("Couldn't cast Any to Int") | |
730 | 730 | } | |
731 | 731 | let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false, false], nil) | |
732 | 732 | let $t02531625669 = match res { | |
733 | 733 | case _ => | |
734 | 734 | if (if ($isInstanceOf($match0._1, "Int")) | |
735 | 735 | then if ($isInstanceOf($match0._3, "Int")) | |
736 | 736 | then if ($isInstanceOf($match0._4, "Int")) | |
737 | 737 | then if ($isInstanceOf($match0._5, "Int")) | |
738 | 738 | then $isInstanceOf($match0._6, "Int") | |
739 | 739 | else false | |
740 | 740 | else false | |
741 | 741 | else false | |
742 | 742 | else false) | |
743 | 743 | then { | |
744 | 744 | let calcLpAmt = $match0._1 | |
745 | 745 | let curPriceCalc = $match0._3 | |
746 | 746 | let amBalance = $match0._4 | |
747 | 747 | let prBalance = $match0._5 | |
748 | 748 | let lpEmission = $match0._6 | |
749 | 749 | $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission) | |
750 | 750 | } | |
751 | 751 | else throw("Couldn't cast types") | |
752 | 752 | } | |
753 | 753 | let calcLpAmt = $t02531625669._1 | |
754 | 754 | let curPriceCalc = $t02531625669._2 | |
755 | 755 | let amBalance = $t02531625669._3 | |
756 | 756 | let prBalance = $t02531625669._4 | |
757 | 757 | let lpEmission = $t02531625669._5 | |
758 | 758 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(calcLpAmt), toString(curPrice), toString(amBalance), toString(prBalance), toString(lpEmission), poolStatus, toString(inAmAssetAmt), toString(inPrAssetAmt)], SEP)) | |
759 | 759 | } | |
760 | 760 | ||
761 | 761 | ||
762 | 762 | ||
763 | 763 | @Callable(i) | |
764 | 764 | func poolEvaluateGetREADONLY (paymentLpAssetId,paymentLpAmt) = { | |
765 | 765 | let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(paymentLpAssetId))) | |
766 | 766 | let res = invoke(poolAddress, "estimateGetOperationWrapperREADONLY", ["", paymentLpAssetId, paymentLpAmt, toString(poolAddress)], nil) | |
767 | 767 | let $t02636426781 = match res { | |
768 | 768 | case _ => | |
769 | 769 | if (if ($isInstanceOf($match0._1, "Int")) | |
770 | 770 | then if ($isInstanceOf($match0._2, "Int")) | |
771 | 771 | then if ($isInstanceOf($match0._5, "Int")) | |
772 | 772 | then if ($isInstanceOf($match0._6, "Int")) | |
773 | 773 | then if ($isInstanceOf($match0._7, "Int")) | |
774 | 774 | then if ($isInstanceOf($match0._8, "String")) | |
775 | 775 | then $isInstanceOf($match0._9, "String") | |
776 | 776 | else false | |
777 | 777 | else false | |
778 | 778 | else false | |
779 | 779 | else false | |
780 | 780 | else false | |
781 | 781 | else false) | |
782 | 782 | then { | |
783 | 783 | let outAmAmt = $match0._1 | |
784 | 784 | let outPrAmt = $match0._2 | |
785 | 785 | let amBalance = $match0._5 | |
786 | 786 | let prBalance = $match0._6 | |
787 | 787 | let lpEmission = $match0._7 | |
788 | 788 | let curPrice = $match0._8 | |
789 | 789 | let poolStatus = $match0._9 | |
790 | 790 | $Tuple7(outAmAmt, outPrAmt, amBalance, prBalance, lpEmission, curPrice, poolStatus) | |
791 | 791 | } | |
792 | 792 | else throw("Couldn't cast types") | |
793 | 793 | } | |
794 | 794 | let outAmAmt = $t02636426781._1 | |
795 | 795 | let outPrAmt = $t02636426781._2 | |
796 | 796 | let amBalance = $t02636426781._3 | |
797 | 797 | let prBalance = $t02636426781._4 | |
798 | 798 | let lpEmission = $t02636426781._5 | |
799 | 799 | let curPrice = $t02636426781._6 | |
800 | 800 | let poolStatus = $t02636426781._7 | |
801 | 801 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmAmt), toString(outPrAmt), toString(amBalance), toString(prBalance), toString(lpEmission), curPrice, poolStatus], SEP)) | |
802 | 802 | } | |
803 | 803 | ||
804 | 804 | ||
805 | 805 | ||
806 | 806 | @Callable(i) | |
807 | 807 | func gwxUserInfoREADONLY (userAddress) = { | |
808 | 808 | let gwxUserInfoLIST = { | |
809 | 809 | let @ = invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddress], nil) | |
810 | 810 | if ($isInstanceOf(@, "List[Any]")) | |
811 | 811 | then @ | |
812 | 812 | else throw("Couldn't cast Any to List[Any]") | |
813 | 813 | } | |
814 | 814 | let gwxAmount = { | |
815 | 815 | let @ = gwxUserInfoLIST[0] | |
816 | 816 | if ($isInstanceOf(@, "Int")) | |
817 | 817 | then @ | |
818 | 818 | else throw("Couldn't cast Any to Int") | |
819 | 819 | } | |
820 | 820 | $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP)) | |
821 | 821 | } | |
822 | 822 | ||
823 | 823 |
github/deemru/w8io/169f3d6 108.68 ms ◑