tx · EuKNFexJMXXGWcJNKXQf3J5yrbsTvZcckkGu5WQ62U1c

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.09700000 Waves

2023.09.05 03:36 [2741378] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "EuKNFexJMXXGWcJNKXQf3J5yrbsTvZcckkGu5WQ62U1c", "fee": 9700000, "feeAssetId": null, "timestamp": 1693874179527, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "556XLcFNGWtUuSq9rp2NQbS7ZnuJpLxdh5mT7tyJufGLeEf5LDjnXSdZCQDTbgqmkrNxvTer4LW2fXEeA2ss84VK" ], "script": "base64:BgLNAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASABIECgICAhIDCgEIEgQKAggIEgMKARgSBAoCCAgSBAoCCAgSAwoBCBIDCgEYEgMKAQgSBQoDCAgIEgQKAggIEgcKBQEBAQEBEgMKAQESBQoDAQEIEgMKAQgSAwoBCBIAEgQKAggBEgQKAggBEgMKAQgSBAoCCAgSAwoBCBIAEgMKAQgSBAoCAgISBAoCAgKHAgEUa2V5TGFzdEFyYlRpbWVCeVVzZXIBBGFkZHIJAKwCAgIQbGFzdEFyYlRpbWVVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAOcm9iYmVyeUNvc3RNaW4AgMLXLwAUcm9iYmVyeUNvb2xkb3duQ29lZmYAkAMADHJlcXVpcmVtZW50cwkAzAgCAghTdHJlbmd0aAkAzAgCAghBY2N1cmFjeQkAzAgCAglJbnRlbGxlY3QJAMwIAgIJR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", "height": 2741378, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: G2w9ui9PQ5zjBwihph9LZpj5N5sGsvxgfkJke9gzkMSx Next: 6qjzchzrwtP5wyC48L4uSPQm98EZj9MNoRTCWFVUTnun Diff:
OldNewDifferences
16291629 }
16301630
16311631
1632-func expeditionCommon (caller,txId,message,sig) = {
1633- let userAddr = toString(caller)
1634- let f = flightCommon(userAddr, message, sig)
1635- let duckAssetId = f._2
1636- let keyHealth = keyDuckHealth(duckAssetId)
1637- let bpKey = keyBackpackByDuck(duckAssetId)
1638- let currentPack = getBackpack(bpKey)
1639- let mList = split(currentPack[bpIdxMat], "_")
1640- let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
1641- let eqKey = keyDuckEquipment(duckAssetId)
1642- let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
1643- let $t03390934006 = subtractEquipment(currentEq, f._5)
1644- let newEq = $t03390934006._1
1645- let shouldZeroBuffs = $t03390934006._2
1646- if ((0 >= f._1))
1647- then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
1648- else {
1649- let e = expeditionInternal(caller, txId)
1650- let id = e._2._1
1651- $Tuple3((e._1 ++ (if (shouldZeroBuffs)
1652- then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
1653- else ((((nil :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))))), id, f._3)
1654- }
1655- }
1656-
1657-
16581632 func applyBonuses (landAssetId,pieces) = {
16591633 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
16601634 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
16651639
16661640
16671641 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1668- let $t03522635765 = if ((claimMode == claimModeWh))
1642+ let $t03392034459 = if ((claimMode == claimModeWh))
16691643 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
16701644 else {
16711645 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
16751649 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
16761650 else $Tuple2(loc[locIdxId], duckAssetId)
16771651 }
1678- let landAssetId = $t03522635765._1
1679- let duckId = $t03522635765._2
1652+ let landAssetId = $t03392034459._1
1653+ let duckId = $t03392034459._2
16801654 let asset = value(assetInfo(fromBase58String(landAssetId)))
16811655 let timeKey = keyStakedTimeByAssetId(landAssetId)
16821656 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
17241698 let currentPack = getBackpack(bpKey)
17251699 let currentPackRes = split(currentPack[bpIdxRes], "_")
17261700 let currentWhRes = split(currentWh[whIdxRes], "_")
1727- let $t03813939010 = if ((claimMode == claimModeWh))
1701+ let $t03683337704 = if ((claimMode == claimModeWh))
17281702 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
17291703 else if ((claimMode == claimModeDuck))
17301704 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
17331707 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
17341708 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
17351709 }
1736- let whRes = $t03813939010._1
1737- let bpRes = $t03813939010._2
1738- let loftO = $t03813939010._3
1739- let loftF = $t03813939010._4
1710+ let whRes = $t03683337704._1
1711+ let bpRes = $t03683337704._2
1712+ let loftO = $t03683337704._3
1713+ let loftF = $t03683337704._4
17401714 $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]], "_")])
17411715 }
17421716 }
18521826 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
18531827 (((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
18541828 }
1829+ }
1830+
1831+
1832+func isInTournament (location) = {
1833+ let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
1834+ let loc = split(location, "_")
1835+ let now = lastBlock.timestamp
1836+ let tData = getTourData(tournamentContract, lastId)
1837+ let static = tData[idxStatic]
1838+ let dynamic = tData[idxDynamic]
1839+ if (if (if ((loc[locIdxType] == "T"))
1840+ then (parseIntValue(loc[locIdxContinent]) == lastId)
1841+ else false)
1842+ then (dynamic[tDynamicStatus] == "INPROGRESS")
1843+ else false)
1844+ then (parseIntValue(static[tStaticEnd]) > now)
1845+ else false
18551846 }
18561847
18571848
22732264 let f = flightCommon(userAddr, message, sig)
22742265 let newHP = f._1
22752266 let duckAssetId = f._2
2267+ let locKey = keyDuckLocation(duckAssetId)
2268+ let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
22762269 let newLocation = f._4
2277- let newLoc = split(newLocation, "_")
2278- let isTour = (newLoc[locIdxType] == "T")
2279- if (if (!(isTour))
2280- then checkTournament(duckAssetId)
2281- else false)
2282- then throw("flight_checkTournament")
2270+ if ((newLocation == curLocation))
2271+ then throw("You can't fly to the same location")
22832272 else {
2284- let locKey = keyDuckLocation(duckAssetId)
2285- let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
2286- let tourStuff = if (isTour)
2287- then {
2288- let oldLoc = split(curLocation, "_")
2289- let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
2290- let now = lastBlock.timestamp
2291- let tData = getTourData(tournamentContract, lastId)
2292- let static = tData[idxStatic]
2293- let dynamic = tData[idxDynamic]
2294- if (if (if ((parseIntValue(newLoc[locIdxContinent]) != lastId))
2295- then true
2296- else (dynamic[tDynamicStatus] != "INPROGRESS"))
2297- then true
2298- else (now > parseIntValue(static[tStaticEnd])))
2299- then unit
2300- else if ((newHP > 0))
2301- then {
2302- let score = parseIntValue(newLoc[locIdxId])
2303- let globalBest = parseIntValue(dynamic[tDynamicWinResult])
2304- if (if (if ((oldLoc[locIdxType] != "T"))
2305- then true
2306- else (parseIntValue(oldLoc[locIdxContinent]) != lastId))
2307- then true
2308- else (score != (parseIntValue(oldLoc[locIdxId]) + 1)))
2309- then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2310- else {
2311- let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0)
2312- let local = if ((score > localBest))
2313- then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil)
2273+ let newLoc = split(newLocation, "_")
2274+ let isTour = (newLoc[locIdxType] == "T")
2275+ let eqKey = keyDuckEquipment(duckAssetId)
2276+ let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2277+ let $t06673166828 = subtractEquipment(currentEq, f._5)
2278+ let newEq = $t06673166828._1
2279+ let shouldZeroBuffs = $t06673166828._2
2280+ let locToSave = if (!(isInTournament(curLocation)))
2281+ then if (isTour)
2282+ then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2283+ else if ((newHP > 0))
2284+ then newLocation
2285+ else curLocation
2286+ else if (!(isInTournament(newLocation)))
2287+ then throw("Your duck is taking part in the tournament")
2288+ else {
2289+ let score = parseIntValue(newLoc[locIdxId])
2290+ let curLoc = split(curLocation, "_")
2291+ let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
2292+ if ((score != (parseIntValue(curLoc[locIdxId]) + 1)))
2293+ then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2294+ else if ((newHP > 0))
2295+ then {
2296+ let dynamic = getTourData(tournamentContract, lastId)[idxDynamic]
2297+ let globalBest = parseIntValue(dynamic[tDynamicWinResult])
2298+ let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0)
2299+ let updates = if ((score > localBest))
2300+ then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil)
2301+ else if ((score > globalBest))
2302+ then invoke(tournamentContract, "updateDynamicData", [duckAssetId, score], nil)
23142303 else unit
2315- if ((local == local))
2316- then if ((globalBest >= score))
2317- then unit
2318- else invoke(tournamentContract, "updateDynamicData", [duckAssetId, score], nil)
2319- else throw("Strict value is not equal to itself.")
2320- }
2321- }
2322- else unit
2323- }
2324- else unit
2325- if ((tourStuff == tourStuff))
2326- then if ((newLocation == curLocation))
2327- then throw("You can't fly to the same location")
2328- else {
2329- let eqKey = keyDuckEquipment(duckAssetId)
2330- let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2331- let $t06949969675 = subtractEquipment(currentEq, f._5)
2332- let newEq = $t06949969675._1
2333- let shouldZeroBuffs = $t06949969675._2
2334- $Tuple2(([StringEntry(locKey, if ((newHP > 0))
2335- then newLocation
2336- else curLocation), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2337- then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2338- else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2339- then xpSuccessFlight
2340- else xpFailFlight)._1))), f._3)
2304+ if ((updates == updates))
2305+ then newLocation
2306+ else throw("Strict value is not equal to itself.")
2307+ }
2308+ else curLocation
23412309 }
2342- else throw("Strict value is not equal to itself.")
2310+ $Tuple2(([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2311+ then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2312+ else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2313+ then xpSuccessFlight
2314+ else xpFailFlight)._1))), f._3)
23432315 }
23442316 }
23452317 }
25252497 if ((size(i.payments) != 0))
25262498 then throw("No payments required")
25272499 else {
2528- let result = expeditionCommon(i.caller, i.transactionId, message, sig)
2529- let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
2500+ let userAddr = toString(i.caller)
2501+ let f = flightCommon(userAddr, message, sig)
2502+ let duckAssetId = f._2
2503+ let keyHealth = keyDuckHealth(duckAssetId)
2504+ let bpKey = keyBackpackByDuck(duckAssetId)
2505+ let currentPack = getBackpack(bpKey)
2506+ let mList = split(currentPack[bpIdxMat], "_")
2507+ let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
2508+ let eqKey = keyDuckEquipment(duckAssetId)
2509+ let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2510+ let $t07533375430 = subtractEquipment(currentEq, f._5)
2511+ let newEq = $t07533375430._1
2512+ let shouldZeroBuffs = $t07533375430._2
2513+ let e = expeditionInternal(i.caller, i.transactionId)
2514+ let id = e._2._1
2515+ let result = if ((0 >= f._1))
2516+ then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
2517+ else $Tuple3((e._1 ++ (if (shouldZeroBuffs)
2518+ then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2519+ else ((((nil :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))))), id, f._3)
25302520 if (checkTournament(duckAssetId))
25312521 then throw("expedition_checkTournament")
25322522 else $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3))
30723062 let curO = parseIntValue(curLoft[volOccupied])
30733063 let curF = parseIntValue(curLoft[volFree])
30743064 let newForts = split(plan, "_")
3075- let $t09652496639 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3076- let tempProdB = $t09652496639._1
3077- let tempO = $t09652496639._2
3078- let tempF = $t09652496639._3
3079- let $t09664296738 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3080- let newProdB = $t09664296738._1
3081- let newO = $t09664296738._2
3082- let newF = $t09664296738._3
3065+ let $t09637096485 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3066+ let tempProdB = $t09637096485._1
3067+ let tempO = $t09637096485._2
3068+ let tempF = $t09637096485._3
3069+ let $t09648896584 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3070+ let newProdB = $t09648896584._1
3071+ let newO = $t09648896584._2
3072+ let newF = $t09648896584._3
30833073 let newProdStr = bytesToProdStr(newProdB)
30843074 let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_")
30853075 $Tuple2([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":")), prologAction], 0)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func keyLastArbTimeByUser (addr) = ("lastArbTimeUser_" + addr)
55
66
77 let SCALE8 = 100000000
88
99 let xpLevelScale = 3200
1010
1111 let xpLevelRecipPow = 4000
1212
1313 let numPointsOnLevelUp = 3
1414
1515 let robberyCostMin = 100000000
1616
1717 let robberyCooldownCoeff = 400
1818
1919 let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"]
2020
2121 let charStrength = 0
2222
2323 let charAccuracy = 1
2424
2525 let charIntellect = 2
2626
2727 let charEndurance = 3
2828
2929 let charDexterity = 4
3030
3131 let segBackpack = 0
3232
3333 let NUMSEGMENTS = 6
3434
3535 let NUMMAINAUX = 2
3636
3737 let MAXSLOTS = 2
3838
3939 let MAXPRODINSLOT = 30
4040
4141 let landRobCooldowns = [0, 600000, 900000, 43200000, 21600000]
4242
4343 let MIN_RES_TO_ROB = 20000000
4444
4545 let robIdxLocked = 1
4646
4747 let duckIdxFree = 0
4848
4949 let duckIdxPreparing = 1
5050
5151 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
5252
5353
5454 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
5555
5656
5757 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
5858
5959
6060 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
6161
6262
6363 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
6464
6565
6666 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
6767
6868
6969 func keyUserXP (addr) = ("userXP_" + addr)
7070
7171
7272 func keyUserLevel (addr) = ("userLevel_" + addr)
7373
7474
7575 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
7676
7777
7878 func keySavedHealth (duckAssetId) = ("savedHealth_" + duckAssetId)
7979
8080
8181 func keySavedLocation (duckAssetId) = ("savedLocation_" + duckAssetId)
8282
8383
8484 func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId)
8585
8686
8787 func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId)
8888
8989
9090 func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId)
9191
9292
9393 func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId)
9494
9595
9696 func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId)
9797
9898
9999 func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId)
100100
101101
102102 func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId)
103103
104104
105105 let xpClaim = 10000
106106
107107 let xpSuccessFlight = 10000
108108
109109 let xpFailFlight = 2000
110110
111111 let xpCallES = 100000
112112
113113 let xpCustomName = 1000000
114114
115115 let xpNewSLand = 5000000
116116
117117 let xpUpgradeInfra = 10000
118118
119119 let xpMerge = 1000000
120120
121121 let xpOnboard = 1000000
122122
123123 let xpHeal = 10000
124124
125125 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
126126
127127
128128 func maxHealth (level) = (100 + level)
129129
130130
131131 func levelUp (currLevel,newXP) = {
132132 let newLevel = levelByXP(newXP)
133133 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
134134 }
135135
136136
137137 func getDuckStats (stakingContract,duckAssetId,buffEffect,forceBuffs) = {
138138 let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_")
139139 let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
140140 let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl))
141141 let stateBuffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_")
142142 ([parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health] ++ (if (forceBuffs)
143143 then [buffEffect, buffEffect, buffEffect, buffEffect, buffEffect]
144144 else [parseIntValue(stateBuffs[charStrength]), parseIntValue(stateBuffs[charAccuracy]), parseIntValue(stateBuffs[charIntellect]), parseIntValue(stateBuffs[charEndurance]), parseIntValue(stateBuffs[charDexterity])]))
145145 }
146146
147147
148148 func getRobberyData (stakingContract,duckAssetId) = {
149149 let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0)
150150 let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0)
151151 let now = lastBlock.timestamp
152152 let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))])
153153 let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0)
154154 let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "")
155155 let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0)
156156 $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA)
157157 }
158158
159159
160160 let LANDPREFIX = "LAND"
161161
162162 let DUCKPREFIX = "DUCK"
163163
164164 let ARTPRESALE = "PRESALE"
165165
166166 let NUMRES = 6
167167
168168 let MAX_LANDS_STAKED_BY_USER = 25
169169
170170 let DAILYRESBYPIECE = 3456000
171171
172172 let DAYMILLIS = 86400000
173173
174174 let WHMULTIPLIER = 10000000000
175175
176176 let DEFAULTLOCATION = "Africa_F_Africa"
177177
178178 let RESOURCEPRICEMIN = 39637
179179
180180 let ESSELLCOEF = 10
181181
182182 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", "Mine L1", "Mine L2", "Mine L3", "Trap L1", "Trap L2", "Trap L3"]
183183
184184 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
185185
186186 let COEFF2MAT = 10000000
187187
188188 let fortAllowedProds = [15, 16, 17, 18, 19, 20]
189189
190190 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_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "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_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_"]
191191
192192 let rIdxCoeff = 6
193193
194194 let rIdxEffect = 8
195195
196196 let rIdxRequirements = 9
197197
198198 let rIdxSlots = 10
199199
200200 let PRODUCTPKGSIZE = 10
201201
202202 let whIdxLevels = 0
203203
204204 let whIdxRes = 1
205205
206206 let whIdxMat = 2
207207
208208 let whIdxProd = 3
209209
210210 let whIdxLOFT = 4
211211
212212 let volLocked = 0
213213
214214 let volOccupied = 1
215215
216216 let volFree = 2
217217
218218 let volTotal = 3
219219
220220 let bpIdxLevel = 0
221221
222222 let bpIdxRes = 1
223223
224224 let bpIdxMat = 2
225225
226226 let bpIdxProd = 3
227227
228228 func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId)
229229
230230
231231 func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId)
232232
233233
234234 func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId)
235235
236236
237237 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_")
238238
239239
240240 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr)
241241
242242
243243 func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId)
244244
245245
246246 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
247247
248248
249249 func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId)
250250
251251
252252 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
253253
254254
255255 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
256256
257257
258258 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
259259
260260
261261 func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId)
262262
263263
264264 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
265265
266266
267267 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
268268
269269
270270 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
271271
272272
273273 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
274274
275275
276276 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
277277
278278
279279 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
280280
281281
282282 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
283283
284284
285285 func keyEsWarehouse () = "emergencyWarehouseProducts"
286286
287287
288288 let lastTourIdKey = "%s__lastTourId"
289289
290290 func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId))
291291
292292
293293 func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId))
294294
295295
296296 func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__")
297297
298298
299299 let idxStatic = 0
300300
301301 let idxDynamic = 1
302302
303303 func getTourData (tourContract,tId) = {
304304 let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
305305 let dynamic = split(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
306306 [static, dynamic]
307307 }
308308
309309
310310 let tStaticEnd = 6
311311
312312 let tDynamicStatus = 1
313313
314314 let tDynamicWinResult = 3
315315
316316 let locIdxContinent = 0
317317
318318 let locIdxType = 1
319319
320320 let locIdxId = 2
321321
322322 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
323323
324324
325325 let KS_SEPARATE_PUBLIC_KEY = false
326326
327327 let KS_ALLOW_BIG_INFRA_MERGE = false
328328
329329 let chain = take(drop(this.bytes, 1), 1)
330330
331331 let usdtAssetId = match chain {
332332 case _ =>
333333 if ((base58'2W' == $match0))
334334 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
335335 else if ((base58'2T' == $match0))
336336 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
337337 else throw("Unknown chain")
338338 }
339339
340340 let defaultRestAddressStr = match chain {
341341 case _ =>
342342 if ((base58'2W' == $match0))
343343 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
344344 else if ((base58'2T' == $match0))
345345 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
346346 else throw("Unknown chain")
347347 }
348348
349349 let InfraUpgradeCostS = match chain {
350350 case _ =>
351351 if ((base58'2W' == $match0))
352352 then 10000000000
353353 else if ((base58'2T' == $match0))
354354 then 100000000
355355 else throw("Unknown chain")
356356 }
357357
358358 let arbitrageDelay = match chain {
359359 case _ =>
360360 if ((base58'2W' == $match0))
361361 then 86400000
362362 else if ((base58'2T' == $match0))
363363 then 60000
364364 else throw("Unknown chain")
365365 }
366366
367367 let SEP = "__"
368368
369369 let MULT6 = 1000000
370370
371371 let MULT8 = 100000000
372372
373373 let SSIZE = 25
374374
375375 let MSIZE = 100
376376
377377 let LSIZE = 225
378378
379379 let XLSIZE = 400
380380
381381 let XXLSIZE = 625
382382
383383 let ITER6 = [0, 1, 2, 3, 4, 5]
384384
385385 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
386386
387387
388388 let IdxCfgStakingDapp = 1
389389
390390 let IdxCfgEconomyDapp = 2
391391
392392 let IdxCfgGovernanceDapp = 3
393393
394394 let IdxCfgWlgDapp = 4
395395
396396 let IdxCfgTournamentDapp = 7
397397
398398 func keyRestCfg () = "%s__restConfig"
399399
400400
401401 func keyRestAddress () = "%s__restAddr"
402402
403403
404404 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
405405
406406
407407 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
408408
409409
410410 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
411411
412412 let restCfg = readRestCfgOrFail(restContract)
413413
414414 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
415415
416416 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
417417
418418 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
419419
420420 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
421421
422422 let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp)
423423
424424 let recLandNum = 0
425425
426426 let recLandSize = 1
427427
428428 let recTerrains = 2
429429
430430 let recContinent = 3
431431
432432 let wlgAssetIdKey = "wlg_assetId"
433433
434434 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "Not initialized yet")
435435
436436 let randomDelay = 2
437437
438438 func keyCommit (address) = ("finishBlockForAddr_" + address)
439439
440440
441441 func keyResProportions () = "resTypesProportions"
442442
443443
444444 func keyResTypesByContinent (continent) = ("resTypesByContinent_" + continent)
445445
446446
447447 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
448448
449449
450450 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
451451
452452
453453 func asString (v) = match v {
454454 case s: String =>
455455 s
456456 case _ =>
457457 throw("fail to cast into String")
458458 }
459459
460460
461461 func asInt (v) = match v {
462462 case n: Int =>
463463 n
464464 case _ =>
465465 throw("fail to cast into Int")
466466 }
467467
468468
469469 func asBoolean (v) = match v {
470470 case s: Boolean =>
471471 s
472472 case _ =>
473473 throw("fail to cast into Boolean")
474474 }
475475
476476
477477 func numPiecesBySize (landSize) = match landSize {
478478 case _ =>
479479 if (("S" == $match0))
480480 then SSIZE
481481 else if (("M" == $match0))
482482 then MSIZE
483483 else if (("L" == $match0))
484484 then LSIZE
485485 else if (("XL" == $match0))
486486 then XLSIZE
487487 else if (("XXL" == $match0))
488488 then XXLSIZE
489489 else throw("Unknown land size")
490490 }
491491
492492
493493 func isDigit (s) = isDefined(parseInt(s))
494494
495495
496496 func keyBlocked () = "contractsBlocked"
497497
498498
499499 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
500500
501501
502502 func getRandomNumber (maxValue,finishHeight,auxEntropy) = {
503503 let randomSeedBlock = value(blockInfoByHeight(finishHeight))
504504 let randomHash = sha256((value(randomSeedBlock.vrf) + auxEntropy))
505505 (toInt(randomHash) % maxValue)
506506 }
507507
508508
509509 let incubatorAddr = match chain {
510510 case _ =>
511511 if ((base58'2W' == $match0))
512512 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
513513 else if ((base58'2T' == $match0))
514514 then this
515515 else throw("Unknown chain")
516516 }
517517
518518 let breederAddr = match chain {
519519 case _ =>
520520 if ((base58'2W' == $match0))
521521 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
522522 else if ((base58'2T' == $match0))
523523 then this
524524 else throw("Unknown chain")
525525 }
526526
527527 let pub = match chain {
528528 case _ =>
529529 if ((base58'2W' == $match0))
530530 then if (KS_SEPARATE_PUBLIC_KEY)
531531 then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm'
532532 else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
533533 else if ((base58'2T' == $match0))
534534 then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
535535 else throw("Unknown chain")
536536 }
537537
538538 let EMPTY_PROD50 = base64'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=='
539539
540540 let FIVEMINUTESMILLIS = 300000
541541
542542 let RENAMINGCOST = 5000000
543543
544544 let MAXNAMELEN = 50
545545
546546 let InfraUpgradeCostSUsdt = 10000000
547547
548548 let EXPMATERIALS = match chain {
549549 case _ =>
550550 if ((base58'2W' == $match0))
551551 then 252289527462
552552 else if ((base58'2T' == $match0))
553553 then 2522895274
554554 else throw("Unknown chain")
555555 }
556556
557557 let EXPUSDT = match chain {
558558 case _ =>
559559 if ((base58'2W' == $match0))
560560 then 250000000
561561 else if ((base58'2T' == $match0))
562562 then 250000000
563563 else throw("Unknown chain")
564564 }
565565
566566 let FIVEX = toBigInt(5)
567567
568568 let TWENTYX = toBigInt(20)
569569
570570 let TWENTY2X = toBigInt((20 * 20))
571571
572572 let TWENTY3X = toBigInt(((20 * 20) * 20))
573573
574574 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
575575
576576 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
577577
578578 let PRESALENUMLANDS = 500
579579
580580 func keyNextFreeLandNum () = "nextLandNum"
581581
582582
583583 func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name)
584584
585585
586586 func keyLandToAssetId (landNum) = ("landToAsset_" + landNum)
587587
588588
589589 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr)
590590
591591
592592 func keyLandNumToOwner (landNum) = ("landOwner_" + landNum)
593593
594594
595595 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
596596
597597
598598 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
599599
600600
601601 func keyOldies () = "oldiesList"
602602
603603
604604 let claimModeWh = 0
605605
606606 let claimModeDuck = 1
607607
608608 let claimModeWhThenDuck = 2
609609
610610 let flHealth = 0
611611
612612 let flTimestamp = 5
613613
614614 let flBonus = 6
615615
616616 let flProdsUsed = 7
617617
618618 func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
619619
620620
621621 func toVolume (amount,pkgSize) = {
622622 let pkgs = if ((amount >= 0))
623623 then (((amount + pkgSize) - 1) / pkgSize)
624624 else -((((-(amount) + pkgSize) - 1) / pkgSize))
625625 (pkgs * MULT8)
626626 }
627627
628628
629629 func distributeByWeights (total,weights) = {
630630 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
631631 if ((0 >= sum))
632632 then throw("Zero weights sum")
633633 else {
634634 let norm6 = fraction(total, MULT6, sum)
635635 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
636636
637637 let $l = weights
638638 let $s = size($l)
639639 let $acc0 = nil
640640 func $f0_1 ($a,$i) = if (($i >= $s))
641641 then $a
642642 else normalizer($a, $l[$i])
643643
644644 func $f0_2 ($a,$i) = if (($i >= $s))
645645 then $a
646646 else throw("List size exceeds 6")
647647
648648 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
649649 }
650650 }
651651
652652
653653 func getNeededMaterials (total) = {
654654 let props = split(value(getString(keyResProportions())), "_")
655655 if ((size(props) != NUMRES))
656656 then throw("Wrong proportions data")
657657 else {
658658 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
659659 distributeByWeights(total, r)
660660 }
661661 }
662662
663663
664664 func subtractMaterials (shouldUseMat,has,totalNeed) = {
665665 let need = getNeededMaterials(totalNeed)
666666 func subtractor (acc,idx) = {
667667 let result = (parseIntValue(has[idx]) - need[idx])
668668 if ((0 > result))
669669 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
670670 else (acc :+ toString(result))
671671 }
672672
673673 if (shouldUseMat)
674674 then {
675675 let $l = ITER6
676676 let $s = size($l)
677677 let $acc0 = nil
678678 func $f0_1 ($a,$i) = if (($i >= $s))
679679 then $a
680680 else subtractor($a, $l[$i])
681681
682682 func $f0_2 ($a,$i) = if (($i >= $s))
683683 then $a
684684 else throw("List size exceeds 6")
685685
686686 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
687687 }
688688 else has
689689 }
690690
691691
692692 func subtractEquipment (oldEq,pUsed) = if ((pUsed == ""))
693693 then $Tuple2(oldEq, false)
694694 else {
695695 func subUsed (acc,idxAmt) = {
696696 let parts = split(idxAmt, ",")
697697 if ((size(parts) != 2))
698698 then throw("Incorrect format, should be index,amount")
699699 else {
700700 let idx = parseIntValue(parts[0])
701701 if (if ((0 > idx))
702702 then true
703703 else (idx >= size(productionMatrix)))
704704 then throw("Unknown product idx")
705705 else {
706706 let amt = parseIntValue(parts[1])
707707 let eqParts = split(acc._1, (parts[0] + ":"))
708708 if ((size(eqParts) != 2))
709709 then throw((("You don't have " + prodTypes[idx]) + " equipped"))
710710 else {
711711 let tmp = eqParts[1]
712712 let numLen = if (isDigit(take(drop(tmp, 1), 1)))
713713 then 2
714714 else 1
715715 let curr = parseIntValue(take(tmp, numLen))
716716 let tail = drop(tmp, numLen)
717717 let newAmt = if ((curr >= amt))
718718 then (curr - amt)
719719 else throw(((((("You equipped " + toString(curr)) + " of ") + prodTypes[idx]) + ", but tried to use ") + toString(amt)))
720720 $Tuple2(((((eqParts[0] + parts[0]) + ":") + toString(newAmt)) + tail), if (acc._2)
721721 then true
722722 else if (if ((idx >= 6))
723723 then (8 >= idx)
724724 else false)
725725 then (newAmt == 0)
726726 else false)
727727 }
728728 }
729729 }
730730 }
731731
732732 let $l = split(pUsed, "_")
733733 let $s = size($l)
734734 let $acc0 = $Tuple2(oldEq, false)
735735 func $f0_1 ($a,$i) = if (($i >= $s))
736736 then $a
737737 else subUsed($a, $l[$i])
738738
739739 func $f0_2 ($a,$i) = if (($i >= $s))
740740 then $a
741741 else throw("List size exceeds 10")
742742
743743 $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)
744744 }
745745
746746
747747 func prodStrToBytes (prodStr) = {
748748 let pList = if ((prodStr == ""))
749749 then nil
750750 else split_4C(prodStr, "_")
751751 func toBV (acc,recipe) = {
752752 let j = (size(acc) / 8)
753753 let curr = if ((size(pList) > j))
754754 then parseIntValue(pList[j])
755755 else 0
756756 (acc + toBytes(curr))
757757 }
758758
759759 let $l = productionMatrix
760760 let $s = size($l)
761761 let $acc0 = base58''
762762 func $f0_1 ($a,$i) = if (($i >= $s))
763763 then $a
764764 else toBV($a, $l[$i])
765765
766766 func $f0_2 ($a,$i) = if (($i >= $s))
767767 then $a
768768 else throw("List size exceeds 50")
769769
770770 $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)
771771 }
772772
773773
774774 func bytesToProdStr (bv) = {
775775 func fromBV (acc,recipe) = {
776776 let j = size(acc)
777777 let b = take(drop(bv, (8 * j)), 8)
778778 (acc :+ toString(toInt(b)))
779779 }
780780
781781 makeString_2C({
782782 let $l = productionMatrix
783783 let $s = size($l)
784784 let $acc0 = nil
785785 func $f0_1 ($a,$i) = if (($i >= $s))
786786 then $a
787787 else fromBV($a, $l[$i])
788788
789789 func $f0_2 ($a,$i) = if (($i >= $s))
790790 then $a
791791 else throw("List size exceeds 50")
792792
793793 $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)
794794 }, "_")
795795 }
796796
797797
798798 func checkStatRequirements (duckStats,reqs) = {
799799 func check (acc,j) = {
800800 let buff = if ((size(duckStats) > (7 + j)))
801801 then duckStats[(7 + j)]
802802 else 0
803803 if ((parseIntValue(reqs[j]) > (duckStats[j] + buff)))
804804 then throw(("Requirement not satisfied: " + requirements[j]))
805805 else true
806806 }
807807
808808 let $l = [0, 1, 2, 3, 4, 5, 6]
809809 let $s = size($l)
810810 let $acc0 = false
811811 func $f0_1 ($a,$i) = if (($i >= $s))
812812 then $a
813813 else check($a, $l[$i])
814814
815815 func $f0_2 ($a,$i) = if (($i >= $s))
816816 then $a
817817 else throw("List size exceeds 7")
818818
819819 $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)
820820 }
821821
822822
823823 func placeProdB (idxCnt,pList,isPositive,duckStats,occupied,free) = {
824824 let parts = split(idxCnt, ":")
825825 if ((size(parts) != 2))
826826 then throw("Incorrect format, should be index:amount")
827827 else if (if (!(isPositive))
828828 then (size(parts[0]) != 2)
829829 else false)
830830 then throw("Product idx should be 2 digits, zero padded")
831831 else {
832832 let productIdx = parseIntValue(parts[0])
833833 let count = parseIntValue(parts[1])
834834 if (!(containsElement(fortAllowedProds, productIdx)))
835835 then throw((("Product '" + prodTypes[productIdx]) + "' cannot be used for land defense"))
836836 else if ((0 > count))
837837 then throw("Count can't be negative")
838838 else if ((count > MAXPRODINSLOT))
839839 then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx]))
840840 else if ((count == 0))
841841 then $Tuple3(pList, occupied, free)
842842 else {
843843 let head = take(pList, (8 * productIdx))
844844 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
845845 let tail = drop(pList, (8 * (productIdx + 1)))
846846 let recipe = split(productionMatrix[productIdx], "_")
847847 if (if (!(isPositive))
848848 then (count > curr)
849849 else false)
850850 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
851851 else {
852852 let newAmt = if (if (!(isPositive))
853853 then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
854854 else false)
855855 then (curr - count)
856856 else (curr + count)
857857 let deltaVol = (toVolume(newAmt, PRODUCTPKGSIZE) - toVolume(curr, PRODUCTPKGSIZE))
858858 $Tuple3(((head + toBytes(newAmt)) + tail), (occupied + deltaVol), (free - deltaVol))
859859 }
860860 }
861861 }
862862 }
863863
864864
865865 func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = {
866866 let parts = split(idxCnt, ":")
867867 if ((size(parts) != 2))
868868 then throw("Incorrect format, should be index:amount")
869869 else if (if (!(isPositive))
870870 then (size(parts[0]) != 2)
871871 else false)
872872 then throw("Product idx should be 2 digits, zero padded")
873873 else {
874874 let productIdx = parseIntValue(parts[0])
875875 let count = parseIntValue(parts[1])
876876 if (if ((0 > productIdx))
877877 then true
878878 else (productIdx >= size(productionMatrix)))
879879 then throw("Unknown product idx")
880880 else if ((0 > count))
881881 then throw("Count can't be negative")
882882 else if ((count > MAXPRODINSLOT))
883883 then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx]))
884884 else if ((count == 0))
885885 then $Tuple2(pList, false)
886886 else {
887887 let head = take(pList, (8 * productIdx))
888888 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
889889 let tail = drop(pList, (8 * (productIdx + 1)))
890890 let recipe = split(productionMatrix[productIdx], "_")
891891 if (if (!(isPositive))
892892 then (count > curr)
893893 else false)
894894 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
895895 else {
896896 let isBigItem = if (if (!(isPositive))
897897 then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
898898 else false)
899899 then {
900900 let compat = recipe[rIdxSlots]
901901 if ((compat == ""))
902902 then throw("Item cannot be equipped")
903903 else {
904904 let c = parseIntValue(compat)
905905 let cSeg = (c / 100)
906906 if ((segment != cSeg))
907907 then throw("Segment incompatible")
908908 else {
909909 let cMainAux = ((c % 100) / 10)
910910 if ((mainAux != cMainAux))
911911 then throw("Slot incompatible")
912912 else {
913913 let cNumSlots = (c % 10)
914914 if (if ((slot != 0))
915915 then (cNumSlots > 1)
916916 else false)
917917 then throw("Big items should occupy slot 0")
918918 else (cNumSlots > 1)
919919 }
920920 }
921921 }
922922 }
923923 else false
924924 $Tuple2(((head + toBytes((curr + (if (isPositive)
925925 then count
926926 else -(count))))) + tail), isBigItem)
927927 }
928928 }
929929 }
930930 }
931931
932932
933933 func slotsGroupB (g,bpIn,isPositive,segment,mainAux,stats) = if ((g != ""))
934934 then {
935935 let slots = split(g, ",")
936936 if ((size(slots) > MAXSLOTS))
937937 then throw("Wrong slots format")
938938 else {
939939 let s0 = slots[0]
940940 let s1 = if ((size(slots) > 1))
941941 then slots[1]
942942 else ""
943943 if (if ((s0 == ""))
944944 then (s1 == "")
945945 else false)
946946 then bpIn
947947 else {
948948 let tmpS0 = if ((s0 != ""))
949949 then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, stats)
950950 else $Tuple2(bpIn, false)
951951 if ((s1 != ""))
952952 then if (tmpS0._2)
953953 then throw("Big item already occupies slot")
954954 else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, stats)._1
955955 else tmpS0._1
956956 }
957957 }
958958 }
959959 else bpIn
960960
961961
962962 func dressB (segList,pBytes,isPositive,stats) = {
963963 func segment (acc,seg) = {
964964 let j = acc._1
965965 let mainAux = split(seg, ";")
966966 if ((size(mainAux) != NUMMAINAUX))
967967 then throw("Wrong segment format")
968968 else {
969969 let m = mainAux[0]
970970 let a = mainAux[1]
971971 if (if ((m == ""))
972972 then (a == "")
973973 else false)
974974 then $Tuple2((j + 1), acc._2)
975975 else {
976976 let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, stats)
977977 $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, stats))
978978 }
979979 }
980980 }
981981
982982 ( let $l = segList
983983 let $s = size($l)
984984 let $acc0 = $Tuple2(0, pBytes)
985985 func $f0_1 ($a,$i) = if (($i >= $s))
986986 then $a
987987 else segment($a, $l[$i])
988988
989989 func $f0_2 ($a,$i) = if (($i >= $s))
990990 then $a
991991 else throw("List size exceeds 6")
992992
993993 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2
994994 }
995995
996996
997997 func fortB (segList,pBytes,occupied,free,isPositive,duckStats) = if ((3 > size(segList)))
998998 then throw("At least duck, mines and traps parts are required")
999999 else {
10001000 func segment (acc,seg) = {
10011001 let j = acc._1
10021002 if ((j == 0))
10031003 then $Tuple4((j + 1), acc._2, acc._3, acc._4)
10041004 else {
10051005 let p = placeProdB(seg, acc._2, isPositive, duckStats, acc._3, acc._4)
10061006 $Tuple4((j + 1), p._1, p._2, p._3)
10071007 }
10081008 }
10091009
10101010 let t = {
10111011 let $l = segList
10121012 let $s = size($l)
10131013 let $acc0 = $Tuple4(0, pBytes, occupied, free)
10141014 func $f0_1 ($a,$i) = if (($i >= $s))
10151015 then $a
10161016 else segment($a, $l[$i])
10171017
10181018 func $f0_2 ($a,$i) = if (($i >= $s))
10191019 then $a
10201020 else throw("List size exceeds 10")
10211021
10221022 $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)
10231023 }
10241024 $Tuple3(t._2, t._3, t._4)
10251025 }
10261026
10271027
10281028 func canWearCurrentEquipment (duckAssetId) = {
10291029 let eqKey = keyDuckEquipment(duckAssetId)
10301030 let currEq = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
10311031 let tempProdB = dressB(currEq, EMPTY_PROD50, true, nil)
10321032 let segBpAux = split(currEq[segBackpack], ";")[1]
10331033 let buffEffect = if ((segBpAux == ""))
10341034 then 0
10351035 else {
10361036 let aux0 = split(segBpAux, ",")[0]
10371037 if ((aux0 == ""))
10381038 then 0
10391039 else {
10401040 let idxCnt = split(aux0, ":")
10411041 let idx = idxCnt[0]
10421042 let cnt = idxCnt[1]
10431043 if (if (if (if (if ((idx == "06"))
10441044 then true
10451045 else (idx == "07"))
10461046 then true
10471047 else (idx == "08"))
10481048 then (cnt != "")
10491049 else false)
10501050 then (parseIntValue(cnt) > 0)
10511051 else false)
10521052 then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect])
10531053 else 0
10541054 }
10551055 }
10561056 let stats = getDuckStats(this, duckAssetId, buffEffect, true)
10571057 let newProdB = dressB(currEq, tempProdB, false, stats)
10581058 (newProdB == newProdB)
10591059 }
10601060
10611061
10621062 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
10631063 then throw("Wrong proportions data")
10641064 else {
10651065 func updater (acc,i) = {
10661066 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
10671067 if ((0 > result))
10681068 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
10691069 else (acc :+ toString(result))
10701070 }
10711071
10721072 let $l = ITER6
10731073 let $s = size($l)
10741074 let $acc0 = nil
10751075 func $f0_1 ($a,$i) = if (($i >= $s))
10761076 then $a
10771077 else updater($a, $l[$i])
10781078
10791079 func $f0_2 ($a,$i) = if (($i >= $s))
10801080 then $a
10811081 else throw("List size exceeds 6")
10821082
10831083 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10841084 }
10851085
10861086
10871087 func updateProportions (terrainCounts,landSizeIndex,sign) = {
10881088 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
10891089 makeString(updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign), "_")
10901090 }
10911091
10921092
10931093 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)]
10941094
10951095
10961096 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
10971097 func adder (acc,i) = {
10981098 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
10991099 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
11001100 }
11011101
11021102 let r = {
11031103 let $l = ITER6
11041104 let $s = size($l)
11051105 let $acc0 = nil
11061106 func $f0_1 ($a,$i) = if (($i >= $s))
11071107 then $a
11081108 else adder($a, $l[$i])
11091109
11101110 func $f0_2 ($a,$i) = if (($i >= $s))
11111111 then $a
11121112 else throw("List size exceeds 6")
11131113
11141114 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11151115 }
11161116 makeString(r, "_")
11171117 }
11181118
11191119
11201120 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
11211121 func adder (acc,i) = {
11221122 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
11231123 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
11241124 }
11251125
11261126 let $l = ITER6
11271127 let $s = size($l)
11281128 let $acc0 = $Tuple2(nil, 0)
11291129 func $f0_1 ($a,$i) = if (($i >= $s))
11301130 then $a
11311131 else adder($a, $l[$i])
11321132
11331133 func $f0_2 ($a,$i) = if (($i >= $s))
11341134 then $a
11351135 else throw("List size exceeds 6")
11361136
11371137 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11381138 }
11391139
11401140
11411141 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
11421142 let resListToClaim = resToClaim._1
11431143 let resAmToClaim = resToClaim._2
11441144 if ((resAmToClaim == 0))
11451145 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
11461146 else if ((whSpaceLeft >= resAmToClaim))
11471147 then {
11481148 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
11491149
11501150 let r = {
11511151 let $l = ITER6
11521152 let $s = size($l)
11531153 let $acc0 = nil
11541154 func $f0_1 ($a,$i) = if (($i >= $s))
11551155 then $a
11561156 else addLists($a, $l[$i])
11571157
11581158 func $f0_2 ($a,$i) = if (($i >= $s))
11591159 then $a
11601160 else throw("List size exceeds 6")
11611161
11621162 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11631163 }
11641164 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
11651165 }
11661166 else {
11671167 func addPartLists (acc,i) = {
11681168 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
11691169 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
11701170 }
11711171
11721172 let r = {
11731173 let $l = ITER6
11741174 let $s = size($l)
11751175 let $acc0 = $Tuple2(nil, nil)
11761176 func $f0_1 ($a,$i) = if (($i >= $s))
11771177 then $a
11781178 else addPartLists($a, $l[$i])
11791179
11801180 func $f0_2 ($a,$i) = if (($i >= $s))
11811181 then $a
11821182 else throw("List size exceeds 6")
11831183
11841184 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11851185 }
11861186 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
11871187 }
11881188 }
11891189
11901190
11911191 func abs (x) = if ((x >= toBigInt(0)))
11921192 then x
11931193 else -(x)
11941194
11951195
11961196 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]]
11971197
11981198 func genChar (n,freqs) = {
11991199 let rem = toInt((n % TWENTYX))
12001200 let letter = if ((freqs[0] > rem))
12011201 then "A"
12021202 else if ((freqs[1] > rem))
12031203 then "B"
12041204 else if ((freqs[2] > rem))
12051205 then "C"
12061206 else if ((freqs[3] > rem))
12071207 then "D"
12081208 else if ((freqs[4] > rem))
12091209 then "E"
12101210 else "F"
12111211 letter
12121212 }
12131213
12141214
12151215 func genTerrains (seed,continentIdx) = {
12161216 let f = freq[continentIdx]
12171217 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))
12181218
12191219 let t = {
12201220 let $l = [1, 2, 3, 4, 5]
12211221 let $s = size($l)
12221222 let $acc0 = $Tuple2("", (seed / FIVEX))
12231223 func $f0_1 ($a,$i) = if (($i >= $s))
12241224 then $a
12251225 else terrainGenerator($a, $l[$i])
12261226
12271227 func $f0_2 ($a,$i) = if (($i >= $s))
12281228 then $a
12291229 else throw("List size exceeds 5")
12301230
12311231 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
12321232 }
12331233 t._1
12341234 }
12351235
12361236
12371237 let PERM25 = [7, 2, 15, 19, 8, 24, 1, 21, 16, 5, 0, 22, 20, 23, 11, 4, 18, 12, 6, 10, 3, 17, 13, 9, 14]
12381238
12391239 let TCHARS = ["A", "B", "C", "D", "E", "F"]
12401240
12411241 func genTerrainsForMerge (sumTerrains,landSizeIndex) = {
12421242 func step1 (acc,s) = {
12431243 let j = acc._2
12441244 let el = parseIntValue(s)
12451245 let x = if ((el == 0))
12461246 then 0
12471247 else if ((el >= (4 * landSizeIndex)))
12481248 then (el / landSizeIndex)
12491249 else if ((el > (3 * landSizeIndex)))
12501250 then 3
12511251 else (((el - 1) / landSizeIndex) + 1)
12521252 $Tuple3((acc._1 :+ x), (acc._2 + 1), (acc._3 + x))
12531253 }
12541254
12551255 let t = {
12561256 let $l = sumTerrains
12571257 let $s = size($l)
12581258 let $acc0 = $Tuple3(nil, 0, 0)
12591259 func $f0_1 ($a,$i) = if (($i >= $s))
12601260 then $a
12611261 else step1($a, $l[$i])
12621262
12631263 func $f0_2 ($a,$i) = if (($i >= $s))
12641264 then $a
12651265 else throw("List size exceeds 6")
12661266
12671267 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12681268 }
12691269 let arr = t._1
12701270 let maxIdx = value(indexOf(arr, max(arr)))
12711271 let delta = (t._3 - 25)
12721272 func subber (acc,idx) = {
12731273 let val = if ((idx == maxIdx))
12741274 then (arr[idx] - delta)
12751275 else arr[idx]
12761276 let zeroes = if ((val == 0))
12771277 then nil
12781278 else split(drop(toString(pow(10, 0, val, 0, 0, DOWN)), 1), "")
12791279 let c = TCHARS[idx]
12801280 func listGen (ac,ignored) = (ac :+ c)
12811281
12821282 let z = {
12831283 let $l = zeroes
12841284 let $s = size($l)
12851285 let $acc0 = nil
12861286 func $f1_1 ($a,$i) = if (($i >= $s))
12871287 then $a
12881288 else listGen($a, $l[$i])
12891289
12901290 func $f1_2 ($a,$i) = if (($i >= $s))
12911291 then $a
12921292 else throw("List size exceeds 25")
12931293
12941294 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_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)
12951295 }
12961296 (acc ++ z)
12971297 }
12981298
12991299 let r = {
13001300 let $l = ITER6
13011301 let $s = size($l)
13021302 let $acc0 = nil
13031303 func $f1_1 ($a,$i) = if (($i >= $s))
13041304 then $a
13051305 else subber($a, $l[$i])
13061306
13071307 func $f1_2 ($a,$i) = if (($i >= $s))
13081308 then $a
13091309 else throw("List size exceeds 6")
13101310
13111311 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
13121312 }
13131313 func permut (acc,j) = (acc + r[j])
13141314
13151315 let $l = PERM25
13161316 let $s = size($l)
13171317 let $acc0 = ""
13181318 func $f2_1 ($a,$i) = if (($i >= $s))
13191319 then $a
13201320 else permut($a, $l[$i])
13211321
13221322 func $f2_2 ($a,$i) = if (($i >= $s))
13231323 then $a
13241324 else throw("List size exceeds 25")
13251325
13261326 $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($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)
13271327 }
13281328
13291329
13301330 func getBackpack (bpKey) = {
13311331 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
13321332 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
13331333 then p[bpIdxRes]
13341334 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
13351335 then p[bpIdxMat]
13361336 else "0_0_0_0_0_0", p[bpIdxProd]]
13371337 }
13381338
13391339
13401340 func getWarehouseTotalVolume (volPrefix) = {
13411341 let parts = split(volPrefix, "_")
13421342 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
13431343 }
13441344
13451345
13461346 func getWarehouseOccupiedVol (currentWh) = {
13471347 let goods = currentWh[whIdxProd]
13481348 func sumResMat (acc,item) = (acc + parseIntValue(item))
13491349
13501350 func sumProd (acc,item) = {
13511351 let idx = acc._1
13521352 let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE)
13531353 $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8)))
13541354 }
13551355
13561356 let whResVol = {
13571357 let $l = split(currentWh[whIdxRes], "_")
13581358 let $s = size($l)
13591359 let $acc0 = 0
13601360 func $f0_1 ($a,$i) = if (($i >= $s))
13611361 then $a
13621362 else sumResMat($a, $l[$i])
13631363
13641364 func $f0_2 ($a,$i) = if (($i >= $s))
13651365 then $a
13661366 else throw("List size exceeds 6")
13671367
13681368 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
13691369 }
13701370 let whMatVol = {
13711371 let $l = split(currentWh[whIdxMat], "_")
13721372 let $s = size($l)
13731373 let $acc0 = 0
13741374 func $f1_1 ($a,$i) = if (($i >= $s))
13751375 then $a
13761376 else sumResMat($a, $l[$i])
13771377
13781378 func $f1_2 ($a,$i) = if (($i >= $s))
13791379 then $a
13801380 else throw("List size exceeds 6")
13811381
13821382 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
13831383 }
13841384 let whGoodsVol = if ((goods == ""))
13851385 then 0
13861386 else ( let $l = split_4C(goods, "_")
13871387 let $s = size($l)
13881388 let $acc0 = $Tuple2(0, 0)
13891389 func $f2_1 ($a,$i) = if (($i >= $s))
13901390 then $a
13911391 else sumProd($a, $l[$i])
13921392
13931393 func $f2_2 ($a,$i) = if (($i >= $s))
13941394 then $a
13951395 else throw("List size exceeds 50")
13961396
13971397 $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
13981398 ((whResVol + whMatVol) + whGoodsVol)
13991399 }
14001400
14011401
14021402 func getWarehouse (whKey,landIndex,infraLevel) = {
14031403 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
14041404 let whTotal = getWarehouseTotalVolume(volPrefix)
14051405 let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0"))
14061406 let wh = split_4C(whStr, ":")
14071407 let whOccupied = getWarehouseOccupiedVol(wh)
14081408 let whLoft = if ((5 > size(wh)))
14091409 then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_")
14101410 else {
14111411 let loft = split(wh[whIdxLOFT], "_")
14121412 let whLocked = parseIntValue(loft[volLocked])
14131413 let occ = if ((size(loft) > 1))
14141414 then parseIntValue(loft[volOccupied])
14151415 else whOccupied
14161416 makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_")
14171417 }
14181418 [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES))
14191419 then wh[whIdxRes]
14201420 else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES))
14211421 then wh[whIdxMat]
14221422 else "0_0_0_0_0_0", wh[whIdxProd], whLoft]
14231423 }
14241424
14251425
14261426 func getWarehouseSpaceLeft (currentWh) = {
14271427 let occupiedVol = getWarehouseOccupiedVol(currentWh)
14281428 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
14291429 ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol)
14301430 }
14311431
14321432
14331433 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
14341434 then throw("cargoListStr should contain exactly 2 ':' separators")
14351435 else {
14361436 let resParts = split(cargoParts[0], "_")
14371437 let matParts = split(cargoParts[1], "_")
14381438 let prodParts = if ((cargoParts[2] == ""))
14391439 then nil
14401440 else split_4C(cargoParts[2], "_")
14411441 if ((size(resParts) != NUMRES))
14421442 then throw("All 6 resources should be passed")
14431443 else if ((size(matParts) != NUMRES))
14441444 then throw("All 6 materials should be passed")
14451445 else {
14461446 let whSpaceLeft = getWarehouseSpaceLeft(currentWh)
14471447 let currWhRes = split(currentWh[whIdxRes], "_")
14481448 let currWhMat = split(currentWh[whIdxMat], "_")
14491449 let currWhProd = if ((currentWh[whIdxProd] == ""))
14501450 then nil
14511451 else split_4C(currentWh[whIdxProd], "_")
14521452 let currentPackRes = split(currentPack[bpIdxRes], "_")
14531453 let currentPackMat = split(currentPack[bpIdxMat], "_")
14541454 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
14551455 then nil
14561456 else split_4C(currentPack[bpIdxProd], "_")
14571457 func mvR (acc,item) = {
14581458 let i = acc._1
14591459 let am = parseIntValue(item)
14601460 let whr = parseIntValue(currWhRes[i])
14611461 let bpr = parseIntValue(currentPackRes[i])
14621462 if ((am == 0))
14631463 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
14641464 else if ((am > 0))
14651465 then if ((am > bpr))
14661466 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
14671467 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
14681468 else if ((-(am) > whr))
14691469 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
14701470 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
14711471 }
14721472
14731473 let r = {
14741474 let $l = resParts
14751475 let $s = size($l)
14761476 let $acc0 = $Tuple4(0, nil, nil, 0)
14771477 func $f0_1 ($a,$i) = if (($i >= $s))
14781478 then $a
14791479 else mvR($a, $l[$i])
14801480
14811481 func $f0_2 ($a,$i) = if (($i >= $s))
14821482 then $a
14831483 else throw("List size exceeds 6")
14841484
14851485 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
14861486 }
14871487 func mvM (acc,item) = {
14881488 let i = acc._1
14891489 let am = parseIntValue(item)
14901490 let whm = parseIntValue(currWhMat[i])
14911491 let bpm = parseIntValue(currentPackMat[i])
14921492 if ((am == 0))
14931493 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
14941494 else if ((am > 0))
14951495 then if ((am > bpm))
14961496 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
14971497 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
14981498 else if ((-(am) > whm))
14991499 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
15001500 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
15011501 }
15021502
15031503 let m = {
15041504 let $l = matParts
15051505 let $s = size($l)
15061506 let $acc0 = $Tuple4(0, nil, nil, r._4)
15071507 func $f1_1 ($a,$i) = if (($i >= $s))
15081508 then $a
15091509 else mvM($a, $l[$i])
15101510
15111511 func $f1_2 ($a,$i) = if (($i >= $s))
15121512 then $a
15131513 else throw("List size exceeds 6")
15141514
15151515 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
15161516 }
15171517 func mvP (acc,item) = {
15181518 let i = acc._1
15191519 let am = parseIntValue(item)
15201520 let whp = if ((size(currWhProd) > i))
15211521 then parseIntValue(currWhProd[i])
15221522 else 0
15231523 let bpp = if ((size(currentPackProd) > i))
15241524 then parseIntValue(currentPackProd[i])
15251525 else 0
15261526 if ((am == 0))
15271527 then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4)
15281528 else if ((am > 0))
15291529 then if ((am > bpp))
15301530 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
15311531 else {
15321532 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
15331533 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
15341534 }
15351535 else if ((-(am) > whp))
15361536 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
15371537 else {
15381538 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
15391539 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
15401540 }
15411541 }
15421542
15431543 let p = if ((size(prodParts) != 0))
15441544 then {
15451545 let $l = prodParts
15461546 let $s = size($l)
15471547 let $acc0 = $Tuple4(0, nil, nil, m._4)
15481548 func $f2_1 ($a,$i) = if (($i >= $s))
15491549 then $a
15501550 else mvP($a, $l[$i])
15511551
15521552 func $f2_2 ($a,$i) = if (($i >= $s))
15531553 then $a
15541554 else throw("List size exceeds 50")
15551555
15561556 $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)
15571557 }
15581558 else $Tuple4(0, currWhProd, currentPackProd, m._4)
15591559 let volSaldo = p._4
15601560 if ((volSaldo > whSpaceLeft))
15611561 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
15621562 else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString_2C(p._3, "_"), volSaldo)
15631563 }
15641564 }
15651565
15661566
15671567 func expeditionInternal (caller,txId) = {
15681568 let userAddr = toString(caller)
15691569 let bigNum = abs(toBigInt(txId))
15701570 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
15711571 let landNum = toString(freeNum)
15721572 let continentIdx = toInt((bigNum % FIVEX))
15731573 let terrains = genTerrains(bigNum, continentIdx)
15741574 let continent = continents[continentIdx]
15751575 let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
15761576 let assetId = calculateAssetId(issue)
15771577 let id = toBase58String(assetId)
15781578 $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))
15791579 }
15801580
15811581
15821582 func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
15831583 then throw("signature does not match")
15841584 else {
15851585 let parts = split_4C(toUtf8String(message), ";")
15861586 let flightLog = split_4C(parts[0], "|")
15871587 let hp = split(flightLog[flHealth], "_")
15881588 let curHP = parseIntValue(hp[0])
15891589 let newHP = parseIntValue(hp[1])
15901590 let newLocTxVer = split(parts[1], ":")
15911591 let newLocation = newLocTxVer[0]
15921592 let time = parseIntValue(flightLog[flTimestamp])
15931593 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
15941594 then true
15951595 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
15961596 then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp)))
15971597 else {
15981598 let txFromMsg = newLocTxVer[1]
15991599 let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "")
16001600 if ((lastTx != txFromMsg))
16011601 then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg))
16021602 else {
16031603 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
16041604 let keyHealth = keyDuckHealth(duckAssetId)
16051605 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
16061606 let oldFromState = valueOrElse(getInteger(keyHealth), maxHP)
16071607 if ((oldFromState != curHP))
16081608 then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP)))
16091609 else if ((0 >= curHP))
16101610 then throw("You can't fly with zero health")
16111611 else if (!(canWearCurrentEquipment(duckAssetId)))
16121612 then throw("Equipment incompatible")
16131613 else {
16141614 let bonus = if ((size(flightLog) > flBonus))
16151615 then flightLog[flBonus]
16161616 else ""
16171617 let prodUsed = if ((size(flightLog) > flProdsUsed))
16181618 then flightLog[flProdsUsed]
16191619 else ""
16201620 let sentAmount = if (if ((newHP > 0))
16211621 then (bonus == "$")
16221622 else false)
16231623 then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil))
16241624 else 0
16251625 $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed)
16261626 }
16271627 }
16281628 }
16291629 }
16301630
16311631
1632-func expeditionCommon (caller,txId,message,sig) = {
1633- let userAddr = toString(caller)
1634- let f = flightCommon(userAddr, message, sig)
1635- let duckAssetId = f._2
1636- let keyHealth = keyDuckHealth(duckAssetId)
1637- let bpKey = keyBackpackByDuck(duckAssetId)
1638- let currentPack = getBackpack(bpKey)
1639- let mList = split(currentPack[bpIdxMat], "_")
1640- let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
1641- let eqKey = keyDuckEquipment(duckAssetId)
1642- let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
1643- let $t03390934006 = subtractEquipment(currentEq, f._5)
1644- let newEq = $t03390934006._1
1645- let shouldZeroBuffs = $t03390934006._2
1646- if ((0 >= f._1))
1647- then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
1648- else {
1649- let e = expeditionInternal(caller, txId)
1650- let id = e._2._1
1651- $Tuple3((e._1 ++ (if (shouldZeroBuffs)
1652- then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
1653- else ((((nil :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))))), id, f._3)
1654- }
1655- }
1656-
1657-
16581632 func applyBonuses (landAssetId,pieces) = {
16591633 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
16601634 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
16611635 let add6 = (infraLevel / 6)
16621636 let add7 = (infraLevel / 7)
16631637 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
16641638 }
16651639
16661640
16671641 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
1668- let $t03522635765 = if ((claimMode == claimModeWh))
1642+ let $t03392034459 = if ((claimMode == claimModeWh))
16691643 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
16701644 else {
16711645 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
16721646 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
16731647 let loc = split(value(curLocation), "_")
16741648 if ((loc[locIdxType] != "L"))
16751649 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
16761650 else $Tuple2(loc[locIdxId], duckAssetId)
16771651 }
1678- let landAssetId = $t03522635765._1
1679- let duckId = $t03522635765._2
1652+ let landAssetId = $t03392034459._1
1653+ let duckId = $t03392034459._2
16801654 let asset = value(assetInfo(fromBase58String(landAssetId)))
16811655 let timeKey = keyStakedTimeByAssetId(landAssetId)
16821656 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
16831657 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
16841658 if ((owner != addr))
16851659 then throw((LANDPREFIX + " is not yours"))
16861660 else {
16871661 let d = split(asset.description, "_")
16881662 $Tuple4(duckId, landAssetId, d, savedTime)
16891663 }
16901664 }
16911665
16921666
16931667 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
16941668 then throw("Negative amount")
16951669 else {
16961670 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
16971671 let landSize = c._3[recLandSize]
16981672 let terrainCounts = countTerrains(c._3[recTerrains])
16991673 let deltaTime = (lastBlock.timestamp - c._4)
17001674 if ((0 > deltaTime))
17011675 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
17021676 else {
17031677 let pieces = numPiecesBySize(landSize)
17041678 let dailyProductionByPiece = applyBonuses(c._2, pieces)
17051679 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
17061680 if ((amount > availRes))
17071681 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
17081682 else {
17091683 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
17101684 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
17111685 let landIndex = (pieces / SSIZE)
17121686 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
17131687 let whKey = keyWarehouseByLand(c._2)
17141688 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
17151689 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
17161690 let loft = split(currentWh[whIdxLOFT], "_")
17171691 let whSpaceLeft = parseIntValue(loft[volFree])
17181692 if (if ((claimMode == claimModeWh))
17191693 then (amount > whSpaceLeft)
17201694 else false)
17211695 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
17221696 else {
17231697 let bpKey = keyBackpackByDuck(c._1)
17241698 let currentPack = getBackpack(bpKey)
17251699 let currentPackRes = split(currentPack[bpIdxRes], "_")
17261700 let currentWhRes = split(currentWh[whIdxRes], "_")
1727- let $t03813939010 = if ((claimMode == claimModeWh))
1701+ let $t03683337704 = if ((claimMode == claimModeWh))
17281702 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
17291703 else if ((claimMode == claimModeDuck))
17301704 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
17311705 else {
17321706 let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
17331707 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
17341708 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
17351709 }
1736- let whRes = $t03813939010._1
1737- let bpRes = $t03813939010._2
1738- let loftO = $t03813939010._3
1739- let loftF = $t03813939010._4
1710+ let whRes = $t03683337704._1
1711+ let bpRes = $t03683337704._2
1712+ let loftO = $t03683337704._3
1713+ let loftF = $t03683337704._4
17401714 $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]], "_")])
17411715 }
17421716 }
17431717 }
17441718 }
17451719
17461720
17471721 func claimAll (addr,landAssetId,pieces,claimMode) = {
17481722 let timeKey = keyStakedTimeByAssetId(landAssetId)
17491723 let savedTime = value(getInteger(timeKey))
17501724 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
17511725 claimResInternal(addr, availRes, claimMode, landAssetId)
17521726 }
17531727
17541728
17551729 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
17561730 let addr = toString(caller)
17571731 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
17581732 let pieces = numPiecesBySize(c._3[recLandSize])
17591733 let infraKey = keyInfraLevelByAssetId(c._2)
17601734 let curLevel = valueOrElse(getInteger(infraKey), 0)
17611735 if (if (!(KS_ALLOW_BIG_INFRA_MERGE))
17621736 then (curLevel >= 3)
17631737 else false)
17641738 then throw("Currently max infrastructure level = 3")
17651739 else {
17661740 let maxInfra = ((sqrt(pieces, 0, 0, DOWN) / 5) + 2)
17671741 let newLevel = (curLevel + 1)
17681742 if (if (KS_ALLOW_BIG_INFRA_MERGE)
17691743 then (newLevel > maxInfra)
17701744 else false)
17711745 then throw(("Currently max infrastructure level = " + toString(maxInfra)))
17721746 else {
17731747 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
17741748 if (if (!(shouldUseMat))
17751749 then (paymentAmount != cost)
17761750 else false)
17771751 then throw(("Payment attached should be " + toString(cost)))
17781752 else {
17791753 let bpKey = keyBackpackByDuck(c._1)
17801754 let currentPack = getBackpack(bpKey)
17811755 let mList = split(currentPack[bpIdxMat], "_")
17821756 let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)
17831757 let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_")
17841758 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
17851759 let whData = claimResult._5
17861760 let oldVol = getWarehouseTotalVolume(whData[whIdxLevels])
17871761 let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_")
17881762 let newVol = getWarehouseTotalVolume(newVolData)
17891763 let loft = split(whData[whIdxLOFT], "_")
17901764 let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_")
17911765 $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)
17921766 }
17931767 }
17941768 }
17951769 }
17961770
17971771
17981772 func updateDuckStatsInternal (duckAssetId,deltaXP) = {
17991773 let lvlKey = keyDuckLevel(duckAssetId)
18001774 let xpKey = keyDuckXP(duckAssetId)
18011775 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
18021776 let newXP = (xp + deltaXP)
18031777 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
18041778 let keyPoints = keyDuckFreePoints(duckAssetId)
18051779 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
18061780 }
18071781
18081782
18091783 func updateAccStatsInternal (addr,deltaXP) = {
18101784 let lvlKey = keyUserLevel(addr)
18111785 let xpKey = keyUserXP(addr)
18121786 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
18131787 let newXP = (xp + deltaXP)
18141788 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
18151789 let keyPoints = keyUserFreePoints(addr)
18161790 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
18171791 }
18181792
18191793
18201794 func activateOnboardArt (addr) = {
18211795 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18221796 let refByKey = keyAddressRefBy(addr)
18231797 let refBy = getString(refByKey)
18241798 if (!(isDefined(refBy)))
18251799 then throw("You are not eligible for ONBOARD artifact")
18261800 else {
18271801 let artKey = keyOnboardArtDuckActivatedBy(addr)
18281802 let artDuck = getString(artKey)
18291803 if (isDefined(artDuck))
18301804 then throw(("You already used your ONBOARD artifact on duck " + value(artDuck)))
18311805 else {
18321806 let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId)
18331807 let duckActivator = getString(duckActivatorKey)
18341808 if (isDefined(duckActivator))
18351809 then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator)))
18361810 else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1)
18371811 }
18381812 }
18391813 }
18401814
18411815
18421816 func activatePresaleArt (addr,landAssetIdIn) = {
18431817 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
18441818 let landAssetId = c._2
18451819 let pieces = numPiecesBySize(c._3[recLandSize])
18461820 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
18471821 if ((valueOrElse(getInteger(activationKey), 0) > 0))
18481822 then throw("Presale artifact is already activated")
18491823 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
18501824 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
18511825 else {
18521826 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
18531827 (((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
18541828 }
1829+ }
1830+
1831+
1832+func isInTournament (location) = {
1833+ let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
1834+ let loc = split(location, "_")
1835+ let now = lastBlock.timestamp
1836+ let tData = getTourData(tournamentContract, lastId)
1837+ let static = tData[idxStatic]
1838+ let dynamic = tData[idxDynamic]
1839+ if (if (if ((loc[locIdxType] == "T"))
1840+ then (parseIntValue(loc[locIdxContinent]) == lastId)
1841+ else false)
1842+ then (dynamic[tDynamicStatus] == "INPROGRESS")
1843+ else false)
1844+ then (parseIntValue(static[tStaticEnd]) > now)
1845+ else false
18551846 }
18561847
18571848
18581849 func checkTournament (duckAssetId) = {
18591850 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
18601851 let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
18611852 let now = lastBlock.timestamp
18621853 let tData = getTourData(tournamentContract, lastId)
18631854 let static = tData[idxStatic]
18641855 let dynamic = tData[idxDynamic]
18651856 if ((curLocation[locIdxType] != "T"))
18661857 then false
18671858 else if (if (if ((parseIntValue(curLocation[locIdxContinent]) == lastId))
18681859 then (dynamic[tDynamicStatus] == "INPROGRESS")
18691860 else false)
18701861 then (parseIntValue(static[tStaticEnd]) > now)
18711862 else false)
18721863 then throw("Your duck is taking part in the tournament")
18731864 else asBoolean(invoke(this, "exitTournamentInternal", [duckAssetId], nil))
18741865 }
18751866
18761867
18771868 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,needMat) = {
18781869 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18791870 if (checkTournament(duckAssetId))
18801871 then throw("mergeInternal_checkTournament")
18811872 else {
18821873 func checkMerge (acc,landAssetId) = {
18831874 let asset = value(assetInfo(fromBase58String(landAssetId)))
18841875 let timeKey = keyStakedTimeByAssetId(landAssetId)
18851876 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
18861877 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
18871878 if ((owner != addr))
18881879 then throw((LANDPREFIX + " is not yours"))
18891880 else {
18901881 let d = split(asset.description, "_")
18911882 let continent = d[recContinent]
18921883 if (if ((acc._3 != ""))
18931884 then (acc._3 != continent)
18941885 else false)
18951886 then throw("Lands should be on the same continent to merge")
18961887 else {
18971888 let landSize = d[recLandSize]
18981889 let sizesIn = acc._1
18991890 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
19001891 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
19011892 let pieces = numPiecesBySize(landSize)
19021893 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0))
19031894 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
19041895 let reqLevel = match landSize {
19051896 case _ =>
19061897 if (("S" == $match0))
19071898 then 3
19081899 else if (("M" == $match0))
19091900 then 4
19101901 else if (("L" == $match0))
19111902 then 5
19121903 else if (("XL" == $match0))
19131904 then 6
19141905 else throw("Only S, M, L, XL can merge")
19151906 }
19161907 if ((infraLevel != reqLevel))
19171908 then throw("All lands should be maxed to merge")
19181909 else {
19191910 let landNum = d[recLandNum]
19201911 let terrainCounts = countTerrains(d[recTerrains])
19211912 let deltaTime = (lastBlock.timestamp - savedTime)
19221913 if ((0 > deltaTime))
19231914 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
19241915 else {
19251916 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
19261917 let landIndex = (pieces / SSIZE)
19271918 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
19281919 let props = updateProportionsInternal(acc._6, terrainCounts, landIndex, -1)
19291920 let cProps = updateProportionsInternal(acc._10, terrainCounts, landIndex, -1)
19301921 let sumTerrains = updateProportionsInternal(acc._9, terrainCounts, landIndex, 1)
19311922 let lands = acc._7
19321923 let idx = indexOf(lands, landAssetId)
19331924 if (!(isDefined(idx)))
19341925 then throw(("Your staked lands don't contain " + landAssetId))
19351926 else {
19361927 let customKey = keyLandAssetIdToCustomName(landAssetId)
19371928 let customName = valueOrElse(getString(customKey), "")
19381929 $Tuple10(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(keyLandNumToOwner(landNum))) :+ DeleteEntry(keyWarehouseByLand(landAssetId))) :+ DeleteEntry(customKey)) :+ Burn(fromBase58String(landAssetId), 1)) ++ (if ((customName != ""))
19391930 then [DeleteEntry(keyLandCustomNameToAssetId(customName))]
19401931 else nil)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces), sumTerrains, cProps)
19411932 }
19421933 }
19431934 }
19441935 }
19451936 }
19461937 }
19471938
19481939 let bpKey = keyBackpackByDuck(duckAssetId)
19491940 let currentPack = getBackpack(bpKey)
19501941 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
19511942 let landsKey = keyStakedLandsByOwner(addr)
19521943 let landsStr = getString(landsKey)
19531944 let landsIn = if (isDefined(landsStr))
19541945 then split_51C(value(landsStr), "_")
19551946 else nil
19561947 let cont0 = split(value(assetInfo(fromBase58String(landAssetIds[0]))).description, "_")[recContinent]
19571948 let contProps = split(valueOrElse(getString(keyResTypesByContinent(cont0)), "0_0_0_0_0_0"), "_")
19581949 let r = {
19591950 let $l = landAssetIds
19601951 let $s = size($l)
19611952 let $acc0 = $Tuple10(formula, 0, "", currentPack[bpIdxRes], nil, propList, landsIn, 0, split("0_0_0_0_0_0", "_"), contProps)
19621953 func $f0_1 ($a,$i) = if (($i >= $s))
19631954 then $a
19641955 else checkMerge($a, $l[$i])
19651956
19661957 func $f0_2 ($a,$i) = if (($i >= $s))
19671958 then $a
19681959 else throw("List size exceeds 5")
19691960
19701961 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
19711962 }
19721963 let continent = r._3
19731964 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
19741965 let terrains = genTerrainsForMerge(r._9, (numPiecesBySize(newLandSize) / SSIZE))
19751966 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
19761967 let newLandNum = toString(freeNum)
19771968 let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
19781969 let assetId = calculateAssetId(issue)
19791970 let newLandAssetId = toBase58String(assetId)
19801971 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
19811972 let piecesKey = keyStakedPiecesByOwner(addr)
19821973 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
19831974 $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0))
19841975 then StringEntry(landsKey, makeString_11C(r._7, "_"))
19851976 else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces))
19861977 then 0
19871978 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(keyInfraLevelByAssetId(newLandAssetId), newLevel)) :+ IntegerEntry(keyInfraLevelByAssetIdAndOwner(newLandAssetId, addr), newLevel)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], r._4, newMat, currentPack[bpIdxProd]], ":"))) :+ StringEntry(keyResProportions(), makeString(r._6, "_"))) :+ StringEntry(keyResTypesByContinent(continent), makeString(r._10, "_"))) :+ StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", newLandAssetId], "_"))) :+ ScriptTransfer(addressFromStringValue(addr), 1, assetId)), newLandAssetId)
19881979 }
19891980 }
19901981
19911982
19921983 func s2m (addr,landAssetIds) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, 0)
19931984
19941985
19951986 func m2l (addr,landAssetIds) = mergeInternal("L", 4, "SMM", addr, landAssetIds, (InfraUpgradeCostS * 4))
19961987
19971988
19981989 func l2xl (addr,landAssetIds) = mergeInternal("XL", 5, "SSSML", addr, landAssetIds, (InfraUpgradeCostS * 47))
19991990
20001991
20011992 func xl2xxl (addr,landAssetIds) = mergeInternal("XXL", 6, "LXL", addr, landAssetIds, (InfraUpgradeCostS * 54))
20021993
20031994
20041995 func mergeCommon (addr,landAssetIds) = match size(landAssetIds) {
20051996 case _ =>
20061997 if ((4 == $match0))
20071998 then s2m(addr, landAssetIds)
20081999 else if ((3 == $match0))
20092000 then m2l(addr, landAssetIds)
20102001 else if ((5 == $match0))
20112002 then l2xl(addr, landAssetIds)
20122003 else if ((2 == $match0))
20132004 then xl2xxl(addr, landAssetIds)
20142005 else throw("Unknown merge")
20152006 }
20162007
20172008
20182009 func prolog (i) = if (if ((i.originCaller != restContract))
20192010 then valueOrElse(getBoolean(keyBlocked()), false)
20202011 else false)
20212012 then throw("Contracts are under maintenance")
20222013 else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
20232014
20242015
20252016 @Callable(i)
20262017 func constructorV1 (restAddr) = if ((i.caller != this))
20272018 then throw("Permission denied")
20282019 else [StringEntry(keyRestAddress(), restAddr)]
20292020
20302021
20312022
20322023 @Callable(i)
20332024 func setBlocked (isBlocked) = if ((i.caller != this))
20342025 then throw("permission denied")
20352026 else [BooleanEntry(keyBlocked(), isBlocked)]
20362027
20372028
20382029
20392030 @Callable(i)
20402031 func stakeLand () = {
20412032 let prologAction = prolog(i)
20422033 if ((size(i.payments) != 1))
20432034 then throw("Exactly one payment required")
20442035 else {
20452036 let pmt = value(i.payments[0])
20462037 let assetId = value(pmt.assetId)
20472038 let address = toString(i.caller)
20482039 if ((pmt.amount != 1))
20492040 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
20502041 else {
20512042 let asset = value(assetInfo(assetId))
20522043 if ((asset.issuer != this))
20532044 then throw("Unknown issuer of token")
20542045 else if (!(contains(asset.name, LANDPREFIX)))
20552046 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
20562047 else {
20572048 let landNumSize = drop(asset.name, 4)
20582049 let landNum = if (contains(landNumSize, "XXL"))
20592050 then dropRight(landNumSize, 3)
20602051 else if (contains(landNumSize, "XL"))
20612052 then dropRight(landNumSize, 2)
20622053 else dropRight(landNumSize, 1)
20632054 if (!(isDefined(parseInt(landNum))))
20642055 then throw(("Cannot parse land number from " + asset.name))
20652056 else {
20662057 let landAssetId = toBase58String(assetId)
20672058 let timeKey = keyStakedTimeByAssetId(landAssetId)
20682059 if (isDefined(getInteger(timeKey)))
20692060 then throw((("NFT " + asset.name) + " is already staked"))
20702061 else {
20712062 let d = split(asset.description, "_")
20722063 let terrainCounts = countTerrains(d[recTerrains])
20732064 let pieces = numPiecesBySize(d[recLandSize])
20742065 let landIndex = (pieces / SSIZE)
20752066 let props = updateProportions(terrainCounts, landIndex, 1)
20762067 let resByContKey = keyResTypesByContinent(d[recContinent])
20772068 let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_")
20782069 let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_")
20792070 let landsKey = keyStakedLandsByOwner(address)
20802071 let landsStr = getString(landsKey)
20812072 let lands = if (isDefined(landsStr))
20822073 then split_51C(value(landsStr), "_")
20832074 else nil
20842075 if (containsElement(lands, landAssetId))
20852076 then throw(("Your staked lands already contain " + landAssetId))
20862077 else if ((size(lands) >= MAX_LANDS_STAKED_BY_USER))
20872078 then throw((("Your already staked max (" + toString(MAX_LANDS_STAKED_BY_USER)) + ") lands"))
20882079 else {
20892080 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
20902081 let piecesKey = keyStakedPiecesByOwner(address)
20912082 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
20922083 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
20932084 $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(keyInfraLevelByAssetIdAndOwner(landAssetId, address), infraLevel), StringEntry(keyResProportions(), props), StringEntry(resByContKey, updatedContProps), prologAction], wlgResult)
20942085 }
20952086 }
20962087 }
20972088 }
20982089 }
20992090 }
21002091 }
21012092
21022093
21032094
21042095 @Callable(i)
21052096 func unstakeLand (landAssetIdIn) = {
21062097 let prologAction = prolog(i)
21072098 if ((size(i.payments) != 0))
21082099 then throw("No payments required")
21092100 else {
21102101 let addr = toString(i.caller)
21112102 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
21122103 let landAssetId = c._2
21132104 let d = c._3
21142105 let landsKey = keyStakedLandsByOwner(addr)
21152106 let terrainCounts = countTerrains(d[recTerrains])
21162107 let pieces = numPiecesBySize(d[recLandSize])
21172108 let landIndex = (pieces / SSIZE)
21182109 let props = updateProportions(terrainCounts, landIndex, -1)
21192110 let resByContKey = keyResTypesByContinent(d[recContinent])
21202111 let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_")
21212112 let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, -1), "_")
21222113 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
21232114 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
21242115 let idx = indexOf(lands, landAssetId)
21252116 if (!(isDefined(idx)))
21262117 then throw(("Your staked lands don't contain " + landAssetId))
21272118 else {
21282119 let now = lastBlock.timestamp
21292120 let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
21302121 if ((govReleaseTime >= now))
21312122 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime)))
21322123 else {
21332124 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay)
21342125 if ((arbReleaseTime > now))
21352126 then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime)))
21362127 else {
21372128 let piecesKey = keyStakedPiecesByOwner(addr)
21382129 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
21392130 let newPieces = if ((pieces > stakedPieces))
21402131 then 0
21412132 else (stakedPieces - pieces)
21422133 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [addr], nil)
21432134 $Tuple2([ScriptTransfer(i.caller, 1, fromBase58String(landAssetId)), DeleteEntry(keyStakedTimeByAssetId(landAssetId)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr)), StringEntry(keyResProportions(), props), StringEntry(resByContKey, updatedContProps), StringEntry(claimResult._2, makeString(claimResult._3, ":")), if ((size(lands) > 1))
21442135 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
21452136 else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
21462137 }
21472138 }
21482139 }
21492140 }
21502141 }
21512142
21522143
21532144
21542145 @Callable(i)
21552146 func stakeDuck () = {
21562147 let prologAction = prolog(i)
21572148 if ((size(i.payments) != 1))
21582149 then throw("Exactly one payment required")
21592150 else {
21602151 let pmt = value(i.payments[0])
21612152 let assetId = value(pmt.assetId)
21622153 let address = toString(i.caller)
21632154 if ((pmt.amount != 1))
21642155 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
21652156 else {
21662157 let asset = value(assetInfo(assetId))
21672158 if (if ((asset.issuer != incubatorAddr))
21682159 then (asset.issuer != breederAddr)
21692160 else false)
21702161 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
21712162 else if (!(contains(asset.name, DUCKPREFIX)))
21722163 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
21732164 else {
21742165 let assetIdStr = toBase58String(assetId)
21752166 let timeKey = keyStakedTimeByAssetId(assetIdStr)
21762167 if (isDefined(getInteger(timeKey)))
21772168 then throw((("NFT " + asset.name) + " is already staked"))
21782169 else if (isDefined(getString(keyStakedDuckByOwner(address))))
21792170 then throw(("You already staked one duck: " + asset.name))
21802171 else if (checkTournament(assetIdStr))
21812172 then throw("stakeDuck_checkTournament")
21822173 else {
21832174 let locKey = keyDuckLocation(assetIdStr)
21842175 let location = getString(locKey)
21852176 let bpKey = keyBackpackByDuck(assetIdStr)
21862177 let backpack = getString(bpKey)
21872178 let keyHealth = keyDuckHealth(assetIdStr)
21882179 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
21892180 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
21902181 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
21912182 then nil
21922183 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
21932184 then nil
21942185 else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
21952186 }
21962187 }
21972188 }
21982189 }
21992190 }
22002191
22012192
22022193
22032194 @Callable(i)
22042195 func unstakeDuck (assetIdStr) = {
22052196 let prologAction = prolog(i)
22062197 if ((size(i.payments) != 0))
22072198 then throw("No payments required")
22082199 else {
22092200 let assetId = fromBase58String(assetIdStr)
22102201 let address = toString(i.caller)
22112202 let asset = value(assetInfo(assetId))
22122203 let timeKey = keyStakedTimeByAssetId(assetIdStr)
22132204 if (!(isDefined(getInteger(timeKey))))
22142205 then throw((("NFT " + asset.name) + " is not staked"))
22152206 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
22162207 then throw((("The duck " + asset.name) + " is not staked"))
22172208 else {
22182209 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetIdStr)), (("NFT " + asset.name) + " is orphaned"))
22192210 if ((owner != address))
22202211 then throw("Staked NFT is not yours")
22212212 else if (checkTournament(assetIdStr))
22222213 then throw("unstakeDuck_checkTournament")
22232214 else {
22242215 let keyHealth = keyDuckHealth(assetIdStr)
22252216 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
22262217 let health = valueOrElse(getInteger(keyHealth), maxHP)
22272218 if ((maxHP > health))
22282219 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
22292220 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]
22302221 }
22312222 }
22322223 }
22332224 }
22342225
22352226
22362227
22372228 @Callable(i)
22382229 func claimRes (amount,landAssetIdStr) = {
22392230 let prologAction = prolog(i)
22402231 if ((size(i.payments) != 0))
22412232 then throw("No payments required")
22422233 else {
22432234 let addr = toString(i.originCaller)
22442235 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
22452236 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
22462237 $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])
22472238 }
22482239 }
22492240
22502241
22512242
22522243 @Callable(i)
22532244 func claimResToWH (amount,landAssetIdStr) = {
22542245 let prologAction = prolog(i)
22552246 if ((size(i.payments) != 0))
22562247 then throw("No payments required")
22572248 else {
22582249 let addr = toString(i.originCaller)
22592250 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
22602251 $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])
22612252 }
22622253 }
22632254
22642255
22652256
22662257 @Callable(i)
22672258 func flight (message,sig) = {
22682259 let prologAction = prolog(i)
22692260 if ((size(i.payments) != 0))
22702261 then throw("No payments required")
22712262 else {
22722263 let userAddr = toString(i.caller)
22732264 let f = flightCommon(userAddr, message, sig)
22742265 let newHP = f._1
22752266 let duckAssetId = f._2
2267+ let locKey = keyDuckLocation(duckAssetId)
2268+ let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
22762269 let newLocation = f._4
2277- let newLoc = split(newLocation, "_")
2278- let isTour = (newLoc[locIdxType] == "T")
2279- if (if (!(isTour))
2280- then checkTournament(duckAssetId)
2281- else false)
2282- then throw("flight_checkTournament")
2270+ if ((newLocation == curLocation))
2271+ then throw("You can't fly to the same location")
22832272 else {
2284- let locKey = keyDuckLocation(duckAssetId)
2285- let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
2286- let tourStuff = if (isTour)
2287- then {
2288- let oldLoc = split(curLocation, "_")
2289- let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
2290- let now = lastBlock.timestamp
2291- let tData = getTourData(tournamentContract, lastId)
2292- let static = tData[idxStatic]
2293- let dynamic = tData[idxDynamic]
2294- if (if (if ((parseIntValue(newLoc[locIdxContinent]) != lastId))
2295- then true
2296- else (dynamic[tDynamicStatus] != "INPROGRESS"))
2297- then true
2298- else (now > parseIntValue(static[tStaticEnd])))
2299- then unit
2300- else if ((newHP > 0))
2301- then {
2302- let score = parseIntValue(newLoc[locIdxId])
2303- let globalBest = parseIntValue(dynamic[tDynamicWinResult])
2304- if (if (if ((oldLoc[locIdxType] != "T"))
2305- then true
2306- else (parseIntValue(oldLoc[locIdxContinent]) != lastId))
2307- then true
2308- else (score != (parseIntValue(oldLoc[locIdxId]) + 1)))
2309- then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2310- else {
2311- let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0)
2312- let local = if ((score > localBest))
2313- then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil)
2273+ let newLoc = split(newLocation, "_")
2274+ let isTour = (newLoc[locIdxType] == "T")
2275+ let eqKey = keyDuckEquipment(duckAssetId)
2276+ let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2277+ let $t06673166828 = subtractEquipment(currentEq, f._5)
2278+ let newEq = $t06673166828._1
2279+ let shouldZeroBuffs = $t06673166828._2
2280+ let locToSave = if (!(isInTournament(curLocation)))
2281+ then if (isTour)
2282+ then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2283+ else if ((newHP > 0))
2284+ then newLocation
2285+ else curLocation
2286+ else if (!(isInTournament(newLocation)))
2287+ then throw("Your duck is taking part in the tournament")
2288+ else {
2289+ let score = parseIntValue(newLoc[locIdxId])
2290+ let curLoc = split(curLocation, "_")
2291+ let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
2292+ if ((score != (parseIntValue(curLoc[locIdxId]) + 1)))
2293+ then throw(((("Cheat attempt: oldLoc=" + curLocation) + ", newLoc=") + newLocation))
2294+ else if ((newHP > 0))
2295+ then {
2296+ let dynamic = getTourData(tournamentContract, lastId)[idxDynamic]
2297+ let globalBest = parseIntValue(dynamic[tDynamicWinResult])
2298+ let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0)
2299+ let updates = if ((score > localBest))
2300+ then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil)
2301+ else if ((score > globalBest))
2302+ then invoke(tournamentContract, "updateDynamicData", [duckAssetId, score], nil)
23142303 else unit
2315- if ((local == local))
2316- then if ((globalBest >= score))
2317- then unit
2318- else invoke(tournamentContract, "updateDynamicData", [duckAssetId, score], nil)
2319- else throw("Strict value is not equal to itself.")
2320- }
2321- }
2322- else unit
2323- }
2324- else unit
2325- if ((tourStuff == tourStuff))
2326- then if ((newLocation == curLocation))
2327- then throw("You can't fly to the same location")
2328- else {
2329- let eqKey = keyDuckEquipment(duckAssetId)
2330- let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2331- let $t06949969675 = subtractEquipment(currentEq, f._5)
2332- let newEq = $t06949969675._1
2333- let shouldZeroBuffs = $t06949969675._2
2334- $Tuple2(([StringEntry(locKey, if ((newHP > 0))
2335- then newLocation
2336- else curLocation), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2337- then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2338- else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2339- then xpSuccessFlight
2340- else xpFailFlight)._1))), f._3)
2304+ if ((updates == updates))
2305+ then newLocation
2306+ else throw("Strict value is not equal to itself.")
2307+ }
2308+ else curLocation
23412309 }
2342- else throw("Strict value is not equal to itself.")
2310+ $Tuple2(([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2311+ then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2312+ else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2313+ then xpSuccessFlight
2314+ else xpFailFlight)._1))), f._3)
23432315 }
23442316 }
23452317 }
23462318
23472319
23482320
23492321 @Callable(i)
23502322 func heal (quantityL1,quantityL2,quantityL3) = {
23512323 let prologAction = prolog(i)
23522324 if (if (if ((0 > quantityL1))
23532325 then true
23542326 else (0 > quantityL2))
23552327 then true
23562328 else (0 > quantityL3))
23572329 then throw("Quantity cannot be negative")
23582330 else {
23592331 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
23602332 if (checkTournament(duckAssetId))
23612333 then throw("heal_checkTournament")
23622334 else {
23632335 let qts = [quantityL1, quantityL2, quantityL3]
23642336 let keyHealth = keyDuckHealth(duckAssetId)
23652337 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
23662338 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
23672339 if ((oldHealth >= maxHP))
23682340 then throw((("HP should be < " + toString(maxHP)) + " to heal"))
23692341 else {
23702342 let bpKey = keyBackpackByDuck(duckAssetId)
23712343 let currentPack = getBackpack(bpKey)
23722344 let prodList = if ((currentPack[bpIdxProd] == ""))
23732345 then nil
23742346 else split_4C(currentPack[bpIdxProd], "_")
23752347 func iterateProd (acc,recipe) = {
23762348 let n = acc._2
23772349 let x = if ((size(prodList) > n))
23782350 then parseIntValue(prodList[n])
23792351 else 0
23802352 if ((3 > n))
23812353 then {
23822354 let q = qts[n]
23832355 if ((q > x))
23842356 then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n]))
23852357 else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (parseIntValue(split(recipe, "_")[rIdxEffect]) * q)))
23862358 }
23872359 else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3)
23882360 }
23892361
23902362 let result = {
23912363 let $l = productionMatrix
23922364 let $s = size($l)
23932365 let $acc0 = $Tuple3(nil, 0, 0)
23942366 func $f0_1 ($a,$i) = if (($i >= $s))
23952367 then $a
23962368 else iterateProd($a, $l[$i])
23972369
23982370 func $f0_2 ($a,$i) = if (($i >= $s))
23992371 then $a
24002372 else throw("List size exceeds 50")
24012373
24022374 $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)
24032375 }
24042376 let newHealth = min([maxHP, (oldHealth + result._3)])
24052377 $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)
24062378 }
24072379 }
24082380 }
24092381 }
24102382
24112383
24122384
24132385 @Callable(i)
24142386 func healES () = {
24152387 let prologAction = prolog(i)
24162388 if ((size(i.payments) != 1))
24172389 then throw("Exactly one payment required")
24182390 else {
24192391 let pmt = value(i.payments[0])
24202392 if ((pmt.assetId != usdtAssetId))
24212393 then throw("Allowed USDT payment only!")
24222394 else {
24232395 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
24242396 if (checkTournament(duckAssetId))
24252397 then throw("healES_checkTournament")
24262398 else {
24272399 let keyHealth = keyDuckHealth(duckAssetId)
24282400 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
24292401 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
24302402 if ((oldHealth > 0))
24312403 then throw("HP should be 0 to call Emergency Service")
24322404 else {
24332405 let bpKey = keyBackpackByDuck(duckAssetId)
24342406 let currentPack = getBackpack(bpKey)
24352407 let prodList = if ((currentPack[bpIdxProd] == ""))
24362408 then nil
24372409 else split_4C(currentPack[bpIdxProd], "_")
24382410 let medKitAmount1 = if ((size(prodList) > 0))
24392411 then parseIntValue(prodList[0])
24402412 else 0
24412413 let medKitAmount2 = if ((size(prodList) > 1))
24422414 then parseIntValue(prodList[1])
24432415 else 0
24442416 let medKitAmount3 = if ((size(prodList) > 2))
24452417 then parseIntValue(prodList[2])
24462418 else 0
24472419 if (if (if ((medKitAmount1 > 0))
24482420 then true
24492421 else (medKitAmount2 > 0))
24502422 then true
24512423 else (medKitAmount3 > 0))
24522424 then throw("You have to use own Medical Kit")
24532425 else {
24542426 let existStr = getString(economyContract, keyEsWarehouse())
24552427 let existAmounts = if (isDefined(existStr))
24562428 then split_4C(value(existStr), "_")
24572429 else nil
24582430 let existAmount = if ((size(existAmounts) > 0))
24592431 then parseIntValue(existAmounts[0])
24602432 else 0
24612433 if ((0 >= existAmount))
24622434 then throw("There are no Medical Kits L1 at Emergency Service storage")
24632435 else {
24642436 let newHealth = (oldHealth + parseIntValue(split(productionMatrix[0], "_")[rIdxEffect]))
24652437 let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_")
24662438 let recipe = split(productionMatrix[0], "_")
24672439 let totalMat = getRecipeMaterials(recipe)
24682440 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE))
24692441 if ((pmt.amount != sellPrice))
24702442 then throw(("Payment attached should be " + toString(sellPrice)))
24712443 else {
24722444 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
24732445 $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
24742446 }
24752447 }
24762448 }
24772449 }
24782450 }
24792451 }
24802452 }
24812453 }
24822454
24832455
24842456
24852457 @Callable(i)
24862458 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract))
24872459 then throw("permission denied")
24882460 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
24892461
24902462
24912463
24922464 @Callable(i)
24932465 func commitForRandom () = {
24942466 let prologAction = prolog(i)
24952467 let finishBlock = (height + randomDelay)
24962468 let addr = toString(i.caller)
24972469 $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] :+ prologAction), finishBlock)
24982470 }
24992471
25002472
25012473
25022474 @Callable(i)
25032475 func buySLand () = {
25042476 let prologAction = prolog(i)
25052477 if ((size(i.payments) != 1))
25062478 then throw("Exactly one payment required")
25072479 else {
25082480 let pmt = value(i.payments[0])
25092481 if ((pmt.assetId != usdtAssetId))
25102482 then throw("Allowed USDT payment only!")
25112483 else if ((pmt.amount != EXPUSDT))
25122484 then throw(("Payment attached should be " + toString(EXPUSDT)))
25132485 else {
25142486 let result = expeditionInternal(i.caller, i.transactionId)
25152487 $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), result._2._1)
25162488 }
25172489 }
25182490 }
25192491
25202492
25212493
25222494 @Callable(i)
25232495 func expedition (message,sig) = {
25242496 let prologAction = prolog(i)
25252497 if ((size(i.payments) != 0))
25262498 then throw("No payments required")
25272499 else {
2528- let result = expeditionCommon(i.caller, i.transactionId, message, sig)
2529- let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
2500+ let userAddr = toString(i.caller)
2501+ let f = flightCommon(userAddr, message, sig)
2502+ let duckAssetId = f._2
2503+ let keyHealth = keyDuckHealth(duckAssetId)
2504+ let bpKey = keyBackpackByDuck(duckAssetId)
2505+ let currentPack = getBackpack(bpKey)
2506+ let mList = split(currentPack[bpIdxMat], "_")
2507+ let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
2508+ let eqKey = keyDuckEquipment(duckAssetId)
2509+ let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2510+ let $t07533375430 = subtractEquipment(currentEq, f._5)
2511+ let newEq = $t07533375430._1
2512+ let shouldZeroBuffs = $t07533375430._2
2513+ let e = expeditionInternal(i.caller, i.transactionId)
2514+ let id = e._2._1
2515+ let result = if ((0 >= f._1))
2516+ then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
2517+ else $Tuple3((e._1 ++ (if (shouldZeroBuffs)
2518+ then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2519+ else ((((nil :+ StringEntry(keyDuckLocation(duckAssetId), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(eqKey, newEq)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, currentPack[bpIdxProd]], ":"))))), id, f._3)
25302520 if (checkTournament(duckAssetId))
25312521 then throw("expedition_checkTournament")
25322522 else $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3))
25332523 }
25342524 }
25352525
25362526
25372527
25382528 @Callable(i)
25392529 func upgradeInfra (landAssetId) = {
25402530 let prologAction = prolog(i)
25412531 if ((size(i.payments) != 0))
25422532 then throw("No payments required")
25432533 else {
25442534 let result = upInfraCommon(true, i.caller, 0, landAssetId)
25452535 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
25462536 $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
25472537 }
25482538 }
25492539
25502540
25512541
25522542 @Callable(i)
25532543 func activateArtifact (artName,landAssetIdOpt) = {
25542544 let prologAction = prolog(i)
25552545 if ((size(i.payments) != 0))
25562546 then throw("No payments required")
25572547 else {
25582548 let addr = toString(i.caller)
25592549 let result = match artName {
25602550 case _ =>
25612551 if (("PRESALE" == $match0))
25622552 then activatePresaleArt(addr, landAssetIdOpt)
25632553 else if (("ONBOARD" == $match0))
25642554 then activateOnboardArt(addr)
25652555 else throw("Unknown artifact")
25662556 }
25672557 (result :+ prologAction)
25682558 }
25692559 }
25702560
25712561
25722562
25732563 @Callable(i)
25742564 func mergeLands (landAssetIds) = {
25752565 let prologAction = prolog(i)
25762566 if ((size(i.payments) != 0))
25772567 then throw("No payments required")
25782568 else {
25792569 let result = mergeCommon(toString(i.caller), landAssetIds)
25802570 $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
25812571 }
25822572 }
25832573
25842574
25852575
25862576 @Callable(i)
25872577 func cargoExchange (cargoListStr,landAssetId) = {
25882578 let prologAction = prolog(i)
25892579 if ((size(i.payments) != 0))
25902580 then throw("No payments required")
25912581 else {
25922582 let cargoParts = split_4C(cargoListStr, ":")
25932583 let addr = toString(i.originCaller)
25942584 let asset = value(assetInfo(fromBase58String(landAssetId)))
25952585 let timeKey = keyStakedTimeByAssetId(landAssetId)
25962586 if (!(isDefined(getInteger(timeKey))))
25972587 then throw((asset.name + " is not staked"))
25982588 else {
25992589 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
26002590 if ((owner != addr))
26012591 then throw((LANDPREFIX + " is not yours"))
26022592 else {
26032593 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
26042594 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
26052595 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
26062596 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
26072597 let loc = split(value(curLocation), "_")
26082598 if ((loc[locIdxType] != "L"))
26092599 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
26102600 else if ((loc[locIdxId] != landAssetId))
26112601 then throw(("Duck should be on the land " + landAssetId))
26122602 else {
26132603 let whKey = keyWarehouseByLand(landAssetId)
26142604 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
26152605 let bpKey = keyBackpackByDuck(duckAssetId)
26162606 let currentPack = getBackpack(bpKey)
26172607 let result = moveStuff(cargoParts, currentWh, currentPack)
26182608 let loft = split(currentWh[whIdxLOFT], "_")
26192609 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
26202610 let loftF = (parseIntValue(loft[volFree]) - result._7)
26212611 [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]
26222612 }
26232613 }
26242614 }
26252615 }
26262616 }
26272617
26282618
26292619
26302620 @Callable(i)
26312621 func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract))
26322622 then throw("Access denied")
26332623 else {
26342624 let whKey = keyWarehouseByLand(landAssetId)
26352625 let wh = split_4C(whStr, ":")
26362626 if ((size(wh) != 5))
26372627 then throw("warehouse string should contain 4 ':' separators")
26382628 else {
26392629 let loftL = split(wh[whIdxLOFT], "_")[volLocked]
26402630 let loftO = getWarehouseOccupiedVol(wh)
26412631 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
26422632 let loftF = ((loftT - parseIntValue(loftL)) - loftO)
26432633 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
26442634 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
26452635 }
26462636 }
26472637
26482638
26492639
26502640 @Callable(i)
26512641 func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract))
26522642 then throw("Access denied")
26532643 else {
26542644 let whKey = keyWarehouseByLand(landAssetId)
26552645 let asset = value(assetInfo(fromBase58String(landAssetId)))
26562646 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
26572647 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
26582648 let wh = getWarehouse(whKey, landIndex, infraLevel)
26592649 let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil))
26602650 let loftO = getWarehouseOccupiedVol(wh)
26612651 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
26622652 let loftF = ((loftT - loftL) - loftO)
26632653 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
26642654 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
26652655 }
26662656
26672657
26682658
26692659 @Callable(i)
26702660 func fixContinentProportions (landAssetIds) = if ((i.caller != restContract))
26712661 then throw("Access denied")
26722662 else {
26732663 func getProps (acc,cont) = (acc :+ valueOrElse(getString(keyResTypesByContinent(cont)), "0_0_0_0_0_0"))
26742664
26752665 let p = {
26762666 let $l = continents
26772667 let $s = size($l)
26782668 let $acc0 = nil
26792669 func $f0_1 ($a,$i) = if (($i >= $s))
26802670 then $a
26812671 else getProps($a, $l[$i])
26822672
26832673 func $f0_2 ($a,$i) = if (($i >= $s))
26842674 then $a
26852675 else throw("List size exceeds 5")
26862676
26872677 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
26882678 }
26892679 func processor (acc,landAssetId) = {
26902680 let asset = value(assetInfo(fromBase58String(landAssetId)))
26912681 let d = split(asset.description, "_")
26922682 let landIndex = (numPiecesBySize(d[recLandSize]) / SSIZE)
26932683 let cont = d[recContinent]
26942684 let terrainCounts = countTerrains(d[recTerrains])
26952685 let continentIdx = value(indexOf(continents, cont))
26962686 let contProps = split(acc[continentIdx], "_")
26972687 let updated = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_")
26982688 match cont {
26992689 case _ =>
27002690 if (("Americas" == $match0))
27012691 then [updated, acc[1], acc[2], acc[3], acc[4]]
27022692 else if (("Europe" == $match0))
27032693 then [acc[0], updated, acc[2], acc[3], acc[4]]
27042694 else if (("Asia" == $match0))
27052695 then [acc[0], acc[1], updated, acc[3], acc[4]]
27062696 else if (("Africa" == $match0))
27072697 then [acc[0], acc[1], acc[2], updated, acc[4]]
27082698 else if (("Oceania" == $match0))
27092699 then [acc[0], acc[1], acc[2], acc[3], updated]
27102700 else throw("wrong continent")
27112701 }
27122702 }
27132703
27142704 let r = {
27152705 let $l = landAssetIds
27162706 let $s = size($l)
27172707 let $acc0 = p
27182708 func $f1_1 ($a,$i) = if (($i >= $s))
27192709 then $a
27202710 else processor($a, $l[$i])
27212711
27222712 func $f1_2 ($a,$i) = if (($i >= $s))
27232713 then $a
27242714 else throw("List size exceeds 100")
27252715
27262716 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_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)
27272717 }
27282718 $Tuple2([StringEntry(keyResTypesByContinent("Americas"), r[0]), StringEntry(keyResTypesByContinent("Europe"), r[1]), StringEntry(keyResTypesByContinent("Asia"), r[2]), StringEntry(keyResTypesByContinent("Africa"), r[3]), StringEntry(keyResTypesByContinent("Oceania"), r[4])], 0)
27292719 }
27302720
27312721
27322722
27332723 @Callable(i)
27342724 func fixStakedPieces (address) = if ((i.caller != restContract))
27352725 then throw("Access denied")
27362726 else {
27372727 let stakedPieces = if ((address == ""))
27382728 then 0
27392729 else {
27402730 let landsStr = getString(stakingContract, keyStakedLandsByOwner(address))
27412731 let lands = if (isDefined(landsStr))
27422732 then split_51C(value(landsStr), "_")
27432733 else nil
27442734 func oneLand (acc,landAssetId) = {
27452735 let asset = value(assetInfo(fromBase58String(landAssetId)))
27462736 let landSize = split(asset.description, "_")[recLandSize]
27472737 (acc + numPiecesBySize(landSize))
27482738 }
27492739
27502740 let $l = lands
27512741 let $s = size($l)
27522742 let $acc0 = 0
27532743 func $f0_1 ($a,$i) = if (($i >= $s))
27542744 then $a
27552745 else oneLand($a, $l[$i])
27562746
27572747 func $f0_2 ($a,$i) = if (($i >= $s))
27582748 then $a
27592749 else throw("List size exceeds 100")
27602750
27612751 $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)
27622752 }
27632753 $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces)
27642754 }
27652755
27662756
27672757
27682758 @Callable(i)
27692759 func setCustomName (assetId,customName,type) = {
27702760 let prologAction = prolog(i)
27712761 if ((size(i.payments) != 1))
27722762 then throw("Exactly one payment required")
27732763 else {
27742764 let pmt = value(i.payments[0])
27752765 if ((pmt.assetId != usdtAssetId))
27762766 then throw("Allowed USDT payment only!")
27772767 else if ((pmt.amount != RENAMINGCOST))
27782768 then throw(("Payment should be " + toString(RENAMINGCOST)))
27792769 else if (contains(customName, "__"))
27802770 then throw(("Name should not contain '__': " + customName))
27812771 else if ((size(customName) > MAXNAMELEN))
27822772 then throw(("Name too long, maxLength=" + toString(MAXNAMELEN)))
27832773 else {
27842774 let addr = toString(i.originCaller)
27852775 let actions = match type {
27862776 case _ =>
27872777 if (("ACCOUNT" == $match0))
27882778 then {
27892779 let reverseKey = keyCustomNameToAddress(customName)
27902780 let nameOwner = getString(reverseKey)
27912781 if (isDefined(nameOwner))
27922782 then throw(("Name already registered: " + customName))
27932783 else {
27942784 let addrToNameKey = keyAddressToCustomName(addr)
27952785 let oldName = getString(addrToNameKey)
27962786 let freeOld = if (isDefined(oldName))
27972787 then [DeleteEntry(keyCustomNameToAddress(value(oldName)))]
27982788 else nil
27992789 (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
28002790 }
28012791 }
28022792 else if (("LAND" == $match0))
28032793 then {
28042794 let asset = value(assetInfo(fromBase58String(assetId)))
28052795 let timeKey = keyStakedTimeByAssetId(assetId)
28062796 if (!(isDefined(getInteger(timeKey))))
28072797 then throw((asset.name + " is not staked"))
28082798 else {
28092799 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
28102800 if ((owner != addr))
28112801 then throw((LANDPREFIX + " is not yours"))
28122802 else {
28132803 let reverseKey = keyLandCustomNameToAssetId(customName)
28142804 let nameOwner = getString(reverseKey)
28152805 if (isDefined(nameOwner))
28162806 then throw(("Name already registered: " + customName))
28172807 else {
28182808 let assetToNameKey = keyLandAssetIdToCustomName(assetId)
28192809 let oldName = getString(assetToNameKey)
28202810 let freeOld = if (isDefined(oldName))
28212811 then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))]
28222812 else nil
28232813 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
28242814 }
28252815 }
28262816 }
28272817 }
28282818 else if (("DUCK" == $match0))
28292819 then {
28302820 let asset = value(assetInfo(fromBase58String(assetId)))
28312821 let timeKey = keyStakedTimeByAssetId(assetId)
28322822 if (if (!(isDefined(getInteger(timeKey))))
28332823 then true
28342824 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
28352825 then throw((asset.name + " is not staked"))
28362826 else {
28372827 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
28382828 if ((owner != addr))
28392829 then throw((DUCKPREFIX + " is not yours"))
28402830 else {
28412831 let reverseKey = keyDuckCustomNameToAssetId(customName)
28422832 let nameOwner = getString(reverseKey)
28432833 if (isDefined(nameOwner))
28442834 then throw(("Name already registered: " + customName))
28452835 else {
28462836 let assetToNameKey = keyDuckAssetIdToCustomName(assetId)
28472837 let oldName = getString(assetToNameKey)
28482838 let freeOld = if (isDefined(oldName))
28492839 then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))]
28502840 else nil
28512841 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1)
28522842 }
28532843 }
28542844 }
28552845 }
28562846 else throw("Unknown entity type")
28572847 }
28582848 $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
28592849 }
28602850 }
28612851 }
28622852
28632853
28642854
28652855 @Callable(i)
28662856 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
28672857 then throw("Permission denied")
28682858 else {
28692859 let prologAction = prolog(i)
28702860 if ((size(i.payments) != 0))
28712861 then throw("No payments required")
28722862 else if (!(isDefined(addressFromString(oldPlayer))))
28732863 then throw(("Invalid address: " + oldPlayer))
28742864 else if (!(isDefined(addressFromString(newPlayer))))
28752865 then throw(("Invalid address: " + newPlayer))
28762866 else {
28772867 let oldsKey = keyOldies()
28782868 let olds = getString(oldsKey)
28792869 let oldies = if (isDefined(olds))
28802870 then split_4C(value(olds), "_")
28812871 else nil
28822872 if (containsElement(oldies, newPlayer))
28832873 then throw((newPlayer + " is not newbie (already has referrals)"))
28842874 else {
28852875 let refByKey = keyAddressRefBy(newPlayer)
28862876 let refBy = getString(refByKey)
28872877 if (if (isDefined(refBy))
28882878 then isDefined(addressFromString(value(refBy)))
28892879 else false)
28902880 then throw(((newPlayer + " already has refBy: ") + value(refBy)))
28912881 else {
28922882 let refsKey = keyAddressReferrals(oldPlayer)
28932883 let refs = getString(refsKey)
28942884 let refsArray = if (isDefined(refs))
28952885 then split_4C(value(refs), "_")
28962886 else nil
28972887 if (containsElement(refsArray, newPlayer))
28982888 then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
28992889 else {
29002890 let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
29012891 let newOlds = if (containsElement(oldies, oldPlayer))
29022892 then value(olds)
29032893 else makeString_2C((oldies :+ oldPlayer), "_")
29042894 $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
29052895 }
29062896 }
29072897 }
29082898 }
29092899 }
29102900
29112901
29122902
29132903 @Callable(i)
29142904 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
29152905 let prologAction = prolog(i)
29162906 if ((size(i.payments) != 0))
29172907 then throw("No payments required")
29182908 else {
29192909 let addr = toString(i.originCaller)
29202910 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
29212911 let freeKeyAcc = keyUserFreePoints(addr)
29222912 let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0)
29232913 let freeKeyDuck = keyDuckFreePoints(duckAssetId)
29242914 let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0)
29252915 let sumFree = (freePointsAcc + freePointsDuck)
29262916 let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity)
29272917 if ((sumToDistribute > sumFree))
29282918 then throw((("There are only " + toString(sumFree)) + " free points to distribute"))
29292919 else {
29302920 let charsKey = keyDuckChars(duckAssetId)
29312921 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
29322922 let newAcc = (freePointsAcc - sumToDistribute)
29332923 $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
29342924 then 0
29352925 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
29362926 then (freePointsDuck + newAcc)
29372927 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)
29382928 }
29392929 }
29402930 }
29412931
29422932
29432933
29442934 @Callable(i)
29452935 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
29462936
29472937
29482938
29492939 @Callable(i)
29502940 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
29512941 let terrainCounts = countTerrains(terrains)
29522942 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
29532943 }
29542944
29552945
29562946
29572947 @Callable(i)
29582948 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
29592949
29602950
29612951
29622952 @Callable(i)
29632953 func getWarehouseREADONLY (landAssetId) = {
29642954 let asset = value(assetInfo(fromBase58String(landAssetId)))
29652955 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
29662956 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
29672957 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
29682958 }
29692959
29702960
29712961
29722962 @Callable(i)
29732963 func saveLastTx () = {
29742964 let caller = i.caller
29752965 if (if (if ((caller != wlgContract))
29762966 then (caller != economyContract)
29772967 else false)
29782968 then (caller != tournamentContract)
29792969 else false)
29802970 then throw("Access denied")
29812971 else $Tuple2([prolog(i)], 42)
29822972 }
29832973
29842974
29852975
29862976 @Callable(i)
29872977 func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract))
29882978 then throw("Access denied")
29892979 else updateDuckStatsInternal(duckAssetId, deltaXP)
29902980
29912981
29922982
29932983 @Callable(i)
29942984 func updateAccStats (addr,deltaXP) = if ((i.caller != economyContract))
29952985 then throw("Access denied")
29962986 else updateAccStatsInternal(addr, deltaXP)
29972987
29982988
29992989
30002990 @Callable(i)
30012991 func equipDuck (equipment) = {
30022992 let prologAction = prolog(i)
30032993 if ((size(i.payments) != 0))
30042994 then throw("No payments required")
30052995 else {
30062996 let addr = toString(i.originCaller)
30072997 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
30082998 if (checkTournament(duckAssetId))
30092999 then throw("equipDuck_checkTournament")
30103000 else {
30113001 let eqKey = keyDuckEquipment(duckAssetId)
30123002 let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
30133003 let bpKey = keyBackpackByDuck(duckAssetId)
30143004 let currentPack = getBackpack(bpKey)
30153005 let newEq = split(equipment, "_")
30163006 if ((size(newEq) != NUMSEGMENTS))
30173007 then throw("Wrong equipment string")
30183008 else {
30193009 let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, nil)
30203010 let segBpAux = split(newEq[segBackpack], ";")[1]
30213011 let buffEffect = if ((segBpAux == ""))
30223012 then 0
30233013 else {
30243014 let aux0 = split(segBpAux, ",")[0]
30253015 if ((aux0 == ""))
30263016 then 0
30273017 else {
30283018 let idxCnt = split(aux0, ":")
30293019 let idx = idxCnt[0]
30303020 let cnt = idxCnt[1]
30313021 if (if (if (if (if ((idx == "06"))
30323022 then true
30333023 else (idx == "07"))
30343024 then true
30353025 else (idx == "08"))
30363026 then (cnt != "")
30373027 else false)
30383028 then (parseIntValue(cnt) > 0)
30393029 else false)
30403030 then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect])
30413031 else 0
30423032 }
30433033 }
30443034 let stats = getDuckStats(this, duckAssetId, buffEffect, true)
30453035 let newProdB = dressB(newEq, tempProdB, false, stats)
30463036 let newProdStr = bytesToProdStr(newProdB)
30473037 $Tuple2([StringEntry(eqKey, equipment), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProdStr], ":")), StringEntry(keyDuckBuffs(duckAssetId), makeString([toString(stats[7]), toString(stats[8]), toString(stats[9]), toString(stats[10]), toString(stats[11])], "_")), prologAction], 0)
30483038 }
30493039 }
30503040 }
30513041 }
30523042
30533043
30543044
30553045 @Callable(i)
30563046 func fortificateLand (landAssetId,plan) = {
30573047 let prologAction = prolog(i)
30583048 if ((size(i.payments) != 0))
30593049 then throw("No payments required")
30603050 else {
30613051 let addr = toString(i.originCaller)
30623052 let duckAssetId = valueOrElse(getString(keyStakedDuckByOwner(addr)), "")
30633053 let duckStats = getDuckStats(this, duckAssetId, 0, false)
30643054 let fortKey = keyFortificationsByLand(landAssetId)
30653055 let currentForts = split(valueOrElse(getString(fortKey), ":0_15:0_18:0"), "_")
30663056 let asset = value(assetInfo(fromBase58String(landAssetId)))
30673057 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
30683058 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
30693059 let whKey = keyWarehouseByLand(landAssetId)
30703060 let wh = getWarehouse(whKey, landIndex, infraLevel)
30713061 let curLoft = split(wh[whIdxLOFT], "_")
30723062 let curO = parseIntValue(curLoft[volOccupied])
30733063 let curF = parseIntValue(curLoft[volFree])
30743064 let newForts = split(plan, "_")
3075- let $t09652496639 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3076- let tempProdB = $t09652496639._1
3077- let tempO = $t09652496639._2
3078- let tempF = $t09652496639._3
3079- let $t09664296738 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3080- let newProdB = $t09664296738._1
3081- let newO = $t09664296738._2
3082- let newF = $t09664296738._3
3065+ let $t09637096485 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3066+ let tempProdB = $t09637096485._1
3067+ let tempO = $t09637096485._2
3068+ let tempF = $t09637096485._3
3069+ let $t09648896584 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3070+ let newProdB = $t09648896584._1
3071+ let newO = $t09648896584._2
3072+ let newF = $t09648896584._3
30833073 let newProdStr = bytesToProdStr(newProdB)
30843074 let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_")
30853075 $Tuple2([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":")), prologAction], 0)
30863076 }
30873077 }
30883078
30893079
30903080
30913081 @Callable(i)
30923082 func initDuckTourAttempt (duckAssetId) = if ((i.caller != tournamentContract))
30933083 then throw("Access denied")
30943084 else {
30953085 let prologAction = prolog(i)
30963086 let keyHealth = keyDuckHealth(duckAssetId)
30973087 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
30983088 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
30993089 let curLocKey = keyDuckLocation(duckAssetId)
31003090 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
31013091 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
31023092 let tourLocation = (toString(lastId) + "_T_0")
31033093 $Tuple2([prologAction, IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation)
31043094 }
31053095
31063096
31073097
31083098 @Callable(i)
31093099 func breakAttempt () = {
31103100 let prologAction = prolog(i)
31113101 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
31123102 let curLocKey = keyDuckLocation(duckAssetId)
31133103 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
31143104 if ((split(curLocation, "_")[locIdxType] != "T"))
31153105 then throw("Your duck is not in the tournament")
31163106 else {
31173107 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
31183108 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
31193109 $Tuple2([prologAction, IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(curLocKey, savedLocation)], curLocation)
31203110 }
31213111 }
31223112
31233113
31243114
31253115 @Callable(i)
31263116 func exitTournamentInternal (duckAssetId) = if ((i.caller != this))
31273117 then throw("Access denied")
31283118 else {
31293119 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
31303120 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
31313121 $Tuple2([IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(keyDuckLocation(duckAssetId), savedLocation)], false)
31323122 }
31333123
31343124
31353125
31363126 @Callable(i)
31373127 func prepareRobbery (message,sig) = {
31383128 let prologAction = prolog(i)
31393129 if (!(sigVerify_8Kb(message, sig, pub)))
31403130 then throw("signature does not match")
31413131 else if ((size(i.payments) != 1))
31423132 then throw("exactly 1 payment must be attached")
31433133 else {
31443134 let pmt = i.payments[0]
31453135 let wlgAmt = pmt.amount
31463136 if (if (!(isDefined(pmt.assetId)))
31473137 then true
31483138 else (value(pmt.assetId) != wlgAssetId))
31493139 then throw("WLGOLD payments only!")
31503140 else {
31513141 let parts = split(toUtf8String(message), "|")
31523142 if ((size(parts) != 2))
31533143 then throw("Wrong message format")
31543144 else {
31553145 let duckAssetId = parts[0]
31563146 let robCost = getRobberyData(this, duckAssetId)._1
31573147 if ((robCost > wlgAmt))
31583148 then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost)))
31593149 else {
31603150 let candidates = split(parts[1], "_")
31613151 let now = lastBlock.timestamp
31623152 let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0)
31633153 let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "")
31643154 let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0)
31653155 if (if ((duckState != duckIdxFree))
31663156 then (landETA > now)
31673157 else false)
31683158 then throw(("You already started robbing, wait till " + toString(landETA)))
31693159 else {
31703160 func checker (acc,landAssetId) = {
31713161 let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0)
31723162 let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0)
31733163 if ((state > size(landRobCooldowns)))
31743164 then throw("Invalid state")
31753165 else if ((now > cooldownETA))
31763166 then {
31773167 let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0)
31783168 if ((0 >= stakedTime))
31793169 then acc
31803170 else {
31813171 let a = value(assetInfo(fromBase58String(landAssetId)))
31823172 let d = split(a.description, "_")
31833173 let pieces = numPiecesBySize(d[recLandSize])
31843174 let productivity = applyBonuses(landAssetId, pieces)
31853175 let deltaTime = (now - stakedTime)
31863176 let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS)
31873177 if ((MIN_RES_TO_ROB > availRes))
31883178 then acc
31893179 else (acc :+ landAssetId)
31903180 }
31913181 }
31923182 else acc
31933183 }
31943184
31953185 let filtered = {
31963186 let $l = candidates
31973187 let $s = size($l)
31983188 let $acc0 = nil
31993189 func $f0_1 ($a,$i) = if (($i >= $s))
32003190 then $a
32013191 else checker($a, $l[$i])
32023192
32033193 func $f0_2 ($a,$i) = if (($i >= $s))
32043194 then $a
32053195 else throw("List size exceeds 10")
32063196
32073197 $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)
32083198 }
32093199 if ((size(filtered) == 0))
32103200 then throw("No candidates for robbery")
32113201 else {
32123202 let rndIdx = getRandomNumber(size(filtered), height, (sig + i.transactionId))
32133203 let landAssetId = filtered[rndIdx]
32143204 $Tuple2([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId), prologAction], landAssetId)
32153205 }
32163206 }
32173207 }
32183208 }
32193209 }
32203210 }
32213211 }
32223212
32233213
32243214
32253215 @Callable(i)
32263216 func robLand (message,sig) = {
32273217 let prologAction = prolog(i)
32283218 if (!(sigVerify_8Kb(message, sig, pub)))
32293219 then throw("signature does not match")
32303220 else $Tuple2([prologAction], 0)
32313221 }
32323222
32333223

github/deemru/w8io/026f985 
423.11 ms