tx · VM34NZQMDPboWza5hFHaJXwopB6aAHB1VTiunuMrLQF

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.05400000 Waves

2023.05.13 22:45 [2576608] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "VM34NZQMDPboWza5hFHaJXwopB6aAHB1VTiunuMrLQF", "fee": 5400000, "feeAssetId": null, "timestamp": 1684007192689, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "5EejABRzACuyAbpbwUjbNyKc8SJudKEFDLdViG7JZs5YVWJYvJurzgMz3F49LV1eqAEcuxBgmMooRS6pPvcg9Mib" ], "script": "base64:BgKUAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgQKAgEIEgQKAgEBEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgUKAwgICBIECgIICBIDCgEBEgUKAwEBCBIDCgEIEgMKAQiNAQAFY2hhaW4JAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZHRBc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAQFXBQckbWF0Y2gwASCE2nqyCAM/TtG7yo7ui5O8yYLdC136B5ao1CP5qA//uQMJAAACAQFUBQckbWF0Y2gwASBVsdifcoeC7+XjW42sBatl3ppDoS8WuwXzGreHpfHFGAkAAgECDVVua25vd24gY2hhaW4ADWluY3ViYXRvckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQRWt0VnV4MlJoY2hTTjYzRHNEbzRiNG16NFFxektTZUR2AwkAAAIBAVQFByRtYXRjaDAFBHRoaXMJAAIBAg1Vbmtub3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xqgbgf Next: Ay4nSRr3augYhmh8pDm7MHc5kp8ePe3UEjKshCYV9AQa Diff:
OldNewDifferences
202202
203203
204204 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
205+
206+
207+func keyOldies () = "oldiesList"
205208
206209
207210 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
872875
873876
874877 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
875- let $t02442924968 = if ((claimMode == claimModeWh))
878+ let $t02446125000 = if ((claimMode == claimModeWh))
876879 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
877880 else {
878881 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
882885 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
883886 else $Tuple2(loc[locIdxId], duckAssetId)
884887 }
885- let landAssetId = $t02442924968._1
886- let duckId = $t02442924968._2
888+ let landAssetId = $t02446125000._1
889+ let duckId = $t02446125000._2
887890 let asset = value(assetInfo(fromBase58String(landAssetId)))
888891 let timeKey = keyStakedTimeByAssetId(landAssetId)
889892 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
934937 let currentPack = getBackpack(bpKey)
935938 let currentPackRes = split(currentPack[bpIdxRes], "_")
936939 let currentWhRes = split(currentWh[whIdxRes], "_")
937- let $t02761628119 = if ((claimMode == claimModeWh))
940+ let $t02764828151 = if ((claimMode == claimModeWh))
938941 then $Tuple2(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes])
939942 else if ((claimMode == claimModeDuck))
940943 then $Tuple2(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece))
941944 else distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
942- let whRes = $t02761628119._1
943- let bpRes = $t02761628119._2
945+ let whRes = $t02764828151._1
946+ let bpRes = $t02764828151._2
944947 $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxVol], whRes, currentWh[whIdxMat], currentWh[whIdxProd], currentWh[whIdxLockedVol]])
945948 }
946949 }
17471750 else if (!(isDefined(addressFromString(newPlayer))))
17481751 then throw(("Invalid address: " + newPlayer))
17491752 else {
1750- let refByKey = keyAddressRefBy(newPlayer)
1751- let refBy = getString(refByKey)
1752- if (if (isDefined(refBy))
1753- then isDefined(addressFromString(value(refBy)))
1754- else false)
1755- then throw(((newPlayer + " already has refBy: ") + value(refBy)))
1753+ let oldsKey = keyOldies()
1754+ let olds = getString(oldsKey)
1755+ let oldies = if (isDefined(olds))
1756+ then split_4C(value(olds), "_")
1757+ else nil
1758+ if (containsElement(oldies, newPlayer))
1759+ then throw((newPlayer + " is not newbie (already has referrals)"))
17561760 else {
1757- let refsKey = keyAddressReferrals(oldPlayer)
1758- let refs = getString(refsKey)
1759- let refsArray = if (isDefined(refs))
1760- then split_4C(value(refs), "_")
1761- else nil
1762- if (containsElement(refsArray, newPlayer))
1763- then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
1761+ let refByKey = keyAddressRefBy(newPlayer)
1762+ let refBy = getString(refByKey)
1763+ if (if (isDefined(refBy))
1764+ then isDefined(addressFromString(value(refBy)))
1765+ else false)
1766+ then throw(((newPlayer + " already has refBy: ") + value(refBy)))
17641767 else {
1765- let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
1766- $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), prologAction], 0)
1768+ let refsKey = keyAddressReferrals(oldPlayer)
1769+ let refs = getString(refsKey)
1770+ let refsArray = if (isDefined(refs))
1771+ then split_4C(value(refs), "_")
1772+ else nil
1773+ if (containsElement(refsArray, newPlayer))
1774+ then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
1775+ else {
1776+ let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
1777+ let newOlds = makeString_2C((oldies :+ oldPlayer), "_")
1778+ $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
1779+ }
17671780 }
17681781 }
17691782 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let chain = take(drop(this.bytes, 1), 1)
55
66 let usdtAssetId = match chain {
77 case _ =>
88 if ((base58'2W' == $match0))
99 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
1010 else if ((base58'2T' == $match0))
1111 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
1212 else throw("Unknown chain")
1313 }
1414
1515 let incubatorAddr = match chain {
1616 case _ =>
1717 if ((base58'2W' == $match0))
1818 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
1919 else if ((base58'2T' == $match0))
2020 then this
2121 else throw("Unknown chain")
2222 }
2323
2424 let breederAddr = match chain {
2525 case _ =>
2626 if ((base58'2W' == $match0))
2727 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
2828 else if ((base58'2T' == $match0))
2929 then this
3030 else throw("Unknown chain")
3131 }
3232
3333 let defaultRestAddressStr = match chain {
3434 case _ =>
3535 if ((base58'2W' == $match0))
3636 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
3737 else if ((base58'2T' == $match0))
3838 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
3939 else throw("Unknown chain")
4040 }
4141
4242 let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
4343
4444 let HEALCOST = 10000
4545
4646 let LANDPREFIX = "LAND"
4747
4848 let DUCKPREFIX = "DUCK"
4949
5050 let DEFAULTLOCATION = "Africa_F_Africa"
5151
5252 let NUMRES = 6
5353
5454 let SSIZE = 25
5555
5656 let MSIZE = 100
5757
5858 let LSIZE = 225
5959
6060 let XLSIZE = 400
6161
6262 let XXLSIZE = 625
6363
6464 let DAILYRESBYPIECE = 3456000
6565
6666 let DAYMILLIS = 86400000
6767
6868 let FIVEMINUTESMILLIS = 300000
6969
7070 let RESOURCEPRICEMIN = 39637
7171
7272 let WHMULTIPLIER = 10000000000
7373
7474 let RENAMINGCOST = 5000000
7575
7676 let InfraUpgradeCostS = match chain {
7777 case _ =>
7878 if ((base58'2W' == $match0))
7979 then 10000000000
8080 else if ((base58'2T' == $match0))
8181 then 100000000
8282 else throw("Unknown chain")
8383 }
8484
8585 let InfraUpgradeCostSUsdt = match chain {
8686 case _ =>
8787 if ((base58'2W' == $match0))
8888 then 10000000
8989 else if ((base58'2T' == $match0))
9090 then 10000000
9191 else throw("Unknown chain")
9292 }
9393
9494 let EXPMATERIALS = match chain {
9595 case _ =>
9696 if ((base58'2W' == $match0))
9797 then 252289527462
9898 else if ((base58'2T' == $match0))
9999 then 2522895274
100100 else throw("Unknown chain")
101101 }
102102
103103 let EXPUSDT = match chain {
104104 case _ =>
105105 if ((base58'2W' == $match0))
106106 then 250000000
107107 else if ((base58'2T' == $match0))
108108 then 250000000
109109 else throw("Unknown chain")
110110 }
111111
112112 let SEP = "__"
113113
114114 let MULT6 = 1000000
115115
116116 let FIVEX = toBigInt(5)
117117
118118 let TWENTYX = toBigInt(20)
119119
120120 let TWENTY2X = toBigInt((20 * 20))
121121
122122 let TWENTY3X = toBigInt(((20 * 20) * 20))
123123
124124 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
125125
126126 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
127127
128128 let matTypes = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
129129
130130 let continents = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
131131
132132 let ARTPRESALE = "PRESALE"
133133
134134 let PRESALENUMLANDS = 500
135135
136136 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
137137
138138
139139 func getIntOrElse (key,defaultVal) = valueOrElse(getInteger(this, key), defaultVal)
140140
141141
142142 let IdxCfgStakingDapp = 1
143143
144144 let IdxCfgEconomyDapp = 2
145145
146146 let IdxCfgGovernanceDapp = 3
147147
148148 func keyRestCfg () = "%s__restConfig"
149149
150150
151151 func keyRestAddress () = "%s__restAddr"
152152
153153
154154 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
155155
156156
157157 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
158158
159159
160160 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
161161
162162 let restCfg = readRestCfgOrFail(restContract)
163163
164164 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
165165
166166 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
167167
168168 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
169169
170170
171171 func keyNextFreeLandNum () = "nextLandNum"
172172
173173
174174 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
175175
176176
177177 func keyNftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
178178
179179
180180 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
181181
182182
183183 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
184184
185185
186186 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
187187
188188
189189 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
190190
191191
192192 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
193193
194194
195195 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
196196
197197
198198 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
199199
200200
201201 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
202202
203203
204204 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
205+
206+
207+func keyOldies () = "oldiesList"
205208
206209
207210 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
208211
209212
210213 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
211214
212215
213216 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
214217
215218
216219 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
217220
218221
219222 func keyPresaleArtActivatedByAssetId (assetId) = ("presaleArtActivated_" + assetId)
220223
221224
222225 func keyPresaleArtActivatedByAssetIdAndOwner (assetId,ownerAddr) = ((("presaleArtActivatedByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
223226
224227
225228 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
226229
227230
228231 func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_")
229232
230233
231234 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
232235
233236
234237 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
235238
236239
237240 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
238241
239242
240243 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
241244
242245
243246 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
244247
245248
246249 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
247250
248251
249252 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
250253
251254
252255 func keyResProportions () = "resTypesProportions"
253256
254257
255258 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
256259
257260
258261 func keyBlocked () = "contractsBlocked"
259262
260263
261264 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
262265
263266
264267 let recLandNum = 0
265268
266269 let recLandSize = 1
267270
268271 let recTerrains = 2
269272
270273 let recContinent = 3
271274
272275 let locIdxContinent = 0
273276
274277 let locIdxType = 1
275278
276279 let locIdxId = 2
277280
278281 let bpIdxLevel = 0
279282
280283 let bpIdxRes = 1
281284
282285 let bpIdxMat = 2
283286
284287 let bpIdxProd = 3
285288
286289 let whIdxVol = 0
287290
288291 let whIdxRes = 1
289292
290293 let whIdxMat = 2
291294
292295 let whIdxProd = 3
293296
294297 let whIdxLockedVol = 4
295298
296299 let claimModeWh = 0
297300
298301 let claimModeDuck = 1
299302
300303 let claimModeWhThenDuck = 2
301304
302305 func asString (v) = match v {
303306 case s: String =>
304307 s
305308 case _ =>
306309 throw("fail to cast into String")
307310 }
308311
309312
310313 func distributeByWeights (total,weights) = {
311314 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
312315 if ((0 >= sum))
313316 then throw("Zero weights sum")
314317 else {
315318 let norm6 = fraction(total, MULT6, sum)
316319 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
317320
318321 let $l = weights
319322 let $s = size($l)
320323 let $acc0 = nil
321324 func $f0_1 ($a,$i) = if (($i >= $s))
322325 then $a
323326 else normalizer($a, $l[$i])
324327
325328 func $f0_2 ($a,$i) = if (($i >= $s))
326329 then $a
327330 else throw("List size exceeds 6")
328331
329332 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
330333 }
331334 }
332335
333336
334337 func getNeededMaterials (total) = {
335338 let props = split(value(getString(keyResProportions())), "_")
336339 if ((size(props) != NUMRES))
337340 then throw("Wrong proportions data")
338341 else {
339342 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
340343 distributeByWeights(total, r)
341344 }
342345 }
343346
344347
345348 func subtractMaterials (shouldUseMat,has,totalNeed) = {
346349 let need = getNeededMaterials(totalNeed)
347350 func subtractor (acc,idx) = {
348351 let result = (parseIntValue(has[idx]) - need[idx])
349352 if ((0 > result))
350353 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
351354 else (acc :+ toString(result))
352355 }
353356
354357 if (shouldUseMat)
355358 then {
356359 let $l = [0, 1, 2, 3, 4, 5]
357360 let $s = size($l)
358361 let $acc0 = nil
359362 func $f0_1 ($a,$i) = if (($i >= $s))
360363 then $a
361364 else subtractor($a, $l[$i])
362365
363366 func $f0_2 ($a,$i) = if (($i >= $s))
364367 then $a
365368 else throw("List size exceeds 6")
366369
367370 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
368371 }
369372 else has
370373 }
371374
372375
373376 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
374377 then throw("Wrong proportions data")
375378 else {
376379 func updater (acc,i) = {
377380 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
378381 if ((0 > result))
379382 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
380383 else (acc :+ toString(result))
381384 }
382385
383386 let r = {
384387 let $l = [0, 1, 2, 3, 4, 5]
385388 let $s = size($l)
386389 let $acc0 = nil
387390 func $f0_1 ($a,$i) = if (($i >= $s))
388391 then $a
389392 else updater($a, $l[$i])
390393
391394 func $f0_2 ($a,$i) = if (($i >= $s))
392395 then $a
393396 else throw("List size exceeds 6")
394397
395398 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
396399 }
397400 makeString(r, "_")
398401 }
399402
400403
401404 func updateProportions (terrainCounts,landSizeIndex,sign) = {
402405 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
403406 updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign)
404407 }
405408
406409
407410 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)]
408411
409412
410413 func numPiecesBySize (landSize) = match landSize {
411414 case _ =>
412415 if (("S" == $match0))
413416 then SSIZE
414417 else if (("M" == $match0))
415418 then MSIZE
416419 else if (("L" == $match0))
417420 then LSIZE
418421 else if (("XL" == $match0))
419422 then XLSIZE
420423 else if (("XXL" == $match0))
421424 then XXLSIZE
422425 else throw("Unknown land size")
423426 }
424427
425428
426429 func subOneInList (aList,idx,amount) = {
427430 func subber (acc,i) = (acc :+ (if ((i == idx))
428431 then toString((parseIntValue(aList[i]) - amount))
429432 else aList[i]))
430433
431434 let r = {
432435 let $l = [0, 1, 2, 3, 4, 5]
433436 let $s = size($l)
434437 let $acc0 = nil
435438 func $f0_1 ($a,$i) = if (($i >= $s))
436439 then $a
437440 else subber($a, $l[$i])
438441
439442 func $f0_2 ($a,$i) = if (($i >= $s))
440443 then $a
441444 else throw("List size exceeds 6")
442445
443446 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
444447 }
445448 makeString(r, "_")
446449 }
447450
448451
449452 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
450453 func adder (acc,i) = {
451454 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
452455 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
453456 }
454457
455458 let r = {
456459 let $l = [0, 1, 2, 3, 4, 5]
457460 let $s = size($l)
458461 let $acc0 = nil
459462 func $f0_1 ($a,$i) = if (($i >= $s))
460463 then $a
461464 else adder($a, $l[$i])
462465
463466 func $f0_2 ($a,$i) = if (($i >= $s))
464467 then $a
465468 else throw("List size exceeds 6")
466469
467470 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
468471 }
469472 makeString(r, "_")
470473 }
471474
472475
473476 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
474477 func adder (acc,i) = {
475478 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
476479 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
477480 }
478481
479482 let $l = [0, 1, 2, 3, 4, 5]
480483 let $s = size($l)
481484 let $acc0 = $Tuple2(nil, 0)
482485 func $f0_1 ($a,$i) = if (($i >= $s))
483486 then $a
484487 else adder($a, $l[$i])
485488
486489 func $f0_2 ($a,$i) = if (($i >= $s))
487490 then $a
488491 else throw("List size exceeds 6")
489492
490493 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
491494 }
492495
493496
494497 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
495498 let resListToClaim = resToClaim._1
496499 let resAmToClaim = resToClaim._2
497500 if ((resAmToClaim == 0))
498501 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
499502 else if ((whSpaceLeft >= resAmToClaim))
500503 then {
501504 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
502505
503506 let r = {
504507 let $l = [0, 1, 2, 3, 4, 5]
505508 let $s = size($l)
506509 let $acc0 = nil
507510 func $f0_1 ($a,$i) = if (($i >= $s))
508511 then $a
509512 else addLists($a, $l[$i])
510513
511514 func $f0_2 ($a,$i) = if (($i >= $s))
512515 then $a
513516 else throw("List size exceeds 6")
514517
515518 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
516519 }
517520 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
518521 }
519522 else {
520523 func addPartLists (acc,i) = {
521524 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
522525 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
523526 }
524527
525528 let r = {
526529 let $l = [0, 1, 2, 3, 4, 5]
527530 let $s = size($l)
528531 let $acc0 = $Tuple2(nil, nil)
529532 func $f0_1 ($a,$i) = if (($i >= $s))
530533 then $a
531534 else addPartLists($a, $l[$i])
532535
533536 func $f0_2 ($a,$i) = if (($i >= $s))
534537 then $a
535538 else throw("List size exceeds 6")
536539
537540 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
538541 }
539542 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
540543 }
541544 }
542545
543546
544547 func abs (x) = if ((x >= toBigInt(0)))
545548 then x
546549 else -(x)
547550
548551
549552 let freq = [[1, 4, 9, 10, 15], [5, 8, 13, 14, 15], [6, 9, 14, 15, 16], [4, 7, 8, 13, 18], [1, 6, 7, 15, 19]]
550553
551554 func genChar (n,freqs) = {
552555 let rem = toInt((n % TWENTYX))
553556 let letter = if ((freqs[0] > rem))
554557 then "A"
555558 else if ((freqs[1] > rem))
556559 then "B"
557560 else if ((freqs[2] > rem))
558561 then "C"
559562 else if ((freqs[3] > rem))
560563 then "D"
561564 else if ((freqs[4] > rem))
562565 then "E"
563566 else "F"
564567 letter
565568 }
566569
567570
568571 func genTerrains (seed,continentIdx) = {
569572 let f = freq[continentIdx]
570573 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))
571574
572575 let t = {
573576 let $l = [1, 2, 3, 4, 5]
574577 let $s = size($l)
575578 let $acc0 = $Tuple2("", (seed / FIVEX))
576579 func $f0_1 ($a,$i) = if (($i >= $s))
577580 then $a
578581 else terrainGenerator($a, $l[$i])
579582
580583 func $f0_2 ($a,$i) = if (($i >= $s))
581584 then $a
582585 else throw("List size exceeds 5")
583586
584587 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
585588 }
586589 t._1
587590 }
588591
589592
590593 func getBackpack (bpKey) = {
591594 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
592595 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
593596 then p[bpIdxRes]
594597 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
595598 then p[bpIdxMat]
596599 else "0_0_0_0_0_0", p[bpIdxProd]]
597600 }
598601
599602
600603 func getWarehouseVolume (volPrefix) = {
601604 let parts = split(volPrefix, "_")
602605 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
603606 }
604607
605608
606609 func getWarehouse (whKey,landIndex,infraLevel) = {
607610 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
608611 let p = split(valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0")), ":")
609612 [p[whIdxVol], if ((size(split(p[whIdxRes], "_")) == NUMRES))
610613 then p[whIdxRes]
611614 else "0_0_0_0_0_0", if ((size(split(p[whIdxMat], "_")) == NUMRES))
612615 then p[whIdxMat]
613616 else "0_0_0_0_0_0", p[whIdxProd], if ((5 > size(p)))
614617 then "0"
615618 else p[whIdxLockedVol]]
616619 }
617620
618621
619622 func getWarehouseCurrResVolume (currentWh) = {
620623 func sum (acc,item) = (acc + parseIntValue(item))
621624
622625 let $l = split(currentWh[whIdxRes], "_")
623626 let $s = size($l)
624627 let $acc0 = 0
625628 func $f0_1 ($a,$i) = if (($i >= $s))
626629 then $a
627630 else sum($a, $l[$i])
628631
629632 func $f0_2 ($a,$i) = if (($i >= $s))
630633 then $a
631634 else throw("List size exceeds 6")
632635
633636 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
634637 }
635638
636639
637640 func getWarehouseCurrMatVolume (currentWh) = {
638641 func sum (acc,item) = (acc + parseIntValue(item))
639642
640643 let $l = split(currentWh[whIdxMat], "_")
641644 let $s = size($l)
642645 let $acc0 = 0
643646 func $f0_1 ($a,$i) = if (($i >= $s))
644647 then $a
645648 else sum($a, $l[$i])
646649
647650 func $f0_2 ($a,$i) = if (($i >= $s))
648651 then $a
649652 else throw("List size exceeds 6")
650653
651654 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
652655 }
653656
654657
655658 func getWarehouseCurrGoodsVolume (currentWh) = {
656659 let goods = currentWh[whIdxProd]
657660 if ((goods == ""))
658661 then 0
659662 else {
660663 func sum (acc,item) = (acc + parseIntValue(item))
661664
662665 let $l = split_4C(goods, "_")
663666 let $s = size($l)
664667 let $acc0 = 0
665668 func $f0_1 ($a,$i) = if (($i >= $s))
666669 then $a
667670 else sum($a, $l[$i])
668671
669672 func $f0_2 ($a,$i) = if (($i >= $s))
670673 then $a
671674 else throw("List size exceeds 50")
672675
673676 $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)
674677 }
675678 }
676679
677680
678681 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
679682 then throw("cargoListStr should contain exactly 2 ':' separators")
680683 else {
681684 let resParts = split(cargoParts[0], "_")
682685 let matParts = split(cargoParts[1], "_")
683686 let prodParts = if ((cargoParts[2] == ""))
684687 then nil
685688 else split(cargoParts[2], "_")
686689 if ((size(resParts) != NUMRES))
687690 then throw("All 6 resources should be passed")
688691 else if ((size(matParts) != NUMRES))
689692 then throw("All 6 materials should be passed")
690693 else {
691694 let currWhResVol = getWarehouseCurrResVolume(currentWh)
692695 let currWhMatVol = getWarehouseCurrMatVolume(currentWh)
693696 let currWhGoodsVol = getWarehouseCurrGoodsVolume(currentWh)
694697 let currWhLockedVol = parseIntValue(currentWh[whIdxLockedVol])
695698 let whSpaceLeft = ((((getWarehouseVolume(currentWh[whIdxVol]) - currWhResVol) - currWhMatVol) - currWhGoodsVol) - currWhLockedVol)
696699 let currWhRes = split(currentWh[whIdxRes], "_")
697700 let currWhMat = split(currentWh[whIdxMat], "_")
698701 let currWhProd = if ((currentWh[whIdxProd] == ""))
699702 then nil
700703 else split(currentWh[whIdxProd], "_")
701704 let currentPackRes = split(currentPack[bpIdxRes], "_")
702705 let currentPackMat = split(currentPack[bpIdxMat], "_")
703706 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
704707 then nil
705708 else split(currentPack[bpIdxProd], "_")
706709 func mvR (acc,item) = {
707710 let i = acc._1
708711 let am = parseIntValue(item)
709712 let whr = parseIntValue(currWhRes[i])
710713 let bpr = parseIntValue(currentPackRes[i])
711714 if ((am == 0))
712715 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
713716 else if ((am > 0))
714717 then if ((am > bpr))
715718 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
716719 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
717720 else if ((-(am) > whr))
718721 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
719722 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
720723 }
721724
722725 let r = {
723726 let $l = resParts
724727 let $s = size($l)
725728 let $acc0 = $Tuple4(0, nil, nil, 0)
726729 func $f0_1 ($a,$i) = if (($i >= $s))
727730 then $a
728731 else mvR($a, $l[$i])
729732
730733 func $f0_2 ($a,$i) = if (($i >= $s))
731734 then $a
732735 else throw("List size exceeds 6")
733736
734737 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
735738 }
736739 func mvM (acc,item) = {
737740 let i = acc._1
738741 let am = parseIntValue(item)
739742 let whm = parseIntValue(currWhMat[i])
740743 let bpm = parseIntValue(currentPackMat[i])
741744 if ((am == 0))
742745 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
743746 else if ((am > 0))
744747 then if ((am > bpm))
745748 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
746749 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
747750 else if ((-(am) > whm))
748751 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
749752 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
750753 }
751754
752755 let m = {
753756 let $l = matParts
754757 let $s = size($l)
755758 let $acc0 = $Tuple4(0, nil, nil, r._4)
756759 func $f1_1 ($a,$i) = if (($i >= $s))
757760 then $a
758761 else mvM($a, $l[$i])
759762
760763 func $f1_2 ($a,$i) = if (($i >= $s))
761764 then $a
762765 else throw("List size exceeds 6")
763766
764767 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
765768 }
766769 func mvP (acc,item) = {
767770 let i = acc._1
768771 let am = parseIntValue(item)
769772 let whp = parseIntValue(currWhProd[i])
770773 let bpp = parseIntValue(currentPackProd[i])
771774 if ((am == 0))
772775 then $Tuple4((i + 1), (acc._2 :+ currWhProd[i]), (acc._3 :+ currentPackProd[i]), acc._4)
773776 else if ((am > 0))
774777 then if ((am > bpp))
775778 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
776779 else $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + am))
777780 else if ((-(am) > whp))
778781 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
779782 else $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + am))
780783 }
781784
782785 let p = {
783786 let $l = prodParts
784787 let $s = size($l)
785788 let $acc0 = $Tuple4(0, nil, nil, m._4)
786789 func $f2_1 ($a,$i) = if (($i >= $s))
787790 then $a
788791 else mvP($a, $l[$i])
789792
790793 func $f2_2 ($a,$i) = if (($i >= $s))
791794 then $a
792795 else throw("List size exceeds 50")
793796
794797 $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)
795798 }
796799 let volSaldo = p._4
797800 if ((volSaldo > whSpaceLeft))
798801 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
799802 else $Tuple6(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"))
800803 }
801804 }
802805
803806
804807 func expeditionInternal (caller,txId) = {
805808 let userAddr = toString(caller)
806809 let bigNum = abs(toBigInt(txId))
807810 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
808811 let landNum = toString(freeNum)
809812 let continentIdx = toInt((bigNum % FIVEX))
810813 let terrains = genTerrains(bigNum, continentIdx)
811814 let continent = continents[continentIdx]
812815 let issue = Issue(keyNftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
813816 let assetId = calculateAssetId(issue)
814817 let id = toBase58String(assetId)
815818 $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))
816819 }
817820
818821
819822 func expeditionCommon (shouldUseMat,caller,txId,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
820823 then throw("signature does not match")
821824 else {
822825 let parts = split(toUtf8String(message), ";")
823826 let hp = split(split(parts[0], "|")[0], "_")
824827 let curHP = parseIntValue(hp[0])
825828 let newHP = parseIntValue(hp[1])
826829 let locAndTime = split(parts[1], ":")
827830 let targetLocation = split(locAndTime[0], "_")
828831 if ((targetLocation[1] != "E"))
829832 then throw("expedition target location type should be E")
830833 else {
831834 let time = parseIntValue(locAndTime[1])
832835 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
833836 then true
834837 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
835838 then throw("signature outdated")
836839 else {
837840 let userAddr = toString(caller)
838841 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
839842 let keyHealth = keyDuckHealth(duckAssetId)
840843 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
841844 if ((oldFromState != curHP))
842845 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
843846 else if ((0 >= curHP))
844847 then throw("You can't fly with zero health")
845848 else if ((0 >= newHP))
846849 then $Tuple2(((if (!(shouldUseMat))
847850 then [ScriptTransfer(caller, EXPUSDT, usdtAssetId)]
848851 else nil) :+ IntegerEntry(keyHealth, 0)), "")
849852 else {
850853 let bpKey = keyBackpackByDuck(duckAssetId)
851854 let currentPack = getBackpack(bpKey)
852855 let mList = split(currentPack[bpIdxMat], "_")
853856 let newMat = makeString(subtractMaterials(shouldUseMat, mList, EXPMATERIALS), "_")
854857 let e = expeditionInternal(caller, txId)
855858 let id = e._2._1
856859 $Tuple2((((e._1 :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, newHP)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))), id)
857860 }
858861 }
859862 }
860863 }
861864
862865
863866 func applyBonuses (landAssetId,pieces) = {
864867 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
865868 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
866869 then pieces
867870 else 0)
868871 let add6 = (infraLevel / 6)
869872 let add7 = (infraLevel / 7)
870873 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
871874 }
872875
873876
874877 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
875- let $t02442924968 = if ((claimMode == claimModeWh))
878+ let $t02446125000 = if ((claimMode == claimModeWh))
876879 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
877880 else {
878881 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
879882 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
880883 let loc = split(value(curLocation), "_")
881884 if ((loc[locIdxType] != "L"))
882885 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
883886 else $Tuple2(loc[locIdxId], duckAssetId)
884887 }
885- let landAssetId = $t02442924968._1
886- let duckId = $t02442924968._2
888+ let landAssetId = $t02446125000._1
889+ let duckId = $t02446125000._2
887890 let asset = value(assetInfo(fromBase58String(landAssetId)))
888891 let timeKey = keyStakedTimeByAssetId(landAssetId)
889892 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
890893 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
891894 if ((owner != addr))
892895 then throw((LANDPREFIX + " is not yours"))
893896 else {
894897 let d = split(asset.description, "_")
895898 $Tuple4(duckId, landAssetId, d, savedTime)
896899 }
897900 }
898901
899902
900903 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
901904 then throw("Negative amount")
902905 else {
903906 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
904907 let landSize = c._3[recLandSize]
905908 let terrainCounts = countTerrains(c._3[recTerrains])
906909 let deltaTime = (lastBlock.timestamp - c._4)
907910 if ((0 > deltaTime))
908911 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
909912 else {
910913 let pieces = numPiecesBySize(landSize)
911914 let dailyProductionByPiece = applyBonuses(c._2, pieces)
912915 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
913916 if ((amount > availRes))
914917 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
915918 else {
916919 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
917920 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
918921 let landIndex = (pieces / SSIZE)
919922 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
920923 let whKey = keyWarehouseByLand(c._2)
921924 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
922925 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
923926 let currWhResVol = getWarehouseCurrResVolume(currentWh)
924927 let currWhMatVol = getWarehouseCurrMatVolume(currentWh)
925928 let currWhGoodsVol = getWarehouseCurrGoodsVolume(currentWh)
926929 let currWhLockedVol = parseIntValue(currentWh[whIdxLockedVol])
927930 let whSpaceLeft = ((((getWarehouseVolume(currentWh[whIdxVol]) - currWhResVol) - currWhMatVol) - currWhGoodsVol) - currWhLockedVol)
928931 if (if ((claimMode == claimModeWh))
929932 then (amount > whSpaceLeft)
930933 else false)
931934 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
932935 else {
933936 let bpKey = keyBackpackByDuck(c._1)
934937 let currentPack = getBackpack(bpKey)
935938 let currentPackRes = split(currentPack[bpIdxRes], "_")
936939 let currentWhRes = split(currentWh[whIdxRes], "_")
937- let $t02761628119 = if ((claimMode == claimModeWh))
940+ let $t02764828151 = if ((claimMode == claimModeWh))
938941 then $Tuple2(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes])
939942 else if ((claimMode == claimModeDuck))
940943 then $Tuple2(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece))
941944 else distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
942- let whRes = $t02761628119._1
943- let bpRes = $t02761628119._2
945+ let whRes = $t02764828151._1
946+ let bpRes = $t02764828151._2
944947 $Tuple5([IntegerEntry(keyStakedTimeByAssetId(c._2), newTimestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, c._2, addr), newTimestamp)], bpKey, [currentPack[bpIdxLevel], bpRes, currentPack[bpIdxMat], currentPack[bpIdxProd]], whKey, [currentWh[whIdxVol], whRes, currentWh[whIdxMat], currentWh[whIdxProd], currentWh[whIdxLockedVol]])
945948 }
946949 }
947950 }
948951 }
949952
950953
951954 func claimAll (addr,landAssetId,pieces,claimMode) = {
952955 let timeKey = keyStakedTimeByAssetId(landAssetId)
953956 let savedTime = value(getInteger(timeKey))
954957 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
955958 claimResInternal(addr, availRes, claimMode, landAssetId)
956959 }
957960
958961
959962 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
960963 let addr = toString(caller)
961964 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
962965 let pieces = numPiecesBySize(c._3[recLandSize])
963966 let infraKey = keyInfraLevelByAssetId(c._2)
964967 let curLevel = valueOrElse(getInteger(infraKey), 0)
965968 if ((curLevel >= 3))
966969 then throw("Currently max infrastructure level = 3")
967970 else {
968971 let newLevel = (curLevel + 1)
969972 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
970973 if (if (!(shouldUseMat))
971974 then (paymentAmount != cost)
972975 else false)
973976 then throw(("Payment attached should be " + toString(cost)))
974977 else {
975978 let bpKey = keyBackpackByDuck(c._1)
976979 let currentPack = getBackpack(bpKey)
977980 let mList = split(currentPack[bpIdxMat], "_")
978981 let newMat = makeString(subtractMaterials(shouldUseMat, mList, fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)), "_")
979982 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
980983 let whData = claimResult._5
981984 let newVolData = makeString([split(whData[whIdxVol], "_")[0], toString(newLevel)], "_")
982985 $Tuple2(([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], whData[whIdxLockedVol]], ":"))] ++ claimResult._1), newLevel)
983986 }
984987 }
985988 }
986989
987990
988991 func activatePresaleArt (addr,landAssetIdIn) = {
989992 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
990993 let landAssetId = c._2
991994 let pieces = numPiecesBySize(c._3[recLandSize])
992995 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
993996 if ((valueOrElse(getInteger(activationKey), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
994997 then pieces
995998 else 0) > 0))
996999 then throw("Presale artifact is already activated")
9971000 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
9981001 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
9991002 else {
10001003 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
10011004 ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
10021005 }
10031006 }
10041007
10051008
10061009 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = {
10071010 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
10081011 func checkMerge (acc,landAssetId) = {
10091012 let asset = value(assetInfo(fromBase58String(landAssetId)))
10101013 let timeKey = keyStakedTimeByAssetId(landAssetId)
10111014 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
10121015 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
10131016 if ((owner != addr))
10141017 then throw((LANDPREFIX + " is not yours"))
10151018 else {
10161019 let d = split(asset.description, "_")
10171020 let continent = d[recContinent]
10181021 if (if ((acc._3 != ""))
10191022 then (acc._3 != continent)
10201023 else false)
10211024 then throw("Lands should be on the same continent to merge")
10221025 else {
10231026 let landSize = d[recLandSize]
10241027 let sizesIn = acc._1
10251028 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
10261029 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
10271030 let pieces = numPiecesBySize(landSize)
10281031 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
10291032 then pieces
10301033 else 0))
10311034 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
10321035 let reqLevel = match landSize {
10331036 case _ =>
10341037 if (("S" == $match0))
10351038 then 3
10361039 else if (("M" == $match0))
10371040 then 4
10381041 else if (("L" == $match0))
10391042 then 5
10401043 else if (("XL" == $match0))
10411044 then 6
10421045 else throw("Only S, M, L, XL can merge")
10431046 }
10441047 if ((infraLevel != reqLevel))
10451048 then throw("All lands should be maxed to merge")
10461049 else {
10471050 let landNum = d[recLandNum]
10481051 let terrainCounts = countTerrains(d[recTerrains])
10491052 let deltaTime = (lastBlock.timestamp - savedTime)
10501053 if ((0 > deltaTime))
10511054 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
10521055 else {
10531056 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
10541057 let landIndex = (pieces / SSIZE)
10551058 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
10561059 let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1)
10571060 let lands = acc._7
10581061 let idx = indexOf(lands, landAssetId)
10591062 if (!(isDefined(idx)))
10601063 then throw(("Your staked lands don't contain " + landAssetId))
10611064 else {
10621065 let customKey = keyLandAssetIdToCustomName(landAssetId)
10631066 let customName = valueOrElse(getString(customKey), "")
10641067 $Tuple7(sizesOut, arts, continent, bpRes, ((((((((((((((acc._5 :+ DeleteEntry(keyStakedTimeByAssetId(landAssetId))) :+ DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr))) :+ DeleteEntry(keyLandToAssetId(landNum))) :+ DeleteEntry(keyNftName(landNum, landSize))) :+ 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)))
10651068 }
10661069 }
10671070 }
10681071 }
10691072 }
10701073 }
10711074
10721075 let bpKey = keyBackpackByDuck(duckAssetId)
10731076 let currentPack = getBackpack(bpKey)
10741077 let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0")
10751078 let landsKey = keyStakedLandsByOwner(addr)
10761079 let landsStr = getString(landsKey)
10771080 let landsIn = if (isDefined(landsStr))
10781081 then split_51C(value(landsStr), "_")
10791082 else nil
10801083 let r = {
10811084 let $l = landAssetIds
10821085 let $s = size($l)
10831086 let $acc0 = $Tuple7(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn)
10841087 func $f0_1 ($a,$i) = if (($i >= $s))
10851088 then $a
10861089 else checkMerge($a, $l[$i])
10871090
10881091 func $f0_2 ($a,$i) = if (($i >= $s))
10891092 then $a
10901093 else throw("List size exceeds 5")
10911094
10921095 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
10931096 }
10941097 let continent = r._3
10951098 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
10961099 let terrains = genTerrains(abs(toBigInt(txId)), continentIdx)
10971100 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
10981101 let newLandNum = toString(freeNum)
10991102 let issue = Issue(keyNftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
11001103 let assetId = calculateAssetId(issue)
11011104 let newLandAssetId = toBase58String(assetId)
11021105 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
11031106 $Tuple2(((((((((((((((r._5 :+ (if ((size(r._7) > 0))
11041107 then StringEntry(landsKey, makeString_11C(r._7, "_"))
11051108 else DeleteEntry(landsKey))) :+ 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)
11061109 }
11071110
11081111
11091112 func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0)
11101113
11111114
11121115 func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11131116 let cost = (InfraUpgradeCostSUsdt * 4)
11141117 if (if (!(shouldUseMat))
11151118 then (paymentAmount != cost)
11161119 else false)
11171120 then throw(("Payment attached should be " + toString(cost)))
11181121 else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4))
11191122 }
11201123
11211124
11221125 func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11231126 let cost = (InfraUpgradeCostSUsdt * 47)
11241127 if (if (!(shouldUseMat))
11251128 then (paymentAmount != cost)
11261129 else false)
11271130 then throw(("Payment attached should be " + toString(cost)))
11281131 else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47))
11291132 }
11301133
11311134
11321135 func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
11331136 let cost = (InfraUpgradeCostSUsdt * 54)
11341137 if (if (!(shouldUseMat))
11351138 then (paymentAmount != cost)
11361139 else false)
11371140 then throw(("Payment attached should be " + toString(cost)))
11381141 else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54))
11391142 }
11401143
11411144
11421145 func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = {
11431146 let mergeResult = match size(landAssetIds) {
11441147 case _ =>
11451148 if ((4 == $match0))
11461149 then s2m(addr, landAssetIds, txId)
11471150 else if ((3 == $match0))
11481151 then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11491152 else if ((5 == $match0))
11501153 then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11511154 else if ((2 == $match0))
11521155 then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
11531156 else throw("Unknown merge")
11541157 }
11551158 mergeResult
11561159 }
11571160
11581161
11591162 func prolog (i) = if (if ((i.originCaller != restContract))
11601163 then valueOrElse(getBoolean(keyBlocked()), false)
11611164 else false)
11621165 then throw("Contracts are under maintenance")
11631166 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
11641167
11651168
11661169 @Callable(i)
11671170 func constructorV1 (restAddr) = if ((i.caller != this))
11681171 then throw("Permission denied")
11691172 else [StringEntry(keyRestAddress(), restAddr)]
11701173
11711174
11721175
11731176 @Callable(i)
11741177 func setBlocked (isBlocked) = if ((i.caller != this))
11751178 then throw("permission denied")
11761179 else [BooleanEntry(keyBlocked(), isBlocked)]
11771180
11781181
11791182
11801183 @Callable(i)
11811184 func stakeLand () = {
11821185 let prologAction = prolog(i)
11831186 if ((size(i.payments) != 1))
11841187 then throw("Exactly one payment required")
11851188 else {
11861189 let pmt = value(i.payments[0])
11871190 let assetId = value(pmt.assetId)
11881191 let address = toString(i.caller)
11891192 if ((pmt.amount != 1))
11901193 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
11911194 else {
11921195 let asset = value(assetInfo(assetId))
11931196 if ((asset.issuer != this))
11941197 then throw("Unknown issuer of token")
11951198 else if (!(contains(asset.name, LANDPREFIX)))
11961199 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
11971200 else {
11981201 let landNumSize = drop(asset.name, 4)
11991202 let landNum = if (contains(landNumSize, "XXL"))
12001203 then dropRight(landNumSize, 3)
12011204 else if (contains(landNumSize, "XL"))
12021205 then dropRight(landNumSize, 2)
12031206 else dropRight(landNumSize, 1)
12041207 if (!(isDefined(parseInt(landNum))))
12051208 then throw(("Cannot parse land number from " + asset.name))
12061209 else {
12071210 let landAssetId = toBase58String(assetId)
12081211 let timeKey = keyStakedTimeByAssetId(landAssetId)
12091212 if (isDefined(getInteger(timeKey)))
12101213 then throw((("NFT " + asset.name) + " is already staked"))
12111214 else {
12121215 let d = split(asset.description, "_")
12131216 let terrainCounts = countTerrains(d[recTerrains])
12141217 let pieces = numPiecesBySize(d[recLandSize])
12151218 let props = updateProportions(terrainCounts, (pieces / SSIZE), 1)
12161219 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), if (valueOrElse(getBoolean(keyPresaleArtActivatedByAssetId(landAssetId)), false))
12171220 then pieces
12181221 else 0)
12191222 let landsStr = getString(keyStakedLandsByOwner(address))
12201223 let lands = if (isDefined(landsStr))
12211224 then split_51C(value(landsStr), "_")
12221225 else nil
12231226 if (containsElement(lands, landAssetId))
12241227 then throw(("Your staked lands already contain " + landAssetId))
12251228 else [IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, address), lastBlock.timestamp), StringEntry(keyStakedLandsByOwner(address), makeString_11C((lands :+ landAssetId), "_")), StringEntry(keyLandAssetIdToOwner(landAssetId), address), StringEntry(keyLandNumToOwner(landNum), address), IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, address), artPieces), StringEntry(keyResProportions(), props), prologAction]
12261229 }
12271230 }
12281231 }
12291232 }
12301233 }
12311234 }
12321235
12331236
12341237
12351238 @Callable(i)
12361239 func unstakeLand (landAssetIdIn) = {
12371240 let prologAction = prolog(i)
12381241 if ((size(i.payments) != 0))
12391242 then throw("No payments required")
12401243 else {
12411244 let addr = toString(i.caller)
12421245 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
12431246 let landAssetId = c._2
12441247 let landsKey = keyStakedLandsByOwner(addr)
12451248 let terrainCounts = countTerrains(c._3[recTerrains])
12461249 let pieces = numPiecesBySize(c._3[recLandSize])
12471250 let props = updateProportions(terrainCounts, (pieces / SSIZE), -1)
12481251 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
12491252 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
12501253 let idx = indexOf(lands, landAssetId)
12511254 if (!(isDefined(idx)))
12521255 then throw(("Your staked lands don't contain " + landAssetId))
12531256 else {
12541257 let t = value(blockInfoByHeight(height)).timestamp
12551258 let releaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
12561259 if ((releaseTime >= t))
12571260 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(releaseTime)))
12581261 else [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))
12591262 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
12601263 else DeleteEntry(landsKey), prologAction]
12611264 }
12621265 }
12631266 }
12641267
12651268
12661269
12671270 @Callable(i)
12681271 func stakeDuck () = {
12691272 let prologAction = prolog(i)
12701273 if ((size(i.payments) != 1))
12711274 then throw("Exactly one payment required")
12721275 else {
12731276 let pmt = value(i.payments[0])
12741277 let assetId = value(pmt.assetId)
12751278 let address = toString(i.caller)
12761279 if ((pmt.amount != 1))
12771280 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
12781281 else {
12791282 let asset = value(assetInfo(assetId))
12801283 if (if ((asset.issuer != incubatorAddr))
12811284 then (asset.issuer != breederAddr)
12821285 else false)
12831286 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
12841287 else if (!(contains(asset.name, DUCKPREFIX)))
12851288 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
12861289 else {
12871290 let assetIdStr = toBase58String(assetId)
12881291 let timeKey = keyStakedTimeByAssetId(assetIdStr)
12891292 if (isDefined(getInteger(timeKey)))
12901293 then throw((("NFT " + asset.name) + " is already staked"))
12911294 else if (isDefined(getString(keyStakedDuckByOwner(address))))
12921295 then throw(("You already staked one duck: " + asset.name))
12931296 else {
12941297 let locKey = keyDuckLocation(assetIdStr)
12951298 let location = getString(locKey)
12961299 let bpKey = keyBackpackByDuck(assetIdStr)
12971300 let backpack = getString(bpKey)
12981301 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
12991302 then nil
13001303 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
13011304 then nil
13021305 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyDuckHealth(assetIdStr), 100)) :+ prologAction)))))
13031306 }
13041307 }
13051308 }
13061309 }
13071310 }
13081311
13091312
13101313
13111314 @Callable(i)
13121315 func unstakeDuck (assetIdStr) = {
13131316 let prologAction = prolog(i)
13141317 if ((size(i.payments) != 0))
13151318 then throw("No payments required")
13161319 else {
13171320 let assetId = fromBase58String(assetIdStr)
13181321 let address = toString(i.caller)
13191322 let asset = value(assetInfo(assetId))
13201323 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
13211324 if (!(isDefined(getInteger(timeKey))))
13221325 then throw((("NFT " + asset.name) + " is not staked"))
13231326 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
13241327 then throw((("The duck " + asset.name) + " is not staked"))
13251328 else {
13261329 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
13271330 if ((owner != address))
13281331 then throw("Staked NFT is not yours")
13291332 else {
13301333 let keyHealth = keyDuckHealth(assetIdStr)
13311334 let health = valueOrElse(getInteger(keyHealth), 100)
13321335 if ((health != 100))
13331336 then throw("Please heal your duck before unstaking")
13341337 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]
13351338 }
13361339 }
13371340 }
13381341 }
13391342
13401343
13411344
13421345 @Callable(i)
13431346 func claimRes (amount,landAssetIdStr) = {
13441347 let prologAction = prolog(i)
13451348 if ((size(i.payments) != 0))
13461349 then throw("No payments required")
13471350 else {
13481351 let addr = toString(i.originCaller)
13491352 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
13501353 $Tuple2((((result._1 :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._3[bpIdxRes])
13511354 }
13521355 }
13531356
13541357
13551358
13561359 @Callable(i)
13571360 func claimResToWH (amount,landAssetIdStr) = {
13581361 let prologAction = prolog(i)
13591362 if ((size(i.payments) != 0))
13601363 then throw("No payments required")
13611364 else {
13621365 let addr = toString(i.originCaller)
13631366 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
13641367 $Tuple2((((result._1 :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._5[whIdxRes])
13651368 }
13661369 }
13671370
13681371
13691372
13701373 @Callable(i)
13711374 func flight (message,sig) = {
13721375 let prologAction = prolog(i)
13731376 if (!(sigVerify_8Kb(message, sig, pub)))
13741377 then throw("signature does not match")
13751378 else if ((size(i.payments) != 0))
13761379 then throw("No payments required")
13771380 else {
13781381 let parts = split(toUtf8String(message), ";")
13791382 let hp = split(split(parts[0], "|")[0], "_")
13801383 let curHP = parseIntValue(hp[0])
13811384 let newHP = parseIntValue(hp[1])
13821385 let newLocAndTime = split(parts[1], ":")
13831386 let newLocation = newLocAndTime[0]
13841387 let time = parseIntValue(newLocAndTime[1])
13851388 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
13861389 then true
13871390 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
13881391 then throw("signature outdated")
13891392 else {
13901393 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
13911394 let keyHealth = keyDuckHealth(duckAssetId)
13921395 let oldFromState = valueOrElse(getInteger(keyHealth), 100)
13931396 if ((oldFromState != curHP))
13941397 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(keyHealth), 100))) + " from state does not match one from flight log=") + toString(curHP)))
13951398 else if ((0 >= curHP))
13961399 then throw("You can't fly with zero health")
13971400 else {
13981401 let locKey = keyDuckLocation(duckAssetId)
13991402 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
14001403 if ((newLocation == curLocation))
14011404 then throw("You can't fly to the same location")
14021405 else $Tuple2([StringEntry(locKey, if ((newHP > 0))
14031406 then newLocation
14041407 else curLocation), IntegerEntry(keyHealth, newHP), prologAction], unit)
14051408 }
14061409 }
14071410 }
14081411 }
14091412
14101413
14111414
14121415 @Callable(i)
14131416 func setHealth (health,duckAssetId) = {
14141417 let prologAction = prolog(i)
14151418 if (if ((0 > health))
14161419 then true
14171420 else (health > 100))
14181421 then throw("HP should be within 0..100")
14191422 else [IntegerEntry(keyDuckHealth(duckAssetId), health), prologAction]
14201423 }
14211424
14221425
14231426
14241427 @Callable(i)
14251428 func heal (matType,amount) = {
14261429 let prologAction = prolog(i)
14271430 if (if ((0 > matType))
14281431 then true
14291432 else (matType >= NUMRES))
14301433 then throw(("Unknown material: " + toString(matType)))
14311434 else if ((0 >= amount))
14321435 then throw(("Amount should be positive! " + toString(amount)))
14331436 else {
14341437 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
14351438 let keyHealth = keyDuckHealth(duckAssetId)
14361439 let oldHealth = valueOrElse(getInteger(keyHealth), 100)
14371440 if ((oldHealth >= 100))
14381441 then throw("HP should be < 100 to heal")
14391442 else {
14401443 let bpKey = keyBackpackByDuck(duckAssetId)
14411444 let currentPack = getBackpack(bpKey)
14421445 let mList = split(currentPack[bpIdxMat], "_")
14431446 let currentAmount = parseIntValue(mList[matType])
14441447 let deltaHealth = min([(amount / HEALCOST), (100 - oldHealth)])
14451448 let spendAmount = (deltaHealth * HEALCOST)
14461449 if ((spendAmount > currentAmount))
14471450 then throw(((((("You need " + toString(spendAmount)) + " of ") + matTypes[matType]) + " to heal, but you backpack contains ") + toString(currentAmount)))
14481451 else {
14491452 let newMat = subOneInList(mList, matType, spendAmount)
14501453 [IntegerEntry(keyHealth, (oldHealth + deltaHealth)), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":")), prologAction]
14511454 }
14521455 }
14531456 }
14541457 }
14551458
14561459
14571460
14581461 @Callable(i)
14591462 func updateBackpack (duckAssetId,newPack) = {
14601463 let prologAction = prolog(i)
14611464 if ((i.caller != economyContract))
14621465 then throw("permission denied")
14631466 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack), prologAction], newPack)
14641467 }
14651468
14661469
14671470
14681471 @Callable(i)
14691472 func buySLand () = {
14701473 let prologAction = prolog(i)
14711474 if ((size(i.payments) != 1))
14721475 then throw("Exactly one payment required")
14731476 else {
14741477 let pmt = value(i.payments[0])
14751478 if ((pmt.assetId != usdtAssetId))
14761479 then throw("Allowed USDT payment only!")
14771480 else if ((pmt.amount != EXPUSDT))
14781481 then throw(("Payment attached should be " + toString(EXPUSDT)))
14791482 else {
14801483 let result = expeditionInternal(i.caller, i.transactionId)
14811484 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2._1)
14821485 }
14831486 }
14841487 }
14851488
14861489
14871490
14881491 @Callable(i)
14891492 func expedition (message,sig) = {
14901493 let prologAction = prolog(i)
14911494 if ((size(i.payments) != 0))
14921495 then throw("No payments required")
14931496 else {
14941497 let result = expeditionCommon(true, i.caller, i.transactionId, message, sig)
14951498 $Tuple2((result._1 :+ prologAction), result._2)
14961499 }
14971500 }
14981501
14991502
15001503
15011504 @Callable(i)
15021505 func upgradeInfra (landAssetId) = {
15031506 let prologAction = prolog(i)
15041507 if ((size(i.payments) != 0))
15051508 then throw("No payments required")
15061509 else {
15071510 let result = upInfraCommon(true, i.caller, 0, landAssetId)
15081511 $Tuple2((result._1 :+ prologAction), result._2)
15091512 }
15101513 }
15111514
15121515
15131516
15141517 @Callable(i)
15151518 func upgradeInfraUsdt (landAssetId) = if ((i.caller != this))
15161519 then throw("Permission denied")
15171520 else {
15181521 let prologAction = prolog(i)
15191522 if ((size(i.payments) != 1))
15201523 then throw("Exactly one payment required")
15211524 else {
15221525 let pmt = value(i.payments[0])
15231526 if ((pmt.assetId != usdtAssetId))
15241527 then throw("Allowed USDT payment only!")
15251528 else {
15261529 let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId)
15271530 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
15281531 }
15291532 }
15301533 }
15311534
15321535
15331536
15341537 @Callable(i)
15351538 func activateArtifact (artName,landAssetId) = {
15361539 let prologAction = prolog(i)
15371540 if ((size(i.payments) != 0))
15381541 then throw("No payments required")
15391542 else {
15401543 let result = match artName {
15411544 case _ =>
15421545 if (("PRESALE" == $match0))
15431546 then activatePresaleArt(toString(i.caller), landAssetId)
15441547 else throw("Unknown artifact")
15451548 }
15461549 (result :+ prologAction)
15471550 }
15481551 }
15491552
15501553
15511554
15521555 @Callable(i)
15531556 func mergeLands (landAssetIds) = {
15541557 let prologAction = prolog(i)
15551558 if ((size(i.payments) != 0))
15561559 then throw("No payments required")
15571560 else {
15581561 let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId)
15591562 $Tuple2((result._1 :+ prologAction), result._2)
15601563 }
15611564 }
15621565
15631566
15641567
15651568 @Callable(i)
15661569 func mergeLandsUsdt (landAssetIds) = {
15671570 let prologAction = prolog(i)
15681571 if ((size(i.payments) != 1))
15691572 then throw("Exactly one payment required")
15701573 else {
15711574 let pmt = value(i.payments[0])
15721575 if ((pmt.assetId != usdtAssetId))
15731576 then throw("Allowed USDT payment only!")
15741577 else {
15751578 let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId)
15761579 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
15771580 }
15781581 }
15791582 }
15801583
15811584
15821585
15831586 @Callable(i)
15841587 func cargoExchange (cargoListStr,landAssetId) = {
15851588 let prologAction = prolog(i)
15861589 if ((size(i.payments) != 0))
15871590 then throw("No payments required")
15881591 else {
15891592 let cargoParts = split_4C(cargoListStr, ":")
15901593 let addr = toString(i.originCaller)
15911594 let asset = value(assetInfo(fromBase58String(landAssetId)))
15921595 let timeKey = keyStakedTimeByAssetId(landAssetId)
15931596 if (!(isDefined(getInteger(timeKey))))
15941597 then throw((asset.name + " is not staked"))
15951598 else {
15961599 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
15971600 if ((owner != addr))
15981601 then throw((LANDPREFIX + " is not yours"))
15991602 else {
16001603 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
16011604 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
16021605 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
16031606 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
16041607 let loc = split(value(curLocation), "_")
16051608 if ((loc[locIdxType] != "L"))
16061609 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
16071610 else if ((loc[locIdxId] != landAssetId))
16081611 then throw(("Duck should be on the land " + landAssetId))
16091612 else {
16101613 let whKey = keyWarehouseByLand(landAssetId)
16111614 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
16121615 let bpKey = keyBackpackByDuck(duckAssetId)
16131616 let currentPack = getBackpack(bpKey)
16141617 let result = moveStuff(cargoParts, currentWh, currentPack)
16151618 [StringEntry(bpKey, makeString([currentPack[bpIdxLevel], result._4, result._5, result._6], ":")), StringEntry(whKey, makeString([currentWh[whIdxVol], result._1, result._2, result._3, currentWh[whIdxLockedVol]], ":")), prologAction]
16161619 }
16171620 }
16181621 }
16191622 }
16201623 }
16211624
16221625
16231626
16241627 @Callable(i)
16251628 func saveWarehouse (whStr,landAssetId) = {
16261629 let prologAction = prolog(i)
16271630 if ((i.caller != economyContract))
16281631 then throw("Access denied")
16291632 else {
16301633 let whKey = keyWarehouseByLand(landAssetId)
16311634 if ((size(split_4C(whStr, ":")) != 5))
16321635 then throw("warehouse string should contain 4 ':' separators")
16331636 else $Tuple2([StringEntry(whKey, whStr), prologAction], whStr)
16341637 }
16351638 }
16361639
16371640
16381641
16391642 @Callable(i)
16401643 func replaceBooleanArtifact (landAssetId) = if ((i.caller != restContract))
16411644 then throw("Access denied")
16421645 else {
16431646 let boolKey = keyPresaleArtActivatedByAssetId(landAssetId)
16441647 let intKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
16451648 let boolArt = getBoolean(boolKey)
16461649 if (isDefined(boolArt))
16471650 then {
16481651 let d = split(value(assetInfo(fromBase58String(landAssetId))).description, "_")
16491652 let pieces = numPiecesBySize(d[recLandSize])
16501653 let artPieces = valueOrElse(getInteger(intKey), pieces)
16511654 let owner = getString(keyLandAssetIdToOwner(landAssetId))
16521655 let ownerRecords = if (isDefined(owner))
16531656 then [IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, value(owner)), artPieces), DeleteEntry(keyPresaleArtActivatedByAssetIdAndOwner(landAssetId, value(owner)))]
16541657 else nil
16551658 if (value(boolArt))
16561659 then $Tuple2(((ownerRecords :+ IntegerEntry(intKey, artPieces)) :+ DeleteEntry(boolKey)), 2)
16571660 else $Tuple2([DeleteEntry(boolKey)], 1)
16581661 }
16591662 else $Tuple2(nil, 0)
16601663 }
16611664
16621665
16631666
16641667 @Callable(i)
16651668 func setCustomName (assetId,customName,type) = {
16661669 let prologAction = prolog(i)
16671670 if ((size(i.payments) != 1))
16681671 then throw("Exactly one payment required")
16691672 else {
16701673 let pmt = value(i.payments[0])
16711674 if ((pmt.assetId != usdtAssetId))
16721675 then throw("Allowed USDT payment only!")
16731676 else if ((pmt.amount != RENAMINGCOST))
16741677 then throw(("Payment should be " + toString(RENAMINGCOST)))
16751678 else if (contains(customName, "__"))
16761679 then throw(("Name should not contain '__': " + customName))
16771680 else {
16781681 let addr = toString(i.originCaller)
16791682 let actions = match type {
16801683 case _ =>
16811684 if (("ACCOUNT" == $match0))
16821685 then {
16831686 let reverseKey = keyCustomNameToAddress(customName)
16841687 let oldName = getString(reverseKey)
16851688 if (isDefined(oldName))
16861689 then throw(("Name already registered: " + customName))
16871690 else [StringEntry(keyAddressToCustomName(addr), customName), StringEntry(reverseKey, addr)]
16881691 }
16891692 else if (("LAND" == $match0))
16901693 then {
16911694 let asset = value(assetInfo(fromBase58String(assetId)))
16921695 let timeKey = keyStakedTimeByAssetId(assetId)
16931696 if (!(isDefined(getInteger(timeKey))))
16941697 then throw((asset.name + " is not staked"))
16951698 else {
16961699 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
16971700 if ((owner != addr))
16981701 then throw((LANDPREFIX + " is not yours"))
16991702 else {
17001703 let reverseKey = keyLandCustomNameToAssetId(customName)
17011704 let oldName = getString(reverseKey)
17021705 if (isDefined(oldName))
17031706 then throw(("Name already registered: " + customName))
17041707 else [StringEntry(keyLandAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
17051708 }
17061709 }
17071710 }
17081711 else if (("DUCK" == $match0))
17091712 then {
17101713 let asset = value(assetInfo(fromBase58String(assetId)))
17111714 let timeKey = keyStakedTimeByAssetId(assetId)
17121715 if (if (!(isDefined(getInteger(timeKey))))
17131716 then true
17141717 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
17151718 then throw((asset.name + " is not staked"))
17161719 else {
17171720 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
17181721 if ((owner != addr))
17191722 then throw((DUCKPREFIX + " is not yours"))
17201723 else {
17211724 let reverseKey = keyDuckCustomNameToAssetId(customName)
17221725 let oldName = getString(reverseKey)
17231726 if (isDefined(oldName))
17241727 then throw(("Name already registered: " + customName))
17251728 else [StringEntry(keyDuckAssetIdToCustomName(assetId), customName), StringEntry(reverseKey, assetId)]
17261729 }
17271730 }
17281731 }
17291732 else throw("Unknown entity type")
17301733 }
17311734 $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
17321735 }
17331736 }
17341737 }
17351738
17361739
17371740
17381741 @Callable(i)
17391742 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
17401743 then throw("Permission denied")
17411744 else {
17421745 let prologAction = prolog(i)
17431746 if ((size(i.payments) != 0))
17441747 then throw("No payments required")
17451748 else if (!(isDefined(addressFromString(oldPlayer))))
17461749 then throw(("Invalid address: " + oldPlayer))
17471750 else if (!(isDefined(addressFromString(newPlayer))))
17481751 then throw(("Invalid address: " + newPlayer))
17491752 else {
1750- let refByKey = keyAddressRefBy(newPlayer)
1751- let refBy = getString(refByKey)
1752- if (if (isDefined(refBy))
1753- then isDefined(addressFromString(value(refBy)))
1754- else false)
1755- then throw(((newPlayer + " already has refBy: ") + value(refBy)))
1753+ let oldsKey = keyOldies()
1754+ let olds = getString(oldsKey)
1755+ let oldies = if (isDefined(olds))
1756+ then split_4C(value(olds), "_")
1757+ else nil
1758+ if (containsElement(oldies, newPlayer))
1759+ then throw((newPlayer + " is not newbie (already has referrals)"))
17561760 else {
1757- let refsKey = keyAddressReferrals(oldPlayer)
1758- let refs = getString(refsKey)
1759- let refsArray = if (isDefined(refs))
1760- then split_4C(value(refs), "_")
1761- else nil
1762- if (containsElement(refsArray, newPlayer))
1763- then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
1761+ let refByKey = keyAddressRefBy(newPlayer)
1762+ let refBy = getString(refByKey)
1763+ if (if (isDefined(refBy))
1764+ then isDefined(addressFromString(value(refBy)))
1765+ else false)
1766+ then throw(((newPlayer + " already has refBy: ") + value(refBy)))
17641767 else {
1765- let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
1766- $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), prologAction], 0)
1768+ let refsKey = keyAddressReferrals(oldPlayer)
1769+ let refs = getString(refsKey)
1770+ let refsArray = if (isDefined(refs))
1771+ then split_4C(value(refs), "_")
1772+ else nil
1773+ if (containsElement(refsArray, newPlayer))
1774+ then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
1775+ else {
1776+ let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
1777+ let newOlds = makeString_2C((oldies :+ oldPlayer), "_")
1778+ $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
1779+ }
17671780 }
17681781 }
17691782 }
17701783 }
17711784
17721785
17731786
17741787 @Callable(i)
17751788 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
17761789
17771790
17781791
17791792 @Callable(i)
17801793 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
17811794 let terrainCounts = countTerrains(terrains)
17821795 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
17831796 }
17841797
17851798
17861799
17871800 @Callable(i)
17881801 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
17891802
17901803
17911804
17921805 @Callable(i)
17931806 func getWarehouseREADONLY (landAssetId) = {
17941807 let asset = value(assetInfo(fromBase58String(landAssetId)))
17951808 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
17961809 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
17971810 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
17981811 }
17991812
18001813

github/deemru/w8io/026f985 
220.16 ms