tx · GrasoRecNMD6zX6jwkTDRe5mEWhQ3jrQ2Fk7LviCNEbM

3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp:  -0.03000000 Waves

2022.07.19 16:39 [2146712] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves

{ "type": 13, "id": "GrasoRecNMD6zX6jwkTDRe5mEWhQ3jrQ2Fk7LviCNEbM", "fee": 3000000, "feeAssetId": null, "timestamp": 1658238001649, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "4yVRey7HM3C8LnszJPo9VxD5SLLegUKqV6NWRDNis1QH9Nzqbdyt4a4zJMjMkjwWN5wBewaepWTgzNNUqCH1bRVy" ], "script": "base64:BgJZCAISAwoBCBIDCgEIEgQKAggIEgMKAQgSCQoHARERERgIGBIHCgUREREYCBIHCgUBAQEICBIAEgMKAQgSBAoCCAESBAoCCAESBAoCCAESAwoBCBIDCgEIEgBZAAZTQ0FMRTgACAAFTVVMVDgAgMLXLwAHU0NBTEUxOAASAAZNVUxUMTgJALYCAQCAgJC7utat8A0AA1NFUAICX18ADlBPT0xXRUlHSFRNVUxUBQVNVUxUOAAKemVyb0JpZ0ludAkAtgIBAAAADmlkeFBvb2xBZGRyZXNzAAEADWlkeFBvb2xTdGF0dXMAAgAQaWR4UG9vbExQQXNzZXRJZAADAA1pZHhBbXRBc3NldElkAAQAD2lkeFByaWNlQXNzZXRJZAAFAA5pZHhBbXRBc3NldERjbQAGABBpZHhQcmljZUFzc2V0RGNtAAcADmlkeElBbXRBc3NldElkAAgAEGlkeElQcmljZUFzc2V0SWQACQANaWR4TFBBc3NldERjbQAKAQ9nZXRTdHJpbmdPckZhaWwBA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCiCAEFA2tleQkArAICCQCsAgICD21hbmRhdG9yeSB0aGlz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WFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQEOY29uZmlybU1hbmFnZXIABAJwbQkBHXBlbmRpbmdNYW5hZ2VyUHVibGljS2V5T3JVbml0AAQFaGFzUE0DCQEJaXNEZWZpbmVkAQUCcG0GCQACAQISTm8gcGVuZGluZyBtYW5hZ2VyAwkAAAIFBWhhc1BNBQVoYXNQTQQHY2hlY2tQTQMJAAACCAUBaQ9jYWxsZXJQdWJsaWNLZXkJAQV2YWx1ZQEFAnBtBgkAAgECG1lvdSBhcmUgbm90IHBlbmRpbmcgbWFuYWdlcgMJAAACBQdjaGVja1BNBQdjaGVja1BNCQDMCAIJAQtTdHJpbmdFbnRyeQIJARNrZXlNYW5hZ2VyUHVibGljS2V5AAkA2AQBCQEFdmFsdWUBBQJwbQkAzAgCCQELRGVsZXRlRW50cnkBCQEaa2V5UGVuZGluZ01hbmFnZXJQdWJsaWNLZXkABQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXlCiYZP", "chainId": 84, "height": 2146712, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9RTPBYz77PqwoPxa2DxJxHfLydGmshT6fQ2qzTfaG2hh Next: 7Th8QPrMcZe1NZYpuFz4gFFsb6GTQDF3rHDbhsxPn5BW Diff:
OldNewDifferences
369369
370370
371371 @Callable(i)
372-func calcBoostBulkInternalREADONLY (currentIter,deltaWxAmountBulk,deltaLockPeriodInBlocksBulk,deltaLpAmountBulk,lpAssetIdOptBulk,userAddressOptBulk,resAcc) = if ((currentIter == size(deltaWxAmountBulk)))
372+func calcBoostBulkInternalREADONLY (currentIter,deltaWxAmountBulk,deltaLockPeriodInBlocksBulk,deltaLpAmountBulk,lpAssetIdOptBulk,userAddressOpt,resAcc) = if ((currentIter == size(deltaWxAmountBulk)))
373373 then $Tuple2(nil, resAcc)
374374 else {
375375 let deltaWxAmount = deltaWxAmountBulk[currentIter]
376376 let deltaLockPeriodInBlocks = deltaLockPeriodInBlocksBulk[currentIter]
377377 let deltaLpAmount = deltaLpAmountBulk[currentIter]
378378 let lpAssetIdOpt = lpAssetIdOptBulk[currentIter]
379- let userAddressOpt = userAddressOptBulk[currentIter]
380379 let info = {
381380 let @ = invoke(this, "calcBoostREADONLY", [deltaWxAmount, deltaLockPeriodInBlocks, deltaLpAmount, lpAssetIdOpt, userAddressOpt], nil)
382381 if ($isInstanceOf(@, "String"))
385384 }
386385 let res = (resAcc :+ info)
387386 let inv = {
388- let @ = invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOptBulk, res], nil)
387+ let @ = invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOpt, res], nil)
389388 if ($isInstanceOf(@, "List[Any]"))
390389 then @
391- else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOptBulk, res], nil)) + " couldn't be cast to List[Any]"))
390+ else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOpt, res], nil)) + " couldn't be cast to List[Any]"))
392391 }
393392 if ((inv == inv))
394393 then $Tuple2(nil, inv)
540539 let inPrAssetAmtX18 = fraction(inAmAssetAmtX18, curPriceX18, MULT18)
541540 let inPrAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inPrAssetAmtX18), priceAssetDcm], nil))
542541 let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
543- let $t02300923362 = match res {
542+ let $t02293423287 = match res {
544543 case _ =>
545544 if (if (if ($isInstanceOf($match0._1, "Int"))
546545 then if ($isInstanceOf($match0._3, "Int"))
563562 }
564563 else throw("Couldn't cast types")
565564 }
566- let calcLpAmt = $t02300923362._1
567- let curPriceCalc = $t02300923362._2
568- let amBalance = $t02300923362._3
569- let prBalance = $t02300923362._4
570- let lpEmission = $t02300923362._5
565+ let calcLpAmt = $t02293423287._1
566+ let curPriceCalc = $t02293423287._2
567+ let amBalance = $t02293423287._3
568+ let prBalance = $t02293423287._4
569+ let lpEmission = $t02293423287._5
571570 $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))
572571 }
573572
598597 let inAmAssetAmtX18 = fraction(inPrAssetAmtX18, MULT18, curPriceX18)
599598 let inAmAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inAmAssetAmtX18), amtAssetDcm], nil))
600599 let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
601- let $t02593526288 = match res {
600+ let $t02586026213 = match res {
602601 case _ =>
603602 if (if (if ($isInstanceOf($match0._1, "Int"))
604603 then if ($isInstanceOf($match0._3, "Int"))
621620 }
622621 else throw("Couldn't cast types")
623622 }
624- let calcLpAmt = $t02593526288._1
625- let curPriceCalc = $t02593526288._2
626- let amBalance = $t02593526288._3
627- let prBalance = $t02593526288._4
628- let lpEmission = $t02593526288._5
623+ let calcLpAmt = $t02586026213._1
624+ let curPriceCalc = $t02586026213._2
625+ let amBalance = $t02586026213._3
626+ let prBalance = $t02586026213._4
627+ let lpEmission = $t02586026213._5
629628 $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))
630629 }
631630
635634 func poolEvaluateGetREADONLY (paymentLpAssetId,paymentLpAmt) = {
636635 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(paymentLpAssetId)))
637636 let res = invoke(poolAddress, "estimateGetOperationWrapperREADONLY", ["", paymentLpAssetId, paymentLpAmt, toString(poolAddress)], nil)
638- let $t02698327400 = match res {
637+ let $t02690827325 = match res {
639638 case _ =>
640639 if (if (if ($isInstanceOf($match0._1, "Int"))
641640 then if ($isInstanceOf($match0._2, "Int"))
664663 }
665664 else throw("Couldn't cast types")
666665 }
667- let outAmAmt = $t02698327400._1
668- let outPrAmt = $t02698327400._2
669- let amBalance = $t02698327400._3
670- let prBalance = $t02698327400._4
671- let lpEmission = $t02698327400._5
672- let curPrice = $t02698327400._6
673- let poolStatus = $t02698327400._7
666+ let outAmAmt = $t02690827325._1
667+ let outPrAmt = $t02690827325._2
668+ let amBalance = $t02690827325._3
669+ let prBalance = $t02690827325._4
670+ let lpEmission = $t02690827325._5
671+ let curPrice = $t02690827325._6
672+ let poolStatus = $t02690827325._7
674673 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmAmt), toString(outPrAmt), toString(amBalance), toString(prBalance), toString(lpEmission), curPrice, poolStatus], SEP))
675674 }
676675
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
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 POOLWEIGHTMULT = MULT8
1515
1616 let zeroBigInt = toBigInt(0)
1717
1818 let idxPoolAddress = 1
1919
2020 let idxPoolStatus = 2
2121
2222 let idxPoolLPAssetId = 3
2323
2424 let idxAmtAssetId = 4
2525
2626 let idxPriceAssetId = 5
2727
2828 let idxAmtAssetDcm = 6
2929
3030 let idxPriceAssetDcm = 7
3131
3232 let idxIAmtAssetId = 8
3333
3434 let idxIPriceAssetId = 9
3535
3636 let idxLPAssetDcm = 10
3737
3838 func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined"))
3939
4040
4141 func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined"))
4242
4343
4444 func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0)
4545
4646
4747 func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined"))
4848
4949
5050 func asAnyList (val) = match val {
5151 case valAnyLyst: List[Any] =>
5252 valAnyLyst
5353 case _ =>
5454 throw("fail to cast into List[Any]")
5555 }
5656
5757
5858 func asInt (val) = match val {
5959 case valInt: Int =>
6060 valInt
6161 case _ =>
6262 throw("fail to cast into Int")
6363 }
6464
6565
6666 func asString (val) = match val {
6767 case valStr: String =>
6868 valStr
6969 case _ =>
7070 throw("fail to cast into String")
7171 }
7272
7373
7474 func keyFactoryAddress () = "%s%s__config__factoryAddress"
7575
7676
7777 func keyManagerPublicKey () = "%s__managerPublicKey"
7878
7979
8080 func keyPendingManagerPublicKey () = "%s__pendingManagerPublicKey"
8181
8282
8383 let IdxFactoryCfgStakingDapp = 1
8484
8585 let IdxFactoryCfgBoostingDapp = 2
8686
8787 let IdxFactoryCfgIdoDapp = 3
8888
8989 let IdxFactoryCfgTeamDapp = 4
9090
9191 let IdxFactoryCfgEmissionDapp = 5
9292
9393 let IdxFactoryCfgRestDapp = 6
9494
9595 let IdxFactoryCfgSlippageDapp = 7
9696
9797 let IdxFactoryCfgGwxRewardDapp = 8
9898
9999 func keyFactoryCfg () = "%s__factoryConfig"
100100
101101
102102 func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
103103
104104
105105 func keyFactoryLpList () = "%s__lpTokensList"
106106
107107
108108 func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
109109
110110
111111 func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
112112
113113
114114 func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress()))
115115
116116
117117 func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP)
118118
119119
120120 func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP)
121121
122122
123123 func getBoostingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgBoostingDapp])
124124
125125
126126 func getEmissionAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgEmissionDapp])
127127
128128
129129 func getStakingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgStakingDapp])
130130
131131
132132 func getGwxRewardAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgGwxRewardDapp])
133133
134134
135135 func keyBoostCfg () = "%s__config"
136136
137137
138138 func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked"
139139
140140
141141 func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks"
142142
143143
144144 func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount"
145145
146146
147147 func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount"
148148
149149
150150 func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP)
151151
152152
153153 func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP)
154154
155155
156156 func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP)
157157
158158
159159 func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP)
160160
161161
162162 func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP)
163163
164164
165165 func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP)
166166
167167
168168 func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP)
169169
170170
171171 func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP)
172172
173173
174174 func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP)
175175
176176
177177 func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP)
178178
179179
180180 func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP)
181181
182182
183183 func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total"
184184
185185
186186 func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP)
187187
188188
189189 func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP)
190190
191191
192192 func keyTotalCachedGwx () = "%s%s__gwxCached__total"
193193
194194
195195 func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP)
196196
197197
198198 func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr)
199199
200200
201201 func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP)
202202
203203
204204 func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP)
205205
206206
207207 func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP)
208208
209209
210210 func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0)
211211
212212
213213 func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
214214
215215
216216 func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
217217
218218
219219 func keyEmissionStartBlock () = "%s%s__emission__startBlock"
220220
221221
222222 func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
223223
224224
225225 func keyEmissionEndBlock () = "%s%s__emission__endBlock"
226226
227227
228228 let factoryDapp = readFactoryAddressOrFail()
229229
230230 let factoryCfg = readFactoryCfgOrFail(factoryDapp)
231231
232232 let emissionDapp = getEmissionAddressOrFail(factoryCfg)
233233
234234 let stakingDapp = getStakingAddressOrFail(factoryCfg)
235235
236236 let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
237237
238238 let boostingDapp = getBoostingAddressOrFail(factoryCfg)
239239
240240 func internalCurrentRewardRate (lpAssetId) = {
241241 let poolAddressStr = getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
242242 let poolWeightMult = MULT8
243243 let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr))
244244 let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent())
245245 let wxEmissionPerBlockMax = getIntOrFail(emissionDapp, keyEmissionRatePerBlockMaxCurrent())
246246 let boostMaxCoeff = 3
247247 let poolWxEmissionPerBlock = (fraction(wxEmissionPerBlock, poolWeight, poolWeightMult) / boostMaxCoeff)
248248 let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult)
249249 let maxFactor = (boostMaxCoeff * MULT8)
250250 let totalLpStaked = getIntOrZero(stakingDapp, keyStakedTotal(lpAssetId))
251251 [poolWxEmissionPerBlock, maxFactor, totalLpStaked]
252252 }
253253
254254
255255 func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = {
256256 let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration)
257257 let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8)
258258 [gWxAmountStart]
259259 }
260260
261261
262262 func managerPublicKeyOrUnit () = match getString(keyManagerPublicKey()) {
263263 case s: String =>
264264 fromBase58String(s)
265265 case _: Unit =>
266266 unit
267267 case _ =>
268268 throw("Match error")
269269 }
270270
271271
272272 func pendingManagerPublicKeyOrUnit () = match getString(keyPendingManagerPublicKey()) {
273273 case s: String =>
274274 fromBase58String(s)
275275 case _: Unit =>
276276 unit
277277 case _ =>
278278 throw("Match error")
279279 }
280280
281281
282282 func mustManager (i) = {
283283 let pd = throw("Permission denied")
284284 match managerPublicKeyOrUnit() {
285285 case pk: ByteVector =>
286286 if ((i.callerPublicKey == pk))
287287 then true
288288 else pd
289289 case _: Unit =>
290290 if ((i.caller == this))
291291 then true
292292 else pd
293293 case _ =>
294294 throw("Match error")
295295 }
296296 }
297297
298298
299299 @Callable(i)
300300 func constructor (factoryAddress) = {
301301 let checkCaller = mustManager(i)
302302 if ((checkCaller == checkCaller))
303303 then [StringEntry(keyFactoryAddress(), factoryAddress)]
304304 else throw("Strict value is not equal to itself.")
305305 }
306306
307307
308308
309309 @Callable(i)
310310 func currentRewardRateREADONLY (lpAssetId) = {
311311 let rewardData = internalCurrentRewardRate(lpAssetId)
312312 let wxEmissionPerBlock = rewardData[0]
313313 let maxFactor = rewardData[1]
314314 let totalLpStaked = rewardData[2]
315315 $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP))
316316 }
317317
318318
319319
320320 @Callable(i)
321321 func currentUserRewardRateREADONLY (lpAssetId,userAddress) = {
322322 let rewardData = internalCurrentRewardRate(lpAssetId)
323323 let wxEmissionPerBlock = rewardData[0]
324324 let maxFactor = rewardData[1]
325325 let totalLpStaked = rewardData[2]
326326 let lpStakedByUser = getIntOrZero(stakingDapp, keyStakedByUser(userAddress, lpAssetId))
327327 let userClaimInfo = split(asString(invoke(stakingDapp, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP)
328328 let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart")
329329 let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart")
330330 let debug = userClaimInfo[7]
331331 let boostingPower = if ((boostRewardPart == 0))
332332 then (1 * MULT8)
333333 else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart)
334334 $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP))
335335 }
336336
337337
338338
339339 @Callable(i)
340340 func claimedRewardREADONLY (userAddress) = {
341341 let lpList = readLpList()
342342 let prefix = "%s%d%d%d%s"
343343 func claimedRewardByLpAggregator (resultStr,nextLp) = {
344344 let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress)
345345 let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress)
346346 let minRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserMinRewardKEY), 0)
347347 let boostRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserBoostRewardKEY), 0)
348348 let gFeeClaimed = 0
349349 makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP)
350350 }
351351
352352 let result = {
353353 let $l = lpList
354354 let $s = size($l)
355355 let $acc0 = "%s"
356356 func $f0_1 ($a,$i) = if (($i >= $s))
357357 then $a
358358 else claimedRewardByLpAggregator($a, $l[$i])
359359
360360 func $f0_2 ($a,$i) = if (($i >= $s))
361361 then $a
362362 else throw("List size exceeds 10")
363363
364364 $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)
365365 }
366366 $Tuple2(nil, ((result + SEP) + userAddress))
367367 }
368368
369369
370370
371371 @Callable(i)
372-func calcBoostBulkInternalREADONLY (currentIter,deltaWxAmountBulk,deltaLockPeriodInBlocksBulk,deltaLpAmountBulk,lpAssetIdOptBulk,userAddressOptBulk,resAcc) = if ((currentIter == size(deltaWxAmountBulk)))
372+func calcBoostBulkInternalREADONLY (currentIter,deltaWxAmountBulk,deltaLockPeriodInBlocksBulk,deltaLpAmountBulk,lpAssetIdOptBulk,userAddressOpt,resAcc) = if ((currentIter == size(deltaWxAmountBulk)))
373373 then $Tuple2(nil, resAcc)
374374 else {
375375 let deltaWxAmount = deltaWxAmountBulk[currentIter]
376376 let deltaLockPeriodInBlocks = deltaLockPeriodInBlocksBulk[currentIter]
377377 let deltaLpAmount = deltaLpAmountBulk[currentIter]
378378 let lpAssetIdOpt = lpAssetIdOptBulk[currentIter]
379- let userAddressOpt = userAddressOptBulk[currentIter]
380379 let info = {
381380 let @ = invoke(this, "calcBoostREADONLY", [deltaWxAmount, deltaLockPeriodInBlocks, deltaLpAmount, lpAssetIdOpt, userAddressOpt], nil)
382381 if ($isInstanceOf(@, "String"))
383382 then @
384383 else throw(($getType(invoke(this, "calcBoostREADONLY", [deltaWxAmount, deltaLockPeriodInBlocks, deltaLpAmount, lpAssetIdOpt, userAddressOpt], nil)) + " couldn't be cast to String"))
385384 }
386385 let res = (resAcc :+ info)
387386 let inv = {
388- let @ = invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOptBulk, res], nil)
387+ let @ = invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOpt, res], nil)
389388 if ($isInstanceOf(@, "List[Any]"))
390389 then @
391- else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOptBulk, res], nil)) + " couldn't be cast to List[Any]"))
390+ else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(currentIter + 1), deltaWxAmountBulk, deltaLockPeriodInBlocksBulk, deltaLpAmountBulk, lpAssetIdOptBulk, userAddressOpt, res], nil)) + " couldn't be cast to List[Any]"))
392391 }
393392 if ((inv == inv))
394393 then $Tuple2(nil, inv)
395394 else throw("Strict value is not equal to itself.")
396395 }
397396
398397
399398
400399 @Callable(i)
401400 func calcBoostBulkREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = {
402401 let res = invoke(this, "calcBoostBulkInternalREADONLY", [0, deltaWxAmount, deltaLockPeriodInBlocks, deltaLpAmount, lpAssetIdOpt, userAddressOpt, nil], nil)
403402 $Tuple2(nil, res)
404403 }
405404
406405
407406
408407 @Callable(i)
409408 func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = {
410409 let mathDapp = gwxRewardDapp
411410 let EMPTYSTR = "empty"
412411 let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingDapp, keyBoostCfg()), SEP)[4])
413412 let lpAssetIdStr = if ((lpAssetIdOpt == ""))
414413 then EMPTYSTR
415414 else lpAssetIdOpt
416415 let userAddressStr = if ((userAddressOpt == ""))
417416 then EMPTYSTR
418417 else userAddressOpt
419418 let userNumStr = valueOrElse(getString(boostingDapp, keyUser2NumMapping(userAddressOpt)), EMPTYSTR)
420419 let userAmount = valueOrElse(getInteger(boostingDapp, keyLockParamUserAmount(userNumStr)), 0)
421420 let lockStart = valueOrElse(getInteger(boostingDapp, keyLockParamStartBlock(userNumStr)), height)
422421 let lockDuration = valueOrElse(getInteger(boostingDapp, keyLockParamDuration(userNumStr)), 0)
423422 let lockEnd = (lockStart + lockDuration)
424423 let remainingDuration = max([(lockEnd - height), 0])
425424 let userAmountNew = (userAmount + deltaWxAmount)
426425 let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks])
427426 let userCurrgWxAmount = asInt(asAnyList(invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddressStr], nil))[0])
428427 let gWxAmountStartNew = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0]
429428 let gWxParamsResultList = asAnyList(invoke(mathDapp, "calcGwxParamsREADONLY", [gWxAmountStartNew, height, lockDurationNew], nil))
430429 let gWxAmountDiff = (gWxAmountStartNew - userCurrgWxAmount)
431430 let k = asInt(gWxParamsResultList[0])
432431 let b = asInt(gWxParamsResultList[1])
433432 let period = toString(asInt(gWxParamsResultList[2]))
434433 let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL()
435434 let totalCachedGwxKEY = keyTotalCachedGwx()
436435 let userMaxBoostIntNew = ((gWxAmountStartNew * lockDurationNew) / 2)
437436 let totalMaxBoostInt = getIntOrZero(boostingDapp, totalMaxBoostIntegralKEY)
438437 let totalCachedGwx = valueOrElse(getInteger(boostingDapp, totalCachedGwxKEY), 0)
439438 let MULT3 = 1000
440439 let wxEmissionPerBlockX3 = (getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent()) * MULT3)
441440 let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
442441 let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
443442 let stakedByUser = readStaked(stakingDapp, stakedByUserKEY)
444443 let stakedTotal = readStaked(stakingDapp, stakedTotalKEY)
445444 let stakedByUserNew = (stakedByUser + deltaLpAmount)
446445 let stakedTotalNew = (stakedTotal + deltaLpAmount)
447446 let poolWeight = if ((lpAssetIdStr != EMPTYSTR))
448447 then {
449448 let poolAddressStr = valueOrErrorMessage(getString(factoryDapp, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
450449 getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr))
451450 }
452451 else 0
453452 let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3))
454453 let wxPerLpX3 = if ((stakedTotalNew != 0))
455454 then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew)
456455 else 0
457456 let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8)
458457 let boostEmissionPerBlockX3 = (poolWxEmissionPerBlockX3 * 2)
459458 let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff))
460459 let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)])
461460 let boostCoeff = if ((userWxPerBlockX3 == 0))
462461 then (1 * MULT8)
463462 else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3)
464463 $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStartNew), toString(boostCoeff), "d"], SEP))
465464 }
466465
467466
468467
469468 @Callable(i)
470469 func wxEmissionStatsREADONLY () = {
471470 let ONEMULT = toString(MULT8)
472471 let ONE = "1"
473472 let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent())
474473 let emissionStartBlock = getIntOrFail(emissionDapp, keyEmissionStartBlock())
475474 let passedBlocks = if ((emissionStartBlock > height))
476475 then 0
477476 else (height - emissionStartBlock)
478477 let teamEmDuration = (1440 * 365)
479478 let teamEmMax = (201000000 * MULT8)
480479 let teamEm = if ((passedBlocks > teamEmDuration))
481480 then teamEmMax
482481 else fraction(teamEmMax, passedBlocks, teamEmDuration)
483482 let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm)
484483 let totalWxLocked = getIntOrZero(boostingDapp, keyBoostingLockParamTotalAmount())
485484 let locksDurationSumInBlocks = getIntOrZero(boostingDapp, keyBoostingStatsLocksDurationSumInBlocks())
486485 let locksCount = getIntOrZero(boostingDapp, keyBoostingStatsLocksCount())
487486 $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP))
488487 }
489488
490489
491490
492491 @Callable(i)
493492 func poolStatsREADONLY (lpAsset) = {
494493 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
495494 let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
496495 let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
497496 let amtAssetId = asString(cfg[idxAmtAssetId])
498497 let priceAssetId = asString(cfg[idxPriceAssetId])
499498 let iAmtAssetId = asString(cfg[idxIAmtAssetId])
500499 let iPriceAssetId = asString(cfg[idxIPriceAssetId])
501500 let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
502501 let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
503502 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
504503 let accAmtAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil))
505504 let accPriceAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil))
506505 let pricesList = if ((poolLPBalance == 0))
507506 then [toString(zeroBigInt), toString(zeroBigInt), toString(zeroBigInt)]
508507 else asAnyList(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil))
509508 let curPrice = 0
510509 let lpAmtAssetShare = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil))
511510 let lpPriceAssetShare = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil))
512511 let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(toString(poolAddress)))
513512 $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))
514513 }
515514
516515
517516
518517 @Callable(i)
519518 func poolEvaluatePutByAmountAssetREADONLY (lpAsset,inAmAssetAmt) = {
520519 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
521520 let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
522521 let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
523522 let amAssetIdStr = asString(cfg[idxAmtAssetId])
524523 let amAssetId = fromBase58String(amAssetIdStr)
525524 let prAssetIdStr = asString(cfg[idxPriceAssetId])
526525 let prAssetId = fromBase58String(prAssetIdStr)
527526 let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
528527 let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
529528 let poolStatus = asString(cfg[idxPoolStatus])
530529 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
531530 let accAmtAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil))
532531 let accPriceAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil))
533532 let amtAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [accAmtAssetBalance, amtAssetDcm], nil)))
534533 let priceAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [accPriceAssetBalance, priceAssetDcm], nil)))
535534 let curPriceX18 = if ((poolLPBalance == 0))
536535 then zeroBigInt
537536 else parseBigIntValue(asString(invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(priceAssetAmtX18), toString(amtAssetAmtX18)], nil)))
538537 let curPrice = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil))
539538 let inAmAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [inAmAssetAmt, amtAssetDcm], nil)))
540539 let inPrAssetAmtX18 = fraction(inAmAssetAmtX18, curPriceX18, MULT18)
541540 let inPrAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inPrAssetAmtX18), priceAssetDcm], nil))
542541 let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
543- let $t02300923362 = match res {
542+ let $t02293423287 = match res {
544543 case _ =>
545544 if (if (if ($isInstanceOf($match0._1, "Int"))
546545 then if ($isInstanceOf($match0._3, "Int"))
547546 then if ($isInstanceOf($match0._4, "Int"))
548547 then if ($isInstanceOf($match0._5, "Int"))
549548 then $isInstanceOf($match0._6, "Int")
550549 else false
551550 else false
552551 else false
553552 else false)
554553 then (size($match0) == 13)
555554 else false)
556555 then {
557556 let calcLpAmt = $match0._1
558557 let curPriceCalc = $match0._3
559558 let amBalance = $match0._4
560559 let prBalance = $match0._5
561560 let lpEmission = $match0._6
562561 $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission)
563562 }
564563 else throw("Couldn't cast types")
565564 }
566- let calcLpAmt = $t02300923362._1
567- let curPriceCalc = $t02300923362._2
568- let amBalance = $t02300923362._3
569- let prBalance = $t02300923362._4
570- let lpEmission = $t02300923362._5
565+ let calcLpAmt = $t02293423287._1
566+ let curPriceCalc = $t02293423287._2
567+ let amBalance = $t02293423287._3
568+ let prBalance = $t02293423287._4
569+ let lpEmission = $t02293423287._5
571570 $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))
572571 }
573572
574573
575574
576575 @Callable(i)
577576 func poolEvaluatePutByPriceAssetREADONLY (lpAsset,inPrAssetAmt) = {
578577 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
579578 let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
580579 let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
581580 let amAssetIdStr = asString(cfg[idxAmtAssetId])
582581 let amAssetId = fromBase58String(amAssetIdStr)
583582 let prAssetIdStr = asString(cfg[idxPriceAssetId])
584583 let prAssetId = fromBase58String(prAssetIdStr)
585584 let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
586585 let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
587586 let poolStatus = asString(cfg[idxPoolStatus])
588587 let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
589588 let amBalanceRaw = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil))
590589 let prBalanceRaw = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil))
591590 let amBalanceRawX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [amBalanceRaw, amtAssetDcm], nil)))
592591 let prBalanceRawX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [prBalanceRaw, priceAssetDcm], nil)))
593592 let curPriceX18 = if ((poolLPBalance == 0))
594593 then zeroBigInt
595594 else parseBigIntValue(asString(invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(prBalanceRawX18), toString(amBalanceRawX18)], nil)))
596595 let curPrice = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil))
597596 let inPrAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [inPrAssetAmt, priceAssetDcm], nil)))
598597 let inAmAssetAmtX18 = fraction(inPrAssetAmtX18, MULT18, curPriceX18)
599598 let inAmAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inAmAssetAmtX18), amtAssetDcm], nil))
600599 let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
601- let $t02593526288 = match res {
600+ let $t02586026213 = match res {
602601 case _ =>
603602 if (if (if ($isInstanceOf($match0._1, "Int"))
604603 then if ($isInstanceOf($match0._3, "Int"))
605604 then if ($isInstanceOf($match0._4, "Int"))
606605 then if ($isInstanceOf($match0._5, "Int"))
607606 then $isInstanceOf($match0._6, "Int")
608607 else false
609608 else false
610609 else false
611610 else false)
612611 then (size($match0) == 13)
613612 else false)
614613 then {
615614 let calcLpAmt = $match0._1
616615 let curPriceCalc = $match0._3
617616 let amBalance = $match0._4
618617 let prBalance = $match0._5
619618 let lpEmission = $match0._6
620619 $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission)
621620 }
622621 else throw("Couldn't cast types")
623622 }
624- let calcLpAmt = $t02593526288._1
625- let curPriceCalc = $t02593526288._2
626- let amBalance = $t02593526288._3
627- let prBalance = $t02593526288._4
628- let lpEmission = $t02593526288._5
623+ let calcLpAmt = $t02586026213._1
624+ let curPriceCalc = $t02586026213._2
625+ let amBalance = $t02586026213._3
626+ let prBalance = $t02586026213._4
627+ let lpEmission = $t02586026213._5
629628 $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))
630629 }
631630
632631
633632
634633 @Callable(i)
635634 func poolEvaluateGetREADONLY (paymentLpAssetId,paymentLpAmt) = {
636635 let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(paymentLpAssetId)))
637636 let res = invoke(poolAddress, "estimateGetOperationWrapperREADONLY", ["", paymentLpAssetId, paymentLpAmt, toString(poolAddress)], nil)
638- let $t02698327400 = match res {
637+ let $t02690827325 = match res {
639638 case _ =>
640639 if (if (if ($isInstanceOf($match0._1, "Int"))
641640 then if ($isInstanceOf($match0._2, "Int"))
642641 then if ($isInstanceOf($match0._5, "Int"))
643642 then if ($isInstanceOf($match0._6, "Int"))
644643 then if ($isInstanceOf($match0._7, "Int"))
645644 then if ($isInstanceOf($match0._8, "String"))
646645 then $isInstanceOf($match0._9, "String")
647646 else false
648647 else false
649648 else false
650649 else false
651650 else false
652651 else false)
653652 then (size($match0) == 10)
654653 else false)
655654 then {
656655 let outAmAmt = $match0._1
657656 let outPrAmt = $match0._2
658657 let amBalance = $match0._5
659658 let prBalance = $match0._6
660659 let lpEmission = $match0._7
661660 let curPrice = $match0._8
662661 let poolStatus = $match0._9
663662 $Tuple7(outAmAmt, outPrAmt, amBalance, prBalance, lpEmission, curPrice, poolStatus)
664663 }
665664 else throw("Couldn't cast types")
666665 }
667- let outAmAmt = $t02698327400._1
668- let outPrAmt = $t02698327400._2
669- let amBalance = $t02698327400._3
670- let prBalance = $t02698327400._4
671- let lpEmission = $t02698327400._5
672- let curPrice = $t02698327400._6
673- let poolStatus = $t02698327400._7
666+ let outAmAmt = $t02690827325._1
667+ let outPrAmt = $t02690827325._2
668+ let amBalance = $t02690827325._3
669+ let prBalance = $t02690827325._4
670+ let lpEmission = $t02690827325._5
671+ let curPrice = $t02690827325._6
672+ let poolStatus = $t02690827325._7
674673 $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmAmt), toString(outPrAmt), toString(amBalance), toString(prBalance), toString(lpEmission), curPrice, poolStatus], SEP))
675674 }
676675
677676
678677
679678 @Callable(i)
680679 func gwxUserInfoREADONLY (userAddress) = {
681680 let gwxUserInfoLIST = asAnyList(invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddress], nil))
682681 let gwxAmount = asInt(gwxUserInfoLIST[0])
683682 $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP))
684683 }
685684
686685
687686
688687 @Callable(i)
689688 func setManager (pendingManagerPublicKey) = {
690689 let checkCaller = mustManager(i)
691690 if ((checkCaller == checkCaller))
692691 then {
693692 let checkManagerPublicKey = fromBase58String(pendingManagerPublicKey)
694693 if ((checkManagerPublicKey == checkManagerPublicKey))
695694 then [StringEntry(keyPendingManagerPublicKey(), pendingManagerPublicKey)]
696695 else throw("Strict value is not equal to itself.")
697696 }
698697 else throw("Strict value is not equal to itself.")
699698 }
700699
701700
702701
703702 @Callable(i)
704703 func confirmManager () = {
705704 let pm = pendingManagerPublicKeyOrUnit()
706705 let hasPM = if (isDefined(pm))
707706 then true
708707 else throw("No pending manager")
709708 if ((hasPM == hasPM))
710709 then {
711710 let checkPM = if ((i.callerPublicKey == value(pm)))
712711 then true
713712 else throw("You are not pending manager")
714713 if ((checkPM == checkPM))
715714 then [StringEntry(keyManagerPublicKey(), toBase58String(value(pm))), DeleteEntry(keyPendingManagerPublicKey())]
716715 else throw("Strict value is not equal to itself.")
717716 }
718717 else throw("Strict value is not equal to itself.")
719718 }
720719
721720
722721 @Verifier(tx)
723722 func verify () = {
724723 let targetPublicKey = match managerPublicKeyOrUnit() {
725724 case pk: ByteVector =>
726725 pk
727726 case _: Unit =>
728727 tx.senderPublicKey
729728 case _ =>
730729 throw("Match error")
731730 }
732731 sigVerify(tx.bodyBytes, tx.proofs[0], targetPublicKey)
733732 }
734733

github/deemru/w8io/026f985 
106.44 ms