tx · DxM4Fr3uH12fuWgKBRcMMZ9oQHfLShDoArG6kHvir8Na

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.07700000 Waves

2023.07.24 12:08 [2679741] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "DxM4Fr3uH12fuWgKBRcMMZ9oQHfLShDoArG6kHvir8Na", "fee": 7700000, "feeAssetId": null, "timestamp": 1690189780708, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "47MyL7BmFhVJG3zzkeHd8HDSDewFKLQxMDDUGXB4MhbytEGPEPoxS5UKERGo33d5M3YSnKiALTqjPoBCtUX8QVYH" ], "script": "base64:BgKyAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKAQgSBQoDCAgIEgQKAggIEgcKBQEBAQEBEgMKAQESBQoDAQEIEgMKAQgSAwoBCBIAEgQKAggBEgQKAggBEgMKAQjVAQEUa2V5TGFzdEFyYlRpbWVCeVVzZXIBBGFkZHIJAKwCAgIQbGFzdEFyYlRpbWVVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAMcmVxdWlyZW1lbnRzCQDMCAICCFN0cmVuZ3RoCQDMCAICCEFjY3VyYWN5CQDMCAICCUludGVsbGVjdAkAzAgCAglFbmR1cmFuY2UJAMwIAgIJRGV4dGVyaXR5CQDMCAICBUxldmVsCQDMCAICBkhlYWx0aAUDbmlsAAxjaGFyU3RyZW5ndGgAAAAMY2hhckF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JwSWR4TWF0CQDMCAIFCm5ld1Byb2RTdHIFA25pbAIBOgkAzAgCBQxwcm9sb2dBY3Rpb24FA25pbAAAAPwsKV0=", "height": 2679741, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BvMzugfkeWcn5ckPb4ECCsXaxgKn14f4nq5jyM2NmtQd Next: 88aqsfbyDA6sgXS2HSdJVj2qFASbuVR7Mxius3Bx3Qiw Diff:
OldNewDifferences
665665 let parts = split(idxCnt, ":")
666666 if ((size(parts) != 2))
667667 then throw("Incorrect format, should be index:amount")
668- else if ((size(parts[0]) != 2))
668+ else if (if (!(isPositive))
669+ then (size(parts[0]) != 2)
670+ else false)
669671 then throw("Product idx should be 2 digits, zero padded")
670672 else {
671673 let productIdx = parseIntValue(parts[0])
13091311
13101312
13111313 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1312- let $t02920329742 = if ((claimMode == claimModeWh))
1314+ let $t02927229811 = if ((claimMode == claimModeWh))
13131315 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
13141316 else {
13151317 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
13191321 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
13201322 else $Tuple2(loc[locIdxId], duckAssetId)
13211323 }
1322- let landAssetId = $t02920329742._1
1323- let duckId = $t02920329742._2
1324+ let landAssetId = $t02927229811._1
1325+ let duckId = $t02927229811._2
13241326 let asset = value(assetInfo(fromBase58String(landAssetId)))
13251327 let timeKey = keyStakedTimeByAssetId(landAssetId)
13261328 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13681370 let currentPack = getBackpack(bpKey)
13691371 let currentPackRes = split(currentPack[bpIdxRes], "_")
13701372 let currentWhRes = split(currentWh[whIdxRes], "_")
1371- let $t03211632987 = if ((claimMode == claimModeWh))
1373+ let $t03218533056 = if ((claimMode == claimModeWh))
13721374 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13731375 else if ((claimMode == claimModeDuck))
13741376 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13771379 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13781380 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13791381 }
1380- let whRes = $t03211632987._1
1381- let bpRes = $t03211632987._2
1382- let loftO = $t03211632987._3
1383- let loftF = $t03211632987._4
1382+ let whRes = $t03218533056._1
1383+ let bpRes = $t03218533056._2
1384+ let loftO = $t03218533056._3
1385+ let loftF = $t03218533056._4
13841386 $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxLevels], whRes, currentWh[whIdxMat], currentWh[whIdxProd], makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")])
13851387 }
13861388 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func keyLastArbTimeByUser (addr) = ("lastArbTimeUser_" + addr)
55
66
77 let SCALE8 = 100000000
88
99 let xpLevelScale = 3200
1010
1111 let xpLevelRecipPow = 4000
1212
1313 let numPointsOnLevelUp = 3
1414
1515 let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"]
1616
1717 let charStrength = 0
1818
1919 let charAccuracy = 1
2020
2121 let charIntellect = 2
2222
2323 let charEndurance = 3
2424
2525 let charDexterity = 4
2626
2727 let NUMSEGMENTS = 6
2828
2929 let NUMMAINAUX = 2
3030
3131 let MAXSLOTS = 2
3232
3333 let MAXPRODINSLOT = 30
3434
3535 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
3636
3737
3838 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
3939
4040
4141 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
4242
4343
4444 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
4545
4646
4747 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
4848
4949
5050 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
5151
5252
5353 func keyUserXP (addr) = ("userXP_" + addr)
5454
5555
5656 func keyUserLevel (addr) = ("userLevel_" + addr)
5757
5858
5959 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
6060
6161
6262 let xpClaim = 100000
6363
6464 let xpSuccessFlight = 50000
6565
6666 let xpFailFlight = 10000
6767
6868 let xpCallES = 100000
6969
7070 let xpCustomName = 5000000
7171
7272 let xpNewSLand = 50000000
7373
7474 let xpUpgradeInfra = 100000
7575
7676 let xpMerge = 10000000
7777
7878 let xpOnboard = 10000000
7979
8080 let xpHeal = 10000
8181
8282 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
8383
8484
8585 func maxHealth (level) = (100 + level)
8686
8787
8888 func levelUp (currLevel,newXP) = {
8989 let newLevel = levelByXP(newXP)
9090 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
9191 }
9292
9393
9494 func getDuckStats (stakingContract,duckAssetId) = {
9595 let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_")
9696 let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
9797 let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl))
9898 [parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health]
9999 }
100100
101101
102102 let LANDPREFIX = "LAND"
103103
104104 let DUCKPREFIX = "DUCK"
105105
106106 let ARTPRESALE = "PRESALE"
107107
108108 let NUMRES = 6
109109
110110 let DAILYRESBYPIECE = 3456000
111111
112112 let DAYMILLIS = 86400000
113113
114114 let WHMULTIPLIER = 10000000000
115115
116116 let DEFAULTLOCATION = "Africa_F_Africa"
117117
118118 let RESOURCEPRICEMIN = 39637
119119
120120 let ESSELLCOEF = 10
121121
122122 let prodTypes = ["First Aid Kit L1", "First Aid Kit L2", "First Aid Kit L3", "Backpack L1", "Backpack L2", "Backpack L3", "Food Ration L1", "Food Ration L2", "Food Ration L3", "Jet Pack L1", "Jet Pack L2", "Jet Pack L3", "Shield L1", "Shield L2", "Shield L3"]
123123
124124 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
125125
126126 let COEFF2MAT = 10000000
127127
128128 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"]
129129
130130 let rIdxCoeff = 6
131131
132132 let rIdxRequirements = 9
133133
134134 let rIdxSlots = 10
135135
136136 let PRODUCTPKGSIZE = 10
137137
138138 let whIdxLevels = 0
139139
140140 let whIdxRes = 1
141141
142142 let whIdxMat = 2
143143
144144 let whIdxProd = 3
145145
146146 let whIdxLOFT = 4
147147
148148 let volLocked = 0
149149
150150 let volOccupied = 1
151151
152152 let volFree = 2
153153
154154 let volTotal = 3
155155
156156 let bpIdxLevel = 0
157157
158158 let bpIdxRes = 1
159159
160160 let bpIdxMat = 2
161161
162162 let bpIdxProd = 3
163163
164164 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
165165
166166
167167 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
168168
169169
170170 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
171171
172172
173173 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
174174
175175
176176 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
177177
178178
179179 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
180180
181181
182182 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
183183
184184
185185 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
186186
187187
188188 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
189189
190190
191191 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
192192
193193
194194 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
195195
196196
197197 func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId)
198198
199199
200200 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
201201
202202
203203 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
204204
205205
206206 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
207207
208208
209209 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
210210
211211
212212 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
213213
214214
215215 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
216216
217217
218218 func keyBlocked () = "contractsBlocked"
219219
220220
221221 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
222222
223223
224224 func keyEsWarehouse () = "emergencyWarehouseProducts"
225225
226226
227227 let locIdxType = 1
228228
229229 let locIdxId = 2
230230
231231 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
232232
233233
234234 let KSALLOWXPLEVELS = true
235235
236236 let chain = take(drop(this.bytes, 1), 1)
237237
238238 let usdtAssetId = match chain {
239239 case _ =>
240240 if ((base58'2W' == $match0))
241241 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
242242 else if ((base58'2T' == $match0))
243243 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
244244 else throw("Unknown chain")
245245 }
246246
247247 let defaultRestAddressStr = match chain {
248248 case _ =>
249249 if ((base58'2W' == $match0))
250250 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
251251 else if ((base58'2T' == $match0))
252252 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
253253 else throw("Unknown chain")
254254 }
255255
256256 let InfraUpgradeCostS = match chain {
257257 case _ =>
258258 if ((base58'2W' == $match0))
259259 then 10000000000
260260 else if ((base58'2T' == $match0))
261261 then 100000000
262262 else throw("Unknown chain")
263263 }
264264
265265 let arbitrageDelay = match chain {
266266 case _ =>
267267 if ((base58'2W' == $match0))
268268 then 600000
269269 else if ((base58'2T' == $match0))
270270 then 60000
271271 else throw("Unknown chain")
272272 }
273273
274274 let SEP = "__"
275275
276276 let MULT6 = 1000000
277277
278278 let MULT8 = 100000000
279279
280280 let SSIZE = 25
281281
282282 let MSIZE = 100
283283
284284 let LSIZE = 225
285285
286286 let XLSIZE = 400
287287
288288 let XXLSIZE = 625
289289
290290 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
291291
292292
293293 let IdxCfgStakingDapp = 1
294294
295295 let IdxCfgEconomyDapp = 2
296296
297297 let IdxCfgGovernanceDapp = 3
298298
299299 let IdxCfgWlgDapp = 4
300300
301301 func keyRestCfg () = "%s__restConfig"
302302
303303
304304 func keyRestAddress () = "%s__restAddr"
305305
306306
307307 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
308308
309309
310310 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
311311
312312
313313 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
314314
315315 let restCfg = readRestCfgOrFail(restContract)
316316
317317 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
318318
319319 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
320320
321321 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
322322
323323 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
324324
325325 let recLandNum = 0
326326
327327 let recLandSize = 1
328328
329329 let recTerrains = 2
330330
331331 let recContinent = 3
332332
333333 func keyResProportions () = "resTypesProportions"
334334
335335
336336 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
337337
338338
339339 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
340340
341341
342342 func asString (v) = match v {
343343 case s: String =>
344344 s
345345 case _ =>
346346 throw("fail to cast into String")
347347 }
348348
349349
350350 func asInt (v) = match v {
351351 case n: Int =>
352352 n
353353 case _ =>
354354 throw("fail to cast into Int")
355355 }
356356
357357
358358 func numPiecesBySize (landSize) = match landSize {
359359 case _ =>
360360 if (("S" == $match0))
361361 then SSIZE
362362 else if (("M" == $match0))
363363 then MSIZE
364364 else if (("L" == $match0))
365365 then LSIZE
366366 else if (("XL" == $match0))
367367 then XLSIZE
368368 else if (("XXL" == $match0))
369369 then XXLSIZE
370370 else throw("Unknown land size")
371371 }
372372
373373
374374 func isDigit (s) = isDefined(parseInt(s))
375375
376376
377377 let incubatorAddr = match chain {
378378 case _ =>
379379 if ((base58'2W' == $match0))
380380 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
381381 else if ((base58'2T' == $match0))
382382 then this
383383 else throw("Unknown chain")
384384 }
385385
386386 let breederAddr = match chain {
387387 case _ =>
388388 if ((base58'2W' == $match0))
389389 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
390390 else if ((base58'2T' == $match0))
391391 then this
392392 else throw("Unknown chain")
393393 }
394394
395395 let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
396396
397397 let medKitHp = [30, 60, 120]
398398
399399 let FIVEMINUTESMILLIS = 300000
400400
401401 let RENAMINGCOST = 5000000
402402
403403 let MAXNAMELEN = 50
404404
405405 let InfraUpgradeCostSUsdt = 10000000
406406
407407 let EXPMATERIALS = match chain {
408408 case _ =>
409409 if ((base58'2W' == $match0))
410410 then 252289527462
411411 else if ((base58'2T' == $match0))
412412 then 2522895274
413413 else throw("Unknown chain")
414414 }
415415
416416 let EXPUSDT = match chain {
417417 case _ =>
418418 if ((base58'2W' == $match0))
419419 then 250000000
420420 else if ((base58'2T' == $match0))
421421 then 250000000
422422 else throw("Unknown chain")
423423 }
424424
425425 let FIVEX = toBigInt(5)
426426
427427 let TWENTYX = toBigInt(20)
428428
429429 let TWENTY2X = toBigInt((20 * 20))
430430
431431 let TWENTY3X = toBigInt(((20 * 20) * 20))
432432
433433 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
434434
435435 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
436436
437437 let PRESALENUMLANDS = 500
438438
439439 func keyNextFreeLandNum () = "nextLandNum"
440440
441441
442442 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
443443
444444
445445 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
446446
447447
448448 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
449449
450450
451451 func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_")
452452
453453
454454 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
455455
456456
457457 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
458458
459459
460460 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
461461
462462
463463 func keyOldies () = "oldiesList"
464464
465465
466466 let claimModeWh = 0
467467
468468 let claimModeDuck = 1
469469
470470 let claimModeWhThenDuck = 2
471471
472472 let flHealth = 0
473473
474474 let flTimestamp = 5
475475
476476 let flBonus = 6
477477
478478 let flProdsUsed = 7
479479
480480 func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
481481
482482
483483 func distributeByWeights (total,weights) = {
484484 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
485485 if ((0 >= sum))
486486 then throw("Zero weights sum")
487487 else {
488488 let norm6 = fraction(total, MULT6, sum)
489489 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
490490
491491 let $l = weights
492492 let $s = size($l)
493493 let $acc0 = nil
494494 func $f0_1 ($a,$i) = if (($i >= $s))
495495 then $a
496496 else normalizer($a, $l[$i])
497497
498498 func $f0_2 ($a,$i) = if (($i >= $s))
499499 then $a
500500 else throw("List size exceeds 6")
501501
502502 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
503503 }
504504 }
505505
506506
507507 func getNeededMaterials (total) = {
508508 let props = split(value(getString(keyResProportions())), "_")
509509 if ((size(props) != NUMRES))
510510 then throw("Wrong proportions data")
511511 else {
512512 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
513513 distributeByWeights(total, r)
514514 }
515515 }
516516
517517
518518 func subtractMaterials (shouldUseMat,has,totalNeed) = {
519519 let need = getNeededMaterials(totalNeed)
520520 func subtractor (acc,idx) = {
521521 let result = (parseIntValue(has[idx]) - need[idx])
522522 if ((0 > result))
523523 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
524524 else (acc :+ toString(result))
525525 }
526526
527527 if (shouldUseMat)
528528 then {
529529 let $l = [0, 1, 2, 3, 4, 5]
530530 let $s = size($l)
531531 let $acc0 = nil
532532 func $f0_1 ($a,$i) = if (($i >= $s))
533533 then $a
534534 else subtractor($a, $l[$i])
535535
536536 func $f0_2 ($a,$i) = if (($i >= $s))
537537 then $a
538538 else throw("List size exceeds 6")
539539
540540 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
541541 }
542542 else has
543543 }
544544
545545
546546 func subtractEquipment (oldEq,pUsed) = {
547547 func subUsed (acc,idxAmt) = {
548548 let parts = split(idxAmt, ",")
549549 if ((size(parts) != 2))
550550 then throw("Incorrect format, should be index,amount")
551551 else {
552552 let idx = parseIntValue(parts[0])
553553 if (if ((0 > idx))
554554 then true
555555 else (idx >= size(productionMatrix)))
556556 then throw("Unknown product idx")
557557 else {
558558 let amt = parseIntValue(parts[1])
559559 let eqParts = split(acc, (parts[0] + ":"))
560560 if ((size(eqParts) != 2))
561561 then throw((("You don't have " + prodTypes[idx]) + " equipped"))
562562 else {
563563 let tmp = eqParts[1]
564564 let numLen = if (isDigit(take(drop(tmp, 1), 1)))
565565 then 2
566566 else 1
567567 let curr = parseIntValue(take(tmp, numLen))
568568 let tail = drop(tmp, numLen)
569569 let newAmt = if ((curr >= amt))
570570 then (curr - amt)
571571 else throw(((((("You equipped " + toString(curr)) + " of ") + prodTypes[idx]) + ", but tried to use ") + toString(amt)))
572572 ((((eqParts[0] + parts[0]) + ":") + toString(newAmt)) + tail)
573573 }
574574 }
575575 }
576576 }
577577
578578 let $l = split(pUsed, "_")
579579 let $s = size($l)
580580 let $acc0 = oldEq
581581 func $f0_1 ($a,$i) = if (($i >= $s))
582582 then $a
583583 else subUsed($a, $l[$i])
584584
585585 func $f0_2 ($a,$i) = if (($i >= $s))
586586 then $a
587587 else throw("List size exceeds 10")
588588
589589 $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)
590590 }
591591
592592
593593 func prodStrToBytes (prodStr) = {
594594 let pList = if ((prodStr == ""))
595595 then nil
596596 else split(prodStr, "_")
597597 func toBV (acc,recipe) = {
598598 let j = (size(acc) / 8)
599599 let curr = if ((size(pList) > j))
600600 then parseIntValue(pList[j])
601601 else 0
602602 (acc + toBytes(curr))
603603 }
604604
605605 let $l = productionMatrix
606606 let $s = size($l)
607607 let $acc0 = base58''
608608 func $f0_1 ($a,$i) = if (($i >= $s))
609609 then $a
610610 else toBV($a, $l[$i])
611611
612612 func $f0_2 ($a,$i) = if (($i >= $s))
613613 then $a
614614 else throw("List size exceeds 50")
615615
616616 $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)
617617 }
618618
619619
620620 func bytesToProdStr (bv) = {
621621 func fromBV (acc,recipe) = {
622622 let j = size(acc)
623623 let b = take(drop(bv, (8 * j)), 8)
624624 (acc :+ toString(toInt(b)))
625625 }
626626
627627 makeString({
628628 let $l = productionMatrix
629629 let $s = size($l)
630630 let $acc0 = nil
631631 func $f0_1 ($a,$i) = if (($i >= $s))
632632 then $a
633633 else fromBV($a, $l[$i])
634634
635635 func $f0_2 ($a,$i) = if (($i >= $s))
636636 then $a
637637 else throw("List size exceeds 50")
638638
639639 $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)
640640 }, "_")
641641 }
642642
643643
644644 func checkStatRequirements (duckStats,reqs) = {
645645 func check (acc,j) = if ((parseIntValue(reqs[j]) > duckStats[j]))
646646 then throw(("Requirement not satisfied: " + requirements[j]))
647647 else true
648648
649649 let $l = [0, 1, 2, 3, 4, 5, 6]
650650 let $s = size($l)
651651 let $acc0 = false
652652 func $f0_1 ($a,$i) = if (($i >= $s))
653653 then $a
654654 else check($a, $l[$i])
655655
656656 func $f0_2 ($a,$i) = if (($i >= $s))
657657 then $a
658658 else throw("List size exceeds 7")
659659
660660 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7)
661661 }
662662
663663
664664 func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = {
665665 let parts = split(idxCnt, ":")
666666 if ((size(parts) != 2))
667667 then throw("Incorrect format, should be index:amount")
668- else if ((size(parts[0]) != 2))
668+ else if (if (!(isPositive))
669+ then (size(parts[0]) != 2)
670+ else false)
669671 then throw("Product idx should be 2 digits, zero padded")
670672 else {
671673 let productIdx = parseIntValue(parts[0])
672674 let count = parseIntValue(parts[1])
673675 if (if ((0 > productIdx))
674676 then true
675677 else (productIdx >= size(productionMatrix)))
676678 then throw("Unknown product idx")
677679 else if ((0 > count))
678680 then throw("Count can't be negative")
679681 else if ((count > MAXPRODINSLOT))
680682 then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx]))
681683 else if ((count == 0))
682684 then $Tuple2(pList, false)
683685 else {
684686 let head = take(pList, (8 * productIdx))
685687 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
686688 let tail = drop(pList, (8 * (productIdx + 1)))
687689 let recipe = split(productionMatrix[productIdx], "_")
688690 if (if (!(isPositive))
689691 then (count > curr)
690692 else false)
691693 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
692694 else {
693695 let isBigItem = if (if (!(isPositive))
694696 then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
695697 else false)
696698 then {
697699 let compat = recipe[rIdxSlots]
698700 if ((compat == ""))
699701 then throw("Item cannot be equipped")
700702 else {
701703 let c = parseIntValue(compat)
702704 let cSeg = (c / 100)
703705 if ((segment != cSeg))
704706 then throw("Segment incompatible")
705707 else {
706708 let cMainAux = ((c % 100) / 10)
707709 if ((mainAux != cMainAux))
708710 then throw("Slot incompatible")
709711 else {
710712 let cNumSlots = (c % 10)
711713 if (if ((slot != 0))
712714 then (cNumSlots > 1)
713715 else false)
714716 then throw("Big items should occupy slot 0")
715717 else (cNumSlots > 1)
716718 }
717719 }
718720 }
719721 }
720722 else false
721723 $Tuple2(((head + toBytes((curr + (if (isPositive)
722724 then count
723725 else -(count))))) + tail), isBigItem)
724726 }
725727 }
726728 }
727729 }
728730
729731
730732 func slotsGroupB (g,bpIn,isPositive,segment,mainAux,reqs) = if ((g != ""))
731733 then {
732734 let slots = split(g, ",")
733735 if ((size(slots) > MAXSLOTS))
734736 then throw("Wrong slots format")
735737 else {
736738 let s0 = slots[0]
737739 let s1 = if ((size(slots) > 1))
738740 then slots[1]
739741 else ""
740742 if (if ((s0 == ""))
741743 then (s1 == "")
742744 else false)
743745 then bpIn
744746 else {
745747 let tmpS0 = if ((s0 != ""))
746748 then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, reqs)
747749 else $Tuple2(bpIn, false)
748750 if ((s1 != ""))
749751 then if (tmpS0._2)
750752 then throw("Big item already occupies slot")
751753 else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, reqs)._1
752754 else tmpS0._1
753755 }
754756 }
755757 }
756758 else bpIn
757759
758760
759761 func dressB (segList,pBytes,isPositive,reqs) = {
760762 func segment (acc,seg) = {
761763 let j = acc._1
762764 let mainAux = split(seg, ";")
763765 if ((size(mainAux) != NUMMAINAUX))
764766 then throw("Wrong segment format")
765767 else {
766768 let m = mainAux[0]
767769 let a = mainAux[1]
768770 if (if ((m == ""))
769771 then (a == "")
770772 else false)
771773 then $Tuple2((j + 1), acc._2)
772774 else {
773775 let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, reqs)
774776 $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, reqs))
775777 }
776778 }
777779 }
778780
779781 ( let $l = segList
780782 let $s = size($l)
781783 let $acc0 = $Tuple2(0, pBytes)
782784 func $f0_1 ($a,$i) = if (($i >= $s))
783785 then $a
784786 else segment($a, $l[$i])
785787
786788 func $f0_2 ($a,$i) = if (($i >= $s))
787789 then $a
788790 else throw("List size exceeds 6")
789791
790792 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2
791793 }
792794
793795
794796 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
795797 then throw("Wrong proportions data")
796798 else {
797799 func updater (acc,i) = {
798800 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
799801 if ((0 > result))
800802 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
801803 else (acc :+ toString(result))
802804 }
803805
804806 let r = {
805807 let $l = [0, 1, 2, 3, 4, 5]
806808 let $s = size($l)
807809 let $acc0 = nil
808810 func $f0_1 ($a,$i) = if (($i >= $s))
809811 then $a
810812 else updater($a, $l[$i])
811813
812814 func $f0_2 ($a,$i) = if (($i >= $s))
813815 then $a
814816 else throw("List size exceeds 6")
815817
816818 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
817819 }
818820 makeString(r, "_")
819821 }
820822
821823
822824 func updateProportions (terrainCounts,landSizeIndex,sign) = {
823825 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
824826 updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign)
825827 }
826828
827829
828830 func countTerrains (terrains) = [(size(split(terrains, "A")) - 1), (size(split(terrains, "B")) - 1), (size(split(terrains, "C")) - 1), (size(split(terrains, "D")) - 1), (size(split(terrains, "E")) - 1), (size(split(terrains, "F")) - 1)]
829831
830832
831833 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
832834 func adder (acc,i) = {
833835 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
834836 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
835837 }
836838
837839 let r = {
838840 let $l = [0, 1, 2, 3, 4, 5]
839841 let $s = size($l)
840842 let $acc0 = nil
841843 func $f0_1 ($a,$i) = if (($i >= $s))
842844 then $a
843845 else adder($a, $l[$i])
844846
845847 func $f0_2 ($a,$i) = if (($i >= $s))
846848 then $a
847849 else throw("List size exceeds 6")
848850
849851 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
850852 }
851853 makeString(r, "_")
852854 }
853855
854856
855857 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
856858 func adder (acc,i) = {
857859 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
858860 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
859861 }
860862
861863 let $l = [0, 1, 2, 3, 4, 5]
862864 let $s = size($l)
863865 let $acc0 = $Tuple2(nil, 0)
864866 func $f0_1 ($a,$i) = if (($i >= $s))
865867 then $a
866868 else adder($a, $l[$i])
867869
868870 func $f0_2 ($a,$i) = if (($i >= $s))
869871 then $a
870872 else throw("List size exceeds 6")
871873
872874 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
873875 }
874876
875877
876878 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
877879 let resListToClaim = resToClaim._1
878880 let resAmToClaim = resToClaim._2
879881 if ((resAmToClaim == 0))
880882 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
881883 else if ((whSpaceLeft >= resAmToClaim))
882884 then {
883885 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
884886
885887 let r = {
886888 let $l = [0, 1, 2, 3, 4, 5]
887889 let $s = size($l)
888890 let $acc0 = nil
889891 func $f0_1 ($a,$i) = if (($i >= $s))
890892 then $a
891893 else addLists($a, $l[$i])
892894
893895 func $f0_2 ($a,$i) = if (($i >= $s))
894896 then $a
895897 else throw("List size exceeds 6")
896898
897899 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
898900 }
899901 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
900902 }
901903 else {
902904 func addPartLists (acc,i) = {
903905 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
904906 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
905907 }
906908
907909 let r = {
908910 let $l = [0, 1, 2, 3, 4, 5]
909911 let $s = size($l)
910912 let $acc0 = $Tuple2(nil, nil)
911913 func $f0_1 ($a,$i) = if (($i >= $s))
912914 then $a
913915 else addPartLists($a, $l[$i])
914916
915917 func $f0_2 ($a,$i) = if (($i >= $s))
916918 then $a
917919 else throw("List size exceeds 6")
918920
919921 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
920922 }
921923 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
922924 }
923925 }
924926
925927
926928 func abs (x) = if ((x >= toBigInt(0)))
927929 then x
928930 else -(x)
929931
930932
931933 let freq = [[6, 9, 14, 15, 16], [5, 8, 13, 14, 15], [1, 4, 9, 10, 15], [1, 6, 7, 15, 19], [4, 7, 8, 13, 18]]
932934
933935 func genChar (n,freqs) = {
934936 let rem = toInt((n % TWENTYX))
935937 let letter = if ((freqs[0] > rem))
936938 then "A"
937939 else if ((freqs[1] > rem))
938940 then "B"
939941 else if ((freqs[2] > rem))
940942 then "C"
941943 else if ((freqs[3] > rem))
942944 then "D"
943945 else if ((freqs[4] > rem))
944946 then "E"
945947 else "F"
946948 letter
947949 }
948950
949951
950952 func genTerrains (seed,continentIdx) = {
951953 let f = freq[continentIdx]
952954 func terrainGenerator (acc,elem) = $Tuple2((((((acc._1 + genChar(acc._2, f)) + genChar((acc._2 / TWENTYX), f)) + genChar((acc._2 / TWENTY2X), f)) + genChar((acc._2 / TWENTY3X), f)) + genChar((acc._2 / TWENTY4X), f)), (acc._2 / TWENTY5X))
953955
954956 let t = {
955957 let $l = [1, 2, 3, 4, 5]
956958 let $s = size($l)
957959 let $acc0 = $Tuple2("", (seed / FIVEX))
958960 func $f0_1 ($a,$i) = if (($i >= $s))
959961 then $a
960962 else terrainGenerator($a, $l[$i])
961963
962964 func $f0_2 ($a,$i) = if (($i >= $s))
963965 then $a
964966 else throw("List size exceeds 5")
965967
966968 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
967969 }
968970 t._1
969971 }
970972
971973
972974 func getBackpack (bpKey) = {
973975 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
974976 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
975977 then p[bpIdxRes]
976978 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
977979 then p[bpIdxMat]
978980 else "0_0_0_0_0_0", p[bpIdxProd]]
979981 }
980982
981983
982984 func getWarehouseTotalVolume (volPrefix) = {
983985 let parts = split(volPrefix, "_")
984986 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
985987 }
986988
987989
988990 func getWarehouseOccupiedVol (currentWh) = {
989991 let goods = currentWh[whIdxProd]
990992 func sumResMat (acc,item) = (acc + parseIntValue(item))
991993
992994 func sumProd (acc,item) = {
993995 let idx = acc._1
994996 let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE)
995997 $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8)))
996998 }
997999
9981000 let whResVol = {
9991001 let $l = split(currentWh[whIdxRes], "_")
10001002 let $s = size($l)
10011003 let $acc0 = 0
10021004 func $f0_1 ($a,$i) = if (($i >= $s))
10031005 then $a
10041006 else sumResMat($a, $l[$i])
10051007
10061008 func $f0_2 ($a,$i) = if (($i >= $s))
10071009 then $a
10081010 else throw("List size exceeds 6")
10091011
10101012 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10111013 }
10121014 let whMatVol = {
10131015 let $l = split(currentWh[whIdxMat], "_")
10141016 let $s = size($l)
10151017 let $acc0 = 0
10161018 func $f1_1 ($a,$i) = if (($i >= $s))
10171019 then $a
10181020 else sumResMat($a, $l[$i])
10191021
10201022 func $f1_2 ($a,$i) = if (($i >= $s))
10211023 then $a
10221024 else throw("List size exceeds 6")
10231025
10241026 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10251027 }
10261028 let whGoodsVol = if ((goods == ""))
10271029 then 0
10281030 else ( let $l = split_4C(goods, "_")
10291031 let $s = size($l)
10301032 let $acc0 = $Tuple2(0, 0)
10311033 func $f2_1 ($a,$i) = if (($i >= $s))
10321034 then $a
10331035 else sumProd($a, $l[$i])
10341036
10351037 func $f2_2 ($a,$i) = if (($i >= $s))
10361038 then $a
10371039 else throw("List size exceeds 50")
10381040
10391041 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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))._2
10401042 ((whResVol + whMatVol) + whGoodsVol)
10411043 }
10421044
10431045
10441046 func getWarehouse (whKey,landIndex,infraLevel) = {
10451047 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
10461048 let whTotal = getWarehouseTotalVolume(volPrefix)
10471049 let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0"))
10481050 let wh = split_4C(whStr, ":")
10491051 let whOccupied = getWarehouseOccupiedVol(wh)
10501052 let whLoft = if ((5 > size(wh)))
10511053 then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_")
10521054 else {
10531055 let loft = split(wh[whIdxLOFT], "_")
10541056 let whLocked = parseIntValue(loft[volLocked])
10551057 let occ = if ((size(loft) > 1))
10561058 then parseIntValue(loft[volOccupied])
10571059 else whOccupied
10581060 makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_")
10591061 }
10601062 [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES))
10611063 then wh[whIdxRes]
10621064 else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES))
10631065 then wh[whIdxMat]
10641066 else "0_0_0_0_0_0", wh[whIdxProd], whLoft]
10651067 }
10661068
10671069
10681070 func getWarehouseSpaceLeft (currentWh) = {
10691071 let occupiedVol = getWarehouseOccupiedVol(currentWh)
10701072 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
10711073 ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol)
10721074 }
10731075
10741076
10751077 func toVolume (amount,pkgSize) = {
10761078 let pkgs = if ((amount >= 0))
10771079 then (((amount + pkgSize) - 1) / pkgSize)
10781080 else -((((-(amount) + pkgSize) - 1) / pkgSize))
10791081 (pkgs * MULT8)
10801082 }
10811083
10821084
10831085 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
10841086 then throw("cargoListStr should contain exactly 2 ':' separators")
10851087 else {
10861088 let resParts = split(cargoParts[0], "_")
10871089 let matParts = split(cargoParts[1], "_")
10881090 let prodParts = if ((cargoParts[2] == ""))
10891091 then nil
10901092 else split(cargoParts[2], "_")
10911093 if ((size(resParts) != NUMRES))
10921094 then throw("All 6 resources should be passed")
10931095 else if ((size(matParts) != NUMRES))
10941096 then throw("All 6 materials should be passed")
10951097 else {
10961098 let whSpaceLeft = getWarehouseSpaceLeft(currentWh)
10971099 let currWhRes = split(currentWh[whIdxRes], "_")
10981100 let currWhMat = split(currentWh[whIdxMat], "_")
10991101 let currWhProd = if ((currentWh[whIdxProd] == ""))
11001102 then nil
11011103 else split(currentWh[whIdxProd], "_")
11021104 let currentPackRes = split(currentPack[bpIdxRes], "_")
11031105 let currentPackMat = split(currentPack[bpIdxMat], "_")
11041106 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
11051107 then nil
11061108 else split(currentPack[bpIdxProd], "_")
11071109 func mvR (acc,item) = {
11081110 let i = acc._1
11091111 let am = parseIntValue(item)
11101112 let whr = parseIntValue(currWhRes[i])
11111113 let bpr = parseIntValue(currentPackRes[i])
11121114 if ((am == 0))
11131115 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
11141116 else if ((am > 0))
11151117 then if ((am > bpr))
11161118 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
11171119 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
11181120 else if ((-(am) > whr))
11191121 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
11201122 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
11211123 }
11221124
11231125 let r = {
11241126 let $l = resParts
11251127 let $s = size($l)
11261128 let $acc0 = $Tuple4(0, nil, nil, 0)
11271129 func $f0_1 ($a,$i) = if (($i >= $s))
11281130 then $a
11291131 else mvR($a, $l[$i])
11301132
11311133 func $f0_2 ($a,$i) = if (($i >= $s))
11321134 then $a
11331135 else throw("List size exceeds 6")
11341136
11351137 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11361138 }
11371139 func mvM (acc,item) = {
11381140 let i = acc._1
11391141 let am = parseIntValue(item)
11401142 let whm = parseIntValue(currWhMat[i])
11411143 let bpm = parseIntValue(currentPackMat[i])
11421144 if ((am == 0))
11431145 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
11441146 else if ((am > 0))
11451147 then if ((am > bpm))
11461148 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
11471149 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11481150 else if ((-(am) > whm))
11491151 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
11501152 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11511153 }
11521154
11531155 let m = {
11541156 let $l = matParts
11551157 let $s = size($l)
11561158 let $acc0 = $Tuple4(0, nil, nil, r._4)
11571159 func $f1_1 ($a,$i) = if (($i >= $s))
11581160 then $a
11591161 else mvM($a, $l[$i])
11601162
11611163 func $f1_2 ($a,$i) = if (($i >= $s))
11621164 then $a
11631165 else throw("List size exceeds 6")
11641166
11651167 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11661168 }
11671169 func mvP (acc,item) = {
11681170 let i = acc._1
11691171 let am = parseIntValue(item)
11701172 let whp = if ((size(currWhProd) > i))
11711173 then parseIntValue(currWhProd[i])
11721174 else 0
11731175 let bpp = if ((size(currentPackProd) > i))
11741176 then parseIntValue(currentPackProd[i])
11751177 else 0
11761178 if ((am == 0))
11771179 then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4)
11781180 else if ((am > 0))
11791181 then if ((am > bpp))
11801182 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
11811183 else {
11821184 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11831185 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11841186 }
11851187 else if ((-(am) > whp))
11861188 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
11871189 else {
11881190 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11891191 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11901192 }
11911193 }
11921194
11931195 let p = if ((size(prodParts) != 0))
11941196 then {
11951197 let $l = prodParts
11961198 let $s = size($l)
11971199 let $acc0 = $Tuple4(0, nil, nil, m._4)
11981200 func $f2_1 ($a,$i) = if (($i >= $s))
11991201 then $a
12001202 else mvP($a, $l[$i])
12011203
12021204 func $f2_2 ($a,$i) = if (($i >= $s))
12031205 then $a
12041206 else throw("List size exceeds 50")
12051207
12061208 $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($f2_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)
12071209 }
12081210 else $Tuple4(0, currWhProd, currentPackProd, m._4)
12091211 let volSaldo = p._4
12101212 if ((volSaldo > whSpaceLeft))
12111213 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
12121214 else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"), volSaldo)
12131215 }
12141216 }
12151217
12161218
12171219 func expeditionInternal (caller,txId) = {
12181220 let userAddr = toString(caller)
12191221 let bigNum = abs(toBigInt(txId))
12201222 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
12211223 let landNum = toString(freeNum)
12221224 let continentIdx = toInt((bigNum % FIVEX))
12231225 let terrains = genTerrains(bigNum, continentIdx)
12241226 let continent = continents[continentIdx]
12251227 let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
12261228 let assetId = calculateAssetId(issue)
12271229 let id = toBase58String(assetId)
12281230 $Tuple2([IntegerEntry(keyNextFreeLandNum(), (freeNum + 1)), issue, StringEntry(keyLandToAssetId(landNum), id), StringEntry(keyLandAssetIdToOwner(id), userAddr), StringEntry(keyLandNumToOwner(landNum), userAddr), IntegerEntry(keyInfraLevelByAssetId(id), 0), IntegerEntry(keyInfraLevelByAssetIdAndOwner(id, userAddr), 0), ScriptTransfer(caller, 1, assetId)], $Tuple2(id, continent))
12291231 }
12301232
12311233
12321234 func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
12331235 then throw("signature does not match")
12341236 else {
12351237 let parts = split(toUtf8String(message), ";")
12361238 let flightLog = split(parts[0], "|")
12371239 let hp = split(flightLog[flHealth], "_")
12381240 let curHP = parseIntValue(hp[0])
12391241 let newHP = parseIntValue(hp[1])
12401242 let newLocTxVer = split(parts[1], ":")
12411243 let newLocation = newLocTxVer[0]
12421244 let time = parseIntValue(flightLog[flTimestamp])
12431245 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
12441246 then true
12451247 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
12461248 then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp)))
12471249 else {
12481250 let txFromMsg = newLocTxVer[1]
12491251 let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "")
12501252 if ((lastTx != txFromMsg))
12511253 then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg))
12521254 else {
12531255 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
12541256 let keyHealth = keyDuckHealth(duckAssetId)
12551257 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
12561258 let oldFromState = valueOrElse(getInteger(keyHealth), maxHP)
12571259 if ((oldFromState != curHP))
12581260 then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP)))
12591261 else if ((0 >= curHP))
12601262 then throw("You can't fly with zero health")
12611263 else {
12621264 let bonus = if ((size(flightLog) > flBonus))
12631265 then flightLog[flBonus]
12641266 else ""
12651267 let prodUsed = if ((size(flightLog) > flProdsUsed))
12661268 then flightLog[flProdsUsed]
12671269 else ""
12681270 let sentAmount = if (if ((newHP > 0))
12691271 then (bonus == "$")
12701272 else false)
12711273 then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil))
12721274 else 0
12731275 $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed)
12741276 }
12751277 }
12761278 }
12771279 }
12781280
12791281
12801282 func expeditionCommon (caller,txId,message,sig) = {
12811283 let userAddr = toString(caller)
12821284 let f = flightCommon(userAddr, message, sig)
12831285 let duckAssetId = f._2
12841286 let keyHealth = keyDuckHealth(duckAssetId)
12851287 let bpKey = keyBackpackByDuck(duckAssetId)
12861288 let currentPack = getBackpack(bpKey)
12871289 let mList = split(currentPack[bpIdxMat], "_")
12881290 let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
12891291 let eqKey = keyDuckEquipment(duckAssetId)
12901292 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
12911293 let newEq = subtractEquipment(currentEq, f._5)
12921294 if ((0 >= f._1))
12931295 then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
12941296 else {
12951297 let e = expeditionInternal(caller, txId)
12961298 let id = e._2._1
12971299 $Tuple3(((((e._1 :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))), id, f._3)
12981300 }
12991301 }
13001302
13011303
13021304 func applyBonuses (landAssetId,pieces) = {
13031305 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
13041306 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
13051307 let add6 = (infraLevel / 6)
13061308 let add7 = (infraLevel / 7)
13071309 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
13081310 }
13091311
13101312
13111313 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1312- let $t02920329742 = if ((claimMode == claimModeWh))
1314+ let $t02927229811 = if ((claimMode == claimModeWh))
13131315 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
13141316 else {
13151317 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
13161318 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
13171319 let loc = split(value(curLocation), "_")
13181320 if ((loc[locIdxType] != "L"))
13191321 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
13201322 else $Tuple2(loc[locIdxId], duckAssetId)
13211323 }
1322- let landAssetId = $t02920329742._1
1323- let duckId = $t02920329742._2
1324+ let landAssetId = $t02927229811._1
1325+ let duckId = $t02927229811._2
13241326 let asset = value(assetInfo(fromBase58String(landAssetId)))
13251327 let timeKey = keyStakedTimeByAssetId(landAssetId)
13261328 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13271329 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
13281330 if ((owner != addr))
13291331 then throw((LANDPREFIX + " is not yours"))
13301332 else {
13311333 let d = split(asset.description, "_")
13321334 $Tuple4(duckId, landAssetId, d, savedTime)
13331335 }
13341336 }
13351337
13361338
13371339 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
13381340 then throw("Negative amount")
13391341 else {
13401342 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
13411343 let landSize = c._3[recLandSize]
13421344 let terrainCounts = countTerrains(c._3[recTerrains])
13431345 let deltaTime = (lastBlock.timestamp - c._4)
13441346 if ((0 > deltaTime))
13451347 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
13461348 else {
13471349 let pieces = numPiecesBySize(landSize)
13481350 let dailyProductionByPiece = applyBonuses(c._2, pieces)
13491351 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
13501352 if ((amount > availRes))
13511353 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
13521354 else {
13531355 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
13541356 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
13551357 let landIndex = (pieces / SSIZE)
13561358 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
13571359 let whKey = keyWarehouseByLand(c._2)
13581360 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
13591361 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
13601362 let loft = split(currentWh[whIdxLOFT], "_")
13611363 let whSpaceLeft = parseIntValue(loft[volFree])
13621364 if (if ((claimMode == claimModeWh))
13631365 then (amount > whSpaceLeft)
13641366 else false)
13651367 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
13661368 else {
13671369 let bpKey = keyBackpackByDuck(c._1)
13681370 let currentPack = getBackpack(bpKey)
13691371 let currentPackRes = split(currentPack[bpIdxRes], "_")
13701372 let currentWhRes = split(currentWh[whIdxRes], "_")
1371- let $t03211632987 = if ((claimMode == claimModeWh))
1373+ let $t03218533056 = if ((claimMode == claimModeWh))
13721374 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13731375 else if ((claimMode == claimModeDuck))
13741376 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13751377 else {
13761378 let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
13771379 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13781380 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13791381 }
1380- let whRes = $t03211632987._1
1381- let bpRes = $t03211632987._2
1382- let loftO = $t03211632987._3
1383- let loftF = $t03211632987._4
1382+ let whRes = $t03218533056._1
1383+ let bpRes = $t03218533056._2
1384+ let loftO = $t03218533056._3
1385+ let loftF = $t03218533056._4
13841386 $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxLevels], whRes, currentWh[whIdxMat], currentWh[whIdxProd], makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")])
13851387 }
13861388 }
13871389 }
13881390 }
13891391
13901392
13911393 func claimAll (addr,landAssetId,pieces,claimMode) = {
13921394 let timeKey = keyStakedTimeByAssetId(landAssetId)
13931395 let savedTime = value(getInteger(timeKey))
13941396 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
13951397 claimResInternal(addr, availRes, claimMode, landAssetId)
13961398 }
13971399
13981400
13991401 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
14001402 let addr = toString(caller)
14011403 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
14021404 let pieces = numPiecesBySize(c._3[recLandSize])
14031405 let infraKey = keyInfraLevelByAssetId(c._2)
14041406 let curLevel = valueOrElse(getInteger(infraKey), 0)
14051407 if ((curLevel >= 3))
14061408 then throw("Currently max infrastructure level = 3")
14071409 else {
14081410 let newLevel = (curLevel + 1)
14091411 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
14101412 if (if (!(shouldUseMat))
14111413 then (paymentAmount != cost)
14121414 else false)
14131415 then throw(("Payment attached should be " + toString(cost)))
14141416 else {
14151417 let bpKey = keyBackpackByDuck(c._1)
14161418 let currentPack = getBackpack(bpKey)
14171419 let mList = split(currentPack[bpIdxMat], "_")
14181420 let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)
14191421 let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_")
14201422 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
14211423 let whData = claimResult._5
14221424 let oldVol = getWarehouseTotalVolume(whData[whIdxLevels])
14231425 let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_")
14241426 let newVol = getWarehouseTotalVolume(newVolData)
14251427 let loft = split(whData[whIdxLOFT], "_")
14261428 let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_")
14271429 $Tuple3(([IntegerEntry(infraKey, newLevel), IntegerEntry(keyInfraLevelByAssetIdAndOwner(c._2, addr), newLevel), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], claimResult._3[bpIdxRes], newMat, currentPack[bpIdxProd]], ":")), StringEntry(claimResult._4, makeString([newVolData, whData[whIdxRes], whData[whIdxMat], whData[whIdxProd], newLoftStr], ":"))] ++ claimResult._1), newLevel, matUsed)
14281430 }
14291431 }
14301432 }
14311433
14321434
14331435 func updateDuckStatsInternal (duckAssetId,deltaXP) = if (!(KSALLOWXPLEVELS))
14341436 then $Tuple2(nil, 0)
14351437 else {
14361438 let lvlKey = keyDuckLevel(duckAssetId)
14371439 let xpKey = keyDuckXP(duckAssetId)
14381440 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14391441 let newXP = (xp + deltaXP)
14401442 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14411443 let keyPoints = keyDuckFreePoints(duckAssetId)
14421444 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14431445 }
14441446
14451447
14461448 func updateAccStatsInternal (addr,deltaXP) = if (!(KSALLOWXPLEVELS))
14471449 then $Tuple2(nil, 0)
14481450 else {
14491451 let lvlKey = keyUserLevel(addr)
14501452 let xpKey = keyUserXP(addr)
14511453 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14521454 let newXP = (xp + deltaXP)
14531455 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14541456 let keyPoints = keyUserFreePoints(addr)
14551457 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14561458 }
14571459
14581460
14591461 func activateOnboardArt (addr) = {
14601462 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14611463 let refByKey = keyAddressRefBy(addr)
14621464 let refBy = getString(refByKey)
14631465 if (!(isDefined(refBy)))
14641466 then throw("You are not eligible for ONBOARD artifact")
14651467 else {
14661468 let artKey = keyOnboardArtDuckActivatedBy(addr)
14671469 let artDuck = getString(artKey)
14681470 if (isDefined(artDuck))
14691471 then throw(("You already used your ONBOARD artifact on duck " + value(artDuck)))
14701472 else {
14711473 let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId)
14721474 let duckActivator = getString(duckActivatorKey)
14731475 if (isDefined(duckActivator))
14741476 then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator)))
14751477 else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1)
14761478 }
14771479 }
14781480 }
14791481
14801482
14811483 func activatePresaleArt (addr,landAssetIdIn) = {
14821484 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
14831485 let landAssetId = c._2
14841486 let pieces = numPiecesBySize(c._3[recLandSize])
14851487 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
14861488 if ((valueOrElse(getInteger(activationKey), 0) > 0))
14871489 then throw("Presale artifact is already activated")
14881490 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
14891491 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
14901492 else {
14911493 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
14921494 ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
14931495 }
14941496 }
14951497
14961498
14971499 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = {
14981500 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14991501 func checkMerge (acc,landAssetId) = {
15001502 let asset = value(assetInfo(fromBase58String(landAssetId)))
15011503 let timeKey = keyStakedTimeByAssetId(landAssetId)
15021504 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
15031505 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
15041506 if ((owner != addr))
15051507 then throw((LANDPREFIX + " is not yours"))
15061508 else {
15071509 let d = split(asset.description, "_")
15081510 let continent = d[recContinent]
15091511 if (if ((acc._3 != ""))
15101512 then (acc._3 != continent)
15111513 else false)
15121514 then throw("Lands should be on the same continent to merge")
15131515 else {
15141516 let landSize = d[recLandSize]
15151517 let sizesIn = acc._1
15161518 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
15171519 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
15181520 let pieces = numPiecesBySize(landSize)
15191521 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0))
15201522 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
15211523 let reqLevel = match landSize {
15221524 case _ =>
15231525 if (("S" == $match0))
15241526 then 3
15251527 else if (("M" == $match0))
15261528 then 4
15271529 else if (("L" == $match0))
15281530 then 5
15291531 else if (("XL" == $match0))
15301532 then 6
15311533 else throw("Only S, M, L, XL can merge")
15321534 }
15331535 if ((infraLevel != reqLevel))
15341536 then throw("All lands should be maxed to merge")
15351537 else {
15361538 let landNum = d[recLandNum]
15371539 let terrainCounts = countTerrains(d[recTerrains])
15381540 let deltaTime = (lastBlock.timestamp - savedTime)
15391541 if ((0 > deltaTime))
15401542 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
15411543 else {
15421544 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
15431545 let landIndex = (pieces / SSIZE)
15441546 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
15451547 let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1)
15461548 let lands = acc._7
15471549 let idx = indexOf(lands, landAssetId)
15481550 if (!(isDefined(idx)))
15491551 then throw(("Your staked lands don't contain " + landAssetId))
15501552 else {
15511553 let customKey = keyLandAssetIdToCustomName(landAssetId)
15521554 let customName = valueOrElse(getString(customKey), "")
15531555 $Tuple8(sizesOut, arts, continent, bpRes, (((((((((((((acc._5 :+ DeleteEntry(keyStakedTimeByAssetId(landAssetId))) :+ DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr))) :+ DeleteEntry(keyLandToAssetId(landNum))) :+ DeleteEntry(keyLandAssetIdToOwner(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetId(landAssetId))) :+ DeleteEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, addr))) :+ DeleteEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId))) :+ DeleteEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr))) :+ DeleteEntry(keyLandNumToOwner(landNum))) :+ DeleteEntry(keyWarehouseByLand(landAssetId))) :+ DeleteEntry(customKey)) :+ DeleteEntry(keyLandCustomNameToAssetId(customName))) :+ Burn(fromBase58String(landAssetId), 1)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces))
15541556 }
15551557 }
15561558 }
15571559 }
15581560 }
15591561 }
15601562
15611563 let bpKey = keyBackpackByDuck(duckAssetId)
15621564 let currentPack = getBackpack(bpKey)
15631565 let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0")
15641566 let landsKey = keyStakedLandsByOwner(addr)
15651567 let landsStr = getString(landsKey)
15661568 let landsIn = if (isDefined(landsStr))
15671569 then split_51C(value(landsStr), "_")
15681570 else nil
15691571 let r = {
15701572 let $l = landAssetIds
15711573 let $s = size($l)
15721574 let $acc0 = $Tuple8(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn, 0)
15731575 func $f0_1 ($a,$i) = if (($i >= $s))
15741576 then $a
15751577 else checkMerge($a, $l[$i])
15761578
15771579 func $f0_2 ($a,$i) = if (($i >= $s))
15781580 then $a
15791581 else throw("List size exceeds 5")
15801582
15811583 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
15821584 }
15831585 let continent = r._3
15841586 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
15851587 let terrains = genTerrains(abs(toBigInt(txId)), continentIdx)
15861588 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
15871589 let newLandNum = toString(freeNum)
15881590 let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
15891591 let assetId = calculateAssetId(issue)
15901592 let newLandAssetId = toBase58String(assetId)
15911593 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
15921594 let piecesKey = keyStakedPiecesByOwner(addr)
15931595 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
15941596 $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0))
15951597 then StringEntry(landsKey, makeString_11C(r._7, "_"))
15961598 else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces))
15971599 then 0
15981600 else (stakedPieces - r._8))) :+ IntegerEntry(keyNextFreeLandNum(), (freeNum + 1))) :+ issue) :+ StringEntry(keyLandToAssetId(newLandNum), newLandAssetId)) :+ StringEntry(keyLandAssetIdToOwner(newLandAssetId), addr)) :+ StringEntry(keyLandNumToOwner(newLandNum), addr)) :+ IntegerEntry(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, newLandAssetId), r._2)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, newLandAssetId, addr), r._2)) :+ IntegerEntry(keyInfraLevelByAssetId(newLandAssetId), newLevel)) :+ IntegerEntry(keyInfraLevelByAssetIdAndOwner(newLandAssetId, addr), newLevel)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], r._4, newMat, currentPack[bpIdxProd]], ":"))) :+ StringEntry(keyResProportions(), r._6)) :+ StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", newLandAssetId], "_"))) :+ ScriptTransfer(addressFromStringValue(addr), 1, assetId)), newLandAssetId)
15991601 }
16001602
16011603
16021604 func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0)
16031605
16041606
16051607 func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
16061608 let cost = (InfraUpgradeCostSUsdt * 4)
16071609 if (if (!(shouldUseMat))
16081610 then (paymentAmount != cost)
16091611 else false)
16101612 then throw(("Payment attached should be " + toString(cost)))
16111613 else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4))
16121614 }
16131615
16141616
16151617 func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
16161618 let cost = (InfraUpgradeCostSUsdt * 47)
16171619 if (if (!(shouldUseMat))
16181620 then (paymentAmount != cost)
16191621 else false)
16201622 then throw(("Payment attached should be " + toString(cost)))
16211623 else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47))
16221624 }
16231625
16241626
16251627 func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
16261628 let cost = (InfraUpgradeCostSUsdt * 54)
16271629 if (if (!(shouldUseMat))
16281630 then (paymentAmount != cost)
16291631 else false)
16301632 then throw(("Payment attached should be " + toString(cost)))
16311633 else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54))
16321634 }
16331635
16341636
16351637 func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = {
16361638 let mergeResult = match size(landAssetIds) {
16371639 case _ =>
16381640 if ((4 == $match0))
16391641 then s2m(addr, landAssetIds, txId)
16401642 else if ((3 == $match0))
16411643 then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16421644 else if ((5 == $match0))
16431645 then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16441646 else if ((2 == $match0))
16451647 then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16461648 else throw("Unknown merge")
16471649 }
16481650 mergeResult
16491651 }
16501652
16511653
16521654 func prolog (i) = if (if ((i.originCaller != restContract))
16531655 then valueOrElse(getBoolean(keyBlocked()), false)
16541656 else false)
16551657 then throw("Contracts are under maintenance")
16561658 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
16571659
16581660
16591661 @Callable(i)
16601662 func constructorV1 (restAddr) = if ((i.caller != this))
16611663 then throw("Permission denied")
16621664 else [StringEntry(keyRestAddress(), restAddr)]
16631665
16641666
16651667
16661668 @Callable(i)
16671669 func setBlocked (isBlocked) = if ((i.caller != this))
16681670 then throw("permission denied")
16691671 else [BooleanEntry(keyBlocked(), isBlocked)]
16701672
16711673
16721674
16731675 @Callable(i)
16741676 func stakeLand () = {
16751677 let prologAction = prolog(i)
16761678 if ((size(i.payments) != 1))
16771679 then throw("Exactly one payment required")
16781680 else {
16791681 let pmt = value(i.payments[0])
16801682 let assetId = value(pmt.assetId)
16811683 let address = toString(i.caller)
16821684 if ((pmt.amount != 1))
16831685 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
16841686 else {
16851687 let asset = value(assetInfo(assetId))
16861688 if ((asset.issuer != this))
16871689 then throw("Unknown issuer of token")
16881690 else if (!(contains(asset.name, LANDPREFIX)))
16891691 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
16901692 else {
16911693 let landNumSize = drop(asset.name, 4)
16921694 let landNum = if (contains(landNumSize, "XXL"))
16931695 then dropRight(landNumSize, 3)
16941696 else if (contains(landNumSize, "XL"))
16951697 then dropRight(landNumSize, 2)
16961698 else dropRight(landNumSize, 1)
16971699 if (!(isDefined(parseInt(landNum))))
16981700 then throw(("Cannot parse land number from " + asset.name))
16991701 else {
17001702 let landAssetId = toBase58String(assetId)
17011703 let timeKey = keyStakedTimeByAssetId(landAssetId)
17021704 if (isDefined(getInteger(timeKey)))
17031705 then throw((("NFT " + asset.name) + " is already staked"))
17041706 else {
17051707 let d = split(asset.description, "_")
17061708 let terrainCounts = countTerrains(d[recTerrains])
17071709 let pieces = numPiecesBySize(d[recLandSize])
17081710 let props = updateProportions(terrainCounts, (pieces / SSIZE), 1)
17091711 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
17101712 let landsKey = keyStakedLandsByOwner(address)
17111713 let landsStr = getString(landsKey)
17121714 let lands = if (isDefined(landsStr))
17131715 then split_51C(value(landsStr), "_")
17141716 else nil
17151717 if (containsElement(lands, landAssetId))
17161718 then throw(("Your staked lands already contain " + landAssetId))
17171719 else {
17181720 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
17191721 let piecesKey = keyStakedPiecesByOwner(address)
17201722 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
17211723 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [address], nil))
17221724 $Tuple2([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(landsKey, makeString_11C((lands :+ landAssetId), "_")), IntegerEntry(piecesKey, (oldPieces + pieces)), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, address), artPieces), IntegerEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, address), infraLevel), StringEntry(keyResProportions(), props), prologAction], wlgResult)
17231725 }
17241726 }
17251727 }
17261728 }
17271729 }
17281730 }
17291731 }
17301732
17311733
17321734
17331735 @Callable(i)
17341736 func unstakeLand (landAssetIdIn) = {
17351737 let prologAction = prolog(i)
17361738 if ((size(i.payments) != 0))
17371739 then throw("No payments required")
17381740 else {
17391741 let addr = toString(i.caller)
17401742 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
17411743 let landAssetId = c._2
17421744 let landsKey = keyStakedLandsByOwner(addr)
17431745 let terrainCounts = countTerrains(c._3[recTerrains])
17441746 let pieces = numPiecesBySize(c._3[recLandSize])
17451747 let props = updateProportions(terrainCounts, (pieces / SSIZE), -1)
17461748 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
17471749 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
17481750 let idx = indexOf(lands, landAssetId)
17491751 if (!(isDefined(idx)))
17501752 then throw(("Your staked lands don't contain " + landAssetId))
17511753 else {
17521754 let now = lastBlock.timestamp
17531755 let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
17541756 if ((govReleaseTime >= now))
17551757 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime)))
17561758 else {
17571759 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay)
17581760 if ((arbReleaseTime > now))
17591761 then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime)))
17601762 else {
17611763 let piecesKey = keyStakedPiecesByOwner(addr)
17621764 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
17631765 let newPieces = if ((pieces > stakedPieces))
17641766 then 0
17651767 else (stakedPieces - pieces)
17661768 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [addr], nil))
17671769 $Tuple2([ScriptTransfer(i.caller, 1, fromBase58String(landAssetId)), DeleteEntry(keyStakedTimeByAssetId(landAssetId)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr)), StringEntry(keyResProportions(), props), StringEntry(claimResult._2, makeString(claimResult._3, ":")), if ((size(lands) > 1))
17681770 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
17691771 else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
17701772 }
17711773 }
17721774 }
17731775 }
17741776 }
17751777
17761778
17771779
17781780 @Callable(i)
17791781 func stakeDuck () = {
17801782 let prologAction = prolog(i)
17811783 if ((size(i.payments) != 1))
17821784 then throw("Exactly one payment required")
17831785 else {
17841786 let pmt = value(i.payments[0])
17851787 let assetId = value(pmt.assetId)
17861788 let address = toString(i.caller)
17871789 if ((pmt.amount != 1))
17881790 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
17891791 else {
17901792 let asset = value(assetInfo(assetId))
17911793 if (if ((asset.issuer != incubatorAddr))
17921794 then (asset.issuer != breederAddr)
17931795 else false)
17941796 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
17951797 else if (!(contains(asset.name, DUCKPREFIX)))
17961798 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
17971799 else {
17981800 let assetIdStr = toBase58String(assetId)
17991801 let timeKey = keyStakedTimeByAssetId(assetIdStr)
18001802 if (isDefined(getInteger(timeKey)))
18011803 then throw((("NFT " + asset.name) + " is already staked"))
18021804 else if (isDefined(getString(keyStakedDuckByOwner(address))))
18031805 then throw(("You already staked one duck: " + asset.name))
18041806 else {
18051807 let locKey = keyDuckLocation(assetIdStr)
18061808 let location = getString(locKey)
18071809 let bpKey = keyBackpackByDuck(assetIdStr)
18081810 let backpack = getString(bpKey)
18091811 let keyHealth = keyDuckHealth(assetIdStr)
18101812 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
18111813 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
18121814 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
18131815 then nil
18141816 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
18151817 then nil
18161818 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
18171819 }
18181820 }
18191821 }
18201822 }
18211823 }
18221824
18231825
18241826
18251827 @Callable(i)
18261828 func unstakeDuck (assetIdStr) = {
18271829 let prologAction = prolog(i)
18281830 if ((size(i.payments) != 0))
18291831 then throw("No payments required")
18301832 else {
18311833 let assetId = fromBase58String(assetIdStr)
18321834 let address = toString(i.caller)
18331835 let asset = value(assetInfo(assetId))
18341836 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
18351837 if (!(isDefined(getInteger(timeKey))))
18361838 then throw((("NFT " + asset.name) + " is not staked"))
18371839 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
18381840 then throw((("The duck " + asset.name) + " is not staked"))
18391841 else {
18401842 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
18411843 if ((owner != address))
18421844 then throw("Staked NFT is not yours")
18431845 else {
18441846 let keyHealth = keyDuckHealth(assetIdStr)
18451847 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
18461848 let health = valueOrElse(getInteger(keyHealth), maxHP)
18471849 if ((maxHP > health))
18481850 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
18491851 else [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address)), prologAction]
18501852 }
18511853 }
18521854 }
18531855 }
18541856
18551857
18561858
18571859 @Callable(i)
18581860 func claimRes (amount,landAssetIdStr) = {
18591861 let prologAction = prolog(i)
18601862 if ((size(i.payments) != 0))
18611863 then throw("No payments required")
18621864 else {
18631865 let addr = toString(i.originCaller)
18641866 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
18651867 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18661868 $Tuple2(((((result._1 ++ updateDuckStatsInternal(duckAssetId, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._3[bpIdxRes])
18671869 }
18681870 }
18691871
18701872
18711873
18721874 @Callable(i)
18731875 func claimResToWH (amount,landAssetIdStr) = {
18741876 let prologAction = prolog(i)
18751877 if ((size(i.payments) != 0))
18761878 then throw("No payments required")
18771879 else {
18781880 let addr = toString(i.originCaller)
18791881 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
18801882 $Tuple2(((((result._1 ++ updateAccStatsInternal(addr, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._5[whIdxRes])
18811883 }
18821884 }
18831885
18841886
18851887
18861888 @Callable(i)
18871889 func flight (message,sig) = {
18881890 let prologAction = prolog(i)
18891891 if ((size(i.payments) != 0))
18901892 then throw("No payments required")
18911893 else {
18921894 let userAddr = toString(i.caller)
18931895 let f = flightCommon(userAddr, message, sig)
18941896 let duckAssetId = f._2
18951897 let locKey = keyDuckLocation(duckAssetId)
18961898 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
18971899 if ((f._4 == curLocation))
18981900 then throw("You can't fly to the same location")
18991901 else {
19001902 let eqKey = keyDuckEquipment(duckAssetId)
19011903 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
19021904 let newEq = subtractEquipment(currentEq, f._5)
19031905 $Tuple2(([StringEntry(locKey, if ((f._1 > 0))
19041906 then f._4
19051907 else curLocation), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), f._1), prologAction] ++ updateDuckStatsInternal(duckAssetId, if ((f._1 > 0))
19061908 then xpSuccessFlight
19071909 else xpFailFlight)._1), f._3)
19081910 }
19091911 }
19101912 }
19111913
19121914
19131915
19141916 @Callable(i)
19151917 func heal (quantityL1,quantityL2,quantityL3) = {
19161918 let prologAction = prolog(i)
19171919 if (if (if ((0 > quantityL1))
19181920 then true
19191921 else (0 > quantityL2))
19201922 then true
19211923 else (0 > quantityL3))
19221924 then throw("Quantity cannot be negative")
19231925 else {
19241926 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19251927 let qts = [quantityL1, quantityL2, quantityL3]
19261928 let keyHealth = keyDuckHealth(duckAssetId)
19271929 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19281930 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19291931 if ((oldHealth >= maxHP))
19301932 then throw((("HP should be < " + toString(maxHP)) + " to heal"))
19311933 else {
19321934 let bpKey = keyBackpackByDuck(duckAssetId)
19331935 let currentPack = getBackpack(bpKey)
19341936 let prodList = if ((currentPack[bpIdxProd] == ""))
19351937 then nil
19361938 else split(currentPack[bpIdxProd], "_")
19371939 func iterateProd (acc,ignoredItem) = {
19381940 let n = acc._2
19391941 let x = if ((size(prodList) > n))
19401942 then parseIntValue(prodList[n])
19411943 else 0
19421944 if ((3 > n))
19431945 then {
19441946 let q = qts[n]
19451947 if ((q > x))
19461948 then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n]))
19471949 else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (medKitHp[n] * q)))
19481950 }
19491951 else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3)
19501952 }
19511953
19521954 let result = {
19531955 let $l = productionMatrix
19541956 let $s = size($l)
19551957 let $acc0 = $Tuple3(nil, 0, 0)
19561958 func $f0_1 ($a,$i) = if (($i >= $s))
19571959 then $a
19581960 else iterateProd($a, $l[$i])
19591961
19601962 func $f0_2 ($a,$i) = if (($i >= $s))
19611963 then $a
19621964 else throw("List size exceeds 50")
19631965
19641966 $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)
19651967 }
19661968 let newHealth = min([maxHP, (oldHealth + result._3)])
19671969 $Tuple2(([IntegerEntry(keyHealth, newHealth), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(result._1, "_")], ":")), prologAction] ++ updateDuckStatsInternal(duckAssetId, (xpHeal * ((quantityL1 + quantityL2) + quantityL3)))._1), newHealth)
19681970 }
19691971 }
19701972 }
19711973
19721974
19731975
19741976 @Callable(i)
19751977 func healES () = {
19761978 let prologAction = prolog(i)
19771979 if ((size(i.payments) != 1))
19781980 then throw("Exactly one payment required")
19791981 else {
19801982 let pmt = value(i.payments[0])
19811983 if ((pmt.assetId != usdtAssetId))
19821984 then throw("Allowed USDT payment only!")
19831985 else {
19841986 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19851987 let keyHealth = keyDuckHealth(duckAssetId)
19861988 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19871989 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19881990 if ((oldHealth > 0))
19891991 then throw("HP should be 0 to call Emergency Service")
19901992 else {
19911993 let bpKey = keyBackpackByDuck(duckAssetId)
19921994 let currentPack = getBackpack(bpKey)
19931995 let prodList = if ((currentPack[bpIdxProd] == ""))
19941996 then nil
19951997 else split(currentPack[bpIdxProd], "_")
19961998 let medKitAmount1 = if ((size(prodList) > 0))
19971999 then parseIntValue(prodList[0])
19982000 else 0
19992001 let medKitAmount2 = if ((size(prodList) > 1))
20002002 then parseIntValue(prodList[1])
20012003 else 0
20022004 let medKitAmount3 = if ((size(prodList) > 2))
20032005 then parseIntValue(prodList[2])
20042006 else 0
20052007 if (if (if ((medKitAmount1 > 0))
20062008 then true
20072009 else (medKitAmount2 > 0))
20082010 then true
20092011 else (medKitAmount3 > 0))
20102012 then throw("You have to use own Medical Kit")
20112013 else {
20122014 let existStr = getString(economyContract, keyEsWarehouse())
20132015 let existAmounts = if (isDefined(existStr))
20142016 then split(value(existStr), "_")
20152017 else nil
20162018 let existAmount = if ((size(existAmounts) > 0))
20172019 then parseIntValue(existAmounts[0])
20182020 else 0
20192021 if ((0 >= existAmount))
20202022 then throw("There are no Medical Kits L1 at Emergency Service storage")
20212023 else {
20222024 let newHealth = (oldHealth + medKitHp[0])
20232025 let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_")
20242026 let recipe = split(productionMatrix[0], "_")
20252027 let totalMat = getRecipeMaterials(recipe)
20262028 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (10 * PRODUCTPKGSIZE))
20272029 if ((pmt.amount != sellPrice))
20282030 then throw(("Payment attached should be " + toString(sellPrice)))
20292031 else {
20302032 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
20312033 $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
20322034 }
20332035 }
20342036 }
20352037 }
20362038 }
20372039 }
20382040 }
20392041
20402042
20412043
20422044 @Callable(i)
20432045 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract))
20442046 then throw("permission denied")
20452047 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
20462048
20472049
20482050
20492051 @Callable(i)
20502052 func buySLand () = {
20512053 let prologAction = prolog(i)
20522054 if ((size(i.payments) != 1))
20532055 then throw("Exactly one payment required")
20542056 else {
20552057 let pmt = value(i.payments[0])
20562058 if ((pmt.assetId != usdtAssetId))
20572059 then throw("Allowed USDT payment only!")
20582060 else if ((pmt.amount != EXPUSDT))
20592061 then throw(("Payment attached should be " + toString(EXPUSDT)))
20602062 else {
20612063 let result = expeditionInternal(i.caller, i.transactionId)
20622064 $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), result._2._1)
20632065 }
20642066 }
20652067 }
20662068
20672069
20682070
20692071 @Callable(i)
20702072 func expedition (message,sig) = {
20712073 let prologAction = prolog(i)
20722074 if ((size(i.payments) != 0))
20732075 then throw("No payments required")
20742076 else {
20752077 let result = expeditionCommon(i.caller, i.transactionId, message, sig)
20762078 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20772079 $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3))
20782080 }
20792081 }
20802082
20812083
20822084
20832085 @Callable(i)
20842086 func upgradeInfra (landAssetId) = {
20852087 let prologAction = prolog(i)
20862088 if ((size(i.payments) != 0))
20872089 then throw("No payments required")
20882090 else {
20892091 let result = upInfraCommon(true, i.caller, 0, landAssetId)
20902092 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20912093 $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
20922094 }
20932095 }
20942096
20952097
20962098
20972099 @Callable(i)
20982100 func upgradeInfraUsdt (landAssetId) = if ((i.caller != this))
20992101 then throw("Permission denied")
21002102 else {
21012103 let prologAction = prolog(i)
21022104 if ((size(i.payments) != 1))
21032105 then throw("Exactly one payment required")
21042106 else {
21052107 let pmt = value(i.payments[0])
21062108 if ((pmt.assetId != usdtAssetId))
21072109 then throw("Allowed USDT payment only!")
21082110 else {
21092111 let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId)
21102112 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
21112113 }
21122114 }
21132115 }
21142116
21152117
21162118
21172119 @Callable(i)
21182120 func activateArtifact (artName,landAssetIdOpt) = {
21192121 let prologAction = prolog(i)
21202122 if ((size(i.payments) != 0))
21212123 then throw("No payments required")
21222124 else {
21232125 let addr = toString(i.caller)
21242126 let result = match artName {
21252127 case _ =>
21262128 if (("PRESALE" == $match0))
21272129 then activatePresaleArt(addr, landAssetIdOpt)
21282130 else if (("ONBOARD" == $match0))
21292131 then activateOnboardArt(addr)
21302132 else throw("Unknown artifact")
21312133 }
21322134 (result :+ prologAction)
21332135 }
21342136 }
21352137
21362138
21372139
21382140 @Callable(i)
21392141 func mergeLands (landAssetIds) = {
21402142 let prologAction = prolog(i)
21412143 if ((size(i.payments) != 0))
21422144 then throw("No payments required")
21432145 else {
21442146 let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId)
21452147 $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
21462148 }
21472149 }
21482150
21492151
21502152
21512153 @Callable(i)
21522154 func mergeLandsUsdt (landAssetIds) = {
21532155 let prologAction = prolog(i)
21542156 if ((size(i.payments) != 1))
21552157 then throw("Exactly one payment required")
21562158 else {
21572159 let pmt = value(i.payments[0])
21582160 if ((pmt.assetId != usdtAssetId))
21592161 then throw("Allowed USDT payment only!")
21602162 else {
21612163 let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId)
21622164 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
21632165 }
21642166 }
21652167 }
21662168
21672169
21682170
21692171 @Callable(i)
21702172 func cargoExchange (cargoListStr,landAssetId) = {
21712173 let prologAction = prolog(i)
21722174 if ((size(i.payments) != 0))
21732175 then throw("No payments required")
21742176 else {
21752177 let cargoParts = split_4C(cargoListStr, ":")
21762178 let addr = toString(i.originCaller)
21772179 let asset = value(assetInfo(fromBase58String(landAssetId)))
21782180 let timeKey = keyStakedTimeByAssetId(landAssetId)
21792181 if (!(isDefined(getInteger(timeKey))))
21802182 then throw((asset.name + " is not staked"))
21812183 else {
21822184 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
21832185 if ((owner != addr))
21842186 then throw((LANDPREFIX + " is not yours"))
21852187 else {
21862188 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
21872189 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
21882190 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
21892191 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
21902192 let loc = split(value(curLocation), "_")
21912193 if ((loc[locIdxType] != "L"))
21922194 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
21932195 else if ((loc[locIdxId] != landAssetId))
21942196 then throw(("Duck should be on the land " + landAssetId))
21952197 else {
21962198 let whKey = keyWarehouseByLand(landAssetId)
21972199 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
21982200 let bpKey = keyBackpackByDuck(duckAssetId)
21992201 let currentPack = getBackpack(bpKey)
22002202 let result = moveStuff(cargoParts, currentWh, currentPack)
22012203 let loft = split(currentWh[whIdxLOFT], "_")
22022204 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
22032205 let loftF = (parseIntValue(loft[volFree]) - result._7)
22042206 [StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], result._4, result._5, result._6], ":")), StringEntry(whKey, makeString_2C([currentWh[whIdxLevels], result._1, result._2, result._3, makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")], ":")), prologAction]
22052207 }
22062208 }
22072209 }
22082210 }
22092211 }
22102212
22112213
22122214
22132215 @Callable(i)
22142216 func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract))
22152217 then throw("Access denied")
22162218 else {
22172219 let whKey = keyWarehouseByLand(landAssetId)
22182220 let wh = split_4C(whStr, ":")
22192221 if ((size(wh) != 5))
22202222 then throw("warehouse string should contain 4 ':' separators")
22212223 else {
22222224 let loftL = split(wh[whIdxLOFT], "_")[volLocked]
22232225 let loftO = getWarehouseOccupiedVol(wh)
22242226 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22252227 let loftF = ((loftT - parseIntValue(loftL)) - loftO)
22262228 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22272229 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22282230 }
22292231 }
22302232
22312233
22322234
22332235 @Callable(i)
22342236 func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract))
22352237 then throw("Access denied")
22362238 else {
22372239 let whKey = keyWarehouseByLand(landAssetId)
22382240 let asset = value(assetInfo(fromBase58String(landAssetId)))
22392241 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
22402242 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
22412243 let wh = getWarehouse(whKey, landIndex, infraLevel)
22422244 let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil))
22432245 let loftO = getWarehouseOccupiedVol(wh)
22442246 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22452247 let loftF = ((loftT - loftL) - loftO)
22462248 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22472249 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22482250 }
22492251
22502252
22512253
22522254 @Callable(i)
22532255 func fixStakedPieces (address) = if ((i.caller != restContract))
22542256 then throw("Access denied")
22552257 else {
22562258 let stakedPieces = if ((address == ""))
22572259 then 0
22582260 else {
22592261 let landsStr = getString(stakingContract, keyStakedLandsByOwner(address))
22602262 let lands = if (isDefined(landsStr))
22612263 then split_51C(value(landsStr), "_")
22622264 else nil
22632265 func oneLand (acc,landAssetId) = {
22642266 let asset = value(assetInfo(fromBase58String(landAssetId)))
22652267 let landSize = split(asset.description, "_")[recLandSize]
22662268 (acc + numPiecesBySize(landSize))
22672269 }
22682270
22692271 let $l = lands
22702272 let $s = size($l)
22712273 let $acc0 = 0
22722274 func $f0_1 ($a,$i) = if (($i >= $s))
22732275 then $a
22742276 else oneLand($a, $l[$i])
22752277
22762278 func $f0_2 ($a,$i) = if (($i >= $s))
22772279 then $a
22782280 else throw("List size exceeds 100")
22792281
22802282 $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)
22812283 }
22822284 $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces)
22832285 }
22842286
22852287
22862288
22872289 @Callable(i)
22882290 func setCustomName (assetId,customName,type) = {
22892291 let prologAction = prolog(i)
22902292 if ((size(i.payments) != 1))
22912293 then throw("Exactly one payment required")
22922294 else {
22932295 let pmt = value(i.payments[0])
22942296 if ((pmt.assetId != usdtAssetId))
22952297 then throw("Allowed USDT payment only!")
22962298 else if ((pmt.amount != RENAMINGCOST))
22972299 then throw(("Payment should be " + toString(RENAMINGCOST)))
22982300 else if (contains(customName, "__"))
22992301 then throw(("Name should not contain '__': " + customName))
23002302 else if ((size(customName) > MAXNAMELEN))
23012303 then throw(("Name too long, maxLength=" + toString(MAXNAMELEN)))
23022304 else {
23032305 let addr = toString(i.originCaller)
23042306 let actions = match type {
23052307 case _ =>
23062308 if (("ACCOUNT" == $match0))
23072309 then {
23082310 let reverseKey = keyCustomNameToAddress(customName)
23092311 let nameOwner = getString(reverseKey)
23102312 if (isDefined(nameOwner))
23112313 then throw(("Name already registered: " + customName))
23122314 else {
23132315 let addrToNameKey = keyAddressToCustomName(addr)
23142316 let oldName = getString(addrToNameKey)
23152317 let freeOld = if (isDefined(oldName))
23162318 then [DeleteEntry(keyCustomNameToAddress(value(oldName)))]
23172319 else nil
23182320 (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
23192321 }
23202322 }
23212323 else if (("LAND" == $match0))
23222324 then {
23232325 let asset = value(assetInfo(fromBase58String(assetId)))
23242326 let timeKey = keyStakedTimeByAssetId(assetId)
23252327 if (!(isDefined(getInteger(timeKey))))
23262328 then throw((asset.name + " is not staked"))
23272329 else {
23282330 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23292331 if ((owner != addr))
23302332 then throw((LANDPREFIX + " is not yours"))
23312333 else {
23322334 let reverseKey = keyLandCustomNameToAssetId(customName)
23332335 let nameOwner = getString(reverseKey)
23342336 if (isDefined(nameOwner))
23352337 then throw(("Name already registered: " + customName))
23362338 else {
23372339 let assetToNameKey = keyLandAssetIdToCustomName(assetId)
23382340 let oldName = getString(assetToNameKey)
23392341 let freeOld = if (isDefined(oldName))
23402342 then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))]
23412343 else nil
23422344 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
23432345 }
23442346 }
23452347 }
23462348 }
23472349 else if (("DUCK" == $match0))
23482350 then {
23492351 let asset = value(assetInfo(fromBase58String(assetId)))
23502352 let timeKey = keyStakedTimeByAssetId(assetId)
23512353 if (if (!(isDefined(getInteger(timeKey))))
23522354 then true
23532355 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
23542356 then throw((asset.name + " is not staked"))
23552357 else {
23562358 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23572359 if ((owner != addr))
23582360 then throw((DUCKPREFIX + " is not yours"))
23592361 else {
23602362 let reverseKey = keyDuckCustomNameToAssetId(customName)
23612363 let nameOwner = getString(reverseKey)
23622364 if (isDefined(nameOwner))
23632365 then throw(("Name already registered: " + customName))
23642366 else {
23652367 let assetToNameKey = keyDuckAssetIdToCustomName(assetId)
23662368 let oldName = getString(assetToNameKey)
23672369 let freeOld = if (isDefined(oldName))
23682370 then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))]
23692371 else nil
23702372 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1)
23712373 }
23722374 }
23732375 }
23742376 }
23752377 else throw("Unknown entity type")
23762378 }
23772379 $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
23782380 }
23792381 }
23802382 }
23812383
23822384
23832385
23842386 @Callable(i)
23852387 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
23862388 then throw("Permission denied")
23872389 else {
23882390 let prologAction = prolog(i)
23892391 if ((size(i.payments) != 0))
23902392 then throw("No payments required")
23912393 else if (!(isDefined(addressFromString(oldPlayer))))
23922394 then throw(("Invalid address: " + oldPlayer))
23932395 else if (!(isDefined(addressFromString(newPlayer))))
23942396 then throw(("Invalid address: " + newPlayer))
23952397 else {
23962398 let oldsKey = keyOldies()
23972399 let olds = getString(oldsKey)
23982400 let oldies = if (isDefined(olds))
23992401 then split_4C(value(olds), "_")
24002402 else nil
24012403 if (containsElement(oldies, newPlayer))
24022404 then throw((newPlayer + " is not newbie (already has referrals)"))
24032405 else {
24042406 let refByKey = keyAddressRefBy(newPlayer)
24052407 let refBy = getString(refByKey)
24062408 if (if (isDefined(refBy))
24072409 then isDefined(addressFromString(value(refBy)))
24082410 else false)
24092411 then throw(((newPlayer + " already has refBy: ") + value(refBy)))
24102412 else {
24112413 let refsKey = keyAddressReferrals(oldPlayer)
24122414 let refs = getString(refsKey)
24132415 let refsArray = if (isDefined(refs))
24142416 then split_4C(value(refs), "_")
24152417 else nil
24162418 if (containsElement(refsArray, newPlayer))
24172419 then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
24182420 else {
24192421 let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
24202422 let newOlds = if (containsElement(oldies, oldPlayer))
24212423 then value(olds)
24222424 else makeString_2C((oldies :+ oldPlayer), "_")
24232425 $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
24242426 }
24252427 }
24262428 }
24272429 }
24282430 }
24292431
24302432
24312433
24322434 @Callable(i)
24332435 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
24342436 let prologAction = prolog(i)
24352437 if ((size(i.payments) != 0))
24362438 then throw("No payments required")
24372439 else {
24382440 let addr = toString(i.originCaller)
24392441 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
24402442 let freeKeyAcc = keyUserFreePoints(addr)
24412443 let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0)
24422444 let freeKeyDuck = keyDuckFreePoints(duckAssetId)
24432445 let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0)
24442446 let sumFree = (freePointsAcc + freePointsDuck)
24452447 let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity)
24462448 if ((sumToDistribute > sumFree))
24472449 then throw((("There are only " + toString(sumFree)) + " free points to distribute"))
24482450 else {
24492451 let charsKey = keyDuckChars(duckAssetId)
24502452 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
24512453 let newAcc = (freePointsAcc - sumToDistribute)
24522454 $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
24532455 then 0
24542456 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
24552457 then (freePointsDuck + newAcc)
24562458 else freePointsDuck), StringEntry(charsKey, makeString([toString((parseIntValue(chars[charStrength]) + strength)), toString((parseIntValue(chars[charAccuracy]) + accuracy)), toString((parseIntValue(chars[charIntellect]) + intellect)), toString((parseIntValue(chars[charEndurance]) + endurance)), toString((parseIntValue(chars[charDexterity]) + dexterity))], "_")), prologAction], 0)
24572459 }
24582460 }
24592461 }
24602462
24612463
24622464
24632465 @Callable(i)
24642466 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
24652467
24662468
24672469
24682470 @Callable(i)
24692471 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
24702472 let terrainCounts = countTerrains(terrains)
24712473 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
24722474 }
24732475
24742476
24752477
24762478 @Callable(i)
24772479 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
24782480
24792481
24802482
24812483 @Callable(i)
24822484 func getWarehouseREADONLY (landAssetId) = {
24832485 let asset = value(assetInfo(fromBase58String(landAssetId)))
24842486 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
24852487 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
24862488 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
24872489 }
24882490
24892491
24902492
24912493 @Callable(i)
24922494 func saveLastTx () = if (if ((i.caller != wlgContract))
24932495 then (i.caller != economyContract)
24942496 else false)
24952497 then throw("Access denied")
24962498 else $Tuple2([prolog(i)], 42)
24972499
24982500
24992501
25002502 @Callable(i)
25012503 func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract))
25022504 then throw("Access denied")
25032505 else updateDuckStatsInternal(duckAssetId, deltaXP)
25042506
25052507
25062508
25072509 @Callable(i)
25082510 func updateAccStats (addr,deltaXP) = if ((i.caller != economyContract))
25092511 then throw("Access denied")
25102512 else updateAccStatsInternal(addr, deltaXP)
25112513
25122514
25132515
25142516 @Callable(i)
25152517 func equipDuck (equipment) = {
25162518 let prologAction = prolog(i)
25172519 if ((size(i.payments) != 0))
25182520 then throw("No payments required")
25192521 else {
25202522 let addr = toString(i.originCaller)
25212523 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
25222524 let eqKey = keyDuckEquipment(duckAssetId)
25232525 let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
25242526 let bpKey = keyBackpackByDuck(duckAssetId)
25252527 let currentPack = getBackpack(bpKey)
25262528 let newEq = split(equipment, "_")
25272529 if ((size(newEq) != NUMSEGMENTS))
25282530 then throw("Wrong equipment string")
25292531 else {
25302532 let reqs = getDuckStats(this, duckAssetId)
25312533 let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, reqs)
25322534 let newProdB = dressB(newEq, tempProdB, false, reqs)
25332535 let newProdStr = bytesToProdStr(newProdB)
25342536 $Tuple2([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProdStr], ":")), prologAction], 0)
25352537 }
25362538 }
25372539 }
25382540
25392541

github/deemru/w8io/026f985 
251.13 ms