tx · BTv1RiP1iUEozxPpFZ6U1dRzbm2SkgpHSXrVgzfkdNYP

3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy:  -0.03600000 Waves

2023.08.14 11:06 [2709969] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves

{ "type": 13, "id": "BTv1RiP1iUEozxPpFZ6U1dRzbm2SkgpHSXrVgzfkdNYP", "fee": 3600000, "feeAssetId": null, "timestamp": 1692000440139, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "5QsBKsmJbiFXgmoB7TKzfKrEGK3tGLGNSeegBbBbN68c3ncTVvKGT62EM8vSGretgxyTJyxPeoVvhDNHHLRPf5qD" ], "script": "base64:BgJcCAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEIEgMKAQgSAwoBGBIDCgEIEgMKARgSAwoBGBIDCgEYEgMKARgSAwoBGBIDCgEIEgASAwoBCBIDCgEBEgASBAoCAQi1AQACTTYAwIQ9AAJNOACAwtcvAAhNSUxMSU9ONgCAgOmDsd4WAA5NQVJLRVRJTkdTSEFSRQCgjQYACVRFQU1TSEFSRQDAmgwADUFDVElWSVRZU0hBUkUAoI0GAAtQTEFZRVJTSEFSRQCAtRgACllFQVJNSUxMSVMAgIbrx3UAA0RBWQCAuJkpABBtYXJrZXRpbmdBZGRyS2V5Ag1tYXJrZXRpbmdBZGRyAAt0ZWFtQWRkcktleQIIdGVhbUFkZHIAFGxhc3RNYXJrZXRpbmdUaW1lS2V5AhlsYXN0Q2xhaW1lZFRpbWVfbWFya2V0aW5nABZtYXJrZXRpbmdBbW91bnRMZWZ0S2V5AhNtYXJrZXRpbmdBbW91bnRMZWZ0AA9sYXN0VGVhbVRpbWVLZXkCFGxhc3RDbGFpbWVkVGltZV90ZWFtABF0ZWFtQW1vdW50TGVmdEtleQIOd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ALkJAgkAzAgCCQCRAwIFB2R5bmFtaWMFDnREeW5hbWljU3RhdHVzCQDMCAIFB3dpbkR1Y2sJAMwIAgkAkQMCBQdkeW5hbWljBRF0RHluYW1pY1dpblJlc3VsdAkAzAgCCQCRAwIFB2R5bmFtaWMFFXREeW5hbWljVG90YWxSZWdDb3VudAkAzAgCCQCRAwIFB2R5bmFtaWMFFXREeW5hbWljVG90YWxBdHRlbXB0cwUDbmlsAgFfCQDMCAIJAKwCAgIdJXMlc19fdG91cm5hbWVudFJlZ2lzdHJhbnRzX18FC3JlZ2lzdHJhbnRzBQNuaWwBaQEbdG91cm5hbWVudER1Y2tTdGF0c1JFQURPTkxZAgN0SWQLZHVja0Fzc2V0SWQECWlzRHVja1JlZwkBC3ZhbHVlT3JFbHNlAgkAmwgCBRJ0b3VybmFtZW50Q29udHJhY3QJARxrZXlJc1JlZ2lzdGVyZWRCeVRvdXJBbmREdWNrAgUDdElkBQtkdWNrQXNzZXRJZAcED2xhc3REdWNrQXR0ZW1wdAkBC3ZhbHVlT3JFbHNlAgkAmggCBRJ0b3VybmFtZW50Q29udHJhY3QJARtrZXlMYXN0QXR0ZW1wdEJ5VG91ckFuZER1Y2sCBQN0SWQFC2R1Y2tBc3NldElkAAAEDmJlc3REdWNrUmVzdWx0CQELdmFsdWVPckVsc2UCCQCaCAIFEnRvdXJuYW1lbnRDb250cmFjdAkBGmtleUJlc3RSZXN1bHRCeVRvdXJBbmREdWNrAgUDdElkBQtkdWNrQXNzZXRJZAAACQCUCgIFA25pbAkAzAgCCQCsAgICGyVzJXNfX3RvdXJuYW1lbnREdWNrU3RhdHNfXwkAuQkCCQDMCAIJAKUDAQUJaXNEdWNrUmVnCQDMCAIJAKQDAQUPbGFzdER1Y2tBdHRlbXB0CQDMCAIJAKQDAQUOYmVzdER1Y2tSZXN1bHQFA25pbAIBXwUDbmlsAKBlcIk=", "height": 2709969, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FDBrKcp7m1f9pEXFZpBzH9EcufqXQkundhckqFqN7Vp8 Next: 4xabMYaYSu6mq7EHcUw49MubX22BPp7Ge2WEWPpvc6AF Diff:
OldNewDifferences
986986 func getEmergencyServiceDataREADONLY () = {
987987 let existStr = getString(economyContract, keyEsWarehouse())
988988 let existAmounts = if (isDefined(existStr))
989- then split(value(existStr), "_")
989+ then split_4C(value(existStr), "_")
990990 else nil
991991 func singleProd (acc,recipeStr) = {
992992 let n = acc._2
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 PLAYERSHARE = 400000
1717
1818 let YEARMILLIS = 31557600000
1919
2020 let DAY = 86400000
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 func distributionByPeriod (period) = fraction(MILLION6, (PLAYERSHARE * (period + 1)), (6 * M6))
4444
4545
4646 let wlgIssueTimeKey = "wlg_issueTime"
4747
4848 let wlgIssuedAmountKey = "wlg_issuedAmount"
4949
5050 let zbIssuedAmountKey = "zbill_issuedAmount"
5151
5252 let idxWlgAmount = 0
5353
5454 let idxWlgPrice = 1
5555
5656 let idxWlgFunds = 2
5757
5858 let idxWlgEconomy = 3
5959
6060 let idxWlgActivity = 4
6161
6262 let idxWlgArbitrage = 5
6363
6464 let idxWlgPool = 6
6565
6666 let idxWlgIssueTime = 7
6767
6868 let idxWlgLastMTATime = 8
6969
7070 let idxWlgMarketingTotal = 9
7171
7272 let idxWlgMarketingAmLeft = 10
7373
7474 let idxWlgMarketingAmAvailNow = 11
7575
7676 let idxWlgMarketingWlgold = 12
7777
7878 let idxWlgTeamTotal = 13
7979
8080 let idxWlgTeamAmLeft = 14
8181
8282 let idxWlgTeamAmAvailNow = 15
8383
8484 let idxWlgTeamWlgold = 16
8585
8686 let idxWlgActTotal = 17
8787
8888 let idxWlgActAmLeft = 18
8989
9090 let idxWlgActAmAvailNow = 19
9191
9292 let idxWlgActWlgold = 20
9393
9494 let idxWlgCurPeriod = 21
9595
9696 let idxWlgAmLeftTotal = 22
9797
9898 let idxWlgCurPeriodDistribution = 23
9999
100100 let idxWlgLastUserTime = 24
101101
102102 let idxWlgUserAmAvailNow = 25
103103
104104 let idxWlgSLandDailyAmount = 26
105105
106106 let idxWlgInvestFundAmount = 27
107107
108108 let dappRest = 0
109109
110110 let dappStaking = 1
111111
112112 let dappEconomy = 2
113113
114114 let dappWlg = 4
115115
116116 let dappPuzzle = 5
117117
118118 let dappInvestFund = 6
119119
120120 func getPieces (userAddrStrOrEmpty,stakingContract) = {
121121 let props = split(valueOrElse(getString(stakingContract, "resTypesProportions"), "0_0_0_0_0_0"), "_")
122122 func adder (acc,item) = (acc + parseIntValue(item))
123123
124124 let totalPower = {
125125 let $l = props
126126 let $s = size($l)
127127 let $acc0 = 0
128128 func $f0_1 ($a,$i) = if (($i >= $s))
129129 then $a
130130 else adder($a, $l[$i])
131131
132132 func $f0_2 ($a,$i) = if (($i >= $s))
133133 then $a
134134 else throw("List size exceeds 6")
135135
136136 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
137137 }
138138 let usersPower = valueOrElse(getInteger(stakingContract, ("stakedPiecesByOwner_" + userAddrStrOrEmpty)), 0)
139139 [totalPower, usersPower]
140140 }
141141
142142
143143 func getWlgStats (userAddrOpt,contracts,usdtId,usdtBalanceCorrection) = {
144144 let issuedAmount = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssuedAmountKey), "WLGOLD is not issued yet")
145145 let economyUsd = assetBalance(contracts[dappEconomy], usdtId)
146146 let restUsd = assetBalance(contracts[dappRest], usdtId)
147147 let wlgUsd = (assetBalance(contracts[dappWlg], usdtId) - usdtBalanceCorrection)
148148 let puzzleUsd = assetBalance(contracts[dappPuzzle], usdtId)
149149 let investFundContract = contracts[dappInvestFund]
150150 let investFundTotal = (assetBalance(investFundContract, usdtId) + valueOrElse(getInteger(investFundContract, zbIssuedAmountKey), 0))
151151 let totalFundsUsd = ((economyUsd + wlgUsd) + investFundTotal)
152152 let wlgId = valueOrErrorMessage(getBinary(contracts[dappWlg], "wlg_assetId"), "Not initialized yet")
153153 let now = lastBlock.timestamp
154154 let issueTime = valueOrErrorMessage(getInteger(contracts[dappWlg], wlgIssueTimeKey), "Not initialized")
155155 let marketingTotal = fraction(MILLION6, MARKETINGSHARE, M6)
156156 let marketingAmountLeft = valueOrElse(getInteger(contracts[dappWlg], marketingAmountLeftKey), marketingTotal)
157157 let lastMarketingTime = valueOrElse(getInteger(contracts[dappWlg], lastMarketingTimeKey), issueTime)
158158 let marketingAddr = addressFromStringValue(value(getString(contracts[dappWlg], marketingAddrKey)))
159159 let marketingAmountAvailableNow = min([fraction(marketingTotal, (now - lastMarketingTime), YEARMILLIS), marketingAmountLeft])
160160 let marketingWlgold = assetBalance(marketingAddr, wlgId)
161161 let teamTotal = fraction(MILLION6, TEAMSHARE, M6)
162162 let teamAmountLeft = valueOrElse(getInteger(contracts[dappWlg], teamAmountLeftKey), teamTotal)
163163 let lastTeamTime = valueOrElse(getInteger(contracts[dappWlg], lastTeamTimeKey), issueTime)
164164 let teamAddr = addressFromStringValue(value(getString(contracts[dappWlg], teamAddrKey)))
165165 let teamAmountAvailableNow = min([fraction(teamTotal, (now - lastTeamTime), (3 * YEARMILLIS)), teamAmountLeft])
166166 let teamWlgold = assetBalance(teamAddr, wlgId)
167167 let actTotal = fraction(MILLION6, ACTIVITYSHARE, M6)
168168 let actAmountLeft = valueOrElse(getInteger(contracts[dappWlg], actAmountLeftKey), actTotal)
169169 let lastActivitiesTime = valueOrElse(getInteger(contracts[dappWlg], lastActivitiesTimeKey), issueTime)
170170 let actAmountAvailableNow = min([fraction(actTotal, (now - lastActivitiesTime), (3 * YEARMILLIS)), actAmountLeft])
171171 let actWlgold = assetBalance(contracts[dappRest], wlgId)
172172 let lastUserTime = valueOrElse(getInteger(contracts[dappWlg], keyLastClaimedTimeByUser(userAddrOpt)), issueTime)
173173 let lastUserPeriod = ((lastUserTime - issueTime) / YEARMILLIS)
174174 let nowLimited = min([now, (issueTime + (3 * YEARMILLIS))])
175175 let curPeriod = min([((now - issueTime) / YEARMILLIS), 2])
176176 let eff = getPieces(userAddrOpt, contracts[dappStaking])
177177 let curPeriodDistribution = distributionByPeriod(curPeriod)
178178 let userAmount = fraction(if ((lastUserPeriod == curPeriod))
179179 then fraction(curPeriodDistribution, (nowLimited - lastUserTime), YEARMILLIS)
180180 else if ((lastUserPeriod == (curPeriod - 1)))
181181 then (fraction(distributionByPeriod((curPeriod - 1)), ((issueTime + (YEARMILLIS * curPeriod)) - lastUserTime), YEARMILLIS) + fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS))
182182 else ((fraction(distributionByPeriod((curPeriod - 2)), ((issueTime + (YEARMILLIS * (curPeriod - 1))) - lastUserTime), YEARMILLIS) + distributionByPeriod((curPeriod - 1))) + fraction(curPeriodDistribution, (nowLimited - (issueTime + (YEARMILLIS * curPeriod))), YEARMILLIS)), eff[1], eff[0])
183183 let sLandDailyAmount = fraction(fraction(curPeriodDistribution, DAY, YEARMILLIS), 25, eff[0])
184184 let amountLeftTotal = valueOrElse(getInteger(contracts[dappWlg], stakersAmountLeftKey), 0)
185185 [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, sLandDailyAmount, investFundTotal]
186186 }
187187
188188
189189 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
190190
191191
192192 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
193193
194194
195195 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
196196
197197
198198 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
199199
200200
201201 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
202202
203203
204204 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
205205
206206
207207 func keyUserXP (addr) = ("userXP_" + addr)
208208
209209
210210 func keyUserLevel (addr) = ("userLevel_" + addr)
211211
212212
213213 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
214214
215215
216216 func maxHealth (level) = (100 + level)
217217
218218
219219 let ARTPRESALE = "PRESALE"
220220
221221 let ARTONBOARD = "ONBOARD"
222222
223223 let NUMRES = 6
224224
225225 let DAILYRESBYPIECE = 3456000
226226
227227 let DAYMILLIS = 86400000
228228
229229 let WHMULTIPLIER = 10000000000
230230
231231 let RESOURCEPRICEMIN = 39637
232232
233233 let ESMAXPACKAGES = 3
234234
235235 let ESBUYCOEF = 4
236236
237237 let ESSELLCOEF = 10
238238
239239 let COEFF2MAT = 10000000
240240
241241 let productionMatrix = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_30_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_50_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_70_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"]
242242
243243 let rIdxCoeff = 6
244244
245245 let PRODUCTPKGSIZE = 10
246246
247247 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
248248
249249
250250 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
251251
252252
253253 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
254254
255255
256256 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
257257
258258
259259 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
260260
261261
262262 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
263263
264264
265265 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
266266
267267
268268 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
269269
270270
271271 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
272272
273273
274274 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
275275
276276
277277 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
278278
279279
280280 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
281281
282282
283283 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
284284
285285
286286 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
287287
288288
289289 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
290290
291291
292292 func keyBlocked () = "contractsBlocked"
293293
294294
295295 func keyOrderByLand (landAssetId) = ("landOrder_" + landAssetId)
296296
297297
298298 func keyEsWarehouse () = "emergencyWarehouseProducts"
299299
300300
301301 let lastTourIdKey = "%s__lastTourId"
302302
303303 func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId))
304304
305305
306306 func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId))
307307
308308
309309 func keyAllRegistrantsByTour (tId) = ("%s%d__allRegistrants__" + toString(tId))
310310
311311
312312 let idxStatic = 0
313313
314314 let idxDynamic = 1
315315
316316 func getTourData (tourContract,tId) = {
317317 let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
318318 let dynamic = split(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
319319 [static, dynamic]
320320 }
321321
322322
323323 let tStaticRegisterCost = 2
324324
325325 let tStaticAttemptCost = 3
326326
327327 let tStaticStart = 5
328328
329329 let tStaticEnd = 6
330330
331331 let tDynamicStatus = 1
332332
333333 let tDynamicWinDuck = 2
334334
335335 let tDynamicWinResult = 3
336336
337337 let tDynamicTotalRegCount = 4
338338
339339 let tDynamicTotalAttempts = 5
340340
341341 func keyIsRegisteredByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(tId), duckAssetId], "__")
342342
343343
344344 func keyLastAttemptByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(tId), duckAssetId], "__")
345345
346346
347347 func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__")
348348
349349
350350 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
351351
352352
353353 let chain = take(drop(this.bytes, 1), 1)
354354
355355 let usdtAssetId = match chain {
356356 case _ =>
357357 if ((base58'2W' == $match0))
358358 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
359359 else if ((base58'2T' == $match0))
360360 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
361361 else throw("Unknown chain")
362362 }
363363
364364 let defaultRestAddressStr = match chain {
365365 case _ =>
366366 if ((base58'2W' == $match0))
367367 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
368368 else if ((base58'2T' == $match0))
369369 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
370370 else throw("Unknown chain")
371371 }
372372
373373 let InfraUpgradeCostS = match chain {
374374 case _ =>
375375 if ((base58'2W' == $match0))
376376 then 10000000000
377377 else if ((base58'2T' == $match0))
378378 then 100000000
379379 else throw("Unknown chain")
380380 }
381381
382382 let SEP = "__"
383383
384384 let MULT6 = 1000000
385385
386386 let MULT8 = 100000000
387387
388388 let SSIZE = 25
389389
390390 let MSIZE = 100
391391
392392 let LSIZE = 225
393393
394394 let XLSIZE = 400
395395
396396 let XXLSIZE = 625
397397
398398 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
399399
400400
401401 let IdxCfgStakingDapp = 1
402402
403403 let IdxCfgEconomyDapp = 2
404404
405405 let IdxCfgGovernanceDapp = 3
406406
407407 let IdxCfgWlgDapp = 4
408408
409409 let IdxCfgPuzzlePoolDapp = 5
410410
411411 let IdxCfgInvestFundDapp = 6
412412
413413 let IdxCfgTournamentDapp = 7
414414
415415 func keyRestCfg () = "%s__restConfig"
416416
417417
418418 func keyRestAddress () = "%s__restAddr"
419419
420420
421421 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
422422
423423
424424 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
425425
426426
427427 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
428428
429429 let restCfg = readRestCfgOrFail(restContract)
430430
431431 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
432432
433433 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
434434
435435 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
436436
437437 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
438438
439439 let puzzlePoolContract = getContractAddressOrFail(restCfg, IdxCfgPuzzlePoolDapp)
440440
441441 let investFundContract = getContractAddressOrFail(restCfg, IdxCfgInvestFundDapp)
442442
443443 let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp)
444444
445445 let recLandNum = 0
446446
447447 let recLandSize = 1
448448
449449 let recTerrains = 2
450450
451451 let recContinent = 3
452452
453453 let wlgAssetIdKey = "wlg_assetId"
454454
455455 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "Not initialized yet")
456456
457457 let IdxEffUser = 1
458458
459459 func keyResProportions () = "resTypesProportions"
460460
461461
462462 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
463463
464464
465465 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
466466
467467
468468 func asString (v) = match v {
469469 case s: String =>
470470 s
471471 case _ =>
472472 throw("fail to cast into String")
473473 }
474474
475475
476476 func asInt (v) = match v {
477477 case n: Int =>
478478 n
479479 case _ =>
480480 throw("fail to cast into Int")
481481 }
482482
483483
484484 func asBoolean (v) = match v {
485485 case s: Boolean =>
486486 s
487487 case _ =>
488488 throw("fail to cast into Boolean")
489489 }
490490
491491
492492 func numPiecesBySize (landSize) = match landSize {
493493 case _ =>
494494 if (("S" == $match0))
495495 then SSIZE
496496 else if (("M" == $match0))
497497 then MSIZE
498498 else if (("L" == $match0))
499499 then LSIZE
500500 else if (("XL" == $match0))
501501 then XLSIZE
502502 else if (("XXL" == $match0))
503503 then XXLSIZE
504504 else throw("Unknown land size")
505505 }
506506
507507
508508 func getVotingPower (userAddrStrOrEmpty) = {
509509 let props = split(valueOrElse(getString(stakingContract, keyResProportions()), "0_0_0_0_0_0"), "_")
510510 func adder (acc,item) = (acc + parseIntValue(item))
511511
512512 let totalPower = {
513513 let $l = props
514514 let $s = size($l)
515515 let $acc0 = 0
516516 func $f0_1 ($a,$i) = if (($i >= $s))
517517 then $a
518518 else adder($a, $l[$i])
519519
520520 func $f0_2 ($a,$i) = if (($i >= $s))
521521 then $a
522522 else throw("List size exceeds 6")
523523
524524 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
525525 }
526526 let usersPower = valueOrElse(getInteger(stakingContract, keyStakedPiecesByOwner(userAddrStrOrEmpty)), 0)
527527 [totalPower, usersPower]
528528 }
529529
530530
531531 let USDTPRIZEPART = 500000
532532
533533 let adminsList = [toString(this), match chain {
534534 case _ =>
535535 if ((base58'2W' == $match0))
536536 then "3P64qEVzuGzBJuYfDXYisFtokJChSRa8uja"
537537 else if ((base58'2T' == $match0))
538538 then "3N3gSFrTwgiLAFZHMuJrEttht1nPhnkpvjs"
539539 else throw("Unknown chain")
540540 }]
541541
542542 func asListIntCompacted (val) = match val {
543543 case valAnyList: List[Any] =>
544544 if ((size(valAnyList) != NUMRES))
545545 then throw(("Array size is " + toString(size(valAnyList))))
546546 else {
547547 func conv (acc,item) = match item {
548548 case it: Int =>
549549 (acc :+ toString(it))
550550 case _ =>
551551 throw("List type is not Int")
552552 }
553553
554554 let r = {
555555 let $l = valAnyList
556556 let $s = size($l)
557557 let $acc0 = nil
558558 func $f0_1 ($a,$i) = if (($i >= $s))
559559 then $a
560560 else conv($a, $l[$i])
561561
562562 func $f0_2 ($a,$i) = if (($i >= $s))
563563 then $a
564564 else throw("List size exceeds 6")
565565
566566 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
567567 }
568568 makeString(r, "_")
569569 }
570570 case _ =>
571571 throw("fail to cast into List")
572572 }
573573
574574
575575 func asSplitResult (val) = match val {
576576 case t2: (List[Any], List[Any]) =>
577577 $Tuple2(asListIntCompacted(t2._1), asListIntCompacted(t2._2))
578578 case _ =>
579579 throw("fail to cast into (List, List)")
580580 }
581581
582582
583583 func walletInternal (userAddressOpt) = {
584584 let addr = addressFromString(userAddressOpt)
585585 let balance = if (isDefined(addr))
586586 then wavesBalance(value(addr))
587587 else BalanceDetails(0, 0, 0, 0)
588588 let usdtBalance = if (isDefined(addr))
589589 then assetBalance(value(addr), usdtAssetId)
590590 else 0
591591 let wlgoldBalance = if (isDefined(addr))
592592 then assetBalance(value(addr), wlgAssetId)
593593 else 0
594594 let customName = valueOrElse(getString(stakingContract, keyAddressToCustomName(userAddressOpt)), userAddressOpt)
595595 let refByKey = keyAddressRefBy(userAddressOpt)
596596 let refBy = getString(stakingContract, refByKey)
597597 let refs = valueOrElse(getString(stakingContract, keyAddressReferrals(userAddressOpt)), "")
598598 let lastTxId = valueOrElse(getString(stakingContract, keyLastTxIdByUser(userAddressOpt)), "")
599599 let pieces = getVotingPower(userAddressOpt)[IdxEffUser]
600600 let xp = valueOrElse(getInteger(stakingContract, keyUserXP(userAddressOpt)), 0)
601601 let lvl = valueOrElse(getInteger(stakingContract, keyUserLevel(userAddressOpt)), 0)
602602 let freePoints = valueOrElse(getInteger(stakingContract, keyUserFreePoints(userAddressOpt)), 0)
603603 let onboard = if (isDefined(refBy))
604604 then (ARTONBOARD + (if (if (isDefined(addr))
605605 then isDefined(getString(stakingContract, keyOnboardArtDuckActivatedBy(userAddressOpt)))
606606 else false)
607607 then ":1"
608608 else ":0"))
609609 else ""
610610 [("%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)]
611611 }
612612
613613
614614 func applyBonuses (landAssetId,pieces) = {
615615 let infraLevel = valueOrElse(getInteger(stakingContract, keyInfraLevelByAssetId(landAssetId)), 0)
616616 let artPieces = valueOrElse(getInteger(stakingContract, keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
617617 let add6 = (infraLevel / 6)
618618 let add7 = (infraLevel / 7)
619619 $Tuple3(infraLevel, artPieces, ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5))))
620620 }
621621
622622
623623 func getWarehouseTotalVolume (volPrefix) = {
624624 let parts = split(volPrefix, "_")
625625 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
626626 }
627627
628628
629629 func getWarehouse (whKey,landIndex,infraLevel) = {
630630 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
631631 let totS = toString(getWarehouseTotalVolume(volPrefix))
632632 let whStr = valueOrElse(getString(stakingContract, whKey), ((((volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + totS) + "_") + totS))
633633 split(whStr, ":")
634634 }
635635
636636
637637 func duckInfoTuple (duckAssetId) = {
638638 let maxHP = maxHealth(valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0))
639639 $Tuple5(valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(duckAssetId)), -1), value(assetInfo(fromBase58String(duckAssetId))).name, valueOrElse(getString(stakingContract, keyDuckLocation(duckAssetId)), ""), valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHP), asString(invoke(stakingContract, "getBackpackREADONLY", [duckAssetId], nil)))
640640 }
641641
642642
643643 func duckInfoArray (duckAssetId,owner,duckInf) = {
644644 let customName = valueOrElse(getString(stakingContract, keyDuckAssetIdToCustomName(duckAssetId)), duckInf._2)
645645 let chars = valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0")
646646 let xp = valueOrElse(getInteger(stakingContract, keyDuckXP(duckAssetId)), 0)
647647 let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
648648 let freePoints = valueOrElse(getInteger(stakingContract, keyDuckFreePoints(duckAssetId)), 0)
649649 let equipm = valueOrElse(getString(stakingContract, keyDuckEquipment(duckAssetId)), ";_;_;_;_;_;")
650650 [("%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), ("%s%s__equipment__" + equipm)]
651651 }
652652
653653
654654 func landInfoArray (landAssetId,owner,stakedTime) = if ((landAssetId == ""))
655655 then throw("landAssetId is required")
656656 else {
657657 let a = value(assetInfo(fromBase58String(landAssetId)))
658658 let d = split(a.description, "_")
659659 let landNum = if ((a.quantity > 0))
660660 then d[recLandNum]
661661 else ("-" + d[recLandNum])
662662 let pieces = numPiecesBySize(d[recLandSize])
663663 let productivity = applyBonuses(landAssetId, pieces)
664664 let deltaTime = (lastBlock.timestamp - stakedTime)
665665 let availRes = if ((stakedTime > 0))
666666 then fraction(deltaTime, (productivity._3 * pieces), DAYMILLIS)
667667 else 0
668668 let needMat = fraction(InfraUpgradeCostS, (pieces * (productivity._1 + 1)), SSIZE)
669669 let globalAndLocal = if ((stakedTime > 0))
670670 then asSplitResult(invoke(stakingContract, "splitByGlobalAndLocalWeightsREADONLY", [needMat, availRes, d[recTerrains]], nil))
671671 else $Tuple2(asListIntCompacted(invoke(stakingContract, "splitByGlobalWeightsREADONLY", [needMat], nil)), "")
672672 let customName = valueOrElse(getString(stakingContract, keyLandAssetIdToCustomName(landAssetId)), ((d[recContinent] + "-") + d[recLandNum]))
673673 [("%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:"))]
674674 }
675675
676676
677677 func landOrderInfoArray (landAssetId,owner) = if ((landAssetId == ""))
678678 then throw("landAssetId is required")
679679 else {
680680 let a = value(assetInfo(fromBase58String(landAssetId)))
681681 let d = split(a.description, "_")
682682 let pieces = numPiecesBySize(d[recLandSize])
683683 let productivity = applyBonuses(landAssetId, pieces)
684684 [("%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:"))]
685685 }
686686
687687
688688 @Callable(i)
689689 func constructorV1 (contracts) = if ((i.caller != this))
690690 then throw("permissions denied")
691691 else {
692692 func descriptor (acc,ignoredItem) = (acc + "%s")
693693
694694 let descr = {
695695 let $l = contracts
696696 let $s = size($l)
697697 let $acc0 = ""
698698 func $f0_1 ($a,$i) = if (($i >= $s))
699699 then $a
700700 else descriptor($a, $l[$i])
701701
702702 func $f0_2 ($a,$i) = if (($i >= $s))
703703 then $a
704704 else throw("List size exceeds 10")
705705
706706 $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)
707707 }
708708 [StringEntry(keyRestCfg(), makeString(descr :: contracts, SEP)), StringEntry(keyRestAddress(), toString(this))]
709709 }
710710
711711
712712
713713 @Callable(i)
714714 func walletInfoREADONLY (userAddressOpt) = $Tuple2(nil, walletInternal(userAddressOpt))
715715
716716
717717
718718 @Callable(i)
719719 func duckByOwnerInfoREADONLY (userAddress) = {
720720 let stakedDuck = getString(stakingContract, keyStakedDuckByOwner(userAddress))
721721 $Tuple2(nil, if (if (isDefined(addressFromString(userAddress)))
722722 then isDefined(stakedDuck)
723723 else false)
724724 then {
725725 let duckAssetId = value(stakedDuck)
726726 duckInfoArray(duckAssetId, userAddress, duckInfoTuple(duckAssetId))
727727 }
728728 else duckInfoArray("", userAddress, $Tuple5(-1, "", "", -1, "")))
729729 }
730730
731731
732732
733733 @Callable(i)
734734 func duckByAssetIdInfoREADONLY (duckAssetId) = {
735735 let owner = getString(stakingContract, keyDuckIdToOwner(duckAssetId))
736736 $Tuple2(nil, duckInfoArray(duckAssetId, if (isDefined(owner))
737737 then value(owner)
738738 else "", duckInfoTuple(duckAssetId)))
739739 }
740740
741741
742742
743743 @Callable(i)
744744 func landByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == ""))
745745 then throw("landAssetId is required")
746746 else {
747747 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
748748 let owner = if ((stakedTime > 0))
749749 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
750750 else ""
751751 $Tuple2(nil, landInfoArray(landAssetId, owner, stakedTime))
752752 }
753753
754754
755755
756756 @Callable(i)
757757 func stakedLandsByOwnerInfoREADONLY (landOwnerAddress) = if ((landOwnerAddress == ""))
758758 then throw("landOwnerAddress is required")
759759 else {
760760 let landsStr = getString(stakingContract, keyStakedLandsByOwner(landOwnerAddress))
761761 let lands = if (isDefined(landsStr))
762762 then split_51C(value(landsStr), "_")
763763 else nil
764764 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
765765 then throw("landAssetId is required")
766766 else {
767767 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
768768 (acc :+ landInfoArray(landAssetId, landOwnerAddress, stakedTime))
769769 }
770770
771771 let r = {
772772 let $l = lands
773773 let $s = size($l)
774774 let $acc0 = nil
775775 func $f0_1 ($a,$i) = if (($i >= $s))
776776 then $a
777777 else oneLand($a, $l[$i])
778778
779779 func $f0_2 ($a,$i) = if (($i >= $s))
780780 then $a
781781 else throw("List size exceeds 100")
782782
783783 $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)
784784 }
785785 $Tuple2(nil, r)
786786 }
787787
788788
789789
790790 @Callable(i)
791791 func landsByIdsInfoREADONLY (landAssetIds) = {
792792 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
793793 then throw("landAssetId is required")
794794 else {
795795 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
796796 let owner = if ((stakedTime > 0))
797797 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
798798 else ""
799799 (acc :+ landInfoArray(landAssetId, owner, stakedTime))
800800 }
801801
802802 let r = {
803803 let $l = landAssetIds
804804 let $s = size($l)
805805 let $acc0 = nil
806806 func $f0_1 ($a,$i) = if (($i >= $s))
807807 then $a
808808 else oneLand($a, $l[$i])
809809
810810 func $f0_2 ($a,$i) = if (($i >= $s))
811811 then $a
812812 else throw("List size exceeds 100")
813813
814814 $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)
815815 }
816816 $Tuple2(nil, r)
817817 }
818818
819819
820820
821821 @Callable(i)
822822 func warehouseOrderByAssetIdInfoREADONLY (landAssetId) = if ((landAssetId == ""))
823823 then throw("landAssetId is required")
824824 else {
825825 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
826826 let owner = if ((stakedTime > 0))
827827 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
828828 else ""
829829 $Tuple2(nil, landOrderInfoArray(landAssetId, owner))
830830 }
831831
832832
833833
834834 @Callable(i)
835835 func ordersByLandIdsInfoREADONLY (landAssetIds) = {
836836 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
837837 then throw("landAssetId is required")
838838 else {
839839 let stakedTime = valueOrElse(getInteger(stakingContract, keyStakedTimeByAssetId(landAssetId)), -1)
840840 let owner = if ((stakedTime > 0))
841841 then value(getString(stakingContract, keyLandAssetIdToOwner(landAssetId)))
842842 else ""
843843 (acc :+ landOrderInfoArray(landAssetId, owner))
844844 }
845845
846846 let r = {
847847 let $l = landAssetIds
848848 let $s = size($l)
849849 let $acc0 = nil
850850 func $f0_1 ($a,$i) = if (($i >= $s))
851851 then $a
852852 else oneLand($a, $l[$i])
853853
854854 func $f0_2 ($a,$i) = if (($i >= $s))
855855 then $a
856856 else throw("List size exceeds 40")
857857
858858 $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)
859859 }
860860 $Tuple2(nil, r)
861861 }
862862
863863
864864
865865 @Callable(i)
866866 func cancelWarehouseOrders (landAssetIds) = if ((i.caller != this))
867867 then throw("permission denied")
868868 else {
869869 let blocked = getBoolean(stakingContract, keyBlocked())
870870 if (if (!(isDefined(blocked)))
871871 then true
872872 else (value(blocked) == false))
873873 then throw("Contracts should be blocked before canceling orders")
874874 else {
875875 func oneLand (a,landAssetId) = if ((landAssetId == ""))
876876 then throw("landAssetId is required")
877877 else {
878878 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))
879879 if (if (a)
880880 then true
881881 else c)
882882 then !(if (a)
883883 then c
884884 else false)
885885 else false
886886 }
887887
888888 let r = {
889889 let $l = landAssetIds
890890 let $s = size($l)
891891 let $acc0 = false
892892 func $f0_1 ($a,$i) = if (($i >= $s))
893893 then $a
894894 else oneLand($a, $l[$i])
895895
896896 func $f0_2 ($a,$i) = if (($i >= $s))
897897 then $a
898898 else throw("List size exceeds 30")
899899
900900 $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)
901901 }
902902 $Tuple2(nil, r)
903903 }
904904 }
905905
906906
907907
908908 @Callable(i)
909909 func fixWarehouseFormats (landAssetIds) = if ((i.caller != this))
910910 then throw("permission denied")
911911 else {
912912 func oneLand (acc,landAssetId) = if ((landAssetId == ""))
913913 then throw("landAssetId is required")
914914 else (acc + size(asString(invoke(stakingContract, "fixWarehouseFormat", [landAssetId], nil))))
915915
916916 let r = {
917917 let $l = landAssetIds
918918 let $s = size($l)
919919 let $acc0 = 0
920920 func $f0_1 ($a,$i) = if (($i >= $s))
921921 then $a
922922 else oneLand($a, $l[$i])
923923
924924 func $f0_2 ($a,$i) = if (($i >= $s))
925925 then $a
926926 else throw("List size exceeds 25")
927927
928928 $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)
929929 }
930930 $Tuple2(nil, r)
931931 }
932932
933933
934934
935935 @Callable(i)
936936 func fixStakedPieces (users) = if ((i.caller != this))
937937 then throw("permission denied")
938938 else {
939939 func oneUser (acc,addr) = if ((addr == ""))
940940 then throw("address is required")
941941 else (acc + asInt(invoke(stakingContract, "fixStakedPieces", [addr], nil)))
942942
943943 let r = {
944944 let $l = users
945945 let $s = size($l)
946946 let $acc0 = 0
947947 func $f0_1 ($a,$i) = if (($i >= $s))
948948 then $a
949949 else oneUser($a, $l[$i])
950950
951951 func $f0_2 ($a,$i) = if (($i >= $s))
952952 then $a
953953 else throw("List size exceeds 16")
954954
955955 $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)
956956 }
957957 $Tuple2(nil, r)
958958 }
959959
960960
961961
962962 @Callable(i)
963963 func fixStakedLands (landAssetIds) = {
964964 let caller = toString(i.caller)
965965 if (!(containsElement(adminsList, caller)))
966966 then throw("Permission denied")
967967 else {
968968 let r = asInt(invoke(stakingContract, "fixContinentProportions", [landAssetIds], nil))
969969 $Tuple2(nil, r)
970970 }
971971 }
972972
973973
974974
975975 @Callable(i)
976976 func sendUsdtPrize (userAddress) = if ((i.caller != stakingContract))
977977 then throw("permission denied")
978978 else {
979979 let amt = fraction(assetBalance(this, usdtAssetId), USDTPRIZEPART, MULT6)
980980 $Tuple2([ScriptTransfer(addressFromStringValue(userAddress), amt, usdtAssetId)], amt)
981981 }
982982
983983
984984
985985 @Callable(i)
986986 func getEmergencyServiceDataREADONLY () = {
987987 let existStr = getString(economyContract, keyEsWarehouse())
988988 let existAmounts = if (isDefined(existStr))
989- then split(value(existStr), "_")
989+ then split_4C(value(existStr), "_")
990990 else nil
991991 func singleProd (acc,recipeStr) = {
992992 let n = acc._2
993993 let recipe = split(recipeStr, "_")
994994 let maxAmount = if ((n == 0))
995995 then (ESMAXPACKAGES * PRODUCTPKGSIZE)
996996 else 0
997997 let existAmount = if ((size(existAmounts) > n))
998998 then parseIntValue(existAmounts[n])
999999 else 0
10001000 let totalMat = getRecipeMaterials(recipe)
10011001 let buyPrice = fraction((totalMat * ESBUYCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE))
10021002 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE))
10031003 let y = makeString([toString(maxAmount), toString(existAmount), toString(buyPrice), toString(sellPrice)], "_")
10041004 $Tuple2((acc._1 :+ y), (n + 1))
10051005 }
10061006
10071007 let s = makeString_2C(( let $l = productionMatrix
10081008 let $s = size($l)
10091009 let $acc0 = $Tuple2(nil, 0)
10101010 func $f0_1 ($a,$i) = if (($i >= $s))
10111011 then $a
10121012 else singleProd($a, $l[$i])
10131013
10141014 func $f0_2 ($a,$i) = if (($i >= $s))
10151015 then $a
10161016 else throw("List size exceeds 50")
10171017
10181018 $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, ":")
10191019 let result = ("%s%s__emergencyServiceData__" + s)
10201020 $Tuple2(nil, result)
10211021 }
10221022
10231023
10241024
10251025 @Callable(i)
10261026 func wlgStatsREADONLY (userAddrOpt) = {
10271027 let curStats = getWlgStats(userAddrOpt, [restContract, stakingContract, economyContract, govContract, wlgContract, puzzlePoolContract, investFundContract], usdtAssetId, 0)
10281028 $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])), ("%s%s%d__wlgGuestSLandDaily__" + toString(curStats[idxWlgSLandDailyAmount])), ("%s%s%d__wlgInvestFundTotal__" + toString(curStats[idxWlgInvestFundAmount]))])
10291029 }
10301030
10311031
10321032
10331033 @Callable(i)
10341034 func tournamentStatsREADONLY (tournamentId) = {
10351035 let tData = getTourData(tournamentContract, tournamentId)
10361036 let static = tData[idxStatic]
10371037 let dynamic = tData[idxDynamic]
10381038 let winDuck = if ((dynamic[tDynamicWinDuck] == ""))
10391039 then " "
10401040 else dynamic[tDynamicWinDuck]
10411041 let registrants = valueOrElse(getString(tournamentContract, keyAllRegistrantsByTour(tournamentId)), "")
10421042 $Tuple2(nil, [("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd]], "_")), ("%s%s__tournamentDynamicData__" + makeString([dynamic[tDynamicStatus], winDuck, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentRegistrants__" + registrants)])
10431043 }
10441044
10451045
10461046
10471047 @Callable(i)
10481048 func lastTournamentStatsREADONLY () = {
10491049 let tournamentId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
10501050 let static = split(valueOrElse(getString(tournamentContract, keyTourStaticDataById(tournamentId)), "%s%d%d%d%d%d____________"), SEP)
10511051 let dynamic = split(valueOrElse(getString(tournamentContract, keyTourDynamicDataById(tournamentId)), "%s%s%d%d%d__________"), SEP)
10521052 let winDuck = if ((dynamic[tDynamicWinDuck] == ""))
10531053 then " "
10541054 else dynamic[tDynamicWinDuck]
10551055 let registrants = valueOrElse(getString(tournamentContract, keyAllRegistrantsByTour(tournamentId)), "")
10561056 $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(tournamentId)), ("%s%s__tournamentStaticData__" + makeString([static[tStaticRegisterCost], static[tStaticAttemptCost], static[tStaticStart], static[tStaticEnd]], "_")), ("%s%s__tournamentDynamicData__" + makeString([dynamic[tDynamicStatus], winDuck, dynamic[tDynamicWinResult], dynamic[tDynamicTotalRegCount], dynamic[tDynamicTotalAttempts]], "_")), ("%s%s__tournamentRegistrants__" + registrants)])
10571057 }
10581058
10591059
10601060
10611061 @Callable(i)
10621062 func tournamentDuckStatsREADONLY (tId,duckAssetId) = {
10631063 let isDuckReg = valueOrElse(getBoolean(tournamentContract, keyIsRegisteredByTourAndDuck(tId, duckAssetId)), false)
10641064 let lastDuckAttempt = valueOrElse(getInteger(tournamentContract, keyLastAttemptByTourAndDuck(tId, duckAssetId)), 0)
10651065 let bestDuckResult = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(tId, duckAssetId)), 0)
10661066 $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(isDuckReg), toString(lastDuckAttempt), toString(bestDuckResult)], "_"))])
10671067 }
10681068
10691069

github/deemru/w8io/169f3d6 
128.70 ms