tx · FG1QMyt8oerTcPDkPD5X9DCatxQhmMxaYm4c7oVniUYV

3NABjMfMRixTpWgTygLFwBYkSFLcca4FNx7:  -0.01000000 Waves

2022.02.14 19:44 [1923551] smart account 3NABjMfMRixTpWgTygLFwBYkSFLcca4FNx7 > SELF 0.00000000 Waves

{ "type": 13, "id": "FG1QMyt8oerTcPDkPD5X9DCatxQhmMxaYm4c7oVniUYV", "fee": 1000000, "feeAssetId": null, "timestamp": 1644857076621, "version": 1, "sender": "3NABjMfMRixTpWgTygLFwBYkSFLcca4FNx7", "senderPublicKey": "4qgJUQ5m81fVdDcaspkyKfnZoe2YvQNjbEgy285w4Hib", "proofs": [ "4USpTP77EmiezrBSjYtynwLrx7hr88YsARBAeYeGUbaWAK9cYJPhseK1jjCdBWJdgiiGV3ggQEC7SYPim6aP2AQb" ], "script": "base64:AAIFAAAAAAAAAD4IAhIDCgEIEgMKAQgSBAoCCAgSAwoBCBIHCgUBAQEICBIAEgMKAQgSBAoCCAESBAoCCAESBAoCCAESAwoBCAAAAFQAAAAABlNDQUxFOAAAAAAAAAAACAAAAAAFTVVMVDgAAAAAAAX14QAAAAAAB1NDQUxFMTgAAAAAAAAAABIAAAAABk1VTFQxOAkAATYAAAABAA3gtrOnZAAAAAAAAANTRVACAAAAAl9fAAAAAA5QT09MV0VJR0hUTVVMVAUAAAAFTVVMVDgAAAAACnplcm9CaWdJbnQJAAE2AAAAAQAAAAAAAAAAAAAAAAAOaWR4UG9vbEFkZHJlc3MAAAAAAAAAAAEAAAAADWlkeFBvb2xTdGF0dXMAAAAAAAAAAAIAAAAAEGlkeFBvb2xMUEFzc2V0SWQAAAAAAAAAAAMAAAAADWlkeEFtdEFzc2V0SWQAAAAAAAAAAAQAAAAAD2lkeFByaWNlQXNzZXRJZAAAAAAAAAAABQAAAAAOaWR4QW10QXNzZXREY20AAAAAAAAAAAYAAAAAEGlkeFByaWNlQXNzZXREY20AAAAAAAAAAAcAAAAADmlkeElBbXRBc3NldElkAAAAAAA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c0FueUxpc3QAAAABCQAD/AAAAAQFAAAADGJvb3N0aW5nRGFwcAIAAAATZ3d4VXNlckluZm9SRUFET05MWQkABEwAAAACBQAAAAt1c2VyQWRkcmVzcwUAAAADbmlsBQAAAANuaWwEAAAACWd3eEFtb3VudAkBAAAABWFzSW50AAAAAQkAAZEAAAACBQAAAA9nd3hVc2VySW5mb0xJU1QAAAAAAAAAAAAJAAUUAAAAAgUAAAADbmlsCQAEuQAAAAIJAARMAAAAAgIAAAACJWQJAARMAAAAAgkAAaQAAAABBQAAAAlnd3hBbW91bnQFAAAAA25pbAUAAAADU0VQAAAAAEIr9go=", "chainId": 84, "height": 1923551, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: none Full:
OldNewDifferences
1-# no script
1+{-# STDLIB_VERSION 5 #-}
2+{-# SCRIPT_TYPE ACCOUNT #-}
3+{-# CONTENT_TYPE DAPP #-}
4+let SCALE8 = 8
5+
6+let MULT8 = 100000000
7+
8+let SCALE18 = 18
9+
10+let MULT18 = toBigInt(1000000000000000000)
11+
12+let SEP = "__"
13+
14+let POOLWEIGHTMULT = MULT8
15+
16+let zeroBigInt = toBigInt(0)
17+
18+let idxPoolAddress = 1
19+
20+let idxPoolStatus = 2
21+
22+let idxPoolLPAssetId = 3
23+
24+let idxAmtAssetId = 4
25+
26+let idxPriceAssetId = 5
27+
28+let idxAmtAssetDcm = 6
29+
30+let idxPriceAssetDcm = 7
31+
32+let idxIAmtAssetId = 8
33+
34+let idxIPriceAssetId = 9
35+
36+let idxLPAssetDcm = 10
37+
38+func getStringOrFail (key) = valueOrErrorMessage(getString(key), (("mandatory this." + key) + " is not defined"))
39+
40+
41+func getStringByAddressOrFail (address,key) = valueOrErrorMessage(getString(address, key), (((("mandatory " + toString(address)) + ".") + key) + " is not defined"))
42+
43+
44+func getIntOrZero (address,key) = valueOrElse(getInteger(address, key), 0)
45+
46+
47+func getIntOrFail (address,key) = valueOrErrorMessage(getInteger(address, key), (("mandatory this." + key) + " is not defined"))
48+
49+
50+func asAnyList (val) = match val {
51+ case valAnyLyst: List[Any] =>
52+ valAnyLyst
53+ case _ =>
54+ throw("fail to cast into List[Any]")
55+}
56+
57+
58+func asInt (val) = match val {
59+ case valInt: Int =>
60+ valInt
61+ case _ =>
62+ throw("fail to cast into Int")
63+}
64+
65+
66+func asString (val) = match val {
67+ case valStr: String =>
68+ valStr
69+ case _ =>
70+ throw("fail to cast into String")
71+}
72+
73+
74+func keyFactoryAddress () = "%s%s__config__factoryAddress"
75+
76+
77+let IdxFactoryCfgStakingDapp = 1
78+
79+let IdxFactoryCfgBoostingDapp = 2
80+
81+let IdxFactoryCfgIdoDapp = 3
82+
83+let IdxFactoryCfgTeamDapp = 4
84+
85+let IdxFactoryCfgEmissionDapp = 5
86+
87+let IdxFactoryCfgRestDapp = 6
88+
89+let IdxFactoryCfgSlippageDapp = 7
90+
91+let IdxFactoryCfgGwxRewardDapp = 8
92+
93+func keyFactoryCfg () = "%s__factoryConfig"
94+
95+
96+func keyFactoryLp2AssetsMapping (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
97+
98+
99+func keyFactoryLpList () = "%s__lpTokensList"
100+
101+
102+func keyFactoryLpAssetToPoolContractAddress (lpAssetStr) = makeString(["%s%s%s", lpAssetStr, "mappings__lpAsset2PoolContract"], SEP)
103+
104+
105+func keyFactoryPoolWeight (contractAddress) = makeString(["%s%s", "poolWeight", contractAddress], SEP)
106+
107+
108+func readFactoryAddressOrFail () = addressFromStringValue(getStringOrFail(keyFactoryAddress()))
109+
110+
111+func readLpList () = split(valueOrElse(getString(readFactoryAddressOrFail(), keyFactoryLpList()), ""), SEP)
112+
113+
114+func readFactoryCfgOrFail (factory) = split(getStringByAddressOrFail(factory, keyFactoryCfg()), SEP)
115+
116+
117+func getBoostingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgBoostingDapp])
118+
119+
120+func getEmissionAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgEmissionDapp])
121+
122+
123+func getStakingAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgStakingDapp])
124+
125+
126+func getGwxRewardAddressOrFail (fCfg) = addressFromStringValue(fCfg[IdxFactoryCfgGwxRewardDapp])
127+
128+
129+func keyBoostCfg () = "%s__config"
130+
131+
132+func keyBoostingLockParamTotalAmount () = "%s%s__stats__activeTotalLocked"
133+
134+
135+func keyBoostingStatsLocksDurationSumInBlocks () = "%s%s__stats__locksDurationSumInBlocks"
136+
137+
138+func keyBoostingStatsLocksCount () = "%s%s__stats__locksCount"
139+
140+
141+func keyBoostingStatsUsersCount () = "%s%s__stats__activeUsersCount"
142+
143+
144+func keyUser2NumMapping (userAddress) = makeString(["%s%s%s__mapping__user2num", userAddress], SEP)
145+
146+
147+func keyNum2UserMapping (num) = makeString(["%s%s%s__mapping__num2user", num], SEP)
148+
149+
150+func keyLockParamUserAmount (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "amount"], SEP)
151+
152+
153+func keyLockParamStartBlock (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "start"], SEP)
154+
155+
156+func keyLockParamDuration (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "duration"], SEP)
157+
158+
159+func keyLockParamK (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "k"], SEP)
160+
161+
162+func keyLockParamB (userNum) = makeString(["%s%d%s__paramByUserNum", userNum, "b"], SEP)
163+
164+
165+func keyLockParamByPeriodK (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "k", period], SEP)
166+
167+
168+func keyLockParamByPeriodB (userNum,period) = makeString(["%s%d%s%d__paramByPeriod", userNum, "b", period], SEP)
169+
170+
171+func keyUserBoostEmissionLastINTEGRAL (userNum) = makeString(["%s%d__userBoostEmissionLastInt", userNum], SEP)
172+
173+
174+func keyUserMaxBoostINTEGRAL (userNum) = makeString(["%s%d__maxBoostInt", userNum], SEP)
175+
176+
177+func keyTotalMaxBoostINTEGRAL () = "%s%s__maxBoostInt__total"
178+
179+
180+func keyUserBoostAvalaibleToClaimTotal (userNum) = makeString(["%s%d__userBoostAvaliableToClaimTotal", userNum], SEP)
181+
182+
183+func keyUserBoostClaimed (userNum) = makeString(["%s%d__userBoostClaimed", userNum], SEP)
184+
185+
186+func keyTotalCachedGwx () = "%s%s__gwxCached__total"
187+
188+
189+func keyStakedByUser (userAddressStr,lpAssetIdStr) = makeString(["%s%s%s__staked", userAddressStr, lpAssetIdStr], SEP)
190+
191+
192+func keyStakedTotal (lpAssetIdStr) = ("%s%s%s__staked__total__" + lpAssetIdStr)
193+
194+
195+func keyClaimedByUser (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimed", userAddressStr, lpAssetIdStr], SEP)
196+
197+
198+func keyClaimedByUserMinReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedMinReward", userAddressStr, lpAssetIdStr], SEP)
199+
200+
201+func keyClaimedByUserBoostReward (lpAssetIdStr,userAddressStr) = makeString(["%s%s%s__claimedBoostReward", userAddressStr, lpAssetIdStr], SEP)
202+
203+
204+func readStaked (stakingDapp,key) = valueOrElse(getInteger(stakingDapp, key), 0)
205+
206+
207+func keyEmissionRatePerBlockCurrent () = "%s%s__ratePerBlock__current"
208+
209+
210+func keyEmissionRatePerBlockMaxCurrent () = "%s%s__ratePerBlockMax__current"
211+
212+
213+func keyEmissionStartBlock () = "%s%s__emission__startBlock"
214+
215+
216+func keyEmissionDurationInBlocks () = "%s%s__emission__duration"
217+
218+
219+func keyEmissionEndBlock () = "%s%s__emission__endBlock"
220+
221+
222+let factoryDapp = readFactoryAddressOrFail()
223+
224+let factoryCfg = readFactoryCfgOrFail(factoryDapp)
225+
226+let emissionDapp = getEmissionAddressOrFail(factoryCfg)
227+
228+let stakingDapp = getStakingAddressOrFail(factoryCfg)
229+
230+let gwxRewardDapp = getGwxRewardAddressOrFail(factoryCfg)
231+
232+let boostingDapp = getBoostingAddressOrFail(factoryCfg)
233+
234+func internalCurrentRewardRate (lpAssetId) = {
235+ let poolAddressStr = getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAssetId))
236+ let poolWeightMult = MULT8
237+ let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr))
238+ let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent())
239+ let wxEmissionPerBlockMax = getIntOrFail(emissionDapp, keyEmissionRatePerBlockMaxCurrent())
240+ let boostMaxCoeff = 3
241+ let poolWxEmissionPerBlock = (fraction(wxEmissionPerBlock, poolWeight, poolWeightMult) / boostMaxCoeff)
242+ let poolWxEmissionPerBlockMax = fraction(wxEmissionPerBlockMax, poolWeight, poolWeightMult)
243+ let maxFactor = (boostMaxCoeff * MULT8)
244+ let totalLpStaked = getIntOrZero(stakingDapp, keyStakedTotal(lpAssetId))
245+[poolWxEmissionPerBlock, maxFactor, totalLpStaked]
246+ }
247+
248+
249+func calcGwxAmountStartREADONLY (lockAmount,lockDuration,maxLockDuration) = {
250+ let coeffX8 = fraction(lockDuration, MULT8, maxLockDuration)
251+ let gWxAmountStart = fraction(lockAmount, coeffX8, MULT8)
252+[gWxAmountStart]
253+ }
254+
255+
256+@Callable(i)
257+func constructor (factoryAddress) = if ((i.caller != this))
258+ then throw("not authorized")
259+ else [StringEntry(keyFactoryAddress(), factoryAddress)]
260+
261+
262+
263+@Callable(i)
264+func currentRewardRateREADONLY (lpAssetId) = {
265+ let rewardData = internalCurrentRewardRate(lpAssetId)
266+ let wxEmissionPerBlock = rewardData[0]
267+ let maxFactor = rewardData[1]
268+ let totalLpStaked = rewardData[2]
269+ $Tuple2(nil, makeString(["%d%d%d", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked)], SEP))
270+ }
271+
272+
273+
274+@Callable(i)
275+func currentUserRewardRateREADONLY (lpAssetId,userAddress) = {
276+ let rewardData = internalCurrentRewardRate(lpAssetId)
277+ let wxEmissionPerBlock = rewardData[0]
278+ let maxFactor = rewardData[1]
279+ let totalLpStaked = rewardData[2]
280+ let lpStakedByUser = getIntOrZero(stakingDapp, keyStakedByUser(userAddress, lpAssetId))
281+ let userClaimInfo = split(asString(invoke(stakingDapp, "claimWxREADONLY", [lpAssetId, userAddress], nil)), SEP)
282+ let minRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[5]), "couldn't parse minRewardPart")
283+ let boostRewardPart = valueOrErrorMessage(parseInt(userClaimInfo[6]), "couldn't parse boostRewardPart")
284+ let debug = userClaimInfo[7]
285+ let boostingPower = if ((boostRewardPart == 0))
286+ then (1 * MULT8)
287+ else fraction((minRewardPart + boostRewardPart), MULT8, minRewardPart)
288+ $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(wxEmissionPerBlock), toString(maxFactor), toString(totalLpStaked), toString(lpStakedByUser), toString(boostingPower), debug], SEP))
289+ }
290+
291+
292+
293+@Callable(i)
294+func claimedRewardREADONLY (userAddress) = {
295+ let lpList = readLpList()
296+ let prefix = "%s%d%d%d%s"
297+ func claimedRewardByLpAggregator (resultStr,nextLp) = {
298+ let claimedByUserMinRewardKEY = keyClaimedByUserMinReward(nextLp, userAddress)
299+ let claimedByUserBoostRewardKEY = keyClaimedByUserBoostReward(nextLp, userAddress)
300+ let minRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserMinRewardKEY), 0)
301+ let boostRewardClaimed = valueOrElse(getInteger(stakingDapp, claimedByUserBoostRewardKEY), 0)
302+ let gFeeClaimed = 0
303+ makeString([(prefix + resultStr), nextLp, toString(minRewardClaimed), toString(boostRewardClaimed), toString(gFeeClaimed), "end"], SEP)
304+ }
305+
306+ let result = {
307+ let $l = lpList
308+ let $s = size($l)
309+ let $acc0 = "%s"
310+ func $f0_1 ($a,$i) = if (($i >= $s))
311+ then $a
312+ else claimedRewardByLpAggregator($a, $l[$i])
313+
314+ func $f0_2 ($a,$i) = if (($i >= $s))
315+ then $a
316+ else throw("List size exceeds 10")
317+
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+ }
320+ $Tuple2(nil, ((result + SEP) + userAddress))
321+ }
322+
323+
324+
325+@Callable(i)
326+func calcBoostREADONLY (deltaWxAmount,deltaLockPeriodInBlocks,deltaLpAmount,lpAssetIdOpt,userAddressOpt) = {
327+ let mathDapp = gwxRewardDapp
328+ let EMPTYSTR = "empty"
329+ let maxLockDurationInBlocks = parseIntValue(split(getStringByAddressOrFail(boostingDapp, keyBoostCfg()), SEP)[4])
330+ let lpAssetIdStr = if ((lpAssetIdOpt == ""))
331+ then EMPTYSTR
332+ else lpAssetIdOpt
333+ let userAddressStr = if ((userAddressOpt == ""))
334+ then EMPTYSTR
335+ else userAddressOpt
336+ let userNumStr = valueOrElse(getString(boostingDapp, keyUser2NumMapping(userAddressOpt)), EMPTYSTR)
337+ let userAmount = valueOrElse(getInteger(boostingDapp, keyLockParamUserAmount(userNumStr)), 0)
338+ let lockStart = valueOrElse(getInteger(boostingDapp, keyLockParamStartBlock(userNumStr)), height)
339+ let lockDuration = valueOrElse(getInteger(boostingDapp, keyLockParamDuration(userNumStr)), 0)
340+ let lockEnd = (lockStart + lockDuration)
341+ let remainingDuration = max([(lockEnd - height), 0])
342+ let userAmountNew = (userAmount + deltaWxAmount)
343+ let lockDurationNew = min([(remainingDuration + deltaLockPeriodInBlocks), maxLockDurationInBlocks])
344+ let userCurrgWxAmount = asInt(asAnyList(invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddressStr], nil))[0])
345+ let gWxAmountStartNew = calcGwxAmountStartREADONLY(userAmountNew, lockDurationNew, maxLockDurationInBlocks)[0]
346+ let gWxParamsResultList = asAnyList(invoke(mathDapp, "calcGwxParamsREADONLY", [gWxAmountStartNew, height, lockDurationNew], nil))
347+ let gWxAmountDiff = (gWxAmountStartNew - userCurrgWxAmount)
348+ let k = asInt(gWxParamsResultList[0])
349+ let b = asInt(gWxParamsResultList[1])
350+ let period = toString(asInt(gWxParamsResultList[2]))
351+ let totalMaxBoostIntegralKEY = keyTotalMaxBoostINTEGRAL()
352+ let totalCachedGwxKEY = keyTotalCachedGwx()
353+ let userMaxBoostIntNew = ((gWxAmountStartNew * lockDurationNew) / 2)
354+ let totalMaxBoostInt = getIntOrZero(boostingDapp, totalMaxBoostIntegralKEY)
355+ let totalCachedGwx = valueOrElse(getInteger(boostingDapp, totalCachedGwxKEY), 0)
356+ let MULT3 = 1000
357+ let wxEmissionPerBlockX3 = (getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent()) * MULT3)
358+ let stakedByUserKEY = keyStakedByUser(userAddressStr, lpAssetIdStr)
359+ let stakedTotalKEY = keyStakedTotal(lpAssetIdStr)
360+ let stakedByUser = readStaked(stakingDapp, stakedByUserKEY)
361+ let stakedTotal = readStaked(stakingDapp, stakedTotalKEY)
362+ let stakedByUserNew = (stakedByUser + deltaLpAmount)
363+ let stakedTotalNew = (stakedTotal + deltaLpAmount)
364+ let poolWeight = if ((lpAssetIdStr != EMPTYSTR))
365+ then {
366+ let poolAddressStr = valueOrErrorMessage(getString(factoryDapp, keyFactoryLp2AssetsMapping(lpAssetIdStr)), ("unsupported lp asset " + lpAssetIdStr))
367+ getIntegerValue(factoryDapp, keyFactoryPoolWeight(poolAddressStr))
368+ }
369+ else 0
370+ let poolWxEmissionPerBlockX3 = fraction(wxEmissionPerBlockX3, poolWeight, (POOLWEIGHTMULT * 3))
371+ let wxPerLpX3 = if ((stakedTotalNew != 0))
372+ then fraction(poolWxEmissionPerBlockX3, MULT8, stakedTotalNew)
373+ else 0
374+ let userWxPerBlockX3 = fraction(wxPerLpX3, stakedByUserNew, MULT8)
375+ let boostEmissionPerBlockX3 = (poolWxEmissionPerBlockX3 * 2)
376+ let tmpUserBoostPerBlockX3 = fraction(gWxAmountStartNew, boostEmissionPerBlockX3, (totalCachedGwx + gWxAmountDiff))
377+ let userBoostPerBlockX3 = min([tmpUserBoostPerBlockX3, (userWxPerBlockX3 * 2)])
378+ let boostCoeff = if ((userWxPerBlockX3 == 0))
379+ then (1 * MULT8)
380+ else fraction((userBoostPerBlockX3 + userWxPerBlockX3), MULT8, userWxPerBlockX3)
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+ $Tuple2(nil, makeString(["%d%d%s", toString(gWxAmountStartNew), toString(boostCoeff), debug], SEP))
383+ }
384+
385+
386+
387+@Callable(i)
388+func wxEmissionStatsREADONLY () = {
389+ let ONEMULT = toString(MULT8)
390+ let ONE = "1"
391+ let wxEmissionPerBlock = getIntOrFail(emissionDapp, keyEmissionRatePerBlockCurrent())
392+ let emissionStartBlock = getIntOrFail(emissionDapp, keyEmissionStartBlock())
393+ let passedBlocks = if ((emissionStartBlock > height))
394+ then 0
395+ else (height - emissionStartBlock)
396+ let teamEmDuration = (1440 * 365)
397+ let teamEmMax = (201000000 * MULT8)
398+ let teamEm = if ((passedBlocks > teamEmDuration))
399+ then teamEmMax
400+ else fraction(teamEmMax, passedBlocks, teamEmDuration)
401+ let totalWxReleased = ((wxEmissionPerBlock * passedBlocks) + teamEm)
402+ let totalWxLocked = getIntOrZero(boostingDapp, keyBoostingLockParamTotalAmount())
403+ let locksDurationSumInBlocks = getIntOrZero(boostingDapp, keyBoostingStatsLocksDurationSumInBlocks())
404+ let locksCount = getIntOrZero(boostingDapp, keyBoostingStatsLocksCount())
405+ $Tuple2(nil, makeString(["%d%d%d%d", toString(totalWxReleased), toString(totalWxLocked), toString(locksDurationSumInBlocks), toString(locksCount)], SEP))
406+ }
407+
408+
409+
410+@Callable(i)
411+func poolStatsREADONLY (lpAsset) = {
412+ let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
413+ let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
414+ let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
415+ let amtAssetId = asString(cfg[idxAmtAssetId])
416+ let priceAssetId = asString(cfg[idxPriceAssetId])
417+ let iAmtAssetId = asString(cfg[idxIAmtAssetId])
418+ let iPriceAssetId = asString(cfg[idxIPriceAssetId])
419+ let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
420+ let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
421+ let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
422+ let accAmtAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amtAssetId], nil))
423+ let accPriceAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [priceAssetId], nil))
424+ let pricesList = if ((poolLPBalance == 0))
425+ then [toString(zeroBigInt), toString(zeroBigInt), toString(zeroBigInt)]
426+ else asAnyList(invoke(poolAddress, "calcPricesWrapperREADONLY", [accAmtAssetBalance, accPriceAssetBalance, poolLPBalance], nil))
427+ let curPrice = 0
428+ let lpAmtAssetShare = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[1], MULT8], nil))
429+ let lpPriceAssetShare = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [pricesList[2], MULT8], nil))
430+ let poolWeight = getIntegerValue(factoryDapp, keyFactoryPoolWeight(toString(poolAddress)))
431+ $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))
432+ }
433+
434+
435+
436+@Callable(i)
437+func poolEvaluatePutByAmountAssetREADONLY (lpAsset,inAmAssetAmt) = {
438+ let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
439+ let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
440+ let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
441+ let amAssetIdStr = asString(cfg[idxAmtAssetId])
442+ let amAssetId = fromBase58String(amAssetIdStr)
443+ let prAssetIdStr = asString(cfg[idxPriceAssetId])
444+ let prAssetId = fromBase58String(prAssetIdStr)
445+ let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
446+ let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
447+ let poolStatus = asString(cfg[idxPoolStatus])
448+ let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
449+ let accAmtAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil))
450+ let accPriceAssetBalance = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil))
451+ let amtAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [accAmtAssetBalance, amtAssetDcm], nil)))
452+ let priceAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [accPriceAssetBalance, priceAssetDcm], nil)))
453+ let curPriceX18 = if ((poolLPBalance == 0))
454+ then zeroBigInt
455+ else parseBigIntValue(asString(invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(priceAssetAmtX18), toString(amtAssetAmtX18)], nil)))
456+ let curPrice = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil))
457+ let inAmAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [inAmAssetAmt, amtAssetDcm], nil)))
458+ let inPrAssetAmtX18 = fraction(inAmAssetAmtX18, curPriceX18, MULT18)
459+ let inPrAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inPrAssetAmtX18), priceAssetDcm], nil))
460+ let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
461+ let $t02218622539 = match res {
462+ case _ =>
463+ if (if ($isInstanceOf($match0._1, "Int"))
464+ then if ($isInstanceOf($match0._3, "Int"))
465+ then if ($isInstanceOf($match0._4, "Int"))
466+ then if ($isInstanceOf($match0._5, "Int"))
467+ then $isInstanceOf($match0._6, "Int")
468+ else false
469+ else false
470+ else false
471+ else false)
472+ then {
473+ let calcLpAmt = $match0._1
474+ let curPriceCalc = $match0._3
475+ let amBalance = $match0._4
476+ let prBalance = $match0._5
477+ let lpEmission = $match0._6
478+ $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission)
479+ }
480+ else throw("Couldn't cast types")
481+ }
482+ let calcLpAmt = $t02218622539._1
483+ let curPriceCalc = $t02218622539._2
484+ let amBalance = $t02218622539._3
485+ let prBalance = $t02218622539._4
486+ let lpEmission = $t02218622539._5
487+ $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))
488+ }
489+
490+
491+
492+@Callable(i)
493+func poolEvaluatePutByPriceAssetREADONLY (lpAsset,inPrAssetAmt) = {
494+ let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(lpAsset)))
495+ let cfg = asAnyList(invoke(poolAddress, "getPoolConfigWrapperREADONLY", nil, nil))
496+ let lpAssetId = fromBase58String(asString(cfg[idxPoolLPAssetId]))
497+ let amAssetIdStr = asString(cfg[idxAmtAssetId])
498+ let amAssetId = fromBase58String(amAssetIdStr)
499+ let prAssetIdStr = asString(cfg[idxPriceAssetId])
500+ let prAssetId = fromBase58String(prAssetIdStr)
501+ let amtAssetDcm = parseIntValue(asString(cfg[idxAmtAssetDcm]))
502+ let priceAssetDcm = parseIntValue(asString(cfg[idxPriceAssetDcm]))
503+ let poolStatus = asString(cfg[idxPoolStatus])
504+ let poolLPBalance = valueOrErrorMessage(assetInfo(lpAssetId), (("Asset " + toBase58String(lpAssetId)) + " doesn't exist")).quantity
505+ let amBalanceRaw = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [amAssetIdStr], nil))
506+ let prBalanceRaw = asInt(invoke(poolAddress, "getAccBalanceWrapperREADONLY", [prAssetIdStr], nil))
507+ let amBalanceRawX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [amBalanceRaw, amtAssetDcm], nil)))
508+ let prBalanceRawX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [prBalanceRaw, priceAssetDcm], nil)))
509+ let curPriceX18 = if ((poolLPBalance == 0))
510+ then zeroBigInt
511+ else parseBigIntValue(asString(invoke(poolAddress, "calcPriceBigIntWrapperREADONLY", [toString(prBalanceRawX18), toString(amBalanceRawX18)], nil)))
512+ let curPrice = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(curPriceX18), MULT8], nil))
513+ let inPrAssetAmtX18 = parseBigIntValue(asString(invoke(poolAddress, "toX18WrapperREADONLY", [inPrAssetAmt, priceAssetDcm], nil)))
514+ let inAmAssetAmtX18 = fraction(inPrAssetAmtX18, MULT18, curPriceX18)
515+ let inAmAssetAmt = asInt(invoke(poolAddress, "fromX18WrapperREADONLY", [toString(inAmAssetAmtX18), amtAssetDcm], nil))
516+ let res = invoke(poolAddress, "estimatePutOperationWrapperREADONLY", ["", 500000, inAmAssetAmt, amAssetId, inPrAssetAmt, prAssetId, "", true, false], nil)
517+ let $t02511225465 = match res {
518+ case _ =>
519+ if (if ($isInstanceOf($match0._1, "Int"))
520+ then if ($isInstanceOf($match0._3, "Int"))
521+ then if ($isInstanceOf($match0._4, "Int"))
522+ then if ($isInstanceOf($match0._5, "Int"))
523+ then $isInstanceOf($match0._6, "Int")
524+ else false
525+ else false
526+ else false
527+ else false)
528+ then {
529+ let calcLpAmt = $match0._1
530+ let curPriceCalc = $match0._3
531+ let amBalance = $match0._4
532+ let prBalance = $match0._5
533+ let lpEmission = $match0._6
534+ $Tuple5(calcLpAmt, curPriceCalc, amBalance, prBalance, lpEmission)
535+ }
536+ else throw("Couldn't cast types")
537+ }
538+ let calcLpAmt = $t02511225465._1
539+ let curPriceCalc = $t02511225465._2
540+ let amBalance = $t02511225465._3
541+ let prBalance = $t02511225465._4
542+ let lpEmission = $t02511225465._5
543+ $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))
544+ }
545+
546+
547+
548+@Callable(i)
549+func poolEvaluateGetREADONLY (paymentLpAssetId,paymentLpAmt) = {
550+ let poolAddress = addressFromStringValue(getStringByAddressOrFail(factoryDapp, keyFactoryLpAssetToPoolContractAddress(paymentLpAssetId)))
551+ let res = invoke(poolAddress, "estimateGetOperationWrapperREADONLY", ["", paymentLpAssetId, paymentLpAmt, toString(poolAddress)], nil)
552+ let $t02616026577 = match res {
553+ case _ =>
554+ if (if ($isInstanceOf($match0._1, "Int"))
555+ then if ($isInstanceOf($match0._2, "Int"))
556+ then if ($isInstanceOf($match0._5, "Int"))
557+ then if ($isInstanceOf($match0._6, "Int"))
558+ then if ($isInstanceOf($match0._7, "Int"))
559+ then if ($isInstanceOf($match0._8, "String"))
560+ then $isInstanceOf($match0._9, "String")
561+ else false
562+ else false
563+ else false
564+ else false
565+ else false
566+ else false)
567+ then {
568+ let outAmAmt = $match0._1
569+ let outPrAmt = $match0._2
570+ let amBalance = $match0._5
571+ let prBalance = $match0._6
572+ let lpEmission = $match0._7
573+ let curPrice = $match0._8
574+ let poolStatus = $match0._9
575+ $Tuple7(outAmAmt, outPrAmt, amBalance, prBalance, lpEmission, curPrice, poolStatus)
576+ }
577+ else throw("Couldn't cast types")
578+ }
579+ let outAmAmt = $t02616026577._1
580+ let outPrAmt = $t02616026577._2
581+ let amBalance = $t02616026577._3
582+ let prBalance = $t02616026577._4
583+ let lpEmission = $t02616026577._5
584+ let curPrice = $t02616026577._6
585+ let poolStatus = $t02616026577._7
586+ $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(outAmAmt), toString(outPrAmt), toString(amBalance), toString(prBalance), toString(lpEmission), curPrice, poolStatus], SEP))
587+ }
588+
589+
590+
591+@Callable(i)
592+func gwxUserInfoREADONLY (userAddress) = {
593+ let gwxUserInfoLIST = asAnyList(invoke(boostingDapp, "gwxUserInfoREADONLY", [userAddress], nil))
594+ let gwxAmount = asInt(gwxUserInfoLIST[0])
595+ $Tuple2(nil, makeString(["%d", toString(gwxAmount)], SEP))
596+ }
597+
598+

github/deemru/w8io/026f985 
48.78 ms