tx · EyTKrE58J62gwb1rYThaJsTaTe2KW4RFKpdV84SFua7J

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.07600000 Waves

2023.07.20 00:16 [2673265] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "EyTKrE58J62gwb1rYThaJsTaTe2KW4RFKpdV84SFua7J", "fee": 7600000, "feeAssetId": null, "timestamp": 1689801433015, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "37jQDJL6ydGoniq4GY5oNqUGfDDimA1M1uoc13PfwD8dhSgxDTxGmu7j8ctoWEq1m9D2Tr5QkrQJzFEQqfF2g2Zx" ], "script": "base64:BgK0AQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKAQgSBQoDCAgIEgQKAggIEgcKBQEBAQEBEgMKAQESBQoDAQEIEgMKAQgSAwoBCBIAEgQKAggBEgQKAggBEgMKAQgSAM8BARRrZXlMYXN0QXJiVGltZUJ5VXNlcgEEYWRkcgkArAICAhBsYXN0QXJiVGltZVVzZXJfBQRhZGRyAAZTQ0FMRTgAgMLXLwAMeHBMZXZlbFNjYWxlAIAZAA94cExldmVsUmVjaXBQb3cAoB8AEm51bVBvaW50c09uTGV2ZWxVcAADAAxjaGFyU3RyZW5ndGgAAAAMY2hhckFjY3VyYWN5AAEADWNoYXJJbnRlbGxlY3QAAgANY2hhckVuZHVyYW5jZQADAA1jaGFyRGV4dGVyaXR5AAQAC05VTVNFR01FTlRTAAYACk5VTU1BSU5BVVgAAgAITUFYU0xPVFMAAgEMa2V5RHVja0NoYXJzAQtkdWNrQXNzZXRJ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wSWR4UHJvZAQFcExpc3QDCQAAAgUGYnBQcm9kAgAFA25pbAkAtQkCBQZicFByb2QCAV8ECHRlbXBQcm9kCQEFZHJlc3MDBQtjdXJyZW50U2VncwUFcExpc3QGBAduZXdQcm9kCQEFZHJlc3MDBQVuZXdFcQUIdGVtcFByb2QHCQCUCgIJAMwIAgkBC1N0cmluZ0VudHJ5AgUFZXFLZXkFCWVxdWlwbWVudAkAzAgCCQELU3RyaW5nRW50cnkCBQVicEtleQkAugkCCQDMCAIJAJEDAgULY3VycmVudFBhY2sFCmJwSWR4TGV2ZWwJAMwIAgkAkQMCBQtjdXJyZW50UGFjawUIYnBJZHhSZXMJAMwIAgkAkQMCBQtjdXJyZW50UGFjawUIYnBJZHhNYXQJAMwIAgkAuQkCBQduZXdQcm9kAgFfBQNuaWwCAToJAMwIAgUMcHJvbG9nQWN0aW9uBQNuaWwAAAFpAQR0ZXN0AAMJAQIhPQIIBQFpBmNhbGxlcgUEdGhpcwkAAgECDUFjY2VzcyBkZW5pZWQEAWEJAQ5wcm9kU3RyVG9CeXRlcwECAAQBYgkBDmJ5dGVzVG9Qcm9kU3RyAQUBYQkAlAoCBQNuaWwFAWIAUjAB0Q==", "height": 2673265, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4HMn2iaQefwUd2cwjtYtnNeapvfENycA2J5EEVPPNehu Next: 2NcKvAgbF6WbQQedZPYNRKY17h7AK6BR5FfRVLB1Hf5K Diff:
OldNewDifferences
620620 else throw("List size exceeds 50")
621621
622622 $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)
623+ }
624+
625+
626+func bytesToProdStr (bv) = {
627+ func fromBV (acc,recipe) = {
628+ let j = size(acc)
629+ let b = take(drop(bv, (8 * j)), 8)
630+ (acc :+ toString(toInt(b)))
631+ }
632+
633+ makeString({
634+ let $l = productionMatrix
635+ let $s = size($l)
636+ let $acc0 = nil
637+ func $f0_1 ($a,$i) = if (($i >= $s))
638+ then $a
639+ else fromBV($a, $l[$i])
640+
641+ func $f0_2 ($a,$i) = if (($i >= $s))
642+ then $a
643+ else throw("List size exceeds 50")
644+
645+ $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)
646+ }, "_")
623647 }
624648
625649
12841308
12851309
12861310 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1287- let $t02856029099 = if ((claimMode == claimModeWh))
1311+ let $t02880829347 = if ((claimMode == claimModeWh))
12881312 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
12891313 else {
12901314 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
12941318 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
12951319 else $Tuple2(loc[locIdxId], duckAssetId)
12961320 }
1297- let landAssetId = $t02856029099._1
1298- let duckId = $t02856029099._2
1321+ let landAssetId = $t02880829347._1
1322+ let duckId = $t02880829347._2
12991323 let asset = value(assetInfo(fromBase58String(landAssetId)))
13001324 let timeKey = keyStakedTimeByAssetId(landAssetId)
13011325 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13431367 let currentPack = getBackpack(bpKey)
13441368 let currentPackRes = split(currentPack[bpIdxRes], "_")
13451369 let currentWhRes = split(currentWh[whIdxRes], "_")
1346- let $t03147332344 = if ((claimMode == claimModeWh))
1370+ let $t03172132592 = if ((claimMode == claimModeWh))
13471371 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13481372 else if ((claimMode == claimModeDuck))
13491373 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13521376 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13531377 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13541378 }
1355- let whRes = $t03147332344._1
1356- let bpRes = $t03147332344._2
1357- let loftO = $t03147332344._3
1358- let loftF = $t03147332344._4
1379+ let whRes = $t03172132592._1
1380+ let bpRes = $t03172132592._2
1381+ let loftO = $t03172132592._3
1382+ let loftF = $t03172132592._4
13591383 $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]], "_")])
13601384 }
13611385 }
25182542 @Callable(i)
25192543 func test () = if ((i.caller != this))
25202544 then throw("Access denied")
2521- else $Tuple2(nil, prodStrToBytes(""))
2545+ else {
2546+ let a = prodStrToBytes("")
2547+ let b = bytesToProdStr(a)
2548+ $Tuple2(nil, b)
2549+ }
25222550
25232551
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 charStrength = 0
1616
1717 let charAccuracy = 1
1818
1919 let charIntellect = 2
2020
2121 let charEndurance = 3
2222
2323 let charDexterity = 4
2424
2525 let NUMSEGMENTS = 6
2626
2727 let NUMMAINAUX = 2
2828
2929 let MAXSLOTS = 2
3030
3131 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
3232
3333
3434 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
3535
3636
3737 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
3838
3939
4040 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
4141
4242
4343 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
4444
4545
4646 func keyUserXP (addr) = ("userXP_" + addr)
4747
4848
4949 func keyUserLevel (addr) = ("userLevel_" + addr)
5050
5151
5252 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
5353
5454
5555 let xpClaim = 100000
5656
5757 let xpSuccessFlight = 50000
5858
5959 let xpFailFlight = 10000
6060
6161 let xpCallES = 100000
6262
6363 let xpCustomName = 5000000
6464
6565 let xpNewSLand = 50000000
6666
6767 let xpUpgradeInfra = 100000
6868
6969 let xpMerge = 10000000
7070
7171 let xpOnboard = 10000000
7272
7373 let xpHeal = 10000
7474
7575 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
7676
7777
7878 func maxHealth (level) = (100 + level)
7979
8080
8181 func levelUp (currLevel,newXP) = {
8282 let newLevel = levelByXP(newXP)
8383 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
8484 }
8585
8686
8787 let LANDPREFIX = "LAND"
8888
8989 let DUCKPREFIX = "DUCK"
9090
9191 let ARTPRESALE = "PRESALE"
9292
9393 let NUMRES = 6
9494
9595 let DAILYRESBYPIECE = 3456000
9696
9797 let DAYMILLIS = 86400000
9898
9999 let WHMULTIPLIER = 10000000000
100100
101101 let DEFAULTLOCATION = "Africa_F_Africa"
102102
103103 let RESOURCEPRICEMIN = 39637
104104
105105 let ESSELLCOEF = 10
106106
107107 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"]
108108
109109 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
110110
111111 let COEFF2MAT = 10000000
112112
113113 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"]
114114
115115 let rIdxCoeff = 6
116116
117117 let rIdxSlots = 10
118118
119119 let PRODUCTPKGSIZE = 10
120120
121121 let whIdxLevels = 0
122122
123123 let whIdxRes = 1
124124
125125 let whIdxMat = 2
126126
127127 let whIdxProd = 3
128128
129129 let whIdxLOFT = 4
130130
131131 let volLocked = 0
132132
133133 let volOccupied = 1
134134
135135 let volFree = 2
136136
137137 let volTotal = 3
138138
139139 let bpIdxLevel = 0
140140
141141 let bpIdxRes = 1
142142
143143 let bpIdxMat = 2
144144
145145 let bpIdxProd = 3
146146
147147 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
148148
149149
150150 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
151151
152152
153153 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
154154
155155
156156 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
157157
158158
159159 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
160160
161161
162162 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
163163
164164
165165 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
166166
167167
168168 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
169169
170170
171171 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
172172
173173
174174 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
175175
176176
177177 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
178178
179179
180180 func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId)
181181
182182
183183 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
184184
185185
186186 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
187187
188188
189189 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
190190
191191
192192 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
193193
194194
195195 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
196196
197197
198198 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
199199
200200
201201 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
202202
203203
204204 func keyBlocked () = "contractsBlocked"
205205
206206
207207 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
208208
209209
210210 func keyEsWarehouse () = "emergencyWarehouseProducts"
211211
212212
213213 let locIdxType = 1
214214
215215 let locIdxId = 2
216216
217217 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
218218
219219
220220 let KSALLOWXPLEVELS = true
221221
222222 let chain = take(drop(this.bytes, 1), 1)
223223
224224 let usdtAssetId = match chain {
225225 case _ =>
226226 if ((base58'2W' == $match0))
227227 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
228228 else if ((base58'2T' == $match0))
229229 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
230230 else throw("Unknown chain")
231231 }
232232
233233 let defaultRestAddressStr = match chain {
234234 case _ =>
235235 if ((base58'2W' == $match0))
236236 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
237237 else if ((base58'2T' == $match0))
238238 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
239239 else throw("Unknown chain")
240240 }
241241
242242 let InfraUpgradeCostS = match chain {
243243 case _ =>
244244 if ((base58'2W' == $match0))
245245 then 10000000000
246246 else if ((base58'2T' == $match0))
247247 then 100000000
248248 else throw("Unknown chain")
249249 }
250250
251251 let arbitrageDelay = match chain {
252252 case _ =>
253253 if ((base58'2W' == $match0))
254254 then 600000
255255 else if ((base58'2T' == $match0))
256256 then 60000
257257 else throw("Unknown chain")
258258 }
259259
260260 let SEP = "__"
261261
262262 let MULT6 = 1000000
263263
264264 let MULT8 = 100000000
265265
266266 let SSIZE = 25
267267
268268 let MSIZE = 100
269269
270270 let LSIZE = 225
271271
272272 let XLSIZE = 400
273273
274274 let XXLSIZE = 625
275275
276276 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
277277
278278
279279 let IdxCfgStakingDapp = 1
280280
281281 let IdxCfgEconomyDapp = 2
282282
283283 let IdxCfgGovernanceDapp = 3
284284
285285 let IdxCfgWlgDapp = 4
286286
287287 func keyRestCfg () = "%s__restConfig"
288288
289289
290290 func keyRestAddress () = "%s__restAddr"
291291
292292
293293 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
294294
295295
296296 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
297297
298298
299299 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
300300
301301 let restCfg = readRestCfgOrFail(restContract)
302302
303303 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
304304
305305 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
306306
307307 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
308308
309309 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
310310
311311 let recLandNum = 0
312312
313313 let recLandSize = 1
314314
315315 let recTerrains = 2
316316
317317 let recContinent = 3
318318
319319 func keyResProportions () = "resTypesProportions"
320320
321321
322322 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
323323
324324
325325 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
326326
327327
328328 func asString (v) = match v {
329329 case s: String =>
330330 s
331331 case _ =>
332332 throw("fail to cast into String")
333333 }
334334
335335
336336 func asInt (v) = match v {
337337 case n: Int =>
338338 n
339339 case _ =>
340340 throw("fail to cast into Int")
341341 }
342342
343343
344344 func numPiecesBySize (landSize) = match landSize {
345345 case _ =>
346346 if (("S" == $match0))
347347 then SSIZE
348348 else if (("M" == $match0))
349349 then MSIZE
350350 else if (("L" == $match0))
351351 then LSIZE
352352 else if (("XL" == $match0))
353353 then XLSIZE
354354 else if (("XXL" == $match0))
355355 then XXLSIZE
356356 else throw("Unknown land size")
357357 }
358358
359359
360360 let incubatorAddr = match chain {
361361 case _ =>
362362 if ((base58'2W' == $match0))
363363 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
364364 else if ((base58'2T' == $match0))
365365 then this
366366 else throw("Unknown chain")
367367 }
368368
369369 let breederAddr = match chain {
370370 case _ =>
371371 if ((base58'2W' == $match0))
372372 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
373373 else if ((base58'2T' == $match0))
374374 then this
375375 else throw("Unknown chain")
376376 }
377377
378378 let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
379379
380380 let medKitHp = [30, 60, 120]
381381
382382 let FIVEMINUTESMILLIS = 300000
383383
384384 let RENAMINGCOST = 5000000
385385
386386 let MAXNAMELEN = 50
387387
388388 let InfraUpgradeCostSUsdt = 10000000
389389
390390 let EXPMATERIALS = match chain {
391391 case _ =>
392392 if ((base58'2W' == $match0))
393393 then 252289527462
394394 else if ((base58'2T' == $match0))
395395 then 2522895274
396396 else throw("Unknown chain")
397397 }
398398
399399 let EXPUSDT = match chain {
400400 case _ =>
401401 if ((base58'2W' == $match0))
402402 then 250000000
403403 else if ((base58'2T' == $match0))
404404 then 250000000
405405 else throw("Unknown chain")
406406 }
407407
408408 let FIVEX = toBigInt(5)
409409
410410 let TWENTYX = toBigInt(20)
411411
412412 let TWENTY2X = toBigInt((20 * 20))
413413
414414 let TWENTY3X = toBigInt(((20 * 20) * 20))
415415
416416 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
417417
418418 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
419419
420420 let PRESALENUMLANDS = 500
421421
422422 func keyNextFreeLandNum () = "nextLandNum"
423423
424424
425425 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
426426
427427
428428 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
429429
430430
431431 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
432432
433433
434434 func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_")
435435
436436
437437 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
438438
439439
440440 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
441441
442442
443443 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
444444
445445
446446 func keyOldies () = "oldiesList"
447447
448448
449449 let claimModeWh = 0
450450
451451 let claimModeDuck = 1
452452
453453 let claimModeWhThenDuck = 2
454454
455455 let flHealth = 0
456456
457457 let flTimestamp = 5
458458
459459 let flBonus = 6
460460
461461 let flProdsUsed = 7
462462
463463 func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
464464
465465
466466 func distributeByWeights (total,weights) = {
467467 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
468468 if ((0 >= sum))
469469 then throw("Zero weights sum")
470470 else {
471471 let norm6 = fraction(total, MULT6, sum)
472472 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
473473
474474 let $l = weights
475475 let $s = size($l)
476476 let $acc0 = nil
477477 func $f0_1 ($a,$i) = if (($i >= $s))
478478 then $a
479479 else normalizer($a, $l[$i])
480480
481481 func $f0_2 ($a,$i) = if (($i >= $s))
482482 then $a
483483 else throw("List size exceeds 6")
484484
485485 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
486486 }
487487 }
488488
489489
490490 func getNeededMaterials (total) = {
491491 let props = split(value(getString(keyResProportions())), "_")
492492 if ((size(props) != NUMRES))
493493 then throw("Wrong proportions data")
494494 else {
495495 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
496496 distributeByWeights(total, r)
497497 }
498498 }
499499
500500
501501 func subtractMaterials (shouldUseMat,has,totalNeed) = {
502502 let need = getNeededMaterials(totalNeed)
503503 func subtractor (acc,idx) = {
504504 let result = (parseIntValue(has[idx]) - need[idx])
505505 if ((0 > result))
506506 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
507507 else (acc :+ toString(result))
508508 }
509509
510510 if (shouldUseMat)
511511 then {
512512 let $l = [0, 1, 2, 3, 4, 5]
513513 let $s = size($l)
514514 let $acc0 = nil
515515 func $f0_1 ($a,$i) = if (($i >= $s))
516516 then $a
517517 else subtractor($a, $l[$i])
518518
519519 func $f0_2 ($a,$i) = if (($i >= $s))
520520 then $a
521521 else throw("List size exceeds 6")
522522
523523 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
524524 }
525525 else has
526526 }
527527
528528
529529 func subtractProducts (pHas,pUsed) = if ((pUsed == ""))
530530 then pHas
531531 else {
532532 let pList = if ((pHas == ""))
533533 then nil
534534 else split(pHas, "_")
535535 func subP (acc,item) = {
536536 let j = acc._1
537537 func checkUsed (ac,idxAmt) = {
538538 let parts = split(idxAmt, ",")
539539 if ((size(parts) != 2))
540540 then throw("Incorrect format, should be index,amount")
541541 else {
542542 let idx = parseIntValue(parts[0])
543543 if (if ((0 > idx))
544544 then true
545545 else (idx >= size(productionMatrix)))
546546 then throw("Unknown product idx")
547547 else if ((idx != j))
548548 then ac
549549 else {
550550 let amt = parseIntValue(parts[1])
551551 if ((0 >= amt))
552552 then throw("Pass only positive amounts")
553553 else (ac + amt)
554554 }
555555 }
556556 }
557557
558558 let a = {
559559 let $l = split(pUsed, "_")
560560 let $s = size($l)
561561 let $acc0 = 0
562562 func $f0_1 ($a,$i) = if (($i >= $s))
563563 then $a
564564 else checkUsed($a, $l[$i])
565565
566566 func $f0_2 ($a,$i) = if (($i >= $s))
567567 then $a
568568 else throw("List size exceeds 10")
569569
570570 $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)
571571 }
572572 let curr = if ((size(pList) > j))
573573 then parseIntValue(pList[j])
574574 else 0
575575 let newAmt = if ((curr >= a))
576576 then (curr - a)
577577 else throw(((((("You have " + toString(curr)) + " of ") + prodTypes[j]) + ", but tried to use ") + toString(a)))
578578 $Tuple2((j + 1), (acc._2 :+ toString(newAmt)))
579579 }
580580
581581 let newProd = {
582582 let $l = productionMatrix
583583 let $s = size($l)
584584 let $acc0 = $Tuple2(0, nil)
585585 func $f0_1 ($a,$i) = if (($i >= $s))
586586 then $a
587587 else subP($a, $l[$i])
588588
589589 func $f0_2 ($a,$i) = if (($i >= $s))
590590 then $a
591591 else throw("List size exceeds 50")
592592
593593 $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)
594594 }
595595 makeString(newProd._2, "_")
596596 }
597597
598598
599599 func prodStrToBytes (prodStr) = {
600600 let pList = if ((prodStr == ""))
601601 then nil
602602 else split(prodStr, "_")
603603 func toBV (acc,recipe) = {
604604 let j = (size(acc) / 8)
605605 let curr = if ((size(pList) > j))
606606 then parseIntValue(pList[j])
607607 else 0
608608 (acc + toBytes(curr))
609609 }
610610
611611 let $l = productionMatrix
612612 let $s = size($l)
613613 let $acc0 = base58''
614614 func $f0_1 ($a,$i) = if (($i >= $s))
615615 then $a
616616 else toBV($a, $l[$i])
617617
618618 func $f0_2 ($a,$i) = if (($i >= $s))
619619 then $a
620620 else throw("List size exceeds 50")
621621
622622 $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)
623+ }
624+
625+
626+func bytesToProdStr (bv) = {
627+ func fromBV (acc,recipe) = {
628+ let j = size(acc)
629+ let b = take(drop(bv, (8 * j)), 8)
630+ (acc :+ toString(toInt(b)))
631+ }
632+
633+ makeString({
634+ let $l = productionMatrix
635+ let $s = size($l)
636+ let $acc0 = nil
637+ func $f0_1 ($a,$i) = if (($i >= $s))
638+ then $a
639+ else fromBV($a, $l[$i])
640+
641+ func $f0_2 ($a,$i) = if (($i >= $s))
642+ then $a
643+ else throw("List size exceeds 50")
644+
645+ $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)
646+ }, "_")
623647 }
624648
625649
626650 func addProd (idxCnt,pList,isPositive,segment,mainAux,slot) = {
627651 let parts = split(idxCnt, ":")
628652 if ((size(parts) != 2))
629653 then throw("Incorrect format, should be index:amount")
630654 else {
631655 let productIdx = parseIntValue(parts[0])
632656 let count = parseIntValue(parts[1])
633657 if (if ((0 > productIdx))
634658 then true
635659 else (productIdx >= size(productionMatrix)))
636660 then throw("Unknown product idx")
637661 else if ((0 > count))
638662 then throw("Count can't be negative")
639663 else if ((count == 0))
640664 then $Tuple2(pList, false)
641665 else {
642666 func addP (acc,item) = {
643667 let j = acc._1
644668 let curr = if ((size(pList) > j))
645669 then parseIntValue(pList[j])
646670 else 0
647671 if ((productIdx != j))
648672 then $Tuple3((j + 1), (acc._2 :+ toString(curr)), acc._3)
649673 else if (if (!(isPositive))
650674 then (count > curr)
651675 else false)
652676 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[j]) + ", but tried to use ") + toString(count)))
653677 else {
654678 let isBig = if (!(isPositive))
655679 then {
656680 let compat = split(item, "_")[rIdxSlots]
657681 if ((compat == ""))
658682 then throw("Item cannot be equipped")
659683 else {
660684 let c = parseIntValue(compat)
661685 let cSeg = (c / 100)
662686 if ((segment != cSeg))
663687 then throw("Segment incompatible")
664688 else {
665689 let cMainAux = ((c % 100) / 10)
666690 if ((mainAux != cMainAux))
667691 then throw("Slot incompatible")
668692 else {
669693 let cNumSlots = (c % 10)
670694 if (if ((slot != 0))
671695 then (cNumSlots > 1)
672696 else false)
673697 then throw("Big items should occupy slot 0")
674698 else (cNumSlots > 1)
675699 }
676700 }
677701 }
678702 }
679703 else false
680704 $Tuple3((j + 1), (acc._2 :+ toString((curr + (if (isPositive)
681705 then count
682706 else -(count))))), if (acc._3)
683707 then true
684708 else isBig)
685709 }
686710 }
687711
688712 let result = {
689713 let $l = productionMatrix
690714 let $s = size($l)
691715 let $acc0 = $Tuple3(0, nil, false)
692716 func $f0_1 ($a,$i) = if (($i >= $s))
693717 then $a
694718 else addP($a, $l[$i])
695719
696720 func $f0_2 ($a,$i) = if (($i >= $s))
697721 then $a
698722 else throw("List size exceeds 27")
699723
700724 $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($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)
701725 }
702726 $Tuple2(result._2, result._3)
703727 }
704728 }
705729 }
706730
707731
708732 func slotsGroup (g,bpIn,isPositive,segment,mainAux) = if ((g != ""))
709733 then {
710734 let slots = split(g, ",")
711735 if ((size(slots) > MAXSLOTS))
712736 then throw("Wrong slots format")
713737 else {
714738 let s0 = slots[0]
715739 let s1 = if ((size(slots) > 1))
716740 then slots[1]
717741 else ""
718742 if (if ((s0 == ""))
719743 then (s1 == "")
720744 else false)
721745 then bpIn
722746 else {
723747 let tmpS0 = if ((s0 != ""))
724748 then addProd(s0, bpIn, isPositive, segment, mainAux, 0)
725749 else $Tuple2(bpIn, false)
726750 if ((s1 != ""))
727751 then if (tmpS0._2)
728752 then throw("Big item already occupies slot")
729753 else addProd(s1, tmpS0._1, isPositive, segment, mainAux, 1)._1
730754 else tmpS0._1
731755 }
732756 }
733757 }
734758 else bpIn
735759
736760
737761 func dress (segList,pList,isPositive) = {
738762 func segment (acc,seg) = {
739763 let j = acc._1
740764 let mainAux = split(seg, ";")
741765 if ((size(mainAux) != NUMMAINAUX))
742766 then throw("Wrong segment format")
743767 else {
744768 let m = mainAux[0]
745769 let a = mainAux[1]
746770 if (if ((m == ""))
747771 then (a == "")
748772 else false)
749773 then $Tuple2((j + 1), acc._2)
750774 else {
751775 let tmpM = slotsGroup(m, acc._2, isPositive, j, 0)
752776 $Tuple2((j + 1), slotsGroup(a, tmpM, isPositive, j, 1))
753777 }
754778 }
755779 }
756780
757781 ( let $l = segList
758782 let $s = size($l)
759783 let $acc0 = $Tuple2(0, pList)
760784 func $f0_1 ($a,$i) = if (($i >= $s))
761785 then $a
762786 else segment($a, $l[$i])
763787
764788 func $f0_2 ($a,$i) = if (($i >= $s))
765789 then $a
766790 else throw("List size exceeds 6")
767791
768792 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2
769793 }
770794
771795
772796 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
773797 then throw("Wrong proportions data")
774798 else {
775799 func updater (acc,i) = {
776800 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
777801 if ((0 > result))
778802 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
779803 else (acc :+ toString(result))
780804 }
781805
782806 let r = {
783807 let $l = [0, 1, 2, 3, 4, 5]
784808 let $s = size($l)
785809 let $acc0 = nil
786810 func $f0_1 ($a,$i) = if (($i >= $s))
787811 then $a
788812 else updater($a, $l[$i])
789813
790814 func $f0_2 ($a,$i) = if (($i >= $s))
791815 then $a
792816 else throw("List size exceeds 6")
793817
794818 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
795819 }
796820 makeString(r, "_")
797821 }
798822
799823
800824 func updateProportions (terrainCounts,landSizeIndex,sign) = {
801825 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
802826 updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign)
803827 }
804828
805829
806830 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)]
807831
808832
809833 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
810834 func adder (acc,i) = {
811835 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
812836 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
813837 }
814838
815839 let r = {
816840 let $l = [0, 1, 2, 3, 4, 5]
817841 let $s = size($l)
818842 let $acc0 = nil
819843 func $f0_1 ($a,$i) = if (($i >= $s))
820844 then $a
821845 else adder($a, $l[$i])
822846
823847 func $f0_2 ($a,$i) = if (($i >= $s))
824848 then $a
825849 else throw("List size exceeds 6")
826850
827851 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
828852 }
829853 makeString(r, "_")
830854 }
831855
832856
833857 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
834858 func adder (acc,i) = {
835859 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
836860 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
837861 }
838862
839863 let $l = [0, 1, 2, 3, 4, 5]
840864 let $s = size($l)
841865 let $acc0 = $Tuple2(nil, 0)
842866 func $f0_1 ($a,$i) = if (($i >= $s))
843867 then $a
844868 else adder($a, $l[$i])
845869
846870 func $f0_2 ($a,$i) = if (($i >= $s))
847871 then $a
848872 else throw("List size exceeds 6")
849873
850874 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
851875 }
852876
853877
854878 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
855879 let resListToClaim = resToClaim._1
856880 let resAmToClaim = resToClaim._2
857881 if ((resAmToClaim == 0))
858882 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
859883 else if ((whSpaceLeft >= resAmToClaim))
860884 then {
861885 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
862886
863887 let r = {
864888 let $l = [0, 1, 2, 3, 4, 5]
865889 let $s = size($l)
866890 let $acc0 = nil
867891 func $f0_1 ($a,$i) = if (($i >= $s))
868892 then $a
869893 else addLists($a, $l[$i])
870894
871895 func $f0_2 ($a,$i) = if (($i >= $s))
872896 then $a
873897 else throw("List size exceeds 6")
874898
875899 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
876900 }
877901 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
878902 }
879903 else {
880904 func addPartLists (acc,i) = {
881905 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
882906 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
883907 }
884908
885909 let r = {
886910 let $l = [0, 1, 2, 3, 4, 5]
887911 let $s = size($l)
888912 let $acc0 = $Tuple2(nil, nil)
889913 func $f0_1 ($a,$i) = if (($i >= $s))
890914 then $a
891915 else addPartLists($a, $l[$i])
892916
893917 func $f0_2 ($a,$i) = if (($i >= $s))
894918 then $a
895919 else throw("List size exceeds 6")
896920
897921 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
898922 }
899923 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
900924 }
901925 }
902926
903927
904928 func abs (x) = if ((x >= toBigInt(0)))
905929 then x
906930 else -(x)
907931
908932
909933 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]]
910934
911935 func genChar (n,freqs) = {
912936 let rem = toInt((n % TWENTYX))
913937 let letter = if ((freqs[0] > rem))
914938 then "A"
915939 else if ((freqs[1] > rem))
916940 then "B"
917941 else if ((freqs[2] > rem))
918942 then "C"
919943 else if ((freqs[3] > rem))
920944 then "D"
921945 else if ((freqs[4] > rem))
922946 then "E"
923947 else "F"
924948 letter
925949 }
926950
927951
928952 func genTerrains (seed,continentIdx) = {
929953 let f = freq[continentIdx]
930954 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))
931955
932956 let t = {
933957 let $l = [1, 2, 3, 4, 5]
934958 let $s = size($l)
935959 let $acc0 = $Tuple2("", (seed / FIVEX))
936960 func $f0_1 ($a,$i) = if (($i >= $s))
937961 then $a
938962 else terrainGenerator($a, $l[$i])
939963
940964 func $f0_2 ($a,$i) = if (($i >= $s))
941965 then $a
942966 else throw("List size exceeds 5")
943967
944968 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
945969 }
946970 t._1
947971 }
948972
949973
950974 func getBackpack (bpKey) = {
951975 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
952976 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
953977 then p[bpIdxRes]
954978 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
955979 then p[bpIdxMat]
956980 else "0_0_0_0_0_0", p[bpIdxProd]]
957981 }
958982
959983
960984 func getWarehouseTotalVolume (volPrefix) = {
961985 let parts = split(volPrefix, "_")
962986 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
963987 }
964988
965989
966990 func getWarehouseOccupiedVol (currentWh) = {
967991 let goods = currentWh[whIdxProd]
968992 func sumResMat (acc,item) = (acc + parseIntValue(item))
969993
970994 func sumProd (acc,item) = {
971995 let idx = acc._1
972996 let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE)
973997 $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8)))
974998 }
975999
9761000 let whResVol = {
9771001 let $l = split(currentWh[whIdxRes], "_")
9781002 let $s = size($l)
9791003 let $acc0 = 0
9801004 func $f0_1 ($a,$i) = if (($i >= $s))
9811005 then $a
9821006 else sumResMat($a, $l[$i])
9831007
9841008 func $f0_2 ($a,$i) = if (($i >= $s))
9851009 then $a
9861010 else throw("List size exceeds 6")
9871011
9881012 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
9891013 }
9901014 let whMatVol = {
9911015 let $l = split(currentWh[whIdxMat], "_")
9921016 let $s = size($l)
9931017 let $acc0 = 0
9941018 func $f1_1 ($a,$i) = if (($i >= $s))
9951019 then $a
9961020 else sumResMat($a, $l[$i])
9971021
9981022 func $f1_2 ($a,$i) = if (($i >= $s))
9991023 then $a
10001024 else throw("List size exceeds 6")
10011025
10021026 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10031027 }
10041028 let whGoodsVol = if ((goods == ""))
10051029 then 0
10061030 else ( let $l = split_4C(goods, "_")
10071031 let $s = size($l)
10081032 let $acc0 = $Tuple2(0, 0)
10091033 func $f2_1 ($a,$i) = if (($i >= $s))
10101034 then $a
10111035 else sumProd($a, $l[$i])
10121036
10131037 func $f2_2 ($a,$i) = if (($i >= $s))
10141038 then $a
10151039 else throw("List size exceeds 50")
10161040
10171041 $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
10181042 ((whResVol + whMatVol) + whGoodsVol)
10191043 }
10201044
10211045
10221046 func getWarehouse (whKey,landIndex,infraLevel) = {
10231047 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
10241048 let whTotal = getWarehouseTotalVolume(volPrefix)
10251049 let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0"))
10261050 let wh = split_4C(whStr, ":")
10271051 let whOccupied = getWarehouseOccupiedVol(wh)
10281052 let whLoft = if ((5 > size(wh)))
10291053 then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_")
10301054 else {
10311055 let loft = split(wh[whIdxLOFT], "_")
10321056 let whLocked = parseIntValue(loft[volLocked])
10331057 let occ = if ((size(loft) > 1))
10341058 then parseIntValue(loft[volOccupied])
10351059 else whOccupied
10361060 makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_")
10371061 }
10381062 [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES))
10391063 then wh[whIdxRes]
10401064 else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES))
10411065 then wh[whIdxMat]
10421066 else "0_0_0_0_0_0", wh[whIdxProd], whLoft]
10431067 }
10441068
10451069
10461070 func getWarehouseSpaceLeft (currentWh) = {
10471071 let occupiedVol = getWarehouseOccupiedVol(currentWh)
10481072 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
10491073 ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol)
10501074 }
10511075
10521076
10531077 func toVolume (amount,pkgSize) = {
10541078 let pkgs = if ((amount >= 0))
10551079 then (((amount + pkgSize) - 1) / pkgSize)
10561080 else -((((-(amount) + pkgSize) - 1) / pkgSize))
10571081 (pkgs * MULT8)
10581082 }
10591083
10601084
10611085 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
10621086 then throw("cargoListStr should contain exactly 2 ':' separators")
10631087 else {
10641088 let resParts = split(cargoParts[0], "_")
10651089 let matParts = split(cargoParts[1], "_")
10661090 let prodParts = if ((cargoParts[2] == ""))
10671091 then nil
10681092 else split(cargoParts[2], "_")
10691093 if ((size(resParts) != NUMRES))
10701094 then throw("All 6 resources should be passed")
10711095 else if ((size(matParts) != NUMRES))
10721096 then throw("All 6 materials should be passed")
10731097 else {
10741098 let whSpaceLeft = getWarehouseSpaceLeft(currentWh)
10751099 let currWhRes = split(currentWh[whIdxRes], "_")
10761100 let currWhMat = split(currentWh[whIdxMat], "_")
10771101 let currWhProd = if ((currentWh[whIdxProd] == ""))
10781102 then nil
10791103 else split(currentWh[whIdxProd], "_")
10801104 let currentPackRes = split(currentPack[bpIdxRes], "_")
10811105 let currentPackMat = split(currentPack[bpIdxMat], "_")
10821106 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
10831107 then nil
10841108 else split(currentPack[bpIdxProd], "_")
10851109 func mvR (acc,item) = {
10861110 let i = acc._1
10871111 let am = parseIntValue(item)
10881112 let whr = parseIntValue(currWhRes[i])
10891113 let bpr = parseIntValue(currentPackRes[i])
10901114 if ((am == 0))
10911115 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
10921116 else if ((am > 0))
10931117 then if ((am > bpr))
10941118 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
10951119 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
10961120 else if ((-(am) > whr))
10971121 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
10981122 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
10991123 }
11001124
11011125 let r = {
11021126 let $l = resParts
11031127 let $s = size($l)
11041128 let $acc0 = $Tuple4(0, nil, nil, 0)
11051129 func $f0_1 ($a,$i) = if (($i >= $s))
11061130 then $a
11071131 else mvR($a, $l[$i])
11081132
11091133 func $f0_2 ($a,$i) = if (($i >= $s))
11101134 then $a
11111135 else throw("List size exceeds 6")
11121136
11131137 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11141138 }
11151139 func mvM (acc,item) = {
11161140 let i = acc._1
11171141 let am = parseIntValue(item)
11181142 let whm = parseIntValue(currWhMat[i])
11191143 let bpm = parseIntValue(currentPackMat[i])
11201144 if ((am == 0))
11211145 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
11221146 else if ((am > 0))
11231147 then if ((am > bpm))
11241148 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
11251149 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11261150 else if ((-(am) > whm))
11271151 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
11281152 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11291153 }
11301154
11311155 let m = {
11321156 let $l = matParts
11331157 let $s = size($l)
11341158 let $acc0 = $Tuple4(0, nil, nil, r._4)
11351159 func $f1_1 ($a,$i) = if (($i >= $s))
11361160 then $a
11371161 else mvM($a, $l[$i])
11381162
11391163 func $f1_2 ($a,$i) = if (($i >= $s))
11401164 then $a
11411165 else throw("List size exceeds 6")
11421166
11431167 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11441168 }
11451169 func mvP (acc,item) = {
11461170 let i = acc._1
11471171 let am = parseIntValue(item)
11481172 let whp = if ((size(currWhProd) > i))
11491173 then parseIntValue(currWhProd[i])
11501174 else 0
11511175 let bpp = if ((size(currentPackProd) > i))
11521176 then parseIntValue(currentPackProd[i])
11531177 else 0
11541178 if ((am == 0))
11551179 then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4)
11561180 else if ((am > 0))
11571181 then if ((am > bpp))
11581182 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
11591183 else {
11601184 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11611185 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11621186 }
11631187 else if ((-(am) > whp))
11641188 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
11651189 else {
11661190 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11671191 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11681192 }
11691193 }
11701194
11711195 let p = if ((size(prodParts) != 0))
11721196 then {
11731197 let $l = prodParts
11741198 let $s = size($l)
11751199 let $acc0 = $Tuple4(0, nil, nil, m._4)
11761200 func $f2_1 ($a,$i) = if (($i >= $s))
11771201 then $a
11781202 else mvP($a, $l[$i])
11791203
11801204 func $f2_2 ($a,$i) = if (($i >= $s))
11811205 then $a
11821206 else throw("List size exceeds 50")
11831207
11841208 $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)
11851209 }
11861210 else $Tuple4(0, currWhProd, currentPackProd, m._4)
11871211 let volSaldo = p._4
11881212 if ((volSaldo > whSpaceLeft))
11891213 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
11901214 else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"), volSaldo)
11911215 }
11921216 }
11931217
11941218
11951219 func expeditionInternal (caller,txId) = {
11961220 let userAddr = toString(caller)
11971221 let bigNum = abs(toBigInt(txId))
11981222 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
11991223 let landNum = toString(freeNum)
12001224 let continentIdx = toInt((bigNum % FIVEX))
12011225 let terrains = genTerrains(bigNum, continentIdx)
12021226 let continent = continents[continentIdx]
12031227 let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
12041228 let assetId = calculateAssetId(issue)
12051229 let id = toBase58String(assetId)
12061230 $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))
12071231 }
12081232
12091233
12101234 func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
12111235 then throw("signature does not match")
12121236 else {
12131237 let parts = split(toUtf8String(message), ";")
12141238 let flightLog = split(parts[0], "|")
12151239 let hp = split(flightLog[flHealth], "_")
12161240 let curHP = parseIntValue(hp[0])
12171241 let newHP = parseIntValue(hp[1])
12181242 let newLocTxVer = split(parts[1], ":")
12191243 let newLocation = newLocTxVer[0]
12201244 let time = parseIntValue(flightLog[flTimestamp])
12211245 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
12221246 then true
12231247 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
12241248 then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp)))
12251249 else {
12261250 let txFromMsg = newLocTxVer[1]
12271251 let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "")
12281252 if ((lastTx != txFromMsg))
12291253 then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg))
12301254 else {
12311255 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
12321256 let keyHealth = keyDuckHealth(duckAssetId)
12331257 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
12341258 let oldFromState = valueOrElse(getInteger(keyHealth), maxHP)
12351259 if ((oldFromState != curHP))
12361260 then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP)))
12371261 else if ((0 >= curHP))
12381262 then throw("You can't fly with zero health")
12391263 else {
12401264 let bonus = if ((size(flightLog) > flBonus))
12411265 then flightLog[flBonus]
12421266 else ""
12431267 let prodUsed = if ((size(flightLog) > flProdsUsed))
12441268 then flightLog[flProdsUsed]
12451269 else ""
12461270 let sentAmount = if (if ((newHP > 0))
12471271 then (bonus == "$")
12481272 else false)
12491273 then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil))
12501274 else 0
12511275 $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed)
12521276 }
12531277 }
12541278 }
12551279 }
12561280
12571281
12581282 func expeditionCommon (caller,txId,message,sig) = {
12591283 let userAddr = toString(caller)
12601284 let f = flightCommon(userAddr, message, sig)
12611285 let keyHealth = keyDuckHealth(f._2)
12621286 let bpKey = keyBackpackByDuck(f._2)
12631287 let currentPack = getBackpack(bpKey)
12641288 let mList = split(currentPack[bpIdxMat], "_")
12651289 let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
12661290 let newProd = subtractProducts(currentPack[bpIdxProd], f._5)
12671291 if ((0 >= f._1))
12681292 then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":"))], "", 0)
12691293 else {
12701294 let e = expeditionInternal(caller, txId)
12711295 let id = e._2._1
12721296 $Tuple3((((e._1 :+ StringEntry(keyDuckLocation(f._2), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, newProd], ":"))), id, f._3)
12731297 }
12741298 }
12751299
12761300
12771301 func applyBonuses (landAssetId,pieces) = {
12781302 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
12791303 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
12801304 let add6 = (infraLevel / 6)
12811305 let add7 = (infraLevel / 7)
12821306 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
12831307 }
12841308
12851309
12861310 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1287- let $t02856029099 = if ((claimMode == claimModeWh))
1311+ let $t02880829347 = if ((claimMode == claimModeWh))
12881312 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
12891313 else {
12901314 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
12911315 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
12921316 let loc = split(value(curLocation), "_")
12931317 if ((loc[locIdxType] != "L"))
12941318 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
12951319 else $Tuple2(loc[locIdxId], duckAssetId)
12961320 }
1297- let landAssetId = $t02856029099._1
1298- let duckId = $t02856029099._2
1321+ let landAssetId = $t02880829347._1
1322+ let duckId = $t02880829347._2
12991323 let asset = value(assetInfo(fromBase58String(landAssetId)))
13001324 let timeKey = keyStakedTimeByAssetId(landAssetId)
13011325 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13021326 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
13031327 if ((owner != addr))
13041328 then throw((LANDPREFIX + " is not yours"))
13051329 else {
13061330 let d = split(asset.description, "_")
13071331 $Tuple4(duckId, landAssetId, d, savedTime)
13081332 }
13091333 }
13101334
13111335
13121336 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
13131337 then throw("Negative amount")
13141338 else {
13151339 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
13161340 let landSize = c._3[recLandSize]
13171341 let terrainCounts = countTerrains(c._3[recTerrains])
13181342 let deltaTime = (lastBlock.timestamp - c._4)
13191343 if ((0 > deltaTime))
13201344 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
13211345 else {
13221346 let pieces = numPiecesBySize(landSize)
13231347 let dailyProductionByPiece = applyBonuses(c._2, pieces)
13241348 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
13251349 if ((amount > availRes))
13261350 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
13271351 else {
13281352 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
13291353 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
13301354 let landIndex = (pieces / SSIZE)
13311355 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
13321356 let whKey = keyWarehouseByLand(c._2)
13331357 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
13341358 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
13351359 let loft = split(currentWh[whIdxLOFT], "_")
13361360 let whSpaceLeft = parseIntValue(loft[volFree])
13371361 if (if ((claimMode == claimModeWh))
13381362 then (amount > whSpaceLeft)
13391363 else false)
13401364 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
13411365 else {
13421366 let bpKey = keyBackpackByDuck(c._1)
13431367 let currentPack = getBackpack(bpKey)
13441368 let currentPackRes = split(currentPack[bpIdxRes], "_")
13451369 let currentWhRes = split(currentWh[whIdxRes], "_")
1346- let $t03147332344 = if ((claimMode == claimModeWh))
1370+ let $t03172132592 = if ((claimMode == claimModeWh))
13471371 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13481372 else if ((claimMode == claimModeDuck))
13491373 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13501374 else {
13511375 let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
13521376 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13531377 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13541378 }
1355- let whRes = $t03147332344._1
1356- let bpRes = $t03147332344._2
1357- let loftO = $t03147332344._3
1358- let loftF = $t03147332344._4
1379+ let whRes = $t03172132592._1
1380+ let bpRes = $t03172132592._2
1381+ let loftO = $t03172132592._3
1382+ let loftF = $t03172132592._4
13591383 $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]], "_")])
13601384 }
13611385 }
13621386 }
13631387 }
13641388
13651389
13661390 func claimAll (addr,landAssetId,pieces,claimMode) = {
13671391 let timeKey = keyStakedTimeByAssetId(landAssetId)
13681392 let savedTime = value(getInteger(timeKey))
13691393 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
13701394 claimResInternal(addr, availRes, claimMode, landAssetId)
13711395 }
13721396
13731397
13741398 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
13751399 let addr = toString(caller)
13761400 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
13771401 let pieces = numPiecesBySize(c._3[recLandSize])
13781402 let infraKey = keyInfraLevelByAssetId(c._2)
13791403 let curLevel = valueOrElse(getInteger(infraKey), 0)
13801404 if ((curLevel >= 3))
13811405 then throw("Currently max infrastructure level = 3")
13821406 else {
13831407 let newLevel = (curLevel + 1)
13841408 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
13851409 if (if (!(shouldUseMat))
13861410 then (paymentAmount != cost)
13871411 else false)
13881412 then throw(("Payment attached should be " + toString(cost)))
13891413 else {
13901414 let bpKey = keyBackpackByDuck(c._1)
13911415 let currentPack = getBackpack(bpKey)
13921416 let mList = split(currentPack[bpIdxMat], "_")
13931417 let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)
13941418 let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_")
13951419 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
13961420 let whData = claimResult._5
13971421 let oldVol = getWarehouseTotalVolume(whData[whIdxLevels])
13981422 let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_")
13991423 let newVol = getWarehouseTotalVolume(newVolData)
14001424 let loft = split(whData[whIdxLOFT], "_")
14011425 let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_")
14021426 $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)
14031427 }
14041428 }
14051429 }
14061430
14071431
14081432 func updateDuckStatsInternal (duckAssetId,deltaXP) = if (!(KSALLOWXPLEVELS))
14091433 then $Tuple2(nil, 0)
14101434 else {
14111435 let lvlKey = keyDuckLevel(duckAssetId)
14121436 let xpKey = keyDuckXP(duckAssetId)
14131437 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14141438 let newXP = (xp + deltaXP)
14151439 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14161440 let keyPoints = keyDuckFreePoints(duckAssetId)
14171441 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14181442 }
14191443
14201444
14211445 func updateAccStatsInternal (addr,deltaXP) = if (!(KSALLOWXPLEVELS))
14221446 then $Tuple2(nil, 0)
14231447 else {
14241448 let lvlKey = keyUserLevel(addr)
14251449 let xpKey = keyUserXP(addr)
14261450 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14271451 let newXP = (xp + deltaXP)
14281452 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14291453 let keyPoints = keyUserFreePoints(addr)
14301454 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14311455 }
14321456
14331457
14341458 func activateOnboardArt (addr) = {
14351459 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14361460 let refByKey = keyAddressRefBy(addr)
14371461 let refBy = getString(refByKey)
14381462 if (!(isDefined(refBy)))
14391463 then throw("You are not eligible for ONBOARD artifact")
14401464 else {
14411465 let artKey = keyOnboardArtDuckActivatedBy(addr)
14421466 let artDuck = getString(artKey)
14431467 if (isDefined(artDuck))
14441468 then throw(("You already used your ONBOARD artifact on duck " + value(artDuck)))
14451469 else {
14461470 let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId)
14471471 let duckActivator = getString(duckActivatorKey)
14481472 if (isDefined(duckActivator))
14491473 then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator)))
14501474 else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1)
14511475 }
14521476 }
14531477 }
14541478
14551479
14561480 func activatePresaleArt (addr,landAssetIdIn) = {
14571481 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
14581482 let landAssetId = c._2
14591483 let pieces = numPiecesBySize(c._3[recLandSize])
14601484 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
14611485 if ((valueOrElse(getInteger(activationKey), 0) > 0))
14621486 then throw("Presale artifact is already activated")
14631487 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
14641488 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
14651489 else {
14661490 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
14671491 ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
14681492 }
14691493 }
14701494
14711495
14721496 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = {
14731497 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14741498 func checkMerge (acc,landAssetId) = {
14751499 let asset = value(assetInfo(fromBase58String(landAssetId)))
14761500 let timeKey = keyStakedTimeByAssetId(landAssetId)
14771501 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
14781502 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
14791503 if ((owner != addr))
14801504 then throw((LANDPREFIX + " is not yours"))
14811505 else {
14821506 let d = split(asset.description, "_")
14831507 let continent = d[recContinent]
14841508 if (if ((acc._3 != ""))
14851509 then (acc._3 != continent)
14861510 else false)
14871511 then throw("Lands should be on the same continent to merge")
14881512 else {
14891513 let landSize = d[recLandSize]
14901514 let sizesIn = acc._1
14911515 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
14921516 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
14931517 let pieces = numPiecesBySize(landSize)
14941518 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0))
14951519 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
14961520 let reqLevel = match landSize {
14971521 case _ =>
14981522 if (("S" == $match0))
14991523 then 3
15001524 else if (("M" == $match0))
15011525 then 4
15021526 else if (("L" == $match0))
15031527 then 5
15041528 else if (("XL" == $match0))
15051529 then 6
15061530 else throw("Only S, M, L, XL can merge")
15071531 }
15081532 if ((infraLevel != reqLevel))
15091533 then throw("All lands should be maxed to merge")
15101534 else {
15111535 let landNum = d[recLandNum]
15121536 let terrainCounts = countTerrains(d[recTerrains])
15131537 let deltaTime = (lastBlock.timestamp - savedTime)
15141538 if ((0 > deltaTime))
15151539 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
15161540 else {
15171541 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
15181542 let landIndex = (pieces / SSIZE)
15191543 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
15201544 let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1)
15211545 let lands = acc._7
15221546 let idx = indexOf(lands, landAssetId)
15231547 if (!(isDefined(idx)))
15241548 then throw(("Your staked lands don't contain " + landAssetId))
15251549 else {
15261550 let customKey = keyLandAssetIdToCustomName(landAssetId)
15271551 let customName = valueOrElse(getString(customKey), "")
15281552 $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))
15291553 }
15301554 }
15311555 }
15321556 }
15331557 }
15341558 }
15351559
15361560 let bpKey = keyBackpackByDuck(duckAssetId)
15371561 let currentPack = getBackpack(bpKey)
15381562 let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0")
15391563 let landsKey = keyStakedLandsByOwner(addr)
15401564 let landsStr = getString(landsKey)
15411565 let landsIn = if (isDefined(landsStr))
15421566 then split_51C(value(landsStr), "_")
15431567 else nil
15441568 let r = {
15451569 let $l = landAssetIds
15461570 let $s = size($l)
15471571 let $acc0 = $Tuple8(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn, 0)
15481572 func $f0_1 ($a,$i) = if (($i >= $s))
15491573 then $a
15501574 else checkMerge($a, $l[$i])
15511575
15521576 func $f0_2 ($a,$i) = if (($i >= $s))
15531577 then $a
15541578 else throw("List size exceeds 5")
15551579
15561580 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
15571581 }
15581582 let continent = r._3
15591583 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
15601584 let terrains = genTerrains(abs(toBigInt(txId)), continentIdx)
15611585 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
15621586 let newLandNum = toString(freeNum)
15631587 let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
15641588 let assetId = calculateAssetId(issue)
15651589 let newLandAssetId = toBase58String(assetId)
15661590 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
15671591 let piecesKey = keyStakedPiecesByOwner(addr)
15681592 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
15691593 $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0))
15701594 then StringEntry(landsKey, makeString_11C(r._7, "_"))
15711595 else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces))
15721596 then 0
15731597 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)
15741598 }
15751599
15761600
15771601 func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0)
15781602
15791603
15801604 func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
15811605 let cost = (InfraUpgradeCostSUsdt * 4)
15821606 if (if (!(shouldUseMat))
15831607 then (paymentAmount != cost)
15841608 else false)
15851609 then throw(("Payment attached should be " + toString(cost)))
15861610 else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4))
15871611 }
15881612
15891613
15901614 func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
15911615 let cost = (InfraUpgradeCostSUsdt * 47)
15921616 if (if (!(shouldUseMat))
15931617 then (paymentAmount != cost)
15941618 else false)
15951619 then throw(("Payment attached should be " + toString(cost)))
15961620 else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47))
15971621 }
15981622
15991623
16001624 func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
16011625 let cost = (InfraUpgradeCostSUsdt * 54)
16021626 if (if (!(shouldUseMat))
16031627 then (paymentAmount != cost)
16041628 else false)
16051629 then throw(("Payment attached should be " + toString(cost)))
16061630 else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54))
16071631 }
16081632
16091633
16101634 func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = {
16111635 let mergeResult = match size(landAssetIds) {
16121636 case _ =>
16131637 if ((4 == $match0))
16141638 then s2m(addr, landAssetIds, txId)
16151639 else if ((3 == $match0))
16161640 then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16171641 else if ((5 == $match0))
16181642 then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16191643 else if ((2 == $match0))
16201644 then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16211645 else throw("Unknown merge")
16221646 }
16231647 mergeResult
16241648 }
16251649
16261650
16271651 func prolog (i) = if (if ((i.originCaller != restContract))
16281652 then valueOrElse(getBoolean(keyBlocked()), false)
16291653 else false)
16301654 then throw("Contracts are under maintenance")
16311655 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
16321656
16331657
16341658 @Callable(i)
16351659 func constructorV1 (restAddr) = if ((i.caller != this))
16361660 then throw("Permission denied")
16371661 else [StringEntry(keyRestAddress(), restAddr)]
16381662
16391663
16401664
16411665 @Callable(i)
16421666 func setBlocked (isBlocked) = if ((i.caller != this))
16431667 then throw("permission denied")
16441668 else [BooleanEntry(keyBlocked(), isBlocked)]
16451669
16461670
16471671
16481672 @Callable(i)
16491673 func stakeLand () = {
16501674 let prologAction = prolog(i)
16511675 if ((size(i.payments) != 1))
16521676 then throw("Exactly one payment required")
16531677 else {
16541678 let pmt = value(i.payments[0])
16551679 let assetId = value(pmt.assetId)
16561680 let address = toString(i.caller)
16571681 if ((pmt.amount != 1))
16581682 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
16591683 else {
16601684 let asset = value(assetInfo(assetId))
16611685 if ((asset.issuer != this))
16621686 then throw("Unknown issuer of token")
16631687 else if (!(contains(asset.name, LANDPREFIX)))
16641688 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
16651689 else {
16661690 let landNumSize = drop(asset.name, 4)
16671691 let landNum = if (contains(landNumSize, "XXL"))
16681692 then dropRight(landNumSize, 3)
16691693 else if (contains(landNumSize, "XL"))
16701694 then dropRight(landNumSize, 2)
16711695 else dropRight(landNumSize, 1)
16721696 if (!(isDefined(parseInt(landNum))))
16731697 then throw(("Cannot parse land number from " + asset.name))
16741698 else {
16751699 let landAssetId = toBase58String(assetId)
16761700 let timeKey = keyStakedTimeByAssetId(landAssetId)
16771701 if (isDefined(getInteger(timeKey)))
16781702 then throw((("NFT " + asset.name) + " is already staked"))
16791703 else {
16801704 let d = split(asset.description, "_")
16811705 let terrainCounts = countTerrains(d[recTerrains])
16821706 let pieces = numPiecesBySize(d[recLandSize])
16831707 let props = updateProportions(terrainCounts, (pieces / SSIZE), 1)
16841708 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
16851709 let landsKey = keyStakedLandsByOwner(address)
16861710 let landsStr = getString(landsKey)
16871711 let lands = if (isDefined(landsStr))
16881712 then split_51C(value(landsStr), "_")
16891713 else nil
16901714 if (containsElement(lands, landAssetId))
16911715 then throw(("Your staked lands already contain " + landAssetId))
16921716 else {
16931717 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
16941718 let piecesKey = keyStakedPiecesByOwner(address)
16951719 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
16961720 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [address], nil))
16971721 $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)
16981722 }
16991723 }
17001724 }
17011725 }
17021726 }
17031727 }
17041728 }
17051729
17061730
17071731
17081732 @Callable(i)
17091733 func unstakeLand (landAssetIdIn) = {
17101734 let prologAction = prolog(i)
17111735 if ((size(i.payments) != 0))
17121736 then throw("No payments required")
17131737 else {
17141738 let addr = toString(i.caller)
17151739 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
17161740 let landAssetId = c._2
17171741 let landsKey = keyStakedLandsByOwner(addr)
17181742 let terrainCounts = countTerrains(c._3[recTerrains])
17191743 let pieces = numPiecesBySize(c._3[recLandSize])
17201744 let props = updateProportions(terrainCounts, (pieces / SSIZE), -1)
17211745 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
17221746 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
17231747 let idx = indexOf(lands, landAssetId)
17241748 if (!(isDefined(idx)))
17251749 then throw(("Your staked lands don't contain " + landAssetId))
17261750 else {
17271751 let now = lastBlock.timestamp
17281752 let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
17291753 if ((govReleaseTime >= now))
17301754 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime)))
17311755 else {
17321756 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay)
17331757 if ((arbReleaseTime > now))
17341758 then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime)))
17351759 else {
17361760 let piecesKey = keyStakedPiecesByOwner(addr)
17371761 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
17381762 let newPieces = if ((pieces > stakedPieces))
17391763 then 0
17401764 else (stakedPieces - pieces)
17411765 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [addr], nil))
17421766 $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))
17431767 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
17441768 else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
17451769 }
17461770 }
17471771 }
17481772 }
17491773 }
17501774
17511775
17521776
17531777 @Callable(i)
17541778 func stakeDuck () = {
17551779 let prologAction = prolog(i)
17561780 if ((size(i.payments) != 1))
17571781 then throw("Exactly one payment required")
17581782 else {
17591783 let pmt = value(i.payments[0])
17601784 let assetId = value(pmt.assetId)
17611785 let address = toString(i.caller)
17621786 if ((pmt.amount != 1))
17631787 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
17641788 else {
17651789 let asset = value(assetInfo(assetId))
17661790 if (if ((asset.issuer != incubatorAddr))
17671791 then (asset.issuer != breederAddr)
17681792 else false)
17691793 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
17701794 else if (!(contains(asset.name, DUCKPREFIX)))
17711795 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
17721796 else {
17731797 let assetIdStr = toBase58String(assetId)
17741798 let timeKey = keyStakedTimeByAssetId(assetIdStr)
17751799 if (isDefined(getInteger(timeKey)))
17761800 then throw((("NFT " + asset.name) + " is already staked"))
17771801 else if (isDefined(getString(keyStakedDuckByOwner(address))))
17781802 then throw(("You already staked one duck: " + asset.name))
17791803 else {
17801804 let locKey = keyDuckLocation(assetIdStr)
17811805 let location = getString(locKey)
17821806 let bpKey = keyBackpackByDuck(assetIdStr)
17831807 let backpack = getString(bpKey)
17841808 let keyHealth = keyDuckHealth(assetIdStr)
17851809 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
17861810 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
17871811 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
17881812 then nil
17891813 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
17901814 then nil
17911815 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
17921816 }
17931817 }
17941818 }
17951819 }
17961820 }
17971821
17981822
17991823
18001824 @Callable(i)
18011825 func unstakeDuck (assetIdStr) = {
18021826 let prologAction = prolog(i)
18031827 if ((size(i.payments) != 0))
18041828 then throw("No payments required")
18051829 else {
18061830 let assetId = fromBase58String(assetIdStr)
18071831 let address = toString(i.caller)
18081832 let asset = value(assetInfo(assetId))
18091833 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
18101834 if (!(isDefined(getInteger(timeKey))))
18111835 then throw((("NFT " + asset.name) + " is not staked"))
18121836 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
18131837 then throw((("The duck " + asset.name) + " is not staked"))
18141838 else {
18151839 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
18161840 if ((owner != address))
18171841 then throw("Staked NFT is not yours")
18181842 else {
18191843 let keyHealth = keyDuckHealth(assetIdStr)
18201844 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
18211845 let health = valueOrElse(getInteger(keyHealth), maxHP)
18221846 if ((maxHP > health))
18231847 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
18241848 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]
18251849 }
18261850 }
18271851 }
18281852 }
18291853
18301854
18311855
18321856 @Callable(i)
18331857 func claimRes (amount,landAssetIdStr) = {
18341858 let prologAction = prolog(i)
18351859 if ((size(i.payments) != 0))
18361860 then throw("No payments required")
18371861 else {
18381862 let addr = toString(i.originCaller)
18391863 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
18401864 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18411865 $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])
18421866 }
18431867 }
18441868
18451869
18461870
18471871 @Callable(i)
18481872 func claimResToWH (amount,landAssetIdStr) = {
18491873 let prologAction = prolog(i)
18501874 if ((size(i.payments) != 0))
18511875 then throw("No payments required")
18521876 else {
18531877 let addr = toString(i.originCaller)
18541878 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
18551879 $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])
18561880 }
18571881 }
18581882
18591883
18601884
18611885 @Callable(i)
18621886 func flight (message,sig) = {
18631887 let prologAction = prolog(i)
18641888 if ((size(i.payments) != 0))
18651889 then throw("No payments required")
18661890 else {
18671891 let userAddr = toString(i.caller)
18681892 let f = flightCommon(userAddr, message, sig)
18691893 let duckAssetId = f._2
18701894 let locKey = keyDuckLocation(duckAssetId)
18711895 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
18721896 if ((f._4 == curLocation))
18731897 then throw("You can't fly to the same location")
18741898 else {
18751899 let bpKey = keyBackpackByDuck(duckAssetId)
18761900 let currentPack = getBackpack(bpKey)
18771901 let newProd = subtractProducts(currentPack[bpIdxProd], f._5)
18781902 $Tuple2(([StringEntry(locKey, if ((f._1 > 0))
18791903 then f._4
18801904 else curLocation), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":")), IntegerEntry(keyDuckHealth(duckAssetId), f._1), prologAction] ++ updateDuckStatsInternal(duckAssetId, if ((f._1 > 0))
18811905 then xpSuccessFlight
18821906 else xpFailFlight)._1), f._3)
18831907 }
18841908 }
18851909 }
18861910
18871911
18881912
18891913 @Callable(i)
18901914 func heal (quantityL1,quantityL2,quantityL3) = {
18911915 let prologAction = prolog(i)
18921916 if (if (if ((0 > quantityL1))
18931917 then true
18941918 else (0 > quantityL2))
18951919 then true
18961920 else (0 > quantityL3))
18971921 then throw("Quantity cannot be negative")
18981922 else {
18991923 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19001924 let qts = [quantityL1, quantityL2, quantityL3]
19011925 let keyHealth = keyDuckHealth(duckAssetId)
19021926 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19031927 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19041928 if ((oldHealth >= maxHP))
19051929 then throw((("HP should be < " + toString(maxHP)) + " to heal"))
19061930 else {
19071931 let bpKey = keyBackpackByDuck(duckAssetId)
19081932 let currentPack = getBackpack(bpKey)
19091933 let prodList = if ((currentPack[bpIdxProd] == ""))
19101934 then nil
19111935 else split(currentPack[bpIdxProd], "_")
19121936 func iterateProd (acc,ignoredItem) = {
19131937 let n = acc._2
19141938 let x = if ((size(prodList) > n))
19151939 then parseIntValue(prodList[n])
19161940 else 0
19171941 if ((3 > n))
19181942 then {
19191943 let q = qts[n]
19201944 if ((q > x))
19211945 then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n]))
19221946 else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (medKitHp[n] * q)))
19231947 }
19241948 else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3)
19251949 }
19261950
19271951 let result = {
19281952 let $l = productionMatrix
19291953 let $s = size($l)
19301954 let $acc0 = $Tuple3(nil, 0, 0)
19311955 func $f0_1 ($a,$i) = if (($i >= $s))
19321956 then $a
19331957 else iterateProd($a, $l[$i])
19341958
19351959 func $f0_2 ($a,$i) = if (($i >= $s))
19361960 then $a
19371961 else throw("List size exceeds 50")
19381962
19391963 $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)
19401964 }
19411965 let newHealth = min([maxHP, (oldHealth + result._3)])
19421966 $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)
19431967 }
19441968 }
19451969 }
19461970
19471971
19481972
19491973 @Callable(i)
19501974 func healES () = {
19511975 let prologAction = prolog(i)
19521976 if ((size(i.payments) != 1))
19531977 then throw("Exactly one payment required")
19541978 else {
19551979 let pmt = value(i.payments[0])
19561980 if ((pmt.assetId != usdtAssetId))
19571981 then throw("Allowed USDT payment only!")
19581982 else {
19591983 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19601984 let keyHealth = keyDuckHealth(duckAssetId)
19611985 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19621986 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19631987 if ((oldHealth > 0))
19641988 then throw("HP should be 0 to call Emergency Service")
19651989 else {
19661990 let bpKey = keyBackpackByDuck(duckAssetId)
19671991 let currentPack = getBackpack(bpKey)
19681992 let prodList = if ((currentPack[bpIdxProd] == ""))
19691993 then nil
19701994 else split(currentPack[bpIdxProd], "_")
19711995 let medKitAmount1 = if ((size(prodList) > 0))
19721996 then parseIntValue(prodList[0])
19731997 else 0
19741998 let medKitAmount2 = if ((size(prodList) > 1))
19751999 then parseIntValue(prodList[1])
19762000 else 0
19772001 let medKitAmount3 = if ((size(prodList) > 2))
19782002 then parseIntValue(prodList[2])
19792003 else 0
19802004 if (if (if ((medKitAmount1 > 0))
19812005 then true
19822006 else (medKitAmount2 > 0))
19832007 then true
19842008 else (medKitAmount3 > 0))
19852009 then throw("You have to use own Medical Kit")
19862010 else {
19872011 let existStr = getString(economyContract, keyEsWarehouse())
19882012 let existAmounts = if (isDefined(existStr))
19892013 then split(value(existStr), "_")
19902014 else nil
19912015 let existAmount = if ((size(existAmounts) > 0))
19922016 then parseIntValue(existAmounts[0])
19932017 else 0
19942018 if ((0 >= existAmount))
19952019 then throw("There are no Medical Kits L1 at Emergency Service storage")
19962020 else {
19972021 let newHealth = (oldHealth + medKitHp[0])
19982022 let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_")
19992023 let recipe = split(productionMatrix[0], "_")
20002024 let totalMat = getRecipeMaterials(recipe)
20012025 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (10 * PRODUCTPKGSIZE))
20022026 if ((pmt.amount != sellPrice))
20032027 then throw(("Payment attached should be " + toString(sellPrice)))
20042028 else {
20052029 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
20062030 $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
20072031 }
20082032 }
20092033 }
20102034 }
20112035 }
20122036 }
20132037 }
20142038
20152039
20162040
20172041 @Callable(i)
20182042 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract))
20192043 then throw("permission denied")
20202044 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
20212045
20222046
20232047
20242048 @Callable(i)
20252049 func buySLand () = {
20262050 let prologAction = prolog(i)
20272051 if ((size(i.payments) != 1))
20282052 then throw("Exactly one payment required")
20292053 else {
20302054 let pmt = value(i.payments[0])
20312055 if ((pmt.assetId != usdtAssetId))
20322056 then throw("Allowed USDT payment only!")
20332057 else if ((pmt.amount != EXPUSDT))
20342058 then throw(("Payment attached should be " + toString(EXPUSDT)))
20352059 else {
20362060 let result = expeditionInternal(i.caller, i.transactionId)
20372061 $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), result._2._1)
20382062 }
20392063 }
20402064 }
20412065
20422066
20432067
20442068 @Callable(i)
20452069 func expedition (message,sig) = {
20462070 let prologAction = prolog(i)
20472071 if ((size(i.payments) != 0))
20482072 then throw("No payments required")
20492073 else {
20502074 let result = expeditionCommon(i.caller, i.transactionId, message, sig)
20512075 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20522076 $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3))
20532077 }
20542078 }
20552079
20562080
20572081
20582082 @Callable(i)
20592083 func upgradeInfra (landAssetId) = {
20602084 let prologAction = prolog(i)
20612085 if ((size(i.payments) != 0))
20622086 then throw("No payments required")
20632087 else {
20642088 let result = upInfraCommon(true, i.caller, 0, landAssetId)
20652089 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20662090 $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
20672091 }
20682092 }
20692093
20702094
20712095
20722096 @Callable(i)
20732097 func upgradeInfraUsdt (landAssetId) = if ((i.caller != this))
20742098 then throw("Permission denied")
20752099 else {
20762100 let prologAction = prolog(i)
20772101 if ((size(i.payments) != 1))
20782102 then throw("Exactly one payment required")
20792103 else {
20802104 let pmt = value(i.payments[0])
20812105 if ((pmt.assetId != usdtAssetId))
20822106 then throw("Allowed USDT payment only!")
20832107 else {
20842108 let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId)
20852109 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
20862110 }
20872111 }
20882112 }
20892113
20902114
20912115
20922116 @Callable(i)
20932117 func activateArtifact (artName,landAssetIdOpt) = {
20942118 let prologAction = prolog(i)
20952119 if ((size(i.payments) != 0))
20962120 then throw("No payments required")
20972121 else {
20982122 let addr = toString(i.caller)
20992123 let result = match artName {
21002124 case _ =>
21012125 if (("PRESALE" == $match0))
21022126 then activatePresaleArt(addr, landAssetIdOpt)
21032127 else if (("ONBOARD" == $match0))
21042128 then activateOnboardArt(addr)
21052129 else throw("Unknown artifact")
21062130 }
21072131 (result :+ prologAction)
21082132 }
21092133 }
21102134
21112135
21122136
21132137 @Callable(i)
21142138 func mergeLands (landAssetIds) = {
21152139 let prologAction = prolog(i)
21162140 if ((size(i.payments) != 0))
21172141 then throw("No payments required")
21182142 else {
21192143 let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId)
21202144 $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
21212145 }
21222146 }
21232147
21242148
21252149
21262150 @Callable(i)
21272151 func mergeLandsUsdt (landAssetIds) = {
21282152 let prologAction = prolog(i)
21292153 if ((size(i.payments) != 1))
21302154 then throw("Exactly one payment required")
21312155 else {
21322156 let pmt = value(i.payments[0])
21332157 if ((pmt.assetId != usdtAssetId))
21342158 then throw("Allowed USDT payment only!")
21352159 else {
21362160 let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId)
21372161 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
21382162 }
21392163 }
21402164 }
21412165
21422166
21432167
21442168 @Callable(i)
21452169 func cargoExchange (cargoListStr,landAssetId) = {
21462170 let prologAction = prolog(i)
21472171 if ((size(i.payments) != 0))
21482172 then throw("No payments required")
21492173 else {
21502174 let cargoParts = split_4C(cargoListStr, ":")
21512175 let addr = toString(i.originCaller)
21522176 let asset = value(assetInfo(fromBase58String(landAssetId)))
21532177 let timeKey = keyStakedTimeByAssetId(landAssetId)
21542178 if (!(isDefined(getInteger(timeKey))))
21552179 then throw((asset.name + " is not staked"))
21562180 else {
21572181 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
21582182 if ((owner != addr))
21592183 then throw((LANDPREFIX + " is not yours"))
21602184 else {
21612185 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
21622186 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
21632187 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
21642188 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
21652189 let loc = split(value(curLocation), "_")
21662190 if ((loc[locIdxType] != "L"))
21672191 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
21682192 else if ((loc[locIdxId] != landAssetId))
21692193 then throw(("Duck should be on the land " + landAssetId))
21702194 else {
21712195 let whKey = keyWarehouseByLand(landAssetId)
21722196 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
21732197 let bpKey = keyBackpackByDuck(duckAssetId)
21742198 let currentPack = getBackpack(bpKey)
21752199 let result = moveStuff(cargoParts, currentWh, currentPack)
21762200 let loft = split(currentWh[whIdxLOFT], "_")
21772201 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
21782202 let loftF = (parseIntValue(loft[volFree]) - result._7)
21792203 [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]
21802204 }
21812205 }
21822206 }
21832207 }
21842208 }
21852209
21862210
21872211
21882212 @Callable(i)
21892213 func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract))
21902214 then throw("Access denied")
21912215 else {
21922216 let whKey = keyWarehouseByLand(landAssetId)
21932217 let wh = split_4C(whStr, ":")
21942218 if ((size(wh) != 5))
21952219 then throw("warehouse string should contain 4 ':' separators")
21962220 else {
21972221 let loftL = split(wh[whIdxLOFT], "_")[volLocked]
21982222 let loftO = getWarehouseOccupiedVol(wh)
21992223 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22002224 let loftF = ((loftT - parseIntValue(loftL)) - loftO)
22012225 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22022226 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22032227 }
22042228 }
22052229
22062230
22072231
22082232 @Callable(i)
22092233 func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract))
22102234 then throw("Access denied")
22112235 else {
22122236 let whKey = keyWarehouseByLand(landAssetId)
22132237 let asset = value(assetInfo(fromBase58String(landAssetId)))
22142238 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
22152239 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
22162240 let wh = getWarehouse(whKey, landIndex, infraLevel)
22172241 let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil))
22182242 let loftO = getWarehouseOccupiedVol(wh)
22192243 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22202244 let loftF = ((loftT - loftL) - loftO)
22212245 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22222246 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22232247 }
22242248
22252249
22262250
22272251 @Callable(i)
22282252 func fixStakedPieces (address) = if ((i.caller != restContract))
22292253 then throw("Access denied")
22302254 else {
22312255 let stakedPieces = if ((address == ""))
22322256 then 0
22332257 else {
22342258 let landsStr = getString(stakingContract, keyStakedLandsByOwner(address))
22352259 let lands = if (isDefined(landsStr))
22362260 then split_51C(value(landsStr), "_")
22372261 else nil
22382262 func oneLand (acc,landAssetId) = {
22392263 let asset = value(assetInfo(fromBase58String(landAssetId)))
22402264 let landSize = split(asset.description, "_")[recLandSize]
22412265 (acc + numPiecesBySize(landSize))
22422266 }
22432267
22442268 let $l = lands
22452269 let $s = size($l)
22462270 let $acc0 = 0
22472271 func $f0_1 ($a,$i) = if (($i >= $s))
22482272 then $a
22492273 else oneLand($a, $l[$i])
22502274
22512275 func $f0_2 ($a,$i) = if (($i >= $s))
22522276 then $a
22532277 else throw("List size exceeds 100")
22542278
22552279 $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)
22562280 }
22572281 $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces)
22582282 }
22592283
22602284
22612285
22622286 @Callable(i)
22632287 func setCustomName (assetId,customName,type) = {
22642288 let prologAction = prolog(i)
22652289 if ((size(i.payments) != 1))
22662290 then throw("Exactly one payment required")
22672291 else {
22682292 let pmt = value(i.payments[0])
22692293 if ((pmt.assetId != usdtAssetId))
22702294 then throw("Allowed USDT payment only!")
22712295 else if ((pmt.amount != RENAMINGCOST))
22722296 then throw(("Payment should be " + toString(RENAMINGCOST)))
22732297 else if (contains(customName, "__"))
22742298 then throw(("Name should not contain '__': " + customName))
22752299 else if ((size(customName) > MAXNAMELEN))
22762300 then throw(("Name too long, maxLength=" + toString(MAXNAMELEN)))
22772301 else {
22782302 let addr = toString(i.originCaller)
22792303 let actions = match type {
22802304 case _ =>
22812305 if (("ACCOUNT" == $match0))
22822306 then {
22832307 let reverseKey = keyCustomNameToAddress(customName)
22842308 let nameOwner = getString(reverseKey)
22852309 if (isDefined(nameOwner))
22862310 then throw(("Name already registered: " + customName))
22872311 else {
22882312 let addrToNameKey = keyAddressToCustomName(addr)
22892313 let oldName = getString(addrToNameKey)
22902314 let freeOld = if (isDefined(oldName))
22912315 then [DeleteEntry(keyCustomNameToAddress(value(oldName)))]
22922316 else nil
22932317 (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
22942318 }
22952319 }
22962320 else if (("LAND" == $match0))
22972321 then {
22982322 let asset = value(assetInfo(fromBase58String(assetId)))
22992323 let timeKey = keyStakedTimeByAssetId(assetId)
23002324 if (!(isDefined(getInteger(timeKey))))
23012325 then throw((asset.name + " is not staked"))
23022326 else {
23032327 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23042328 if ((owner != addr))
23052329 then throw((LANDPREFIX + " is not yours"))
23062330 else {
23072331 let reverseKey = keyLandCustomNameToAssetId(customName)
23082332 let nameOwner = getString(reverseKey)
23092333 if (isDefined(nameOwner))
23102334 then throw(("Name already registered: " + customName))
23112335 else {
23122336 let assetToNameKey = keyLandAssetIdToCustomName(assetId)
23132337 let oldName = getString(assetToNameKey)
23142338 let freeOld = if (isDefined(oldName))
23152339 then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))]
23162340 else nil
23172341 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
23182342 }
23192343 }
23202344 }
23212345 }
23222346 else if (("DUCK" == $match0))
23232347 then {
23242348 let asset = value(assetInfo(fromBase58String(assetId)))
23252349 let timeKey = keyStakedTimeByAssetId(assetId)
23262350 if (if (!(isDefined(getInteger(timeKey))))
23272351 then true
23282352 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
23292353 then throw((asset.name + " is not staked"))
23302354 else {
23312355 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23322356 if ((owner != addr))
23332357 then throw((DUCKPREFIX + " is not yours"))
23342358 else {
23352359 let reverseKey = keyDuckCustomNameToAssetId(customName)
23362360 let nameOwner = getString(reverseKey)
23372361 if (isDefined(nameOwner))
23382362 then throw(("Name already registered: " + customName))
23392363 else {
23402364 let assetToNameKey = keyDuckAssetIdToCustomName(assetId)
23412365 let oldName = getString(assetToNameKey)
23422366 let freeOld = if (isDefined(oldName))
23432367 then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))]
23442368 else nil
23452369 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1)
23462370 }
23472371 }
23482372 }
23492373 }
23502374 else throw("Unknown entity type")
23512375 }
23522376 $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
23532377 }
23542378 }
23552379 }
23562380
23572381
23582382
23592383 @Callable(i)
23602384 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
23612385 then throw("Permission denied")
23622386 else {
23632387 let prologAction = prolog(i)
23642388 if ((size(i.payments) != 0))
23652389 then throw("No payments required")
23662390 else if (!(isDefined(addressFromString(oldPlayer))))
23672391 then throw(("Invalid address: " + oldPlayer))
23682392 else if (!(isDefined(addressFromString(newPlayer))))
23692393 then throw(("Invalid address: " + newPlayer))
23702394 else {
23712395 let oldsKey = keyOldies()
23722396 let olds = getString(oldsKey)
23732397 let oldies = if (isDefined(olds))
23742398 then split_4C(value(olds), "_")
23752399 else nil
23762400 if (containsElement(oldies, newPlayer))
23772401 then throw((newPlayer + " is not newbie (already has referrals)"))
23782402 else {
23792403 let refByKey = keyAddressRefBy(newPlayer)
23802404 let refBy = getString(refByKey)
23812405 if (if (isDefined(refBy))
23822406 then isDefined(addressFromString(value(refBy)))
23832407 else false)
23842408 then throw(((newPlayer + " already has refBy: ") + value(refBy)))
23852409 else {
23862410 let refsKey = keyAddressReferrals(oldPlayer)
23872411 let refs = getString(refsKey)
23882412 let refsArray = if (isDefined(refs))
23892413 then split_4C(value(refs), "_")
23902414 else nil
23912415 if (containsElement(refsArray, newPlayer))
23922416 then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
23932417 else {
23942418 let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
23952419 let newOlds = if (containsElement(oldies, oldPlayer))
23962420 then value(olds)
23972421 else makeString_2C((oldies :+ oldPlayer), "_")
23982422 $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
23992423 }
24002424 }
24012425 }
24022426 }
24032427 }
24042428
24052429
24062430
24072431 @Callable(i)
24082432 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
24092433 let prologAction = prolog(i)
24102434 if ((size(i.payments) != 0))
24112435 then throw("No payments required")
24122436 else {
24132437 let addr = toString(i.originCaller)
24142438 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
24152439 let freeKeyAcc = keyUserFreePoints(addr)
24162440 let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0)
24172441 let freeKeyDuck = keyDuckFreePoints(duckAssetId)
24182442 let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0)
24192443 let sumFree = (freePointsAcc + freePointsDuck)
24202444 let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity)
24212445 if ((sumToDistribute > sumFree))
24222446 then throw((("There are only " + toString(sumFree)) + " free points to distribute"))
24232447 else {
24242448 let charsKey = keyDuckChars(duckAssetId)
24252449 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
24262450 let newAcc = (freePointsAcc - sumToDistribute)
24272451 $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
24282452 then 0
24292453 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
24302454 then (freePointsDuck + newAcc)
24312455 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)
24322456 }
24332457 }
24342458 }
24352459
24362460
24372461
24382462 @Callable(i)
24392463 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
24402464
24412465
24422466
24432467 @Callable(i)
24442468 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
24452469 let terrainCounts = countTerrains(terrains)
24462470 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
24472471 }
24482472
24492473
24502474
24512475 @Callable(i)
24522476 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
24532477
24542478
24552479
24562480 @Callable(i)
24572481 func getWarehouseREADONLY (landAssetId) = {
24582482 let asset = value(assetInfo(fromBase58String(landAssetId)))
24592483 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
24602484 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
24612485 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
24622486 }
24632487
24642488
24652489
24662490 @Callable(i)
24672491 func saveLastTx () = if (if ((i.caller != wlgContract))
24682492 then (i.caller != economyContract)
24692493 else false)
24702494 then throw("Access denied")
24712495 else $Tuple2([prolog(i)], 42)
24722496
24732497
24742498
24752499 @Callable(i)
24762500 func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract))
24772501 then throw("Access denied")
24782502 else updateDuckStatsInternal(duckAssetId, deltaXP)
24792503
24802504
24812505
24822506 @Callable(i)
24832507 func updateAccStats (addr,deltaXP) = if ((i.caller != economyContract))
24842508 then throw("Access denied")
24852509 else updateAccStatsInternal(addr, deltaXP)
24862510
24872511
24882512
24892513 @Callable(i)
24902514 func equipDuck (equipment) = {
24912515 let prologAction = prolog(i)
24922516 if ((size(i.payments) != 0))
24932517 then throw("No payments required")
24942518 else {
24952519 let addr = toString(i.originCaller)
24962520 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
24972521 let eqKey = keyDuckEquipment(duckAssetId)
24982522 let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
24992523 let bpKey = keyBackpackByDuck(duckAssetId)
25002524 let currentPack = getBackpack(bpKey)
25012525 let newEq = split(equipment, "_")
25022526 if ((size(newEq) != NUMSEGMENTS))
25032527 then throw("Wrong equipment string")
25042528 else {
25052529 let bpProd = currentPack[bpIdxProd]
25062530 let pList = if ((bpProd == ""))
25072531 then nil
25082532 else split(bpProd, "_")
25092533 let tempProd = dress(currentSegs, pList, true)
25102534 let newProd = dress(newEq, tempProd, false)
25112535 $Tuple2([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(newProd, "_")], ":")), prologAction], 0)
25122536 }
25132537 }
25142538 }
25152539
25162540
25172541
25182542 @Callable(i)
25192543 func test () = if ((i.caller != this))
25202544 then throw("Access denied")
2521- else $Tuple2(nil, prodStrToBytes(""))
2545+ else {
2546+ let a = prodStrToBytes("")
2547+ let b = bytesToProdStr(a)
2548+ $Tuple2(nil, b)
2549+ }
25222550
25232551

github/deemru/w8io/026f985 
196.49 ms