tx · 9nJQKA6bn3DNUsCWapqwWSbAdfmk948aRtrFSH4SRxor

3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy:  -0.03000000 Waves

2023.07.13 16:53 [2664190] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves

{ "type": 13, "id": "9nJQKA6bn3DNUsCWapqwWSbAdfmk948aRtrFSH4SRxor", "fee": 3000000, "feeAssetId": null, "timestamp": 1689256532183, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "3PNQd57PQo8AEhkVavYWM5vmGuNPcMztrsT73sGZhTATV56juFccSF7QosWF86bTPGbd4erL2hGaxYxumwaxbC5r" ], "script": "base64:BgJKCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKARgSAwoBCBIAEgMKAQiVAQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAApZRUFSTUlMTElTAICG68d1AApXRUVLTUlMTElTAICIsqACAAlNQVhQRVJJT0QAnAEAEG1hcmtldGluZ0FkZHJLZXkCDW1hcmtldGluZ0FkZHIAC3RlYW1BZGRyS2V5Agh0ZWFtQWRkcgAUbGFzdE1hcmtldGluZ1RpbWVLZXkCGWxhc3RDbGFpbWVkVGltZV9tYXJrZXRpbmcAFm1hcmtldGluZ0Ftb3VudExlZnRLZXkCE21hcmtldGluZ0Ftb3VudExlZnQAD2xhc3RUZWFtVGltZUtleQIUbGFzdENsYWltZWRUaW1lX3RlYW0AEXRlYW1BbW91bnRMZWZ0S2V5Ag50ZWFtQW1vdW50TGVmdAAVbGFzdEFjdGl2aXRpZXNUaW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": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HBVk4SKZTM4P2EH5wNXkNrWZSUKELTw1jH3BqmGKhU3x Next: obPRefYqfY5pWQbneRqUdDG5X3mC1vMDogiSZ1a1nso Diff:
OldNewDifferences
135135 let restUsd = assetBalance(contracts[dappRest], usdtId)
136136 let wlgUsd = assetBalance(contracts[dappWlg], usdtId)
137137 let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId)
138- let totalFundsUsd = ((economyUsd + restUsd) + wlgUsd)
138+ let totalFundsUsd = (economyUsd + wlgUsd)
139139 let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet")
140140 let now = lastBlock.timestamp
141141 let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let M6 = 1000000
55
66 let M8 = 100000000
77
88 let MILLION6 = 100000000000000
99
1010 let MARKETINGSHARE = 100000
1111
1212 let TEAMSHARE = 200000
1313
1414 let ACTIVITYSHARE = 100000
1515
1616 let YEARMILLIS = 31557600000
1717
1818 let WEEKMILLIS = 604800000
1919
2020 let MAXPERIOD = 156
2121
2222 let marketingAddrKey = "marketingAddr"
2323
2424 let teamAddrKey = "teamAddr"
2525
2626 let lastMarketingTimeKey = "lastClaimedTime_marketing"
2727
2828 let marketingAmountLeftKey = "marketingAmountLeft"
2929
3030 let lastTeamTimeKey = "lastClaimedTime_team"
3131
3232 let teamAmountLeftKey = "teamAmountLeft"
3333
3434 let lastActivitiesTimeKey = "lastClaimedTime_activities"
3535
3636 let actAmountLeftKey = "activitiesAmountLeft"
3737
3838 let stakersAmountLeftKey = "stakersAmountLeft"
3939
4040 func keyLastClaimedTimeByUser (addr) = ("lastClaimedTimeUser_" + addr)
4141
4242
4343 let wlgIssueTimeKey = "wlg_issueTime"
4444
4545 let wlgIssuedAmountKey = "wlg_issuedAmount"
4646
4747 let idxWlgAmount = 0
4848
4949 let idxWlgPrice = 1
5050
5151 let idxWlgFunds = 2
5252
5353 let idxWlgEconomy = 3
5454
5555 let idxWlgActivity = 4
5656
5757 let idxWlgArbitrage = 5
5858
5959 let idxWlgPool = 6
6060
6161 let idxWlgIssueTime = 7
6262
6363 let idxWlgLastMTATime = 8
6464
6565 let idxWlgMarketingTotal = 9
6666
6767 let idxWlgMarketingAmLeft = 10
6868
6969 let idxWlgMarketingAmAvailNow = 11
7070
7171 let idxWlgMarketingWlgold = 12
7272
7373 let idxWlgTeamTotal = 13
7474
7575 let idxWlgTeamAmLeft = 14
7676
7777 let idxWlgTeamAmAvailNow = 15
7878
7979 let idxWlgTeamWlgold = 16
8080
8181 let idxWlgActTotal = 17
8282
8383 let idxWlgActAmLeft = 18
8484
8585 let idxWlgActAmAvailNow = 19
8686
8787 let idxWlgActWlgold = 20
8888
8989 let idxWlgCurPeriod = 21
9090
9191 let idxWlgAmLeftTotal = 22
9292
9393 let idxWlgCurPeriodDistribution = 23
9494
9595 let idxWlgLastUserTime = 24
9696
9797 let idxWlgUserAmAvailNow = 25
9898
9999 let dappRest = 0
100100
101101 let dappStaking = 1
102102
103103 let dappEconomy = 2
104104
105105 let dappWlg = 4
106106
107107 let dappPuzzle = 5
108108
109109 func getPieces (userAddrStrOrEmpty,stakingContract) = {
110110 let props = split(valueOrElse(getString(stakingContract, "resTypesProportions"), "0_0_0_0_0_0"), "_")
111111 func adder (acc,item) = (acc + parseIntValue(item))
112112
113113 let totalPower = {
114114 let $l = props
115115 let $s = size($l)
116116 let $acc0 = 0
117117 func $f0_1 ($a,$i) = if (($i >= $s))
118118 then $a
119119 else adder($a, $l[$i])
120120
121121 func $f0_2 ($a,$i) = if (($i >= $s))
122122 then $a
123123 else throw("List size exceeds 6")
124124
125125 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
126126 }
127127 let usersPower = valueOrElse(getInteger(stakingContract, ("stakedPiecesByOwner_" + userAddrStrOrEmpty)), 0)
128128 [totalPower, usersPower]
129129 }
130130
131131
132132 func getWlgStats (userAddrOpt,contracts,usdtId) = {
133133 let issuedAmount = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssuedAmountKey), "WLGOLD is not issued yet")
134134 let economyUsd = assetBalance(contracts[dappEconomy], usdtId)
135135 let restUsd = assetBalance(contracts[dappRest], usdtId)
136136 let wlgUsd = assetBalance(contracts[dappWlg], usdtId)
137137 let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId)
138- let totalFundsUsd = ((economyUsd + restUsd) + wlgUsd)
138+ let totalFundsUsd = (economyUsd + wlgUsd)
139139 let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet")
140140 let now = lastBlock.timestamp
141141 let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized")
142142 let marketingTotal = fraction(MILLION6, MARKETINGSHARE, M6)
143143 let marketingAmountLeft = valueOrElse(getInteger(contracts[dappWlg], marketingAmountLeftKey), marketingTotal)
144144 let lastMarketingTime = valueOrElse(getInteger(contracts[dappWlg], lastMarketingTimeKey), issueTime)
145145 let marketingAddr = addressFromStringValue(value(getString(contracts[dappWlg], marketingAddrKey)))
146146 let marketingAmountAvailableNow = min([fraction(marketingTotal, (now - lastMarketingTime), YEARMILLIS), marketingAmountLeft])
147147 let marketingWlgold = assetBalance(marketingAddr, wlgId)
148148 let teamTotal = fraction(MILLION6, TEAMSHARE, M6)
149149 let teamAmountLeft = valueOrElse(getInteger(contracts[dappWlg], teamAmountLeftKey), teamTotal)
150150 let lastTeamTime = valueOrElse(getInteger(contracts[dappWlg], lastTeamTimeKey), issueTime)
151151 let teamAddr = addressFromStringValue(value(getString(contracts[dappWlg], teamAddrKey)))
152152 let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEARMILLIS)), teamAmountLeft])
153153 let teamWlgold = assetBalance(teamAddr, wlgId)
154154 let actTotal = fraction(MILLION6, ACTIVITYSHARE, M6)
155155 let actAmountLeft = valueOrElse(getInteger(contracts[dappRest], actAmountLeftKey), actTotal)
156156 let lastActivitiesTime = valueOrElse(getInteger(contracts[dappRest], lastActivitiesTimeKey), issueTime)
157157 let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEARMILLIS)), actAmountLeft])
158158 let actWlgold = assetBalance(contracts[dappRest], wlgId)
159159 let lastUserTime = valueOrElse(getInteger(contracts[dappWlg], keyLastClaimedTimeByUser(userAddrOpt)), issueTime)
160160 let lastUserPeriod = ((lastUserTime - issueTime) / WEEKMILLIS)
161161 let curPeriod = ((now - issueTime) / WEEKMILLIS)
162162 let period = min([(lastUserPeriod + 1), curPeriod])
163163 let eff = getPieces(userAddrOpt, contracts[dappStaking])
164164 let totalPieces = eff[0]
165165 let amountLeftTotal = valueOrElse(getInteger(contracts[dappWlg], stakersAmountLeftKey), 0)
166166 let curPeriodDistribution = fraction(amountLeftTotal, (2 * totalPieces), (totalPieces + (max([100000, totalPieces]) * (MAXPERIOD - period))))
167167 let userAmount = fraction(fraction(curPeriodDistribution, eff[1], totalPieces), (now - lastUserTime), (3 * YEARMILLIS))
168168 [issuedAmount, fraction(totalFundsUsd, M8, issuedAmount), totalFundsUsd, economyUsd, restUsd, wlgUsd, puzzleUsd, issueTime, lastMarketingTime, marketingTotal, marketingAmountLeft, marketingAmountAvailableNow, marketingWlgold, teamTotal, teamAmountLeft, teamAmountAvailableNow, teamWlgold, actTotal, actAmountLeft, actAmountAvailableNow, actWlgold, curPeriod, amountLeftTotal, curPeriodDistribution, lastUserTime, userAmount]
169169 }
170170
171171
172172 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
173173
174174
175175 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
176176
177177
178178 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
179179
180180
181181 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
182182
183183
184184 func keyUserXP (addr) = ("userXP_" + addr)
185185
186186
187187 func keyUserLevel (addr) = ("userLevel_" + addr)
188188
189189
190190 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
191191
192192
193193 func maxHealth (level) = (100 + level)
194194
195195
196196 let ARTPRESALE = "PRESALE"
197197
198198 let ARTONBOARD = "ONBOARD"
199199
200200 let NUMRES = 6
201201
202202 let DAILYRESBYPIECE = 3456000
203203
204204 let DAYMILLIS = 86400000
205205
206206 let WHMULTIPLIER = 10000000000
207207
208208 let RESOURCEPRICEMIN = 39637
209209
210210 let ESMAXPACKAGES = 3
211211
212212 let ESBUYCOEF = 4
213213
214214 let ESSELLCOEF = 10
215215
216216 let productionMatrix = ["8_8_8_17_17_42_12_0", "8_8_8_17_17_42_24_0", "8_8_8_17_17_42_36_0", "8_19_19_8_27_19_26_1", "8_19_19_8_27_19_52_1", "8_19_19_8_27_19_78_1", "8_8_8_8_8_60_13_2", "8_8_8_8_8_60_26_2", "8_8_8_8_8_60_39_2", "30_30_3_17_17_3_30_3", "30_30_3_17_17_3_60_3", "30_30_3_17_17_3_90_3", "18_18_10_18_18_18_11_4", "18_18_10_18_18_18_22_4", "18_18_10_18_18_18_33_4"]
217217
218218 let rIdxCoeff = 6
219219
220220 let productPkgSize = 10
221221
222222 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
223223
224224
225225 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
226226
227227
228228 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
229229
230230
231231 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
232232
233233
234234 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
235235
236236
237237 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
238238
239239
240240 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
241241
242242
243243 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
244244
245245
246246 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
247247
248248
249249 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
250250
251251
252252 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
253253
254254
255255 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
256256
257257
258258 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
259259
260260
261261 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
262262
263263
264264 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
265265
266266
267267 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
268268
269269
270270 func keyBlocked () = "contractsBlocked"
271271
272272
273273 func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId)
274274
275275
276276 func keyEsWarehouse () = "emergencyWarehouseProducts"
277277
278278
279279 func getRecipeMaterials (recipe) = parseIntValue(recipe[rIdxCoeff])
280280
281281
282282 let chain = take(drop(this.bytes, 1), 1)
283283
284284 let usdtAssetId = match chain {
285285 case _ =>
286286 if ((base58'2W' == $match0))
287287 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
288288 else if ((base58'2T' == $match0))
289289 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
290290 else throw("Unknown chain")
291291 }
292292
293293 let defaultRestAddressStr = match chain {
294294 case _ =>
295295 if ((base58'2W' == $match0))
296296 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
297297 else if ((base58'2T' == $match0))
298298 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
299299 else throw("Unknown chain")
300300 }
301301
302302 let InfraUpgradeCostS = match chain {
303303 case _ =>
304304 if ((base58'2W' == $match0))
305305 then 10000000000
306306 else if ((base58'2T' == $match0))
307307 then 100000000
308308 else throw("Unknown chain")
309309 }
310310
311311 let SEP = "__"
312312
313313 let MULT6 = 1000000
314314
315315 let SSIZE = 25
316316
317317 let MSIZE = 100
318318
319319 let LSIZE = 225
320320
321321 let XLSIZE = 400
322322
323323 let XXLSIZE = 625
324324
325325 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
326326
327327
328328 let IdxCfgStakingDapp = 1
329329
330330 let IdxCfgEconomyDapp = 2
331331
332332 let IdxCfgGovernanceDapp = 3
333333
334334 let IdxCfgWlgDapp = 4
335335
336336 let IdxCfgPuzzlePoolDapp = 5
337337
338338 func keyRestCfg () = "%s__restConfig"
339339
340340
341341 func keyRestAddress () = "%s__restAddr"
342342
343343
344344 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
345345
346346
347347 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
348348
349349
350350 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
351351
352352 let restCfg = readRestCfgOrFail(restContract)
353353
354354 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
355355
356356 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
357357
358358 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
359359
360360 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
361361
362362 let puzzlePoolContract = getContractAddressOrFail(restCfg, IdxCfgPuzzlePoolDapp)
363363
364364 let recLandNum = 0
365365
366366 let recLandSize = 1
367367
368368 let recTerrains = 2
369369
370370 let recContinent = 3
371371
372372 let wlgAssetIdKey = "wlg_assetId"
373373
374374 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "Not initialized yet")
375375
376376 let IdxEffUser = 1
377377
378378 func keyResProportions () = "resTypesProportions"
379379
380380
381381 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
382382
383383
384384 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
385385
386386
387387 func asString (v) = match v {
388388 case s: String =>
389389 s
390390 case _ =>
391391 throw("fail to cast into String")
392392 }
393393
394394
395395 func asInt (v) = match v {
396396 case n: Int =>
397397 n
398398 case _ =>
399399 throw("fail to cast into Int")
400400 }
401401
402402
403403 func asBoolean (v) = match v {
404404 case s: Boolean =>
405405 s
406406 case _ =>
407407 throw("fail to cast into Boolean")
408408 }
409409
410410
411411 func numPiecesBySize (landSize) = match landSize {
412412 case _ =>
413413 if (("S" == $match0))
414414 then SSIZE
415415 else if (("M" == $match0))
416416 then MSIZE
417417 else if (("L" == $match0))
418418 then LSIZE
419419 else if (("XL" == $match0))
420420 then XLSIZE
421421 else if (("XXL" == $match0))
422422 then XXLSIZE
423423 else throw("Unknown land size")
424424 }
425425
426426
427427 func getVotingPower (userAddrStrOrEmpty) = {
428428 let props = split(valueOrElse(getString(stakingContract, keyResProportions()), "0_0_0_0_0_0"), "_")
429429 func adder (acc,item) = (acc + parseIntValue(item))
430430
431431 let totalPower = {
432432 let $l = props
433433 let $s = size($l)
434434 let $acc0 = 0
435435 func $f0_1 ($a,$i) = if (($i >= $s))
436436 then $a
437437 else adder($a, $l[$i])
438438
439439 func $f0_2 ($a,$i) = if (($i >= $s))
440440 then $a
441441 else throw("List size exceeds 6")
442442
443443 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
444444 }
445445 let usersPower = valueOrElse(getInteger(stakingContract, keyStakedPiecesByOwner(userAddrStrOrEmpty)), 0)
446446 [totalPower, usersPower]
447447 }
448448
449449
450450 let USDTPRIZEPART = 500000
451451
452452 func asListIntCompacted (val) = match val {
453453 case valAnyList: List[Any] =>
454454 if ((size(valAnyList) != NUMRES))
455455 then throw(("Array size is " + toString(size(valAnyList))))
456456 else {
457457 func conv (acc,item) = match item {
458458 case it: Int =>
459459 (acc :+ toString(it))
460460 case _ =>
461461 throw("List type is not Int")
462462 }
463463
464464 let r = {
465465 let $l = valAnyList
466466 let $s = size($l)
467467 let $acc0 = nil
468468 func $f0_1 ($a,$i) = if (($i >= $s))
469469 then $a
470470 else conv($a, $l[$i])
471471
472472 func $f0_2 ($a,$i) = if (($i >= $s))
473473 then $a
474474 else throw("List size exceeds 6")
475475
476476 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
477477 }
478478 makeString(r, "_")
479479 }
480480 case _ =>
481481 throw("fail to cast into List")
482482 }
483483
484484
485485 func asSplitResult (val) = match val {
486486 case t2: (List[Any], List[Any]) =>
487487 $Tuple2(asListIntCompacted(t2._1), asListIntCompacted(t2._2))
488488 case _ =>
489489 throw("fail to cast into (List, List)")
490490 }
491491
492492
493493 func walletInternal (userAddressOpt) = {
494494 let addr = addressFromString(userAddressOpt)
495495 let balance = if (isDefined(addr))
496496 then wavesBalance(value(addr))
497497 else BalanceDetails(0, 0, 0, 0)
498498 let usdtBalance = if (isDefined(addr))
499499 then assetBalance(value(addr), usdtAssetId)
500500 else 0
501501 let wlgoldBalance = if (isDefined(addr))
502502 then assetBalance(value(addr), wlgAssetId)
503503 else 0
504504 let customName = valueOrElse(getString(stakingContract, keyAddressToCustomName(userAddressOpt)), userAddressOpt)
505505 let refByKey = keyAddressRefBy(userAddressOpt)
506506 let refBy = getString(stakingContract, refByKey)
507507 let refs = valueOrElse(getString(stakingContract, keyAddressReferrals(userAddressOpt)), "")
508508 let lastTxId = valueOrElse(getString(stakingContract, keyLastTxIdByUser(userAddressOpt)), "")
509509 let pieces = getVotingPower(userAddressOpt)[IdxEffUser]
510510 let xp = valueOrElse(getInteger(stakingContract, keyUserXP(userAddressOpt)), 0)
511511 let lvl = valueOrElse(getInteger(stakingContract, keyUserLevel(userAddressOpt)), 0)
512512 let freePoints = valueOrElse(getInteger(stakingContract, keyUserFreePoints(userAddressOpt)), 0)
513513 let onboard = if (isDefined(refBy))
514514 then (ARTONBOARD + (if (if (isDefined(addr))
515515 then isDefined(getString(stakingContract, keyOnboardArtDuckActivatedBy(userAddressOpt)))
516516 else false)
517517 then ":1"
518518 else ":0"))
519519 else ""
520520 [("%s%s__customName__" + customName), ("%s%s__referredBy__" + valueOrElse(refBy, "")), ("%s%s__referrals__" + refs), ("%s%s__lastTxId__" + lastTxId), ("%s%d__wavesBalance__" + toString(balance.available)), ("%s%d__wlgoldBalance__" + toString(wlgoldBalance)), ("%s%d__usdtBalance__" + toString(usdtBalance)), ("%s%d__stakedPieces__" + toString(pieces)), ("%s%d__currentXp__" + toString(xp)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__pointsToDistribute__" + toString(freePoints)), ("%s%s__walletArtefacts__" + onboard)]
521521 }
522522
523523
524524 func applyBonuses (landAssetId,pieces) = {
525525 let infraLevel = valueOrElse(getInteger(stakingContract, keyInfraLevelByAssetId(landAssetId)), 0)
526526 let artPieces = valueOrElse(getInteger(stakingContract, keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
527527 let add6 = (infraLevel / 6)
528528 let add7 = (infraLevel / 7)
529529 $Tuple3(infraLevel, artPieces, ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5))))
530530 }
531531
532532
533533 func getWarehouseTotalVolume (volPrefix) = {
534534 let parts = split(volPrefix, "_")
535535 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
536536 }
537537
538538
539539 func getWarehouse (whKey,landIndex,infraLevel) = {
540540 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
541541 let totS = toString(getWarehouseTotalVolume(volPrefix))
542542 let whStr = valueOrElse(getString(stakingContract, whKey), ((((volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + totS) + "_") + totS))
543543 split(whStr, ":")
544544 }
545545
546546
547547 func duckInfoTuple (duckAssetId) = $Tuple5(valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(duckAssetId)), -1), value(assetInfo(fromBase58String(duckAssetId))).name, valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), ""), valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), -1), asString(invoke(stakingContract, "getBackpackREADONLY", [duckAssetId], nil)))
548548
549549
550550 func duckInfoArray (duckAssetId,owner,duckInf) = {
551551 let customName = valueOrElse(getString(stakingContract, keyDuckAssetIdToCustomName(duckAssetId)), duckInf._2)
552552 let chars = valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0")
553553 let xp = valueOrElse(getInteger(stakingContract, keyDuckXP(duckAssetId)), 0)
554554 let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
555555 let freePoints = valueOrElse(getInteger(stakingContract, keyDuckFreePoints(duckAssetId)), 0)
556556 [("%s%s__assetId__" + duckAssetId), ("%s%s__owner__" + owner), ("%s%s__customName__" + customName), ("%s%d__stakedTime__" + toString(duckInf._1)), ("%s%s__name__" + duckInf._2), ("%s%s__location__" + duckInf._3), ("%s%d__health__" + toString(duckInf._4)), ("%s%d__maxHealth__" + toString(maxHealth(lvl))), ("%s%s__characteristics__" + chars), ("%s%d__currentXp__" + toString(xp)), ("%s%d__currentLvl__" + toString(lvl)), ("%s%d__pointsToDistribute__" + toString(freePoints)), ("%s%s__backPack__" + duckInf._5)]
557557 }
558558
559559
560560 func landInfoArray (landAssetId,owner,stakedTime) = if ((landAssetId == ""))
561561 then throw("landAssetId is required")
562562 else {
563563 let a = value(assetInfo(fromBase58String(landAssetId)))
564564 let d = split(a.description, "_")
565565 let landNum = if ((a.quantity > 0))
566566 then d[recLandNum]
567567 else ("-" + d[recLandNum])
568568 let pieces = numPiecesBySize(d[recLandSize])
569569 let productivity = applyBonuses(landAssetId, pieces)
570570 let deltaTime = (lastBlock.timestamp - stakedTime)
571571 let availRes = if ((stakedTime > 0))
572572 then fraction(deltaTime, (productivity._3 * pieces), DAYMILLIS)
573573 else 0
574574 let needMat = fraction(InfraUpgradeCostS, (pieces * (productivity._1 + 1)), SSIZE)
575575 let globalAndLocal = if ((stakedTime > 0))
576576 then asSplitResult(invoke(stakingContract, "splitByGlobalAndLocalWeightsREADONLY", [needMat, availRes, d[recTerrains]], nil))
577577 else $Tuple2(asListIntCompacted(invoke(stakingContract, "splitByGlobalWeightsREADONLY", [needMat], nil)), "")
578578 let customName = valueOrElse(getString(stakingContract, keyLandAssetIdToCustomName(landAssetId)), ((d[recContinent] + "-") + d[recLandNum]))
579579 [("%s%s__assetId__" + landAssetId), ("%s%s__owner__" + owner), ("%s%s__customName__" + customName), ("%s%d__stakedTime__" + toString(stakedTime)), ("%s%s__description__" + makeString([landNum, d[recLandSize], d[recTerrains], d[recContinent]], "_")), ("%s%d__infraLevel__" + toString(productivity._1)), ("%s%s__availResByType__" + globalAndLocal._2), ("%s%d__availResTotal__" + toString(availRes)), ("%s%s__needMaterial__" + globalAndLocal._1), ("%s%s__landArtefacts__PRESALE:" + toString(productivity._2)), ("%s%s__warehouse__" + makeString(getWarehouse(keyWarehouseByLand(landAssetId), (pieces / SSIZE), productivity._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(economyContract, keyOrderByLand(landAssetId)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
580580 }
581581
582582
583583 func landOrderInfoArray (landAssetId,owner) = if ((landAssetId == ""))
584584 then throw("landAssetId is required")
585585 else {
586586 let a = value(assetInfo(fromBase58String(landAssetId)))
587587 let d = split(a.description, "_")
588588 let pieces = numPiecesBySize(d[recLandSize])
589589 let productivity = applyBonuses(landAssetId, pieces)
590590 [("%s%s__assetId__" + landAssetId), ("%s%s__owner__" + owner), ("%s%s__warehouse__" + makeString(getWarehouse(keyWarehouseByLand(landAssetId), (pieces / SSIZE), productivity._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(economyContract, keyOrderByLand(landAssetId)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))]
591591 }
592592
593593
594594 @Callable(i)
595595 func constructorV1 (contracts) = if ((i.caller != this))
596596 then throw("permissions denied")
597597 else {
598598 func descriptor (acc,ignoredItem) = (acc + "%s")
599599
600600 let descr = {
601601 let $l = contracts
602602 let $s = size($l)
603603 let $acc0 = ""
604604 func $f0_1 ($a,$i) = if (($i >= $s))
605605 then $a
606606 else descriptor($a, $l[$i])
607607
608608 func $f0_2 ($a,$i) = if (($i >= $s))
609609 then $a
610610 else throw("List size exceeds 10")
611611
612612 $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)
613613 }
614614 [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRestAddress(), toString(this))]
615615 }
616616
617617
618618
619619 @Callable(i)
620620 func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt))
621621
622622
623623
624624 @Callable(i)
625625 func duckByOwnerInfoREADONLY (userAddress) = {
626626 let stakedDuck = getString(stakingContract, keyStakedDuckByOwner(userAddress))
627627 $Tuple2(nil, if (if (isDefined(addressFromString(userAddress)))
628628 then isDefined(stakedDuck)
629629 else false)
630630 then {
631631 let duckAssetId = value(stakedDuck)
632632 duckInfoArray(duckAssetId, userAddress, duckInfoTuple(duckAssetId))
633633 }
634634 else duckInfoArray("", userAddress, $Tuple5(-1, "", "", -1, "")))
635635 }
636636
637637
638638
639639 @Callable(i)
640640 func duckByAssetIdInfoREADONLY (duckAssetId) = {
641641 let owner = getString(stakingContract, keyDuckIdToOwner(duckAssetId))
642642 let duckInf = duckInfoTuple(duckAssetId)
643643 $Tuple2(nil, duckInfoArray(duckAssetId, if (isDefined(owner))
644644 then value(owner)
645645 else "", duckInfoTuple(duckAssetId)))
646646 }
647647
648648
649649
650650 @Callable(i)
651651 func landByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == ""))
652652 then throw("landAssetId is required")
653653 else {
654654 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
655655 let owner = if ((stakedTime > 0))
656656 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
657657 else ""
658658 $Tuple2(nil, landInfoArray(landAssetId, owner, stakedTime))
659659 }
660660
661661
662662
663663 @Callable(i)
664664 func stakedLandsByOwnerInfoREADONLY (landOwnerAddress) = if ((landOwnerAddress == ""))
665665 then throw("landOwnerAddress is required")
666666 else {
667667 let landsStr = getString(stakingContract, keyStakedLandsByOwner(landOwnerAddress))
668668 let lands = if (isDefined(landsStr))
669669 then split_51C(value(landsStr), "_")
670670 else nil
671671 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
672672 then throw("landAssetId is required")
673673 else {
674674 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
675675 (acc :+ landInfoArray(landAssetId, landOwnerAddress, stakedTime))
676676 }
677677
678678 let r = {
679679 let $l = lands
680680 let $s = size($l)
681681 let $acc0 = nil
682682 func $f0_1 ($a,$i) = if (($i >= $s))
683683 then $a
684684 else oneLand($a, $l[$i])
685685
686686 func $f0_2 ($a,$i) = if (($i >= $s))
687687 then $a
688688 else throw("List size exceeds 100")
689689
690690 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
691691 }
692692 $Tuple2(nil, r)
693693 }
694694
695695
696696
697697 @Callable(i)
698698 func landsByIdsInfoREADONLY (landAssetIds) = {
699699 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
700700 then throw("landAssetId is required")
701701 else {
702702 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
703703 let owner = if ((stakedTime > 0))
704704 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
705705 else ""
706706 (acc :+ landInfoArray(landAssetId, owner, stakedTime))
707707 }
708708
709709 let r = {
710710 let $l = landAssetIds
711711 let $s = size($l)
712712 let $acc0 = nil
713713 func $f0_1 ($a,$i) = if (($i >= $s))
714714 then $a
715715 else oneLand($a, $l[$i])
716716
717717 func $f0_2 ($a,$i) = if (($i >= $s))
718718 then $a
719719 else throw("List size exceeds 100")
720720
721721 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
722722 }
723723 $Tuple2(nil, r)
724724 }
725725
726726
727727
728728 @Callable(i)
729729 func warehouseOrderByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == ""))
730730 then throw("landAssetId is required")
731731 else {
732732 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
733733 let owner = if ((stakedTime > 0))
734734 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
735735 else ""
736736 $Tuple2(nil, landOrderInfoArray(landAssetId, owner))
737737 }
738738
739739
740740
741741 @Callable(i)
742742 func ordersByLandIdsInfoREADONLY (landAssetIds) = {
743743 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
744744 then throw("landAssetId is required")
745745 else {
746746 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
747747 let owner = if ((stakedTime > 0))
748748 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
749749 else ""
750750 (acc :+ landOrderInfoArray(landAssetId, owner))
751751 }
752752
753753 let r = {
754754 let $l = landAssetIds
755755 let $s = size($l)
756756 let $acc0 = nil
757757 func $f0_1 ($a,$i) = if (($i >= $s))
758758 then $a
759759 else oneLand($a, $l[$i])
760760
761761 func $f0_2 ($a,$i) = if (($i >= $s))
762762 then $a
763763 else throw("List size exceeds 40")
764764
765765 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40)
766766 }
767767 $Tuple2(nil, r)
768768 }
769769
770770
771771
772772 @Callable(i)
773773 func cancelWarehouseOrders (landAssetIds) = if ((i.caller != this))
774774 then throw("permission denied")
775775 else {
776776 let blocked = getBoolean(stakingContract, keyBlocked())
777777 if (if (!(isDefined(blocked)))
778778 then true
779779 else (value(blocked) == false))
780780 then throw("Contracts should be blocked before canceling orders")
781781 else {
782782 func oneLand (a,landAssetId) = if ((landAssetId == ""))
783783 then throw("landAssetId is required")
784784 else {
785785 let c = asBoolean(invoke(economyContract, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", landAssetId], nil))
786786 if (if (a)
787787 then true
788788 else c)
789789 then !(if (a)
790790 then c
791791 else false)
792792 else false
793793 }
794794
795795 let r = {
796796 let $l = landAssetIds
797797 let $s = size($l)
798798 let $acc0 = false
799799 func $f0_1 ($a,$i) = if (($i >= $s))
800800 then $a
801801 else oneLand($a, $l[$i])
802802
803803 func $f0_2 ($a,$i) = if (($i >= $s))
804804 then $a
805805 else throw("List size exceeds 30")
806806
807807 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30)
808808 }
809809 $Tuple2(nil, r)
810810 }
811811 }
812812
813813
814814
815815 @Callable(i)
816816 func fixWarehouseFormats (landAssetIds) = if ((i.caller != this))
817817 then throw("permission denied")
818818 else {
819819 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
820820 then throw("landAssetId is required")
821821 else (acc + size(asString(invoke(stakingContract, "fixWarehouseFormat", [landAssetId], nil))))
822822
823823 let r = {
824824 let $l = landAssetIds
825825 let $s = size($l)
826826 let $acc0 = 0
827827 func $f0_1 ($a,$i) = if (($i >= $s))
828828 then $a
829829 else oneLand($a, $l[$i])
830830
831831 func $f0_2 ($a,$i) = if (($i >= $s))
832832 then $a
833833 else throw("List size exceeds 25")
834834
835835 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25)
836836 }
837837 $Tuple2(nil, r)
838838 }
839839
840840
841841
842842 @Callable(i)
843843 func fixStakedPieces (users) = if ((i.caller != this))
844844 then throw("permission denied")
845845 else {
846846 func oneUser (acc,addr) = if ((addr == ""))
847847 then throw("address is required")
848848 else (acc + asInt(invoke(stakingContract, "fixStakedPieces", [addr], nil)))
849849
850850 let r = {
851851 let $l = users
852852 let $s = size($l)
853853 let $acc0 = 0
854854 func $f0_1 ($a,$i) = if (($i >= $s))
855855 then $a
856856 else oneUser($a, $l[$i])
857857
858858 func $f0_2 ($a,$i) = if (($i >= $s))
859859 then $a
860860 else throw("List size exceeds 16")
861861
862862 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16)
863863 }
864864 $Tuple2(nil, r)
865865 }
866866
867867
868868
869869 @Callable(i)
870870 func sendUsdtPrize (userAddress) = if ((i.caller != stakingContract))
871871 then throw("permission denied")
872872 else {
873873 let amt = fraction(assetBalance(this, usdtAssetId), USDTPRIZEPART, MULT6)
874874 $Tuple2([ScriptTransfer(addressFromStringValue(userAddress), amt, usdtAssetId)], amt)
875875 }
876876
877877
878878
879879 @Callable(i)
880880 func getEmergencyServiceDataREADONLY () = {
881881 let existStr = getString(economyContract, keyEsWarehouse())
882882 let existAmounts = if (isDefined(existStr))
883883 then split(value(existStr), "_")
884884 else nil
885885 func singleProd (acc,recipeStr) = {
886886 let n = acc._2
887887 let recipe = split(recipeStr, "_")
888888 let maxAmount = if ((n == 0))
889889 then (ESMAXPACKAGES * productPkgSize)
890890 else 0
891891 let existAmount = if ((size(existAmounts) > n))
892892 then parseIntValue(existAmounts[n])
893893 else 0
894894 let totalMat = getRecipeMaterials(recipe)
895895 let buyPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (10 * productPkgSize))
896896 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (10 * productPkgSize))
897897 let y = makeString([toString(maxAmount), toString(existAmount), toString(buyPrice), toString(sellPrice)], "_")
898898 $Tuple2((acc._1 :+ y), (n + 1))
899899 }
900900
901901 let s = makeString_2C(( let $l = productionMatrix
902902 let $s = size($l)
903903 let $acc0 = $Tuple2(nil, 0)
904904 func $f0_1 ($a,$i) = if (($i >= $s))
905905 then $a
906906 else singleProd($a, $l[$i])
907907
908908 func $f0_2 ($a,$i) = if (($i >= $s))
909909 then $a
910910 else throw("List size exceeds 50")
911911
912912 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":")
913913 let result = ("%s%s__emergencyServiceData__" + s)
914914 $Tuple2(nil, result)
915915 }
916916
917917
918918
919919 @Callable(i)
920920 func wlgStatsREADONLY (userAddrOpt) = {
921921 let curStats = getWlgStats(userAddrOpt, [restContract, stakingContract, economyContract, govContract, wlgContract, puzzlePoolContract], usdtAssetId)
922922 $Tuple2(nil, [("%s%s%d__wlgAmount__" + toString(curStats[idxWlgAmount])), ("%s%s%d__wlgPrice__" + toString(curStats[idxWlgPrice])), ("%s%s%d__usdtFunds__" + toString(curStats[idxWlgFunds])), ("%s%s%d__usdtEconomy__" + toString(curStats[idxWlgEconomy])), ("%s%s%d__usdtActivity__" + toString(curStats[idxWlgActivity])), ("%s%s%d__usdtArbitrage__" + toString(curStats[idxWlgArbitrage])), ("%s%s%d__usdtPool__" + toString(curStats[idxWlgPool])), ("%s%s%d__wlgIssueTime__" + toString(curStats[idxWlgIssueTime])), ("%s%s%d__wlgLastMarketingTeamActTime__" + toString(curStats[idxWlgLastMTATime])), ("%s%s%d__wlgMarketingTotal__" + toString(curStats[idxWlgMarketingTotal])), ("%s%s%d__wlgMarketingAmLeft__" + toString(curStats[idxWlgMarketingAmLeft])), ("%s%s%d__wlgMarketingAmAvailNow__" + toString(curStats[idxWlgMarketingAmAvailNow])), ("%s%s%d__wlgMarketingWlgold__" + toString(curStats[idxWlgMarketingWlgold])), ("%s%s%d__wlgTeamTotal__" + toString(curStats[idxWlgTeamTotal])), ("%s%s%d__wlgTeamAmLeft__" + toString(curStats[idxWlgTeamAmLeft])), ("%s%s%d__wlgTeamAmAvailNow__" + toString(curStats[idxWlgTeamAmAvailNow])), ("%s%s%d__wlgTeamWlgold__" + toString(curStats[idxWlgTeamWlgold])), ("%s%s%d__wlgActTotal__" + toString(curStats[idxWlgActTotal])), ("%s%s%d__wlgActAmLeft__" + toString(curStats[idxWlgActAmLeft])), ("%s%s%d__wlgActAmAvailNow__" + toString(curStats[idxWlgActAmAvailNow])), ("%s%s%d__wlgActWlgold__" + toString(curStats[idxWlgActWlgold])), ("%s%s%d__wlgCurPeriod__" + toString(curStats[idxWlgCurPeriod])), ("%s%s%d__wlgAmLeftTotal__" + toString(curStats[idxWlgAmLeftTotal])), ("%s%s%d__wlgCurPeriodDistribution__" + toString(curStats[idxWlgCurPeriodDistribution])), ("%s%s%d__wlgLastUserTime__" + toString(curStats[idxWlgLastUserTime])), ("%s%s%d__wlgUserAmAvailNow__" + toString(curStats[idxWlgUserAmAvailNow]))])
923923 }
924924
925925

github/deemru/w8io/026f985 
98.10 ms