tx · 7WCNFt8rezTWy1WF1PHrrtFLfSxLU2uzi7M5mhHG4QAa

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.07700000 Waves

2023.07.20 15:14 [2674164] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "7WCNFt8rezTWy1WF1PHrrtFLfSxLU2uzi7M5mhHG4QAa", "fee": 7700000, "feeAssetId": null, "timestamp": 1689855280339, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "221yytgrnZEv7zQKVPhuQysHsjpoKz55VagDwtwxnQkZwWF16hQm47KNXN3FDmzkpvt6dsqmFrn1zsmhxZcaJvik" ], "script": "base64:BgKyAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKAQgSBQoDCAgIEgQKAggIEgcKBQEBAQEBEgMKAQESBQoDAQEIEgMKAQgSAwoBCBIAEgQKAggBEgQKAggBEgMKAQjTAQEUa2V5TGFzdEFyYlRpbWVCeVVzZXIBBGFkZHIJAKwCAgIQbGFzdEFyYlRpbWVVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAMcmVxdWlyZW1lbnRzCQDMCAICCFN0cmVuZ3RoCQDMCAICCEFjY3VyYWN5CQDMCAICCUludGVsbGVjdAkAzAgCAglFbmR1cmFuY2UJAMwIAgIJRGV4dGVyaXR5CQDMCAICBUxldmVsCQDMCAICBkhlYWx0aAUDbmlsAAxjaGFyU3RyZW5ndGgAAAAMY2hhckF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jawEFC2R1Y2tBc3NldElkBAtjdXJyZW50UGFjawkBC2dldEJhY2twYWNrAQUFYnBLZXkEBW5ld0VxCQC1CQIFCWVxdWlwbWVudAIBXwMJAQIhPQIJAJADAQUFbmV3RXEFC05VTVNFR01FTlRTCQACAQIWV3JvbmcgZXF1aXBtZW50IHN0cmluZwQEcmVxcwkBDGdldER1Y2tTdGF0cwIFBHRoaXMFC2R1Y2tBc3NldElkBAl0ZW1wUHJvZEIJAQZkcmVzc0IEBQtjdXJyZW50U2VncwkBDnByb2RTdHJUb0J5dGVzAQkAkQMCBQtjdXJyZW50UGFjawUJYnBJZHhQcm9kBgUEcmVxcwQIbmV3UHJvZEIJAQZkcmVzc0IEBQVuZXdFcQUJdGVtcFByb2RCBwUEcmVxcwQKbmV3UHJvZFN0cgkBDmJ5dGVzVG9Qcm9kU3RyAQUIbmV3UHJvZEIJAJQKAgkAzAgCCQELU3RyaW5nRW50cnkCBQVlcUtleQUJZXF1aXBtZW50CQDMCAIJAQtTdHJpbmdFbnRyeQIFBWJwS2V5CQC6CQIJAMwIAgkAkQMCBQtjdXJyZW50UGFjawUKYnBJZHhMZXZlbAkAzAgCCQCRAwIFC2N1cnJlbnRQYWNrBQhicElkeFJlcwkAzAgCCQCRAwIFC2N1cnJlbnRQYWNrBQhicElkeE1hdAkAzAgCBQpuZXdQcm9kU3RyBQNuaWwCAToJAMwIAgUMcHJvbG9nQWN0aW9uBQNuaWwAAABP9uvN", "height": 2674164, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2NcKvAgbF6WbQQedZPYNRKY17h7AK6BR5FfRVLB1Hf5K Next: BvMzugfkeWcn5ckPb4ECCsXaxgKn14f4nq5jyM2NmtQd Diff:
OldNewDifferences
1212
1313 let numPointsOnLevelUp = 3
1414
15+let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"]
16+
1517 let charStrength = 0
1618
1719 let charAccuracy = 1
2729 let NUMMAINAUX = 2
2830
2931 let MAXSLOTS = 2
32+
33+func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
34+
3035
3136 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
3237
8489 }
8590
8691
92+func getDuckStats (stakingContract,duckAssetId) = {
93+ let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_")
94+ let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
95+ let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl))
96+[parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health]
97+ }
98+
99+
87100 let LANDPREFIX = "LAND"
88101
89102 let DUCKPREFIX = "DUCK"
114127
115128 let rIdxCoeff = 6
116129
130+let rIdxRequirements = 9
131+
117132 let rIdxSlots = 10
118133
119134 let PRODUCTPKGSIZE = 10
196211
197212
198213 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
199-
200-
201-func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
202214
203215
204216 func keyBlocked () = "contractsBlocked"
647659 }
648660
649661
650-func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot) = {
662+func checkStatRequirements (duckStats,reqs) = {
663+ func check (acc,j) = if ((parseIntValue(reqs[j]) > duckStats[j]))
664+ then throw(("Requirement not satisfied: " + requirements[j]))
665+ else true
666+
667+ let $l = [0, 1, 2, 3, 4, 5, 6]
668+ let $s = size($l)
669+ let $acc0 = false
670+ func $f0_1 ($a,$i) = if (($i >= $s))
671+ then $a
672+ else check($a, $l[$i])
673+
674+ func $f0_2 ($a,$i) = if (($i >= $s))
675+ then $a
676+ else throw("List size exceeds 7")
677+
678+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7)
679+ }
680+
681+
682+func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = {
651683 let parts = split(idxCnt, ":")
652684 if ((size(parts) != 2))
653685 then throw("Incorrect format, should be index:amount")
666698 let head = take(pList, (8 * productIdx))
667699 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
668700 let tail = drop(pList, (8 * (productIdx + 1)))
701+ let recipe = split(productionMatrix[productIdx], "_")
669702 if (if (!(isPositive))
670703 then (count > curr)
671704 else false)
672705 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
673706 else {
674- let isBigItem = if (!(isPositive))
707+ let isBigItem = if (if (!(isPositive))
708+ then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
709+ else false)
675710 then {
676- let compat = split(productionMatrix[productIdx], "_")[rIdxSlots]
711+ let compat = recipe[rIdxSlots]
677712 if ((compat == ""))
678713 then throw("Item cannot be equipped")
679714 else {
706741 }
707742
708743
709-func slotsGroupB (g,bpIn,isPositive,segment,mainAux) = if ((g != ""))
744+func slotsGroupB (g,bpIn,isPositive,segment,mainAux,reqs) = if ((g != ""))
710745 then {
711746 let slots = split(g, ",")
712747 if ((size(slots) > MAXSLOTS))
722757 then bpIn
723758 else {
724759 let tmpS0 = if ((s0 != ""))
725- then addProdB(s0, bpIn, isPositive, segment, mainAux, 0)
760+ then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, reqs)
726761 else $Tuple2(bpIn, false)
727762 if ((s1 != ""))
728763 then if (tmpS0._2)
729764 then throw("Big item already occupies slot")
730- else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1)._1
765+ else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, reqs)._1
731766 else tmpS0._1
732767 }
733768 }
735770 else bpIn
736771
737772
738-func dressB (segList,pBytes,isPositive) = {
773+func dressB (segList,pBytes,isPositive,reqs) = {
739774 func segment (acc,seg) = {
740775 let j = acc._1
741776 let mainAux = split(seg, ";")
749784 else false)
750785 then $Tuple2((j + 1), acc._2)
751786 else {
752- let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0)
753- $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1))
787+ let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, reqs)
788+ $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, reqs))
754789 }
755790 }
756791 }
12851320
12861321
12871322 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1288- let $t03158832127 = if ((claimMode == claimModeWh))
1323+ let $t02895229491 = if ((claimMode == claimModeWh))
12891324 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
12901325 else {
12911326 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
12951330 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
12961331 else $Tuple2(loc[locIdxId], duckAssetId)
12971332 }
1298- let landAssetId = $t03158832127._1
1299- let duckId = $t03158832127._2
1333+ let landAssetId = $t02895229491._1
1334+ let duckId = $t02895229491._2
13001335 let asset = value(assetInfo(fromBase58String(landAssetId)))
13011336 let timeKey = keyStakedTimeByAssetId(landAssetId)
13021337 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13441379 let currentPack = getBackpack(bpKey)
13451380 let currentPackRes = split(currentPack[bpIdxRes], "_")
13461381 let currentWhRes = split(currentWh[whIdxRes], "_")
1347- let $t03450135372 = if ((claimMode == claimModeWh))
1382+ let $t03186532736 = if ((claimMode == claimModeWh))
13481383 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13491384 else if ((claimMode == claimModeDuck))
13501385 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13531388 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13541389 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13551390 }
1356- let whRes = $t03450135372._1
1357- let bpRes = $t03450135372._2
1358- let loftO = $t03450135372._3
1359- let loftF = $t03450135372._4
1391+ let whRes = $t03186532736._1
1392+ let bpRes = $t03186532736._2
1393+ let loftO = $t03186532736._3
1394+ let loftF = $t03186532736._4
13601395 $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]], "_")])
13611396 }
13621397 }
25032538 if ((size(newEq) != NUMSEGMENTS))
25042539 then throw("Wrong equipment string")
25052540 else {
2506- let bpProd = currentPack[bpIdxProd]
2507- let tempProdB = dressB(currentSegs, prodStrToBytes(bpProd), true)
2508- let newProdB = dressB(newEq, tempProdB, false)
2541+ let reqs = getDuckStats(this, duckAssetId)
2542+ let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, reqs)
2543+ let newProdB = dressB(newEq, tempProdB, false, reqs)
25092544 let newProdStr = bytesToProdStr(newProdB)
25102545 $Tuple2([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProdStr], ":")), prologAction], 0)
25112546 }
25122547 }
25132548 }
2514-
2515-
2516-
2517-@Callable(i)
2518-func test () = if ((i.caller != this))
2519- then throw("Access denied")
2520- else {
2521- let a = prodStrToBytes("")
2522- let b = bytesToProdStr(a)
2523- $Tuple2(nil, b)
2524- }
25252549
25262550
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
15+let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"]
16+
1517 let charStrength = 0
1618
1719 let charAccuracy = 1
1820
1921 let charIntellect = 2
2022
2123 let charEndurance = 3
2224
2325 let charDexterity = 4
2426
2527 let NUMSEGMENTS = 6
2628
2729 let NUMMAINAUX = 2
2830
2931 let MAXSLOTS = 2
32+
33+func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
34+
3035
3136 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
3237
3338
3439 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
3540
3641
3742 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
3843
3944
4045 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
4146
4247
4348 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
4449
4550
4651 func keyUserXP (addr) = ("userXP_" + addr)
4752
4853
4954 func keyUserLevel (addr) = ("userLevel_" + addr)
5055
5156
5257 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
5358
5459
5560 let xpClaim = 100000
5661
5762 let xpSuccessFlight = 50000
5863
5964 let xpFailFlight = 10000
6065
6166 let xpCallES = 100000
6267
6368 let xpCustomName = 5000000
6469
6570 let xpNewSLand = 50000000
6671
6772 let xpUpgradeInfra = 100000
6873
6974 let xpMerge = 10000000
7075
7176 let xpOnboard = 10000000
7277
7378 let xpHeal = 10000
7479
7580 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
7681
7782
7883 func maxHealth (level) = (100 + level)
7984
8085
8186 func levelUp (currLevel,newXP) = {
8287 let newLevel = levelByXP(newXP)
8388 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
8489 }
8590
8691
92+func getDuckStats (stakingContract,duckAssetId) = {
93+ let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_")
94+ let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
95+ let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl))
96+[parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health]
97+ }
98+
99+
87100 let LANDPREFIX = "LAND"
88101
89102 let DUCKPREFIX = "DUCK"
90103
91104 let ARTPRESALE = "PRESALE"
92105
93106 let NUMRES = 6
94107
95108 let DAILYRESBYPIECE = 3456000
96109
97110 let DAYMILLIS = 86400000
98111
99112 let WHMULTIPLIER = 10000000000
100113
101114 let DEFAULTLOCATION = "Africa_F_Africa"
102115
103116 let RESOURCEPRICEMIN = 39637
104117
105118 let ESSELLCOEF = 10
106119
107120 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"]
108121
109122 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
110123
111124 let COEFF2MAT = 10000000
112125
113126 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"]
114127
115128 let rIdxCoeff = 6
116129
130+let rIdxRequirements = 9
131+
117132 let rIdxSlots = 10
118133
119134 let PRODUCTPKGSIZE = 10
120135
121136 let whIdxLevels = 0
122137
123138 let whIdxRes = 1
124139
125140 let whIdxMat = 2
126141
127142 let whIdxProd = 3
128143
129144 let whIdxLOFT = 4
130145
131146 let volLocked = 0
132147
133148 let volOccupied = 1
134149
135150 let volFree = 2
136151
137152 let volTotal = 3
138153
139154 let bpIdxLevel = 0
140155
141156 let bpIdxRes = 1
142157
143158 let bpIdxMat = 2
144159
145160 let bpIdxProd = 3
146161
147162 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
148163
149164
150165 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
151166
152167
153168 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
154169
155170
156171 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
157172
158173
159174 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
160175
161176
162177 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
163178
164179
165180 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
166181
167182
168183 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
169184
170185
171186 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
172187
173188
174189 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
175190
176191
177192 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
178193
179194
180195 func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId)
181196
182197
183198 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
184199
185200
186201 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
187202
188203
189204 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
190205
191206
192207 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
193208
194209
195210 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
196211
197212
198213 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
199-
200-
201-func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
202214
203215
204216 func keyBlocked () = "contractsBlocked"
205217
206218
207219 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
208220
209221
210222 func keyEsWarehouse () = "emergencyWarehouseProducts"
211223
212224
213225 let locIdxType = 1
214226
215227 let locIdxId = 2
216228
217229 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
218230
219231
220232 let KSALLOWXPLEVELS = true
221233
222234 let chain = take(drop(this.bytes, 1), 1)
223235
224236 let usdtAssetId = match chain {
225237 case _ =>
226238 if ((base58'2W' == $match0))
227239 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
228240 else if ((base58'2T' == $match0))
229241 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
230242 else throw("Unknown chain")
231243 }
232244
233245 let defaultRestAddressStr = match chain {
234246 case _ =>
235247 if ((base58'2W' == $match0))
236248 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
237249 else if ((base58'2T' == $match0))
238250 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
239251 else throw("Unknown chain")
240252 }
241253
242254 let InfraUpgradeCostS = match chain {
243255 case _ =>
244256 if ((base58'2W' == $match0))
245257 then 10000000000
246258 else if ((base58'2T' == $match0))
247259 then 100000000
248260 else throw("Unknown chain")
249261 }
250262
251263 let arbitrageDelay = match chain {
252264 case _ =>
253265 if ((base58'2W' == $match0))
254266 then 600000
255267 else if ((base58'2T' == $match0))
256268 then 60000
257269 else throw("Unknown chain")
258270 }
259271
260272 let SEP = "__"
261273
262274 let MULT6 = 1000000
263275
264276 let MULT8 = 100000000
265277
266278 let SSIZE = 25
267279
268280 let MSIZE = 100
269281
270282 let LSIZE = 225
271283
272284 let XLSIZE = 400
273285
274286 let XXLSIZE = 625
275287
276288 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
277289
278290
279291 let IdxCfgStakingDapp = 1
280292
281293 let IdxCfgEconomyDapp = 2
282294
283295 let IdxCfgGovernanceDapp = 3
284296
285297 let IdxCfgWlgDapp = 4
286298
287299 func keyRestCfg () = "%s__restConfig"
288300
289301
290302 func keyRestAddress () = "%s__restAddr"
291303
292304
293305 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
294306
295307
296308 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
297309
298310
299311 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
300312
301313 let restCfg = readRestCfgOrFail(restContract)
302314
303315 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
304316
305317 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
306318
307319 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
308320
309321 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
310322
311323 let recLandNum = 0
312324
313325 let recLandSize = 1
314326
315327 let recTerrains = 2
316328
317329 let recContinent = 3
318330
319331 func keyResProportions () = "resTypesProportions"
320332
321333
322334 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
323335
324336
325337 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
326338
327339
328340 func asString (v) = match v {
329341 case s: String =>
330342 s
331343 case _ =>
332344 throw("fail to cast into String")
333345 }
334346
335347
336348 func asInt (v) = match v {
337349 case n: Int =>
338350 n
339351 case _ =>
340352 throw("fail to cast into Int")
341353 }
342354
343355
344356 func numPiecesBySize (landSize) = match landSize {
345357 case _ =>
346358 if (("S" == $match0))
347359 then SSIZE
348360 else if (("M" == $match0))
349361 then MSIZE
350362 else if (("L" == $match0))
351363 then LSIZE
352364 else if (("XL" == $match0))
353365 then XLSIZE
354366 else if (("XXL" == $match0))
355367 then XXLSIZE
356368 else throw("Unknown land size")
357369 }
358370
359371
360372 let incubatorAddr = match chain {
361373 case _ =>
362374 if ((base58'2W' == $match0))
363375 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
364376 else if ((base58'2T' == $match0))
365377 then this
366378 else throw("Unknown chain")
367379 }
368380
369381 let breederAddr = match chain {
370382 case _ =>
371383 if ((base58'2W' == $match0))
372384 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
373385 else if ((base58'2T' == $match0))
374386 then this
375387 else throw("Unknown chain")
376388 }
377389
378390 let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
379391
380392 let medKitHp = [30, 60, 120]
381393
382394 let FIVEMINUTESMILLIS = 300000
383395
384396 let RENAMINGCOST = 5000000
385397
386398 let MAXNAMELEN = 50
387399
388400 let InfraUpgradeCostSUsdt = 10000000
389401
390402 let EXPMATERIALS = match chain {
391403 case _ =>
392404 if ((base58'2W' == $match0))
393405 then 252289527462
394406 else if ((base58'2T' == $match0))
395407 then 2522895274
396408 else throw("Unknown chain")
397409 }
398410
399411 let EXPUSDT = match chain {
400412 case _ =>
401413 if ((base58'2W' == $match0))
402414 then 250000000
403415 else if ((base58'2T' == $match0))
404416 then 250000000
405417 else throw("Unknown chain")
406418 }
407419
408420 let FIVEX = toBigInt(5)
409421
410422 let TWENTYX = toBigInt(20)
411423
412424 let TWENTY2X = toBigInt((20 * 20))
413425
414426 let TWENTY3X = toBigInt(((20 * 20) * 20))
415427
416428 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
417429
418430 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
419431
420432 let PRESALENUMLANDS = 500
421433
422434 func keyNextFreeLandNum () = "nextLandNum"
423435
424436
425437 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
426438
427439
428440 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
429441
430442
431443 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
432444
433445
434446 func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_")
435447
436448
437449 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
438450
439451
440452 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
441453
442454
443455 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
444456
445457
446458 func keyOldies () = "oldiesList"
447459
448460
449461 let claimModeWh = 0
450462
451463 let claimModeDuck = 1
452464
453465 let claimModeWhThenDuck = 2
454466
455467 let flHealth = 0
456468
457469 let flTimestamp = 5
458470
459471 let flBonus = 6
460472
461473 let flProdsUsed = 7
462474
463475 func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
464476
465477
466478 func distributeByWeights (total,weights) = {
467479 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
468480 if ((0 >= sum))
469481 then throw("Zero weights sum")
470482 else {
471483 let norm6 = fraction(total, MULT6, sum)
472484 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
473485
474486 let $l = weights
475487 let $s = size($l)
476488 let $acc0 = nil
477489 func $f0_1 ($a,$i) = if (($i >= $s))
478490 then $a
479491 else normalizer($a, $l[$i])
480492
481493 func $f0_2 ($a,$i) = if (($i >= $s))
482494 then $a
483495 else throw("List size exceeds 6")
484496
485497 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
486498 }
487499 }
488500
489501
490502 func getNeededMaterials (total) = {
491503 let props = split(value(getString(keyResProportions())), "_")
492504 if ((size(props) != NUMRES))
493505 then throw("Wrong proportions data")
494506 else {
495507 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
496508 distributeByWeights(total, r)
497509 }
498510 }
499511
500512
501513 func subtractMaterials (shouldUseMat,has,totalNeed) = {
502514 let need = getNeededMaterials(totalNeed)
503515 func subtractor (acc,idx) = {
504516 let result = (parseIntValue(has[idx]) - need[idx])
505517 if ((0 > result))
506518 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
507519 else (acc :+ toString(result))
508520 }
509521
510522 if (shouldUseMat)
511523 then {
512524 let $l = [0, 1, 2, 3, 4, 5]
513525 let $s = size($l)
514526 let $acc0 = nil
515527 func $f0_1 ($a,$i) = if (($i >= $s))
516528 then $a
517529 else subtractor($a, $l[$i])
518530
519531 func $f0_2 ($a,$i) = if (($i >= $s))
520532 then $a
521533 else throw("List size exceeds 6")
522534
523535 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
524536 }
525537 else has
526538 }
527539
528540
529541 func subtractProducts (pHas,pUsed) = if ((pUsed == ""))
530542 then pHas
531543 else {
532544 let pList = if ((pHas == ""))
533545 then nil
534546 else split(pHas, "_")
535547 func subP (acc,item) = {
536548 let j = acc._1
537549 func checkUsed (ac,idxAmt) = {
538550 let parts = split(idxAmt, ",")
539551 if ((size(parts) != 2))
540552 then throw("Incorrect format, should be index,amount")
541553 else {
542554 let idx = parseIntValue(parts[0])
543555 if (if ((0 > idx))
544556 then true
545557 else (idx >= size(productionMatrix)))
546558 then throw("Unknown product idx")
547559 else if ((idx != j))
548560 then ac
549561 else {
550562 let amt = parseIntValue(parts[1])
551563 if ((0 >= amt))
552564 then throw("Pass only positive amounts")
553565 else (ac + amt)
554566 }
555567 }
556568 }
557569
558570 let a = {
559571 let $l = split(pUsed, "_")
560572 let $s = size($l)
561573 let $acc0 = 0
562574 func $f0_1 ($a,$i) = if (($i >= $s))
563575 then $a
564576 else checkUsed($a, $l[$i])
565577
566578 func $f0_2 ($a,$i) = if (($i >= $s))
567579 then $a
568580 else throw("List size exceeds 10")
569581
570582 $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)
571583 }
572584 let curr = if ((size(pList) > j))
573585 then parseIntValue(pList[j])
574586 else 0
575587 let newAmt = if ((curr >= a))
576588 then (curr - a)
577589 else throw(((((("You have " + toString(curr)) + " of ") + prodTypes[j]) + ", but tried to use ") + toString(a)))
578590 $Tuple2((j + 1), (acc._2 :+ toString(newAmt)))
579591 }
580592
581593 let newProd = {
582594 let $l = productionMatrix
583595 let $s = size($l)
584596 let $acc0 = $Tuple2(0, nil)
585597 func $f0_1 ($a,$i) = if (($i >= $s))
586598 then $a
587599 else subP($a, $l[$i])
588600
589601 func $f0_2 ($a,$i) = if (($i >= $s))
590602 then $a
591603 else throw("List size exceeds 50")
592604
593605 $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)
594606 }
595607 makeString(newProd._2, "_")
596608 }
597609
598610
599611 func prodStrToBytes (prodStr) = {
600612 let pList = if ((prodStr == ""))
601613 then nil
602614 else split(prodStr, "_")
603615 func toBV (acc,recipe) = {
604616 let j = (size(acc) / 8)
605617 let curr = if ((size(pList) > j))
606618 then parseIntValue(pList[j])
607619 else 0
608620 (acc + toBytes(curr))
609621 }
610622
611623 let $l = productionMatrix
612624 let $s = size($l)
613625 let $acc0 = base58''
614626 func $f0_1 ($a,$i) = if (($i >= $s))
615627 then $a
616628 else toBV($a, $l[$i])
617629
618630 func $f0_2 ($a,$i) = if (($i >= $s))
619631 then $a
620632 else throw("List size exceeds 50")
621633
622634 $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)
623635 }
624636
625637
626638 func bytesToProdStr (bv) = {
627639 func fromBV (acc,recipe) = {
628640 let j = size(acc)
629641 let b = take(drop(bv, (8 * j)), 8)
630642 (acc :+ toString(toInt(b)))
631643 }
632644
633645 makeString({
634646 let $l = productionMatrix
635647 let $s = size($l)
636648 let $acc0 = nil
637649 func $f0_1 ($a,$i) = if (($i >= $s))
638650 then $a
639651 else fromBV($a, $l[$i])
640652
641653 func $f0_2 ($a,$i) = if (($i >= $s))
642654 then $a
643655 else throw("List size exceeds 50")
644656
645657 $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)
646658 }, "_")
647659 }
648660
649661
650-func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot) = {
662+func checkStatRequirements (duckStats,reqs) = {
663+ func check (acc,j) = if ((parseIntValue(reqs[j]) > duckStats[j]))
664+ then throw(("Requirement not satisfied: " + requirements[j]))
665+ else true
666+
667+ let $l = [0, 1, 2, 3, 4, 5, 6]
668+ let $s = size($l)
669+ let $acc0 = false
670+ func $f0_1 ($a,$i) = if (($i >= $s))
671+ then $a
672+ else check($a, $l[$i])
673+
674+ func $f0_2 ($a,$i) = if (($i >= $s))
675+ then $a
676+ else throw("List size exceeds 7")
677+
678+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7)
679+ }
680+
681+
682+func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = {
651683 let parts = split(idxCnt, ":")
652684 if ((size(parts) != 2))
653685 then throw("Incorrect format, should be index:amount")
654686 else {
655687 let productIdx = parseIntValue(parts[0])
656688 let count = parseIntValue(parts[1])
657689 if (if ((0 > productIdx))
658690 then true
659691 else (productIdx >= size(productionMatrix)))
660692 then throw("Unknown product idx")
661693 else if ((0 > count))
662694 then throw("Count can't be negative")
663695 else if ((count == 0))
664696 then $Tuple2(pList, false)
665697 else {
666698 let head = take(pList, (8 * productIdx))
667699 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
668700 let tail = drop(pList, (8 * (productIdx + 1)))
701+ let recipe = split(productionMatrix[productIdx], "_")
669702 if (if (!(isPositive))
670703 then (count > curr)
671704 else false)
672705 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
673706 else {
674- let isBigItem = if (!(isPositive))
707+ let isBigItem = if (if (!(isPositive))
708+ then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
709+ else false)
675710 then {
676- let compat = split(productionMatrix[productIdx], "_")[rIdxSlots]
711+ let compat = recipe[rIdxSlots]
677712 if ((compat == ""))
678713 then throw("Item cannot be equipped")
679714 else {
680715 let c = parseIntValue(compat)
681716 let cSeg = (c / 100)
682717 if ((segment != cSeg))
683718 then throw("Segment incompatible")
684719 else {
685720 let cMainAux = ((c % 100) / 10)
686721 if ((mainAux != cMainAux))
687722 then throw("Slot incompatible")
688723 else {
689724 let cNumSlots = (c % 10)
690725 if (if ((slot != 0))
691726 then (cNumSlots > 1)
692727 else false)
693728 then throw("Big items should occupy slot 0")
694729 else (cNumSlots > 1)
695730 }
696731 }
697732 }
698733 }
699734 else false
700735 $Tuple2(((head + toBytes((curr + (if (isPositive)
701736 then count
702737 else -(count))))) + tail), isBigItem)
703738 }
704739 }
705740 }
706741 }
707742
708743
709-func slotsGroupB (g,bpIn,isPositive,segment,mainAux) = if ((g != ""))
744+func slotsGroupB (g,bpIn,isPositive,segment,mainAux,reqs) = if ((g != ""))
710745 then {
711746 let slots = split(g, ",")
712747 if ((size(slots) > MAXSLOTS))
713748 then throw("Wrong slots format")
714749 else {
715750 let s0 = slots[0]
716751 let s1 = if ((size(slots) > 1))
717752 then slots[1]
718753 else ""
719754 if (if ((s0 == ""))
720755 then (s1 == "")
721756 else false)
722757 then bpIn
723758 else {
724759 let tmpS0 = if ((s0 != ""))
725- then addProdB(s0, bpIn, isPositive, segment, mainAux, 0)
760+ then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, reqs)
726761 else $Tuple2(bpIn, false)
727762 if ((s1 != ""))
728763 then if (tmpS0._2)
729764 then throw("Big item already occupies slot")
730- else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1)._1
765+ else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, reqs)._1
731766 else tmpS0._1
732767 }
733768 }
734769 }
735770 else bpIn
736771
737772
738-func dressB (segList,pBytes,isPositive) = {
773+func dressB (segList,pBytes,isPositive,reqs) = {
739774 func segment (acc,seg) = {
740775 let j = acc._1
741776 let mainAux = split(seg, ";")
742777 if ((size(mainAux) != NUMMAINAUX))
743778 then throw("Wrong segment format")
744779 else {
745780 let m = mainAux[0]
746781 let a = mainAux[1]
747782 if (if ((m == ""))
748783 then (a == "")
749784 else false)
750785 then $Tuple2((j + 1), acc._2)
751786 else {
752- let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0)
753- $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1))
787+ let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, reqs)
788+ $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, reqs))
754789 }
755790 }
756791 }
757792
758793 ( let $l = segList
759794 let $s = size($l)
760795 let $acc0 = $Tuple2(0, pBytes)
761796 func $f0_1 ($a,$i) = if (($i >= $s))
762797 then $a
763798 else segment($a, $l[$i])
764799
765800 func $f0_2 ($a,$i) = if (($i >= $s))
766801 then $a
767802 else throw("List size exceeds 6")
768803
769804 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2
770805 }
771806
772807
773808 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
774809 then throw("Wrong proportions data")
775810 else {
776811 func updater (acc,i) = {
777812 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
778813 if ((0 > result))
779814 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
780815 else (acc :+ toString(result))
781816 }
782817
783818 let r = {
784819 let $l = [0, 1, 2, 3, 4, 5]
785820 let $s = size($l)
786821 let $acc0 = nil
787822 func $f0_1 ($a,$i) = if (($i >= $s))
788823 then $a
789824 else updater($a, $l[$i])
790825
791826 func $f0_2 ($a,$i) = if (($i >= $s))
792827 then $a
793828 else throw("List size exceeds 6")
794829
795830 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
796831 }
797832 makeString(r, "_")
798833 }
799834
800835
801836 func updateProportions (terrainCounts,landSizeIndex,sign) = {
802837 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
803838 updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign)
804839 }
805840
806841
807842 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)]
808843
809844
810845 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
811846 func adder (acc,i) = {
812847 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
813848 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
814849 }
815850
816851 let r = {
817852 let $l = [0, 1, 2, 3, 4, 5]
818853 let $s = size($l)
819854 let $acc0 = nil
820855 func $f0_1 ($a,$i) = if (($i >= $s))
821856 then $a
822857 else adder($a, $l[$i])
823858
824859 func $f0_2 ($a,$i) = if (($i >= $s))
825860 then $a
826861 else throw("List size exceeds 6")
827862
828863 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
829864 }
830865 makeString(r, "_")
831866 }
832867
833868
834869 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
835870 func adder (acc,i) = {
836871 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
837872 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
838873 }
839874
840875 let $l = [0, 1, 2, 3, 4, 5]
841876 let $s = size($l)
842877 let $acc0 = $Tuple2(nil, 0)
843878 func $f0_1 ($a,$i) = if (($i >= $s))
844879 then $a
845880 else adder($a, $l[$i])
846881
847882 func $f0_2 ($a,$i) = if (($i >= $s))
848883 then $a
849884 else throw("List size exceeds 6")
850885
851886 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
852887 }
853888
854889
855890 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
856891 let resListToClaim = resToClaim._1
857892 let resAmToClaim = resToClaim._2
858893 if ((resAmToClaim == 0))
859894 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
860895 else if ((whSpaceLeft >= resAmToClaim))
861896 then {
862897 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
863898
864899 let r = {
865900 let $l = [0, 1, 2, 3, 4, 5]
866901 let $s = size($l)
867902 let $acc0 = nil
868903 func $f0_1 ($a,$i) = if (($i >= $s))
869904 then $a
870905 else addLists($a, $l[$i])
871906
872907 func $f0_2 ($a,$i) = if (($i >= $s))
873908 then $a
874909 else throw("List size exceeds 6")
875910
876911 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
877912 }
878913 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
879914 }
880915 else {
881916 func addPartLists (acc,i) = {
882917 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
883918 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
884919 }
885920
886921 let r = {
887922 let $l = [0, 1, 2, 3, 4, 5]
888923 let $s = size($l)
889924 let $acc0 = $Tuple2(nil, nil)
890925 func $f0_1 ($a,$i) = if (($i >= $s))
891926 then $a
892927 else addPartLists($a, $l[$i])
893928
894929 func $f0_2 ($a,$i) = if (($i >= $s))
895930 then $a
896931 else throw("List size exceeds 6")
897932
898933 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
899934 }
900935 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
901936 }
902937 }
903938
904939
905940 func abs (x) = if ((x >= toBigInt(0)))
906941 then x
907942 else -(x)
908943
909944
910945 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]]
911946
912947 func genChar (n,freqs) = {
913948 let rem = toInt((n % TWENTYX))
914949 let letter = if ((freqs[0] > rem))
915950 then "A"
916951 else if ((freqs[1] > rem))
917952 then "B"
918953 else if ((freqs[2] > rem))
919954 then "C"
920955 else if ((freqs[3] > rem))
921956 then "D"
922957 else if ((freqs[4] > rem))
923958 then "E"
924959 else "F"
925960 letter
926961 }
927962
928963
929964 func genTerrains (seed,continentIdx) = {
930965 let f = freq[continentIdx]
931966 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))
932967
933968 let t = {
934969 let $l = [1, 2, 3, 4, 5]
935970 let $s = size($l)
936971 let $acc0 = $Tuple2("", (seed / FIVEX))
937972 func $f0_1 ($a,$i) = if (($i >= $s))
938973 then $a
939974 else terrainGenerator($a, $l[$i])
940975
941976 func $f0_2 ($a,$i) = if (($i >= $s))
942977 then $a
943978 else throw("List size exceeds 5")
944979
945980 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
946981 }
947982 t._1
948983 }
949984
950985
951986 func getBackpack (bpKey) = {
952987 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
953988 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
954989 then p[bpIdxRes]
955990 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
956991 then p[bpIdxMat]
957992 else "0_0_0_0_0_0", p[bpIdxProd]]
958993 }
959994
960995
961996 func getWarehouseTotalVolume (volPrefix) = {
962997 let parts = split(volPrefix, "_")
963998 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
964999 }
9651000
9661001
9671002 func getWarehouseOccupiedVol (currentWh) = {
9681003 let goods = currentWh[whIdxProd]
9691004 func sumResMat (acc,item) = (acc + parseIntValue(item))
9701005
9711006 func sumProd (acc,item) = {
9721007 let idx = acc._1
9731008 let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE)
9741009 $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8)))
9751010 }
9761011
9771012 let whResVol = {
9781013 let $l = split(currentWh[whIdxRes], "_")
9791014 let $s = size($l)
9801015 let $acc0 = 0
9811016 func $f0_1 ($a,$i) = if (($i >= $s))
9821017 then $a
9831018 else sumResMat($a, $l[$i])
9841019
9851020 func $f0_2 ($a,$i) = if (($i >= $s))
9861021 then $a
9871022 else throw("List size exceeds 6")
9881023
9891024 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
9901025 }
9911026 let whMatVol = {
9921027 let $l = split(currentWh[whIdxMat], "_")
9931028 let $s = size($l)
9941029 let $acc0 = 0
9951030 func $f1_1 ($a,$i) = if (($i >= $s))
9961031 then $a
9971032 else sumResMat($a, $l[$i])
9981033
9991034 func $f1_2 ($a,$i) = if (($i >= $s))
10001035 then $a
10011036 else throw("List size exceeds 6")
10021037
10031038 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10041039 }
10051040 let whGoodsVol = if ((goods == ""))
10061041 then 0
10071042 else ( let $l = split_4C(goods, "_")
10081043 let $s = size($l)
10091044 let $acc0 = $Tuple2(0, 0)
10101045 func $f2_1 ($a,$i) = if (($i >= $s))
10111046 then $a
10121047 else sumProd($a, $l[$i])
10131048
10141049 func $f2_2 ($a,$i) = if (($i >= $s))
10151050 then $a
10161051 else throw("List size exceeds 50")
10171052
10181053 $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
10191054 ((whResVol + whMatVol) + whGoodsVol)
10201055 }
10211056
10221057
10231058 func getWarehouse (whKey,landIndex,infraLevel) = {
10241059 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
10251060 let whTotal = getWarehouseTotalVolume(volPrefix)
10261061 let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0"))
10271062 let wh = split_4C(whStr, ":")
10281063 let whOccupied = getWarehouseOccupiedVol(wh)
10291064 let whLoft = if ((5 > size(wh)))
10301065 then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_")
10311066 else {
10321067 let loft = split(wh[whIdxLOFT], "_")
10331068 let whLocked = parseIntValue(loft[volLocked])
10341069 let occ = if ((size(loft) > 1))
10351070 then parseIntValue(loft[volOccupied])
10361071 else whOccupied
10371072 makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_")
10381073 }
10391074 [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES))
10401075 then wh[whIdxRes]
10411076 else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES))
10421077 then wh[whIdxMat]
10431078 else "0_0_0_0_0_0", wh[whIdxProd], whLoft]
10441079 }
10451080
10461081
10471082 func getWarehouseSpaceLeft (currentWh) = {
10481083 let occupiedVol = getWarehouseOccupiedVol(currentWh)
10491084 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
10501085 ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol)
10511086 }
10521087
10531088
10541089 func toVolume (amount,pkgSize) = {
10551090 let pkgs = if ((amount >= 0))
10561091 then (((amount + pkgSize) - 1) / pkgSize)
10571092 else -((((-(amount) + pkgSize) - 1) / pkgSize))
10581093 (pkgs * MULT8)
10591094 }
10601095
10611096
10621097 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
10631098 then throw("cargoListStr should contain exactly 2 ':' separators")
10641099 else {
10651100 let resParts = split(cargoParts[0], "_")
10661101 let matParts = split(cargoParts[1], "_")
10671102 let prodParts = if ((cargoParts[2] == ""))
10681103 then nil
10691104 else split(cargoParts[2], "_")
10701105 if ((size(resParts) != NUMRES))
10711106 then throw("All 6 resources should be passed")
10721107 else if ((size(matParts) != NUMRES))
10731108 then throw("All 6 materials should be passed")
10741109 else {
10751110 let whSpaceLeft = getWarehouseSpaceLeft(currentWh)
10761111 let currWhRes = split(currentWh[whIdxRes], "_")
10771112 let currWhMat = split(currentWh[whIdxMat], "_")
10781113 let currWhProd = if ((currentWh[whIdxProd] == ""))
10791114 then nil
10801115 else split(currentWh[whIdxProd], "_")
10811116 let currentPackRes = split(currentPack[bpIdxRes], "_")
10821117 let currentPackMat = split(currentPack[bpIdxMat], "_")
10831118 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
10841119 then nil
10851120 else split(currentPack[bpIdxProd], "_")
10861121 func mvR (acc,item) = {
10871122 let i = acc._1
10881123 let am = parseIntValue(item)
10891124 let whr = parseIntValue(currWhRes[i])
10901125 let bpr = parseIntValue(currentPackRes[i])
10911126 if ((am == 0))
10921127 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
10931128 else if ((am > 0))
10941129 then if ((am > bpr))
10951130 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
10961131 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
10971132 else if ((-(am) > whr))
10981133 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
10991134 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
11001135 }
11011136
11021137 let r = {
11031138 let $l = resParts
11041139 let $s = size($l)
11051140 let $acc0 = $Tuple4(0, nil, nil, 0)
11061141 func $f0_1 ($a,$i) = if (($i >= $s))
11071142 then $a
11081143 else mvR($a, $l[$i])
11091144
11101145 func $f0_2 ($a,$i) = if (($i >= $s))
11111146 then $a
11121147 else throw("List size exceeds 6")
11131148
11141149 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11151150 }
11161151 func mvM (acc,item) = {
11171152 let i = acc._1
11181153 let am = parseIntValue(item)
11191154 let whm = parseIntValue(currWhMat[i])
11201155 let bpm = parseIntValue(currentPackMat[i])
11211156 if ((am == 0))
11221157 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
11231158 else if ((am > 0))
11241159 then if ((am > bpm))
11251160 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
11261161 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11271162 else if ((-(am) > whm))
11281163 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
11291164 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
11301165 }
11311166
11321167 let m = {
11331168 let $l = matParts
11341169 let $s = size($l)
11351170 let $acc0 = $Tuple4(0, nil, nil, r._4)
11361171 func $f1_1 ($a,$i) = if (($i >= $s))
11371172 then $a
11381173 else mvM($a, $l[$i])
11391174
11401175 func $f1_2 ($a,$i) = if (($i >= $s))
11411176 then $a
11421177 else throw("List size exceeds 6")
11431178
11441179 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11451180 }
11461181 func mvP (acc,item) = {
11471182 let i = acc._1
11481183 let am = parseIntValue(item)
11491184 let whp = if ((size(currWhProd) > i))
11501185 then parseIntValue(currWhProd[i])
11511186 else 0
11521187 let bpp = if ((size(currentPackProd) > i))
11531188 then parseIntValue(currentPackProd[i])
11541189 else 0
11551190 if ((am == 0))
11561191 then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4)
11571192 else if ((am > 0))
11581193 then if ((am > bpp))
11591194 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
11601195 else {
11611196 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11621197 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11631198 }
11641199 else if ((-(am) > whp))
11651200 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
11661201 else {
11671202 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
11681203 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
11691204 }
11701205 }
11711206
11721207 let p = if ((size(prodParts) != 0))
11731208 then {
11741209 let $l = prodParts
11751210 let $s = size($l)
11761211 let $acc0 = $Tuple4(0, nil, nil, m._4)
11771212 func $f2_1 ($a,$i) = if (($i >= $s))
11781213 then $a
11791214 else mvP($a, $l[$i])
11801215
11811216 func $f2_2 ($a,$i) = if (($i >= $s))
11821217 then $a
11831218 else throw("List size exceeds 50")
11841219
11851220 $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)
11861221 }
11871222 else $Tuple4(0, currWhProd, currentPackProd, m._4)
11881223 let volSaldo = p._4
11891224 if ((volSaldo > whSpaceLeft))
11901225 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
11911226 else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"), volSaldo)
11921227 }
11931228 }
11941229
11951230
11961231 func expeditionInternal (caller,txId) = {
11971232 let userAddr = toString(caller)
11981233 let bigNum = abs(toBigInt(txId))
11991234 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
12001235 let landNum = toString(freeNum)
12011236 let continentIdx = toInt((bigNum % FIVEX))
12021237 let terrains = genTerrains(bigNum, continentIdx)
12031238 let continent = continents[continentIdx]
12041239 let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
12051240 let assetId = calculateAssetId(issue)
12061241 let id = toBase58String(assetId)
12071242 $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))
12081243 }
12091244
12101245
12111246 func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
12121247 then throw("signature does not match")
12131248 else {
12141249 let parts = split(toUtf8String(message), ";")
12151250 let flightLog = split(parts[0], "|")
12161251 let hp = split(flightLog[flHealth], "_")
12171252 let curHP = parseIntValue(hp[0])
12181253 let newHP = parseIntValue(hp[1])
12191254 let newLocTxVer = split(parts[1], ":")
12201255 let newLocation = newLocTxVer[0]
12211256 let time = parseIntValue(flightLog[flTimestamp])
12221257 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
12231258 then true
12241259 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
12251260 then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp)))
12261261 else {
12271262 let txFromMsg = newLocTxVer[1]
12281263 let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "")
12291264 if ((lastTx != txFromMsg))
12301265 then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg))
12311266 else {
12321267 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
12331268 let keyHealth = keyDuckHealth(duckAssetId)
12341269 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
12351270 let oldFromState = valueOrElse(getInteger(keyHealth), maxHP)
12361271 if ((oldFromState != curHP))
12371272 then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP)))
12381273 else if ((0 >= curHP))
12391274 then throw("You can't fly with zero health")
12401275 else {
12411276 let bonus = if ((size(flightLog) > flBonus))
12421277 then flightLog[flBonus]
12431278 else ""
12441279 let prodUsed = if ((size(flightLog) > flProdsUsed))
12451280 then flightLog[flProdsUsed]
12461281 else ""
12471282 let sentAmount = if (if ((newHP > 0))
12481283 then (bonus == "$")
12491284 else false)
12501285 then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil))
12511286 else 0
12521287 $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed)
12531288 }
12541289 }
12551290 }
12561291 }
12571292
12581293
12591294 func expeditionCommon (caller,txId,message,sig) = {
12601295 let userAddr = toString(caller)
12611296 let f = flightCommon(userAddr, message, sig)
12621297 let keyHealth = keyDuckHealth(f._2)
12631298 let bpKey = keyBackpackByDuck(f._2)
12641299 let currentPack = getBackpack(bpKey)
12651300 let mList = split(currentPack[bpIdxMat], "_")
12661301 let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
12671302 let newProd = subtractProducts(currentPack[bpIdxProd], f._5)
12681303 if ((0 >= f._1))
12691304 then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":"))], "", 0)
12701305 else {
12711306 let e = expeditionInternal(caller, txId)
12721307 let id = e._2._1
12731308 $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)
12741309 }
12751310 }
12761311
12771312
12781313 func applyBonuses (landAssetId,pieces) = {
12791314 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
12801315 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
12811316 let add6 = (infraLevel / 6)
12821317 let add7 = (infraLevel / 7)
12831318 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
12841319 }
12851320
12861321
12871322 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1288- let $t03158832127 = if ((claimMode == claimModeWh))
1323+ let $t02895229491 = if ((claimMode == claimModeWh))
12891324 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
12901325 else {
12911326 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
12921327 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
12931328 let loc = split(value(curLocation), "_")
12941329 if ((loc[locIdxType] != "L"))
12951330 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
12961331 else $Tuple2(loc[locIdxId], duckAssetId)
12971332 }
1298- let landAssetId = $t03158832127._1
1299- let duckId = $t03158832127._2
1333+ let landAssetId = $t02895229491._1
1334+ let duckId = $t02895229491._2
13001335 let asset = value(assetInfo(fromBase58String(landAssetId)))
13011336 let timeKey = keyStakedTimeByAssetId(landAssetId)
13021337 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
13031338 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
13041339 if ((owner != addr))
13051340 then throw((LANDPREFIX + " is not yours"))
13061341 else {
13071342 let d = split(asset.description, "_")
13081343 $Tuple4(duckId, landAssetId, d, savedTime)
13091344 }
13101345 }
13111346
13121347
13131348 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
13141349 then throw("Negative amount")
13151350 else {
13161351 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
13171352 let landSize = c._3[recLandSize]
13181353 let terrainCounts = countTerrains(c._3[recTerrains])
13191354 let deltaTime = (lastBlock.timestamp - c._4)
13201355 if ((0 > deltaTime))
13211356 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
13221357 else {
13231358 let pieces = numPiecesBySize(landSize)
13241359 let dailyProductionByPiece = applyBonuses(c._2, pieces)
13251360 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
13261361 if ((amount > availRes))
13271362 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
13281363 else {
13291364 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
13301365 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
13311366 let landIndex = (pieces / SSIZE)
13321367 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
13331368 let whKey = keyWarehouseByLand(c._2)
13341369 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
13351370 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
13361371 let loft = split(currentWh[whIdxLOFT], "_")
13371372 let whSpaceLeft = parseIntValue(loft[volFree])
13381373 if (if ((claimMode == claimModeWh))
13391374 then (amount > whSpaceLeft)
13401375 else false)
13411376 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
13421377 else {
13431378 let bpKey = keyBackpackByDuck(c._1)
13441379 let currentPack = getBackpack(bpKey)
13451380 let currentPackRes = split(currentPack[bpIdxRes], "_")
13461381 let currentWhRes = split(currentWh[whIdxRes], "_")
1347- let $t03450135372 = if ((claimMode == claimModeWh))
1382+ let $t03186532736 = if ((claimMode == claimModeWh))
13481383 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
13491384 else if ((claimMode == claimModeDuck))
13501385 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
13511386 else {
13521387 let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
13531388 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
13541389 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
13551390 }
1356- let whRes = $t03450135372._1
1357- let bpRes = $t03450135372._2
1358- let loftO = $t03450135372._3
1359- let loftF = $t03450135372._4
1391+ let whRes = $t03186532736._1
1392+ let bpRes = $t03186532736._2
1393+ let loftO = $t03186532736._3
1394+ let loftF = $t03186532736._4
13601395 $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]], "_")])
13611396 }
13621397 }
13631398 }
13641399 }
13651400
13661401
13671402 func claimAll (addr,landAssetId,pieces,claimMode) = {
13681403 let timeKey = keyStakedTimeByAssetId(landAssetId)
13691404 let savedTime = value(getInteger(timeKey))
13701405 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
13711406 claimResInternal(addr, availRes, claimMode, landAssetId)
13721407 }
13731408
13741409
13751410 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
13761411 let addr = toString(caller)
13771412 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
13781413 let pieces = numPiecesBySize(c._3[recLandSize])
13791414 let infraKey = keyInfraLevelByAssetId(c._2)
13801415 let curLevel = valueOrElse(getInteger(infraKey), 0)
13811416 if ((curLevel >= 3))
13821417 then throw("Currently max infrastructure level = 3")
13831418 else {
13841419 let newLevel = (curLevel + 1)
13851420 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
13861421 if (if (!(shouldUseMat))
13871422 then (paymentAmount != cost)
13881423 else false)
13891424 then throw(("Payment attached should be " + toString(cost)))
13901425 else {
13911426 let bpKey = keyBackpackByDuck(c._1)
13921427 let currentPack = getBackpack(bpKey)
13931428 let mList = split(currentPack[bpIdxMat], "_")
13941429 let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)
13951430 let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_")
13961431 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
13971432 let whData = claimResult._5
13981433 let oldVol = getWarehouseTotalVolume(whData[whIdxLevels])
13991434 let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_")
14001435 let newVol = getWarehouseTotalVolume(newVolData)
14011436 let loft = split(whData[whIdxLOFT], "_")
14021437 let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_")
14031438 $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)
14041439 }
14051440 }
14061441 }
14071442
14081443
14091444 func updateDuckStatsInternal (duckAssetId,deltaXP) = if (!(KSALLOWXPLEVELS))
14101445 then $Tuple2(nil, 0)
14111446 else {
14121447 let lvlKey = keyDuckLevel(duckAssetId)
14131448 let xpKey = keyDuckXP(duckAssetId)
14141449 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14151450 let newXP = (xp + deltaXP)
14161451 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14171452 let keyPoints = keyDuckFreePoints(duckAssetId)
14181453 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14191454 }
14201455
14211456
14221457 func updateAccStatsInternal (addr,deltaXP) = if (!(KSALLOWXPLEVELS))
14231458 then $Tuple2(nil, 0)
14241459 else {
14251460 let lvlKey = keyUserLevel(addr)
14261461 let xpKey = keyUserXP(addr)
14271462 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
14281463 let newXP = (xp + deltaXP)
14291464 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
14301465 let keyPoints = keyUserFreePoints(addr)
14311466 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
14321467 }
14331468
14341469
14351470 func activateOnboardArt (addr) = {
14361471 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14371472 let refByKey = keyAddressRefBy(addr)
14381473 let refBy = getString(refByKey)
14391474 if (!(isDefined(refBy)))
14401475 then throw("You are not eligible for ONBOARD artifact")
14411476 else {
14421477 let artKey = keyOnboardArtDuckActivatedBy(addr)
14431478 let artDuck = getString(artKey)
14441479 if (isDefined(artDuck))
14451480 then throw(("You already used your ONBOARD artifact on duck " + value(artDuck)))
14461481 else {
14471482 let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId)
14481483 let duckActivator = getString(duckActivatorKey)
14491484 if (isDefined(duckActivator))
14501485 then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator)))
14511486 else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1)
14521487 }
14531488 }
14541489 }
14551490
14561491
14571492 func activatePresaleArt (addr,landAssetIdIn) = {
14581493 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
14591494 let landAssetId = c._2
14601495 let pieces = numPiecesBySize(c._3[recLandSize])
14611496 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
14621497 if ((valueOrElse(getInteger(activationKey), 0) > 0))
14631498 then throw("Presale artifact is already activated")
14641499 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
14651500 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
14661501 else {
14671502 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
14681503 ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
14691504 }
14701505 }
14711506
14721507
14731508 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = {
14741509 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
14751510 func checkMerge (acc,landAssetId) = {
14761511 let asset = value(assetInfo(fromBase58String(landAssetId)))
14771512 let timeKey = keyStakedTimeByAssetId(landAssetId)
14781513 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
14791514 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
14801515 if ((owner != addr))
14811516 then throw((LANDPREFIX + " is not yours"))
14821517 else {
14831518 let d = split(asset.description, "_")
14841519 let continent = d[recContinent]
14851520 if (if ((acc._3 != ""))
14861521 then (acc._3 != continent)
14871522 else false)
14881523 then throw("Lands should be on the same continent to merge")
14891524 else {
14901525 let landSize = d[recLandSize]
14911526 let sizesIn = acc._1
14921527 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
14931528 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
14941529 let pieces = numPiecesBySize(landSize)
14951530 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0))
14961531 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
14971532 let reqLevel = match landSize {
14981533 case _ =>
14991534 if (("S" == $match0))
15001535 then 3
15011536 else if (("M" == $match0))
15021537 then 4
15031538 else if (("L" == $match0))
15041539 then 5
15051540 else if (("XL" == $match0))
15061541 then 6
15071542 else throw("Only S, M, L, XL can merge")
15081543 }
15091544 if ((infraLevel != reqLevel))
15101545 then throw("All lands should be maxed to merge")
15111546 else {
15121547 let landNum = d[recLandNum]
15131548 let terrainCounts = countTerrains(d[recTerrains])
15141549 let deltaTime = (lastBlock.timestamp - savedTime)
15151550 if ((0 > deltaTime))
15161551 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
15171552 else {
15181553 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
15191554 let landIndex = (pieces / SSIZE)
15201555 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
15211556 let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1)
15221557 let lands = acc._7
15231558 let idx = indexOf(lands, landAssetId)
15241559 if (!(isDefined(idx)))
15251560 then throw(("Your staked lands don't contain " + landAssetId))
15261561 else {
15271562 let customKey = keyLandAssetIdToCustomName(landAssetId)
15281563 let customName = valueOrElse(getString(customKey), "")
15291564 $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))
15301565 }
15311566 }
15321567 }
15331568 }
15341569 }
15351570 }
15361571
15371572 let bpKey = keyBackpackByDuck(duckAssetId)
15381573 let currentPack = getBackpack(bpKey)
15391574 let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0")
15401575 let landsKey = keyStakedLandsByOwner(addr)
15411576 let landsStr = getString(landsKey)
15421577 let landsIn = if (isDefined(landsStr))
15431578 then split_51C(value(landsStr), "_")
15441579 else nil
15451580 let r = {
15461581 let $l = landAssetIds
15471582 let $s = size($l)
15481583 let $acc0 = $Tuple8(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn, 0)
15491584 func $f0_1 ($a,$i) = if (($i >= $s))
15501585 then $a
15511586 else checkMerge($a, $l[$i])
15521587
15531588 func $f0_2 ($a,$i) = if (($i >= $s))
15541589 then $a
15551590 else throw("List size exceeds 5")
15561591
15571592 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
15581593 }
15591594 let continent = r._3
15601595 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
15611596 let terrains = genTerrains(abs(toBigInt(txId)), continentIdx)
15621597 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
15631598 let newLandNum = toString(freeNum)
15641599 let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
15651600 let assetId = calculateAssetId(issue)
15661601 let newLandAssetId = toBase58String(assetId)
15671602 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
15681603 let piecesKey = keyStakedPiecesByOwner(addr)
15691604 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
15701605 $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0))
15711606 then StringEntry(landsKey, makeString_11C(r._7, "_"))
15721607 else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces))
15731608 then 0
15741609 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)
15751610 }
15761611
15771612
15781613 func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0)
15791614
15801615
15811616 func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
15821617 let cost = (InfraUpgradeCostSUsdt * 4)
15831618 if (if (!(shouldUseMat))
15841619 then (paymentAmount != cost)
15851620 else false)
15861621 then throw(("Payment attached should be " + toString(cost)))
15871622 else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4))
15881623 }
15891624
15901625
15911626 func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
15921627 let cost = (InfraUpgradeCostSUsdt * 47)
15931628 if (if (!(shouldUseMat))
15941629 then (paymentAmount != cost)
15951630 else false)
15961631 then throw(("Payment attached should be " + toString(cost)))
15971632 else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47))
15981633 }
15991634
16001635
16011636 func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = {
16021637 let cost = (InfraUpgradeCostSUsdt * 54)
16031638 if (if (!(shouldUseMat))
16041639 then (paymentAmount != cost)
16051640 else false)
16061641 then throw(("Payment attached should be " + toString(cost)))
16071642 else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54))
16081643 }
16091644
16101645
16111646 func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = {
16121647 let mergeResult = match size(landAssetIds) {
16131648 case _ =>
16141649 if ((4 == $match0))
16151650 then s2m(addr, landAssetIds, txId)
16161651 else if ((3 == $match0))
16171652 then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16181653 else if ((5 == $match0))
16191654 then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16201655 else if ((2 == $match0))
16211656 then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount)
16221657 else throw("Unknown merge")
16231658 }
16241659 mergeResult
16251660 }
16261661
16271662
16281663 func prolog (i) = if (if ((i.originCaller != restContract))
16291664 then valueOrElse(getBoolean(keyBlocked()), false)
16301665 else false)
16311666 then throw("Contracts are under maintenance")
16321667 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
16331668
16341669
16351670 @Callable(i)
16361671 func constructorV1 (restAddr) = if ((i.caller != this))
16371672 then throw("Permission denied")
16381673 else [StringEntry(keyRestAddress(), restAddr)]
16391674
16401675
16411676
16421677 @Callable(i)
16431678 func setBlocked (isBlocked) = if ((i.caller != this))
16441679 then throw("permission denied")
16451680 else [BooleanEntry(keyBlocked(), isBlocked)]
16461681
16471682
16481683
16491684 @Callable(i)
16501685 func stakeLand () = {
16511686 let prologAction = prolog(i)
16521687 if ((size(i.payments) != 1))
16531688 then throw("Exactly one payment required")
16541689 else {
16551690 let pmt = value(i.payments[0])
16561691 let assetId = value(pmt.assetId)
16571692 let address = toString(i.caller)
16581693 if ((pmt.amount != 1))
16591694 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
16601695 else {
16611696 let asset = value(assetInfo(assetId))
16621697 if ((asset.issuer != this))
16631698 then throw("Unknown issuer of token")
16641699 else if (!(contains(asset.name, LANDPREFIX)))
16651700 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
16661701 else {
16671702 let landNumSize = drop(asset.name, 4)
16681703 let landNum = if (contains(landNumSize, "XXL"))
16691704 then dropRight(landNumSize, 3)
16701705 else if (contains(landNumSize, "XL"))
16711706 then dropRight(landNumSize, 2)
16721707 else dropRight(landNumSize, 1)
16731708 if (!(isDefined(parseInt(landNum))))
16741709 then throw(("Cannot parse land number from " + asset.name))
16751710 else {
16761711 let landAssetId = toBase58String(assetId)
16771712 let timeKey = keyStakedTimeByAssetId(landAssetId)
16781713 if (isDefined(getInteger(timeKey)))
16791714 then throw((("NFT " + asset.name) + " is already staked"))
16801715 else {
16811716 let d = split(asset.description, "_")
16821717 let terrainCounts = countTerrains(d[recTerrains])
16831718 let pieces = numPiecesBySize(d[recLandSize])
16841719 let props = updateProportions(terrainCounts, (pieces / SSIZE), 1)
16851720 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
16861721 let landsKey = keyStakedLandsByOwner(address)
16871722 let landsStr = getString(landsKey)
16881723 let lands = if (isDefined(landsStr))
16891724 then split_51C(value(landsStr), "_")
16901725 else nil
16911726 if (containsElement(lands, landAssetId))
16921727 then throw(("Your staked lands already contain " + landAssetId))
16931728 else {
16941729 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
16951730 let piecesKey = keyStakedPiecesByOwner(address)
16961731 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
16971732 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [address], nil))
16981733 $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)
16991734 }
17001735 }
17011736 }
17021737 }
17031738 }
17041739 }
17051740 }
17061741
17071742
17081743
17091744 @Callable(i)
17101745 func unstakeLand (landAssetIdIn) = {
17111746 let prologAction = prolog(i)
17121747 if ((size(i.payments) != 0))
17131748 then throw("No payments required")
17141749 else {
17151750 let addr = toString(i.caller)
17161751 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
17171752 let landAssetId = c._2
17181753 let landsKey = keyStakedLandsByOwner(addr)
17191754 let terrainCounts = countTerrains(c._3[recTerrains])
17201755 let pieces = numPiecesBySize(c._3[recLandSize])
17211756 let props = updateProportions(terrainCounts, (pieces / SSIZE), -1)
17221757 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
17231758 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
17241759 let idx = indexOf(lands, landAssetId)
17251760 if (!(isDefined(idx)))
17261761 then throw(("Your staked lands don't contain " + landAssetId))
17271762 else {
17281763 let now = lastBlock.timestamp
17291764 let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
17301765 if ((govReleaseTime >= now))
17311766 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime)))
17321767 else {
17331768 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay)
17341769 if ((arbReleaseTime > now))
17351770 then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime)))
17361771 else {
17371772 let piecesKey = keyStakedPiecesByOwner(addr)
17381773 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
17391774 let newPieces = if ((pieces > stakedPieces))
17401775 then 0
17411776 else (stakedPieces - pieces)
17421777 let wlgResult = asInt(invoke(wlgContract, "onStakeUnstakeLand", [addr], nil))
17431778 $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))
17441779 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
17451780 else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
17461781 }
17471782 }
17481783 }
17491784 }
17501785 }
17511786
17521787
17531788
17541789 @Callable(i)
17551790 func stakeDuck () = {
17561791 let prologAction = prolog(i)
17571792 if ((size(i.payments) != 1))
17581793 then throw("Exactly one payment required")
17591794 else {
17601795 let pmt = value(i.payments[0])
17611796 let assetId = value(pmt.assetId)
17621797 let address = toString(i.caller)
17631798 if ((pmt.amount != 1))
17641799 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
17651800 else {
17661801 let asset = value(assetInfo(assetId))
17671802 if (if ((asset.issuer != incubatorAddr))
17681803 then (asset.issuer != breederAddr)
17691804 else false)
17701805 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
17711806 else if (!(contains(asset.name, DUCKPREFIX)))
17721807 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
17731808 else {
17741809 let assetIdStr = toBase58String(assetId)
17751810 let timeKey = keyStakedTimeByAssetId(assetIdStr)
17761811 if (isDefined(getInteger(timeKey)))
17771812 then throw((("NFT " + asset.name) + " is already staked"))
17781813 else if (isDefined(getString(keyStakedDuckByOwner(address))))
17791814 then throw(("You already staked one duck: " + asset.name))
17801815 else {
17811816 let locKey = keyDuckLocation(assetIdStr)
17821817 let location = getString(locKey)
17831818 let bpKey = keyBackpackByDuck(assetIdStr)
17841819 let backpack = getString(bpKey)
17851820 let keyHealth = keyDuckHealth(assetIdStr)
17861821 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
17871822 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
17881823 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
17891824 then nil
17901825 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
17911826 then nil
17921827 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
17931828 }
17941829 }
17951830 }
17961831 }
17971832 }
17981833
17991834
18001835
18011836 @Callable(i)
18021837 func unstakeDuck (assetIdStr) = {
18031838 let prologAction = prolog(i)
18041839 if ((size(i.payments) != 0))
18051840 then throw("No payments required")
18061841 else {
18071842 let assetId = fromBase58String(assetIdStr)
18081843 let address = toString(i.caller)
18091844 let asset = value(assetInfo(assetId))
18101845 let timeKey = keyStakedTimeByAssetId(toBase58String(assetId))
18111846 if (!(isDefined(getInteger(timeKey))))
18121847 then throw((("NFT " + asset.name) + " is not staked"))
18131848 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
18141849 then throw((("The duck " + asset.name) + " is not staked"))
18151850 else {
18161851 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned"))
18171852 if ((owner != address))
18181853 then throw("Staked NFT is not yours")
18191854 else {
18201855 let keyHealth = keyDuckHealth(assetIdStr)
18211856 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
18221857 let health = valueOrElse(getInteger(keyHealth), maxHP)
18231858 if ((maxHP > health))
18241859 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
18251860 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]
18261861 }
18271862 }
18281863 }
18291864 }
18301865
18311866
18321867
18331868 @Callable(i)
18341869 func claimRes (amount,landAssetIdStr) = {
18351870 let prologAction = prolog(i)
18361871 if ((size(i.payments) != 0))
18371872 then throw("No payments required")
18381873 else {
18391874 let addr = toString(i.originCaller)
18401875 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
18411876 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18421877 $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])
18431878 }
18441879 }
18451880
18461881
18471882
18481883 @Callable(i)
18491884 func claimResToWH (amount,landAssetIdStr) = {
18501885 let prologAction = prolog(i)
18511886 if ((size(i.payments) != 0))
18521887 then throw("No payments required")
18531888 else {
18541889 let addr = toString(i.originCaller)
18551890 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
18561891 $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])
18571892 }
18581893 }
18591894
18601895
18611896
18621897 @Callable(i)
18631898 func flight (message,sig) = {
18641899 let prologAction = prolog(i)
18651900 if ((size(i.payments) != 0))
18661901 then throw("No payments required")
18671902 else {
18681903 let userAddr = toString(i.caller)
18691904 let f = flightCommon(userAddr, message, sig)
18701905 let duckAssetId = f._2
18711906 let locKey = keyDuckLocation(duckAssetId)
18721907 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
18731908 if ((f._4 == curLocation))
18741909 then throw("You can't fly to the same location")
18751910 else {
18761911 let bpKey = keyBackpackByDuck(duckAssetId)
18771912 let currentPack = getBackpack(bpKey)
18781913 let newProd = subtractProducts(currentPack[bpIdxProd], f._5)
18791914 $Tuple2(([StringEntry(locKey, if ((f._1 > 0))
18801915 then f._4
18811916 else curLocation), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":")), IntegerEntry(keyDuckHealth(duckAssetId), f._1), prologAction] ++ updateDuckStatsInternal(duckAssetId, if ((f._1 > 0))
18821917 then xpSuccessFlight
18831918 else xpFailFlight)._1), f._3)
18841919 }
18851920 }
18861921 }
18871922
18881923
18891924
18901925 @Callable(i)
18911926 func heal (quantityL1,quantityL2,quantityL3) = {
18921927 let prologAction = prolog(i)
18931928 if (if (if ((0 > quantityL1))
18941929 then true
18951930 else (0 > quantityL2))
18961931 then true
18971932 else (0 > quantityL3))
18981933 then throw("Quantity cannot be negative")
18991934 else {
19001935 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19011936 let qts = [quantityL1, quantityL2, quantityL3]
19021937 let keyHealth = keyDuckHealth(duckAssetId)
19031938 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19041939 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19051940 if ((oldHealth >= maxHP))
19061941 then throw((("HP should be < " + toString(maxHP)) + " to heal"))
19071942 else {
19081943 let bpKey = keyBackpackByDuck(duckAssetId)
19091944 let currentPack = getBackpack(bpKey)
19101945 let prodList = if ((currentPack[bpIdxProd] == ""))
19111946 then nil
19121947 else split(currentPack[bpIdxProd], "_")
19131948 func iterateProd (acc,ignoredItem) = {
19141949 let n = acc._2
19151950 let x = if ((size(prodList) > n))
19161951 then parseIntValue(prodList[n])
19171952 else 0
19181953 if ((3 > n))
19191954 then {
19201955 let q = qts[n]
19211956 if ((q > x))
19221957 then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n]))
19231958 else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (medKitHp[n] * q)))
19241959 }
19251960 else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3)
19261961 }
19271962
19281963 let result = {
19291964 let $l = productionMatrix
19301965 let $s = size($l)
19311966 let $acc0 = $Tuple3(nil, 0, 0)
19321967 func $f0_1 ($a,$i) = if (($i >= $s))
19331968 then $a
19341969 else iterateProd($a, $l[$i])
19351970
19361971 func $f0_2 ($a,$i) = if (($i >= $s))
19371972 then $a
19381973 else throw("List size exceeds 50")
19391974
19401975 $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)
19411976 }
19421977 let newHealth = min([maxHP, (oldHealth + result._3)])
19431978 $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)
19441979 }
19451980 }
19461981 }
19471982
19481983
19491984
19501985 @Callable(i)
19511986 func healES () = {
19521987 let prologAction = prolog(i)
19531988 if ((size(i.payments) != 1))
19541989 then throw("Exactly one payment required")
19551990 else {
19561991 let pmt = value(i.payments[0])
19571992 if ((pmt.assetId != usdtAssetId))
19581993 then throw("Allowed USDT payment only!")
19591994 else {
19601995 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
19611996 let keyHealth = keyDuckHealth(duckAssetId)
19621997 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
19631998 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
19641999 if ((oldHealth > 0))
19652000 then throw("HP should be 0 to call Emergency Service")
19662001 else {
19672002 let bpKey = keyBackpackByDuck(duckAssetId)
19682003 let currentPack = getBackpack(bpKey)
19692004 let prodList = if ((currentPack[bpIdxProd] == ""))
19702005 then nil
19712006 else split(currentPack[bpIdxProd], "_")
19722007 let medKitAmount1 = if ((size(prodList) > 0))
19732008 then parseIntValue(prodList[0])
19742009 else 0
19752010 let medKitAmount2 = if ((size(prodList) > 1))
19762011 then parseIntValue(prodList[1])
19772012 else 0
19782013 let medKitAmount3 = if ((size(prodList) > 2))
19792014 then parseIntValue(prodList[2])
19802015 else 0
19812016 if (if (if ((medKitAmount1 > 0))
19822017 then true
19832018 else (medKitAmount2 > 0))
19842019 then true
19852020 else (medKitAmount3 > 0))
19862021 then throw("You have to use own Medical Kit")
19872022 else {
19882023 let existStr = getString(economyContract, keyEsWarehouse())
19892024 let existAmounts = if (isDefined(existStr))
19902025 then split(value(existStr), "_")
19912026 else nil
19922027 let existAmount = if ((size(existAmounts) > 0))
19932028 then parseIntValue(existAmounts[0])
19942029 else 0
19952030 if ((0 >= existAmount))
19962031 then throw("There are no Medical Kits L1 at Emergency Service storage")
19972032 else {
19982033 let newHealth = (oldHealth + medKitHp[0])
19992034 let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_")
20002035 let recipe = split(productionMatrix[0], "_")
20012036 let totalMat = getRecipeMaterials(recipe)
20022037 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (10 * PRODUCTPKGSIZE))
20032038 if ((pmt.amount != sellPrice))
20042039 then throw(("Payment attached should be " + toString(sellPrice)))
20052040 else {
20062041 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
20072042 $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
20082043 }
20092044 }
20102045 }
20112046 }
20122047 }
20132048 }
20142049 }
20152050
20162051
20172052
20182053 @Callable(i)
20192054 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract))
20202055 then throw("permission denied")
20212056 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
20222057
20232058
20242059
20252060 @Callable(i)
20262061 func buySLand () = {
20272062 let prologAction = prolog(i)
20282063 if ((size(i.payments) != 1))
20292064 then throw("Exactly one payment required")
20302065 else {
20312066 let pmt = value(i.payments[0])
20322067 if ((pmt.assetId != usdtAssetId))
20332068 then throw("Allowed USDT payment only!")
20342069 else if ((pmt.amount != EXPUSDT))
20352070 then throw(("Payment attached should be " + toString(EXPUSDT)))
20362071 else {
20372072 let result = expeditionInternal(i.caller, i.transactionId)
20382073 $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), result._2._1)
20392074 }
20402075 }
20412076 }
20422077
20432078
20442079
20452080 @Callable(i)
20462081 func expedition (message,sig) = {
20472082 let prologAction = prolog(i)
20482083 if ((size(i.payments) != 0))
20492084 then throw("No payments required")
20502085 else {
20512086 let result = expeditionCommon(i.caller, i.transactionId, message, sig)
20522087 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20532088 $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3))
20542089 }
20552090 }
20562091
20572092
20582093
20592094 @Callable(i)
20602095 func upgradeInfra (landAssetId) = {
20612096 let prologAction = prolog(i)
20622097 if ((size(i.payments) != 0))
20632098 then throw("No payments required")
20642099 else {
20652100 let result = upInfraCommon(true, i.caller, 0, landAssetId)
20662101 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
20672102 $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
20682103 }
20692104 }
20702105
20712106
20722107
20732108 @Callable(i)
20742109 func upgradeInfraUsdt (landAssetId) = if ((i.caller != this))
20752110 then throw("Permission denied")
20762111 else {
20772112 let prologAction = prolog(i)
20782113 if ((size(i.payments) != 1))
20792114 then throw("Exactly one payment required")
20802115 else {
20812116 let pmt = value(i.payments[0])
20822117 if ((pmt.assetId != usdtAssetId))
20832118 then throw("Allowed USDT payment only!")
20842119 else {
20852120 let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId)
20862121 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
20872122 }
20882123 }
20892124 }
20902125
20912126
20922127
20932128 @Callable(i)
20942129 func activateArtifact (artName,landAssetIdOpt) = {
20952130 let prologAction = prolog(i)
20962131 if ((size(i.payments) != 0))
20972132 then throw("No payments required")
20982133 else {
20992134 let addr = toString(i.caller)
21002135 let result = match artName {
21012136 case _ =>
21022137 if (("PRESALE" == $match0))
21032138 then activatePresaleArt(addr, landAssetIdOpt)
21042139 else if (("ONBOARD" == $match0))
21052140 then activateOnboardArt(addr)
21062141 else throw("Unknown artifact")
21072142 }
21082143 (result :+ prologAction)
21092144 }
21102145 }
21112146
21122147
21132148
21142149 @Callable(i)
21152150 func mergeLands (landAssetIds) = {
21162151 let prologAction = prolog(i)
21172152 if ((size(i.payments) != 0))
21182153 then throw("No payments required")
21192154 else {
21202155 let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId)
21212156 $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
21222157 }
21232158 }
21242159
21252160
21262161
21272162 @Callable(i)
21282163 func mergeLandsUsdt (landAssetIds) = {
21292164 let prologAction = prolog(i)
21302165 if ((size(i.payments) != 1))
21312166 then throw("Exactly one payment required")
21322167 else {
21332168 let pmt = value(i.payments[0])
21342169 if ((pmt.assetId != usdtAssetId))
21352170 then throw("Allowed USDT payment only!")
21362171 else {
21372172 let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId)
21382173 $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2)
21392174 }
21402175 }
21412176 }
21422177
21432178
21442179
21452180 @Callable(i)
21462181 func cargoExchange (cargoListStr,landAssetId) = {
21472182 let prologAction = prolog(i)
21482183 if ((size(i.payments) != 0))
21492184 then throw("No payments required")
21502185 else {
21512186 let cargoParts = split_4C(cargoListStr, ":")
21522187 let addr = toString(i.originCaller)
21532188 let asset = value(assetInfo(fromBase58String(landAssetId)))
21542189 let timeKey = keyStakedTimeByAssetId(landAssetId)
21552190 if (!(isDefined(getInteger(timeKey))))
21562191 then throw((asset.name + " is not staked"))
21572192 else {
21582193 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
21592194 if ((owner != addr))
21602195 then throw((LANDPREFIX + " is not yours"))
21612196 else {
21622197 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
21632198 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
21642199 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
21652200 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
21662201 let loc = split(value(curLocation), "_")
21672202 if ((loc[locIdxType] != "L"))
21682203 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
21692204 else if ((loc[locIdxId] != landAssetId))
21702205 then throw(("Duck should be on the land " + landAssetId))
21712206 else {
21722207 let whKey = keyWarehouseByLand(landAssetId)
21732208 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
21742209 let bpKey = keyBackpackByDuck(duckAssetId)
21752210 let currentPack = getBackpack(bpKey)
21762211 let result = moveStuff(cargoParts, currentWh, currentPack)
21772212 let loft = split(currentWh[whIdxLOFT], "_")
21782213 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
21792214 let loftF = (parseIntValue(loft[volFree]) - result._7)
21802215 [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]
21812216 }
21822217 }
21832218 }
21842219 }
21852220 }
21862221
21872222
21882223
21892224 @Callable(i)
21902225 func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract))
21912226 then throw("Access denied")
21922227 else {
21932228 let whKey = keyWarehouseByLand(landAssetId)
21942229 let wh = split_4C(whStr, ":")
21952230 if ((size(wh) != 5))
21962231 then throw("warehouse string should contain 4 ':' separators")
21972232 else {
21982233 let loftL = split(wh[whIdxLOFT], "_")[volLocked]
21992234 let loftO = getWarehouseOccupiedVol(wh)
22002235 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22012236 let loftF = ((loftT - parseIntValue(loftL)) - loftO)
22022237 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22032238 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22042239 }
22052240 }
22062241
22072242
22082243
22092244 @Callable(i)
22102245 func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract))
22112246 then throw("Access denied")
22122247 else {
22132248 let whKey = keyWarehouseByLand(landAssetId)
22142249 let asset = value(assetInfo(fromBase58String(landAssetId)))
22152250 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
22162251 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
22172252 let wh = getWarehouse(whKey, landIndex, infraLevel)
22182253 let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil))
22192254 let loftO = getWarehouseOccupiedVol(wh)
22202255 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
22212256 let loftF = ((loftT - loftL) - loftO)
22222257 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
22232258 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
22242259 }
22252260
22262261
22272262
22282263 @Callable(i)
22292264 func fixStakedPieces (address) = if ((i.caller != restContract))
22302265 then throw("Access denied")
22312266 else {
22322267 let stakedPieces = if ((address == ""))
22332268 then 0
22342269 else {
22352270 let landsStr = getString(stakingContract, keyStakedLandsByOwner(address))
22362271 let lands = if (isDefined(landsStr))
22372272 then split_51C(value(landsStr), "_")
22382273 else nil
22392274 func oneLand (acc,landAssetId) = {
22402275 let asset = value(assetInfo(fromBase58String(landAssetId)))
22412276 let landSize = split(asset.description, "_")[recLandSize]
22422277 (acc + numPiecesBySize(landSize))
22432278 }
22442279
22452280 let $l = lands
22462281 let $s = size($l)
22472282 let $acc0 = 0
22482283 func $f0_1 ($a,$i) = if (($i >= $s))
22492284 then $a
22502285 else oneLand($a, $l[$i])
22512286
22522287 func $f0_2 ($a,$i) = if (($i >= $s))
22532288 then $a
22542289 else throw("List size exceeds 100")
22552290
22562291 $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)
22572292 }
22582293 $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces)
22592294 }
22602295
22612296
22622297
22632298 @Callable(i)
22642299 func setCustomName (assetId,customName,type) = {
22652300 let prologAction = prolog(i)
22662301 if ((size(i.payments) != 1))
22672302 then throw("Exactly one payment required")
22682303 else {
22692304 let pmt = value(i.payments[0])
22702305 if ((pmt.assetId != usdtAssetId))
22712306 then throw("Allowed USDT payment only!")
22722307 else if ((pmt.amount != RENAMINGCOST))
22732308 then throw(("Payment should be " + toString(RENAMINGCOST)))
22742309 else if (contains(customName, "__"))
22752310 then throw(("Name should not contain '__': " + customName))
22762311 else if ((size(customName) > MAXNAMELEN))
22772312 then throw(("Name too long, maxLength=" + toString(MAXNAMELEN)))
22782313 else {
22792314 let addr = toString(i.originCaller)
22802315 let actions = match type {
22812316 case _ =>
22822317 if (("ACCOUNT" == $match0))
22832318 then {
22842319 let reverseKey = keyCustomNameToAddress(customName)
22852320 let nameOwner = getString(reverseKey)
22862321 if (isDefined(nameOwner))
22872322 then throw(("Name already registered: " + customName))
22882323 else {
22892324 let addrToNameKey = keyAddressToCustomName(addr)
22902325 let oldName = getString(addrToNameKey)
22912326 let freeOld = if (isDefined(oldName))
22922327 then [DeleteEntry(keyCustomNameToAddress(value(oldName)))]
22932328 else nil
22942329 (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
22952330 }
22962331 }
22972332 else if (("LAND" == $match0))
22982333 then {
22992334 let asset = value(assetInfo(fromBase58String(assetId)))
23002335 let timeKey = keyStakedTimeByAssetId(assetId)
23012336 if (!(isDefined(getInteger(timeKey))))
23022337 then throw((asset.name + " is not staked"))
23032338 else {
23042339 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23052340 if ((owner != addr))
23062341 then throw((LANDPREFIX + " is not yours"))
23072342 else {
23082343 let reverseKey = keyLandCustomNameToAssetId(customName)
23092344 let nameOwner = getString(reverseKey)
23102345 if (isDefined(nameOwner))
23112346 then throw(("Name already registered: " + customName))
23122347 else {
23132348 let assetToNameKey = keyLandAssetIdToCustomName(assetId)
23142349 let oldName = getString(assetToNameKey)
23152350 let freeOld = if (isDefined(oldName))
23162351 then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))]
23172352 else nil
23182353 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
23192354 }
23202355 }
23212356 }
23222357 }
23232358 else if (("DUCK" == $match0))
23242359 then {
23252360 let asset = value(assetInfo(fromBase58String(assetId)))
23262361 let timeKey = keyStakedTimeByAssetId(assetId)
23272362 if (if (!(isDefined(getInteger(timeKey))))
23282363 then true
23292364 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
23302365 then throw((asset.name + " is not staked"))
23312366 else {
23322367 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
23332368 if ((owner != addr))
23342369 then throw((DUCKPREFIX + " is not yours"))
23352370 else {
23362371 let reverseKey = keyDuckCustomNameToAssetId(customName)
23372372 let nameOwner = getString(reverseKey)
23382373 if (isDefined(nameOwner))
23392374 then throw(("Name already registered: " + customName))
23402375 else {
23412376 let assetToNameKey = keyDuckAssetIdToCustomName(assetId)
23422377 let oldName = getString(assetToNameKey)
23432378 let freeOld = if (isDefined(oldName))
23442379 then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))]
23452380 else nil
23462381 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1)
23472382 }
23482383 }
23492384 }
23502385 }
23512386 else throw("Unknown entity type")
23522387 }
23532388 $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
23542389 }
23552390 }
23562391 }
23572392
23582393
23592394
23602395 @Callable(i)
23612396 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
23622397 then throw("Permission denied")
23632398 else {
23642399 let prologAction = prolog(i)
23652400 if ((size(i.payments) != 0))
23662401 then throw("No payments required")
23672402 else if (!(isDefined(addressFromString(oldPlayer))))
23682403 then throw(("Invalid address: " + oldPlayer))
23692404 else if (!(isDefined(addressFromString(newPlayer))))
23702405 then throw(("Invalid address: " + newPlayer))
23712406 else {
23722407 let oldsKey = keyOldies()
23732408 let olds = getString(oldsKey)
23742409 let oldies = if (isDefined(olds))
23752410 then split_4C(value(olds), "_")
23762411 else nil
23772412 if (containsElement(oldies, newPlayer))
23782413 then throw((newPlayer + " is not newbie (already has referrals)"))
23792414 else {
23802415 let refByKey = keyAddressRefBy(newPlayer)
23812416 let refBy = getString(refByKey)
23822417 if (if (isDefined(refBy))
23832418 then isDefined(addressFromString(value(refBy)))
23842419 else false)
23852420 then throw(((newPlayer + " already has refBy: ") + value(refBy)))
23862421 else {
23872422 let refsKey = keyAddressReferrals(oldPlayer)
23882423 let refs = getString(refsKey)
23892424 let refsArray = if (isDefined(refs))
23902425 then split_4C(value(refs), "_")
23912426 else nil
23922427 if (containsElement(refsArray, newPlayer))
23932428 then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
23942429 else {
23952430 let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
23962431 let newOlds = if (containsElement(oldies, oldPlayer))
23972432 then value(olds)
23982433 else makeString_2C((oldies :+ oldPlayer), "_")
23992434 $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
24002435 }
24012436 }
24022437 }
24032438 }
24042439 }
24052440
24062441
24072442
24082443 @Callable(i)
24092444 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
24102445 let prologAction = prolog(i)
24112446 if ((size(i.payments) != 0))
24122447 then throw("No payments required")
24132448 else {
24142449 let addr = toString(i.originCaller)
24152450 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
24162451 let freeKeyAcc = keyUserFreePoints(addr)
24172452 let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0)
24182453 let freeKeyDuck = keyDuckFreePoints(duckAssetId)
24192454 let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0)
24202455 let sumFree = (freePointsAcc + freePointsDuck)
24212456 let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity)
24222457 if ((sumToDistribute > sumFree))
24232458 then throw((("There are only " + toString(sumFree)) + " free points to distribute"))
24242459 else {
24252460 let charsKey = keyDuckChars(duckAssetId)
24262461 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
24272462 let newAcc = (freePointsAcc - sumToDistribute)
24282463 $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
24292464 then 0
24302465 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
24312466 then (freePointsDuck + newAcc)
24322467 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)
24332468 }
24342469 }
24352470 }
24362471
24372472
24382473
24392474 @Callable(i)
24402475 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
24412476
24422477
24432478
24442479 @Callable(i)
24452480 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
24462481 let terrainCounts = countTerrains(terrains)
24472482 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
24482483 }
24492484
24502485
24512486
24522487 @Callable(i)
24532488 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
24542489
24552490
24562491
24572492 @Callable(i)
24582493 func getWarehouseREADONLY (landAssetId) = {
24592494 let asset = value(assetInfo(fromBase58String(landAssetId)))
24602495 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
24612496 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
24622497 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
24632498 }
24642499
24652500
24662501
24672502 @Callable(i)
24682503 func saveLastTx () = if (if ((i.caller != wlgContract))
24692504 then (i.caller != economyContract)
24702505 else false)
24712506 then throw("Access denied")
24722507 else $Tuple2([prolog(i)], 42)
24732508
24742509
24752510
24762511 @Callable(i)
24772512 func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract))
24782513 then throw("Access denied")
24792514 else updateDuckStatsInternal(duckAssetId, deltaXP)
24802515
24812516
24822517
24832518 @Callable(i)
24842519 func updateAccStats (addr,deltaXP) = if ((i.caller != economyContract))
24852520 then throw("Access denied")
24862521 else updateAccStatsInternal(addr, deltaXP)
24872522
24882523
24892524
24902525 @Callable(i)
24912526 func equipDuck (equipment) = {
24922527 let prologAction = prolog(i)
24932528 if ((size(i.payments) != 0))
24942529 then throw("No payments required")
24952530 else {
24962531 let addr = toString(i.originCaller)
24972532 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
24982533 let eqKey = keyDuckEquipment(duckAssetId)
24992534 let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
25002535 let bpKey = keyBackpackByDuck(duckAssetId)
25012536 let currentPack = getBackpack(bpKey)
25022537 let newEq = split(equipment, "_")
25032538 if ((size(newEq) != NUMSEGMENTS))
25042539 then throw("Wrong equipment string")
25052540 else {
2506- let bpProd = currentPack[bpIdxProd]
2507- let tempProdB = dressB(currentSegs, prodStrToBytes(bpProd), true)
2508- let newProdB = dressB(newEq, tempProdB, false)
2541+ let reqs = getDuckStats(this, duckAssetId)
2542+ let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, reqs)
2543+ let newProdB = dressB(newEq, tempProdB, false, reqs)
25092544 let newProdStr = bytesToProdStr(newProdB)
25102545 $Tuple2([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProdStr], ":")), prologAction], 0)
25112546 }
25122547 }
25132548 }
2514-
2515-
2516-
2517-@Callable(i)
2518-func test () = if ((i.caller != this))
2519- then throw("Access denied")
2520- else {
2521- let a = prodStrToBytes("")
2522- let b = bytesToProdStr(a)
2523- $Tuple2(nil, b)
2524- }
25252549
25262550

github/deemru/w8io/026f985 
191.72 ms