tx · 3z7P1qc5ZcgTnHGa2MQyAA53Bf3qKSinMQMbJyNCXyJk

3N5QAcgvpAGzTtSGT2iGZcy6DnRqaLMQLk6:  -0.01000000 Waves

2021.11.24 18:54 [1805335] smart account 3N5QAcgvpAGzTtSGT2iGZcy6DnRqaLMQLk6 > SELF 0.00000000 Waves

{ "type": 13, "id": "3z7P1qc5ZcgTnHGa2MQyAA53Bf3qKSinMQMbJyNCXyJk", "fee": 1000000, "feeAssetId": null, "timestamp": 1637769332916, "version": 1, "sender": "3N5QAcgvpAGzTtSGT2iGZcy6DnRqaLMQLk6", "senderPublicKey": "2F6Xr5hWciNeY5nz7JLvHqGLWVccgu2VNM9NRhoeghWN", "proofs": [ "3LStz1Q7MSDveicErzGPtFaAurFkQy6BH2zWeVt3ryDuzDFkWo6yMKZBXig3zTxdFHYDsUXPzPNBhAJNxd7tyZ4g" ], "script": "base64:AAIFAAAAAAAAACwIAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSAwoBCAAAADwAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5pZHhQb29sQWRkcmVzcwAAAAAAAAAAAQAAAAANaWR4UG9vbFN0YXR1cwAAAAAAAAAAAgAAAAAQaWR4UG9vbExQQXNzZXRJZAAAAAAAAAAAAwAAAAANaWR4QW10QXNzZXRJZAAAAAAAAAAABAAAAAAPaWR4UHJpY2VBc3NldElkAAAAAAAAAAAFAAAAAA5pZHhBbXRBc3NldERjbQAAAAAAAAAABgAAAAAQaWR4UHJpY2VBc3NldERjbQAAAAAAAAAABwAAAAAOaWR4SUFtdEFzc2V0SWQAAAAAAAAAAAgAAAAAEGlkeElQcmljZUFzc2V0SWQAAAAAAAAAAAkAAAAADWlkeExQQXNzZXREY20AAAAAAAAAAAoBA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AQYm9vc3RpbmdDb250cmFjdAkBAAAAGGdldEJvb3N0aW5nQWRkcmVzc09yRmFpbAAAAAEFAAAACmZhY3RvcnlDZmcEAAAAD2d3eFVzZXJJbmZvTElTVAMJAAABAAAAAgkAA/wAAAAEBQAAABBib29zdGluZ0NvbnRyYWN0AgAAABNnd3hVc2VySW5mb1JFQURPTkxZCQAETAAAAAIFAAAAC3VzZXJBZGRyZXNzBQAAAANuaWwFAAAAA25pbAIAAAAJTGlzdFtBbnldCQAD/AAAAAQFAAAAEGJvb3N0aW5nQ29udHJhY3QCAAAAE2d3eFVzZXJJbmZvUkVBRE9OTFkJAARMAAAAAgUAAAALdXNlckFkZHJlc3MFAAAAA25pbAUAAAADbmlsCQAAAgAAAAECAAAAHkNvdWxkbid0IGNhc3QgQW55IHRvIExpc3RbQW55XQQAAAAJZ3d4QW1vdW50AwkAAAEAAAACCQABkQAAAAIFAAAAD2d3eFVzZXJJbmZvTElTVAAAAAAAAAAAAAIAAAADSW50CQABkQAAAAIFAAAAD2d3eFVzZXJJbmZvTElTVAAAAAAAAAAAAAkAAAIAAAABAgAAABhDb3VsZG4ndCBjYXN0IEFueSB0byBJbnQJAAUUAAAAAgUAAAADbmlsCQAEuQAAAAIJAARMAAAAAgIAAAACJWQJAARMAAAAAgkAAaQAAAABBQAAAAlnd3hBbW91bnQFAAAAA25pbAUAAAADU0VQAAAAAI5FhlU=", "chainId": 84, "height": 1805335, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 76EkAryJFqp7KyskdJqxGePJqH9ho36gcSiXEjPZJBMh Next: CoCAL2sMmXPuuGCoWFtBnrGBpCh9JAaBDfre6kGd4m4L Diff:
OldNewDifferences
263263 let SCALE = 1000
264264 let wxAmount = (lockedAmount + deltaWxAmount)
265265 let lockDurationBlocks = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks])
266- let wxAmountStart = fraction(wxAmount, lockDurationBlocks, maxLockDurationInBlocks)
266+ let coeffX8 = fraction(lockDurationBlocks, MULT8, maxLockDurationInBlocks)
267+ let wxAmountStart = fraction(wxAmount, coeffX8, MULT8)
267268 let lockEndHeight = (height + lockDurationBlocks)
268269 let scale8ParamK = -(fraction(wxAmountStart, SCALE, lockDurationBlocks))
269270 let scale8ParamB = (fraction(wxAmountStart, SCALE, lockDurationBlocks) * lockEndHeight)
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 keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
145145
146146
147147 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
148148
149149
150150 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
151151
152152
153153 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
154154
155155
156156 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
157157
158158
159159 func internalCurrentRewardRate (factoryContract,stakingContract,emissionContract,lpAssetId) = {
160160 let poolAddressStr = getStringByAddressOrFail(factoryContract, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
161161 let poolWeightMult = MULT8
162162 let poolWeight = getIntegerValue(factoryContract, keyFactoryPoolWeight(poolAddressStr))
163163 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
164164 let wxEmissionPerBlockMax = getIntOrFail(emissionContract, keyEmissionRatePerBlockMaxCurrent())
165165 let poolWxEmissionPerBlock = fraction(wxEmissionPerBlock, poolWeight, poolWeightMult)
166166 let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult)
167167 let maxFactor = (3 * MULT8)
168168 let totalLpStaked = getIntOrZero(stakingContract, keyStakedTotal(lpAssetId))
169169 [poolWxEmissionPerBlock, maxFactor, totalLpStaked]
170170 }
171171
172172
173173 @Callable(i)
174174 func constructor (factoryAddress) = if ((i.caller != this))
175175 then throw("not authorized")
176176 else [StringEntry(keyFactoryAddress(), factoryAddress)]
177177
178178
179179
180180 @Callable(i)
181181 func currentRewardRateREADONLY (lpAssetId) = {
182182 let factoryContract = readFactoryAddressOrFail()
183183 let factoryCfg = readFactoryCfgOrFail(factoryContract)
184184 let stakingContract = getStakingAddressOrFail(factoryCfg)
185185 let emissionContract = getEmissionAddressOrFail(factoryCfg)
186186 let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId)
187187 let wxEmissionPerBlock = rewardData[0]
188188 let maxFactor = rewardData[1]
189189 let totalLpStaked = rewardData[2]
190190 $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP))
191191 }
192192
193193
194194
195195 @Callable(i)
196196 func currentUserRewardRateREADONLY (lpAssetId,userAddress) = {
197197 let factoryContract = readFactoryAddressOrFail()
198198 let factoryCfg = readFactoryCfgOrFail(factoryContract)
199199 let stakingContract = getStakingAddressOrFail(factoryCfg)
200200 let emissionContract = getEmissionAddressOrFail(factoryCfg)
201201 let rewardData = internalCurrentRewardRate(factoryContract, stakingContract, emissionContract, lpAssetId)
202202 let wxEmissionPerBlock = rewardData[0]
203203 let maxFactor = rewardData[1]
204204 let totalLpStaked = rewardData[2]
205205 let lpStakedByUser = getIntOrZero(stakingContract, keyStakedByUser(userAddress, lpAssetId))
206206 let boostingPower = (1 * MULT8)
207207 $Tuple2(nil, makeString(["%d%d%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower)], SEP))
208208 }
209209
210210
211211
212212 @Callable(i)
213213 func claimedRewardREADONLY (userAddress) = {
214214 let lpList = readLpList()
215215 let prefix = "%s%d%d%d%s"
216216 func claimedRewardByLpAggregator (resultStr,nextLp) = {
217217 let rand = ((toInt(fromBase58String(nextLp)) % 100000) + (toInt(toBytes(userAddress)) % 100000))
218218 let absRand = if ((0 > rand))
219219 then -(rand)
220220 else rand
221221 let val = (((absRand % 100) * MULT8) + (absRand * (MULT8 / 100000)))
222222 let minRewardClaimed = ((val / 6) * 2)
223223 let boostRewardClaimed = ((val / 6) * 3)
224224 let gFeeClaimed = (val / 6)
225225 makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP)
226226 }
227227
228228 let result = {
229229 let $l = lpList
230230 let $s = size($l)
231231 let $acc0 = "%s"
232232 func 1 ($a,$i) = if (($i >= $s))
233233 then $a
234234 else claimedRewardByLpAggregator($a, $l[$i])
235235
236236 func 2 ($a,$i) = if (($i >= $s))
237237 then $a
238238 else throw("List size exceeds 10")
239239
240240 2(1(1(1(1(1(1(1(1(1(1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
241241 }
242242 $Tuple2(nil, ((result + SEP) + userAddress))
243243 }
244244
245245
246246
247247 @Callable(i)
248248 func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = {
249249 let factoryContract = readFactoryAddressOrFail()
250250 let factoryCfg = readFactoryCfgOrFail(factoryContract)
251251 let boostingContract = getBoostingAddressOrFail(factoryCfg)
252252 let EMPTYSTR = "empty"
253253 let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingContract, keyBoostCfg()), SEP)[4])
254254 let userNum = valueOrElse(getString(boostingContract, keyUser2NumMapping(userAddressOpt)), EMPTYSTR)
255255 let lockedAmount = valueOrElse(getInteger(boostingContract, keyLockParamUserAmount(userNum)), 0)
256256 let duration = valueOrElse(getInteger(boostingContract, keyLockParamDuration(userNum)), 0)
257257 let startBlock = valueOrElse(getInteger(boostingContract, keyLockParamStartBlock(userNum)), height)
258258 let endBlock = (startBlock + duration)
259259 let remainingDuration = max([(endBlock - height), 0])
260260 let boost = if ((userAddressOpt != ""))
261261 then (3 * MULT8)
262262 else (1 * MULT8)
263263 let SCALE = 1000
264264 let wxAmount = (lockedAmount + deltaWxAmount)
265265 let lockDurationBlocks = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks])
266- let wxAmountStart = fraction(wxAmount, lockDurationBlocks, maxLockDurationInBlocks)
266+ let coeffX8 = fraction(lockDurationBlocks, MULT8, maxLockDurationInBlocks)
267+ let wxAmountStart = fraction(wxAmount, coeffX8, MULT8)
267268 let lockEndHeight = (height + lockDurationBlocks)
268269 let scale8ParamK = -(fraction(wxAmountStart, SCALE, lockDurationBlocks))
269270 let scale8ParamB = (fraction(wxAmountStart, SCALE, lockDurationBlocks) * lockEndHeight)
270271 let gWxAmount = (((scale8ParamK * height) + scale8ParamB) / SCALE)
271272 $Tuple2(nil, makeString(["%d%d", toString(gWxAmount), toString(boost)], SEP))
272273 }
273274
274275
275276
276277 @Callable(i)
277278 func wxEmissionStatsREADONLY () = {
278279 let ONEMULT = toString(MULT8)
279280 let ONE = "1"
280281 let factoryContract = readFactoryAddressOrFail()
281282 let factoryCfg = readFactoryCfgOrFail(factoryContract)
282283 let boostingContract = getBoostingAddressOrFail(factoryCfg)
283284 let emissionContract = getEmissionAddressOrFail(factoryCfg)
284285 let wxEmissionPerBlock = getIntOrFail(emissionContract, keyEmissionRatePerBlockCurrent())
285286 let emissionStartBlock = getIntOrFail(emissionContract, keyEmissionStartBlock())
286287 let passedBlocks = if ((emissionStartBlock > height))
287288 then 0
288289 else (height - emissionStartBlock)
289290 let teamEmDuration = (1440 * 365)
290291 let teamEmMax = (201000000 * MULT8)
291292 let teamEm = if ((passedBlocks > teamEmDuration))
292293 then teamEmMax
293294 else fraction(teamEmMax, passedBlocks, teamEmDuration)
294295 let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm)
295296 let totalWxLocked = getIntOrZero(boostingContract, keyBoostingLockParamTotalAmount())
296297 let locksDurationSumInBlocks = getIntOrZero(boostingContract, keyBoostingStatsLocksDurationSumInBlocks())
297298 let locksCount = getIntOrZero(boostingContract, keyBoostingStatsLocksCount())
298299 $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP))
299300 }
300301
301302
302303
303304 @Callable(i)
304305 func lpStatsREADONLY (lpAsset) = {
305306 let factoryAddress = readFactoryAddressOrFail()
306307 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryAddress, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
307308 let cfg = if ($isInstanceOf(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil), "List[Any]"))
308309 then invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil)
309310 else throw("Couldn't cast Any to List[Any]")
310311 let lpAssetId = fromBase58String(if ($isInstanceOf(cfg[idxPoolLPAssetId], "String"))
311312 then cfg[idxPoolLPAssetId]
312313 else throw("Couldn't cast Any to String"))
313314 let amtAssetId = if ($isInstanceOf(cfg[idxAmtAssetId], "String"))
314315 then cfg[idxAmtAssetId]
315316 else throw("Couldn't cast Any to String")
316317 let priceAssetId = if ($isInstanceOf(cfg[idxPriceAssetId], "String"))
317318 then cfg[idxPriceAssetId]
318319 else throw("Couldn't cast Any to String")
319320 let iAmtAssetId = if ($isInstanceOf(cfg[idxIAmtAssetId], "String"))
320321 then cfg[idxIAmtAssetId]
321322 else throw("Couldn't cast Any to String")
322323 let iPriceAssetId = if ($isInstanceOf(cfg[idxIPriceAssetId], "String"))
323324 then cfg[idxIPriceAssetId]
324325 else throw("Couldn't cast Any to String")
325326 let amtAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxAmtAssetDcm], "String"))
326327 then cfg[idxAmtAssetDcm]
327328 else throw("Couldn't cast Any to String"))
328329 let priceAssetDcm = parseIntValue(if ($isInstanceOf(cfg[idxPriceAssetDcm], "String"))
329330 then cfg[idxPriceAssetDcm]
330331 else throw("Couldn't cast Any to String"))
331332 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
332333 let accAmtAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil), "Int"))
333334 then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil)
334335 else throw("Couldn't cast Any to Int")
335336 let accPriceAssetBalance = if ($isInstanceOf(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil), "Int"))
336337 then invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil)
337338 else throw("Couldn't cast Any to Int")
338339 let pricesList = if ($isInstanceOf(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil), "List[Any]"))
339340 then invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil)
340341 else throw("Couldn't cast Any to List[Any]")
341342 let curPrice = 0
342343 let lpAmtAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil), "Int"))
343344 then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil)
344345 else throw("Couldn't cast Any to Int")
345346 let lpPriceAssetShare = if ($isInstanceOf(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil), "Int"))
346347 then invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil)
347348 else throw("Couldn't cast Any to Int")
348349 let poolWeight = getIntegerValue(factoryAddress, keyFactoryPoolWeight(toString(poolAddress)))
349350 $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))
350351 }
351352
352353
353354
354355 @Callable(i)
355356 func gwxUserInfoREADONLY (userAddress) = {
356357 let factoryContract = readFactoryAddressOrFail()
357358 let factoryCfg = readFactoryCfgOrFail(factoryContract)
358359 let boostingContract = getBoostingAddressOrFail(factoryCfg)
359360 let gwxUserInfoLIST = if ($isInstanceOf(invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil), "List[Any]"))
360361 then invoke(boostingContract, "gwxUserInfoREADONLY", [userAddress], nil)
361362 else throw("Couldn't cast Any to List[Any]")
362363 let gwxAmount = if ($isInstanceOf(gwxUserInfoLIST[0], "Int"))
363364 then gwxUserInfoLIST[0]
364365 else throw("Couldn't cast Any to Int")
365366 $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP))
366367 }
367368
368369

github/deemru/w8io/169f3d6 
49.36 ms