tx · QQWZN9wrsZVV8xQbUFRyQRg7SibZZVnXunGngfRUh19

3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp:  -0.01000000 Waves

2021.11.25 18:20 [1806741] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves

{ "type": 13, "id": "QQWZN9wrsZVV8xQbUFRyQRg7SibZZVnXunGngfRUh19", "fee": 1000000, "feeAssetId": null, "timestamp": 1637853731530, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "5W2D3rb6SBAYfh2UZhTC8j2NbTVX6hhD8gqrd5hAoJyEzxVcj1Wim8ThzS4L5FuyPV3mjaACSN9TGv4v1HESbeg" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSAwoBCAAAAD8AAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAANaWR4UG9vbFN0YXR1cwAAAAAAAAAAAgAAAAAQaWR4UG9vbExQQXNzZXRJZAAAAAAAAAAAAwAAAAANaWR4QW10QXNzZXRJZAAAAAAAAAAABAAAAAAPaWR4UHJpY2VBc3NldElkAAAAAAAAAAAFAAAAAA5pZHhBbXRBc3NldERjbQAAAAAAAAAABgAAAAAQaWR4UHJpY2VBc3NldERjbQAAAAAAAAAABwAAAAAOaWR4SUFtdEFzc2V0SWQAAAAAAAAAAAgAAAAAEGlkeElQcmljZUFzc2V0SWQAAAAAAAAAAAkAAAAADWlkeExQQXNzZXREY20AAAAAAAAAAAoBAAAAD2dldFN0cmluZ09yR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gUAAAALdXNlckFkZHJlc3MFAAAAA25pbAUAAAADbmlsAgAAAAlMaXN0W0FueV0JAAP8AAAABAUAAAAQYm9vc3RpbmdDb250cmFjdAIAAAATZ3d4VXNlckluZm9SRUFET05MWQkABEwAAAACBQAAAAt1c2VyQWRkcmVzcwUAAAADbmlsBQAAAANuaWwJAAACAAAAAQIAAAAeQ291bGRuJ3QgY2FzdCBBbnkgdG8gTGlzdFtBbnldBAAAAAlnd3hBbW91bnQDCQAAAQAAAAIJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAAAgAAAANJbnQJAAGRAAAAAgUAAAAPZ3d4VXNlckluZm9MSVNUAAAAAAAAAAAACQAAAgAAAAECAAAAGENvdWxkbid0IGNhc3QgQW55IHRvIEludAkABRQAAAACBQAAAANuaWwJAAS5AAAAAgkABEwAAAACAgAAAAIlZAkABEwAAAACCQABpAAAAAEFAAAACWd3eEFtb3VudAUAAAADbmlsBQAAAANTRVAAAAAATdfgZw==", "chainId": 84, "height": 1806741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Eb6V4CcARdSdjDhskZD1VHFC5ZoqryNgax11Z41N61a4 Next: 5AfqGhPdmUoZRUg3gK2jdYzHPb95gtSppa9aqJEUSsyX Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let SCALE8 = 8
55
66 let MULT8 = 100000000
77
88 let SCALE18 = 18
99
1010 let MULT18 = toBigInt(1000000000000000000)
1111
1212 let SEP = "__"
1313
1414 let idxPoolAddress = 1
1515
1616 let idxPoolStatus = 2
1717
1818 let idxPoolLPAssetId = 3
1919
2020 let idxAmtAssetId = 4
2121
2222 let idxPriceAssetId = 5
2323
2424 let idxAmtAssetDcm = 6
2525
2626 let idxPriceAssetDcm = 7
2727
2828 let idxIAmtAssetId = 8
2929
3030 let idxIPriceAssetId = 9
3131
3232 let idxLPAssetDcm = 10
3333
3434 func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined"))
3535
3636
3737 func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined"))
3838
3939
4040 func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0)
4141
4242
4343 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined"))
4444
4545
4646 func keyFactoryAddress () = "%s%s__config__factoryAddress"
4747
4848
4949 let IdxFactoryCfgStakingDapp = 1
5050
5151 let IdxFactoryCfgBoostingDapp = 2
5252
5353 let IdxFactoryCfgIdoDapp = 3
5454
5555 let IdxFactoryCfgTeamDapp = 4
5656
5757 let IdxFactoryCfgEmissionDapp = 5
5858
5959 let IdxFactoryCfgRestDapp = 6
6060
6161 let IdxFactoryCfgSlippageDapp = 7
6262
6363 func keyFactoryCfg () = "%s__factoryConfig"
6464
6565
6666 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
6767
6868
6969 func keyFactoryLpList () = "%s__lpTokensList"
7070
7171
7272 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
7373
7474
7575 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
7676
7777
7878 func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress()))
7979
8080
8181 func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP)
8282
8383
8484 func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP)
8585
8686
8787 func getBoostingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgBoostingDapp])
8888
8989
9090 func getEmissionAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgEmissionDapp])
9191
9292
9393 func getStakingAddressOrFail (factoryCfg) = addressFromStringValue(factoryCfg[IdxFactoryCfgStakingDapp])
9494
9595
9696 func keyBoostCfg () = "%s__config"
9797
9898
9999 func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked"
100100
101101
102102 func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks"
103103
104104
105105 func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount"
106106
107107
108108 func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount"
109109
110110
111111 func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP)
112112
113113
114114 func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP)
115115
116116
117117 func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP)
118118
119119
120120 func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP)
121121
122122
123123 func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP)
124124
125125
126126 func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP)
127127
128128
129129 func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP)
130130
131131
132132 func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP)
133133
134134
135135 func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP)
136136
137137
138138 func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP)
139139
140140
141141 func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr)
142142
143143
144144 func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP)
145145
146146
147147 func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP)
148148
149149
150150 func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP)
151151
152152
153153 func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
154154
155155
156156 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
157157
158158
159159 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
160160
161161
162162 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
163163
164164
165165 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
166166
167167
168168 func internalCurrentRewardRate (factoryContract,stakingContract,emissionContract,lpAssetId) = {
169169 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
170170 let poolWeightMult = MULT8
171171 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
172172 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
173173 let wxEmissionPerBlockMax = getIntOrFail(emissionContract, keyEmissionRatePerBlockMaxCurrent())
174174 let poolWxEmissionPerBlock = fraction(wxEmissionPerBlock, poolWeight, poolWeightMult)
175175 let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult)
176176 let maxFactor = (3 * MULT8)
177177 let totalLpStaked = getIntOrZero(stakingContract, keyStakedTotal(lpAssetId))
178178 [poolWxEmissionPerBlock, maxFactor, totalLpStaked]
179179 }
180180
181181
182182 @Callable(i)
183183 func constructor (factoryAddress) = if ((i.caller != this))
184184 then throw("not authorized")
185185 else [StringEntry(keyFactoryAddress(), factoryAddress)]
186186
187187
188188
189189 @Callable(i)
190190 func currentRewardRateREADONLY (lpAssetId) = {
191191 let factoryContract = readFactoryAddressOrFail()
192192 let factoryCfg = readFactoryCfgOrFail(factoryContract)
193193 let stakingContract = getStakingAddressOrFail(factoryCfg)
194194 let emissionContract = getEmissionAddressOrFail(factoryCfg)
195195 let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId)
196196 let wxEmissionPerBlock = rewardData[0]
197197 let maxFactor = rewardData[1]
198198 let totalLpStaked = rewardData[2]
199199 $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP))
200200 }
201201
202202
203203
204204 @Callable(i)
205205 func currentUserRewardRateREADONLY (lpAssetId,userAddress) = {
206206 let factoryContract = readFactoryAddressOrFail()
207207 let factoryCfg = readFactoryCfgOrFail(factoryContract)
208208 let stakingContract = getStakingAddressOrFail(factoryCfg)
209209 let emissionContract = getEmissionAddressOrFail(factoryCfg)
210210 let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId)
211211 let wxEmissionPerBlock = rewardData[0]
212212 let maxFactor = rewardData[1]
213213 let totalLpStaked = rewardData[2]
214214 let lpStakedByUser = getIntOrZero(stakingContract, keyStakedByUser(userAddress, lpAssetId))
215215 let boostingPower = (1 * MULT8)
216216 $Tuple2(nil, makeString(["%d%d%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower)], SEP))
217217 }
218218
219219
220220
221221 @Callable(i)
222222 func claimedRewardREADONLY (userAddress) = {
223223 let factoryContract = readFactoryAddressOrFail()
224224 let factoryCfg = readFactoryCfgOrFail(factoryContract)
225225 let stakingContract = getStakingAddressOrFail(factoryCfg)
226226 let lpList = readLpList()
227227 let prefix = "%s%d%d%d%s"
228228 func claimedRewardByLpAggregator (resultStr,nextLp) = {
229229 let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress)
230230 let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress)
231231 let minRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserMinRewardKEY), 0)
232232 let boostRewardClaimed = valueOrElse(getInteger(stakingContract, claimedByUserBoostRewardKEY), 0)
233233 let gFeeClaimed = 0
234234 makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP)
235235 }
236236
237237 let result = {
238238 let $l = lpList
239239 let $s = size($l)
240240 let $acc0 = "%s"
241241 func 1 ($a,$i) = if (($i >= $s))
242242 then $a
243243 else claimedRewardByLpAggregator($a, $l[$i])
244244
245245 func 2 ($a,$i) = if (($i >= $s))
246246 then $a
247247 else throw("List size exceeds 10")
248248
249249 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
250250 }
251251 $Tuple2(nil, ((result + SEP) + userAddress))
252252 }
253253
254254
255255
256256 @Callable(i)
257257 func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = {
258258 let factoryContract = readFactoryAddressOrFail()
259259 let factoryCfg = readFactoryCfgOrFail(factoryContract)
260260 let boostingContract = getBoostingAddressOrFail(factoryCfg)
261261 let EMPTYSTR = "empty"
262262 let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingContract, keyBoostCfg()), SEP)[4])
263263 let userNum = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR)
264264 let userAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNum)), 0)
265265 let lockStart = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNum)), height)
266266 let lockDuration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNum)), 0)
267267 let lockEnd = (lockStart + lockDuration)
268268 let remainingDuration = max([(lockEnd - height), 0])
269269 let boost = if ((userAddressOpt != ""))
270270 then (3 * MULT8)
271271 else (1 * MULT8)
272272 let SCALE = 1000
273273 let userAmountNew = (userAmount + deltaWxAmount)
274274 let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks])
275275 let coeffX8 = fraction(lockDurationNew, MULT8, maxLockDurationInBlocks)
276276 let wxAmountStart = fraction(userAmountNew, coeffX8, MULT8)
277277 let lockEndHeight = (height + lockDurationNew)
278278 let scale8ParamK = -(fraction(wxAmountStart, SCALE, lockDurationNew))
279279 let scale8ParamB = (fraction(wxAmountStart, SCALE, lockDurationNew) * lockEndHeight)
280280 let gWxAmount = (((scale8ParamK * height) + scale8ParamB) / SCALE)
281281 $Tuple2(nil, makeString(["%d%d", toString(gWxAmount), toString(boost)], SEP))
282282 }
283283
284284
285285
286286 @Callable(i)
287287 func wxEmissionStatsREADONLY () = {
288288 let ONEMULT = toString(MULT8)
289289 let ONE = "1"
290290 let factoryContract = readFactoryAddressOrFail()
291291 let factoryCfg = readFactoryCfgOrFail(factoryContract)
292292 let boostingContract = getBoostingAddressOrFail(factoryCfg)
293293 let emissionContract = getEmissionAddressOrFail(factoryCfg)
294294 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
295295 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
296296 let passedBlocks = if ((emissionStartBlock > height))
297297 then 0
298298 else (height - emissionStartBlock)
299299 let teamEmDuration = (1440 * 365)
300300 let teamEmMax = (201000000 * MULT8)
301301 let teamEm = if ((passedBlocks > teamEmDuration))
302302 then teamEmMax
303303 else fraction(teamEmMax, passedBlocks, teamEmDuration)
304304 let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm)
305305 let totalWxLocked = getIntOrZero(boostingContract, keyBoostingLockParamTotalAmount())
306306 let locksDurationSumInBlocks = getIntOrZero(boostingContract, keyBoostingStatsLocksDurationSumInBlocks())
307307 let locksCount = getIntOrZero(boostingContract, keyBoostingStatsLocksCount())
308308 $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP))
309309 }
310310
311311
312312
313313 @Callable(i)
314314 func lpStatsREADONLY (lpAsset) = {
315315 let factoryAddress = readFactoryAddressOrFail()
316316 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryAddress, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
317317 let cfg = if ($isInstanceOf(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil), "List[Any]"))
318318 then invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil)
319319 else throw("Couldn't cast Any to List[Any]")
320320 let lpAssetId = fromBase58String(if ($isInstanceOf(cfg[idxPoolLPAssetId], "String"))
321321 then cfg[idxPoolLPAssetId]
322322 else throw("Couldn't cast Any to String"))
323323 let amtAssetId = if ($isInstanceOf(cfg[idxAmtAssetId], "String"))
324324 then cfg[idxAmtAssetId]
325325 else throw("Couldn't cast Any to String")
326326 let priceAssetId = if ($isInstanceOf(cfg[idxPriceAssetId], "String"))
327327 then cfg[idxPriceAssetId]
328328 else throw("Couldn't cast Any to String")
329329 let iAmtAssetId = if ($isInstanceOf(cfg[idxIAmtAssetId], "String"))
330330 then cfg[idxIAmtAssetId]
331331 else throw("Couldn't cast Any to String")
332332 let iPriceAssetId = if ($isInstanceOf(cfg[idxIPriceAssetId], "String"))
333333 then cfg[idxIPriceAssetId]
334334 else throw("Couldn't cast Any to String")
335335 let amtAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxAmtAssetDcm], "String"))
336336 then cfg[idxAmtAssetDcm]
337337 else throw("Couldn't cast Any to String"))
338338 let priceAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxPriceAssetDcm], "String"))
339339 then cfg[idxPriceAssetDcm]
340340 else throw("Couldn't cast Any to String"))
341341 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
342342 let accAmtAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil), "Int"))
343343 then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil)
344344 else throw("Couldn't cast Any to Int")
345345 let accPriceAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil), "Int"))
346346 then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil)
347347 else throw("Couldn't cast Any to Int")
348348 let pricesList = if ($isInstanceOf(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil), "List[Any]"))
349349 then invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil)
350350 else throw("Couldn't cast Any to List[Any]")
351351 let curPrice = 0
352352 let lpAmtAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil), "Int"))
353353 then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil)
354354 else throw("Couldn't cast Any to Int")
355355 let lpPriceAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil), "Int"))
356356 then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil)
357357 else throw("Couldn't cast Any to Int")
358358 let poolWeight = getIntegerValue(factoryAddress, keyFactoryPoolWeight(toString(poolAddress)))
359359 $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))
360360 }
361361
362362
363363
364364 @Callable(i)
365365 func gwxUserInfoREADONLY (userAddress) = {
366366 let factoryContract = readFactoryAddressOrFail()
367367 let factoryCfg = readFactoryCfgOrFail(factoryContract)
368368 let boostingContract = getBoostingAddressOrFail(factoryCfg)
369369 let gwxUserInfoLIST = if ($isInstanceOf(invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil), "List[Any]"))
370370 then invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil)
371371 else throw("Couldn't cast Any to List[Any]")
372372 let gwxAmount = if ($isInstanceOf(gwxUserInfoLIST[0], "Int"))
373373 then gwxUserInfoLIST[0]
374374 else throw("Couldn't cast Any to Int")
375375 $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP))
376376 }
377377
378378

github/deemru/w8io/026f985 
47.56 ms