tx · BTNXGq8VV5w26RP2yi6n5jycwoB3NRtnbp2nrXCbB1Tb

3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm:  -0.10600000 Waves

2023.09.29 22:10 [2777110] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves

{ "type": 13, "id": "BTNXGq8VV5w26RP2yi6n5jycwoB3NRtnbp2nrXCbB1Tb", "fee": 10600000, "feeAssetId": null, "timestamp": 1696014650427, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "SpEFY61y8eyHpg6Rn2ZyWegLhS5n675o8jLQ3uGJJojTcbVVuoy6Ancs2uroyWe8DuBTTgEk6n4E2hE38xpijWQ" ], "script": "base64:BgLhAQgCEgMKAQgSBAoCCAESAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASABIECgICAhIAEgMKAQgSBAoCCAgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKARgSAwoBCBIFCgMICAgSBAoCCAgSBwoFAQEBAQESAwoBARIFCgMBAQgSAwoBCBIDCgEIEgASBAoCCAESBAoCCAESAwoBCBIECgIICBIDCgEIEgASAwoBCBIDCgEIEgMKAQgSBAoCAgISBAoCAgISAJoCAAlEQVlNSUxMSVMAgLiZKQEUa2V5TGFzdEFyYlRpbWVCeVVzZXIBBGFkZHIJAKwCAgIQbGFzdEFyYlRpbWVVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAOcm9iYmVyeUNvc3RNaW4AgMLXLwAUcm9iYmVyeUNvb2xkb3duQ29lZmYAkAMADHJlcXVpcmVtZW50cwkAzAgCAghTdHJlbmd0aAkAzAgCAghBY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aAUFbWF4SFAECWN1ckxvY0tleQkBD2tleUR1Y2tMb2NhdGlvbgEFC2R1Y2tBc3NldElkBAtjdXJMb2NhdGlvbgkBC3ZhbHVlT3JFbHNlAgkAoggBBQljdXJMb2NLZXkFD0RFRkFVTFRMT0NBVElPTgQQZGVsaXZlcnlMb2NhdGlvbgkArAICCQCkAwEFA25vdwIEX0RfMAkAlAoCCQDOCAIJAMwIAgkBDEludGVnZXJFbnRyeQIJAQ5rZXlTYXZlZEhlYWx0aAEFC2R1Y2tBc3NldElkBQljdXJIZWFsdGgJAMwIAgkBDEludGVnZXJFbnRyeQIFCWtleUhlYWx0aAUFbWF4SFAJAMwIAgkBC1N0cmluZ0VudHJ5AgkBEGtleVNhdmVkTG9jYXRpb24BBQtkdWNrQXNzZXRJZAULY3VyTG9jYXRpb24JAMwIAgkBC1N0cmluZ0VudHJ5AgUJY3VyTG9jS2V5BRBkZWxpdmVyeUxvY2F0aW9uBQNuaWwFDXByb2xvZ0FjdGlvbnMJAJQKAgUQZGVsaXZlcnlMb2NhdGlvbgUObmV3TG9ja2VkVG90YWwAva142A==", "height": 2777110, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6L38t3LCTKvRaoEJb5xnjrgMqYzodAwZHSbksCaiVFop Next: 5qt3H3bQa5PrSm2HA7h2CKHHjmCSbXm5d1KzrqiNg6ES Diff:
OldNewDifferences
396396
397397 let KS_SEPARATE_PUBLIC_KEY = false
398398
399-let KS_ALLOW_BIG_INFRA_MERGE = true
399+let KS_ALLOW_BIG_INFRA_MERGE = false
400400
401401 let KS_ALLOW_DELIVERY = true
402402
21442144 then valueOrElse(getBoolean(keyBlocked()), false)
21452145 else false)
21462146 then throw("Contracts are under maintenance")
2147- else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
2147+ else {
2148+ let userAddr = toString(i.originCaller)
2149+ let duck = getString(keyStakedDuckByOwner(userAddr))
2150+ ((if (isDefined(duck))
2151+ then {
2152+ let duckAssetId = value(duck)
2153+ let locKey = keyDuckLocation(duckAssetId)
2154+ let loc = split(valueOrElse(getString(locKey), DEFAULTLOCATION), "_")
2155+ let startTime = parseIntValue(loc[locIdxContinent])
2156+ if (if ((loc[locIdxType] != "D"))
2157+ then true
2158+ else (lastBlock.timestamp > (startTime + TEN_MINUTES_MILLIS)))
2159+ then nil
2160+ else {
2161+ let healthKey = keyDuckHealth(duckAssetId)
2162+ if ((parseIntValue(loc[locIdxId]) >= 3))
2163+ then {
2164+ let reward = invoke(economyContract, "sendDeliveryReward", [userAddr], nil)
2165+ if ((reward == reward))
2166+ then nil
2167+ else throw("Strict value is not equal to itself.")
2168+ }
2169+ else (({
2170+ let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0)
2171+ let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil)
2172+ if ((unlock == unlock))
2173+ then if ((0 >= getIntegerValue(healthKey)))
2174+ then nil
2175+ else {
2176+ let punishment = invoke(this, "saveInteger", [keyDeliveryDelayByDuck(duckAssetId), (startTime + DAYMILLIS)], nil)
2177+ if ((punishment == punishment))
2178+ then nil
2179+ else throw("Strict value is not equal to itself.")
2180+ }
2181+ else throw("Strict value is not equal to itself.")
2182+ } :+ IntegerEntry(healthKey, getIntegerValue(keySavedHealth(duckAssetId)))) :+ StringEntry(locKey, getStringValue(keySavedLocation(duckAssetId))))
2183+ }
2184+ }
2185+ else nil) :+ StringEntry(keyLastTxIdByUser(userAddr), toBase58String(i.transactionId)))
2186+ }
2187+
2188+
2189+func prologFlight (i) = if (if ((i.originCaller != restContract))
2190+ then valueOrElse(getBoolean(keyBlocked()), false)
2191+ else false)
2192+ then throw("Contracts are under maintenance")
2193+ else [StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))]
21482194
21492195
21502196 @Callable(i)
21552201
21562202
21572203 @Callable(i)
2204+func saveInteger (key,amount) = if ((i.caller != this))
2205+ then throw("saveInteger is not public method")
2206+ else [IntegerEntry(key, amount)]
2207+
2208+
2209+
2210+@Callable(i)
21582211 func setBlocked (isBlocked) = if ((i.caller != this))
21592212 then throw("permission denied")
21602213 else [BooleanEntry(keyBlocked(), isBlocked)]
21632216
21642217 @Callable(i)
21652218 func stakeLand () = {
2166- let prologAction = prolog(i)
2219+ let prologActions = prolog(i)
21672220 if ((size(i.payments) != 1))
21682221 then throw("Exactly one payment required")
21692222 else {
22152268 let piecesKey = keyStakedPiecesByOwner(address)
22162269 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
22172270 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
2218- $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)
2271+ $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)] ++ prologActions), wlgResult)
22192272 }
22202273 }
22212274 }
22282281
22292282 @Callable(i)
22302283 func unstakeLand (landAssetIdIn) = {
2231- let prologAction = prolog(i)
2284+ let prologActions = prolog(i)
22322285 if ((size(i.payments) != 0))
22332286 then throw("No payments required")
22342287 else {
22652318 then 0
22662319 else (stakedPieces - pieces)
22672320 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [addr], nil)
2268- $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))
2321+ $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))
22692322 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
2270- else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
2323+ else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces)] ++ prologActions), wlgResult)
22712324 }
22722325 }
22732326 }
22782331
22792332 @Callable(i)
22802333 func stakeDuck () = {
2281- let prologAction = prolog(i)
2334+ let prologActions = prolog(i)
22822335 if ((size(i.payments) != 1))
22832336 then throw("Exactly one payment required")
22842337 else {
23142367 then nil
23152368 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
23162369 then nil
2317- else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
2370+ else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) ++ prologActions)))))
23182371 }
23192372 }
23202373 }
23252378
23262379 @Callable(i)
23272380 func unstakeDuck (assetIdStr) = {
2328- let prologAction = prolog(i)
2381+ let prologActions = prolog(i)
23292382 if ((size(i.payments) != 0))
23302383 then throw("No payments required")
23312384 else {
23512404 let health = valueOrElse(getInteger(keyHealth), maxHP)
23522405 if ((maxHP > health))
23532406 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
2354- 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]
2407+ else ([ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address))] ++ prologActions)
23552408 }
23562409 }
23572410 }
23612414
23622415 @Callable(i)
23632416 func claimRes (amount,landAssetIdStr) = {
2364- let prologAction = prolog(i)
2417+ let prologActions = prolog(i)
23652418 if ((size(i.payments) != 0))
23662419 then throw("No payments required")
23672420 else {
23682421 let addr = toString(i.originCaller)
23692422 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
23702423 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
2371- $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])
2424+ $Tuple2(((((result._1 ++ updateDuckStatsInternal(duckAssetId, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._3[bpIdxRes])
23722425 }
23732426 }
23742427
23762429
23772430 @Callable(i)
23782431 func claimResToWH (amount,landAssetIdStr) = {
2379- let prologAction = prolog(i)
2432+ let prologActions = prolog(i)
23802433 if ((size(i.payments) != 0))
23812434 then throw("No payments required")
23822435 else {
23832436 let addr = toString(i.originCaller)
23842437 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
2385- $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])
2438+ $Tuple2(((((result._1 ++ updateAccStatsInternal(addr, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._5[whIdxRes])
23862439 }
23872440 }
23882441
23902443
23912444 @Callable(i)
23922445 func flight (message,sig) = {
2393- let prologAction = prolog(i)
2446+ let prologActions = prologFlight(i)
23942447 if ((size(i.payments) != 0))
23952448 then throw("No payments required")
23962449 else {
24092462 let isDeliv = (newLoc[locIdxType] == "D")
24102463 let eqKey = keyDuckEquipment(duckAssetId)
24112464 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2412- let $t06841968516 = subtractEquipment(currentEq, f._5)
2413- let newEq = $t06841968516._1
2414- let shouldZeroBuffs = $t06841968516._2
2415- let $t06851971547 = if (notOnMission(tournamentContract, curLocation))
2465+ let $t07014970246 = subtractEquipment(currentEq, f._5)
2466+ let newEq = $t07014970246._1
2467+ let shouldZeroBuffs = $t07014970246._2
2468+ let $t07024973288 = if (notOnMission(tournamentContract, curLocation))
24162469 then if (!(isUsualLocation(newLocation)))
24172470 then cheatAttempt(curLocation, newLocation)
24182471 else if ((newHP > 0))
24592512 let curLoc = split(curLocation, "_")
24602513 if ((score != (parseIntValue(curLoc[locIdxId]) + 1)))
24612514 then cheatAttempt(curLocation, newLocation)
2462- else if ((newHP > 0))
2515+ else if (if ((newHP > 0))
2516+ then (3 > score)
2517+ else false)
24632518 then $Tuple2(newLocation, newHP)
24642519 else {
24652520 let locHealth = asStringIntTuple(invoke(this, "autoExitDelivery", [duckAssetId], nil))
24682523 else throw("Strict value is not equal to itself.")
24692524 }
24702525 }
2471- let locToSave = $t06851971547._1
2472- let hpToSave = $t06851971547._2
2473- $Tuple2(([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2526+ let locToSave = $t07024973288._1
2527+ let hpToSave = $t07024973288._2
2528+ $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP)] ++ prologActions) ++ (if (shouldZeroBuffs)
24742529 then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2475- else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2476- then xpSuccessFlight
2477- else xpFailFlight)._1))), f._3)
2530+ else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2531+ then xpSuccessFlight
2532+ else xpFailFlight)._1), f._3)
24782533 }
24792534 }
24802535 }
24832538
24842539 @Callable(i)
24852540 func heal (quantityL1,quantityL2,quantityL3) = {
2486- let prologAction = prolog(i)
2541+ let prologActions = prolog(i)
24872542 if (if (if ((0 > quantityL1))
24882543 then true
24892544 else (0 > quantityL2))
25392594 $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)
25402595 }
25412596 let newHealth = min([maxHP, (oldHealth + result._3)])
2542- $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)
2597+ $Tuple2((([IntegerEntry(keyHealth, newHealth), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(result._1, "_")], ":"))] ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, (xpHeal * ((quantityL1 + quantityL2) + quantityL3)))._1), newHealth)
25432598 }
25442599 }
25452600 }
25492604
25502605 @Callable(i)
25512606 func healES () = {
2552- let prologAction = prolog(i)
2607+ let prologActions = prolog(i)
25532608 if ((size(i.payments) != 1))
25542609 then throw("Exactly one payment required")
25552610 else {
26092664 then throw(("Payment attached should be " + toString(sellPrice)))
26102665 else {
26112666 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
2612- $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
2667+ $Tuple2(((prologActions :+ IntegerEntry(keyHealth, newHealth)) ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
26132668 }
26142669 }
26152670 }
26302685
26312686 @Callable(i)
26322687 func commitForRandom () = {
2633- let prologAction = prolog(i)
2688+ let prologActions = prolog(i)
26342689 let finishBlock = (height + randomDelay)
26352690 let addr = toString(i.caller)
2636- $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] :+ prologAction), finishBlock)
2637- }
2638-
2639-
2640-
2641-@Callable(i)
2642-func awardSLand (address) = if ((i.caller != tournamentContract))
2643- then throw("Access denied")
2644- else if ((size(i.payments) != 0))
2645- then throw("No payments required")
2646- else {
2647- let result = expeditionInternal(addressFromStringValue(address), i.transactionId)
2648- $Tuple2(result._1, result._2._1)
2649- }
2691+ $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] ++ prologActions), finishBlock)
2692+ }
26502693
26512694
26522695
26532696 @Callable(i)
26542697 func buySLand () = {
2655- let prologAction = prolog(i)
2698+ let prologActions = prolog(i)
26562699 if ((size(i.payments) != 1))
26572700 then throw("Exactly one payment required")
26582701 else {
26642707 else {
26652708 let result = expeditionInternal(i.caller, i.transactionId)
26662709 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil))
2667- $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), $Tuple2(result._2._1, acresResult))
2710+ $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult))
26682711 }
26692712 }
26702713 }
26732716
26742717 @Callable(i)
26752718 func expedition (message,sig) = {
2676- let prologAction = prolog(i)
2719+ let prologActions = prolog(i)
26772720 if ((size(i.payments) != 0))
26782721 then throw("No payments required")
26792722 else {
26872730 let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
26882731 let eqKey = keyDuckEquipment(duckAssetId)
26892732 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2690- let $t07895179048 = subtractEquipment(currentEq, f._5)
2691- let newEq = $t07895179048._1
2692- let shouldZeroBuffs = $t07895179048._2
2733+ let $t08072580822 = subtractEquipment(currentEq, f._5)
2734+ let newEq = $t08072580822._1
2735+ let shouldZeroBuffs = $t08072580822._2
26932736 let e = expeditionInternal(i.caller, i.transactionId)
26942737 let id = e._2._1
26952738 let result = if ((0 >= f._1))
27032746 then throw("expedition_checkDelivery")
27042747 else {
27052748 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil))
2706- $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple3(result._2, result._3, acresResult))
2749+ $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) ++ prologActions), $Tuple3(result._2, result._3, acresResult))
27072750 }
27082751 }
27092752 }
27122755
27132756 @Callable(i)
27142757 func buySLandForAcres () = {
2715- let prologAction = prolog(i)
2758+ let prologActions = prolog(i)
27162759 if ((size(i.payments) != 1))
27172760 then throw("exactly 1 payment must be attached")
27182761 else {
27272770 else {
27282771 let result = expeditionInternal(i.caller, i.transactionId)
27292772 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], [AttachedPayment(acresAssetId, amt)]))
2730- $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), $Tuple2(result._2._1, acresResult))
2773+ $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult))
27312774 }
27322775 }
27332776 }
27362779
27372780 @Callable(i)
27382781 func upgradeInfra (landAssetId) = {
2739- let prologAction = prolog(i)
2782+ let prologActions = prolog(i)
27402783 if ((size(i.payments) != 0))
27412784 then throw("No payments required")
27422785 else {
27432786 let result = upInfraCommon(true, i.caller, 0, landAssetId)
27442787 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
2745- $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
2788+ $Tuple2(((result._1 ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
27462789 }
27472790 }
27482791
27502793
27512794 @Callable(i)
27522795 func activateArtifact (artName,landAssetIdOpt) = {
2753- let prologAction = prolog(i)
2796+ let prologActions = prolog(i)
27542797 if ((size(i.payments) != 0))
27552798 then throw("No payments required")
27562799 else {
27632806 then activateOnboardArt(addr)
27642807 else throw("Unknown artifact")
27652808 }
2766- (result :+ prologAction)
2809+ (result ++ prologActions)
27672810 }
27682811 }
27692812
27712814
27722815 @Callable(i)
27732816 func mergeLands (landAssetIds) = {
2774- let prologAction = prolog(i)
2817+ let prologActions = prolog(i)
27752818 if ((size(i.payments) != 0))
27762819 then throw("No payments required")
27772820 else {
27782821 let result = mergeCommon(toString(i.caller), landAssetIds)
2779- $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
2822+ $Tuple2(((result._1 ++ prologActions) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
27802823 }
27812824 }
27822825
27842827
27852828 @Callable(i)
27862829 func cargoExchange (cargoListStr,landAssetId) = {
2787- let prologAction = prolog(i)
2830+ let prologActions = prolog(i)
27882831 if ((size(i.payments) != 0))
27892832 then throw("No payments required")
27902833 else {
28172860 let loft = split(currentWh[whIdxLOFT], "_")
28182861 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
28192862 let loftF = (parseIntValue(loft[volFree]) - result._7)
2820-[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]
2863+ ([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]], "_")], ":"))] ++ prologActions)
28212864 }
28222865 }
28232866 }
29663009
29673010 @Callable(i)
29683011 func setCustomName (assetId,customName,type) = {
2969- let prologAction = prolog(i)
3012+ let prologActions = prolog(i)
29703013 if ((size(i.payments) != 1))
29713014 then throw("Exactly one payment required")
29723015 else {
30543097 }
30553098 else throw("Unknown entity type")
30563099 }
3057- $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
3100+ $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ prologActions), 0)
30583101 }
30593102 }
30603103 }
30653108 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
30663109 then throw("Permission denied")
30673110 else {
3068- let prologAction = prolog(i)
3111+ let prologActions = prolog(i)
30693112 if ((size(i.payments) != 0))
30703113 then throw("No payments required")
30713114 else if (!(isDefined(addressFromString(oldPlayer))))
31003143 let newOlds = if (containsElement(oldies, oldPlayer))
31013144 then value(olds)
31023145 else makeString_2C((oldies :+ oldPlayer), "_")
3103- $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
3146+ $Tuple2(([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds)] ++ prologActions), 0)
31043147 }
31053148 }
31063149 }
31113154
31123155 @Callable(i)
31133156 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
3114- let prologAction = prolog(i)
3157+ let prologActions = prolog(i)
31153158 if ((size(i.payments) != 0))
31163159 then throw("No payments required")
31173160 else {
31293172 let charsKey = keyDuckChars(duckAssetId)
31303173 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
31313174 let newAcc = (freePointsAcc - sumToDistribute)
3132- $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
3175+ $Tuple2(([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
31333176 then 0
31343177 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
31353178 then (freePointsDuck + newAcc)
3136- 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)
3179+ 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))], "_"))] ++ prologActions), 0)
31373180 }
31383181 }
31393182 }
31733216 let caller = i.caller
31743217 if (!(containsElement([wlgContract, economyContract, tournamentContract, acresContract], caller)))
31753218 then throw("Access denied")
3176- else $Tuple2([prolog(i)], 42)
3219+ else $Tuple2(prolog(i), 42)
31773220 }
31783221
31793222
31963239
31973240 @Callable(i)
31983241 func equipDuck (equipment) = {
3199- let prologAction = prolog(i)
3242+ let prologActions = prolog(i)
32003243 if ((size(i.payments) != 0))
32013244 then throw("No payments required")
32023245 else {
32433286 let stats = getDuckStats(this, duckAssetId, buffEffect, true)
32443287 let newProdB = dressB(newEq, tempProdB, false, stats)
32453288 let newProdStr = bytesToProdStr(newProdB)
3246- $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)
3289+ $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])], "_"))] ++ prologActions), 0)
32473290 }
32483291 }
32493292 }
32533296
32543297 @Callable(i)
32553298 func fortificateLand (landAssetId,plan) = {
3256- let prologAction = prolog(i)
3299+ let prologActions = prolog(i)
32573300 if ((size(i.payments) != 0))
32583301 then throw("No payments required")
32593302 else {
32713314 let curO = parseIntValue(curLoft[volOccupied])
32723315 let curF = parseIntValue(curLoft[volFree])
32733316 let newForts = split(plan, "_")
3274- let $t0101152101267 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3275- let tempProdB = $t0101152101267._1
3276- let tempO = $t0101152101267._2
3277- let tempF = $t0101152101267._3
3278- let $t0101270101366 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3279- let newProdB = $t0101270101366._1
3280- let newO = $t0101270101366._2
3281- let newF = $t0101270101366._3
3317+ let $t0102931103046 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3318+ let tempProdB = $t0102931103046._1
3319+ let tempO = $t0102931103046._2
3320+ let tempF = $t0102931103046._3
3321+ let $t0103049103145 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3322+ let newProdB = $t0103049103145._1
3323+ let newO = $t0103049103145._2
3324+ let newF = $t0103049103145._3
32823325 let newProdStr = bytesToProdStr(newProdB)
32833326 let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_")
3284- $Tuple2([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":")), prologAction], 0)
3327+ $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0)
32853328 }
32863329 }
32873330
32913334 func initDuckTourAttempt (duckAssetId) = if ((i.caller != tournamentContract))
32923335 then throw("Access denied")
32933336 else {
3294- let prologAction = prolog(i)
32953337 let keyHealth = keyDuckHealth(duckAssetId)
32963338 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
32973339 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
32993341 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
33003342 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
33013343 let tourLocation = (toString(lastId) + "_T_0")
3302- $Tuple2([prologAction, IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation)
3344+ $Tuple2([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation)
33033345 }
33043346
33053347
33063348
33073349 @Callable(i)
33083350 func breakAttempt () = {
3309- let prologAction = prolog(i)
3351+ let prologActions = prolog(i)
33103352 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
33113353 let curLocKey = keyDuckLocation(duckAssetId)
33123354 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
33153357 else {
33163358 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
33173359 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
3318- $Tuple2([prologAction, IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(curLocKey, savedLocation)], curLocation)
3360+ $Tuple2(((prologActions :+ IntegerEntry(keyDuckHealth(duckAssetId), savedHealth)) :+ StringEntry(curLocKey, savedLocation)), curLocation)
33193361 }
33203362 }
33213363
33543396
33553397 @Callable(i)
33563398 func prepareRobbery (message,sig) = {
3357- let prologAction = prolog(i)
3399+ let prologActions = prolog(i)
33583400 if (!(sigVerify_8Kb(message, sig, pub)))
33593401 then throw("signature does not match")
33603402 else if ((size(i.payments) != 1))
33723414 then throw("Wrong message format")
33733415 else {
33743416 let duckAssetId = parts[0]
3375- let robCost = getRobberyData(this, duckAssetId)._1
3376- if ((robCost > wlgAmt))
3377- then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost)))
3378- else {
3379- let candidates = split(parts[1], "_")
3380- let now = lastBlock.timestamp
3381- let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0)
3382- let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "")
3383- let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0)
3384- if (if ((duckState != duckIdxFree))
3385- then (landETA > now)
3386- else false)
3387- then throw(("You already started robbing, wait till " + toString(landETA)))
3388- else {
3389- func checker (acc,landAssetId) = {
3390- let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0)
3391- let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0)
3392- if ((state > size(landRobCooldowns)))
3393- then throw("Invalid state")
3394- else if ((now > cooldownETA))
3395- then {
3396- let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0)
3397- if ((0 >= stakedTime))
3398- then acc
3399- else {
3400- let a = value(assetInfo(fromBase58String(landAssetId)))
3401- let d = split(a.description, "_")
3402- let pieces = numPiecesBySize(d[recLandSize])
3403- let productivity = applyBonuses(landAssetId, pieces)
3404- let deltaTime = (now - stakedTime)
3405- let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS)
3406- if ((MIN_RES_TO_ROB > availRes))
3407- then acc
3408- else (acc :+ landAssetId)
3409- }
3417+ if (checkTournament(duckAssetId))
3418+ then throw("prepareRobbery_checkTournament")
3419+ else if (checkDelivery(duckAssetId))
3420+ then throw("prepareRobbery_checkDelivery")
3421+ else {
3422+ let robCost = getRobberyData(this, duckAssetId)._1
3423+ if ((robCost > wlgAmt))
3424+ then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost)))
3425+ else {
3426+ let candidates = split(parts[1], "_")
3427+ let now = lastBlock.timestamp
3428+ let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0)
3429+ let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "")
3430+ let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0)
3431+ if (if ((duckState != duckIdxFree))
3432+ then (landETA > now)
3433+ else false)
3434+ then throw(("You already started robbing, wait till " + toString(landETA)))
3435+ else {
3436+ func checker (acc,landAssetId) = {
3437+ let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0)
3438+ let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0)
3439+ if ((state > size(landRobCooldowns)))
3440+ then throw("Invalid state")
3441+ else if ((now > cooldownETA))
3442+ then {
3443+ let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0)
3444+ if ((0 >= stakedTime))
3445+ then acc
3446+ else {
3447+ let a = value(assetInfo(fromBase58String(landAssetId)))
3448+ let d = split(a.description, "_")
3449+ let pieces = numPiecesBySize(d[recLandSize])
3450+ let productivity = applyBonuses(landAssetId, pieces)
3451+ let deltaTime = (now - stakedTime)
3452+ let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS)
3453+ if ((MIN_RES_TO_ROB > availRes))
3454+ then acc
3455+ else (acc :+ landAssetId)
3456+ }
3457+ }
3458+ else acc
34103459 }
3411- else acc
3460+
3461+ let filtered = {
3462+ let $l = candidates
3463+ let $s = size($l)
3464+ let $acc0 = nil
3465+ func $f0_1 ($a,$i) = if (($i >= $s))
3466+ then $a
3467+ else checker($a, $l[$i])
3468+
3469+ func $f0_2 ($a,$i) = if (($i >= $s))
3470+ then $a
3471+ else throw("List size exceeds 10")
3472+
3473+ $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)
3474+ }
3475+ if ((size(filtered) == 0))
3476+ then throw("No candidates for robbery")
3477+ else {
3478+ let rndIdx = getRandomNumber(size(filtered), height, (sig + i.transactionId))
3479+ let landAssetId = filtered[rndIdx]
3480+ $Tuple2(([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId)] ++ prologActions), landAssetId)
3481+ }
3482+ }
34123483 }
3413-
3414- let filtered = {
3415- let $l = candidates
3416- let $s = size($l)
3417- let $acc0 = nil
3418- func $f0_1 ($a,$i) = if (($i >= $s))
3419- then $a
3420- else checker($a, $l[$i])
3421-
3422- func $f0_2 ($a,$i) = if (($i >= $s))
3423- then $a
3424- else throw("List size exceeds 10")
3425-
3426- $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)
3427- }
3428- if ((size(filtered) == 0))
3429- then throw("No candidates for robbery")
3430- else {
3431- let rndIdx = getRandomNumber(size(filtered), height, (sig + i.transactionId))
3432- let landAssetId = filtered[rndIdx]
3433- $Tuple2([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId), prologAction], landAssetId)
3434- }
3435- }
3436- }
3484+ }
34373485 }
34383486 }
34393487 }
34433491
34443492 @Callable(i)
34453493 func robLand (message,sig) = {
3446- let prologAction = prolog(i)
3494+ let prologActions = prolog(i)
34473495 if (!(sigVerify_8Kb(message, sig, pub)))
34483496 then throw("signature does not match")
34493497 else {
34503498 let userAddr = toString(i.caller)
34513499 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
34523500 let now = lastBlock.timestamp
3453- $Tuple2([prologAction, IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)], 0)
3501+ $Tuple2((prologActions :+ IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)), 0)
34543502 }
34553503 }
34563504
34603508 func acceptDelivery () = if (!(KS_ALLOW_DELIVERY))
34613509 then throw("Delivery feature is turned off!")
34623510 else {
3463- let prologAction = prolog(i)
3511+ let prologActions = prolog(i)
34643512 let userAddr = toString(i.caller)
34653513 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
34663514 let fundTotal = valueOrElse(getInteger(economyContract, deliveryFundKey), 0)
34843532 let curLocKey = keyDuckLocation(duckAssetId)
34853533 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
34863534 let deliveryLocation = (toString(now) + "_D_0")
3487- $Tuple2([prologAction, IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation)], $Tuple2(deliveryLocation, newLockedTotal))
3535+ $Tuple2(([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation)] ++ prologActions), $Tuple2(deliveryLocation, newLockedTotal))
34883536 }
34893537 }
34903538 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let DAYMILLIS = 86400000
55
66 func keyLastArbTimeByUser (addr) = ("lastArbTimeUser_" + addr)
77
88
99 let SCALE8 = 100000000
1010
1111 let xpLevelScale = 3200
1212
1313 let xpLevelRecipPow = 4000
1414
1515 let numPointsOnLevelUp = 3
1616
1717 let robberyCostMin = 100000000
1818
1919 let robberyCooldownCoeff = 400
2020
2121 let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"]
2222
2323 let charStrength = 0
2424
2525 let charAccuracy = 1
2626
2727 let charIntellect = 2
2828
2929 let charEndurance = 3
3030
3131 let charDexterity = 4
3232
3333 let segBackpack = 0
3434
3535 let NUMSEGMENTS = 6
3636
3737 let NUMMAINAUX = 2
3838
3939 let MAXSLOTS = 2
4040
4141 let MAXPRODINSLOT = 30
4242
4343 let landRobCooldowns = [0, 600000, 900000, 43200000, 21600000]
4444
4545 let MIN_RES_TO_ROB = 20000000
4646
4747 let robIdxLocked = 1
4848
4949 let duckIdxFree = 0
5050
5151 let duckIdxPreparing = 1
5252
5353 func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId)
5454
5555
5656 func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId)
5757
5858
5959 func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId)
6060
6161
6262 func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId)
6363
6464
6565 func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId)
6666
6767
6868 func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId)
6969
7070
7171 func keyUserXP (addr) = ("userXP_" + addr)
7272
7373
7474 func keyUserLevel (addr) = ("userLevel_" + addr)
7575
7676
7777 func keyUserFreePoints (addr) = ("userFreePoints_" + addr)
7878
7979
8080 func keySavedHealth (duckAssetId) = ("savedHealth_" + duckAssetId)
8181
8282
8383 func keySavedLocation (duckAssetId) = ("savedLocation_" + duckAssetId)
8484
8585
8686 func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId)
8787
8888
8989 func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId)
9090
9191
9292 func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId)
9393
9494
9595 func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId)
9696
9797
9898 func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId)
9999
100100
101101 func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId)
102102
103103
104104 func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId)
105105
106106
107107 func keyDeliveryDelayByDuck (duckAssetId) = ("deliveryDelayByDuck_" + duckAssetId)
108108
109109
110110 let xpClaim = 10000
111111
112112 let xpSuccessFlight = 10000
113113
114114 let xpFailFlight = 2000
115115
116116 let xpCallES = 100000
117117
118118 let xpCustomName = 1000000
119119
120120 let xpNewSLand = 5000000
121121
122122 let xpUpgradeInfra = 10000
123123
124124 let xpMerge = 1000000
125125
126126 let xpOnboard = 1000000
127127
128128 let xpHeal = 10000
129129
130130 func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8)
131131
132132
133133 func maxHealth (level) = (100 + level)
134134
135135
136136 func levelUp (currLevel,newXP) = {
137137 let newLevel = levelByXP(newXP)
138138 [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))]
139139 }
140140
141141
142142 func getDuckStats (stakingContract,duckAssetId,buffEffect,forceBuffs) = {
143143 let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_")
144144 let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0)
145145 let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl))
146146 let stateBuffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_")
147147 ([parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health] ++ (if (forceBuffs)
148148 then [buffEffect, buffEffect, buffEffect, buffEffect, buffEffect]
149149 else [parseIntValue(stateBuffs[charStrength]), parseIntValue(stateBuffs[charAccuracy]), parseIntValue(stateBuffs[charIntellect]), parseIntValue(stateBuffs[charEndurance]), parseIntValue(stateBuffs[charDexterity])]))
150150 }
151151
152152
153153 func getRobberyData (stakingContract,duckAssetId) = {
154154 let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0)
155155 let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0)
156156 let now = lastBlock.timestamp
157157 let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))])
158158 let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0)
159159 let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "")
160160 let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0)
161161 $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA)
162162 }
163163
164164
165165 let LANDPREFIX = "LAND"
166166
167167 let DUCKPREFIX = "DUCK"
168168
169169 let ARTPRESALE = "PRESALE"
170170
171171 let NUMRES = 6
172172
173173 let MAX_LANDS_STAKED_BY_USER = 25
174174
175175 let DAILYRESBYPIECE = 3456000
176176
177177 let WHMULTIPLIER = 10000000000
178178
179179 let DEFAULTLOCATION = "Africa_F_Africa"
180180
181181 let RESOURCEPRICEMIN = 39637
182182
183183 let ESSELLCOEF = 10
184184
185185 let MIN_USDT_FEE_DELIVERY = 50000
186186
187187 let TEN_MINUTES_MILLIS = 600000
188188
189189 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"]
190190
191191 let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"]
192192
193193 let COEFF2MAT = 10000000
194194
195195 let fortAllowedProds = [15, 16, 17, 18, 19, 20]
196196
197197 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_"]
198198
199199 let rIdxCoeff = 6
200200
201201 let rIdxEffect = 8
202202
203203 let rIdxRequirements = 9
204204
205205 let rIdxSlots = 10
206206
207207 let PRODUCTPKGSIZE = 10
208208
209209 let whIdxLevels = 0
210210
211211 let whIdxRes = 1
212212
213213 let whIdxMat = 2
214214
215215 let whIdxProd = 3
216216
217217 let whIdxLOFT = 4
218218
219219 let volLocked = 0
220220
221221 let volOccupied = 1
222222
223223 let volFree = 2
224224
225225 let volTotal = 3
226226
227227 let bpIdxLevel = 0
228228
229229 let bpIdxRes = 1
230230
231231 let bpIdxMat = 2
232232
233233 let bpIdxProd = 3
234234
235235 let locIdxContinent = 0
236236
237237 let locIdxType = 1
238238
239239 let locIdxId = 2
240240
241241 func keyLandAssetIdToOwner (assetId) = ("no_" + assetId)
242242
243243
244244 func keyLandAssetIdToCustomName (assetId) = ("lcna_" + assetId)
245245
246246
247247 func keyStakedTimeByAssetId (assetId) = ("st_" + assetId)
248248
249249
250250 func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["las", type, assetId], "_")
251251
252252
253253 func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("sttao_" + nftType) + "_") + assetId) + "_") + ownerAddr)
254254
255255
256256 func keyWarehouseByLand (landAssetId) = ("wh_" + landAssetId)
257257
258258
259259 func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId)
260260
261261
262262 func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId)
263263
264264
265265 func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId)
266266
267267
268268 func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr)
269269
270270
271271 func keyAddressRefBy (addr) = ("accRefBy_" + addr)
272272
273273
274274 func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId)
275275
276276
277277 func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr)
278278
279279
280280 func keyAddressReferrals (addr) = ("accReferrals_" + addr)
281281
282282
283283 func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId)
284284
285285
286286 func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr)
287287
288288
289289 func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId)
290290
291291
292292 func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId)
293293
294294
295295 func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr)
296296
297297
298298 func keyEsWarehouse () = "emergencyWarehouseProducts"
299299
300300
301301 let deliveryFundKey = "deliveryFund"
302302
303303 let deliveryLockedKey = "deliveryLocked"
304304
305305 let lastTourIdKey = "%s__lastTourId"
306306
307307 func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId))
308308
309309
310310 func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId))
311311
312312
313313 func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__")
314314
315315
316316 let idxStatic = 0
317317
318318 let idxDynamic = 1
319319
320320 let tStaticEnd = 6
321321
322322 let tDynamicStatus = 1
323323
324324 func getTourData (tourContract,tId) = {
325325 let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
326326 let dynamic = split_4C(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__")
327327 [static, dynamic]
328328 }
329329
330330
331331 func isInTournament (tourContract,location) = {
332332 let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0)
333333 let loc = split(location, "_")
334334 let now = lastBlock.timestamp
335335 let tData = getTourData(tourContract, lastId)
336336 let static = tData[idxStatic]
337337 let dynamic = tData[idxDynamic]
338338 if (if (if ((loc[locIdxType] == "T"))
339339 then (parseIntValue(loc[locIdxContinent]) == lastId)
340340 else false)
341341 then (dynamic[tDynamicStatus] == "INPROGRESS")
342342 else false)
343343 then (parseIntValue(static[tStaticEnd]) > now)
344344 else false
345345 }
346346
347347
348348 func isInDelivery (location) = {
349349 let loc = split(location, "_")
350350 let now = lastBlock.timestamp
351351 let startTime = parseIntValue(loc[locIdxContinent])
352352 let distance = parseIntValue(loc[locIdxId])
353353 if (if ((loc[locIdxType] == "D"))
354354 then (now > (startTime + TEN_MINUTES_MILLIS))
355355 else false)
356356 then (3 >= distance)
357357 else false
358358 }
359359
360360
361361 func isUsualLocation (location) = {
362362 let locType = split(location, "_")[locIdxType]
363363 if ((locType != "T"))
364364 then (locType != "D")
365365 else false
366366 }
367367
368368
369369 func notOnMission (tourContract,location) = {
370370 let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0)
371371 let loc = split(location, "_")
372372 let now = lastBlock.timestamp
373373 let tData = getTourData(tourContract, lastId)
374374 let static = tData[idxStatic]
375375 let dynamic = tData[idxDynamic]
376376 let locType = loc[locIdxType]
377377 if (if ((locType != "T"))
378378 then (locType != "D")
379379 else false)
380380 then true
381381 else !(if (if (if ((loc[locIdxType] == "T"))
382382 then (parseIntValue(loc[locIdxContinent]) == lastId)
383383 else false)
384384 then (dynamic[tDynamicStatus] == "INPROGRESS")
385385 else false)
386386 then (parseIntValue(static[tStaticEnd]) > now)
387387 else false)
388388 }
389389
390390
391391 func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT)
392392
393393
394394 func cheatAttempt (oldLoc,newLoc) = throw(((("Cheat attempt: oldLoc=" + oldLoc) + ", newLoc=") + newLoc))
395395
396396
397397 let KS_SEPARATE_PUBLIC_KEY = false
398398
399-let KS_ALLOW_BIG_INFRA_MERGE = true
399+let KS_ALLOW_BIG_INFRA_MERGE = false
400400
401401 let KS_ALLOW_DELIVERY = true
402402
403403 let chain = take(drop(this.bytes, 1), 1)
404404
405405 let usdtAssetId = match chain {
406406 case _ =>
407407 if ((base58'2W' == $match0))
408408 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
409409 else if ((base58'2T' == $match0))
410410 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
411411 else throw("Unknown chain")
412412 }
413413
414414 let defaultRestAddressStr = match chain {
415415 case _ =>
416416 if ((base58'2W' == $match0))
417417 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
418418 else if ((base58'2T' == $match0))
419419 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
420420 else throw("Unknown chain")
421421 }
422422
423423 let InfraUpgradeCostS = match chain {
424424 case _ =>
425425 if ((base58'2W' == $match0))
426426 then 10000000000
427427 else if ((base58'2T' == $match0))
428428 then 100000000
429429 else throw("Unknown chain")
430430 }
431431
432432 let arbitrageDelay = match chain {
433433 case _ =>
434434 if ((base58'2W' == $match0))
435435 then 86400000
436436 else if ((base58'2T' == $match0))
437437 then 60000
438438 else throw("Unknown chain")
439439 }
440440
441441 let SEP = "__"
442442
443443 let MULT6 = 1000000
444444
445445 let MULT8 = 100000000
446446
447447 let SSIZE = 25
448448
449449 let MSIZE = 100
450450
451451 let LSIZE = 225
452452
453453 let XLSIZE = 400
454454
455455 let XXLSIZE = 625
456456
457457 let ITER6 = [0, 1, 2, 3, 4, 5]
458458
459459 func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], ""))
460460
461461
462462 let IdxCfgStakingDapp = 1
463463
464464 let IdxCfgEconomyDapp = 2
465465
466466 let IdxCfgGovernanceDapp = 3
467467
468468 let IdxCfgWlgDapp = 4
469469
470470 let IdxCfgTournamentDapp = 7
471471
472472 let IdxCfgAcresDapp = 8
473473
474474 func keyRestCfg () = "%s__restConfig"
475475
476476
477477 func keyRestAddress () = "%s__restAddr"
478478
479479
480480 func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP)
481481
482482
483483 func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx)))
484484
485485
486486 let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr))
487487
488488 let restCfg = readRestCfgOrFail(restContract)
489489
490490 let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp)
491491
492492 let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp)
493493
494494 let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp)
495495
496496 let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp)
497497
498498 let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp)
499499
500500 let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp)
501501
502502 let recLandNum = 0
503503
504504 let recLandSize = 1
505505
506506 let recTerrains = 2
507507
508508 let recContinent = 3
509509
510510 let wlgAssetIdKey = "wlg_assetId"
511511
512512 let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet")
513513
514514 let acresAssetIdKey = "acresAssetId"
515515
516516 let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet")
517517
518518 let randomDelay = 2
519519
520520 func keyCommit (address) = ("finishBlockForAddr_" + address)
521521
522522
523523 func keyResProportions () = "resTypesProportions"
524524
525525
526526 func keyResTypesByContinent (continent) = ("resTypesByContinent_" + continent)
527527
528528
529529 func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr)
530530
531531
532532 func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr)
533533
534534
535535 func asString (v) = match v {
536536 case s: String =>
537537 s
538538 case _ =>
539539 throw("fail to cast into String")
540540 }
541541
542542
543543 func asInt (v) = match v {
544544 case n: Int =>
545545 n
546546 case _ =>
547547 throw("fail to cast into Int")
548548 }
549549
550550
551551 func asBoolean (v) = match v {
552552 case s: Boolean =>
553553 s
554554 case _ =>
555555 throw("fail to cast into Boolean")
556556 }
557557
558558
559559 func asStringIntTuple (val) = match val {
560560 case t2: (String, Int) =>
561561 t2
562562 case _ =>
563563 throw("fail to cast into (String, Int)")
564564 }
565565
566566
567567 func numPiecesBySize (landSize) = match landSize {
568568 case _ =>
569569 if (("S" == $match0))
570570 then SSIZE
571571 else if (("M" == $match0))
572572 then MSIZE
573573 else if (("L" == $match0))
574574 then LSIZE
575575 else if (("XL" == $match0))
576576 then XLSIZE
577577 else if (("XXL" == $match0))
578578 then XXLSIZE
579579 else throw("Unknown land size")
580580 }
581581
582582
583583 func isDigit (s) = isDefined(parseInt(s))
584584
585585
586586 func keyBlocked () = "contractsBlocked"
587587
588588
589589 func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr)
590590
591591
592592 func fixedPoint (val,decimals) = {
593593 let tenPow = pow(10, 0, decimals, 0, 0, DOWN)
594594 let lowPart = toString((val % tenPow))
595595 let zeroes = drop(toString(tenPow), (1 + size(lowPart)))
596596 (((toString((val / tenPow)) + ".") + zeroes) + lowPart)
597597 }
598598
599599
600600 func getRandomNumber (maxValue,finishHeight,auxEntropy) = {
601601 let randomSeedBlock = value(blockInfoByHeight(finishHeight))
602602 let randomHash = sha256((value(randomSeedBlock.vrf) + auxEntropy))
603603 (toInt(randomHash) % maxValue)
604604 }
605605
606606
607607 let incubatorAddr = match chain {
608608 case _ =>
609609 if ((base58'2W' == $match0))
610610 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
611611 else if ((base58'2T' == $match0))
612612 then this
613613 else throw("Unknown chain")
614614 }
615615
616616 let breederAddr = match chain {
617617 case _ =>
618618 if ((base58'2W' == $match0))
619619 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
620620 else if ((base58'2T' == $match0))
621621 then this
622622 else throw("Unknown chain")
623623 }
624624
625625 let pub = match chain {
626626 case _ =>
627627 if ((base58'2W' == $match0))
628628 then if (KS_SEPARATE_PUBLIC_KEY)
629629 then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm'
630630 else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
631631 else if ((base58'2T' == $match0))
632632 then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
633633 else throw("Unknown chain")
634634 }
635635
636636 let EMPTY_PROD50 = base64'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=='
637637
638638 let FIVEMINUTESMILLIS = 300000
639639
640640 let RENAMINGCOST = 5000000
641641
642642 let MAXNAMELEN = 50
643643
644644 let InfraUpgradeCostSUsdt = 10000000
645645
646646 let EXPMATERIALS = match chain {
647647 case _ =>
648648 if ((base58'2W' == $match0))
649649 then 252289527462
650650 else if ((base58'2T' == $match0))
651651 then 2522895274
652652 else throw("Unknown chain")
653653 }
654654
655655 let EXPUSDT = match chain {
656656 case _ =>
657657 if ((base58'2W' == $match0))
658658 then 250000000
659659 else if ((base58'2T' == $match0))
660660 then 250000000
661661 else throw("Unknown chain")
662662 }
663663
664664 let S_COST_ACRES = 2500000000
665665
666666 let FIVEX = toBigInt(5)
667667
668668 let TWENTYX = toBigInt(20)
669669
670670 let TWENTY2X = toBigInt((20 * 20))
671671
672672 let TWENTY3X = toBigInt(((20 * 20) * 20))
673673
674674 let TWENTY4X = toBigInt((((20 * 20) * 20) * 20))
675675
676676 let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20))
677677
678678 let PRESALENUMLANDS = 500
679679
680680 func keyNextFreeLandNum () = "nextLandNum"
681681
682682
683683 func keyLandCustomNameToAssetId (name) = ("lcn_" + name)
684684
685685
686686 func keyLandToAssetId (landNum) = ("la_" + landNum)
687687
688688
689689 func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("ilao_" + assetId) + "_") + ownerAddr)
690690
691691
692692 func keyLandNumToOwner (landNum) = ("lo_" + landNum)
693693
694694
695695 func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name)
696696
697697
698698 func keyCustomNameToAddress (name) = ("accountByCustomName_" + name)
699699
700700
701701 func keyOldies () = "oldiesList"
702702
703703
704704 let claimModeWh = 0
705705
706706 let claimModeDuck = 1
707707
708708 let claimModeWhThenDuck = 2
709709
710710 let flHealth = 0
711711
712712 let flTimestamp = 5
713713
714714 let flBonus = 6
715715
716716 let flProdsUsed = 7
717717
718718 func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize)
719719
720720
721721 func toVolume (amount,pkgSize) = {
722722 let pkgs = if ((amount >= 0))
723723 then (((amount + pkgSize) - 1) / pkgSize)
724724 else -((((-(amount) + pkgSize) - 1) / pkgSize))
725725 (pkgs * MULT8)
726726 }
727727
728728
729729 func distributeByWeights (total,weights) = {
730730 let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5])
731731 if ((0 >= sum))
732732 then throw("Zero weights sum")
733733 else {
734734 let norm6 = fraction(total, MULT6, sum)
735735 func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6))
736736
737737 let $l = weights
738738 let $s = size($l)
739739 let $acc0 = nil
740740 func $f0_1 ($a,$i) = if (($i >= $s))
741741 then $a
742742 else normalizer($a, $l[$i])
743743
744744 func $f0_2 ($a,$i) = if (($i >= $s))
745745 then $a
746746 else throw("List size exceeds 6")
747747
748748 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
749749 }
750750 }
751751
752752
753753 func getNeededMaterials (total) = {
754754 let props = split(value(getString(keyResProportions())), "_")
755755 if ((size(props) != NUMRES))
756756 then throw("Wrong proportions data")
757757 else {
758758 let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])]
759759 distributeByWeights(total, r)
760760 }
761761 }
762762
763763
764764 func subtractMaterials (shouldUseMat,has,totalNeed) = {
765765 let need = getNeededMaterials(totalNeed)
766766 func subtractor (acc,idx) = {
767767 let result = (parseIntValue(has[idx]) - need[idx])
768768 if ((0 > result))
769769 then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx])))
770770 else (acc :+ toString(result))
771771 }
772772
773773 if (shouldUseMat)
774774 then {
775775 let $l = ITER6
776776 let $s = size($l)
777777 let $acc0 = nil
778778 func $f0_1 ($a,$i) = if (($i >= $s))
779779 then $a
780780 else subtractor($a, $l[$i])
781781
782782 func $f0_2 ($a,$i) = if (($i >= $s))
783783 then $a
784784 else throw("List size exceeds 6")
785785
786786 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
787787 }
788788 else has
789789 }
790790
791791
792792 func subtractEquipment (oldEq,pUsed) = if ((pUsed == ""))
793793 then $Tuple2(oldEq, false)
794794 else {
795795 func subUsed (acc,idxAmt) = {
796796 let parts = split(idxAmt, ",")
797797 if ((size(parts) != 2))
798798 then throw("Incorrect format, should be index,amount")
799799 else {
800800 let idx = parseIntValue(parts[0])
801801 if (if ((0 > idx))
802802 then true
803803 else (idx >= size(productionMatrix)))
804804 then throw("Unknown product idx")
805805 else {
806806 let amt = parseIntValue(parts[1])
807807 let eqParts = split(acc._1, (parts[0] + ":"))
808808 if ((size(eqParts) != 2))
809809 then throw((("You don't have " + prodTypes[idx]) + " equipped"))
810810 else {
811811 let tmp = eqParts[1]
812812 let numLen = if (isDigit(take(drop(tmp, 1), 1)))
813813 then 2
814814 else 1
815815 let curr = parseIntValue(take(tmp, numLen))
816816 let tail = drop(tmp, numLen)
817817 let newAmt = if ((curr >= amt))
818818 then (curr - amt)
819819 else throw(((((("You equipped " + toString(curr)) + " of ") + prodTypes[idx]) + ", but tried to use ") + toString(amt)))
820820 $Tuple2(((((eqParts[0] + parts[0]) + ":") + toString(newAmt)) + tail), if (acc._2)
821821 then true
822822 else if (if ((idx >= 6))
823823 then (8 >= idx)
824824 else false)
825825 then (newAmt == 0)
826826 else false)
827827 }
828828 }
829829 }
830830 }
831831
832832 let $l = split(pUsed, "_")
833833 let $s = size($l)
834834 let $acc0 = $Tuple2(oldEq, false)
835835 func $f0_1 ($a,$i) = if (($i >= $s))
836836 then $a
837837 else subUsed($a, $l[$i])
838838
839839 func $f0_2 ($a,$i) = if (($i >= $s))
840840 then $a
841841 else throw("List size exceeds 10")
842842
843843 $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)
844844 }
845845
846846
847847 func prodStrToBytes (prodStr) = {
848848 let pList = if ((prodStr == ""))
849849 then nil
850850 else split_4C(prodStr, "_")
851851 func toBV (acc,recipe) = {
852852 let j = (size(acc) / 8)
853853 let curr = if ((size(pList) > j))
854854 then parseIntValue(pList[j])
855855 else 0
856856 (acc + toBytes(curr))
857857 }
858858
859859 let $l = productionMatrix
860860 let $s = size($l)
861861 let $acc0 = base58''
862862 func $f0_1 ($a,$i) = if (($i >= $s))
863863 then $a
864864 else toBV($a, $l[$i])
865865
866866 func $f0_2 ($a,$i) = if (($i >= $s))
867867 then $a
868868 else throw("List size exceeds 50")
869869
870870 $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)
871871 }
872872
873873
874874 func bytesToProdStr (bv) = {
875875 func fromBV (acc,recipe) = {
876876 let j = size(acc)
877877 let b = take(drop(bv, (8 * j)), 8)
878878 (acc :+ toString(toInt(b)))
879879 }
880880
881881 makeString_2C({
882882 let $l = productionMatrix
883883 let $s = size($l)
884884 let $acc0 = nil
885885 func $f0_1 ($a,$i) = if (($i >= $s))
886886 then $a
887887 else fromBV($a, $l[$i])
888888
889889 func $f0_2 ($a,$i) = if (($i >= $s))
890890 then $a
891891 else throw("List size exceeds 50")
892892
893893 $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)
894894 }, "_")
895895 }
896896
897897
898898 func checkStatRequirements (duckStats,reqs) = {
899899 func check (acc,j) = {
900900 let buff = if ((size(duckStats) > (7 + j)))
901901 then duckStats[(7 + j)]
902902 else 0
903903 if ((parseIntValue(reqs[j]) > (duckStats[j] + buff)))
904904 then throw(("Requirement not satisfied: " + requirements[j]))
905905 else true
906906 }
907907
908908 let $l = [0, 1, 2, 3, 4, 5, 6]
909909 let $s = size($l)
910910 let $acc0 = false
911911 func $f0_1 ($a,$i) = if (($i >= $s))
912912 then $a
913913 else check($a, $l[$i])
914914
915915 func $f0_2 ($a,$i) = if (($i >= $s))
916916 then $a
917917 else throw("List size exceeds 7")
918918
919919 $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)
920920 }
921921
922922
923923 func placeProdB (idxCnt,pList,isPositive,duckStats,occupied,free) = {
924924 let parts = split(idxCnt, ":")
925925 if ((size(parts) != 2))
926926 then throw("Incorrect format, should be index:amount")
927927 else if (if (!(isPositive))
928928 then (size(parts[0]) != 2)
929929 else false)
930930 then throw("Product idx should be 2 digits, zero padded")
931931 else {
932932 let productIdx = parseIntValue(parts[0])
933933 let count = parseIntValue(parts[1])
934934 if (!(containsElement(fortAllowedProds, productIdx)))
935935 then throw((("Product '" + prodTypes[productIdx]) + "' cannot be used for land defense"))
936936 else if ((0 > count))
937937 then throw("Count can't be negative")
938938 else if ((count > MAXPRODINSLOT))
939939 then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx]))
940940 else if ((count == 0))
941941 then $Tuple3(pList, occupied, free)
942942 else {
943943 let head = take(pList, (8 * productIdx))
944944 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
945945 let tail = drop(pList, (8 * (productIdx + 1)))
946946 let recipe = split(productionMatrix[productIdx], "_")
947947 if (if (!(isPositive))
948948 then (count > curr)
949949 else false)
950950 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
951951 else {
952952 let newAmt = if (if (!(isPositive))
953953 then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
954954 else false)
955955 then (curr - count)
956956 else (curr + count)
957957 let deltaVol = (toVolume(newAmt, PRODUCTPKGSIZE) - toVolume(curr, PRODUCTPKGSIZE))
958958 $Tuple3(((head + toBytes(newAmt)) + tail), (occupied + deltaVol), (free - deltaVol))
959959 }
960960 }
961961 }
962962 }
963963
964964
965965 func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = {
966966 let parts = split(idxCnt, ":")
967967 if ((size(parts) != 2))
968968 then throw("Incorrect format, should be index:amount")
969969 else if (if (!(isPositive))
970970 then (size(parts[0]) != 2)
971971 else false)
972972 then throw("Product idx should be 2 digits, zero padded")
973973 else {
974974 let productIdx = parseIntValue(parts[0])
975975 let count = parseIntValue(parts[1])
976976 if (if ((0 > productIdx))
977977 then true
978978 else (productIdx >= size(productionMatrix)))
979979 then throw("Unknown product idx")
980980 else if ((0 > count))
981981 then throw("Count can't be negative")
982982 else if ((count > MAXPRODINSLOT))
983983 then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx]))
984984 else if ((count == 0))
985985 then $Tuple2(pList, false)
986986 else {
987987 let head = take(pList, (8 * productIdx))
988988 let curr = toInt(take(drop(pList, (8 * productIdx)), 8))
989989 let tail = drop(pList, (8 * (productIdx + 1)))
990990 let recipe = split(productionMatrix[productIdx], "_")
991991 if (if (!(isPositive))
992992 then (count > curr)
993993 else false)
994994 then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count)))
995995 else {
996996 let isBigItem = if (if (!(isPositive))
997997 then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ","))
998998 else false)
999999 then {
10001000 let compat = recipe[rIdxSlots]
10011001 if ((compat == ""))
10021002 then throw("Item cannot be equipped")
10031003 else {
10041004 let c = parseIntValue(compat)
10051005 let cSeg = (c / 100)
10061006 if ((segment != cSeg))
10071007 then throw("Segment incompatible")
10081008 else {
10091009 let cMainAux = ((c % 100) / 10)
10101010 if ((mainAux != cMainAux))
10111011 then throw("Slot incompatible")
10121012 else {
10131013 let cNumSlots = (c % 10)
10141014 if (if ((slot != 0))
10151015 then (cNumSlots > 1)
10161016 else false)
10171017 then throw("Big items should occupy slot 0")
10181018 else (cNumSlots > 1)
10191019 }
10201020 }
10211021 }
10221022 }
10231023 else false
10241024 $Tuple2(((head + toBytes((curr + (if (isPositive)
10251025 then count
10261026 else -(count))))) + tail), isBigItem)
10271027 }
10281028 }
10291029 }
10301030 }
10311031
10321032
10331033 func slotsGroupB (g,bpIn,isPositive,segment,mainAux,stats) = if ((g != ""))
10341034 then {
10351035 let slots = split(g, ",")
10361036 if ((size(slots) > MAXSLOTS))
10371037 then throw("Wrong slots format")
10381038 else {
10391039 let s0 = slots[0]
10401040 let s1 = if ((size(slots) > 1))
10411041 then slots[1]
10421042 else ""
10431043 if (if ((s0 == ""))
10441044 then (s1 == "")
10451045 else false)
10461046 then bpIn
10471047 else {
10481048 let tmpS0 = if ((s0 != ""))
10491049 then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, stats)
10501050 else $Tuple2(bpIn, false)
10511051 if ((s1 != ""))
10521052 then if (tmpS0._2)
10531053 then throw("Big item already occupies slot")
10541054 else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, stats)._1
10551055 else tmpS0._1
10561056 }
10571057 }
10581058 }
10591059 else bpIn
10601060
10611061
10621062 func dressB (segList,pBytes,isPositive,stats) = {
10631063 func segment (acc,seg) = {
10641064 let j = acc._1
10651065 let mainAux = split(seg, ";")
10661066 if ((size(mainAux) != NUMMAINAUX))
10671067 then throw("Wrong segment format")
10681068 else {
10691069 let m = mainAux[0]
10701070 let a = mainAux[1]
10711071 if (if ((m == ""))
10721072 then (a == "")
10731073 else false)
10741074 then $Tuple2((j + 1), acc._2)
10751075 else {
10761076 let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, stats)
10771077 $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, stats))
10781078 }
10791079 }
10801080 }
10811081
10821082 ( let $l = segList
10831083 let $s = size($l)
10841084 let $acc0 = $Tuple2(0, pBytes)
10851085 func $f0_1 ($a,$i) = if (($i >= $s))
10861086 then $a
10871087 else segment($a, $l[$i])
10881088
10891089 func $f0_2 ($a,$i) = if (($i >= $s))
10901090 then $a
10911091 else throw("List size exceeds 6")
10921092
10931093 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2
10941094 }
10951095
10961096
10971097 func fortB (segList,pBytes,occupied,free,isPositive,duckStats) = if ((3 > size(segList)))
10981098 then throw("At least duck, mines and traps parts are required")
10991099 else {
11001100 func segment (acc,seg) = {
11011101 let j = acc._1
11021102 if ((j == 0))
11031103 then $Tuple4((j + 1), acc._2, acc._3, acc._4)
11041104 else {
11051105 let p = placeProdB(seg, acc._2, isPositive, duckStats, acc._3, acc._4)
11061106 $Tuple4((j + 1), p._1, p._2, p._3)
11071107 }
11081108 }
11091109
11101110 let t = {
11111111 let $l = segList
11121112 let $s = size($l)
11131113 let $acc0 = $Tuple4(0, pBytes, occupied, free)
11141114 func $f0_1 ($a,$i) = if (($i >= $s))
11151115 then $a
11161116 else segment($a, $l[$i])
11171117
11181118 func $f0_2 ($a,$i) = if (($i >= $s))
11191119 then $a
11201120 else throw("List size exceeds 10")
11211121
11221122 $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)
11231123 }
11241124 $Tuple3(t._2, t._3, t._4)
11251125 }
11261126
11271127
11281128 func canWearCurrentEquipment (duckAssetId) = {
11291129 let eqKey = keyDuckEquipment(duckAssetId)
11301130 let currEq = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
11311131 let tempProdB = dressB(currEq, EMPTY_PROD50, true, nil)
11321132 let segBpAux = split(currEq[segBackpack], ";")[1]
11331133 let buffEffect = if ((segBpAux == ""))
11341134 then 0
11351135 else {
11361136 let aux0 = split(segBpAux, ",")[0]
11371137 if ((aux0 == ""))
11381138 then 0
11391139 else {
11401140 let idxCnt = split(aux0, ":")
11411141 let idx = idxCnt[0]
11421142 let cnt = idxCnt[1]
11431143 if (if (if (if (if ((idx == "06"))
11441144 then true
11451145 else (idx == "07"))
11461146 then true
11471147 else (idx == "08"))
11481148 then (cnt != "")
11491149 else false)
11501150 then (parseIntValue(cnt) > 0)
11511151 else false)
11521152 then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect])
11531153 else 0
11541154 }
11551155 }
11561156 let stats = getDuckStats(this, duckAssetId, buffEffect, true)
11571157 let newProdB = dressB(currEq, tempProdB, false, stats)
11581158 (newProdB == newProdB)
11591159 }
11601160
11611161
11621162 func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES))
11631163 then throw("Wrong proportions data")
11641164 else {
11651165 func updater (acc,i) = {
11661166 let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex))
11671167 if ((0 > result))
11681168 then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex)))
11691169 else (acc :+ toString(result))
11701170 }
11711171
11721172 let $l = ITER6
11731173 let $s = size($l)
11741174 let $acc0 = nil
11751175 func $f0_1 ($a,$i) = if (($i >= $s))
11761176 then $a
11771177 else updater($a, $l[$i])
11781178
11791179 func $f0_2 ($a,$i) = if (($i >= $s))
11801180 then $a
11811181 else throw("List size exceeds 6")
11821182
11831183 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
11841184 }
11851185
11861186
11871187 func updateProportions (terrainCounts,landSizeIndex,sign) = {
11881188 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
11891189 makeString(updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign), "_")
11901190 }
11911191
11921192
11931193 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)]
11941194
11951195
11961196 func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
11971197 func adder (acc,i) = {
11981198 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
11991199 (acc :+ toString((parseIntValue(currentRes[i]) + resOfType)))
12001200 }
12011201
12021202 let r = {
12031203 let $l = ITER6
12041204 let $s = size($l)
12051205 let $acc0 = nil
12061206 func $f0_1 ($a,$i) = if (($i >= $s))
12071207 then $a
12081208 else adder($a, $l[$i])
12091209
12101210 func $f0_2 ($a,$i) = if (($i >= $s))
12111211 then $a
12121212 else throw("List size exceeds 6")
12131213
12141214 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12151215 }
12161216 makeString(r, "_")
12171217 }
12181218
12191219
12201220 func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = {
12211221 func adder (acc,i) = {
12221222 let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex)
12231223 $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType))
12241224 }
12251225
12261226 let $l = ITER6
12271227 let $s = size($l)
12281228 let $acc0 = $Tuple2(nil, 0)
12291229 func $f0_1 ($a,$i) = if (($i >= $s))
12301230 then $a
12311231 else adder($a, $l[$i])
12321232
12331233 func $f0_2 ($a,$i) = if (($i >= $s))
12341234 then $a
12351235 else throw("List size exceeds 6")
12361236
12371237 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12381238 }
12391239
12401240
12411241 func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = {
12421242 let resListToClaim = resToClaim._1
12431243 let resAmToClaim = resToClaim._2
12441244 if ((resAmToClaim == 0))
12451245 then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_"))
12461246 else if ((whSpaceLeft >= resAmToClaim))
12471247 then {
12481248 func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i])))
12491249
12501250 let r = {
12511251 let $l = ITER6
12521252 let $s = size($l)
12531253 let $acc0 = nil
12541254 func $f0_1 ($a,$i) = if (($i >= $s))
12551255 then $a
12561256 else addLists($a, $l[$i])
12571257
12581258 func $f0_2 ($a,$i) = if (($i >= $s))
12591259 then $a
12601260 else throw("List size exceeds 6")
12611261
12621262 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12631263 }
12641264 $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_"))
12651265 }
12661266 else {
12671267 func addPartLists (acc,i) = {
12681268 let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim)
12691269 $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart))))
12701270 }
12711271
12721272 let r = {
12731273 let $l = ITER6
12741274 let $s = size($l)
12751275 let $acc0 = $Tuple2(nil, nil)
12761276 func $f0_1 ($a,$i) = if (($i >= $s))
12771277 then $a
12781278 else addPartLists($a, $l[$i])
12791279
12801280 func $f0_2 ($a,$i) = if (($i >= $s))
12811281 then $a
12821282 else throw("List size exceeds 6")
12831283
12841284 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
12851285 }
12861286 $Tuple2(makeString(r._1, "_"), makeString(r._2, "_"))
12871287 }
12881288 }
12891289
12901290
12911291 func abs (x) = if ((x >= toBigInt(0)))
12921292 then x
12931293 else -(x)
12941294
12951295
12961296 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]]
12971297
12981298 func genChar (n,freqs) = {
12991299 let rem = toInt((n % TWENTYX))
13001300 let letter = if ((freqs[0] > rem))
13011301 then "A"
13021302 else if ((freqs[1] > rem))
13031303 then "B"
13041304 else if ((freqs[2] > rem))
13051305 then "C"
13061306 else if ((freqs[3] > rem))
13071307 then "D"
13081308 else if ((freqs[4] > rem))
13091309 then "E"
13101310 else "F"
13111311 letter
13121312 }
13131313
13141314
13151315 func genTerrains (seed,continentIdx) = {
13161316 let f = freq[continentIdx]
13171317 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))
13181318
13191319 let t = {
13201320 let $l = [1, 2, 3, 4, 5]
13211321 let $s = size($l)
13221322 let $acc0 = $Tuple2("", (seed / FIVEX))
13231323 func $f0_1 ($a,$i) = if (($i >= $s))
13241324 then $a
13251325 else terrainGenerator($a, $l[$i])
13261326
13271327 func $f0_2 ($a,$i) = if (($i >= $s))
13281328 then $a
13291329 else throw("List size exceeds 5")
13301330
13311331 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
13321332 }
13331333 t._1
13341334 }
13351335
13361336
13371337 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]
13381338
13391339 let TCHARS = ["A", "B", "C", "D", "E", "F"]
13401340
13411341 func genTerrainsForMerge (sumTerrains,landSizeIndex) = {
13421342 func step1 (acc,s) = {
13431343 let j = acc._2
13441344 let el = parseIntValue(s)
13451345 let x = if ((el == 0))
13461346 then 0
13471347 else if ((el >= (4 * landSizeIndex)))
13481348 then (el / landSizeIndex)
13491349 else if ((el > (3 * landSizeIndex)))
13501350 then 3
13511351 else (((el - 1) / landSizeIndex) + 1)
13521352 $Tuple3((acc._1 :+ x), (acc._2 + 1), (acc._3 + x))
13531353 }
13541354
13551355 let t = {
13561356 let $l = sumTerrains
13571357 let $s = size($l)
13581358 let $acc0 = $Tuple3(nil, 0, 0)
13591359 func $f0_1 ($a,$i) = if (($i >= $s))
13601360 then $a
13611361 else step1($a, $l[$i])
13621362
13631363 func $f0_2 ($a,$i) = if (($i >= $s))
13641364 then $a
13651365 else throw("List size exceeds 6")
13661366
13671367 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
13681368 }
13691369 let arr = t._1
13701370 let maxIdx = value(indexOf(arr, max(arr)))
13711371 let delta = (t._3 - 25)
13721372 func subber (acc,idx) = {
13731373 let val = if ((idx == maxIdx))
13741374 then (arr[idx] - delta)
13751375 else arr[idx]
13761376 let zeroes = if ((val == 0))
13771377 then nil
13781378 else split(drop(toString(pow(10, 0, val, 0, 0, DOWN)), 1), "")
13791379 let c = TCHARS[idx]
13801380 func listGen (ac,ignored) = (ac :+ c)
13811381
13821382 let z = {
13831383 let $l = zeroes
13841384 let $s = size($l)
13851385 let $acc0 = nil
13861386 func $f1_1 ($a,$i) = if (($i >= $s))
13871387 then $a
13881388 else listGen($a, $l[$i])
13891389
13901390 func $f1_2 ($a,$i) = if (($i >= $s))
13911391 then $a
13921392 else throw("List size exceeds 25")
13931393
13941394 $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)
13951395 }
13961396 (acc ++ z)
13971397 }
13981398
13991399 let r = {
14001400 let $l = ITER6
14011401 let $s = size($l)
14021402 let $acc0 = nil
14031403 func $f1_1 ($a,$i) = if (($i >= $s))
14041404 then $a
14051405 else subber($a, $l[$i])
14061406
14071407 func $f1_2 ($a,$i) = if (($i >= $s))
14081408 then $a
14091409 else throw("List size exceeds 6")
14101410
14111411 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
14121412 }
14131413 func permut (acc,j) = (acc + r[j])
14141414
14151415 let $l = PERM25
14161416 let $s = size($l)
14171417 let $acc0 = ""
14181418 func $f2_1 ($a,$i) = if (($i >= $s))
14191419 then $a
14201420 else permut($a, $l[$i])
14211421
14221422 func $f2_2 ($a,$i) = if (($i >= $s))
14231423 then $a
14241424 else throw("List size exceeds 25")
14251425
14261426 $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)
14271427 }
14281428
14291429
14301430 func getBackpack (bpKey) = {
14311431 let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
14321432 [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES))
14331433 then p[bpIdxRes]
14341434 else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES))
14351435 then p[bpIdxMat]
14361436 else "0_0_0_0_0_0", p[bpIdxProd]]
14371437 }
14381438
14391439
14401440 func getWarehouseTotalVolume (volPrefix) = {
14411441 let parts = split(volPrefix, "_")
14421442 ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0]))
14431443 }
14441444
14451445
14461446 func getWarehouseOccupiedVol (currentWh) = {
14471447 let goods = currentWh[whIdxProd]
14481448 func sumResMat (acc,item) = (acc + parseIntValue(item))
14491449
14501450 func sumProd (acc,item) = {
14511451 let idx = acc._1
14521452 let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE)
14531453 $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8)))
14541454 }
14551455
14561456 let whResVol = {
14571457 let $l = split(currentWh[whIdxRes], "_")
14581458 let $s = size($l)
14591459 let $acc0 = 0
14601460 func $f0_1 ($a,$i) = if (($i >= $s))
14611461 then $a
14621462 else sumResMat($a, $l[$i])
14631463
14641464 func $f0_2 ($a,$i) = if (($i >= $s))
14651465 then $a
14661466 else throw("List size exceeds 6")
14671467
14681468 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
14691469 }
14701470 let whMatVol = {
14711471 let $l = split(currentWh[whIdxMat], "_")
14721472 let $s = size($l)
14731473 let $acc0 = 0
14741474 func $f1_1 ($a,$i) = if (($i >= $s))
14751475 then $a
14761476 else sumResMat($a, $l[$i])
14771477
14781478 func $f1_2 ($a,$i) = if (($i >= $s))
14791479 then $a
14801480 else throw("List size exceeds 6")
14811481
14821482 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
14831483 }
14841484 let whGoodsVol = if ((goods == ""))
14851485 then 0
14861486 else ( let $l = split_4C(goods, "_")
14871487 let $s = size($l)
14881488 let $acc0 = $Tuple2(0, 0)
14891489 func $f2_1 ($a,$i) = if (($i >= $s))
14901490 then $a
14911491 else sumProd($a, $l[$i])
14921492
14931493 func $f2_2 ($a,$i) = if (($i >= $s))
14941494 then $a
14951495 else throw("List size exceeds 50")
14961496
14971497 $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
14981498 ((whResVol + whMatVol) + whGoodsVol)
14991499 }
15001500
15011501
15021502 func getWarehouse (whKey,landIndex,infraLevel) = {
15031503 let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel))
15041504 let whTotal = getWarehouseTotalVolume(volPrefix)
15051505 let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0"))
15061506 let wh = split_4C(whStr, ":")
15071507 let whOccupied = getWarehouseOccupiedVol(wh)
15081508 let whLoft = if ((5 > size(wh)))
15091509 then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_")
15101510 else {
15111511 let loft = split(wh[whIdxLOFT], "_")
15121512 let whLocked = parseIntValue(loft[volLocked])
15131513 let occ = if ((size(loft) > 1))
15141514 then parseIntValue(loft[volOccupied])
15151515 else whOccupied
15161516 makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_")
15171517 }
15181518 [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES))
15191519 then wh[whIdxRes]
15201520 else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES))
15211521 then wh[whIdxMat]
15221522 else "0_0_0_0_0_0", wh[whIdxProd], whLoft]
15231523 }
15241524
15251525
15261526 func getWarehouseSpaceLeft (currentWh) = {
15271527 let occupiedVol = getWarehouseOccupiedVol(currentWh)
15281528 let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked])
15291529 ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol)
15301530 }
15311531
15321532
15331533 func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3))
15341534 then throw("cargoListStr should contain exactly 2 ':' separators")
15351535 else {
15361536 let resParts = split(cargoParts[0], "_")
15371537 let matParts = split(cargoParts[1], "_")
15381538 let prodParts = if ((cargoParts[2] == ""))
15391539 then nil
15401540 else split_4C(cargoParts[2], "_")
15411541 if ((size(resParts) != NUMRES))
15421542 then throw("All 6 resources should be passed")
15431543 else if ((size(matParts) != NUMRES))
15441544 then throw("All 6 materials should be passed")
15451545 else {
15461546 let whSpaceLeft = getWarehouseSpaceLeft(currentWh)
15471547 let currWhRes = split(currentWh[whIdxRes], "_")
15481548 let currWhMat = split(currentWh[whIdxMat], "_")
15491549 let currWhProd = if ((currentWh[whIdxProd] == ""))
15501550 then nil
15511551 else split_4C(currentWh[whIdxProd], "_")
15521552 let currentPackRes = split(currentPack[bpIdxRes], "_")
15531553 let currentPackMat = split(currentPack[bpIdxMat], "_")
15541554 let currentPackProd = if ((currentPack[bpIdxProd] == ""))
15551555 then nil
15561556 else split_4C(currentPack[bpIdxProd], "_")
15571557 func mvR (acc,item) = {
15581558 let i = acc._1
15591559 let am = parseIntValue(item)
15601560 let whr = parseIntValue(currWhRes[i])
15611561 let bpr = parseIntValue(currentPackRes[i])
15621562 if ((am == 0))
15631563 then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4)
15641564 else if ((am > 0))
15651565 then if ((am > bpr))
15661566 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available"))
15671567 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
15681568 else if ((-(am) > whr))
15691569 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available"))
15701570 else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am))
15711571 }
15721572
15731573 let r = {
15741574 let $l = resParts
15751575 let $s = size($l)
15761576 let $acc0 = $Tuple4(0, nil, nil, 0)
15771577 func $f0_1 ($a,$i) = if (($i >= $s))
15781578 then $a
15791579 else mvR($a, $l[$i])
15801580
15811581 func $f0_2 ($a,$i) = if (($i >= $s))
15821582 then $a
15831583 else throw("List size exceeds 6")
15841584
15851585 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
15861586 }
15871587 func mvM (acc,item) = {
15881588 let i = acc._1
15891589 let am = parseIntValue(item)
15901590 let whm = parseIntValue(currWhMat[i])
15911591 let bpm = parseIntValue(currentPackMat[i])
15921592 if ((am == 0))
15931593 then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4)
15941594 else if ((am > 0))
15951595 then if ((am > bpm))
15961596 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available"))
15971597 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
15981598 else if ((-(am) > whm))
15991599 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available"))
16001600 else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am))
16011601 }
16021602
16031603 let m = {
16041604 let $l = matParts
16051605 let $s = size($l)
16061606 let $acc0 = $Tuple4(0, nil, nil, r._4)
16071607 func $f1_1 ($a,$i) = if (($i >= $s))
16081608 then $a
16091609 else mvM($a, $l[$i])
16101610
16111611 func $f1_2 ($a,$i) = if (($i >= $s))
16121612 then $a
16131613 else throw("List size exceeds 6")
16141614
16151615 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
16161616 }
16171617 func mvP (acc,item) = {
16181618 let i = acc._1
16191619 let am = parseIntValue(item)
16201620 let whp = if ((size(currWhProd) > i))
16211621 then parseIntValue(currWhProd[i])
16221622 else 0
16231623 let bpp = if ((size(currentPackProd) > i))
16241624 then parseIntValue(currentPackProd[i])
16251625 else 0
16261626 if ((am == 0))
16271627 then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4)
16281628 else if ((am > 0))
16291629 then if ((am > bpp))
16301630 then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available"))
16311631 else {
16321632 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
16331633 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
16341634 }
16351635 else if ((-(am) > whp))
16361636 then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available"))
16371637 else {
16381638 let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE))
16391639 $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol))
16401640 }
16411641 }
16421642
16431643 let p = if ((size(prodParts) != 0))
16441644 then {
16451645 let $l = prodParts
16461646 let $s = size($l)
16471647 let $acc0 = $Tuple4(0, nil, nil, m._4)
16481648 func $f2_1 ($a,$i) = if (($i >= $s))
16491649 then $a
16501650 else mvP($a, $l[$i])
16511651
16521652 func $f2_2 ($a,$i) = if (($i >= $s))
16531653 then $a
16541654 else throw("List size exceeds 50")
16551655
16561656 $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)
16571657 }
16581658 else $Tuple4(0, currWhProd, currentPackProd, m._4)
16591659 let volSaldo = p._4
16601660 if ((volSaldo > whSpaceLeft))
16611661 then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left"))
16621662 else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString_2C(p._3, "_"), volSaldo)
16631663 }
16641664 }
16651665
16661666
16671667 func expeditionInternal (caller,txId) = {
16681668 let userAddr = toString(caller)
16691669 let bigNum = abs(toBigInt(txId))
16701670 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
16711671 let landNum = toString(freeNum)
16721672 let continentIdx = toInt((bigNum % FIVEX))
16731673 let terrains = genTerrains(bigNum, continentIdx)
16741674 let continent = continents[continentIdx]
16751675 let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false)
16761676 let assetId = calculateAssetId(issue)
16771677 let id = toBase58String(assetId)
16781678 $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))
16791679 }
16801680
16811681
16821682 func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub)))
16831683 then throw("signature does not match")
16841684 else {
16851685 let parts = split_4C(toUtf8String(message), ";")
16861686 let flightLog = split_4C(parts[0], "|")
16871687 let hp = split(flightLog[flHealth], "_")
16881688 let curHP = parseIntValue(hp[0])
16891689 let newHP = parseIntValue(hp[1])
16901690 let newLocTxVer = split(parts[1], ":")
16911691 let newLocation = newLocTxVer[0]
16921692 let time = parseIntValue(flightLog[flTimestamp])
16931693 if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS)))
16941694 then true
16951695 else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time))
16961696 then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp)))
16971697 else {
16981698 let txFromMsg = newLocTxVer[1]
16991699 let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "")
17001700 if ((lastTx != txFromMsg))
17011701 then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg))
17021702 else {
17031703 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
17041704 let keyHealth = keyDuckHealth(duckAssetId)
17051705 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
17061706 let oldFromState = valueOrElse(getInteger(keyHealth), maxHP)
17071707 if ((oldFromState != curHP))
17081708 then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP)))
17091709 else if ((0 >= curHP))
17101710 then throw("You can't fly with zero health")
17111711 else if (!(canWearCurrentEquipment(duckAssetId)))
17121712 then throw("Equipment incompatible")
17131713 else {
17141714 let bonus = if ((size(flightLog) > flBonus))
17151715 then flightLog[flBonus]
17161716 else ""
17171717 let prodUsed = if ((size(flightLog) > flProdsUsed))
17181718 then flightLog[flProdsUsed]
17191719 else ""
17201720 let sentAmount = if (if ((newHP > 0))
17211721 then (bonus == "$")
17221722 else false)
17231723 then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil))
17241724 else 0
17251725 $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed)
17261726 }
17271727 }
17281728 }
17291729 }
17301730
17311731
17321732 func applyBonuses (landAssetId,pieces) = {
17331733 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
17341734 let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)
17351735 let add6 = (infraLevel / 6)
17361736 let add7 = (infraLevel / 7)
17371737 ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5)))
17381738 }
17391739
17401740
17411741 func checkClaimConditions (addr,claimMode,landAssetIdIn) = {
17421742 let $t03373834277 = if ((claimMode == claimModeWh))
17431743 then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), ""))
17441744 else {
17451745 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
17461746 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
17471747 let loc = split(value(curLocation), "_")
17481748 if ((loc[locIdxType] != "L"))
17491749 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
17501750 else $Tuple2(loc[locIdxId], duckAssetId)
17511751 }
17521752 let landAssetId = $t03373834277._1
17531753 let duckId = $t03373834277._2
17541754 let asset = value(assetInfo(fromBase58String(landAssetId)))
17551755 let timeKey = keyStakedTimeByAssetId(landAssetId)
17561756 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked"))
17571757 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
17581758 if ((owner != addr))
17591759 then throw((LANDPREFIX + " is not yours"))
17601760 else {
17611761 let d = split(asset.description, "_")
17621762 $Tuple4(duckId, landAssetId, d, savedTime)
17631763 }
17641764 }
17651765
17661766
17671767 func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount))
17681768 then throw("Negative amount")
17691769 else {
17701770 let c = checkClaimConditions(addr, claimMode, landAssetIdIn)
17711771 let landSize = c._3[recLandSize]
17721772 let terrainCounts = countTerrains(c._3[recTerrains])
17731773 let deltaTime = (lastBlock.timestamp - c._4)
17741774 if ((0 > deltaTime))
17751775 then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp)))
17761776 else {
17771777 let pieces = numPiecesBySize(landSize)
17781778 let dailyProductionByPiece = applyBonuses(c._2, pieces)
17791779 let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS)
17801780 if ((amount > availRes))
17811781 then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount)))
17821782 else {
17831783 let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces))
17841784 let newTimestamp = (lastBlock.timestamp - newDeltaTime)
17851785 let landIndex = (pieces / SSIZE)
17861786 let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece)
17871787 let whKey = keyWarehouseByLand(c._2)
17881788 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0)
17891789 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
17901790 let loft = split(currentWh[whIdxLOFT], "_")
17911791 let whSpaceLeft = parseIntValue(loft[volFree])
17921792 if (if ((claimMode == claimModeWh))
17931793 then (amount > whSpaceLeft)
17941794 else false)
17951795 then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse"))
17961796 else {
17971797 let bpKey = keyBackpackByDuck(c._1)
17981798 let currentPack = getBackpack(bpKey)
17991799 let currentPackRes = split(currentPack[bpIdxRes], "_")
18001800 let currentWhRes = split(currentWh[whIdxRes], "_")
18011801 let $t03665137522 = if ((claimMode == claimModeWh))
18021802 then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2))
18031803 else if ((claimMode == claimModeDuck))
18041804 then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree]))
18051805 else {
18061806 let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft)
18071807 let whAm = min([parseIntValue(loft[volFree]), resToClaim._2])
18081808 $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm))
18091809 }
18101810 let whRes = $t03665137522._1
18111811 let bpRes = $t03665137522._2
18121812 let loftO = $t03665137522._3
18131813 let loftF = $t03665137522._4
18141814 $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]], "_")])
18151815 }
18161816 }
18171817 }
18181818 }
18191819
18201820
18211821 func claimAll (addr,landAssetId,pieces,claimMode) = {
18221822 let timeKey = keyStakedTimeByAssetId(landAssetId)
18231823 let savedTime = value(getInteger(timeKey))
18241824 let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces)
18251825 claimResInternal(addr, availRes, claimMode, landAssetId)
18261826 }
18271827
18281828
18291829 func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = {
18301830 let addr = toString(caller)
18311831 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId)
18321832 let pieces = numPiecesBySize(c._3[recLandSize])
18331833 let infraKey = keyInfraLevelByAssetId(c._2)
18341834 let curLevel = valueOrElse(getInteger(infraKey), 0)
18351835 if (if (!(KS_ALLOW_BIG_INFRA_MERGE))
18361836 then (curLevel >= 3)
18371837 else false)
18381838 then throw("Currently max infrastructure level = 3")
18391839 else {
18401840 let maxInfra = ((sqrt(pieces, 0, 0, DOWN) / 5) + 2)
18411841 let newLevel = (curLevel + 1)
18421842 if (if (KS_ALLOW_BIG_INFRA_MERGE)
18431843 then (newLevel > maxInfra)
18441844 else false)
18451845 then throw(("Currently max infrastructure level = " + toString(maxInfra)))
18461846 else {
18471847 let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE)
18481848 if (if (!(shouldUseMat))
18491849 then (paymentAmount != cost)
18501850 else false)
18511851 then throw(("Payment attached should be " + toString(cost)))
18521852 else {
18531853 let bpKey = keyBackpackByDuck(c._1)
18541854 let currentPack = getBackpack(bpKey)
18551855 let mList = split(currentPack[bpIdxMat], "_")
18561856 let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE)
18571857 let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_")
18581858 let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck)
18591859 let whData = claimResult._5
18601860 let oldVol = getWarehouseTotalVolume(whData[whIdxLevels])
18611861 let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_")
18621862 let newVol = getWarehouseTotalVolume(newVolData)
18631863 let loft = split(whData[whIdxLOFT], "_")
18641864 let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_")
18651865 $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)
18661866 }
18671867 }
18681868 }
18691869 }
18701870
18711871
18721872 func updateDuckStatsInternal (duckAssetId,deltaXP) = {
18731873 let lvlKey = keyDuckLevel(duckAssetId)
18741874 let xpKey = keyDuckXP(duckAssetId)
18751875 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
18761876 let newXP = (xp + deltaXP)
18771877 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
18781878 let keyPoints = keyDuckFreePoints(duckAssetId)
18791879 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
18801880 }
18811881
18821882
18831883 func updateAccStatsInternal (addr,deltaXP) = {
18841884 let lvlKey = keyUserLevel(addr)
18851885 let xpKey = keyUserXP(addr)
18861886 let xp = valueOrElse(getInteger(stakingContract, xpKey), 0)
18871887 let newXP = (xp + deltaXP)
18881888 let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP)
18891889 let keyPoints = keyUserFreePoints(addr)
18901890 $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP)
18911891 }
18921892
18931893
18941894 func activateOnboardArt (addr) = {
18951895 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
18961896 let refByKey = keyAddressRefBy(addr)
18971897 let refBy = getString(refByKey)
18981898 if (!(isDefined(refBy)))
18991899 then throw("You are not eligible for ONBOARD artifact")
19001900 else {
19011901 let artKey = keyOnboardArtDuckActivatedBy(addr)
19021902 let artDuck = getString(artKey)
19031903 if (isDefined(artDuck))
19041904 then throw(("You already used your ONBOARD artifact on duck " + value(artDuck)))
19051905 else {
19061906 let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId)
19071907 let duckActivator = getString(duckActivatorKey)
19081908 if (isDefined(duckActivator))
19091909 then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator)))
19101910 else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1)
19111911 }
19121912 }
19131913 }
19141914
19151915
19161916 func activatePresaleArt (addr,landAssetIdIn) = {
19171917 let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn)
19181918 let landAssetId = c._2
19191919 let pieces = numPiecesBySize(c._3[recLandSize])
19201920 let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)
19211921 if ((valueOrElse(getInteger(activationKey), 0) > 0))
19221922 then throw("Presale artifact is already activated")
19231923 else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS))
19241924 then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact"))
19251925 else {
19261926 let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck)
19271927 (((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":")))
19281928 }
19291929 }
19301930
19311931
19321932 func checkTournament (duckAssetId) = {
19331933 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
19341934 let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
19351935 let now = lastBlock.timestamp
19361936 let tData = getTourData(tournamentContract, lastId)
19371937 let static = tData[idxStatic]
19381938 let dynamic = tData[idxDynamic]
19391939 if ((curLocation[locIdxType] != "T"))
19401940 then false
19411941 else if (if (if ((parseIntValue(curLocation[locIdxContinent]) == lastId))
19421942 then (dynamic[tDynamicStatus] == "INPROGRESS")
19431943 else false)
19441944 then (parseIntValue(static[tStaticEnd]) > now)
19451945 else false)
19461946 then throw("Your duck is taking part in the tournament")
19471947 else asBoolean(invoke(this, "exitTournamentInternal", [duckAssetId], nil))
19481948 }
19491949
19501950
19511951 func checkDelivery (duckAssetId) = {
19521952 let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
19531953 let now = lastBlock.timestamp
19541954 if ((curLocation[locIdxType] != "D"))
19551955 then false
19561956 else {
19571957 let startTime = parseIntValue(curLocation[locIdxContinent])
19581958 let distance = parseIntValue(curLocation[locIdxId])
19591959 if (if ((now > (startTime + TEN_MINUTES_MILLIS)))
19601960 then (3 > distance)
19611961 else false)
19621962 then throw("Your duck is on delivery mission")
19631963 else asBoolean(invoke(this, "exitDeliveryInternal", [duckAssetId], nil))
19641964 }
19651965 }
19661966
19671967
19681968 func exitDeliveryCommon (duckAssetId) = {
19691969 let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_")
19701970 let now = lastBlock.timestamp
19711971 let startTime = parseIntValue(curLocation[locIdxContinent])
19721972 let distance = parseIntValue(curLocation[locIdxId])
19731973 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(duckAssetId)), "NFT duck is orphaned")
19741974 let healthKey = keyDuckHealth(duckAssetId)
19751975 let curHealth = getIntegerValue(healthKey)
19761976 let outcomeActions = if ((distance >= 3))
19771977 then {
19781978 let reward = invoke(economyContract, "sendDeliveryReward", [owner], nil)
19791979 if ((reward == reward))
19801980 then nil
19811981 else throw("Strict value is not equal to itself.")
19821982 }
19831983 else if ((now > (startTime + TEN_MINUTES_MILLIS)))
19841984 then throw("Your duck is still on delivery mission")
19851985 else {
19861986 let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0)
19871987 let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil)
19881988 if ((unlock == unlock))
19891989 then if ((0 >= curHealth))
19901990 then nil
19911991 else [IntegerEntry(keyDeliveryDelayByDuck(duckAssetId), (startTime + DAYMILLIS))]
19921992 else throw("Strict value is not equal to itself.")
19931993 }
19941994 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
19951995 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
19961996 $Tuple4(outcomeActions, [IntegerEntry(healthKey, savedHealth), StringEntry(keyDuckLocation(duckAssetId), savedLocation)], savedLocation, savedHealth)
19971997 }
19981998
19991999
20002000 func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,needMat) = {
20012001 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
20022002 if (checkTournament(duckAssetId))
20032003 then throw("mergeInternal_checkTournament")
20042004 else if (checkDelivery(duckAssetId))
20052005 then throw("mergeInternal_checkDelivery")
20062006 else {
20072007 func checkMerge (acc,landAssetId) = {
20082008 let asset = value(assetInfo(fromBase58String(landAssetId)))
20092009 let timeKey = keyStakedTimeByAssetId(landAssetId)
20102010 let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked"))
20112011 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
20122012 if ((owner != addr))
20132013 then throw((LANDPREFIX + " is not yours"))
20142014 else {
20152015 let d = split(asset.description, "_")
20162016 let continent = d[recContinent]
20172017 if (if ((acc._3 != ""))
20182018 then (acc._3 != continent)
20192019 else false)
20202020 then throw("Lands should be on the same continent to merge")
20212021 else {
20222022 let landSize = d[recLandSize]
20232023 let sizesIn = acc._1
20242024 let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed")
20252025 let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1)))
20262026 let pieces = numPiecesBySize(landSize)
20272027 let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0))
20282028 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
20292029 let reqLevel = match landSize {
20302030 case _ =>
20312031 if (("S" == $match0))
20322032 then 3
20332033 else if (("M" == $match0))
20342034 then 4
20352035 else if (("L" == $match0))
20362036 then 5
20372037 else if (("XL" == $match0))
20382038 then 6
20392039 else throw("Only S, M, L, XL can merge")
20402040 }
20412041 if ((infraLevel != reqLevel))
20422042 then throw("All lands should be maxed to merge")
20432043 else {
20442044 let landNum = d[recLandNum]
20452045 let terrainCounts = countTerrains(d[recTerrains])
20462046 let deltaTime = (lastBlock.timestamp - savedTime)
20472047 if ((0 > deltaTime))
20482048 then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp)))
20492049 else {
20502050 let dailyProductionByPiece = applyBonuses(landAssetId, pieces)
20512051 let landIndex = (pieces / SSIZE)
20522052 let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece)
20532053 let props = updateProportionsInternal(acc._6, terrainCounts, landIndex, -1)
20542054 let cProps = updateProportionsInternal(acc._10, terrainCounts, landIndex, -1)
20552055 let sumTerrains = updateProportionsInternal(acc._9, terrainCounts, landIndex, 1)
20562056 let lands = acc._7
20572057 let idx = indexOf(lands, landAssetId)
20582058 if (!(isDefined(idx)))
20592059 then throw(("Your staked lands don't contain " + landAssetId))
20602060 else {
20612061 let customKey = keyLandAssetIdToCustomName(landAssetId)
20622062 let customName = valueOrElse(getString(customKey), "")
20632063 $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 != ""))
20642064 then [DeleteEntry(keyLandCustomNameToAssetId(customName))]
20652065 else nil)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces), sumTerrains, cProps)
20662066 }
20672067 }
20682068 }
20692069 }
20702070 }
20712071 }
20722072
20732073 let bpKey = keyBackpackByDuck(duckAssetId)
20742074 let currentPack = getBackpack(bpKey)
20752075 let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_")
20762076 let landsKey = keyStakedLandsByOwner(addr)
20772077 let landsStr = getString(landsKey)
20782078 let landsIn = if (isDefined(landsStr))
20792079 then split_51C(value(landsStr), "_")
20802080 else nil
20812081 let cont0 = split(value(assetInfo(fromBase58String(landAssetIds[0]))).description, "_")[recContinent]
20822082 let contProps = split(valueOrElse(getString(keyResTypesByContinent(cont0)), "0_0_0_0_0_0"), "_")
20832083 let r = {
20842084 let $l = landAssetIds
20852085 let $s = size($l)
20862086 let $acc0 = $Tuple10(formula, 0, "", currentPack[bpIdxRes], nil, propList, landsIn, 0, split("0_0_0_0_0_0", "_"), contProps)
20872087 func $f0_1 ($a,$i) = if (($i >= $s))
20882088 then $a
20892089 else checkMerge($a, $l[$i])
20902090
20912091 func $f0_2 ($a,$i) = if (($i >= $s))
20922092 then $a
20932093 else throw("List size exceeds 5")
20942094
20952095 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
20962096 }
20972097 let continent = r._3
20982098 let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent))
20992099 let terrains = genTerrainsForMerge(r._9, (numPiecesBySize(newLandSize) / SSIZE))
21002100 let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1))
21012101 let newLandNum = toString(freeNum)
21022102 let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false)
21032103 let assetId = calculateAssetId(issue)
21042104 let newLandAssetId = toBase58String(assetId)
21052105 let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_")
21062106 let piecesKey = keyStakedPiecesByOwner(addr)
21072107 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
21082108 $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0))
21092109 then StringEntry(landsKey, makeString_11C(r._7, "_"))
21102110 else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces))
21112111 then 0
21122112 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)
21132113 }
21142114 }
21152115
21162116
21172117 func s2m (addr,landAssetIds) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, 0)
21182118
21192119
21202120 func m2l (addr,landAssetIds) = mergeInternal("L", 4, "SMM", addr, landAssetIds, (InfraUpgradeCostS * 4))
21212121
21222122
21232123 func l2xl (addr,landAssetIds) = mergeInternal("XL", 5, "SSSML", addr, landAssetIds, (InfraUpgradeCostS * 47))
21242124
21252125
21262126 func xl2xxl (addr,landAssetIds) = mergeInternal("XXL", 6, "LXL", addr, landAssetIds, (InfraUpgradeCostS * 54))
21272127
21282128
21292129 func mergeCommon (addr,landAssetIds) = match size(landAssetIds) {
21302130 case _ =>
21312131 if ((4 == $match0))
21322132 then s2m(addr, landAssetIds)
21332133 else if ((3 == $match0))
21342134 then m2l(addr, landAssetIds)
21352135 else if ((5 == $match0))
21362136 then l2xl(addr, landAssetIds)
21372137 else if ((2 == $match0))
21382138 then xl2xxl(addr, landAssetIds)
21392139 else throw("Unknown merge")
21402140 }
21412141
21422142
21432143 func prolog (i) = if (if ((i.originCaller != restContract))
21442144 then valueOrElse(getBoolean(keyBlocked()), false)
21452145 else false)
21462146 then throw("Contracts are under maintenance")
2147- else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))
2147+ else {
2148+ let userAddr = toString(i.originCaller)
2149+ let duck = getString(keyStakedDuckByOwner(userAddr))
2150+ ((if (isDefined(duck))
2151+ then {
2152+ let duckAssetId = value(duck)
2153+ let locKey = keyDuckLocation(duckAssetId)
2154+ let loc = split(valueOrElse(getString(locKey), DEFAULTLOCATION), "_")
2155+ let startTime = parseIntValue(loc[locIdxContinent])
2156+ if (if ((loc[locIdxType] != "D"))
2157+ then true
2158+ else (lastBlock.timestamp > (startTime + TEN_MINUTES_MILLIS)))
2159+ then nil
2160+ else {
2161+ let healthKey = keyDuckHealth(duckAssetId)
2162+ if ((parseIntValue(loc[locIdxId]) >= 3))
2163+ then {
2164+ let reward = invoke(economyContract, "sendDeliveryReward", [userAddr], nil)
2165+ if ((reward == reward))
2166+ then nil
2167+ else throw("Strict value is not equal to itself.")
2168+ }
2169+ else (({
2170+ let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0)
2171+ let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil)
2172+ if ((unlock == unlock))
2173+ then if ((0 >= getIntegerValue(healthKey)))
2174+ then nil
2175+ else {
2176+ let punishment = invoke(this, "saveInteger", [keyDeliveryDelayByDuck(duckAssetId), (startTime + DAYMILLIS)], nil)
2177+ if ((punishment == punishment))
2178+ then nil
2179+ else throw("Strict value is not equal to itself.")
2180+ }
2181+ else throw("Strict value is not equal to itself.")
2182+ } :+ IntegerEntry(healthKey, getIntegerValue(keySavedHealth(duckAssetId)))) :+ StringEntry(locKey, getStringValue(keySavedLocation(duckAssetId))))
2183+ }
2184+ }
2185+ else nil) :+ StringEntry(keyLastTxIdByUser(userAddr), toBase58String(i.transactionId)))
2186+ }
2187+
2188+
2189+func prologFlight (i) = if (if ((i.originCaller != restContract))
2190+ then valueOrElse(getBoolean(keyBlocked()), false)
2191+ else false)
2192+ then throw("Contracts are under maintenance")
2193+ else [StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))]
21482194
21492195
21502196 @Callable(i)
21512197 func constructorV1 (restAddr) = if ((i.caller != this))
21522198 then throw("Permission denied")
21532199 else [StringEntry(keyRestAddress(), restAddr)]
21542200
21552201
21562202
21572203 @Callable(i)
2204+func saveInteger (key,amount) = if ((i.caller != this))
2205+ then throw("saveInteger is not public method")
2206+ else [IntegerEntry(key, amount)]
2207+
2208+
2209+
2210+@Callable(i)
21582211 func setBlocked (isBlocked) = if ((i.caller != this))
21592212 then throw("permission denied")
21602213 else [BooleanEntry(keyBlocked(), isBlocked)]
21612214
21622215
21632216
21642217 @Callable(i)
21652218 func stakeLand () = {
2166- let prologAction = prolog(i)
2219+ let prologActions = prolog(i)
21672220 if ((size(i.payments) != 1))
21682221 then throw("Exactly one payment required")
21692222 else {
21702223 let pmt = value(i.payments[0])
21712224 let assetId = value(pmt.assetId)
21722225 let address = toString(i.caller)
21732226 if ((pmt.amount != 1))
21742227 then throw((("NFT " + LANDPREFIX) + " token should be attached as payment"))
21752228 else {
21762229 let asset = value(assetInfo(assetId))
21772230 if ((asset.issuer != this))
21782231 then throw("Unknown issuer of token")
21792232 else if (!(contains(asset.name, LANDPREFIX)))
21802233 then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted"))
21812234 else {
21822235 let landNumSize = drop(asset.name, 4)
21832236 let landNum = if (contains(landNumSize, "XXL"))
21842237 then dropRight(landNumSize, 3)
21852238 else if (contains(landNumSize, "XL"))
21862239 then dropRight(landNumSize, 2)
21872240 else dropRight(landNumSize, 1)
21882241 if (!(isDefined(parseInt(landNum))))
21892242 then throw(("Cannot parse land number from " + asset.name))
21902243 else {
21912244 let landAssetId = toBase58String(assetId)
21922245 let timeKey = keyStakedTimeByAssetId(landAssetId)
21932246 if (isDefined(getInteger(timeKey)))
21942247 then throw((("NFT " + asset.name) + " is already staked"))
21952248 else {
21962249 let d = split(asset.description, "_")
21972250 let terrainCounts = countTerrains(d[recTerrains])
21982251 let pieces = numPiecesBySize(d[recLandSize])
21992252 let landIndex = (pieces / SSIZE)
22002253 let props = updateProportions(terrainCounts, landIndex, 1)
22012254 let resByContKey = keyResTypesByContinent(d[recContinent])
22022255 let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_")
22032256 let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_")
22042257 let landsKey = keyStakedLandsByOwner(address)
22052258 let landsStr = getString(landsKey)
22062259 let lands = if (isDefined(landsStr))
22072260 then split_51C(value(landsStr), "_")
22082261 else nil
22092262 if (containsElement(lands, landAssetId))
22102263 then throw(("Your staked lands already contain " + landAssetId))
22112264 else if ((size(lands) >= MAX_LANDS_STAKED_BY_USER))
22122265 then throw((("Your already staked max (" + toString(MAX_LANDS_STAKED_BY_USER)) + ") lands"))
22132266 else {
22142267 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
22152268 let piecesKey = keyStakedPiecesByOwner(address)
22162269 let oldPieces = valueOrElse(getInteger(piecesKey), 0)
22172270 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil)
2218- $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)
2271+ $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)] ++ prologActions), wlgResult)
22192272 }
22202273 }
22212274 }
22222275 }
22232276 }
22242277 }
22252278 }
22262279
22272280
22282281
22292282 @Callable(i)
22302283 func unstakeLand (landAssetIdIn) = {
2231- let prologAction = prolog(i)
2284+ let prologActions = prolog(i)
22322285 if ((size(i.payments) != 0))
22332286 then throw("No payments required")
22342287 else {
22352288 let addr = toString(i.caller)
22362289 let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn)
22372290 let landAssetId = c._2
22382291 let d = c._3
22392292 let landsKey = keyStakedLandsByOwner(addr)
22402293 let terrainCounts = countTerrains(d[recTerrains])
22412294 let pieces = numPiecesBySize(d[recLandSize])
22422295 let landIndex = (pieces / SSIZE)
22432296 let props = updateProportions(terrainCounts, landIndex, -1)
22442297 let resByContKey = keyResTypesByContinent(d[recContinent])
22452298 let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_")
22462299 let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, -1), "_")
22472300 let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck)
22482301 let lands = split_51C(valueOrElse(getString(landsKey), ""), "_")
22492302 let idx = indexOf(lands, landAssetId)
22502303 if (!(isDefined(idx)))
22512304 then throw(("Your staked lands don't contain " + landAssetId))
22522305 else {
22532306 let now = lastBlock.timestamp
22542307 let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0)
22552308 if ((govReleaseTime >= now))
22562309 then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime)))
22572310 else {
22582311 let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay)
22592312 if ((arbReleaseTime > now))
22602313 then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime)))
22612314 else {
22622315 let piecesKey = keyStakedPiecesByOwner(addr)
22632316 let stakedPieces = valueOrElse(getInteger(piecesKey), 0)
22642317 let newPieces = if ((pieces > stakedPieces))
22652318 then 0
22662319 else (stakedPieces - pieces)
22672320 let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [addr], nil)
2268- $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))
2321+ $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))
22692322 then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_"))
2270- else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult)
2323+ else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces)] ++ prologActions), wlgResult)
22712324 }
22722325 }
22732326 }
22742327 }
22752328 }
22762329
22772330
22782331
22792332 @Callable(i)
22802333 func stakeDuck () = {
2281- let prologAction = prolog(i)
2334+ let prologActions = prolog(i)
22822335 if ((size(i.payments) != 1))
22832336 then throw("Exactly one payment required")
22842337 else {
22852338 let pmt = value(i.payments[0])
22862339 let assetId = value(pmt.assetId)
22872340 let address = toString(i.caller)
22882341 if ((pmt.amount != 1))
22892342 then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment"))
22902343 else {
22912344 let asset = value(assetInfo(assetId))
22922345 if (if ((asset.issuer != incubatorAddr))
22932346 then (asset.issuer != breederAddr)
22942347 else false)
22952348 then throw((("Unknown issuer of " + DUCKPREFIX) + " token"))
22962349 else if (!(contains(asset.name, DUCKPREFIX)))
22972350 then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted"))
22982351 else {
22992352 let assetIdStr = toBase58String(assetId)
23002353 let timeKey = keyStakedTimeByAssetId(assetIdStr)
23012354 if (isDefined(getInteger(timeKey)))
23022355 then throw((("NFT " + asset.name) + " is already staked"))
23032356 else if (isDefined(getString(keyStakedDuckByOwner(address))))
23042357 then throw(("You already staked one duck: " + asset.name))
23052358 else {
23062359 let locKey = keyDuckLocation(assetIdStr)
23072360 let location = getString(locKey)
23082361 let bpKey = keyBackpackByDuck(assetIdStr)
23092362 let backpack = getString(bpKey)
23102363 let keyHealth = keyDuckHealth(assetIdStr)
23112364 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
23122365 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
23132366 ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location))
23142367 then nil
23152368 else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack))
23162369 then nil
2317- else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction)))))
2370+ else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) ++ prologActions)))))
23182371 }
23192372 }
23202373 }
23212374 }
23222375 }
23232376
23242377
23252378
23262379 @Callable(i)
23272380 func unstakeDuck (assetIdStr) = {
2328- let prologAction = prolog(i)
2381+ let prologActions = prolog(i)
23292382 if ((size(i.payments) != 0))
23302383 then throw("No payments required")
23312384 else {
23322385 let assetId = fromBase58String(assetIdStr)
23332386 let address = toString(i.caller)
23342387 let asset = value(assetInfo(assetId))
23352388 let timeKey = keyStakedTimeByAssetId(assetIdStr)
23362389 if (!(isDefined(getInteger(timeKey))))
23372390 then throw((("NFT " + asset.name) + " is not staked"))
23382391 else if (!(isDefined(getString(keyStakedDuckByOwner(address)))))
23392392 then throw((("The duck " + asset.name) + " is not staked"))
23402393 else {
23412394 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetIdStr)), (("NFT " + asset.name) + " is orphaned"))
23422395 if ((owner != address))
23432396 then throw("Staked NFT is not yours")
23442397 else if (checkTournament(assetIdStr))
23452398 then throw("unstakeDuck_checkTournament")
23462399 else if (checkDelivery(assetIdStr))
23472400 then throw("unstakeDuck_checkDelivery")
23482401 else {
23492402 let keyHealth = keyDuckHealth(assetIdStr)
23502403 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0))
23512404 let health = valueOrElse(getInteger(keyHealth), maxHP)
23522405 if ((maxHP > health))
23532406 then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking"))
2354- 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]
2407+ else ([ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address))] ++ prologActions)
23552408 }
23562409 }
23572410 }
23582411 }
23592412
23602413
23612414
23622415 @Callable(i)
23632416 func claimRes (amount,landAssetIdStr) = {
2364- let prologAction = prolog(i)
2417+ let prologActions = prolog(i)
23652418 if ((size(i.payments) != 0))
23662419 then throw("No payments required")
23672420 else {
23682421 let addr = toString(i.originCaller)
23692422 let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr)
23702423 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
2371- $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])
2424+ $Tuple2(((((result._1 ++ updateDuckStatsInternal(duckAssetId, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._3[bpIdxRes])
23722425 }
23732426 }
23742427
23752428
23762429
23772430 @Callable(i)
23782431 func claimResToWH (amount,landAssetIdStr) = {
2379- let prologAction = prolog(i)
2432+ let prologActions = prolog(i)
23802433 if ((size(i.payments) != 0))
23812434 then throw("No payments required")
23822435 else {
23832436 let addr = toString(i.originCaller)
23842437 let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr)
2385- $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])
2438+ $Tuple2(((((result._1 ++ updateAccStatsInternal(addr, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) ++ prologActions), result._5[whIdxRes])
23862439 }
23872440 }
23882441
23892442
23902443
23912444 @Callable(i)
23922445 func flight (message,sig) = {
2393- let prologAction = prolog(i)
2446+ let prologActions = prologFlight(i)
23942447 if ((size(i.payments) != 0))
23952448 then throw("No payments required")
23962449 else {
23972450 let userAddr = toString(i.caller)
23982451 let f = flightCommon(userAddr, message, sig)
23992452 let newHP = f._1
24002453 let duckAssetId = f._2
24012454 let locKey = keyDuckLocation(duckAssetId)
24022455 let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION)
24032456 let newLocation = f._4
24042457 if ((newLocation == curLocation))
24052458 then throw("You can't fly to the same location")
24062459 else {
24072460 let newLoc = split(newLocation, "_")
24082461 let isTour = (newLoc[locIdxType] == "T")
24092462 let isDeliv = (newLoc[locIdxType] == "D")
24102463 let eqKey = keyDuckEquipment(duckAssetId)
24112464 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2412- let $t06841968516 = subtractEquipment(currentEq, f._5)
2413- let newEq = $t06841968516._1
2414- let shouldZeroBuffs = $t06841968516._2
2415- let $t06851971547 = if (notOnMission(tournamentContract, curLocation))
2465+ let $t07014970246 = subtractEquipment(currentEq, f._5)
2466+ let newEq = $t07014970246._1
2467+ let shouldZeroBuffs = $t07014970246._2
2468+ let $t07024973288 = if (notOnMission(tournamentContract, curLocation))
24162469 then if (!(isUsualLocation(newLocation)))
24172470 then cheatAttempt(curLocation, newLocation)
24182471 else if ((newHP > 0))
24192472 then $Tuple2(newLocation, newHP)
24202473 else $Tuple2(curLocation, 0)
24212474 else if (isInTournament(tournamentContract, curLocation))
24222475 then if (!(isInTournament(tournamentContract, newLocation)))
24232476 then throw("Your duck is taking part in the tournament")
24242477 else {
24252478 let score = parseIntValue(newLoc[locIdxId])
24262479 let curLoc = split(curLocation, "_")
24272480 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
24282481 if ((score != (parseIntValue(curLoc[locIdxId]) + 1)))
24292482 then cheatAttempt(curLocation, newLocation)
24302483 else if ((newHP > 0))
24312484 then {
24322485 let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0)
24332486 let updLocal = if ((score > localBest))
24342487 then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil)
24352488 else unit
24362489 if ((updLocal == updLocal))
24372490 then $Tuple2(newLocation, newHP)
24382491 else throw("Strict value is not equal to itself.")
24392492 }
24402493 else $Tuple2(curLocation, 0)
24412494 }
24422495 else if (!(isInDelivery(curLocation)))
24432496 then {
24442497 let locHealth = asStringIntTuple(invoke(this, "autoExitDelivery", [duckAssetId], nil))
24452498 if ((locHealth == locHealth))
24462499 then if (isDeliv)
24472500 then locHealth
24482501 else if ((newHP > 0))
24492502 then $Tuple2(newLocation, newHP)
24502503 else $Tuple2(locHealth._1, 0)
24512504 else throw("Strict value is not equal to itself.")
24522505 }
24532506 else if (!(isDeliv))
24542507 then throw("Your duck is taking part in delivery")
24552508 else if (!(isInDelivery(newLocation)))
24562509 then cheatAttempt(curLocation, newLocation)
24572510 else {
24582511 let score = parseIntValue(newLoc[locIdxId])
24592512 let curLoc = split(curLocation, "_")
24602513 if ((score != (parseIntValue(curLoc[locIdxId]) + 1)))
24612514 then cheatAttempt(curLocation, newLocation)
2462- else if ((newHP > 0))
2515+ else if (if ((newHP > 0))
2516+ then (3 > score)
2517+ else false)
24632518 then $Tuple2(newLocation, newHP)
24642519 else {
24652520 let locHealth = asStringIntTuple(invoke(this, "autoExitDelivery", [duckAssetId], nil))
24662521 if ((locHealth == locHealth))
24672522 then locHealth
24682523 else throw("Strict value is not equal to itself.")
24692524 }
24702525 }
2471- let locToSave = $t06851971547._1
2472- let hpToSave = $t06851971547._2
2473- $Tuple2(([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP), prologAction] ++ (if (shouldZeroBuffs)
2526+ let locToSave = $t07024973288._1
2527+ let hpToSave = $t07024973288._2
2528+ $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), newHP)] ++ prologActions) ++ (if (shouldZeroBuffs)
24742529 then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
2475- else (nil ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2476- then xpSuccessFlight
2477- else xpFailFlight)._1))), f._3)
2530+ else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0))
2531+ then xpSuccessFlight
2532+ else xpFailFlight)._1), f._3)
24782533 }
24792534 }
24802535 }
24812536
24822537
24832538
24842539 @Callable(i)
24852540 func heal (quantityL1,quantityL2,quantityL3) = {
2486- let prologAction = prolog(i)
2541+ let prologActions = prolog(i)
24872542 if (if (if ((0 > quantityL1))
24882543 then true
24892544 else (0 > quantityL2))
24902545 then true
24912546 else (0 > quantityL3))
24922547 then throw("Quantity cannot be negative")
24932548 else {
24942549 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
24952550 if (checkTournament(duckAssetId))
24962551 then throw("heal_checkTournament")
24972552 else if (checkDelivery(duckAssetId))
24982553 then throw("heal_checkDelivery")
24992554 else {
25002555 let qts = [quantityL1, quantityL2, quantityL3]
25012556 let keyHealth = keyDuckHealth(duckAssetId)
25022557 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
25032558 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
25042559 if ((oldHealth >= maxHP))
25052560 then throw((("HP should be < " + toString(maxHP)) + " to heal"))
25062561 else {
25072562 let bpKey = keyBackpackByDuck(duckAssetId)
25082563 let currentPack = getBackpack(bpKey)
25092564 let prodList = if ((currentPack[bpIdxProd] == ""))
25102565 then nil
25112566 else split_4C(currentPack[bpIdxProd], "_")
25122567 func iterateProd (acc,recipe) = {
25132568 let n = acc._2
25142569 let x = if ((size(prodList) > n))
25152570 then parseIntValue(prodList[n])
25162571 else 0
25172572 if ((3 > n))
25182573 then {
25192574 let q = qts[n]
25202575 if ((q > x))
25212576 then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n]))
25222577 else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (parseIntValue(split(recipe, "_")[rIdxEffect]) * q)))
25232578 }
25242579 else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3)
25252580 }
25262581
25272582 let result = {
25282583 let $l = productionMatrix
25292584 let $s = size($l)
25302585 let $acc0 = $Tuple3(nil, 0, 0)
25312586 func $f0_1 ($a,$i) = if (($i >= $s))
25322587 then $a
25332588 else iterateProd($a, $l[$i])
25342589
25352590 func $f0_2 ($a,$i) = if (($i >= $s))
25362591 then $a
25372592 else throw("List size exceeds 50")
25382593
25392594 $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)
25402595 }
25412596 let newHealth = min([maxHP, (oldHealth + result._3)])
2542- $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)
2597+ $Tuple2((([IntegerEntry(keyHealth, newHealth), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(result._1, "_")], ":"))] ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, (xpHeal * ((quantityL1 + quantityL2) + quantityL3)))._1), newHealth)
25432598 }
25442599 }
25452600 }
25462601 }
25472602
25482603
25492604
25502605 @Callable(i)
25512606 func healES () = {
2552- let prologAction = prolog(i)
2607+ let prologActions = prolog(i)
25532608 if ((size(i.payments) != 1))
25542609 then throw("Exactly one payment required")
25552610 else {
25562611 let pmt = value(i.payments[0])
25572612 if ((pmt.assetId != usdtAssetId))
25582613 then throw("Allowed USDT payment only!")
25592614 else {
25602615 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
25612616 if (checkTournament(duckAssetId))
25622617 then throw("healES_checkTournament")
25632618 else if (checkDelivery(duckAssetId))
25642619 then throw("healES_checkDelivery")
25652620 else {
25662621 let keyHealth = keyDuckHealth(duckAssetId)
25672622 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
25682623 let oldHealth = valueOrElse(getInteger(keyHealth), maxHP)
25692624 if ((oldHealth > 0))
25702625 then throw("HP should be 0 to call Emergency Service")
25712626 else {
25722627 let bpKey = keyBackpackByDuck(duckAssetId)
25732628 let currentPack = getBackpack(bpKey)
25742629 let prodList = if ((currentPack[bpIdxProd] == ""))
25752630 then nil
25762631 else split_4C(currentPack[bpIdxProd], "_")
25772632 let medKitAmount1 = if ((size(prodList) > 0))
25782633 then parseIntValue(prodList[0])
25792634 else 0
25802635 let medKitAmount2 = if ((size(prodList) > 1))
25812636 then parseIntValue(prodList[1])
25822637 else 0
25832638 let medKitAmount3 = if ((size(prodList) > 2))
25842639 then parseIntValue(prodList[2])
25852640 else 0
25862641 if (if (if ((medKitAmount1 > 0))
25872642 then true
25882643 else (medKitAmount2 > 0))
25892644 then true
25902645 else (medKitAmount3 > 0))
25912646 then throw("You have to use own Medical Kit")
25922647 else {
25932648 let existStr = getString(economyContract, keyEsWarehouse())
25942649 let existAmounts = if (isDefined(existStr))
25952650 then split_4C(value(existStr), "_")
25962651 else nil
25972652 let existAmount = if ((size(existAmounts) > 0))
25982653 then parseIntValue(existAmounts[0])
25992654 else 0
26002655 if ((0 >= existAmount))
26012656 then throw("There are no Medical Kits L1 at Emergency Service storage")
26022657 else {
26032658 let newHealth = (oldHealth + parseIntValue(split(productionMatrix[0], "_")[rIdxEffect]))
26042659 let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_")
26052660 let recipe = split(productionMatrix[0], "_")
26062661 let totalMat = getRecipeMaterials(recipe)
26072662 let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE))
26082663 if ((pmt.amount != sellPrice))
26092664 then throw(("Payment attached should be " + toString(sellPrice)))
26102665 else {
26112666 let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)]))
2612- $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
2667+ $Tuple2(((prologActions :+ IntegerEntry(keyHealth, newHealth)) ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result)
26132668 }
26142669 }
26152670 }
26162671 }
26172672 }
26182673 }
26192674 }
26202675 }
26212676
26222677
26232678
26242679 @Callable(i)
26252680 func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract))
26262681 then throw("permission denied")
26272682 else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack)
26282683
26292684
26302685
26312686 @Callable(i)
26322687 func commitForRandom () = {
2633- let prologAction = prolog(i)
2688+ let prologActions = prolog(i)
26342689 let finishBlock = (height + randomDelay)
26352690 let addr = toString(i.caller)
2636- $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] :+ prologAction), finishBlock)
2637- }
2638-
2639-
2640-
2641-@Callable(i)
2642-func awardSLand (address) = if ((i.caller != tournamentContract))
2643- then throw("Access denied")
2644- else if ((size(i.payments) != 0))
2645- then throw("No payments required")
2646- else {
2647- let result = expeditionInternal(addressFromStringValue(address), i.transactionId)
2648- $Tuple2(result._1, result._2._1)
2649- }
2691+ $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] ++ prologActions), finishBlock)
2692+ }
26502693
26512694
26522695
26532696 @Callable(i)
26542697 func buySLand () = {
2655- let prologAction = prolog(i)
2698+ let prologActions = prolog(i)
26562699 if ((size(i.payments) != 1))
26572700 then throw("Exactly one payment required")
26582701 else {
26592702 let pmt = value(i.payments[0])
26602703 if ((pmt.assetId != usdtAssetId))
26612704 then throw("Allowed USDT payment only!")
26622705 else if ((pmt.amount != EXPUSDT))
26632706 then throw(("Payment attached should be " + toString(EXPUSDT)))
26642707 else {
26652708 let result = expeditionInternal(i.caller, i.transactionId)
26662709 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil))
2667- $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), $Tuple2(result._2._1, acresResult))
2710+ $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult))
26682711 }
26692712 }
26702713 }
26712714
26722715
26732716
26742717 @Callable(i)
26752718 func expedition (message,sig) = {
2676- let prologAction = prolog(i)
2719+ let prologActions = prolog(i)
26772720 if ((size(i.payments) != 0))
26782721 then throw("No payments required")
26792722 else {
26802723 let userAddr = toString(i.caller)
26812724 let f = flightCommon(userAddr, message, sig)
26822725 let duckAssetId = f._2
26832726 let keyHealth = keyDuckHealth(duckAssetId)
26842727 let bpKey = keyBackpackByDuck(duckAssetId)
26852728 let currentPack = getBackpack(bpKey)
26862729 let mList = split(currentPack[bpIdxMat], "_")
26872730 let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_")
26882731 let eqKey = keyDuckEquipment(duckAssetId)
26892732 let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,")
2690- let $t07895179048 = subtractEquipment(currentEq, f._5)
2691- let newEq = $t07895179048._1
2692- let shouldZeroBuffs = $t07895179048._2
2733+ let $t08072580822 = subtractEquipment(currentEq, f._5)
2734+ let newEq = $t08072580822._1
2735+ let shouldZeroBuffs = $t08072580822._2
26932736 let e = expeditionInternal(i.caller, i.transactionId)
26942737 let id = e._2._1
26952738 let result = if ((0 >= f._1))
26962739 then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0)
26972740 else $Tuple3((e._1 ++ (if (shouldZeroBuffs)
26982741 then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")]
26992742 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)
27002743 if (checkTournament(duckAssetId))
27012744 then throw("expedition_checkTournament")
27022745 else if (checkDelivery(duckAssetId))
27032746 then throw("expedition_checkDelivery")
27042747 else {
27052748 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil))
2706- $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple3(result._2, result._3, acresResult))
2749+ $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) ++ prologActions), $Tuple3(result._2, result._3, acresResult))
27072750 }
27082751 }
27092752 }
27102753
27112754
27122755
27132756 @Callable(i)
27142757 func buySLandForAcres () = {
2715- let prologAction = prolog(i)
2758+ let prologActions = prolog(i)
27162759 if ((size(i.payments) != 1))
27172760 then throw("exactly 1 payment must be attached")
27182761 else {
27192762 let pmt = i.payments[0]
27202763 let amt = pmt.amount
27212764 if (if (!(isDefined(pmt.assetId)))
27222765 then true
27232766 else (value(pmt.assetId) != acresAssetId))
27242767 then throw("ACRES payments only!")
27252768 else if ((amt != S_COST_ACRES))
27262769 then throw(("Payment attached should be " + toString(S_COST_ACRES)))
27272770 else {
27282771 let result = expeditionInternal(i.caller, i.transactionId)
27292772 let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], [AttachedPayment(acresAssetId, amt)]))
2730- $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), $Tuple2(result._2._1, acresResult))
2773+ $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult))
27312774 }
27322775 }
27332776 }
27342777
27352778
27362779
27372780 @Callable(i)
27382781 func upgradeInfra (landAssetId) = {
2739- let prologAction = prolog(i)
2782+ let prologActions = prolog(i)
27402783 if ((size(i.payments) != 0))
27412784 then throw("No payments required")
27422785 else {
27432786 let result = upInfraCommon(true, i.caller, 0, landAssetId)
27442787 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
2745- $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
2788+ $Tuple2(((result._1 ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2)
27462789 }
27472790 }
27482791
27492792
27502793
27512794 @Callable(i)
27522795 func activateArtifact (artName,landAssetIdOpt) = {
2753- let prologAction = prolog(i)
2796+ let prologActions = prolog(i)
27542797 if ((size(i.payments) != 0))
27552798 then throw("No payments required")
27562799 else {
27572800 let addr = toString(i.caller)
27582801 let result = match artName {
27592802 case _ =>
27602803 if (("PRESALE" == $match0))
27612804 then activatePresaleArt(addr, landAssetIdOpt)
27622805 else if (("ONBOARD" == $match0))
27632806 then activateOnboardArt(addr)
27642807 else throw("Unknown artifact")
27652808 }
2766- (result :+ prologAction)
2809+ (result ++ prologActions)
27672810 }
27682811 }
27692812
27702813
27712814
27722815 @Callable(i)
27732816 func mergeLands (landAssetIds) = {
2774- let prologAction = prolog(i)
2817+ let prologActions = prolog(i)
27752818 if ((size(i.payments) != 0))
27762819 then throw("No payments required")
27772820 else {
27782821 let result = mergeCommon(toString(i.caller), landAssetIds)
2779- $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
2822+ $Tuple2(((result._1 ++ prologActions) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2)
27802823 }
27812824 }
27822825
27832826
27842827
27852828 @Callable(i)
27862829 func cargoExchange (cargoListStr,landAssetId) = {
2787- let prologAction = prolog(i)
2830+ let prologActions = prolog(i)
27882831 if ((size(i.payments) != 0))
27892832 then throw("No payments required")
27902833 else {
27912834 let cargoParts = split_4C(cargoListStr, ":")
27922835 let addr = toString(i.originCaller)
27932836 let asset = value(assetInfo(fromBase58String(landAssetId)))
27942837 let timeKey = keyStakedTimeByAssetId(landAssetId)
27952838 if (!(isDefined(getInteger(timeKey))))
27962839 then throw((asset.name + " is not staked"))
27972840 else {
27982841 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned"))
27992842 if ((owner != addr))
28002843 then throw((LANDPREFIX + " is not yours"))
28012844 else {
28022845 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
28032846 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
28042847 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
28052848 let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION)
28062849 let loc = split(value(curLocation), "_")
28072850 if ((loc[locIdxType] != "L"))
28082851 then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L"))
28092852 else if ((loc[locIdxId] != landAssetId))
28102853 then throw(("Duck should be on the land " + landAssetId))
28112854 else {
28122855 let whKey = keyWarehouseByLand(landAssetId)
28132856 let currentWh = getWarehouse(whKey, landIndex, infraLevel)
28142857 let bpKey = keyBackpackByDuck(duckAssetId)
28152858 let currentPack = getBackpack(bpKey)
28162859 let result = moveStuff(cargoParts, currentWh, currentPack)
28172860 let loft = split(currentWh[whIdxLOFT], "_")
28182861 let loftO = (parseIntValue(loft[volOccupied]) + result._7)
28192862 let loftF = (parseIntValue(loft[volFree]) - result._7)
2820-[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]
2863+ ([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]], "_")], ":"))] ++ prologActions)
28212864 }
28222865 }
28232866 }
28242867 }
28252868 }
28262869
28272870
28282871
28292872 @Callable(i)
28302873 func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract))
28312874 then throw("Access denied")
28322875 else {
28332876 let whKey = keyWarehouseByLand(landAssetId)
28342877 let wh = split_4C(whStr, ":")
28352878 if ((size(wh) != 5))
28362879 then throw("warehouse string should contain 4 ':' separators")
28372880 else {
28382881 let loftL = split(wh[whIdxLOFT], "_")[volLocked]
28392882 let loftO = getWarehouseOccupiedVol(wh)
28402883 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
28412884 let loftF = ((loftT - parseIntValue(loftL)) - loftO)
28422885 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
28432886 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
28442887 }
28452888 }
28462889
28472890
28482891
28492892 @Callable(i)
28502893 func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract))
28512894 then throw("Access denied")
28522895 else {
28532896 let whKey = keyWarehouseByLand(landAssetId)
28542897 let asset = value(assetInfo(fromBase58String(landAssetId)))
28552898 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
28562899 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
28572900 let wh = getWarehouse(whKey, landIndex, infraLevel)
28582901 let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil))
28592902 let loftO = getWarehouseOccupiedVol(wh)
28602903 let loftT = getWarehouseTotalVolume(wh[whIdxLevels])
28612904 let loftF = ((loftT - loftL) - loftO)
28622905 let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":")
28632906 $Tuple2([StringEntry(whKey, newWhStr)], newWhStr)
28642907 }
28652908
28662909
28672910
28682911 @Callable(i)
28692912 func fixContinentProportions (landAssetIds) = if ((i.caller != restContract))
28702913 then throw("Access denied")
28712914 else {
28722915 func getProps (acc,cont) = (acc :+ valueOrElse(getString(keyResTypesByContinent(cont)), "0_0_0_0_0_0"))
28732916
28742917 let p = {
28752918 let $l = continents
28762919 let $s = size($l)
28772920 let $acc0 = nil
28782921 func $f0_1 ($a,$i) = if (($i >= $s))
28792922 then $a
28802923 else getProps($a, $l[$i])
28812924
28822925 func $f0_2 ($a,$i) = if (($i >= $s))
28832926 then $a
28842927 else throw("List size exceeds 5")
28852928
28862929 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
28872930 }
28882931 func processor (acc,landAssetId) = {
28892932 let asset = value(assetInfo(fromBase58String(landAssetId)))
28902933 let d = split(asset.description, "_")
28912934 let landIndex = (numPiecesBySize(d[recLandSize]) / SSIZE)
28922935 let cont = d[recContinent]
28932936 let terrainCounts = countTerrains(d[recTerrains])
28942937 let continentIdx = value(indexOf(continents, cont))
28952938 let contProps = split(acc[continentIdx], "_")
28962939 let updated = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_")
28972940 match cont {
28982941 case _ =>
28992942 if (("Americas" == $match0))
29002943 then [updated, acc[1], acc[2], acc[3], acc[4]]
29012944 else if (("Europe" == $match0))
29022945 then [acc[0], updated, acc[2], acc[3], acc[4]]
29032946 else if (("Asia" == $match0))
29042947 then [acc[0], acc[1], updated, acc[3], acc[4]]
29052948 else if (("Africa" == $match0))
29062949 then [acc[0], acc[1], acc[2], updated, acc[4]]
29072950 else if (("Oceania" == $match0))
29082951 then [acc[0], acc[1], acc[2], acc[3], updated]
29092952 else throw("wrong continent")
29102953 }
29112954 }
29122955
29132956 let r = {
29142957 let $l = landAssetIds
29152958 let $s = size($l)
29162959 let $acc0 = p
29172960 func $f1_1 ($a,$i) = if (($i >= $s))
29182961 then $a
29192962 else processor($a, $l[$i])
29202963
29212964 func $f1_2 ($a,$i) = if (($i >= $s))
29222965 then $a
29232966 else throw("List size exceeds 100")
29242967
29252968 $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)
29262969 }
29272970 $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)
29282971 }
29292972
29302973
29312974
29322975 @Callable(i)
29332976 func fixStakedPieces (address) = if ((i.caller != restContract))
29342977 then throw("Access denied")
29352978 else {
29362979 let stakedPieces = if ((address == ""))
29372980 then 0
29382981 else {
29392982 let landsStr = getString(stakingContract, keyStakedLandsByOwner(address))
29402983 let lands = if (isDefined(landsStr))
29412984 then split_51C(value(landsStr), "_")
29422985 else nil
29432986 func oneLand (acc,landAssetId) = {
29442987 let asset = value(assetInfo(fromBase58String(landAssetId)))
29452988 let landSize = split(asset.description, "_")[recLandSize]
29462989 (acc + numPiecesBySize(landSize))
29472990 }
29482991
29492992 let $l = lands
29502993 let $s = size($l)
29512994 let $acc0 = 0
29522995 func $f0_1 ($a,$i) = if (($i >= $s))
29532996 then $a
29542997 else oneLand($a, $l[$i])
29552998
29562999 func $f0_2 ($a,$i) = if (($i >= $s))
29573000 then $a
29583001 else throw("List size exceeds 100")
29593002
29603003 $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)
29613004 }
29623005 $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces)
29633006 }
29643007
29653008
29663009
29673010 @Callable(i)
29683011 func setCustomName (assetId,customName,type) = {
2969- let prologAction = prolog(i)
3012+ let prologActions = prolog(i)
29703013 if ((size(i.payments) != 1))
29713014 then throw("Exactly one payment required")
29723015 else {
29733016 let pmt = value(i.payments[0])
29743017 if ((pmt.assetId != usdtAssetId))
29753018 then throw("Allowed USDT payment only!")
29763019 else if ((pmt.amount != RENAMINGCOST))
29773020 then throw(("Payment should be " + toString(RENAMINGCOST)))
29783021 else if (contains(customName, "__"))
29793022 then throw(("Name should not contain '__': " + customName))
29803023 else if ((size(customName) > MAXNAMELEN))
29813024 then throw(("Name too long, maxLength=" + toString(MAXNAMELEN)))
29823025 else {
29833026 let addr = toString(i.originCaller)
29843027 let actions = match type {
29853028 case _ =>
29863029 if (("ACCOUNT" == $match0))
29873030 then {
29883031 let reverseKey = keyCustomNameToAddress(customName)
29893032 let nameOwner = getString(reverseKey)
29903033 if (isDefined(nameOwner))
29913034 then throw(("Name already registered: " + customName))
29923035 else {
29933036 let addrToNameKey = keyAddressToCustomName(addr)
29943037 let oldName = getString(addrToNameKey)
29953038 let freeOld = if (isDefined(oldName))
29963039 then [DeleteEntry(keyCustomNameToAddress(value(oldName)))]
29973040 else nil
29983041 (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
29993042 }
30003043 }
30013044 else if (("LAND" == $match0))
30023045 then {
30033046 let asset = value(assetInfo(fromBase58String(assetId)))
30043047 let timeKey = keyStakedTimeByAssetId(assetId)
30053048 if (!(isDefined(getInteger(timeKey))))
30063049 then throw((asset.name + " is not staked"))
30073050 else {
30083051 let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
30093052 if ((owner != addr))
30103053 then throw((LANDPREFIX + " is not yours"))
30113054 else {
30123055 let reverseKey = keyLandCustomNameToAssetId(customName)
30133056 let nameOwner = getString(reverseKey)
30143057 if (isDefined(nameOwner))
30153058 then throw(("Name already registered: " + customName))
30163059 else {
30173060 let assetToNameKey = keyLandAssetIdToCustomName(assetId)
30183061 let oldName = getString(assetToNameKey)
30193062 let freeOld = if (isDefined(oldName))
30203063 then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))]
30213064 else nil
30223065 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1)
30233066 }
30243067 }
30253068 }
30263069 }
30273070 else if (("DUCK" == $match0))
30283071 then {
30293072 let asset = value(assetInfo(fromBase58String(assetId)))
30303073 let timeKey = keyStakedTimeByAssetId(assetId)
30313074 if (if (!(isDefined(getInteger(timeKey))))
30323075 then true
30333076 else !(isDefined(getString(keyStakedDuckByOwner(addr)))))
30343077 then throw((asset.name + " is not staked"))
30353078 else {
30363079 let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned"))
30373080 if ((owner != addr))
30383081 then throw((DUCKPREFIX + " is not yours"))
30393082 else {
30403083 let reverseKey = keyDuckCustomNameToAssetId(customName)
30413084 let nameOwner = getString(reverseKey)
30423085 if (isDefined(nameOwner))
30433086 then throw(("Name already registered: " + customName))
30443087 else {
30453088 let assetToNameKey = keyDuckAssetIdToCustomName(assetId)
30463089 let oldName = getString(assetToNameKey)
30473090 let freeOld = if (isDefined(oldName))
30483091 then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))]
30493092 else nil
30503093 (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1)
30513094 }
30523095 }
30533096 }
30543097 }
30553098 else throw("Unknown entity type")
30563099 }
3057- $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0)
3100+ $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ prologActions), 0)
30583101 }
30593102 }
30603103 }
30613104
30623105
30633106
30643107 @Callable(i)
30653108 func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub))
30663109 then throw("Permission denied")
30673110 else {
3068- let prologAction = prolog(i)
3111+ let prologActions = prolog(i)
30693112 if ((size(i.payments) != 0))
30703113 then throw("No payments required")
30713114 else if (!(isDefined(addressFromString(oldPlayer))))
30723115 then throw(("Invalid address: " + oldPlayer))
30733116 else if (!(isDefined(addressFromString(newPlayer))))
30743117 then throw(("Invalid address: " + newPlayer))
30753118 else {
30763119 let oldsKey = keyOldies()
30773120 let olds = getString(oldsKey)
30783121 let oldies = if (isDefined(olds))
30793122 then split_4C(value(olds), "_")
30803123 else nil
30813124 if (containsElement(oldies, newPlayer))
30823125 then throw((newPlayer + " is not newbie (already has referrals)"))
30833126 else {
30843127 let refByKey = keyAddressRefBy(newPlayer)
30853128 let refBy = getString(refByKey)
30863129 if (if (isDefined(refBy))
30873130 then isDefined(addressFromString(value(refBy)))
30883131 else false)
30893132 then throw(((newPlayer + " already has refBy: ") + value(refBy)))
30903133 else {
30913134 let refsKey = keyAddressReferrals(oldPlayer)
30923135 let refs = getString(refsKey)
30933136 let refsArray = if (isDefined(refs))
30943137 then split_4C(value(refs), "_")
30953138 else nil
30963139 if (containsElement(refsArray, newPlayer))
30973140 then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals"))
30983141 else {
30993142 let newRefs = makeString_2C((refsArray :+ newPlayer), "_")
31003143 let newOlds = if (containsElement(oldies, oldPlayer))
31013144 then value(olds)
31023145 else makeString_2C((oldies :+ oldPlayer), "_")
3103- $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0)
3146+ $Tuple2(([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds)] ++ prologActions), 0)
31043147 }
31053148 }
31063149 }
31073150 }
31083151 }
31093152
31103153
31113154
31123155 @Callable(i)
31133156 func distributePoints (strength,accuracy,intellect,endurance,dexterity) = {
3114- let prologAction = prolog(i)
3157+ let prologActions = prolog(i)
31153158 if ((size(i.payments) != 0))
31163159 then throw("No payments required")
31173160 else {
31183161 let addr = toString(i.originCaller)
31193162 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
31203163 let freeKeyAcc = keyUserFreePoints(addr)
31213164 let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0)
31223165 let freeKeyDuck = keyDuckFreePoints(duckAssetId)
31233166 let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0)
31243167 let sumFree = (freePointsAcc + freePointsDuck)
31253168 let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity)
31263169 if ((sumToDistribute > sumFree))
31273170 then throw((("There are only " + toString(sumFree)) + " free points to distribute"))
31283171 else {
31293172 let charsKey = keyDuckChars(duckAssetId)
31303173 let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_")
31313174 let newAcc = (freePointsAcc - sumToDistribute)
3132- $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
3175+ $Tuple2(([IntegerEntry(freeKeyAcc, if ((0 > newAcc))
31333176 then 0
31343177 else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc))
31353178 then (freePointsDuck + newAcc)
3136- 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)
3179+ 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))], "_"))] ++ prologActions), 0)
31373180 }
31383181 }
31393182 }
31403183
31413184
31423185
31433186 @Callable(i)
31443187 func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount))
31453188
31463189
31473190
31483191 @Callable(i)
31493192 func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = {
31503193 let terrainCounts = countTerrains(terrains)
31513194 $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts)))
31523195 }
31533196
31543197
31553198
31563199 @Callable(i)
31573200 func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":"))
31583201
31593202
31603203
31613204 @Callable(i)
31623205 func getWarehouseREADONLY (landAssetId) = {
31633206 let asset = value(assetInfo(fromBase58String(landAssetId)))
31643207 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
31653208 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
31663209 $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":"))
31673210 }
31683211
31693212
31703213
31713214 @Callable(i)
31723215 func saveLastTx () = {
31733216 let caller = i.caller
31743217 if (!(containsElement([wlgContract, economyContract, tournamentContract, acresContract], caller)))
31753218 then throw("Access denied")
3176- else $Tuple2([prolog(i)], 42)
3219+ else $Tuple2(prolog(i), 42)
31773220 }
31783221
31793222
31803223
31813224 @Callable(i)
31823225 func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract))
31833226 then throw("Access denied")
31843227 else updateDuckStatsInternal(duckAssetId, deltaXP)
31853228
31863229
31873230
31883231 @Callable(i)
31893232 func updateAccStats (addr,deltaXP) = if (if ((i.caller != economyContract))
31903233 then (i.caller != acresContract)
31913234 else false)
31923235 then throw("Access denied")
31933236 else updateAccStatsInternal(addr, deltaXP)
31943237
31953238
31963239
31973240 @Callable(i)
31983241 func equipDuck (equipment) = {
3199- let prologAction = prolog(i)
3242+ let prologActions = prolog(i)
32003243 if ((size(i.payments) != 0))
32013244 then throw("No payments required")
32023245 else {
32033246 let addr = toString(i.originCaller)
32043247 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked")
32053248 if (checkTournament(duckAssetId))
32063249 then throw("equipDuck_checkTournament")
32073250 else if (checkDelivery(duckAssetId))
32083251 then throw("equipDuck_checkDelivery")
32093252 else {
32103253 let eqKey = keyDuckEquipment(duckAssetId)
32113254 let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_")
32123255 let bpKey = keyBackpackByDuck(duckAssetId)
32133256 let currentPack = getBackpack(bpKey)
32143257 let newEq = split(equipment, "_")
32153258 if ((size(newEq) != NUMSEGMENTS))
32163259 then throw("Wrong equipment string")
32173260 else {
32183261 let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, nil)
32193262 let segBpAux = split(newEq[segBackpack], ";")[1]
32203263 let buffEffect = if ((segBpAux == ""))
32213264 then 0
32223265 else {
32233266 let aux0 = split(segBpAux, ",")[0]
32243267 if ((aux0 == ""))
32253268 then 0
32263269 else {
32273270 let idxCnt = split(aux0, ":")
32283271 let idx = idxCnt[0]
32293272 let cnt = idxCnt[1]
32303273 if (if (if (if (if ((idx == "06"))
32313274 then true
32323275 else (idx == "07"))
32333276 then true
32343277 else (idx == "08"))
32353278 then (cnt != "")
32363279 else false)
32373280 then (parseIntValue(cnt) > 0)
32383281 else false)
32393282 then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect])
32403283 else 0
32413284 }
32423285 }
32433286 let stats = getDuckStats(this, duckAssetId, buffEffect, true)
32443287 let newProdB = dressB(newEq, tempProdB, false, stats)
32453288 let newProdStr = bytesToProdStr(newProdB)
3246- $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)
3289+ $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])], "_"))] ++ prologActions), 0)
32473290 }
32483291 }
32493292 }
32503293 }
32513294
32523295
32533296
32543297 @Callable(i)
32553298 func fortificateLand (landAssetId,plan) = {
3256- let prologAction = prolog(i)
3299+ let prologActions = prolog(i)
32573300 if ((size(i.payments) != 0))
32583301 then throw("No payments required")
32593302 else {
32603303 let addr = toString(i.originCaller)
32613304 let duckAssetId = valueOrElse(getString(keyStakedDuckByOwner(addr)), "")
32623305 let duckStats = getDuckStats(this, duckAssetId, 0, false)
32633306 let fortKey = keyFortificationsByLand(landAssetId)
32643307 let currentForts = split(valueOrElse(getString(fortKey), ":0_15:0_18:0"), "_")
32653308 let asset = value(assetInfo(fromBase58String(landAssetId)))
32663309 let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE)
32673310 let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0)
32683311 let whKey = keyWarehouseByLand(landAssetId)
32693312 let wh = getWarehouse(whKey, landIndex, infraLevel)
32703313 let curLoft = split(wh[whIdxLOFT], "_")
32713314 let curO = parseIntValue(curLoft[volOccupied])
32723315 let curF = parseIntValue(curLoft[volFree])
32733316 let newForts = split(plan, "_")
3274- let $t0101152101267 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3275- let tempProdB = $t0101152101267._1
3276- let tempO = $t0101152101267._2
3277- let tempF = $t0101152101267._3
3278- let $t0101270101366 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3279- let newProdB = $t0101270101366._1
3280- let newO = $t0101270101366._2
3281- let newF = $t0101270101366._3
3317+ let $t0102931103046 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil)
3318+ let tempProdB = $t0102931103046._1
3319+ let tempO = $t0102931103046._2
3320+ let tempF = $t0102931103046._3
3321+ let $t0103049103145 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats)
3322+ let newProdB = $t0103049103145._1
3323+ let newO = $t0103049103145._2
3324+ let newF = $t0103049103145._3
32823325 let newProdStr = bytesToProdStr(newProdB)
32833326 let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_")
3284- $Tuple2([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":")), prologAction], 0)
3327+ $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0)
32853328 }
32863329 }
32873330
32883331
32893332
32903333 @Callable(i)
32913334 func initDuckTourAttempt (duckAssetId) = if ((i.caller != tournamentContract))
32923335 then throw("Access denied")
32933336 else {
3294- let prologAction = prolog(i)
32953337 let keyHealth = keyDuckHealth(duckAssetId)
32963338 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
32973339 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
32983340 let curLocKey = keyDuckLocation(duckAssetId)
32993341 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
33003342 let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0)
33013343 let tourLocation = (toString(lastId) + "_T_0")
3302- $Tuple2([prologAction, IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation)
3344+ $Tuple2([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation)
33033345 }
33043346
33053347
33063348
33073349 @Callable(i)
33083350 func breakAttempt () = {
3309- let prologAction = prolog(i)
3351+ let prologActions = prolog(i)
33103352 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked")
33113353 let curLocKey = keyDuckLocation(duckAssetId)
33123354 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
33133355 if ((split(curLocation, "_")[locIdxType] != "T"))
33143356 then throw("Your duck is not in the tournament")
33153357 else {
33163358 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
33173359 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
3318- $Tuple2([prologAction, IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(curLocKey, savedLocation)], curLocation)
3360+ $Tuple2(((prologActions :+ IntegerEntry(keyDuckHealth(duckAssetId), savedHealth)) :+ StringEntry(curLocKey, savedLocation)), curLocation)
33193361 }
33203362 }
33213363
33223364
33233365
33243366 @Callable(i)
33253367 func exitTournamentInternal (duckAssetId) = if ((i.caller != this))
33263368 then throw("Access denied")
33273369 else {
33283370 let savedHealth = getIntegerValue(keySavedHealth(duckAssetId))
33293371 let savedLocation = getStringValue(keySavedLocation(duckAssetId))
33303372 $Tuple2([IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(keyDuckLocation(duckAssetId), savedLocation)], false)
33313373 }
33323374
33333375
33343376
33353377 @Callable(i)
33363378 func exitDeliveryInternal (duckAssetId) = if ((i.caller != this))
33373379 then throw("Access denied")
33383380 else {
33393381 let e = exitDeliveryCommon(duckAssetId)
33403382 $Tuple2((e._1 ++ e._2), false)
33413383 }
33423384
33433385
33443386
33453387 @Callable(i)
33463388 func autoExitDelivery (duckAssetId) = if ((i.caller != this))
33473389 then throw("Access denied")
33483390 else {
33493391 let e = exitDeliveryCommon(duckAssetId)
33503392 $Tuple2(e._1, $Tuple2(e._3, e._4))
33513393 }
33523394
33533395
33543396
33553397 @Callable(i)
33563398 func prepareRobbery (message,sig) = {
3357- let prologAction = prolog(i)
3399+ let prologActions = prolog(i)
33583400 if (!(sigVerify_8Kb(message, sig, pub)))
33593401 then throw("signature does not match")
33603402 else if ((size(i.payments) != 1))
33613403 then throw("exactly 1 payment must be attached")
33623404 else {
33633405 let pmt = i.payments[0]
33643406 let wlgAmt = pmt.amount
33653407 if (if (!(isDefined(pmt.assetId)))
33663408 then true
33673409 else (value(pmt.assetId) != wlgAssetId))
33683410 then throw("WLGOLD payments only!")
33693411 else {
33703412 let parts = split(toUtf8String(message), "|")
33713413 if ((size(parts) != 2))
33723414 then throw("Wrong message format")
33733415 else {
33743416 let duckAssetId = parts[0]
3375- let robCost = getRobberyData(this, duckAssetId)._1
3376- if ((robCost > wlgAmt))
3377- then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost)))
3378- else {
3379- let candidates = split(parts[1], "_")
3380- let now = lastBlock.timestamp
3381- let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0)
3382- let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "")
3383- let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0)
3384- if (if ((duckState != duckIdxFree))
3385- then (landETA > now)
3386- else false)
3387- then throw(("You already started robbing, wait till " + toString(landETA)))
3388- else {
3389- func checker (acc,landAssetId) = {
3390- let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0)
3391- let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0)
3392- if ((state > size(landRobCooldowns)))
3393- then throw("Invalid state")
3394- else if ((now > cooldownETA))
3395- then {
3396- let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0)
3397- if ((0 >= stakedTime))
3398- then acc
3399- else {
3400- let a = value(assetInfo(fromBase58String(landAssetId)))
3401- let d = split(a.description, "_")
3402- let pieces = numPiecesBySize(d[recLandSize])
3403- let productivity = applyBonuses(landAssetId, pieces)
3404- let deltaTime = (now - stakedTime)
3405- let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS)
3406- if ((MIN_RES_TO_ROB > availRes))
3407- then acc
3408- else (acc :+ landAssetId)
3409- }
3417+ if (checkTournament(duckAssetId))
3418+ then throw("prepareRobbery_checkTournament")
3419+ else if (checkDelivery(duckAssetId))
3420+ then throw("prepareRobbery_checkDelivery")
3421+ else {
3422+ let robCost = getRobberyData(this, duckAssetId)._1
3423+ if ((robCost > wlgAmt))
3424+ then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost)))
3425+ else {
3426+ let candidates = split(parts[1], "_")
3427+ let now = lastBlock.timestamp
3428+ let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0)
3429+ let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "")
3430+ let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0)
3431+ if (if ((duckState != duckIdxFree))
3432+ then (landETA > now)
3433+ else false)
3434+ then throw(("You already started robbing, wait till " + toString(landETA)))
3435+ else {
3436+ func checker (acc,landAssetId) = {
3437+ let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0)
3438+ let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0)
3439+ if ((state > size(landRobCooldowns)))
3440+ then throw("Invalid state")
3441+ else if ((now > cooldownETA))
3442+ then {
3443+ let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0)
3444+ if ((0 >= stakedTime))
3445+ then acc
3446+ else {
3447+ let a = value(assetInfo(fromBase58String(landAssetId)))
3448+ let d = split(a.description, "_")
3449+ let pieces = numPiecesBySize(d[recLandSize])
3450+ let productivity = applyBonuses(landAssetId, pieces)
3451+ let deltaTime = (now - stakedTime)
3452+ let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS)
3453+ if ((MIN_RES_TO_ROB > availRes))
3454+ then acc
3455+ else (acc :+ landAssetId)
3456+ }
3457+ }
3458+ else acc
34103459 }
3411- else acc
3460+
3461+ let filtered = {
3462+ let $l = candidates
3463+ let $s = size($l)
3464+ let $acc0 = nil
3465+ func $f0_1 ($a,$i) = if (($i >= $s))
3466+ then $a
3467+ else checker($a, $l[$i])
3468+
3469+ func $f0_2 ($a,$i) = if (($i >= $s))
3470+ then $a
3471+ else throw("List size exceeds 10")
3472+
3473+ $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)
3474+ }
3475+ if ((size(filtered) == 0))
3476+ then throw("No candidates for robbery")
3477+ else {
3478+ let rndIdx = getRandomNumber(size(filtered), height, (sig + i.transactionId))
3479+ let landAssetId = filtered[rndIdx]
3480+ $Tuple2(([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId)] ++ prologActions), landAssetId)
3481+ }
3482+ }
34123483 }
3413-
3414- let filtered = {
3415- let $l = candidates
3416- let $s = size($l)
3417- let $acc0 = nil
3418- func $f0_1 ($a,$i) = if (($i >= $s))
3419- then $a
3420- else checker($a, $l[$i])
3421-
3422- func $f0_2 ($a,$i) = if (($i >= $s))
3423- then $a
3424- else throw("List size exceeds 10")
3425-
3426- $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)
3427- }
3428- if ((size(filtered) == 0))
3429- then throw("No candidates for robbery")
3430- else {
3431- let rndIdx = getRandomNumber(size(filtered), height, (sig + i.transactionId))
3432- let landAssetId = filtered[rndIdx]
3433- $Tuple2([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId), prologAction], landAssetId)
3434- }
3435- }
3436- }
3484+ }
34373485 }
34383486 }
34393487 }
34403488 }
34413489
34423490
34433491
34443492 @Callable(i)
34453493 func robLand (message,sig) = {
3446- let prologAction = prolog(i)
3494+ let prologActions = prolog(i)
34473495 if (!(sigVerify_8Kb(message, sig, pub)))
34483496 then throw("signature does not match")
34493497 else {
34503498 let userAddr = toString(i.caller)
34513499 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
34523500 let now = lastBlock.timestamp
3453- $Tuple2([prologAction, IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)], 0)
3501+ $Tuple2((prologActions :+ IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)), 0)
34543502 }
34553503 }
34563504
34573505
34583506
34593507 @Callable(i)
34603508 func acceptDelivery () = if (!(KS_ALLOW_DELIVERY))
34613509 then throw("Delivery feature is turned off!")
34623510 else {
3463- let prologAction = prolog(i)
3511+ let prologActions = prolog(i)
34643512 let userAddr = toString(i.caller)
34653513 let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked")
34663514 let fundTotal = valueOrElse(getInteger(economyContract, deliveryFundKey), 0)
34673515 let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0)
34683516 if ((MIN_USDT_FEE_DELIVERY > (fundTotal - lockedTotal)))
34693517 then throw(((("Delivery is not available, fund=" + fixedPoint(fundTotal, 6)) + ", locked=") + fixedPoint(lockedTotal, 6)))
34703518 else {
34713519 let now = lastBlock.timestamp
34723520 let delayETA = valueOrElse(getInteger(keyDeliveryDelayByDuck(duckAssetId)), 0)
34733521 if ((delayETA > now))
34743522 then throw(("Delivery is forbidden for your duck until " + toString(delayETA)))
34753523 else if (checkTournament(duckAssetId))
34763524 then throw("acceptDelivery_checkTournament")
34773525 else if (checkDelivery(duckAssetId))
34783526 then throw("acceptDelivery_checkDelivery")
34793527 else {
34803528 let newLockedTotal = asInt(invoke(economyContract, "updateDeliveryLocked", [(lockedTotal + MIN_USDT_FEE_DELIVERY)], nil))
34813529 let keyHealth = keyDuckHealth(duckAssetId)
34823530 let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0))
34833531 let curHealth = valueOrElse(getInteger(keyHealth), maxHP)
34843532 let curLocKey = keyDuckLocation(duckAssetId)
34853533 let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION)
34863534 let deliveryLocation = (toString(now) + "_D_0")
3487- $Tuple2([prologAction, IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation)], $Tuple2(deliveryLocation, newLockedTotal))
3535+ $Tuple2(([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation)] ++ prologActions), $Tuple2(deliveryLocation, newLockedTotal))
34883536 }
34893537 }
34903538 }
34913539
34923540

github/deemru/w8io/169f3d6 
316.47 ms