tx · BohPRMGBuTGSqzCqDj6UiF84FXk4jdEoYApe7tp26RBv 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.10700000 Waves 2023.11.03 13:04 [2827006] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "BohPRMGBuTGSqzCqDj6UiF84FXk4jdEoYApe7tp26RBv", "fee": 10700000, "feeAssetId": null, "timestamp": 1699005863730, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "34dtEmvgiPacmwogHhXUBoFGqfvm6rEjHYeCr7gvSKzT97uidcrmc8TBA5SxGkcmrynCmpw9eLuqui9ZJewGdCeC" ], "script": "base64:BgLiAQgCEgMKAQgSBAoCCAESAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASABIECgICAhIAEgMKAQgSBAoCCAgSAwoBGBIECgIICBIECgIICBIFCgMICAgSBAoCCAgSBwoFAQEBAQESAwoBARIFCgMBAQgSAwoBCBIDCgEIEgASBAoCCAESBAoCCAESAwoBCBIECgIICBIDCgEIEgASAwoBCBIDCgEIEgYKBAgBCAESABIECgICAhIECgICAhIAEgMKAQgSBAoCAQGnAgAJREFZTUlMTElTAIC4mSkBFGtleUxhc3RBcmJUaW1lQnlVc2VyAQRhZGRyCQCsAgICEGxhc3RBcmJUaW1lVXNlcl8FBGFkZHIBGmtleUFjcmVzU3Rha2VkQW1vdW50QnlVc2VyAQRhZGRyCQCsAgICGGFjcmVzU3Rha2VkQW1vdW50QnlVc2VyXwUEYWRkcgAGU0NBTEU4AIDC1y8ADHhwTGV2ZWxTY2FsZQCAGQAPeHBMZXZlbFJlY2lwUG93AKAfABJudW1Qb2ludHNPbkxldmVsVXAAAwAOcm9iYmVyeUNvc3RNaW4AgMLXLwAU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luZGV4BAZiaWdOdW0JAQNhYnMBCQCeAwEJAPcDAQkAmgMBBQRzZWVkCQCUCgIFA25pbAkBBGdlbjECBQZiaWdOdW0FDWxhbmRTaXplSW5kZXgAc2E9yQ==", "height": 2827006, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3tBkjKvBCFUDkTbyS8VRff78kYmyrznaVZ39xRtMsKDH Next: DYWprMNgwRcxyBQsbywLHWYo17cbCotJBzWj3wpP2zmM Diff:
Old | New | Differences | |
---|---|---|---|
1329 | 1329 | } | |
1330 | 1330 | ||
1331 | 1331 | ||
1332 | - | func complement (arr,val) = { | |
1333 | - | func subr (acc,el) = (acc :+ (val - el)) | |
1334 | - | ||
1335 | - | let $l = arr | |
1336 | - | let $s = size($l) | |
1337 | - | let $acc0 = nil | |
1338 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1339 | - | then $a | |
1340 | - | else subr($a, $l[$i]) | |
1341 | - | ||
1342 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1343 | - | then $a | |
1344 | - | else throw("List size exceeds 6") | |
1345 | - | ||
1346 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1347 | - | } | |
1348 | - | ||
1349 | - | ||
1350 | - | func findSlot (arr,rnd) = { | |
1332 | + | func findSlot (arr,rnd,delta) = { | |
1351 | 1333 | func find (acc,el) = if (acc._1) | |
1352 | 1334 | then acc | |
1353 | - | else if ((el > acc._3)) | |
1354 | - | then $Tuple3(true, acc._2, 0) | |
1355 | - | else $Tuple3(false, (acc._2 + 1), (acc._3 - el)) | |
1335 | + | else { | |
1336 | + | let rem = ((acc._3 - el) - delta) | |
1337 | + | if ((0 > rem)) | |
1338 | + | then $Tuple3(true, acc._2, 0) | |
1339 | + | else $Tuple3(false, (acc._2 + 1), rem) | |
1340 | + | } | |
1356 | 1341 | ||
1357 | 1342 | let r = { | |
1358 | 1343 | let $l = arr | |
1392 | 1377 | $Tuple2((ac._1 :+ contSum), (ac._2 + contSum)) | |
1393 | 1378 | } | |
1394 | 1379 | ||
1395 | - | let $ | |
1380 | + | let $t01982820212 = { | |
1396 | 1381 | let $l = continents | |
1397 | 1382 | let $s = size($l) | |
1398 | 1383 | let $acc0 = $Tuple2(nil, 0) | |
1406 | 1391 | ||
1407 | 1392 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
1408 | 1393 | } | |
1409 | - | let contSums = $ | |
1410 | - | let total = $ | |
1394 | + | let contSums = $t01982820212._1 | |
1395 | + | let total = $t01982820212._2 | |
1411 | 1396 | let maxSum = max(contSums) | |
1412 | 1397 | let rTotal = ((maxSum * 5) - total) | |
1413 | - | let $t02078220960 = if ((rTotal == 0)) | |
1398 | + | let deltaCont = (rTotal / 50) | |
1399 | + | let $t02037820666 = if ((rTotal == 0)) | |
1414 | 1400 | then genRand(5, seed0) | |
1415 | 1401 | else { | |
1416 | - | let $t02086620903 = genRand(rTotal, seed0) | |
1417 | - | let r = $t02086620903._1 | |
1418 | - | let out = $t02086620903._2 | |
1419 | - | $Tuple2(findSlot(complement(contSums, maxSum), r), out) | |
1420 | - | } | |
1421 | - | let contIdx = $t02078220960._1 | |
1422 | - | let seed1 = $t02078220960._2 | |
1402 | + | let $t02046220515 = genRand((rTotal + (deltaCont * 5)), seed0) | |
1403 | + | let r = $t02046220515._1 | |
1404 | + | let out = $t02046220515._2 | |
1405 | + | func subr (acc,el) = (acc :+ (maxSum - el)) | |
1406 | + | ||
1407 | + | let compl = { | |
1408 | + | let $l = contSums | |
1409 | + | let $s = size($l) | |
1410 | + | let $acc0 = nil | |
1411 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1412 | + | then $a | |
1413 | + | else subr($a, $l[$i]) | |
1414 | + | ||
1415 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1416 | + | then $a | |
1417 | + | else throw("List size exceeds 6") | |
1418 | + | ||
1419 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1420 | + | } | |
1421 | + | $Tuple2(findSlot(compl, r, deltaCont), out) | |
1422 | + | } | |
1423 | + | let contIdx = $t02037820666._1 | |
1424 | + | let seed1 = $t02037820666._2 | |
1423 | 1425 | let target = targetFreqByContinent[contIdx] | |
1424 | 1426 | let actual = split(valueOrElse(getString(keyResTypesByContinent(continents[contIdx])), "0_0_0_0_0_0"), "_") | |
1425 | 1427 | func toInts (acc,el) = (acc :+ parseIntValue(el)) | |
1462 | 1464 | $Tuple2((acc._1 :+ s), (acc._2 + s)) | |
1463 | 1465 | } | |
1464 | 1466 | ||
1465 | - | let $ | |
1467 | + | let $t02145121528 = { | |
1466 | 1468 | let $l = intDelta | |
1467 | 1469 | let $s = size($l) | |
1468 | 1470 | let $acc0 = $Tuple2(nil, 0) | |
1476 | 1478 | ||
1477 | 1479 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1478 | 1480 | } | |
1479 | - | let shiftedIntDelta = $t02174521822._1 | |
1480 | - | let sumShiftedIntDelta = $t02174521822._2 | |
1481 | - | let $t02182722022 = if ((sumShiftedIntDelta == 0)) | |
1481 | + | let shiftedIntDelta = $t02145121528._1 | |
1482 | + | let sumShiftedIntDelta = $t02145121528._2 | |
1483 | + | let deltaRes = (sumShiftedIntDelta / 60) | |
1484 | + | let $t02157621796 = if ((sumShiftedIntDelta == 0)) | |
1482 | 1485 | then genRand(6, ac._4) | |
1483 | 1486 | else { | |
1484 | - | let $ | |
1485 | - | let r = $ | |
1486 | - | let out = $ | |
1487 | - | $Tuple2(findSlot(shiftedIntDelta, r), out) | |
1487 | + | let $t02167421738 = genRand((sumShiftedIntDelta + (deltaRes * 6)), ac._4) | |
1488 | + | let r = $t02167421738._1 | |
1489 | + | let out = $t02167421738._2 | |
1490 | + | $Tuple2(findSlot(shiftedIntDelta, r, deltaRes), out) | |
1488 | 1491 | } | |
1489 | - | let idx = $ | |
1490 | - | let seed2 = $ | |
1492 | + | let idx = $t02157621796._1 | |
1493 | + | let seed2 = $t02157621796._2 | |
1491 | 1494 | func addByIndex (acc,j) = (acc :+ (ac._2[j] + (if ((j == idx)) | |
1492 | 1495 | then landSizeIndex | |
1493 | 1496 | else 0))) | |
1984 | 1987 | ||
1985 | 1988 | ||
1986 | 1989 | func checkClaimConditions (addr,claimMode,landAssetIdIn) = { | |
1987 | - | let $ | |
1990 | + | let $t03670137240 = if ((claimMode == claimModeWh)) | |
1988 | 1991 | then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), "")) | |
1989 | 1992 | else { | |
1990 | 1993 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1994 | 1997 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1995 | 1998 | else $Tuple2(loc[locIdxId], duckAssetId) | |
1996 | 1999 | } | |
1997 | - | let landAssetId = $ | |
1998 | - | let duckId = $ | |
2000 | + | let landAssetId = $t03670137240._1 | |
2001 | + | let duckId = $t03670137240._2 | |
1999 | 2002 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2000 | 2003 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2001 | 2004 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked")) | |
2043 | 2046 | let currentPack = getBackpack(bpKey) | |
2044 | 2047 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
2045 | 2048 | let currentWhRes = split(currentWh[whIdxRes], "_") | |
2046 | - | let $ | |
2049 | + | let $t03961440485 = if ((claimMode == claimModeWh)) | |
2047 | 2050 | then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2)) | |
2048 | 2051 | else if ((claimMode == claimModeDuck)) | |
2049 | 2052 | then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree])) | |
2052 | 2055 | let whAm = min([parseIntValue(loft[volFree]), resToClaim._2]) | |
2053 | 2056 | $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm)) | |
2054 | 2057 | } | |
2055 | - | let whRes = $ | |
2056 | - | let bpRes = $ | |
2057 | - | let loftO = $ | |
2058 | - | let loftF = $ | |
2058 | + | let whRes = $t03961440485._1 | |
2059 | + | let bpRes = $t03961440485._2 | |
2060 | + | let loftO = $t03961440485._3 | |
2061 | + | let loftF = $t03961440485._4 | |
2059 | 2062 | $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]], "_")]) | |
2060 | 2063 | } | |
2061 | 2064 | } | |
2720 | 2723 | let isDeliv = (newLoc[locIdxType] == "D") | |
2721 | 2724 | let eqKey = keyDuckEquipment(duckAssetId) | |
2722 | 2725 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2723 | - | let $ | |
2724 | - | let newEq = $ | |
2725 | - | let shouldZeroBuffs = $ | |
2726 | - | let $ | |
2726 | + | let $t07312773224 = subtractEquipment(currentEq, f._5) | |
2727 | + | let newEq = $t07312773224._1 | |
2728 | + | let shouldZeroBuffs = $t07312773224._2 | |
2729 | + | let $t07322776339 = if (!(onMission(tournamentContract, curLocation))) | |
2727 | 2730 | then if (!(isUsualLocation(newLocation))) | |
2728 | 2731 | then cheatAttempt(curLocation, newLocation, 5) | |
2729 | 2732 | else if ((newHP > 0)) | |
2783 | 2786 | else throw("Strict value is not equal to itself.") | |
2784 | 2787 | } | |
2785 | 2788 | } | |
2786 | - | let locToSave = $ | |
2787 | - | let hpToSave = $ | |
2789 | + | let locToSave = $t07322776339._1 | |
2790 | + | let hpToSave = $t07322776339._2 | |
2788 | 2791 | $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), hpToSave)] ++ prologActions) ++ (if (shouldZeroBuffs) | |
2789 | 2792 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
2790 | 2793 | else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0)) | |
2990 | 2993 | let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_") | |
2991 | 2994 | let eqKey = keyDuckEquipment(duckAssetId) | |
2992 | 2995 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2993 | - | let $ | |
2994 | - | let newEq = $ | |
2995 | - | let shouldZeroBuffs = $ | |
2996 | + | let $t08377983876 = subtractEquipment(currentEq, f._5) | |
2997 | + | let newEq = $t08377983876._1 | |
2998 | + | let shouldZeroBuffs = $t08377983876._2 | |
2996 | 2999 | let e = expeditionInternal(i.caller, i.transactionId) | |
2997 | 3000 | let id = e._2._1 | |
2998 | 3001 | let result = if ((0 >= f._1)) | |
3307 | 3310 | let addr = toString(i.originCaller) | |
3308 | 3311 | let virtWlgData = asAnyList(invoke(wlgContract, "checkWlgXpREADONLY", [addr], nil)) | |
3309 | 3312 | let virtWlgPoints = asInt(virtWlgData[1]) | |
3310 | - | let $ | |
3313 | + | let $t09949699886 = if ((0 >= virtWlgPoints)) | |
3311 | 3314 | then $Tuple2(0, nil) | |
3312 | 3315 | else { | |
3313 | 3316 | let deltaXP = asInt(invoke(wlgContract, "takeWlgXp", [addr], nil)) | |
3315 | 3318 | then $Tuple2(virtWlgPoints, [IntegerEntry(keyUserLevel(addr), asInt(virtWlgData[0])), IntegerEntry(keyUserXP(addr), asInt(virtWlgData[2]))]) | |
3316 | 3319 | else throw("Strict value is not equal to itself.") | |
3317 | 3320 | } | |
3318 | - | let wlgPoints = $ | |
3319 | - | let wlgActions = $ | |
3321 | + | let wlgPoints = $t09949699886._1 | |
3322 | + | let wlgActions = $t09949699886._2 | |
3320 | 3323 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3321 | 3324 | let freeKeyAcc = keyUserFreePoints(addr) | |
3322 | 3325 | let freePointsAcc = (valueOrElse(getInteger(freeKeyAcc), 0) + wlgPoints) | |
3467 | 3470 | let curO = parseIntValue(curLoft[volOccupied]) | |
3468 | 3471 | let curF = parseIntValue(curLoft[volFree]) | |
3469 | 3472 | let newForts = split(plan, "_") | |
3470 | - | let $ | |
3471 | - | let tempProdB = $ | |
3472 | - | let tempO = $ | |
3473 | - | let tempF = $ | |
3474 | - | let $ | |
3475 | - | let newProdB = $ | |
3476 | - | let newO = $ | |
3477 | - | let newF = $ | |
3473 | + | let $t0106724106839 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil) | |
3474 | + | let tempProdB = $t0106724106839._1 | |
3475 | + | let tempO = $t0106724106839._2 | |
3476 | + | let tempF = $t0106724106839._3 | |
3477 | + | let $t0106842106938 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats) | |
3478 | + | let newProdB = $t0106842106938._1 | |
3479 | + | let newO = $t0106842106938._2 | |
3480 | + | let newF = $t0106842106938._3 | |
3478 | 3481 | let newProdStr = bytesToProdStr(newProdB) | |
3479 | 3482 | let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_") | |
3480 | 3483 | $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let DAYMILLIS = 86400000 | |
5 | 5 | ||
6 | 6 | func keyLastArbTimeByUser (addr) = ("lastArbTimeUser_" + addr) | |
7 | 7 | ||
8 | 8 | ||
9 | 9 | func keyAcresStakedAmountByUser (addr) = ("acresStakedAmountByUser_" + addr) | |
10 | 10 | ||
11 | 11 | ||
12 | 12 | let SCALE8 = 100000000 | |
13 | 13 | ||
14 | 14 | let xpLevelScale = 3200 | |
15 | 15 | ||
16 | 16 | let xpLevelRecipPow = 4000 | |
17 | 17 | ||
18 | 18 | let numPointsOnLevelUp = 3 | |
19 | 19 | ||
20 | 20 | let robberyCostMin = 100000000 | |
21 | 21 | ||
22 | 22 | let robberyCooldownCoeff = 400 | |
23 | 23 | ||
24 | 24 | let requirements = ["Strength", "Accuracy", "Intellect", "Endurance", "Dexterity", "Level", "Health"] | |
25 | 25 | ||
26 | 26 | let charStrength = 0 | |
27 | 27 | ||
28 | 28 | let charAccuracy = 1 | |
29 | 29 | ||
30 | 30 | let charIntellect = 2 | |
31 | 31 | ||
32 | 32 | let charEndurance = 3 | |
33 | 33 | ||
34 | 34 | let charDexterity = 4 | |
35 | 35 | ||
36 | 36 | let segBackpack = 0 | |
37 | 37 | ||
38 | 38 | let NUMSEGMENTS = 6 | |
39 | 39 | ||
40 | 40 | let NUMMAINAUX = 2 | |
41 | 41 | ||
42 | 42 | let MAXSLOTS = 2 | |
43 | 43 | ||
44 | 44 | let MAXPRODINSLOT = 30 | |
45 | 45 | ||
46 | 46 | let landRobCooldowns = [0, 600000, 900000, 43200000, 21600000] | |
47 | 47 | ||
48 | 48 | let MIN_RES_TO_ROB = 20000000 | |
49 | 49 | ||
50 | 50 | let robIdxLocked = 1 | |
51 | 51 | ||
52 | 52 | let duckIdxFree = 0 | |
53 | 53 | ||
54 | 54 | let duckIdxPreparing = 1 | |
55 | 55 | ||
56 | 56 | func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId) | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId) | |
60 | 60 | ||
61 | 61 | ||
62 | 62 | func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId) | |
63 | 63 | ||
64 | 64 | ||
65 | 65 | func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId) | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId) | |
69 | 69 | ||
70 | 70 | ||
71 | 71 | func keyDuckEquipment (duckAssetId) = ("duckEquipment_" + duckAssetId) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | func keyUserXP (addr) = ("userXP_" + addr) | |
75 | 75 | ||
76 | 76 | ||
77 | 77 | func keyUserLevel (addr) = ("userLevel_" + addr) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func keyUserFreePoints (addr) = ("userFreePoints_" + addr) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func keySavedHealth (duckAssetId) = ("savedHealth_" + duckAssetId) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func keySavedLocation (duckAssetId) = ("savedLocation_" + duckAssetId) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func keyDuckBuffs (duckAssetId) = ("duckBuffs_" + duckAssetId) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func keyLastRobberyTimeByDuck (duckAssetId) = ("lastRobberyTime_" + duckAssetId) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func keyLastRobberyCostByDuck (duckAssetId) = ("lastRobberyCost_" + duckAssetId) | |
96 | 96 | ||
97 | 97 | ||
98 | 98 | func keyLandRobberyState (landAssetId) = ("landRobberyState_" + landAssetId) | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func keyLandCooldownETA (landAssetId) = ("landCooldownETA_" + landAssetId) | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func keyDuckRobberyState (duckAssetId) = ("duckRobberyState_" + duckAssetId) | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func keyLockedLandByDuck (duckAssetId) = ("lockedLandByDuck_" + duckAssetId) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func keyDeliveryDelayByDuck (duckAssetId) = ("deliveryDelayByDuck_" + duckAssetId) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func keyUserDeliveryCount (addr) = ("userDeliveryCount_" + addr) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func keyUserLastDeliveryDay (addr) = ("userLastDeliveryDay_" + addr) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | let xpClaim = 10000 | |
120 | 120 | ||
121 | 121 | let xpSuccessFlight = 10000 | |
122 | 122 | ||
123 | 123 | let xpFailFlight = 2000 | |
124 | 124 | ||
125 | 125 | let xpCallES = 100000 | |
126 | 126 | ||
127 | 127 | let xpCustomName = 1000000 | |
128 | 128 | ||
129 | 129 | let xpNewSLand = 5000000 | |
130 | 130 | ||
131 | 131 | let xpUpgradeInfra = 10000 | |
132 | 132 | ||
133 | 133 | let xpMerge = 1000000 | |
134 | 134 | ||
135 | 135 | let xpOnboard = 1000000 | |
136 | 136 | ||
137 | 137 | let xpHeal = 10000 | |
138 | 138 | ||
139 | 139 | func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8) | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func maxHealth (level) = (100 + level) | |
143 | 143 | ||
144 | 144 | ||
145 | 145 | func levelUp (currLevel,newXP) = { | |
146 | 146 | let newLevel = levelByXP(newXP) | |
147 | 147 | [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))] | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func getDuckStats (stakingContract,duckAssetId,buffEffect,forceBuffs) = { | |
152 | 152 | let chars = split(valueOrElse(getString(stakingContract, keyDuckChars(duckAssetId)), "0_0_0_0_0"), "_") | |
153 | 153 | let lvl = valueOrElse(getInteger(stakingContract, keyDuckLevel(duckAssetId)), 0) | |
154 | 154 | let health = valueOrElse(getInteger(stakingContract, keyDuckHealth(duckAssetId)), maxHealth(lvl)) | |
155 | 155 | let stateBuffs = split(valueOrElse(getString(stakingContract, keyDuckBuffs(duckAssetId)), "0_0_0_0_0"), "_") | |
156 | 156 | ([parseIntValue(chars[charStrength]), parseIntValue(chars[charAccuracy]), parseIntValue(chars[charIntellect]), parseIntValue(chars[charEndurance]), parseIntValue(chars[charDexterity]), lvl, health] ++ (if (forceBuffs) | |
157 | 157 | then [buffEffect, buffEffect, buffEffect, buffEffect, buffEffect] | |
158 | 158 | else [parseIntValue(stateBuffs[charStrength]), parseIntValue(stateBuffs[charAccuracy]), parseIntValue(stateBuffs[charIntellect]), parseIntValue(stateBuffs[charEndurance]), parseIntValue(stateBuffs[charDexterity])])) | |
159 | 159 | } | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func getRobberyData (stakingContract,duckAssetId) = { | |
163 | 163 | let lastRobCost = valueOrElse(getInteger(stakingContract, keyLastRobberyCostByDuck(duckAssetId)), 0) | |
164 | 164 | let lastRobTime = valueOrElse(getInteger(stakingContract, keyLastRobberyTimeByDuck(duckAssetId)), 0) | |
165 | 165 | let now = lastBlock.timestamp | |
166 | 166 | let robCost = max([robberyCostMin, (lastRobCost - (robberyCooldownCoeff * (now - lastRobTime)))]) | |
167 | 167 | let duckState = valueOrElse(getInteger(stakingContract, keyDuckRobberyState(duckAssetId)), 0) | |
168 | 168 | let lockedLand = valueOrElse(getString(stakingContract, keyLockedLandByDuck(duckAssetId)), "") | |
169 | 169 | let landETA = valueOrElse(getInteger(stakingContract, keyLandCooldownETA(lockedLand)), 0) | |
170 | 170 | $Tuple5(robCost, lastRobTime, duckState, lockedLand, landETA) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | let LANDPREFIX = "LAND" | |
175 | 175 | ||
176 | 176 | let DUCKPREFIX = "DUCK" | |
177 | 177 | ||
178 | 178 | let ARTPRESALE = "PRESALE" | |
179 | 179 | ||
180 | 180 | let NUMRES = 6 | |
181 | 181 | ||
182 | 182 | let MAX_LANDS_STAKED_BY_USER = 25 | |
183 | 183 | ||
184 | 184 | let DAILYRESBYPIECE = 3456000 | |
185 | 185 | ||
186 | 186 | let WHMULTIPLIER = 10000000000 | |
187 | 187 | ||
188 | 188 | let DEFAULTLOCATION = "Africa_F_Africa" | |
189 | 189 | ||
190 | 190 | let RESOURCEPRICEMIN = 39637 | |
191 | 191 | ||
192 | 192 | let ESSELLCOEF = 10 | |
193 | 193 | ||
194 | 194 | let MIN_USDT_FEE_DELIVERY = 50000 | |
195 | 195 | ||
196 | 196 | let TEN_MINUTES_MILLIS = 600000 | |
197 | 197 | ||
198 | 198 | let ALLOWED_FREE_DELIVERIES = 1 | |
199 | 199 | ||
200 | 200 | let ACRES_FOR_DELIVERY_ATTEMPT = 50000000 | |
201 | 201 | ||
202 | 202 | 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"] | |
203 | 203 | ||
204 | 204 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
205 | 205 | ||
206 | 206 | let COEFF2MAT = 10000000 | |
207 | 207 | ||
208 | 208 | let fortAllowedProds = [15, 16, 17, 18, 19, 20] | |
209 | 209 | ||
210 | 210 | 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_"] | |
211 | 211 | ||
212 | 212 | let rIdxCoeff = 6 | |
213 | 213 | ||
214 | 214 | let rIdxEffect = 8 | |
215 | 215 | ||
216 | 216 | let rIdxRequirements = 9 | |
217 | 217 | ||
218 | 218 | let rIdxSlots = 10 | |
219 | 219 | ||
220 | 220 | let PRODUCTPKGSIZE = 10 | |
221 | 221 | ||
222 | 222 | let whIdxLevels = 0 | |
223 | 223 | ||
224 | 224 | let whIdxRes = 1 | |
225 | 225 | ||
226 | 226 | let whIdxMat = 2 | |
227 | 227 | ||
228 | 228 | let whIdxProd = 3 | |
229 | 229 | ||
230 | 230 | let whIdxLOFT = 4 | |
231 | 231 | ||
232 | 232 | let volLocked = 0 | |
233 | 233 | ||
234 | 234 | let volOccupied = 1 | |
235 | 235 | ||
236 | 236 | let volFree = 2 | |
237 | 237 | ||
238 | 238 | let volTotal = 3 | |
239 | 239 | ||
240 | 240 | let bpIdxLevel = 0 | |
241 | 241 | ||
242 | 242 | let bpIdxRes = 1 | |
243 | 243 | ||
244 | 244 | let bpIdxMat = 2 | |
245 | 245 | ||
246 | 246 | let bpIdxProd = 3 | |
247 | 247 | ||
248 | 248 | let locIdxContinent = 0 | |
249 | 249 | ||
250 | 250 | let locIdxType = 1 | |
251 | 251 | ||
252 | 252 | let locIdxId = 2 | |
253 | 253 | ||
254 | 254 | func keyLandAssetIdToOwner (assetId) = ("no_" + assetId) | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func keyLandAssetIdToCustomName (assetId) = ("lcna_" + assetId) | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func keyStakedTimeByAssetId (assetId) = ("st_" + assetId) | |
261 | 261 | ||
262 | 262 | ||
263 | 263 | func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["las", type, assetId], "_") | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("sttao_" + nftType) + "_") + assetId) + "_") + ownerAddr) | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func keyWarehouseByLand (landAssetId) = ("wh_" + landAssetId) | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId) | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func keyFortificationsByLand (landAssetId) = ("fortifications_" + landAssetId) | |
276 | 276 | ||
277 | 277 | ||
278 | 278 | func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId) | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func keyAddressReferrals (addr) = ("accReferrals_" + addr) | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId) | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr) | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | let deliveryFundKey = "deliveryFund" | |
315 | 315 | ||
316 | 316 | let deliveryLockedKey = "deliveryLocked" | |
317 | 317 | ||
318 | 318 | let lastTourIdKey = "%s__lastTourId" | |
319 | 319 | ||
320 | 320 | func keyTourStaticDataById (tId) = ("%s%d__tourStaticData__" + toString(tId)) | |
321 | 321 | ||
322 | 322 | ||
323 | 323 | func keyTourDynamicDataById (tId) = ("%s%d__tourDynamicData__" + toString(tId)) | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func keyBestResultByTourAndDuck (tId,duckAssetId) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(tId), duckAssetId], "__") | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | let idxStatic = 0 | |
330 | 330 | ||
331 | 331 | let idxDynamic = 1 | |
332 | 332 | ||
333 | 333 | let tStaticEnd = 6 | |
334 | 334 | ||
335 | 335 | let tDynamicStatus = 1 | |
336 | 336 | ||
337 | 337 | func getTourData (tourContract,tId) = { | |
338 | 338 | let static = split(valueOrErrorMessage(getString(tourContract, keyTourStaticDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
339 | 339 | let dynamic = split_4C(valueOrErrorMessage(getString(tourContract, keyTourDynamicDataById(tId)), (("Error reading tournament " + toString(tId)) + " data")), "__") | |
340 | 340 | [static, dynamic] | |
341 | 341 | } | |
342 | 342 | ||
343 | 343 | ||
344 | 344 | func isInTournament (tourContract,location) = { | |
345 | 345 | let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0) | |
346 | 346 | let loc = split(location, "_") | |
347 | 347 | let now = lastBlock.timestamp | |
348 | 348 | let tData = getTourData(tourContract, lastId) | |
349 | 349 | let static = tData[idxStatic] | |
350 | 350 | let dynamic = tData[idxDynamic] | |
351 | 351 | if (if (if ((loc[locIdxType] == "T")) | |
352 | 352 | then (parseIntValue(loc[locIdxContinent]) == lastId) | |
353 | 353 | else false) | |
354 | 354 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
355 | 355 | else false) | |
356 | 356 | then (parseIntValue(static[tStaticEnd]) > now) | |
357 | 357 | else false | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func isInDelivery (location) = { | |
362 | 362 | let loc = split(location, "_") | |
363 | 363 | let now = lastBlock.timestamp | |
364 | 364 | let startTime = parseIntValue(loc[locIdxContinent]) | |
365 | 365 | let distance = parseIntValue(loc[locIdxId]) | |
366 | 366 | if (if ((loc[locIdxType] == "D")) | |
367 | 367 | then ((startTime + TEN_MINUTES_MILLIS) > now) | |
368 | 368 | else false) | |
369 | 369 | then (3 >= distance) | |
370 | 370 | else false | |
371 | 371 | } | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | func isUsualLocation (location) = { | |
375 | 375 | let locType = split(location, "_")[locIdxType] | |
376 | 376 | if ((locType != "T")) | |
377 | 377 | then (locType != "D") | |
378 | 378 | else false | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | ||
382 | 382 | func onMission (tourContract,location) = { | |
383 | 383 | let lastId = valueOrElse(getInteger(tourContract, lastTourIdKey), 0) | |
384 | 384 | let loc = split(location, "_") | |
385 | 385 | let now = lastBlock.timestamp | |
386 | 386 | let tData = getTourData(tourContract, lastId) | |
387 | 387 | let static = tData[idxStatic] | |
388 | 388 | let dynamic = tData[idxDynamic] | |
389 | 389 | let locType = loc[locIdxType] | |
390 | 390 | if ((locType == "D")) | |
391 | 391 | then true | |
392 | 392 | else if (if (if ((loc[locIdxType] == "T")) | |
393 | 393 | then (parseIntValue(loc[locIdxContinent]) == lastId) | |
394 | 394 | else false) | |
395 | 395 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
396 | 396 | else false) | |
397 | 397 | then (parseIntValue(static[tStaticEnd]) > now) | |
398 | 398 | else false | |
399 | 399 | } | |
400 | 400 | ||
401 | 401 | ||
402 | 402 | func getRecipeMaterials (recipe) = (parseIntValue(recipe[rIdxCoeff]) * COEFF2MAT) | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | func cheatAttempt (oldLoc,newLoc,cheatCase) = throw(((((("Cheat attempt: oldLoc=" + oldLoc) + ", newLoc=") + newLoc) + ", case=") + toString(cheatCase))) | |
406 | 406 | ||
407 | 407 | ||
408 | 408 | let KS_SEPARATE_PUBLIC_KEY = false | |
409 | 409 | ||
410 | 410 | let KS_ALLOW_BIG_INFRA_MERGE = false | |
411 | 411 | ||
412 | 412 | let DAY_MILLIS = 86400000 | |
413 | 413 | ||
414 | 414 | let chain = take(drop(this.bytes, 1), 1) | |
415 | 415 | ||
416 | 416 | let usdtAssetId = match chain { | |
417 | 417 | case _ => | |
418 | 418 | if ((base58'2W' == $match0)) | |
419 | 419 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
420 | 420 | else if ((base58'2T' == $match0)) | |
421 | 421 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
422 | 422 | else throw("Unknown chain") | |
423 | 423 | } | |
424 | 424 | ||
425 | 425 | let defaultRestAddressStr = match chain { | |
426 | 426 | case _ => | |
427 | 427 | if ((base58'2W' == $match0)) | |
428 | 428 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
429 | 429 | else if ((base58'2T' == $match0)) | |
430 | 430 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
431 | 431 | else throw("Unknown chain") | |
432 | 432 | } | |
433 | 433 | ||
434 | 434 | let InfraUpgradeCostS = match chain { | |
435 | 435 | case _ => | |
436 | 436 | if ((base58'2W' == $match0)) | |
437 | 437 | then 10000000000 | |
438 | 438 | else if ((base58'2T' == $match0)) | |
439 | 439 | then 100000000 | |
440 | 440 | else throw("Unknown chain") | |
441 | 441 | } | |
442 | 442 | ||
443 | 443 | let arbitrageDelay = match chain { | |
444 | 444 | case _ => | |
445 | 445 | if ((base58'2W' == $match0)) | |
446 | 446 | then DAY_MILLIS | |
447 | 447 | else if ((base58'2T' == $match0)) | |
448 | 448 | then 60000 | |
449 | 449 | else throw("Unknown chain") | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | let DELIVERY_PUNISHMENT = match chain { | |
453 | 453 | case _ => | |
454 | 454 | if ((base58'2W' == $match0)) | |
455 | 455 | then 10800000 | |
456 | 456 | else if ((base58'2T' == $match0)) | |
457 | 457 | then 900000 | |
458 | 458 | else throw("Unknown chain") | |
459 | 459 | } | |
460 | 460 | ||
461 | 461 | let SEP = "__" | |
462 | 462 | ||
463 | 463 | let MULT6 = 1000000 | |
464 | 464 | ||
465 | 465 | let MULT8 = 100000000 | |
466 | 466 | ||
467 | 467 | let SSIZE = 25 | |
468 | 468 | ||
469 | 469 | let MSIZE = 100 | |
470 | 470 | ||
471 | 471 | let LSIZE = 225 | |
472 | 472 | ||
473 | 473 | let XLSIZE = 400 | |
474 | 474 | ||
475 | 475 | let XXLSIZE = 625 | |
476 | 476 | ||
477 | 477 | let ITER6 = [0, 1, 2, 3, 4, 5] | |
478 | 478 | ||
479 | 479 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | let IdxCfgStakingDapp = 1 | |
483 | 483 | ||
484 | 484 | let IdxCfgEconomyDapp = 2 | |
485 | 485 | ||
486 | 486 | let IdxCfgGovernanceDapp = 3 | |
487 | 487 | ||
488 | 488 | let IdxCfgWlgDapp = 4 | |
489 | 489 | ||
490 | 490 | let IdxCfgTournamentDapp = 7 | |
491 | 491 | ||
492 | 492 | let IdxCfgAcresDapp = 8 | |
493 | 493 | ||
494 | 494 | func keyRestCfg () = "%s__restConfig" | |
495 | 495 | ||
496 | 496 | ||
497 | 497 | func keyRestAddress () = "%s__restAddr" | |
498 | 498 | ||
499 | 499 | ||
500 | 500 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
507 | 507 | ||
508 | 508 | let restCfg = readRestCfgOrFail(restContract) | |
509 | 509 | ||
510 | 510 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
511 | 511 | ||
512 | 512 | let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp) | |
513 | 513 | ||
514 | 514 | let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp) | |
515 | 515 | ||
516 | 516 | let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp) | |
517 | 517 | ||
518 | 518 | let tournamentContract = getContractAddressOrFail(restCfg, IdxCfgTournamentDapp) | |
519 | 519 | ||
520 | 520 | let acresContract = getContractAddressOrFail(restCfg, IdxCfgAcresDapp) | |
521 | 521 | ||
522 | 522 | let recLandNum = 0 | |
523 | 523 | ||
524 | 524 | let recLandSize = 1 | |
525 | 525 | ||
526 | 526 | let recTerrains = 2 | |
527 | 527 | ||
528 | 528 | let recContinent = 3 | |
529 | 529 | ||
530 | 530 | let wlgAssetIdKey = "wlg_assetId" | |
531 | 531 | ||
532 | 532 | let wlgAssetId = valueOrErrorMessage(getBinary(wlgContract, wlgAssetIdKey), "WLGOLD is not issued yet") | |
533 | 533 | ||
534 | 534 | let acresAssetIdKey = "acresAssetId" | |
535 | 535 | ||
536 | 536 | let acresAssetId = valueOrErrorMessage(getBinary(acresContract, acresAssetIdKey), "ACRES is not issued yet") | |
537 | 537 | ||
538 | 538 | let randomDelay = 2 | |
539 | 539 | ||
540 | 540 | func keyCommit (address) = ("finishBlockForAddr_" + address) | |
541 | 541 | ||
542 | 542 | ||
543 | 543 | func keyResProportions () = "resTypesProportions" | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | func keyResTypesByContinent (continent) = ("resTypesByContinent_" + continent) | |
547 | 547 | ||
548 | 548 | ||
549 | 549 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | func asString (v) = match v { | |
556 | 556 | case s: String => | |
557 | 557 | s | |
558 | 558 | case _ => | |
559 | 559 | throw("fail to cast into String") | |
560 | 560 | } | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | func asInt (v) = match v { | |
564 | 564 | case n: Int => | |
565 | 565 | n | |
566 | 566 | case _ => | |
567 | 567 | throw("fail to cast into Int") | |
568 | 568 | } | |
569 | 569 | ||
570 | 570 | ||
571 | 571 | func asAnyList (v) = match v { | |
572 | 572 | case l: List[Any] => | |
573 | 573 | l | |
574 | 574 | case _ => | |
575 | 575 | throw("fail to cast into List[Any]") | |
576 | 576 | } | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | func asBoolean (v) = match v { | |
580 | 580 | case s: Boolean => | |
581 | 581 | s | |
582 | 582 | case _ => | |
583 | 583 | throw("fail to cast into Boolean") | |
584 | 584 | } | |
585 | 585 | ||
586 | 586 | ||
587 | 587 | func numPiecesBySize (landSize) = match landSize { | |
588 | 588 | case _ => | |
589 | 589 | if (("S" == $match0)) | |
590 | 590 | then SSIZE | |
591 | 591 | else if (("M" == $match0)) | |
592 | 592 | then MSIZE | |
593 | 593 | else if (("L" == $match0)) | |
594 | 594 | then LSIZE | |
595 | 595 | else if (("XL" == $match0)) | |
596 | 596 | then XLSIZE | |
597 | 597 | else if (("XXL" == $match0)) | |
598 | 598 | then XXLSIZE | |
599 | 599 | else throw("Unknown land size") | |
600 | 600 | } | |
601 | 601 | ||
602 | 602 | ||
603 | 603 | func isDigit (s) = isDefined(parseInt(s)) | |
604 | 604 | ||
605 | 605 | ||
606 | 606 | func keyBlocked () = "contractsBlocked" | |
607 | 607 | ||
608 | 608 | ||
609 | 609 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | func fixedPoint (val,decimals) = { | |
613 | 613 | let tenPow = pow(10, 0, decimals, 0, 0, DOWN) | |
614 | 614 | let lowPart = toString((val % tenPow)) | |
615 | 615 | let zeroes = drop(toString(tenPow), (1 + size(lowPart))) | |
616 | 616 | (((toString((val / tenPow)) + ".") + zeroes) + lowPart) | |
617 | 617 | } | |
618 | 618 | ||
619 | 619 | ||
620 | 620 | func getRandomNumber (maxValue,salt,entropy) = { | |
621 | 621 | let randomHash = sha256((salt + entropy)) | |
622 | 622 | (toInt(randomHash) % maxValue) | |
623 | 623 | } | |
624 | 624 | ||
625 | 625 | ||
626 | 626 | let incubatorAddr = match chain { | |
627 | 627 | case _ => | |
628 | 628 | if ((base58'2W' == $match0)) | |
629 | 629 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
630 | 630 | else if ((base58'2T' == $match0)) | |
631 | 631 | then this | |
632 | 632 | else throw("Unknown chain") | |
633 | 633 | } | |
634 | 634 | ||
635 | 635 | let breederAddr = match chain { | |
636 | 636 | case _ => | |
637 | 637 | if ((base58'2W' == $match0)) | |
638 | 638 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
639 | 639 | else if ((base58'2T' == $match0)) | |
640 | 640 | then this | |
641 | 641 | else throw("Unknown chain") | |
642 | 642 | } | |
643 | 643 | ||
644 | 644 | let pub = match chain { | |
645 | 645 | case _ => | |
646 | 646 | if ((base58'2W' == $match0)) | |
647 | 647 | then if (KS_SEPARATE_PUBLIC_KEY) | |
648 | 648 | then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm' | |
649 | 649 | else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
650 | 650 | else if ((base58'2T' == $match0)) | |
651 | 651 | then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
652 | 652 | else throw("Unknown chain") | |
653 | 653 | } | |
654 | 654 | ||
655 | 655 | let EMPTY_PROD50 = base64'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==' | |
656 | 656 | ||
657 | 657 | let FIVEMINUTESMILLIS = 300000 | |
658 | 658 | ||
659 | 659 | let RENAMINGCOST = 5000000 | |
660 | 660 | ||
661 | 661 | let MAXNAMELEN = 50 | |
662 | 662 | ||
663 | 663 | let InfraUpgradeCostSUsdt = 10000000 | |
664 | 664 | ||
665 | 665 | let EXPMATERIALS = match chain { | |
666 | 666 | case _ => | |
667 | 667 | if ((base58'2W' == $match0)) | |
668 | 668 | then 252289527462 | |
669 | 669 | else if ((base58'2T' == $match0)) | |
670 | 670 | then 2522895274 | |
671 | 671 | else throw("Unknown chain") | |
672 | 672 | } | |
673 | 673 | ||
674 | 674 | let EXPUSDT = match chain { | |
675 | 675 | case _ => | |
676 | 676 | if ((base58'2W' == $match0)) | |
677 | 677 | then 250000000 | |
678 | 678 | else if ((base58'2T' == $match0)) | |
679 | 679 | then 250000000 | |
680 | 680 | else throw("Unknown chain") | |
681 | 681 | } | |
682 | 682 | ||
683 | 683 | let S_COST_ACRES = 2500000000 | |
684 | 684 | ||
685 | 685 | let FIVEX = toBigInt(5) | |
686 | 686 | ||
687 | 687 | let TWENTYX = toBigInt(20) | |
688 | 688 | ||
689 | 689 | let TWENTY2X = toBigInt((20 * 20)) | |
690 | 690 | ||
691 | 691 | let TWENTY3X = toBigInt(((20 * 20) * 20)) | |
692 | 692 | ||
693 | 693 | let TWENTY4X = toBigInt((((20 * 20) * 20) * 20)) | |
694 | 694 | ||
695 | 695 | let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
696 | 696 | ||
697 | 697 | let PRESALENUMLANDS = 500 | |
698 | 698 | ||
699 | 699 | func keyNextFreeLandNum () = "nextLandNum" | |
700 | 700 | ||
701 | 701 | ||
702 | 702 | func keyLandCustomNameToAssetId (name) = ("lcn_" + name) | |
703 | 703 | ||
704 | 704 | ||
705 | 705 | func keyLandToAssetId (landNum) = ("la_" + landNum) | |
706 | 706 | ||
707 | 707 | ||
708 | 708 | func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("ilao_" + assetId) + "_") + ownerAddr) | |
709 | 709 | ||
710 | 710 | ||
711 | 711 | func keyLandNumToOwner (landNum) = ("lo_" + landNum) | |
712 | 712 | ||
713 | 713 | ||
714 | 714 | func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name) | |
715 | 715 | ||
716 | 716 | ||
717 | 717 | func keyCustomNameToAddress (name) = ("accountByCustomName_" + name) | |
718 | 718 | ||
719 | 719 | ||
720 | 720 | func keyOldies () = "oldiesList" | |
721 | 721 | ||
722 | 722 | ||
723 | 723 | let claimModeWh = 0 | |
724 | 724 | ||
725 | 725 | let claimModeDuck = 1 | |
726 | 726 | ||
727 | 727 | let claimModeWhThenDuck = 2 | |
728 | 728 | ||
729 | 729 | let flHealth = 0 | |
730 | 730 | ||
731 | 731 | let flTimestamp = 5 | |
732 | 732 | ||
733 | 733 | let flBonus = 6 | |
734 | 734 | ||
735 | 735 | let flProdsUsed = 7 | |
736 | 736 | ||
737 | 737 | func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize) | |
738 | 738 | ||
739 | 739 | ||
740 | 740 | func toVolume (amount,pkgSize) = { | |
741 | 741 | let pkgs = if ((amount >= 0)) | |
742 | 742 | then (((amount + pkgSize) - 1) / pkgSize) | |
743 | 743 | else -((((-(amount) + pkgSize) - 1) / pkgSize)) | |
744 | 744 | (pkgs * MULT8) | |
745 | 745 | } | |
746 | 746 | ||
747 | 747 | ||
748 | 748 | func distributeByWeights (total,weights) = { | |
749 | 749 | let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5]) | |
750 | 750 | if ((0 >= sum)) | |
751 | 751 | then throw("Zero weights sum") | |
752 | 752 | else { | |
753 | 753 | let norm6 = fraction(total, MULT6, sum) | |
754 | 754 | func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6)) | |
755 | 755 | ||
756 | 756 | let $l = weights | |
757 | 757 | let $s = size($l) | |
758 | 758 | let $acc0 = nil | |
759 | 759 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
760 | 760 | then $a | |
761 | 761 | else normalizer($a, $l[$i]) | |
762 | 762 | ||
763 | 763 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
764 | 764 | then $a | |
765 | 765 | else throw("List size exceeds 6") | |
766 | 766 | ||
767 | 767 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
768 | 768 | } | |
769 | 769 | } | |
770 | 770 | ||
771 | 771 | ||
772 | 772 | func getNeededMaterials (total) = { | |
773 | 773 | let props = split(value(getString(keyResProportions())), "_") | |
774 | 774 | if ((size(props) != NUMRES)) | |
775 | 775 | then throw("Wrong proportions data") | |
776 | 776 | else { | |
777 | 777 | let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])] | |
778 | 778 | distributeByWeights(total, r) | |
779 | 779 | } | |
780 | 780 | } | |
781 | 781 | ||
782 | 782 | ||
783 | 783 | func subtractMaterials (shouldUseMat,has,totalNeed) = { | |
784 | 784 | let need = getNeededMaterials(totalNeed) | |
785 | 785 | func subtractor (acc,idx) = { | |
786 | 786 | let result = (parseIntValue(has[idx]) - need[idx]) | |
787 | 787 | if ((0 > result)) | |
788 | 788 | then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx]))) | |
789 | 789 | else (acc :+ toString(result)) | |
790 | 790 | } | |
791 | 791 | ||
792 | 792 | if (shouldUseMat) | |
793 | 793 | then { | |
794 | 794 | let $l = ITER6 | |
795 | 795 | let $s = size($l) | |
796 | 796 | let $acc0 = nil | |
797 | 797 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
798 | 798 | then $a | |
799 | 799 | else subtractor($a, $l[$i]) | |
800 | 800 | ||
801 | 801 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
802 | 802 | then $a | |
803 | 803 | else throw("List size exceeds 6") | |
804 | 804 | ||
805 | 805 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
806 | 806 | } | |
807 | 807 | else has | |
808 | 808 | } | |
809 | 809 | ||
810 | 810 | ||
811 | 811 | func subtractEquipment (oldEq,pUsed) = if ((pUsed == "")) | |
812 | 812 | then $Tuple2(oldEq, false) | |
813 | 813 | else { | |
814 | 814 | func subUsed (acc,idxAmt) = { | |
815 | 815 | let parts = split(idxAmt, ",") | |
816 | 816 | if ((size(parts) != 2)) | |
817 | 817 | then throw("Incorrect format, should be index,amount") | |
818 | 818 | else { | |
819 | 819 | let idx = parseIntValue(parts[0]) | |
820 | 820 | if (if ((0 > idx)) | |
821 | 821 | then true | |
822 | 822 | else (idx >= size(productionMatrix))) | |
823 | 823 | then throw("Unknown product idx") | |
824 | 824 | else { | |
825 | 825 | let amt = parseIntValue(parts[1]) | |
826 | 826 | let eqParts = split(acc._1, (parts[0] + ":")) | |
827 | 827 | if ((size(eqParts) != 2)) | |
828 | 828 | then throw((("You don't have " + prodTypes[idx]) + " equipped")) | |
829 | 829 | else { | |
830 | 830 | let tmp = eqParts[1] | |
831 | 831 | let numLen = if (isDigit(take(drop(tmp, 1), 1))) | |
832 | 832 | then 2 | |
833 | 833 | else 1 | |
834 | 834 | let curr = parseIntValue(take(tmp, numLen)) | |
835 | 835 | let tail = drop(tmp, numLen) | |
836 | 836 | let newAmt = if ((curr >= amt)) | |
837 | 837 | then (curr - amt) | |
838 | 838 | else throw(((((("You equipped " + toString(curr)) + " of ") + prodTypes[idx]) + ", but tried to use ") + toString(amt))) | |
839 | 839 | $Tuple2(((((eqParts[0] + parts[0]) + ":") + toString(newAmt)) + tail), if (acc._2) | |
840 | 840 | then true | |
841 | 841 | else if (if ((idx >= 6)) | |
842 | 842 | then (8 >= idx) | |
843 | 843 | else false) | |
844 | 844 | then (newAmt == 0) | |
845 | 845 | else false) | |
846 | 846 | } | |
847 | 847 | } | |
848 | 848 | } | |
849 | 849 | } | |
850 | 850 | ||
851 | 851 | let $l = split(pUsed, "_") | |
852 | 852 | let $s = size($l) | |
853 | 853 | let $acc0 = $Tuple2(oldEq, false) | |
854 | 854 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
855 | 855 | then $a | |
856 | 856 | else subUsed($a, $l[$i]) | |
857 | 857 | ||
858 | 858 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
859 | 859 | then $a | |
860 | 860 | else throw("List size exceeds 10") | |
861 | 861 | ||
862 | 862 | $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) | |
863 | 863 | } | |
864 | 864 | ||
865 | 865 | ||
866 | 866 | func prodStrToBytes (prodStr) = { | |
867 | 867 | let pList = if ((prodStr == "")) | |
868 | 868 | then nil | |
869 | 869 | else split_4C(prodStr, "_") | |
870 | 870 | func toBV (acc,recipe) = { | |
871 | 871 | let j = (size(acc) / 8) | |
872 | 872 | let curr = if ((size(pList) > j)) | |
873 | 873 | then parseIntValue(pList[j]) | |
874 | 874 | else 0 | |
875 | 875 | (acc + toBytes(curr)) | |
876 | 876 | } | |
877 | 877 | ||
878 | 878 | let $l = productionMatrix | |
879 | 879 | let $s = size($l) | |
880 | 880 | let $acc0 = base58'' | |
881 | 881 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
882 | 882 | then $a | |
883 | 883 | else toBV($a, $l[$i]) | |
884 | 884 | ||
885 | 885 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
886 | 886 | then $a | |
887 | 887 | else throw("List size exceeds 50") | |
888 | 888 | ||
889 | 889 | $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) | |
890 | 890 | } | |
891 | 891 | ||
892 | 892 | ||
893 | 893 | func bytesToProdStr (bv) = { | |
894 | 894 | func fromBV (acc,recipe) = { | |
895 | 895 | let j = size(acc) | |
896 | 896 | let b = take(drop(bv, (8 * j)), 8) | |
897 | 897 | (acc :+ toString(toInt(b))) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 | makeString_2C({ | |
901 | 901 | let $l = productionMatrix | |
902 | 902 | let $s = size($l) | |
903 | 903 | let $acc0 = nil | |
904 | 904 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
905 | 905 | then $a | |
906 | 906 | else fromBV($a, $l[$i]) | |
907 | 907 | ||
908 | 908 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
909 | 909 | then $a | |
910 | 910 | else throw("List size exceeds 50") | |
911 | 911 | ||
912 | 912 | $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) | |
913 | 913 | }, "_") | |
914 | 914 | } | |
915 | 915 | ||
916 | 916 | ||
917 | 917 | func checkStatRequirements (duckStats,reqs) = { | |
918 | 918 | func check (acc,j) = { | |
919 | 919 | let buff = if ((size(duckStats) > (7 + j))) | |
920 | 920 | then duckStats[(7 + j)] | |
921 | 921 | else 0 | |
922 | 922 | if ((parseIntValue(reqs[j]) > (duckStats[j] + buff))) | |
923 | 923 | then throw(("Requirement not satisfied: " + requirements[j])) | |
924 | 924 | else true | |
925 | 925 | } | |
926 | 926 | ||
927 | 927 | let $l = [0, 1, 2, 3, 4, 5, 6] | |
928 | 928 | let $s = size($l) | |
929 | 929 | let $acc0 = false | |
930 | 930 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
931 | 931 | then $a | |
932 | 932 | else check($a, $l[$i]) | |
933 | 933 | ||
934 | 934 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
935 | 935 | then $a | |
936 | 936 | else throw("List size exceeds 7") | |
937 | 937 | ||
938 | 938 | $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) | |
939 | 939 | } | |
940 | 940 | ||
941 | 941 | ||
942 | 942 | func placeProdB (idxCnt,pList,isPositive,duckStats,occupied,free) = { | |
943 | 943 | let parts = split(idxCnt, ":") | |
944 | 944 | if ((size(parts) != 2)) | |
945 | 945 | then throw("Incorrect format, should be index:amount") | |
946 | 946 | else if (if (!(isPositive)) | |
947 | 947 | then (size(parts[0]) != 2) | |
948 | 948 | else false) | |
949 | 949 | then throw("Product idx should be 2 digits, zero padded") | |
950 | 950 | else { | |
951 | 951 | let productIdx = parseIntValue(parts[0]) | |
952 | 952 | let count = parseIntValue(parts[1]) | |
953 | 953 | if (!(containsElement(fortAllowedProds, productIdx))) | |
954 | 954 | then throw((("Product '" + prodTypes[productIdx]) + "' cannot be used for land defense")) | |
955 | 955 | else if ((0 > count)) | |
956 | 956 | then throw("Count can't be negative") | |
957 | 957 | else if ((count > MAXPRODINSLOT)) | |
958 | 958 | then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx])) | |
959 | 959 | else if ((count == 0)) | |
960 | 960 | then $Tuple3(pList, occupied, free) | |
961 | 961 | else { | |
962 | 962 | let head = take(pList, (8 * productIdx)) | |
963 | 963 | let curr = toInt(take(drop(pList, (8 * productIdx)), 8)) | |
964 | 964 | let tail = drop(pList, (8 * (productIdx + 1))) | |
965 | 965 | let recipe = split(productionMatrix[productIdx], "_") | |
966 | 966 | if (if (!(isPositive)) | |
967 | 967 | then (count > curr) | |
968 | 968 | else false) | |
969 | 969 | then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count))) | |
970 | 970 | else { | |
971 | 971 | let newAmt = if (if (!(isPositive)) | |
972 | 972 | then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ",")) | |
973 | 973 | else false) | |
974 | 974 | then (curr - count) | |
975 | 975 | else (curr + count) | |
976 | 976 | let deltaVol = (toVolume(newAmt, PRODUCTPKGSIZE) - toVolume(curr, PRODUCTPKGSIZE)) | |
977 | 977 | $Tuple3(((head + toBytes(newAmt)) + tail), (occupied + deltaVol), (free - deltaVol)) | |
978 | 978 | } | |
979 | 979 | } | |
980 | 980 | } | |
981 | 981 | } | |
982 | 982 | ||
983 | 983 | ||
984 | 984 | func addProdB (idxCnt,pList,isPositive,segment,mainAux,slot,duckStats) = { | |
985 | 985 | let parts = split(idxCnt, ":") | |
986 | 986 | if ((size(parts) != 2)) | |
987 | 987 | then throw("Incorrect format, should be index:amount") | |
988 | 988 | else if (if (!(isPositive)) | |
989 | 989 | then (size(parts[0]) != 2) | |
990 | 990 | else false) | |
991 | 991 | then throw("Product idx should be 2 digits, zero padded") | |
992 | 992 | else { | |
993 | 993 | let productIdx = parseIntValue(parts[0]) | |
994 | 994 | let count = parseIntValue(parts[1]) | |
995 | 995 | if (if ((0 > productIdx)) | |
996 | 996 | then true | |
997 | 997 | else (productIdx >= size(productionMatrix))) | |
998 | 998 | then throw("Unknown product idx") | |
999 | 999 | else if ((0 > count)) | |
1000 | 1000 | then throw("Count can't be negative") | |
1001 | 1001 | else if ((count > MAXPRODINSLOT)) | |
1002 | 1002 | then throw(((("Can't put more than " + toString(MAXPRODINSLOT)) + " of ") + prodTypes[productIdx])) | |
1003 | 1003 | else if ((count == 0)) | |
1004 | 1004 | then $Tuple2(pList, false) | |
1005 | 1005 | else { | |
1006 | 1006 | let head = take(pList, (8 * productIdx)) | |
1007 | 1007 | let curr = toInt(take(drop(pList, (8 * productIdx)), 8)) | |
1008 | 1008 | let tail = drop(pList, (8 * (productIdx + 1))) | |
1009 | 1009 | let recipe = split(productionMatrix[productIdx], "_") | |
1010 | 1010 | if (if (!(isPositive)) | |
1011 | 1011 | then (count > curr) | |
1012 | 1012 | else false) | |
1013 | 1013 | then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[productIdx]) + ", but tried to use ") + toString(count))) | |
1014 | 1014 | else { | |
1015 | 1015 | let isBigItem = if (if (!(isPositive)) | |
1016 | 1016 | then checkStatRequirements(duckStats, split(recipe[rIdxRequirements], ",")) | |
1017 | 1017 | else false) | |
1018 | 1018 | then { | |
1019 | 1019 | let compat = recipe[rIdxSlots] | |
1020 | 1020 | if ((compat == "")) | |
1021 | 1021 | then throw("Item cannot be equipped") | |
1022 | 1022 | else { | |
1023 | 1023 | let c = parseIntValue(compat) | |
1024 | 1024 | let cSeg = (c / 100) | |
1025 | 1025 | if ((segment != cSeg)) | |
1026 | 1026 | then throw("Segment incompatible") | |
1027 | 1027 | else { | |
1028 | 1028 | let cMainAux = ((c % 100) / 10) | |
1029 | 1029 | if ((mainAux != cMainAux)) | |
1030 | 1030 | then throw("Slot incompatible") | |
1031 | 1031 | else { | |
1032 | 1032 | let cNumSlots = (c % 10) | |
1033 | 1033 | if (if ((slot != 0)) | |
1034 | 1034 | then (cNumSlots > 1) | |
1035 | 1035 | else false) | |
1036 | 1036 | then throw("Big items should occupy slot 0") | |
1037 | 1037 | else (cNumSlots > 1) | |
1038 | 1038 | } | |
1039 | 1039 | } | |
1040 | 1040 | } | |
1041 | 1041 | } | |
1042 | 1042 | else false | |
1043 | 1043 | $Tuple2(((head + toBytes((curr + (if (isPositive) | |
1044 | 1044 | then count | |
1045 | 1045 | else -(count))))) + tail), isBigItem) | |
1046 | 1046 | } | |
1047 | 1047 | } | |
1048 | 1048 | } | |
1049 | 1049 | } | |
1050 | 1050 | ||
1051 | 1051 | ||
1052 | 1052 | func slotsGroupB (g,bpIn,isPositive,segment,mainAux,stats) = if ((g != "")) | |
1053 | 1053 | then { | |
1054 | 1054 | let slots = split(g, ",") | |
1055 | 1055 | if ((size(slots) > MAXSLOTS)) | |
1056 | 1056 | then throw("Wrong slots format") | |
1057 | 1057 | else { | |
1058 | 1058 | let s0 = slots[0] | |
1059 | 1059 | let s1 = if ((size(slots) > 1)) | |
1060 | 1060 | then slots[1] | |
1061 | 1061 | else "" | |
1062 | 1062 | if (if ((s0 == "")) | |
1063 | 1063 | then (s1 == "") | |
1064 | 1064 | else false) | |
1065 | 1065 | then bpIn | |
1066 | 1066 | else { | |
1067 | 1067 | let tmpS0 = if ((s0 != "")) | |
1068 | 1068 | then addProdB(s0, bpIn, isPositive, segment, mainAux, 0, stats) | |
1069 | 1069 | else $Tuple2(bpIn, false) | |
1070 | 1070 | if ((s1 != "")) | |
1071 | 1071 | then if (tmpS0._2) | |
1072 | 1072 | then throw("Big item already occupies slot") | |
1073 | 1073 | else addProdB(s1, tmpS0._1, isPositive, segment, mainAux, 1, stats)._1 | |
1074 | 1074 | else tmpS0._1 | |
1075 | 1075 | } | |
1076 | 1076 | } | |
1077 | 1077 | } | |
1078 | 1078 | else bpIn | |
1079 | 1079 | ||
1080 | 1080 | ||
1081 | 1081 | func dressB (segList,pBytes,isPositive,stats) = { | |
1082 | 1082 | func segment (acc,seg) = { | |
1083 | 1083 | let j = acc._1 | |
1084 | 1084 | let mainAux = split(seg, ";") | |
1085 | 1085 | if ((size(mainAux) != NUMMAINAUX)) | |
1086 | 1086 | then throw("Wrong segment format") | |
1087 | 1087 | else { | |
1088 | 1088 | let m = mainAux[0] | |
1089 | 1089 | let a = mainAux[1] | |
1090 | 1090 | if (if ((m == "")) | |
1091 | 1091 | then (a == "") | |
1092 | 1092 | else false) | |
1093 | 1093 | then $Tuple2((j + 1), acc._2) | |
1094 | 1094 | else { | |
1095 | 1095 | let tmpM = slotsGroupB(m, acc._2, isPositive, j, 0, stats) | |
1096 | 1096 | $Tuple2((j + 1), slotsGroupB(a, tmpM, isPositive, j, 1, stats)) | |
1097 | 1097 | } | |
1098 | 1098 | } | |
1099 | 1099 | } | |
1100 | 1100 | ||
1101 | 1101 | ( let $l = segList | |
1102 | 1102 | let $s = size($l) | |
1103 | 1103 | let $acc0 = $Tuple2(0, pBytes) | |
1104 | 1104 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1105 | 1105 | then $a | |
1106 | 1106 | else segment($a, $l[$i]) | |
1107 | 1107 | ||
1108 | 1108 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1109 | 1109 | then $a | |
1110 | 1110 | else throw("List size exceeds 6") | |
1111 | 1111 | ||
1112 | 1112 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6))._2 | |
1113 | 1113 | } | |
1114 | 1114 | ||
1115 | 1115 | ||
1116 | 1116 | func fortB (segList,pBytes,occupied,free,isPositive,duckStats) = if ((3 > size(segList))) | |
1117 | 1117 | then throw("At least duck, mines and traps parts are required") | |
1118 | 1118 | else { | |
1119 | 1119 | func segment (acc,seg) = { | |
1120 | 1120 | let j = acc._1 | |
1121 | 1121 | if ((j == 0)) | |
1122 | 1122 | then $Tuple4((j + 1), acc._2, acc._3, acc._4) | |
1123 | 1123 | else { | |
1124 | 1124 | let p = placeProdB(seg, acc._2, isPositive, duckStats, acc._3, acc._4) | |
1125 | 1125 | $Tuple4((j + 1), p._1, p._2, p._3) | |
1126 | 1126 | } | |
1127 | 1127 | } | |
1128 | 1128 | ||
1129 | 1129 | let t = { | |
1130 | 1130 | let $l = segList | |
1131 | 1131 | let $s = size($l) | |
1132 | 1132 | let $acc0 = $Tuple4(0, pBytes, occupied, free) | |
1133 | 1133 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1134 | 1134 | then $a | |
1135 | 1135 | else segment($a, $l[$i]) | |
1136 | 1136 | ||
1137 | 1137 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1138 | 1138 | then $a | |
1139 | 1139 | else throw("List size exceeds 10") | |
1140 | 1140 | ||
1141 | 1141 | $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) | |
1142 | 1142 | } | |
1143 | 1143 | $Tuple3(t._2, t._3, t._4) | |
1144 | 1144 | } | |
1145 | 1145 | ||
1146 | 1146 | ||
1147 | 1147 | func canWearCurrentEquipment (duckAssetId) = { | |
1148 | 1148 | let eqKey = keyDuckEquipment(duckAssetId) | |
1149 | 1149 | let currEq = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
1150 | 1150 | let tempProdB = dressB(currEq, EMPTY_PROD50, true, nil) | |
1151 | 1151 | let segBpAux = split(currEq[segBackpack], ";")[1] | |
1152 | 1152 | let buffEffect = if ((segBpAux == "")) | |
1153 | 1153 | then 0 | |
1154 | 1154 | else { | |
1155 | 1155 | let aux0 = split(segBpAux, ",")[0] | |
1156 | 1156 | if ((aux0 == "")) | |
1157 | 1157 | then 0 | |
1158 | 1158 | else { | |
1159 | 1159 | let idxCnt = split(aux0, ":") | |
1160 | 1160 | let idx = idxCnt[0] | |
1161 | 1161 | let cnt = idxCnt[1] | |
1162 | 1162 | if (if (if (if (if ((idx == "06")) | |
1163 | 1163 | then true | |
1164 | 1164 | else (idx == "07")) | |
1165 | 1165 | then true | |
1166 | 1166 | else (idx == "08")) | |
1167 | 1167 | then (cnt != "") | |
1168 | 1168 | else false) | |
1169 | 1169 | then (parseIntValue(cnt) > 0) | |
1170 | 1170 | else false) | |
1171 | 1171 | then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect]) | |
1172 | 1172 | else 0 | |
1173 | 1173 | } | |
1174 | 1174 | } | |
1175 | 1175 | let stats = getDuckStats(this, duckAssetId, buffEffect, true) | |
1176 | 1176 | let newProdB = dressB(currEq, tempProdB, false, stats) | |
1177 | 1177 | (newProdB == newProdB) | |
1178 | 1178 | } | |
1179 | 1179 | ||
1180 | 1180 | ||
1181 | 1181 | func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES)) | |
1182 | 1182 | then throw("Wrong proportions data") | |
1183 | 1183 | else { | |
1184 | 1184 | func updater (acc,i) = { | |
1185 | 1185 | let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex)) | |
1186 | 1186 | if ((0 > result)) | |
1187 | 1187 | then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex))) | |
1188 | 1188 | else (acc :+ toString(result)) | |
1189 | 1189 | } | |
1190 | 1190 | ||
1191 | 1191 | let $l = ITER6 | |
1192 | 1192 | let $s = size($l) | |
1193 | 1193 | let $acc0 = nil | |
1194 | 1194 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1195 | 1195 | then $a | |
1196 | 1196 | else updater($a, $l[$i]) | |
1197 | 1197 | ||
1198 | 1198 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1199 | 1199 | then $a | |
1200 | 1200 | else throw("List size exceeds 6") | |
1201 | 1201 | ||
1202 | 1202 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1203 | 1203 | } | |
1204 | 1204 | ||
1205 | 1205 | ||
1206 | 1206 | func updateProportions (terrainCounts,landSizeIndex,sign) = { | |
1207 | 1207 | let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_") | |
1208 | 1208 | makeString(updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign), "_") | |
1209 | 1209 | } | |
1210 | 1210 | ||
1211 | 1211 | ||
1212 | 1212 | 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)] | |
1213 | 1213 | ||
1214 | 1214 | ||
1215 | 1215 | func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
1216 | 1216 | func adder (acc,i) = { | |
1217 | 1217 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
1218 | 1218 | (acc :+ toString((parseIntValue(currentRes[i]) + resOfType))) | |
1219 | 1219 | } | |
1220 | 1220 | ||
1221 | 1221 | let r = { | |
1222 | 1222 | let $l = ITER6 | |
1223 | 1223 | let $s = size($l) | |
1224 | 1224 | let $acc0 = nil | |
1225 | 1225 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1226 | 1226 | then $a | |
1227 | 1227 | else adder($a, $l[$i]) | |
1228 | 1228 | ||
1229 | 1229 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1230 | 1230 | then $a | |
1231 | 1231 | else throw("List size exceeds 6") | |
1232 | 1232 | ||
1233 | 1233 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1234 | 1234 | } | |
1235 | 1235 | makeString(r, "_") | |
1236 | 1236 | } | |
1237 | 1237 | ||
1238 | 1238 | ||
1239 | 1239 | func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
1240 | 1240 | func adder (acc,i) = { | |
1241 | 1241 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
1242 | 1242 | $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType)) | |
1243 | 1243 | } | |
1244 | 1244 | ||
1245 | 1245 | let $l = ITER6 | |
1246 | 1246 | let $s = size($l) | |
1247 | 1247 | let $acc0 = $Tuple2(nil, 0) | |
1248 | 1248 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1249 | 1249 | then $a | |
1250 | 1250 | else adder($a, $l[$i]) | |
1251 | 1251 | ||
1252 | 1252 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1253 | 1253 | then $a | |
1254 | 1254 | else throw("List size exceeds 6") | |
1255 | 1255 | ||
1256 | 1256 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1257 | 1257 | } | |
1258 | 1258 | ||
1259 | 1259 | ||
1260 | 1260 | func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = { | |
1261 | 1261 | let resListToClaim = resToClaim._1 | |
1262 | 1262 | let resAmToClaim = resToClaim._2 | |
1263 | 1263 | if ((resAmToClaim == 0)) | |
1264 | 1264 | then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_")) | |
1265 | 1265 | else if ((whSpaceLeft >= resAmToClaim)) | |
1266 | 1266 | then { | |
1267 | 1267 | func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i]))) | |
1268 | 1268 | ||
1269 | 1269 | let r = { | |
1270 | 1270 | let $l = ITER6 | |
1271 | 1271 | let $s = size($l) | |
1272 | 1272 | let $acc0 = nil | |
1273 | 1273 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1274 | 1274 | then $a | |
1275 | 1275 | else addLists($a, $l[$i]) | |
1276 | 1276 | ||
1277 | 1277 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1278 | 1278 | then $a | |
1279 | 1279 | else throw("List size exceeds 6") | |
1280 | 1280 | ||
1281 | 1281 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1282 | 1282 | } | |
1283 | 1283 | $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_")) | |
1284 | 1284 | } | |
1285 | 1285 | else { | |
1286 | 1286 | func addPartLists (acc,i) = { | |
1287 | 1287 | let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim) | |
1288 | 1288 | $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart)))) | |
1289 | 1289 | } | |
1290 | 1290 | ||
1291 | 1291 | let r = { | |
1292 | 1292 | let $l = ITER6 | |
1293 | 1293 | let $s = size($l) | |
1294 | 1294 | let $acc0 = $Tuple2(nil, nil) | |
1295 | 1295 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1296 | 1296 | then $a | |
1297 | 1297 | else addPartLists($a, $l[$i]) | |
1298 | 1298 | ||
1299 | 1299 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1300 | 1300 | then $a | |
1301 | 1301 | else throw("List size exceeds 6") | |
1302 | 1302 | ||
1303 | 1303 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1304 | 1304 | } | |
1305 | 1305 | $Tuple2(makeString(r._1, "_"), makeString(r._2, "_")) | |
1306 | 1306 | } | |
1307 | 1307 | } | |
1308 | 1308 | ||
1309 | 1309 | ||
1310 | 1310 | func abs (x) = if ((x >= toBigInt(0))) | |
1311 | 1311 | then x | |
1312 | 1312 | else -(x) | |
1313 | 1313 | ||
1314 | 1314 | ||
1315 | 1315 | let targetFreqByContinent = [[35, 18, 30, 7, 6, 24], [29, 18, 29, 7, 8, 29], [6, 18, 29, 8, 30, 29], [6, 28, 6, 48, 26, 6], [24, 18, 6, 30, 30, 12]] | |
1316 | 1316 | ||
1317 | 1317 | 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] | |
1318 | 1318 | ||
1319 | 1319 | let TCHARS = ["A", "B", "C", "D", "E", "F"] | |
1320 | 1320 | ||
1321 | 1321 | func addStrInt (acc,el) = (acc + parseIntValue(el)) | |
1322 | 1322 | ||
1323 | 1323 | ||
1324 | 1324 | func genRand (maxRand,inSeed) = if ((maxRand == 0)) | |
1325 | 1325 | then throw("maxRand should be non-zero") | |
1326 | 1326 | else { | |
1327 | 1327 | let bigMax = toBigInt(maxRand) | |
1328 | 1328 | $Tuple2(toInt((inSeed % bigMax)), (inSeed / bigMax)) | |
1329 | 1329 | } | |
1330 | 1330 | ||
1331 | 1331 | ||
1332 | - | func complement (arr,val) = { | |
1333 | - | func subr (acc,el) = (acc :+ (val - el)) | |
1334 | - | ||
1335 | - | let $l = arr | |
1336 | - | let $s = size($l) | |
1337 | - | let $acc0 = nil | |
1338 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1339 | - | then $a | |
1340 | - | else subr($a, $l[$i]) | |
1341 | - | ||
1342 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1343 | - | then $a | |
1344 | - | else throw("List size exceeds 6") | |
1345 | - | ||
1346 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1347 | - | } | |
1348 | - | ||
1349 | - | ||
1350 | - | func findSlot (arr,rnd) = { | |
1332 | + | func findSlot (arr,rnd,delta) = { | |
1351 | 1333 | func find (acc,el) = if (acc._1) | |
1352 | 1334 | then acc | |
1353 | - | else if ((el > acc._3)) | |
1354 | - | then $Tuple3(true, acc._2, 0) | |
1355 | - | else $Tuple3(false, (acc._2 + 1), (acc._3 - el)) | |
1335 | + | else { | |
1336 | + | let rem = ((acc._3 - el) - delta) | |
1337 | + | if ((0 > rem)) | |
1338 | + | then $Tuple3(true, acc._2, 0) | |
1339 | + | else $Tuple3(false, (acc._2 + 1), rem) | |
1340 | + | } | |
1356 | 1341 | ||
1357 | 1342 | let r = { | |
1358 | 1343 | let $l = arr | |
1359 | 1344 | let $s = size($l) | |
1360 | 1345 | let $acc0 = $Tuple3(false, 0, rnd) | |
1361 | 1346 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1362 | 1347 | then $a | |
1363 | 1348 | else find($a, $l[$i]) | |
1364 | 1349 | ||
1365 | 1350 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1366 | 1351 | then $a | |
1367 | 1352 | else throw("List size exceeds 6") | |
1368 | 1353 | ||
1369 | 1354 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1370 | 1355 | } | |
1371 | 1356 | r._2 | |
1372 | 1357 | } | |
1373 | 1358 | ||
1374 | 1359 | ||
1375 | 1360 | func gen1 (seed0,landSizeIndex) = { | |
1376 | 1361 | func continentSums (ac,cont) = { | |
1377 | 1362 | let curr = split(valueOrElse(getString(keyResTypesByContinent(cont)), "0_0_0_0_0_0"), "_") | |
1378 | 1363 | let contSum = { | |
1379 | 1364 | let $l = curr | |
1380 | 1365 | let $s = size($l) | |
1381 | 1366 | let $acc0 = 0 | |
1382 | 1367 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1383 | 1368 | then $a | |
1384 | 1369 | else addStrInt($a, $l[$i]) | |
1385 | 1370 | ||
1386 | 1371 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1387 | 1372 | then $a | |
1388 | 1373 | else throw("List size exceeds 6") | |
1389 | 1374 | ||
1390 | 1375 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1391 | 1376 | } | |
1392 | 1377 | $Tuple2((ac._1 :+ contSum), (ac._2 + contSum)) | |
1393 | 1378 | } | |
1394 | 1379 | ||
1395 | - | let $ | |
1380 | + | let $t01982820212 = { | |
1396 | 1381 | let $l = continents | |
1397 | 1382 | let $s = size($l) | |
1398 | 1383 | let $acc0 = $Tuple2(nil, 0) | |
1399 | 1384 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1400 | 1385 | then $a | |
1401 | 1386 | else continentSums($a, $l[$i]) | |
1402 | 1387 | ||
1403 | 1388 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1404 | 1389 | then $a | |
1405 | 1390 | else throw("List size exceeds 5") | |
1406 | 1391 | ||
1407 | 1392 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
1408 | 1393 | } | |
1409 | - | let contSums = $ | |
1410 | - | let total = $ | |
1394 | + | let contSums = $t01982820212._1 | |
1395 | + | let total = $t01982820212._2 | |
1411 | 1396 | let maxSum = max(contSums) | |
1412 | 1397 | let rTotal = ((maxSum * 5) - total) | |
1413 | - | let $t02078220960 = if ((rTotal == 0)) | |
1398 | + | let deltaCont = (rTotal / 50) | |
1399 | + | let $t02037820666 = if ((rTotal == 0)) | |
1414 | 1400 | then genRand(5, seed0) | |
1415 | 1401 | else { | |
1416 | - | let $t02086620903 = genRand(rTotal, seed0) | |
1417 | - | let r = $t02086620903._1 | |
1418 | - | let out = $t02086620903._2 | |
1419 | - | $Tuple2(findSlot(complement(contSums, maxSum), r), out) | |
1420 | - | } | |
1421 | - | let contIdx = $t02078220960._1 | |
1422 | - | let seed1 = $t02078220960._2 | |
1402 | + | let $t02046220515 = genRand((rTotal + (deltaCont * 5)), seed0) | |
1403 | + | let r = $t02046220515._1 | |
1404 | + | let out = $t02046220515._2 | |
1405 | + | func subr (acc,el) = (acc :+ (maxSum - el)) | |
1406 | + | ||
1407 | + | let compl = { | |
1408 | + | let $l = contSums | |
1409 | + | let $s = size($l) | |
1410 | + | let $acc0 = nil | |
1411 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1412 | + | then $a | |
1413 | + | else subr($a, $l[$i]) | |
1414 | + | ||
1415 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1416 | + | then $a | |
1417 | + | else throw("List size exceeds 6") | |
1418 | + | ||
1419 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1420 | + | } | |
1421 | + | $Tuple2(findSlot(compl, r, deltaCont), out) | |
1422 | + | } | |
1423 | + | let contIdx = $t02037820666._1 | |
1424 | + | let seed1 = $t02037820666._2 | |
1423 | 1425 | let target = targetFreqByContinent[contIdx] | |
1424 | 1426 | let actual = split(valueOrElse(getString(keyResTypesByContinent(continents[contIdx])), "0_0_0_0_0_0"), "_") | |
1425 | 1427 | func toInts (acc,el) = (acc :+ parseIntValue(el)) | |
1426 | 1428 | ||
1427 | 1429 | let actualInts = { | |
1428 | 1430 | let $l = actual | |
1429 | 1431 | let $s = size($l) | |
1430 | 1432 | let $acc0 = nil | |
1431 | 1433 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1432 | 1434 | then $a | |
1433 | 1435 | else toInts($a, $l[$i]) | |
1434 | 1436 | ||
1435 | 1437 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1436 | 1438 | then $a | |
1437 | 1439 | else throw("List size exceeds 6") | |
1438 | 1440 | ||
1439 | 1441 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1440 | 1442 | } | |
1441 | 1443 | let contSum = contSums[contIdx] | |
1442 | 1444 | func genSingleTerrain (ac,ignored) = { | |
1443 | 1445 | func deltaCalc (acc,j) = (acc :+ ((ac._2[j] * 120) - (target[j] * ac._3))) | |
1444 | 1446 | ||
1445 | 1447 | let intDelta = { | |
1446 | 1448 | let $l = ITER6 | |
1447 | 1449 | let $s = size($l) | |
1448 | 1450 | let $acc0 = nil | |
1449 | 1451 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1450 | 1452 | then $a | |
1451 | 1453 | else deltaCalc($a, $l[$i]) | |
1452 | 1454 | ||
1453 | 1455 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1454 | 1456 | then $a | |
1455 | 1457 | else throw("List size exceeds 6") | |
1456 | 1458 | ||
1457 | 1459 | $f2_2($f2_1($f2_1($f2_1($f2_1($f2_1($f2_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1458 | 1460 | } | |
1459 | 1461 | let maxDelta = max(intDelta) | |
1460 | 1462 | func shift (acc,el) = { | |
1461 | 1463 | let s = (maxDelta - el) | |
1462 | 1464 | $Tuple2((acc._1 :+ s), (acc._2 + s)) | |
1463 | 1465 | } | |
1464 | 1466 | ||
1465 | - | let $ | |
1467 | + | let $t02145121528 = { | |
1466 | 1468 | let $l = intDelta | |
1467 | 1469 | let $s = size($l) | |
1468 | 1470 | let $acc0 = $Tuple2(nil, 0) | |
1469 | 1471 | func $f3_1 ($a,$i) = if (($i >= $s)) | |
1470 | 1472 | then $a | |
1471 | 1473 | else shift($a, $l[$i]) | |
1472 | 1474 | ||
1473 | 1475 | func $f3_2 ($a,$i) = if (($i >= $s)) | |
1474 | 1476 | then $a | |
1475 | 1477 | else throw("List size exceeds 6") | |
1476 | 1478 | ||
1477 | 1479 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1478 | 1480 | } | |
1479 | - | let shiftedIntDelta = $t02174521822._1 | |
1480 | - | let sumShiftedIntDelta = $t02174521822._2 | |
1481 | - | let $t02182722022 = if ((sumShiftedIntDelta == 0)) | |
1481 | + | let shiftedIntDelta = $t02145121528._1 | |
1482 | + | let sumShiftedIntDelta = $t02145121528._2 | |
1483 | + | let deltaRes = (sumShiftedIntDelta / 60) | |
1484 | + | let $t02157621796 = if ((sumShiftedIntDelta == 0)) | |
1482 | 1485 | then genRand(6, ac._4) | |
1483 | 1486 | else { | |
1484 | - | let $ | |
1485 | - | let r = $ | |
1486 | - | let out = $ | |
1487 | - | $Tuple2(findSlot(shiftedIntDelta, r), out) | |
1487 | + | let $t02167421738 = genRand((sumShiftedIntDelta + (deltaRes * 6)), ac._4) | |
1488 | + | let r = $t02167421738._1 | |
1489 | + | let out = $t02167421738._2 | |
1490 | + | $Tuple2(findSlot(shiftedIntDelta, r, deltaRes), out) | |
1488 | 1491 | } | |
1489 | - | let idx = $ | |
1490 | - | let seed2 = $ | |
1492 | + | let idx = $t02157621796._1 | |
1493 | + | let seed2 = $t02157621796._2 | |
1491 | 1494 | func addByIndex (acc,j) = (acc :+ (ac._2[j] + (if ((j == idx)) | |
1492 | 1495 | then landSizeIndex | |
1493 | 1496 | else 0))) | |
1494 | 1497 | ||
1495 | 1498 | let updatedActuals = { | |
1496 | 1499 | let $l = ITER6 | |
1497 | 1500 | let $s = size($l) | |
1498 | 1501 | let $acc0 = nil | |
1499 | 1502 | func $f4_1 ($a,$i) = if (($i >= $s)) | |
1500 | 1503 | then $a | |
1501 | 1504 | else addByIndex($a, $l[$i]) | |
1502 | 1505 | ||
1503 | 1506 | func $f4_2 ($a,$i) = if (($i >= $s)) | |
1504 | 1507 | then $a | |
1505 | 1508 | else throw("List size exceeds 6") | |
1506 | 1509 | ||
1507 | 1510 | $f4_2($f4_1($f4_1($f4_1($f4_1($f4_1($f4_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1508 | 1511 | } | |
1509 | 1512 | $Tuple4((ac._1 :+ TCHARS[idx]), updatedActuals, (ac._3 + landSizeIndex), seed2) | |
1510 | 1513 | } | |
1511 | 1514 | ||
1512 | 1515 | let result = { | |
1513 | 1516 | let $l = PERM25 | |
1514 | 1517 | let $s = size($l) | |
1515 | 1518 | let $acc0 = $Tuple4(nil, actualInts, contSum, seed1) | |
1516 | 1519 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1517 | 1520 | then $a | |
1518 | 1521 | else genSingleTerrain($a, $l[$i]) | |
1519 | 1522 | ||
1520 | 1523 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1521 | 1524 | then $a | |
1522 | 1525 | else throw("List size exceeds 25") | |
1523 | 1526 | ||
1524 | 1527 | $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) | |
1525 | 1528 | } | |
1526 | 1529 | func permut (acc,j) = (acc + result._1[j]) | |
1527 | 1530 | ||
1528 | 1531 | $Tuple2(contIdx, { | |
1529 | 1532 | let $l = PERM25 | |
1530 | 1533 | let $s = size($l) | |
1531 | 1534 | let $acc0 = "" | |
1532 | 1535 | func $f3_1 ($a,$i) = if (($i >= $s)) | |
1533 | 1536 | then $a | |
1534 | 1537 | else permut($a, $l[$i]) | |
1535 | 1538 | ||
1536 | 1539 | func $f3_2 ($a,$i) = if (($i >= $s)) | |
1537 | 1540 | then $a | |
1538 | 1541 | else throw("List size exceeds 25") | |
1539 | 1542 | ||
1540 | 1543 | $f3_2($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_1($f3_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) | |
1541 | 1544 | }) | |
1542 | 1545 | } | |
1543 | 1546 | ||
1544 | 1547 | ||
1545 | 1548 | 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]] | |
1546 | 1549 | ||
1547 | 1550 | func genChar (n,freqs) = { | |
1548 | 1551 | let rem = toInt((n % TWENTYX)) | |
1549 | 1552 | let letter = if ((freqs[0] > rem)) | |
1550 | 1553 | then "A" | |
1551 | 1554 | else if ((freqs[1] > rem)) | |
1552 | 1555 | then "B" | |
1553 | 1556 | else if ((freqs[2] > rem)) | |
1554 | 1557 | then "C" | |
1555 | 1558 | else if ((freqs[3] > rem)) | |
1556 | 1559 | then "D" | |
1557 | 1560 | else if ((freqs[4] > rem)) | |
1558 | 1561 | then "E" | |
1559 | 1562 | else "F" | |
1560 | 1563 | letter | |
1561 | 1564 | } | |
1562 | 1565 | ||
1563 | 1566 | ||
1564 | 1567 | func genTerrains (seed,continentIdx) = { | |
1565 | 1568 | let f = freq[continentIdx] | |
1566 | 1569 | 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)) | |
1567 | 1570 | ||
1568 | 1571 | let t = { | |
1569 | 1572 | let $l = [1, 2, 3, 4, 5] | |
1570 | 1573 | let $s = size($l) | |
1571 | 1574 | let $acc0 = $Tuple2("", (seed / FIVEX)) | |
1572 | 1575 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1573 | 1576 | then $a | |
1574 | 1577 | else terrainGenerator($a, $l[$i]) | |
1575 | 1578 | ||
1576 | 1579 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1577 | 1580 | then $a | |
1578 | 1581 | else throw("List size exceeds 5") | |
1579 | 1582 | ||
1580 | 1583 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
1581 | 1584 | } | |
1582 | 1585 | t._1 | |
1583 | 1586 | } | |
1584 | 1587 | ||
1585 | 1588 | ||
1586 | 1589 | func genTerrainsForMerge (sumTerrains,landSizeIndex) = { | |
1587 | 1590 | func step1 (acc,s) = { | |
1588 | 1591 | let j = acc._2 | |
1589 | 1592 | let el = parseIntValue(s) | |
1590 | 1593 | let x = if ((el == 0)) | |
1591 | 1594 | then 0 | |
1592 | 1595 | else if ((el >= (4 * landSizeIndex))) | |
1593 | 1596 | then (el / landSizeIndex) | |
1594 | 1597 | else if ((el > (3 * landSizeIndex))) | |
1595 | 1598 | then 3 | |
1596 | 1599 | else (((el - 1) / landSizeIndex) + 1) | |
1597 | 1600 | $Tuple3((acc._1 :+ x), (acc._2 + 1), (acc._3 + x)) | |
1598 | 1601 | } | |
1599 | 1602 | ||
1600 | 1603 | let t = { | |
1601 | 1604 | let $l = sumTerrains | |
1602 | 1605 | let $s = size($l) | |
1603 | 1606 | let $acc0 = $Tuple3(nil, 0, 0) | |
1604 | 1607 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1605 | 1608 | then $a | |
1606 | 1609 | else step1($a, $l[$i]) | |
1607 | 1610 | ||
1608 | 1611 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1609 | 1612 | then $a | |
1610 | 1613 | else throw("List size exceeds 6") | |
1611 | 1614 | ||
1612 | 1615 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1613 | 1616 | } | |
1614 | 1617 | let arr = t._1 | |
1615 | 1618 | let maxIdx = value(indexOf(arr, max(arr))) | |
1616 | 1619 | let delta = (t._3 - 25) | |
1617 | 1620 | func subber (acc,idx) = { | |
1618 | 1621 | let val = (arr[idx] - (if ((idx == maxIdx)) | |
1619 | 1622 | then delta | |
1620 | 1623 | else 0)) | |
1621 | 1624 | let zeroes = if ((val == 0)) | |
1622 | 1625 | then nil | |
1623 | 1626 | else split(drop(toString(pow(10, 0, val, 0, 0, DOWN)), 1), "") | |
1624 | 1627 | let c = TCHARS[idx] | |
1625 | 1628 | func listGen (ac,ignored) = (ac :+ c) | |
1626 | 1629 | ||
1627 | 1630 | let z = { | |
1628 | 1631 | let $l = zeroes | |
1629 | 1632 | let $s = size($l) | |
1630 | 1633 | let $acc0 = nil | |
1631 | 1634 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1632 | 1635 | then $a | |
1633 | 1636 | else listGen($a, $l[$i]) | |
1634 | 1637 | ||
1635 | 1638 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1636 | 1639 | then $a | |
1637 | 1640 | else throw("List size exceeds 25") | |
1638 | 1641 | ||
1639 | 1642 | $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) | |
1640 | 1643 | } | |
1641 | 1644 | (acc ++ z) | |
1642 | 1645 | } | |
1643 | 1646 | ||
1644 | 1647 | let r = { | |
1645 | 1648 | let $l = ITER6 | |
1646 | 1649 | let $s = size($l) | |
1647 | 1650 | let $acc0 = nil | |
1648 | 1651 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1649 | 1652 | then $a | |
1650 | 1653 | else subber($a, $l[$i]) | |
1651 | 1654 | ||
1652 | 1655 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1653 | 1656 | then $a | |
1654 | 1657 | else throw("List size exceeds 6") | |
1655 | 1658 | ||
1656 | 1659 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1657 | 1660 | } | |
1658 | 1661 | func permut (acc,j) = (acc + r[j]) | |
1659 | 1662 | ||
1660 | 1663 | let $l = PERM25 | |
1661 | 1664 | let $s = size($l) | |
1662 | 1665 | let $acc0 = "" | |
1663 | 1666 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1664 | 1667 | then $a | |
1665 | 1668 | else permut($a, $l[$i]) | |
1666 | 1669 | ||
1667 | 1670 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1668 | 1671 | then $a | |
1669 | 1672 | else throw("List size exceeds 25") | |
1670 | 1673 | ||
1671 | 1674 | $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) | |
1672 | 1675 | } | |
1673 | 1676 | ||
1674 | 1677 | ||
1675 | 1678 | func getBackpack (bpKey) = { | |
1676 | 1679 | let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
1677 | 1680 | [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES)) | |
1678 | 1681 | then p[bpIdxRes] | |
1679 | 1682 | else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES)) | |
1680 | 1683 | then p[bpIdxMat] | |
1681 | 1684 | else "0_0_0_0_0_0", p[bpIdxProd]] | |
1682 | 1685 | } | |
1683 | 1686 | ||
1684 | 1687 | ||
1685 | 1688 | func getWarehouseTotalVolume (volPrefix) = { | |
1686 | 1689 | let parts = split(volPrefix, "_") | |
1687 | 1690 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
1688 | 1691 | } | |
1689 | 1692 | ||
1690 | 1693 | ||
1691 | 1694 | func getWarehouseOccupiedVol (currentWh) = { | |
1692 | 1695 | let goods = currentWh[whIdxProd] | |
1693 | 1696 | func sumResMat (acc,item) = (acc + parseIntValue(item)) | |
1694 | 1697 | ||
1695 | 1698 | func sumProd (acc,item) = { | |
1696 | 1699 | let idx = acc._1 | |
1697 | 1700 | let pkgs = (((parseIntValue(item) + PRODUCTPKGSIZE) - 1) / PRODUCTPKGSIZE) | |
1698 | 1701 | $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8))) | |
1699 | 1702 | } | |
1700 | 1703 | ||
1701 | 1704 | let whResVol = { | |
1702 | 1705 | let $l = split(currentWh[whIdxRes], "_") | |
1703 | 1706 | let $s = size($l) | |
1704 | 1707 | let $acc0 = 0 | |
1705 | 1708 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1706 | 1709 | then $a | |
1707 | 1710 | else sumResMat($a, $l[$i]) | |
1708 | 1711 | ||
1709 | 1712 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1710 | 1713 | then $a | |
1711 | 1714 | else throw("List size exceeds 6") | |
1712 | 1715 | ||
1713 | 1716 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1714 | 1717 | } | |
1715 | 1718 | let whMatVol = { | |
1716 | 1719 | let $l = split(currentWh[whIdxMat], "_") | |
1717 | 1720 | let $s = size($l) | |
1718 | 1721 | let $acc0 = 0 | |
1719 | 1722 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1720 | 1723 | then $a | |
1721 | 1724 | else sumResMat($a, $l[$i]) | |
1722 | 1725 | ||
1723 | 1726 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1724 | 1727 | then $a | |
1725 | 1728 | else throw("List size exceeds 6") | |
1726 | 1729 | ||
1727 | 1730 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1728 | 1731 | } | |
1729 | 1732 | let whGoodsVol = if ((goods == "")) | |
1730 | 1733 | then 0 | |
1731 | 1734 | else ( let $l = split_4C(goods, "_") | |
1732 | 1735 | let $s = size($l) | |
1733 | 1736 | let $acc0 = $Tuple2(0, 0) | |
1734 | 1737 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1735 | 1738 | then $a | |
1736 | 1739 | else sumProd($a, $l[$i]) | |
1737 | 1740 | ||
1738 | 1741 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1739 | 1742 | then $a | |
1740 | 1743 | else throw("List size exceeds 50") | |
1741 | 1744 | ||
1742 | 1745 | $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 | |
1743 | 1746 | ((whResVol + whMatVol) + whGoodsVol) | |
1744 | 1747 | } | |
1745 | 1748 | ||
1746 | 1749 | ||
1747 | 1750 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
1748 | 1751 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
1749 | 1752 | let whTotal = getWarehouseTotalVolume(volPrefix) | |
1750 | 1753 | let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0")) | |
1751 | 1754 | let wh = split_4C(whStr, ":") | |
1752 | 1755 | let whOccupied = getWarehouseOccupiedVol(wh) | |
1753 | 1756 | let whLoft = if ((5 > size(wh))) | |
1754 | 1757 | then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_") | |
1755 | 1758 | else { | |
1756 | 1759 | let loft = split(wh[whIdxLOFT], "_") | |
1757 | 1760 | let whLocked = parseIntValue(loft[volLocked]) | |
1758 | 1761 | let occ = if ((size(loft) > 1)) | |
1759 | 1762 | then parseIntValue(loft[volOccupied]) | |
1760 | 1763 | else whOccupied | |
1761 | 1764 | makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_") | |
1762 | 1765 | } | |
1763 | 1766 | [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES)) | |
1764 | 1767 | then wh[whIdxRes] | |
1765 | 1768 | else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES)) | |
1766 | 1769 | then wh[whIdxMat] | |
1767 | 1770 | else "0_0_0_0_0_0", wh[whIdxProd], whLoft] | |
1768 | 1771 | } | |
1769 | 1772 | ||
1770 | 1773 | ||
1771 | 1774 | func getWarehouseSpaceLeft (currentWh) = { | |
1772 | 1775 | let occupiedVol = getWarehouseOccupiedVol(currentWh) | |
1773 | 1776 | let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked]) | |
1774 | 1777 | ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol) | |
1775 | 1778 | } | |
1776 | 1779 | ||
1777 | 1780 | ||
1778 | 1781 | func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3)) | |
1779 | 1782 | then throw("cargoListStr should contain exactly 2 ':' separators") | |
1780 | 1783 | else { | |
1781 | 1784 | let resParts = split(cargoParts[0], "_") | |
1782 | 1785 | let matParts = split(cargoParts[1], "_") | |
1783 | 1786 | let prodParts = if ((cargoParts[2] == "")) | |
1784 | 1787 | then nil | |
1785 | 1788 | else split_4C(cargoParts[2], "_") | |
1786 | 1789 | if ((size(resParts) != NUMRES)) | |
1787 | 1790 | then throw("All 6 resources should be passed") | |
1788 | 1791 | else if ((size(matParts) != NUMRES)) | |
1789 | 1792 | then throw("All 6 materials should be passed") | |
1790 | 1793 | else { | |
1791 | 1794 | let whSpaceLeft = getWarehouseSpaceLeft(currentWh) | |
1792 | 1795 | let currWhRes = split(currentWh[whIdxRes], "_") | |
1793 | 1796 | let currWhMat = split(currentWh[whIdxMat], "_") | |
1794 | 1797 | let currWhProd = if ((currentWh[whIdxProd] == "")) | |
1795 | 1798 | then nil | |
1796 | 1799 | else split_4C(currentWh[whIdxProd], "_") | |
1797 | 1800 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
1798 | 1801 | let currentPackMat = split(currentPack[bpIdxMat], "_") | |
1799 | 1802 | let currentPackProd = if ((currentPack[bpIdxProd] == "")) | |
1800 | 1803 | then nil | |
1801 | 1804 | else split_4C(currentPack[bpIdxProd], "_") | |
1802 | 1805 | func mvR (acc,item) = { | |
1803 | 1806 | let i = acc._1 | |
1804 | 1807 | let am = parseIntValue(item) | |
1805 | 1808 | let whr = parseIntValue(currWhRes[i]) | |
1806 | 1809 | let bpr = parseIntValue(currentPackRes[i]) | |
1807 | 1810 | if ((am == 0)) | |
1808 | 1811 | then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4) | |
1809 | 1812 | else if ((am > 0)) | |
1810 | 1813 | then if ((am > bpr)) | |
1811 | 1814 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available")) | |
1812 | 1815 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
1813 | 1816 | else if ((-(am) > whr)) | |
1814 | 1817 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available")) | |
1815 | 1818 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
1816 | 1819 | } | |
1817 | 1820 | ||
1818 | 1821 | let r = { | |
1819 | 1822 | let $l = resParts | |
1820 | 1823 | let $s = size($l) | |
1821 | 1824 | let $acc0 = $Tuple4(0, nil, nil, 0) | |
1822 | 1825 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1823 | 1826 | then $a | |
1824 | 1827 | else mvR($a, $l[$i]) | |
1825 | 1828 | ||
1826 | 1829 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1827 | 1830 | then $a | |
1828 | 1831 | else throw("List size exceeds 6") | |
1829 | 1832 | ||
1830 | 1833 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1831 | 1834 | } | |
1832 | 1835 | func mvM (acc,item) = { | |
1833 | 1836 | let i = acc._1 | |
1834 | 1837 | let am = parseIntValue(item) | |
1835 | 1838 | let whm = parseIntValue(currWhMat[i]) | |
1836 | 1839 | let bpm = parseIntValue(currentPackMat[i]) | |
1837 | 1840 | if ((am == 0)) | |
1838 | 1841 | then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4) | |
1839 | 1842 | else if ((am > 0)) | |
1840 | 1843 | then if ((am > bpm)) | |
1841 | 1844 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available")) | |
1842 | 1845 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
1843 | 1846 | else if ((-(am) > whm)) | |
1844 | 1847 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available")) | |
1845 | 1848 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
1846 | 1849 | } | |
1847 | 1850 | ||
1848 | 1851 | let m = { | |
1849 | 1852 | let $l = matParts | |
1850 | 1853 | let $s = size($l) | |
1851 | 1854 | let $acc0 = $Tuple4(0, nil, nil, r._4) | |
1852 | 1855 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
1853 | 1856 | then $a | |
1854 | 1857 | else mvM($a, $l[$i]) | |
1855 | 1858 | ||
1856 | 1859 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
1857 | 1860 | then $a | |
1858 | 1861 | else throw("List size exceeds 6") | |
1859 | 1862 | ||
1860 | 1863 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
1861 | 1864 | } | |
1862 | 1865 | func mvP (acc,item) = { | |
1863 | 1866 | let i = acc._1 | |
1864 | 1867 | let am = parseIntValue(item) | |
1865 | 1868 | let whp = if ((size(currWhProd) > i)) | |
1866 | 1869 | then parseIntValue(currWhProd[i]) | |
1867 | 1870 | else 0 | |
1868 | 1871 | let bpp = if ((size(currentPackProd) > i)) | |
1869 | 1872 | then parseIntValue(currentPackProd[i]) | |
1870 | 1873 | else 0 | |
1871 | 1874 | if ((am == 0)) | |
1872 | 1875 | then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4) | |
1873 | 1876 | else if ((am > 0)) | |
1874 | 1877 | then if ((am > bpp)) | |
1875 | 1878 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available")) | |
1876 | 1879 | else { | |
1877 | 1880 | let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE)) | |
1878 | 1881 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
1879 | 1882 | } | |
1880 | 1883 | else if ((-(am) > whp)) | |
1881 | 1884 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available")) | |
1882 | 1885 | else { | |
1883 | 1886 | let deltaVol = (toVolume((whp + am), PRODUCTPKGSIZE) - toVolume(whp, PRODUCTPKGSIZE)) | |
1884 | 1887 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
1885 | 1888 | } | |
1886 | 1889 | } | |
1887 | 1890 | ||
1888 | 1891 | let p = if ((size(prodParts) != 0)) | |
1889 | 1892 | then { | |
1890 | 1893 | let $l = prodParts | |
1891 | 1894 | let $s = size($l) | |
1892 | 1895 | let $acc0 = $Tuple4(0, nil, nil, m._4) | |
1893 | 1896 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
1894 | 1897 | then $a | |
1895 | 1898 | else mvP($a, $l[$i]) | |
1896 | 1899 | ||
1897 | 1900 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1898 | 1901 | then $a | |
1899 | 1902 | else throw("List size exceeds 50") | |
1900 | 1903 | ||
1901 | 1904 | $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) | |
1902 | 1905 | } | |
1903 | 1906 | else $Tuple4(0, currWhProd, currentPackProd, m._4) | |
1904 | 1907 | let volSaldo = p._4 | |
1905 | 1908 | if ((volSaldo > whSpaceLeft)) | |
1906 | 1909 | then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left")) | |
1907 | 1910 | else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString_2C(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString_2C(p._3, "_"), volSaldo) | |
1908 | 1911 | } | |
1909 | 1912 | } | |
1910 | 1913 | ||
1911 | 1914 | ||
1912 | 1915 | func expeditionInternal (caller,txId) = { | |
1913 | 1916 | let userAddr = toString(caller) | |
1914 | 1917 | let bigNum = abs(toBigInt(txId)) | |
1915 | 1918 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
1916 | 1919 | let landNum = toString(freeNum) | |
1917 | 1920 | let continentIdx = toInt((bigNum % FIVEX)) | |
1918 | 1921 | let terrains = genTerrains(bigNum, continentIdx) | |
1919 | 1922 | let continent = continents[continentIdx] | |
1920 | 1923 | let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false) | |
1921 | 1924 | let assetId = calculateAssetId(issue) | |
1922 | 1925 | let id = toBase58String(assetId) | |
1923 | 1926 | $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)) | |
1924 | 1927 | } | |
1925 | 1928 | ||
1926 | 1929 | ||
1927 | 1930 | func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub))) | |
1928 | 1931 | then throw("signature does not match") | |
1929 | 1932 | else { | |
1930 | 1933 | let parts = split_4C(toUtf8String(message), ";") | |
1931 | 1934 | let flightLog = split_4C(parts[0], "|") | |
1932 | 1935 | let hp = split(flightLog[flHealth], "_") | |
1933 | 1936 | let curHP = parseIntValue(hp[0]) | |
1934 | 1937 | let newHP = parseIntValue(hp[1]) | |
1935 | 1938 | let newLocTxVer = split(parts[1], ":") | |
1936 | 1939 | let newLocation = newLocTxVer[0] | |
1937 | 1940 | let time = parseIntValue(flightLog[flTimestamp]) | |
1938 | 1941 | if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS))) | |
1939 | 1942 | then true | |
1940 | 1943 | else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time)) | |
1941 | 1944 | then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp))) | |
1942 | 1945 | else { | |
1943 | 1946 | let txFromMsg = newLocTxVer[1] | |
1944 | 1947 | let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "") | |
1945 | 1948 | if ((lastTx != txFromMsg)) | |
1946 | 1949 | then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg)) | |
1947 | 1950 | else { | |
1948 | 1951 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
1949 | 1952 | let keyHealth = keyDuckHealth(duckAssetId) | |
1950 | 1953 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
1951 | 1954 | let oldFromState = valueOrElse(getInteger(keyHealth), maxHP) | |
1952 | 1955 | if ((oldFromState != curHP)) | |
1953 | 1956 | then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP))) | |
1954 | 1957 | else if ((0 >= curHP)) | |
1955 | 1958 | then throw("You can't fly with zero health") | |
1956 | 1959 | else if (!(canWearCurrentEquipment(duckAssetId))) | |
1957 | 1960 | then throw("Equipment incompatible") | |
1958 | 1961 | else { | |
1959 | 1962 | let bonus = if ((size(flightLog) > flBonus)) | |
1960 | 1963 | then flightLog[flBonus] | |
1961 | 1964 | else "" | |
1962 | 1965 | let prodUsed = if ((size(flightLog) > flProdsUsed)) | |
1963 | 1966 | then flightLog[flProdsUsed] | |
1964 | 1967 | else "" | |
1965 | 1968 | let sentAmount = if (if ((newHP > 0)) | |
1966 | 1969 | then (bonus == "$") | |
1967 | 1970 | else false) | |
1968 | 1971 | then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil)) | |
1969 | 1972 | else 0 | |
1970 | 1973 | $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed) | |
1971 | 1974 | } | |
1972 | 1975 | } | |
1973 | 1976 | } | |
1974 | 1977 | } | |
1975 | 1978 | ||
1976 | 1979 | ||
1977 | 1980 | func applyBonuses (landAssetId,pieces) = { | |
1978 | 1981 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1979 | 1982 | let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
1980 | 1983 | let add6 = (infraLevel / 6) | |
1981 | 1984 | let add7 = (infraLevel / 7) | |
1982 | 1985 | ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5))) | |
1983 | 1986 | } | |
1984 | 1987 | ||
1985 | 1988 | ||
1986 | 1989 | func checkClaimConditions (addr,claimMode,landAssetIdIn) = { | |
1987 | - | let $ | |
1990 | + | let $t03670137240 = if ((claimMode == claimModeWh)) | |
1988 | 1991 | then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), "")) | |
1989 | 1992 | else { | |
1990 | 1993 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1991 | 1994 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
1992 | 1995 | let loc = split(value(curLocation), "_") | |
1993 | 1996 | if ((loc[locIdxType] != "L")) | |
1994 | 1997 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1995 | 1998 | else $Tuple2(loc[locIdxId], duckAssetId) | |
1996 | 1999 | } | |
1997 | - | let landAssetId = $ | |
1998 | - | let duckId = $ | |
2000 | + | let landAssetId = $t03670137240._1 | |
2001 | + | let duckId = $t03670137240._2 | |
1999 | 2002 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2000 | 2003 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2001 | 2004 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked")) | |
2002 | 2005 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
2003 | 2006 | if ((owner != addr)) | |
2004 | 2007 | then throw((LANDPREFIX + " is not yours")) | |
2005 | 2008 | else { | |
2006 | 2009 | let d = split(asset.description, "_") | |
2007 | 2010 | $Tuple4(duckId, landAssetId, d, savedTime) | |
2008 | 2011 | } | |
2009 | 2012 | } | |
2010 | 2013 | ||
2011 | 2014 | ||
2012 | 2015 | func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount)) | |
2013 | 2016 | then throw("Negative amount") | |
2014 | 2017 | else { | |
2015 | 2018 | let c = checkClaimConditions(addr, claimMode, landAssetIdIn) | |
2016 | 2019 | let landSize = c._3[recLandSize] | |
2017 | 2020 | let terrainCounts = countTerrains(c._3[recTerrains]) | |
2018 | 2021 | let deltaTime = (lastBlock.timestamp - c._4) | |
2019 | 2022 | if ((0 > deltaTime)) | |
2020 | 2023 | then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
2021 | 2024 | else { | |
2022 | 2025 | let pieces = numPiecesBySize(landSize) | |
2023 | 2026 | let dailyProductionByPiece = applyBonuses(c._2, pieces) | |
2024 | 2027 | let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS) | |
2025 | 2028 | if ((amount > availRes)) | |
2026 | 2029 | then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount))) | |
2027 | 2030 | else { | |
2028 | 2031 | let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces)) | |
2029 | 2032 | let newTimestamp = (lastBlock.timestamp - newDeltaTime) | |
2030 | 2033 | let landIndex = (pieces / SSIZE) | |
2031 | 2034 | let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece) | |
2032 | 2035 | let whKey = keyWarehouseByLand(c._2) | |
2033 | 2036 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0) | |
2034 | 2037 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
2035 | 2038 | let loft = split(currentWh[whIdxLOFT], "_") | |
2036 | 2039 | let whSpaceLeft = parseIntValue(loft[volFree]) | |
2037 | 2040 | if (if ((claimMode == claimModeWh)) | |
2038 | 2041 | then (amount > whSpaceLeft) | |
2039 | 2042 | else false) | |
2040 | 2043 | then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse")) | |
2041 | 2044 | else { | |
2042 | 2045 | let bpKey = keyBackpackByDuck(c._1) | |
2043 | 2046 | let currentPack = getBackpack(bpKey) | |
2044 | 2047 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
2045 | 2048 | let currentWhRes = split(currentWh[whIdxRes], "_") | |
2046 | - | let $ | |
2049 | + | let $t03961440485 = if ((claimMode == claimModeWh)) | |
2047 | 2050 | then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2)) | |
2048 | 2051 | else if ((claimMode == claimModeDuck)) | |
2049 | 2052 | then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree])) | |
2050 | 2053 | else { | |
2051 | 2054 | let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft) | |
2052 | 2055 | let whAm = min([parseIntValue(loft[volFree]), resToClaim._2]) | |
2053 | 2056 | $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm)) | |
2054 | 2057 | } | |
2055 | - | let whRes = $ | |
2056 | - | let bpRes = $ | |
2057 | - | let loftO = $ | |
2058 | - | let loftF = $ | |
2058 | + | let whRes = $t03961440485._1 | |
2059 | + | let bpRes = $t03961440485._2 | |
2060 | + | let loftO = $t03961440485._3 | |
2061 | + | let loftF = $t03961440485._4 | |
2059 | 2062 | $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]], "_")]) | |
2060 | 2063 | } | |
2061 | 2064 | } | |
2062 | 2065 | } | |
2063 | 2066 | } | |
2064 | 2067 | ||
2065 | 2068 | ||
2066 | 2069 | func claimAll (addr,landAssetId,pieces,claimMode) = { | |
2067 | 2070 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2068 | 2071 | let savedTime = value(getInteger(timeKey)) | |
2069 | 2072 | let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces) | |
2070 | 2073 | claimResInternal(addr, availRes, claimMode, landAssetId) | |
2071 | 2074 | } | |
2072 | 2075 | ||
2073 | 2076 | ||
2074 | 2077 | func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = { | |
2075 | 2078 | let addr = toString(caller) | |
2076 | 2079 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId) | |
2077 | 2080 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
2078 | 2081 | let infraKey = keyInfraLevelByAssetId(c._2) | |
2079 | 2082 | let curLevel = valueOrElse(getInteger(infraKey), 0) | |
2080 | 2083 | if (if (!(KS_ALLOW_BIG_INFRA_MERGE)) | |
2081 | 2084 | then (curLevel >= 3) | |
2082 | 2085 | else false) | |
2083 | 2086 | then throw("Currently max infrastructure level = 3") | |
2084 | 2087 | else { | |
2085 | 2088 | let maxInfra = ((sqrt(pieces, 0, 0, DOWN) / 5) + 2) | |
2086 | 2089 | let newLevel = (curLevel + 1) | |
2087 | 2090 | if (if (KS_ALLOW_BIG_INFRA_MERGE) | |
2088 | 2091 | then (newLevel > maxInfra) | |
2089 | 2092 | else false) | |
2090 | 2093 | then throw(("Currently max infrastructure level = " + toString(maxInfra))) | |
2091 | 2094 | else { | |
2092 | 2095 | let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE) | |
2093 | 2096 | if (if (!(shouldUseMat)) | |
2094 | 2097 | then (paymentAmount != cost) | |
2095 | 2098 | else false) | |
2096 | 2099 | then throw(("Payment attached should be " + toString(cost))) | |
2097 | 2100 | else { | |
2098 | 2101 | let bpKey = keyBackpackByDuck(c._1) | |
2099 | 2102 | let currentPack = getBackpack(bpKey) | |
2100 | 2103 | let mList = split(currentPack[bpIdxMat], "_") | |
2101 | 2104 | let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE) | |
2102 | 2105 | let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_") | |
2103 | 2106 | let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck) | |
2104 | 2107 | let whData = claimResult._5 | |
2105 | 2108 | let oldVol = getWarehouseTotalVolume(whData[whIdxLevels]) | |
2106 | 2109 | let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_") | |
2107 | 2110 | let newVol = getWarehouseTotalVolume(newVolData) | |
2108 | 2111 | let loft = split(whData[whIdxLOFT], "_") | |
2109 | 2112 | let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_") | |
2110 | 2113 | $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) | |
2111 | 2114 | } | |
2112 | 2115 | } | |
2113 | 2116 | } | |
2114 | 2117 | } | |
2115 | 2118 | ||
2116 | 2119 | ||
2117 | 2120 | func updateStatsInternal (lvlKey,xpKey,pointsKey,deltaXP) = { | |
2118 | 2121 | let xp = valueOrElse(getInteger(xpKey), 0) | |
2119 | 2122 | let newXP = (xp + deltaXP) | |
2120 | 2123 | let lvlPoints = levelUp(valueOrElse(getInteger(lvlKey), 0), newXP) | |
2121 | 2124 | $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(pointsKey, (valueOrElse(getInteger(pointsKey), 0) + lvlPoints[1]))], newXP) | |
2122 | 2125 | } | |
2123 | 2126 | ||
2124 | 2127 | ||
2125 | 2128 | func updateDuckStatsInternal (duckAssetId,deltaXP) = updateStatsInternal(keyDuckLevel(duckAssetId), keyDuckXP(duckAssetId), keyDuckFreePoints(duckAssetId), deltaXP) | |
2126 | 2129 | ||
2127 | 2130 | ||
2128 | 2131 | func updateAccStatsInternal (addr,deltaXP) = updateStatsInternal(keyUserLevel(addr), keyUserXP(addr), keyUserFreePoints(addr), deltaXP) | |
2129 | 2132 | ||
2130 | 2133 | ||
2131 | 2134 | func activateOnboardArt (addr) = { | |
2132 | 2135 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2133 | 2136 | let refByKey = keyAddressRefBy(addr) | |
2134 | 2137 | let refBy = getString(refByKey) | |
2135 | 2138 | if (!(isDefined(refBy))) | |
2136 | 2139 | then throw("You are not eligible for ONBOARD artifact") | |
2137 | 2140 | else { | |
2138 | 2141 | let artKey = keyOnboardArtDuckActivatedBy(addr) | |
2139 | 2142 | let artDuck = getString(artKey) | |
2140 | 2143 | if (isDefined(artDuck)) | |
2141 | 2144 | then throw(("You already used your ONBOARD artifact on duck " + value(artDuck))) | |
2142 | 2145 | else { | |
2143 | 2146 | let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId) | |
2144 | 2147 | let duckActivator = getString(duckActivatorKey) | |
2145 | 2148 | if (isDefined(duckActivator)) | |
2146 | 2149 | then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator))) | |
2147 | 2150 | else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1) | |
2148 | 2151 | } | |
2149 | 2152 | } | |
2150 | 2153 | } | |
2151 | 2154 | ||
2152 | 2155 | ||
2153 | 2156 | func activatePresaleArt (addr,landAssetIdIn) = { | |
2154 | 2157 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn) | |
2155 | 2158 | let landAssetId = c._2 | |
2156 | 2159 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
2157 | 2160 | let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId) | |
2158 | 2161 | if ((valueOrElse(getInteger(activationKey), 0) > 0)) | |
2159 | 2162 | then throw("Presale artifact is already activated") | |
2160 | 2163 | else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS)) | |
2161 | 2164 | then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact")) | |
2162 | 2165 | else { | |
2163 | 2166 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck) | |
2164 | 2167 | (((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":"))) | |
2165 | 2168 | } | |
2166 | 2169 | } | |
2167 | 2170 | ||
2168 | 2171 | ||
2169 | 2172 | func checkTournament (duckAssetId) = { | |
2170 | 2173 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
2171 | 2174 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
2172 | 2175 | let now = lastBlock.timestamp | |
2173 | 2176 | let tData = getTourData(tournamentContract, lastId) | |
2174 | 2177 | let static = tData[idxStatic] | |
2175 | 2178 | let dynamic = tData[idxDynamic] | |
2176 | 2179 | if ((curLocation[locIdxType] != "T")) | |
2177 | 2180 | then false | |
2178 | 2181 | else if (if (if ((parseIntValue(curLocation[locIdxContinent]) == lastId)) | |
2179 | 2182 | then (dynamic[tDynamicStatus] == "INPROGRESS") | |
2180 | 2183 | else false) | |
2181 | 2184 | then (parseIntValue(static[tStaticEnd]) > now) | |
2182 | 2185 | else false) | |
2183 | 2186 | then throw("Your duck is taking part in the tournament") | |
2184 | 2187 | else asBoolean(invoke(this, "exitTournamentInternal", [duckAssetId], nil)) | |
2185 | 2188 | } | |
2186 | 2189 | ||
2187 | 2190 | ||
2188 | 2191 | func checkDelivery (duckAssetId) = { | |
2189 | 2192 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
2190 | 2193 | let now = lastBlock.timestamp | |
2191 | 2194 | if ((curLocation[locIdxType] != "D")) | |
2192 | 2195 | then false | |
2193 | 2196 | else { | |
2194 | 2197 | let startTime = parseIntValue(curLocation[locIdxContinent]) | |
2195 | 2198 | let distance = parseIntValue(curLocation[locIdxId]) | |
2196 | 2199 | if (if (((startTime + TEN_MINUTES_MILLIS) > now)) | |
2197 | 2200 | then (1 > distance) | |
2198 | 2201 | else false) | |
2199 | 2202 | then throw("Your duck is on delivery mission") | |
2200 | 2203 | else asBoolean(invoke(this, "exitDeliveryInternal", [duckAssetId], nil)) | |
2201 | 2204 | } | |
2202 | 2205 | } | |
2203 | 2206 | ||
2204 | 2207 | ||
2205 | 2208 | func exitDeliveryCommon (duckAssetId,check,newHP,score) = { | |
2206 | 2209 | let curLocation = split(valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION), "_") | |
2207 | 2210 | let now = lastBlock.timestamp | |
2208 | 2211 | let startTime = parseIntValue(curLocation[locIdxContinent]) | |
2209 | 2212 | let distance = parseIntValue(curLocation[locIdxId]) | |
2210 | 2213 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(duckAssetId)), "NFT duck is orphaned") | |
2211 | 2214 | let healthKey = keyDuckHealth(duckAssetId) | |
2212 | 2215 | let curHealth = getIntegerValue(healthKey) | |
2213 | 2216 | let outcomeActions = if (if ((distance > 0)) | |
2214 | 2217 | then true | |
2215 | 2218 | else if (if (check) | |
2216 | 2219 | then (score > 0) | |
2217 | 2220 | else false) | |
2218 | 2221 | then (newHP > 0) | |
2219 | 2222 | else false) | |
2220 | 2223 | then { | |
2221 | 2224 | let reward = invoke(economyContract, "sendDeliveryReward", [owner], nil) | |
2222 | 2225 | if ((reward == reward)) | |
2223 | 2226 | then { | |
2224 | 2227 | let countKey = keyUserDeliveryCount(owner) | |
2225 | 2228 | [IntegerEntry(countKey, (valueOrElse(getInteger(countKey), 0) + 1)), IntegerEntry(keyUserLastDeliveryDay(owner), (startTime / DAYMILLIS))] | |
2226 | 2229 | } | |
2227 | 2230 | else throw("Strict value is not equal to itself.") | |
2228 | 2231 | } | |
2229 | 2232 | else if (if (if (check) | |
2230 | 2233 | then (newHP > 0) | |
2231 | 2234 | else false) | |
2232 | 2235 | then ((startTime + TEN_MINUTES_MILLIS) > now) | |
2233 | 2236 | else false) | |
2234 | 2237 | then throw("Your duck is still on delivery mission") | |
2235 | 2238 | else { | |
2236 | 2239 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
2237 | 2240 | let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil) | |
2238 | 2241 | if ((unlock == unlock)) | |
2239 | 2242 | then if (if (if (check) | |
2240 | 2243 | then (0 >= newHP) | |
2241 | 2244 | else false) | |
2242 | 2245 | then true | |
2243 | 2246 | else (0 >= curHealth)) | |
2244 | 2247 | then nil | |
2245 | 2248 | else [IntegerEntry(keyDeliveryDelayByDuck(duckAssetId), (startTime + DELIVERY_PUNISHMENT))] | |
2246 | 2249 | else throw("Strict value is not equal to itself.") | |
2247 | 2250 | } | |
2248 | 2251 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
2249 | 2252 | $Tuple3(outcomeActions, [StringEntry(keyDuckLocation(duckAssetId), savedLocation)], savedLocation) | |
2250 | 2253 | } | |
2251 | 2254 | ||
2252 | 2255 | ||
2253 | 2256 | func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,needMat) = { | |
2254 | 2257 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2255 | 2258 | if (checkTournament(duckAssetId)) | |
2256 | 2259 | then throw("mergeInternal_checkTournament") | |
2257 | 2260 | else if (checkDelivery(duckAssetId)) | |
2258 | 2261 | then throw("mergeInternal_checkDelivery") | |
2259 | 2262 | else { | |
2260 | 2263 | func checkMerge (acc,landAssetId) = { | |
2261 | 2264 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2262 | 2265 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2263 | 2266 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked")) | |
2264 | 2267 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
2265 | 2268 | if ((owner != addr)) | |
2266 | 2269 | then throw((LANDPREFIX + " is not yours")) | |
2267 | 2270 | else { | |
2268 | 2271 | let d = split(asset.description, "_") | |
2269 | 2272 | let continent = d[recContinent] | |
2270 | 2273 | if (if ((acc._3 != "")) | |
2271 | 2274 | then (acc._3 != continent) | |
2272 | 2275 | else false) | |
2273 | 2276 | then throw("Lands should be on the same continent to merge") | |
2274 | 2277 | else { | |
2275 | 2278 | let landSize = d[recLandSize] | |
2276 | 2279 | let sizesIn = acc._1 | |
2277 | 2280 | let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed") | |
2278 | 2281 | let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1))) | |
2279 | 2282 | let pieces = numPiecesBySize(landSize) | |
2280 | 2283 | let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)) | |
2281 | 2284 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2282 | 2285 | let reqLevel = match landSize { | |
2283 | 2286 | case _ => | |
2284 | 2287 | if (("S" == $match0)) | |
2285 | 2288 | then 3 | |
2286 | 2289 | else if (("M" == $match0)) | |
2287 | 2290 | then 4 | |
2288 | 2291 | else if (("L" == $match0)) | |
2289 | 2292 | then 5 | |
2290 | 2293 | else if (("XL" == $match0)) | |
2291 | 2294 | then 6 | |
2292 | 2295 | else throw("Only S, M, L, XL can merge") | |
2293 | 2296 | } | |
2294 | 2297 | if ((infraLevel != reqLevel)) | |
2295 | 2298 | then throw("All lands should be maxed to merge") | |
2296 | 2299 | else { | |
2297 | 2300 | let landNum = d[recLandNum] | |
2298 | 2301 | let terrainCounts = countTerrains(d[recTerrains]) | |
2299 | 2302 | let deltaTime = (lastBlock.timestamp - savedTime) | |
2300 | 2303 | if ((0 > deltaTime)) | |
2301 | 2304 | then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp))) | |
2302 | 2305 | else { | |
2303 | 2306 | let dailyProductionByPiece = applyBonuses(landAssetId, pieces) | |
2304 | 2307 | let landIndex = (pieces / SSIZE) | |
2305 | 2308 | let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece) | |
2306 | 2309 | let props = updateProportionsInternal(acc._6, terrainCounts, landIndex, -1) | |
2307 | 2310 | let cProps = updateProportionsInternal(acc._10, terrainCounts, landIndex, -1) | |
2308 | 2311 | let sumTerrains = updateProportionsInternal(acc._9, terrainCounts, landIndex, 1) | |
2309 | 2312 | let lands = acc._7 | |
2310 | 2313 | let idx = indexOf(lands, landAssetId) | |
2311 | 2314 | if (!(isDefined(idx))) | |
2312 | 2315 | then throw(("Your staked lands don't contain " + landAssetId)) | |
2313 | 2316 | else { | |
2314 | 2317 | let customKey = keyLandAssetIdToCustomName(landAssetId) | |
2315 | 2318 | let customName = valueOrElse(getString(customKey), "") | |
2316 | 2319 | $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 != "")) | |
2317 | 2320 | then [DeleteEntry(keyLandCustomNameToAssetId(customName))] | |
2318 | 2321 | else nil)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces), sumTerrains, cProps) | |
2319 | 2322 | } | |
2320 | 2323 | } | |
2321 | 2324 | } | |
2322 | 2325 | } | |
2323 | 2326 | } | |
2324 | 2327 | } | |
2325 | 2328 | ||
2326 | 2329 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2327 | 2330 | let currentPack = getBackpack(bpKey) | |
2328 | 2331 | let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_") | |
2329 | 2332 | let landsKey = keyStakedLandsByOwner(addr) | |
2330 | 2333 | let landsStr = getString(landsKey) | |
2331 | 2334 | let landsIn = if (isDefined(landsStr)) | |
2332 | 2335 | then split_51C(value(landsStr), "_") | |
2333 | 2336 | else nil | |
2334 | 2337 | let cont0 = split(value(assetInfo(fromBase58String(landAssetIds[0]))).description, "_")[recContinent] | |
2335 | 2338 | let contProps = split(valueOrElse(getString(keyResTypesByContinent(cont0)), "0_0_0_0_0_0"), "_") | |
2336 | 2339 | let r = { | |
2337 | 2340 | let $l = landAssetIds | |
2338 | 2341 | let $s = size($l) | |
2339 | 2342 | let $acc0 = $Tuple10(formula, 0, "", currentPack[bpIdxRes], nil, propList, landsIn, 0, split("0_0_0_0_0_0", "_"), contProps) | |
2340 | 2343 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
2341 | 2344 | then $a | |
2342 | 2345 | else checkMerge($a, $l[$i]) | |
2343 | 2346 | ||
2344 | 2347 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
2345 | 2348 | then $a | |
2346 | 2349 | else throw("List size exceeds 5") | |
2347 | 2350 | ||
2348 | 2351 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
2349 | 2352 | } | |
2350 | 2353 | let continent = r._3 | |
2351 | 2354 | let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent)) | |
2352 | 2355 | let terrains = genTerrainsForMerge(r._9, (numPiecesBySize(newLandSize) / SSIZE)) | |
2353 | 2356 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
2354 | 2357 | let newLandNum = toString(freeNum) | |
2355 | 2358 | let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false) | |
2356 | 2359 | let assetId = calculateAssetId(issue) | |
2357 | 2360 | let newLandAssetId = toBase58String(assetId) | |
2358 | 2361 | let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_") | |
2359 | 2362 | let piecesKey = keyStakedPiecesByOwner(addr) | |
2360 | 2363 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
2361 | 2364 | $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0)) | |
2362 | 2365 | then StringEntry(landsKey, makeString_11C(r._7, "_")) | |
2363 | 2366 | else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces)) | |
2364 | 2367 | then 0 | |
2365 | 2368 | 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) | |
2366 | 2369 | } | |
2367 | 2370 | } | |
2368 | 2371 | ||
2369 | 2372 | ||
2370 | 2373 | func s2m (addr,landAssetIds) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, 0) | |
2371 | 2374 | ||
2372 | 2375 | ||
2373 | 2376 | func m2l (addr,landAssetIds) = mergeInternal("L", 4, "SMM", addr, landAssetIds, (InfraUpgradeCostS * 4)) | |
2374 | 2377 | ||
2375 | 2378 | ||
2376 | 2379 | func l2xl (addr,landAssetIds) = mergeInternal("XL", 5, "SSSML", addr, landAssetIds, (InfraUpgradeCostS * 47)) | |
2377 | 2380 | ||
2378 | 2381 | ||
2379 | 2382 | func xl2xxl (addr,landAssetIds) = mergeInternal("XXL", 6, "LXL", addr, landAssetIds, (InfraUpgradeCostS * 54)) | |
2380 | 2383 | ||
2381 | 2384 | ||
2382 | 2385 | func mergeCommon (addr,landAssetIds) = match size(landAssetIds) { | |
2383 | 2386 | case _ => | |
2384 | 2387 | if ((4 == $match0)) | |
2385 | 2388 | then s2m(addr, landAssetIds) | |
2386 | 2389 | else if ((3 == $match0)) | |
2387 | 2390 | then m2l(addr, landAssetIds) | |
2388 | 2391 | else if ((5 == $match0)) | |
2389 | 2392 | then l2xl(addr, landAssetIds) | |
2390 | 2393 | else if ((2 == $match0)) | |
2391 | 2394 | then xl2xxl(addr, landAssetIds) | |
2392 | 2395 | else throw("Unknown merge") | |
2393 | 2396 | } | |
2394 | 2397 | ||
2395 | 2398 | ||
2396 | 2399 | func checkOutdatedDelivery (userAddr) = { | |
2397 | 2400 | let duck = getString(keyStakedDuckByOwner(userAddr)) | |
2398 | 2401 | if (isDefined(duck)) | |
2399 | 2402 | then { | |
2400 | 2403 | let duckAssetId = value(duck) | |
2401 | 2404 | let locKey = keyDuckLocation(duckAssetId) | |
2402 | 2405 | let loc = split(valueOrElse(getString(locKey), DEFAULTLOCATION), "_") | |
2403 | 2406 | let startTime = parseIntValue(loc[locIdxContinent]) | |
2404 | 2407 | if (if ((loc[locIdxType] != "D")) | |
2405 | 2408 | then true | |
2406 | 2409 | else ((startTime + TEN_MINUTES_MILLIS) > lastBlock.timestamp)) | |
2407 | 2410 | then nil | |
2408 | 2411 | else { | |
2409 | 2412 | let healthKey = keyDuckHealth(duckAssetId) | |
2410 | 2413 | if ((parseIntValue(loc[locIdxId]) > 0)) | |
2411 | 2414 | then { | |
2412 | 2415 | let reward = invoke(economyContract, "sendDeliveryReward", [userAddr], nil) | |
2413 | 2416 | if ((reward == reward)) | |
2414 | 2417 | then nil | |
2415 | 2418 | else throw("Strict value is not equal to itself.") | |
2416 | 2419 | } | |
2417 | 2420 | else (({ | |
2418 | 2421 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
2419 | 2422 | let unlock = invoke(economyContract, "updateDeliveryLocked", [(lockedTotal - MIN_USDT_FEE_DELIVERY)], nil) | |
2420 | 2423 | if ((unlock == unlock)) | |
2421 | 2424 | then if ((0 >= getIntegerValue(healthKey))) | |
2422 | 2425 | then nil | |
2423 | 2426 | else { | |
2424 | 2427 | let punishment = invoke(this, "saveInteger", [keyDeliveryDelayByDuck(duckAssetId), (startTime + DELIVERY_PUNISHMENT)], nil) | |
2425 | 2428 | if ((punishment == punishment)) | |
2426 | 2429 | then nil | |
2427 | 2430 | else throw("Strict value is not equal to itself.") | |
2428 | 2431 | } | |
2429 | 2432 | else throw("Strict value is not equal to itself.") | |
2430 | 2433 | } :+ IntegerEntry(healthKey, getIntegerValue(keySavedHealth(duckAssetId)))) :+ StringEntry(locKey, getStringValue(keySavedLocation(duckAssetId)))) | |
2431 | 2434 | } | |
2432 | 2435 | } | |
2433 | 2436 | else nil | |
2434 | 2437 | } | |
2435 | 2438 | ||
2436 | 2439 | ||
2437 | 2440 | func prolog (i) = if (if ((i.originCaller != restContract)) | |
2438 | 2441 | then valueOrElse(getBoolean(keyBlocked()), false) | |
2439 | 2442 | else false) | |
2440 | 2443 | then throw("Contracts are under maintenance") | |
2441 | 2444 | else { | |
2442 | 2445 | let userAddr = toString(i.originCaller) | |
2443 | 2446 | (checkOutdatedDelivery(userAddr) :+ StringEntry(keyLastTxIdByUser(userAddr), toBase58String(i.transactionId))) | |
2444 | 2447 | } | |
2445 | 2448 | ||
2446 | 2449 | ||
2447 | 2450 | func prologFlight (i) = if (if ((i.originCaller != restContract)) | |
2448 | 2451 | then valueOrElse(getBoolean(keyBlocked()), false) | |
2449 | 2452 | else false) | |
2450 | 2453 | then throw("Contracts are under maintenance") | |
2451 | 2454 | else [StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId))] | |
2452 | 2455 | ||
2453 | 2456 | ||
2454 | 2457 | @Callable(i) | |
2455 | 2458 | func constructorV1 (restAddr) = if ((i.caller != this)) | |
2456 | 2459 | then throw("Permission denied") | |
2457 | 2460 | else [StringEntry(keyRestAddress(), restAddr)] | |
2458 | 2461 | ||
2459 | 2462 | ||
2460 | 2463 | ||
2461 | 2464 | @Callable(i) | |
2462 | 2465 | func saveInteger (key,amount) = if ((i.caller != this)) | |
2463 | 2466 | then throw("saveInteger is not public method") | |
2464 | 2467 | else [IntegerEntry(key, amount)] | |
2465 | 2468 | ||
2466 | 2469 | ||
2467 | 2470 | ||
2468 | 2471 | @Callable(i) | |
2469 | 2472 | func setBlocked (isBlocked) = if ((i.caller != this)) | |
2470 | 2473 | then throw("permission denied") | |
2471 | 2474 | else [BooleanEntry(keyBlocked(), isBlocked)] | |
2472 | 2475 | ||
2473 | 2476 | ||
2474 | 2477 | ||
2475 | 2478 | @Callable(i) | |
2476 | 2479 | func stakeLand () = { | |
2477 | 2480 | let prologActions = prolog(i) | |
2478 | 2481 | if ((size(i.payments) != 1)) | |
2479 | 2482 | then throw("Exactly one payment required") | |
2480 | 2483 | else { | |
2481 | 2484 | let pmt = value(i.payments[0]) | |
2482 | 2485 | let assetId = value(pmt.assetId) | |
2483 | 2486 | let address = toString(i.caller) | |
2484 | 2487 | if ((pmt.amount != 1)) | |
2485 | 2488 | then throw((("NFT " + LANDPREFIX) + " token should be attached as payment")) | |
2486 | 2489 | else { | |
2487 | 2490 | let asset = value(assetInfo(assetId)) | |
2488 | 2491 | if ((asset.issuer != this)) | |
2489 | 2492 | then throw("Unknown issuer of token") | |
2490 | 2493 | else if (!(contains(asset.name, LANDPREFIX))) | |
2491 | 2494 | then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted")) | |
2492 | 2495 | else { | |
2493 | 2496 | let landNumSize = drop(asset.name, 4) | |
2494 | 2497 | let landNum = if (contains(landNumSize, "XXL")) | |
2495 | 2498 | then dropRight(landNumSize, 3) | |
2496 | 2499 | else if (contains(landNumSize, "XL")) | |
2497 | 2500 | then dropRight(landNumSize, 2) | |
2498 | 2501 | else dropRight(landNumSize, 1) | |
2499 | 2502 | if (!(isDefined(parseInt(landNum)))) | |
2500 | 2503 | then throw(("Cannot parse land number from " + asset.name)) | |
2501 | 2504 | else { | |
2502 | 2505 | let landAssetId = toBase58String(assetId) | |
2503 | 2506 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
2504 | 2507 | if (isDefined(getInteger(timeKey))) | |
2505 | 2508 | then throw((("NFT " + asset.name) + " is already staked")) | |
2506 | 2509 | else { | |
2507 | 2510 | let d = split(asset.description, "_") | |
2508 | 2511 | let terrainCounts = countTerrains(d[recTerrains]) | |
2509 | 2512 | let pieces = numPiecesBySize(d[recLandSize]) | |
2510 | 2513 | let landIndex = (pieces / SSIZE) | |
2511 | 2514 | let props = updateProportions(terrainCounts, landIndex, 1) | |
2512 | 2515 | let resByContKey = keyResTypesByContinent(d[recContinent]) | |
2513 | 2516 | let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_") | |
2514 | 2517 | let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, 1), "_") | |
2515 | 2518 | let landsKey = keyStakedLandsByOwner(address) | |
2516 | 2519 | let landsStr = getString(landsKey) | |
2517 | 2520 | let lands = if (isDefined(landsStr)) | |
2518 | 2521 | then split_51C(value(landsStr), "_") | |
2519 | 2522 | else nil | |
2520 | 2523 | if (containsElement(lands, landAssetId)) | |
2521 | 2524 | then throw(("Your staked lands already contain " + landAssetId)) | |
2522 | 2525 | else if ((size(lands) >= MAX_LANDS_STAKED_BY_USER)) | |
2523 | 2526 | then throw((("Your already staked max (" + toString(MAX_LANDS_STAKED_BY_USER)) + ") lands")) | |
2524 | 2527 | else { | |
2525 | 2528 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2526 | 2529 | let piecesKey = keyStakedPiecesByOwner(address) | |
2527 | 2530 | let oldPieces = valueOrElse(getInteger(piecesKey), 0) | |
2528 | 2531 | let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [address], nil) | |
2529 | 2532 | $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) | |
2530 | 2533 | } | |
2531 | 2534 | } | |
2532 | 2535 | } | |
2533 | 2536 | } | |
2534 | 2537 | } | |
2535 | 2538 | } | |
2536 | 2539 | } | |
2537 | 2540 | ||
2538 | 2541 | ||
2539 | 2542 | ||
2540 | 2543 | @Callable(i) | |
2541 | 2544 | func unstakeLand (landAssetIdIn) = { | |
2542 | 2545 | let prologActions = prolog(i) | |
2543 | 2546 | if ((size(i.payments) != 0)) | |
2544 | 2547 | then throw("No payments required") | |
2545 | 2548 | else { | |
2546 | 2549 | let addr = toString(i.caller) | |
2547 | 2550 | let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn) | |
2548 | 2551 | let landAssetId = c._2 | |
2549 | 2552 | let d = c._3 | |
2550 | 2553 | let landsKey = keyStakedLandsByOwner(addr) | |
2551 | 2554 | let terrainCounts = countTerrains(d[recTerrains]) | |
2552 | 2555 | let pieces = numPiecesBySize(d[recLandSize]) | |
2553 | 2556 | let landIndex = (pieces / SSIZE) | |
2554 | 2557 | let props = updateProportions(terrainCounts, landIndex, -1) | |
2555 | 2558 | let resByContKey = keyResTypesByContinent(d[recContinent]) | |
2556 | 2559 | let contProps = split(valueOrElse(getString(resByContKey), "0_0_0_0_0_0"), "_") | |
2557 | 2560 | let updatedContProps = makeString(updateProportionsInternal(contProps, terrainCounts, landIndex, -1), "_") | |
2558 | 2561 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck) | |
2559 | 2562 | let lands = split_51C(valueOrElse(getString(landsKey), ""), "_") | |
2560 | 2563 | let idx = indexOf(lands, landAssetId) | |
2561 | 2564 | if (!(isDefined(idx))) | |
2562 | 2565 | then throw(("Your staked lands don't contain " + landAssetId)) | |
2563 | 2566 | else { | |
2564 | 2567 | let now = lastBlock.timestamp | |
2565 | 2568 | let govReleaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0) | |
2566 | 2569 | if ((govReleaseTime >= now)) | |
2567 | 2570 | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(govReleaseTime))) | |
2568 | 2571 | else { | |
2569 | 2572 | let arbReleaseTime = (valueOrElse(getInteger(wlgContract, keyLastArbTimeByUser(addr)), 0) + arbitrageDelay) | |
2570 | 2573 | if ((arbReleaseTime > now)) | |
2571 | 2574 | then throw(("Your staked lands took part in arbitrage, cannot unstake until " + toString(arbReleaseTime))) | |
2572 | 2575 | else { | |
2573 | 2576 | let piecesKey = keyStakedPiecesByOwner(addr) | |
2574 | 2577 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
2575 | 2578 | let newPieces = if ((pieces > stakedPieces)) | |
2576 | 2579 | then 0 | |
2577 | 2580 | else (stakedPieces - pieces) | |
2578 | 2581 | let wlgResult = invoke(wlgContract, "onStakeUnstakeLand", [addr], nil) | |
2579 | 2582 | $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)) | |
2580 | 2583 | then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_")) | |
2581 | 2584 | else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces)] ++ prologActions), wlgResult) | |
2582 | 2585 | } | |
2583 | 2586 | } | |
2584 | 2587 | } | |
2585 | 2588 | } | |
2586 | 2589 | } | |
2587 | 2590 | ||
2588 | 2591 | ||
2589 | 2592 | ||
2590 | 2593 | @Callable(i) | |
2591 | 2594 | func stakeDuck () = { | |
2592 | 2595 | let prologActions = prolog(i) | |
2593 | 2596 | if ((size(i.payments) != 1)) | |
2594 | 2597 | then throw("Exactly one payment required") | |
2595 | 2598 | else { | |
2596 | 2599 | let pmt = value(i.payments[0]) | |
2597 | 2600 | let assetId = value(pmt.assetId) | |
2598 | 2601 | let address = toString(i.caller) | |
2599 | 2602 | if ((pmt.amount != 1)) | |
2600 | 2603 | then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment")) | |
2601 | 2604 | else { | |
2602 | 2605 | let asset = value(assetInfo(assetId)) | |
2603 | 2606 | if (if ((asset.issuer != incubatorAddr)) | |
2604 | 2607 | then (asset.issuer != breederAddr) | |
2605 | 2608 | else false) | |
2606 | 2609 | then throw((("Unknown issuer of " + DUCKPREFIX) + " token")) | |
2607 | 2610 | else if (!(contains(asset.name, DUCKPREFIX))) | |
2608 | 2611 | then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted")) | |
2609 | 2612 | else { | |
2610 | 2613 | let assetIdStr = toBase58String(assetId) | |
2611 | 2614 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
2612 | 2615 | if (isDefined(getInteger(timeKey))) | |
2613 | 2616 | then throw((("NFT " + asset.name) + " is already staked")) | |
2614 | 2617 | else if (isDefined(getString(keyStakedDuckByOwner(address)))) | |
2615 | 2618 | then throw(("You already staked one duck: " + asset.name)) | |
2616 | 2619 | else { | |
2617 | 2620 | let locKey = keyDuckLocation(assetIdStr) | |
2618 | 2621 | let location = getString(locKey) | |
2619 | 2622 | let bpKey = keyBackpackByDuck(assetIdStr) | |
2620 | 2623 | let backpack = getString(bpKey) | |
2621 | 2624 | let keyHealth = keyDuckHealth(assetIdStr) | |
2622 | 2625 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
2623 | 2626 | let curHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2624 | 2627 | ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location)) | |
2625 | 2628 | then nil | |
2626 | 2629 | else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack)) | |
2627 | 2630 | then nil | |
2628 | 2631 | else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) ++ prologActions))))) | |
2629 | 2632 | } | |
2630 | 2633 | } | |
2631 | 2634 | } | |
2632 | 2635 | } | |
2633 | 2636 | } | |
2634 | 2637 | ||
2635 | 2638 | ||
2636 | 2639 | ||
2637 | 2640 | @Callable(i) | |
2638 | 2641 | func unstakeDuck (assetIdStr) = { | |
2639 | 2642 | let prologActions = prolog(i) | |
2640 | 2643 | if ((size(i.payments) != 0)) | |
2641 | 2644 | then throw("No payments required") | |
2642 | 2645 | else { | |
2643 | 2646 | let assetId = fromBase58String(assetIdStr) | |
2644 | 2647 | let address = toString(i.caller) | |
2645 | 2648 | let asset = value(assetInfo(assetId)) | |
2646 | 2649 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
2647 | 2650 | if (!(isDefined(getInteger(timeKey)))) | |
2648 | 2651 | then throw((("NFT " + asset.name) + " is not staked")) | |
2649 | 2652 | else if (!(isDefined(getString(keyStakedDuckByOwner(address))))) | |
2650 | 2653 | then throw((("The duck " + asset.name) + " is not staked")) | |
2651 | 2654 | else { | |
2652 | 2655 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetIdStr)), (("NFT " + asset.name) + " is orphaned")) | |
2653 | 2656 | if ((owner != address)) | |
2654 | 2657 | then throw("Staked NFT is not yours") | |
2655 | 2658 | else if (checkTournament(assetIdStr)) | |
2656 | 2659 | then throw("unstakeDuck_checkTournament") | |
2657 | 2660 | else if (checkDelivery(assetIdStr)) | |
2658 | 2661 | then throw("unstakeDuck_checkDelivery") | |
2659 | 2662 | else { | |
2660 | 2663 | let keyHealth = keyDuckHealth(assetIdStr) | |
2661 | 2664 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
2662 | 2665 | let health = valueOrElse(getInteger(keyHealth), maxHP) | |
2663 | 2666 | if ((maxHP > health)) | |
2664 | 2667 | then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking")) | |
2665 | 2668 | 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) | |
2666 | 2669 | } | |
2667 | 2670 | } | |
2668 | 2671 | } | |
2669 | 2672 | } | |
2670 | 2673 | ||
2671 | 2674 | ||
2672 | 2675 | ||
2673 | 2676 | @Callable(i) | |
2674 | 2677 | func claimRes (amount,landAssetIdStr) = { | |
2675 | 2678 | let prologActions = prolog(i) | |
2676 | 2679 | if ((size(i.payments) != 0)) | |
2677 | 2680 | then throw("No payments required") | |
2678 | 2681 | else { | |
2679 | 2682 | let addr = toString(i.originCaller) | |
2680 | 2683 | let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr) | |
2681 | 2684 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2682 | 2685 | $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]) | |
2683 | 2686 | } | |
2684 | 2687 | } | |
2685 | 2688 | ||
2686 | 2689 | ||
2687 | 2690 | ||
2688 | 2691 | @Callable(i) | |
2689 | 2692 | func claimResToWH (amount,landAssetIdStr) = { | |
2690 | 2693 | let prologActions = prolog(i) | |
2691 | 2694 | if ((size(i.payments) != 0)) | |
2692 | 2695 | then throw("No payments required") | |
2693 | 2696 | else { | |
2694 | 2697 | let addr = toString(i.originCaller) | |
2695 | 2698 | let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr) | |
2696 | 2699 | $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]) | |
2697 | 2700 | } | |
2698 | 2701 | } | |
2699 | 2702 | ||
2700 | 2703 | ||
2701 | 2704 | ||
2702 | 2705 | @Callable(i) | |
2703 | 2706 | func flight (message,sig) = { | |
2704 | 2707 | let prologActions = prologFlight(i) | |
2705 | 2708 | if ((size(i.payments) != 0)) | |
2706 | 2709 | then throw("No payments required") | |
2707 | 2710 | else { | |
2708 | 2711 | let userAddr = toString(i.caller) | |
2709 | 2712 | let f = flightCommon(userAddr, message, sig) | |
2710 | 2713 | let newHP = f._1 | |
2711 | 2714 | let duckAssetId = f._2 | |
2712 | 2715 | let locKey = keyDuckLocation(duckAssetId) | |
2713 | 2716 | let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION) | |
2714 | 2717 | let newLocation = f._4 | |
2715 | 2718 | if ((newLocation == curLocation)) | |
2716 | 2719 | then throw("You can't fly to the same location") | |
2717 | 2720 | else { | |
2718 | 2721 | let newLoc = split(newLocation, "_") | |
2719 | 2722 | let isTour = (newLoc[locIdxType] == "T") | |
2720 | 2723 | let isDeliv = (newLoc[locIdxType] == "D") | |
2721 | 2724 | let eqKey = keyDuckEquipment(duckAssetId) | |
2722 | 2725 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2723 | - | let $ | |
2724 | - | let newEq = $ | |
2725 | - | let shouldZeroBuffs = $ | |
2726 | - | let $ | |
2726 | + | let $t07312773224 = subtractEquipment(currentEq, f._5) | |
2727 | + | let newEq = $t07312773224._1 | |
2728 | + | let shouldZeroBuffs = $t07312773224._2 | |
2729 | + | let $t07322776339 = if (!(onMission(tournamentContract, curLocation))) | |
2727 | 2730 | then if (!(isUsualLocation(newLocation))) | |
2728 | 2731 | then cheatAttempt(curLocation, newLocation, 5) | |
2729 | 2732 | else if ((newHP > 0)) | |
2730 | 2733 | then $Tuple2(newLocation, newHP) | |
2731 | 2734 | else $Tuple2(curLocation, 0) | |
2732 | 2735 | else if (isInTournament(tournamentContract, curLocation)) | |
2733 | 2736 | then if (!(isInTournament(tournamentContract, newLocation))) | |
2734 | 2737 | then throw("Your duck is taking part in the tournament") | |
2735 | 2738 | else { | |
2736 | 2739 | let score = parseIntValue(newLoc[locIdxId]) | |
2737 | 2740 | let curLoc = split(curLocation, "_") | |
2738 | 2741 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
2739 | 2742 | if ((score != (parseIntValue(curLoc[locIdxId]) + 1))) | |
2740 | 2743 | then cheatAttempt(curLocation, newLocation, 7) | |
2741 | 2744 | else if ((newHP > 0)) | |
2742 | 2745 | then { | |
2743 | 2746 | let localBest = valueOrElse(getInteger(tournamentContract, keyBestResultByTourAndDuck(lastId, duckAssetId)), 0) | |
2744 | 2747 | let updLocal = if ((score > localBest)) | |
2745 | 2748 | then invoke(tournamentContract, "saveDuckResult", [duckAssetId, score], nil) | |
2746 | 2749 | else unit | |
2747 | 2750 | if ((updLocal == updLocal)) | |
2748 | 2751 | then $Tuple2(newLocation, newHP) | |
2749 | 2752 | else throw("Strict value is not equal to itself.") | |
2750 | 2753 | } | |
2751 | 2754 | else $Tuple2(curLocation, 0) | |
2752 | 2755 | } | |
2753 | 2756 | else if (!(isInDelivery(curLocation))) | |
2754 | 2757 | then { | |
2755 | 2758 | let savedLoc = asString(invoke(this, "autoExitDelivery", [duckAssetId, newHP, if (isDeliv) | |
2756 | 2759 | then "10" | |
2757 | 2760 | else "11", 0], nil)) | |
2758 | 2761 | if ((savedLoc == savedLoc)) | |
2759 | 2762 | then if (isDeliv) | |
2760 | 2763 | then $Tuple2(savedLoc, newHP) | |
2761 | 2764 | else if ((newHP > 0)) | |
2762 | 2765 | then $Tuple2(newLocation, newHP) | |
2763 | 2766 | else $Tuple2(savedLoc, 0) | |
2764 | 2767 | else throw("Strict value is not equal to itself.") | |
2765 | 2768 | } | |
2766 | 2769 | else if (!(isDeliv)) | |
2767 | 2770 | then throw("Your duck is taking part in delivery") | |
2768 | 2771 | else if (!(isInDelivery(newLocation))) | |
2769 | 2772 | then cheatAttempt(curLocation, newLocation, 13) | |
2770 | 2773 | else { | |
2771 | 2774 | let score = parseIntValue(newLoc[locIdxId]) | |
2772 | 2775 | let curLoc = split(curLocation, "_") | |
2773 | 2776 | if ((score != (parseIntValue(curLoc[locIdxId]) + 1))) | |
2774 | 2777 | then cheatAttempt(curLocation, newLocation, 14) | |
2775 | 2778 | else if (if ((newHP > 0)) | |
2776 | 2779 | then (1 > score) | |
2777 | 2780 | else false) | |
2778 | 2781 | then $Tuple2(newLocation, newHP) | |
2779 | 2782 | else { | |
2780 | 2783 | let savedLoc = asString(invoke(this, "autoExitDelivery", [duckAssetId, newHP, "15-17", score], nil)) | |
2781 | 2784 | if ((savedLoc == savedLoc)) | |
2782 | 2785 | then $Tuple2(savedLoc, newHP) | |
2783 | 2786 | else throw("Strict value is not equal to itself.") | |
2784 | 2787 | } | |
2785 | 2788 | } | |
2786 | - | let locToSave = $ | |
2787 | - | let hpToSave = $ | |
2789 | + | let locToSave = $t07322776339._1 | |
2790 | + | let hpToSave = $t07322776339._2 | |
2788 | 2791 | $Tuple2(((([StringEntry(locKey, locToSave), StringEntry(eqKey, newEq), IntegerEntry(keyDuckHealth(duckAssetId), hpToSave)] ++ prologActions) ++ (if (shouldZeroBuffs) | |
2789 | 2792 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
2790 | 2793 | else nil)) ++ updateDuckStatsInternal(duckAssetId, if ((newHP > 0)) | |
2791 | 2794 | then xpSuccessFlight | |
2792 | 2795 | else xpFailFlight)._1), f._3) | |
2793 | 2796 | } | |
2794 | 2797 | } | |
2795 | 2798 | } | |
2796 | 2799 | ||
2797 | 2800 | ||
2798 | 2801 | ||
2799 | 2802 | @Callable(i) | |
2800 | 2803 | func heal (quantityL1,quantityL2,quantityL3) = { | |
2801 | 2804 | let prologActions = prolog(i) | |
2802 | 2805 | if (if (if ((0 > quantityL1)) | |
2803 | 2806 | then true | |
2804 | 2807 | else (0 > quantityL2)) | |
2805 | 2808 | then true | |
2806 | 2809 | else (0 > quantityL3)) | |
2807 | 2810 | then throw("Quantity cannot be negative") | |
2808 | 2811 | else { | |
2809 | 2812 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
2810 | 2813 | if (checkTournament(duckAssetId)) | |
2811 | 2814 | then throw("heal_checkTournament") | |
2812 | 2815 | else if (checkDelivery(duckAssetId)) | |
2813 | 2816 | then throw("heal_checkDelivery") | |
2814 | 2817 | else { | |
2815 | 2818 | let qts = [quantityL1, quantityL2, quantityL3] | |
2816 | 2819 | let keyHealth = keyDuckHealth(duckAssetId) | |
2817 | 2820 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
2818 | 2821 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2819 | 2822 | if ((oldHealth >= maxHP)) | |
2820 | 2823 | then throw((("HP should be < " + toString(maxHP)) + " to heal")) | |
2821 | 2824 | else { | |
2822 | 2825 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2823 | 2826 | let currentPack = getBackpack(bpKey) | |
2824 | 2827 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
2825 | 2828 | then nil | |
2826 | 2829 | else split_4C(currentPack[bpIdxProd], "_") | |
2827 | 2830 | func iterateProd (acc,recipe) = { | |
2828 | 2831 | let n = acc._2 | |
2829 | 2832 | let x = if ((size(prodList) > n)) | |
2830 | 2833 | then parseIntValue(prodList[n]) | |
2831 | 2834 | else 0 | |
2832 | 2835 | if ((3 > n)) | |
2833 | 2836 | then { | |
2834 | 2837 | let q = qts[n] | |
2835 | 2838 | if ((q > x)) | |
2836 | 2839 | then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n])) | |
2837 | 2840 | else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (parseIntValue(split(recipe, "_")[rIdxEffect]) * q))) | |
2838 | 2841 | } | |
2839 | 2842 | else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3) | |
2840 | 2843 | } | |
2841 | 2844 | ||
2842 | 2845 | let result = { | |
2843 | 2846 | let $l = productionMatrix | |
2844 | 2847 | let $s = size($l) | |
2845 | 2848 | let $acc0 = $Tuple3(nil, 0, 0) | |
2846 | 2849 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
2847 | 2850 | then $a | |
2848 | 2851 | else iterateProd($a, $l[$i]) | |
2849 | 2852 | ||
2850 | 2853 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
2851 | 2854 | then $a | |
2852 | 2855 | else throw("List size exceeds 50") | |
2853 | 2856 | ||
2854 | 2857 | $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) | |
2855 | 2858 | } | |
2856 | 2859 | let newHealth = min([maxHP, (oldHealth + result._3)]) | |
2857 | 2860 | $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) | |
2858 | 2861 | } | |
2859 | 2862 | } | |
2860 | 2863 | } | |
2861 | 2864 | } | |
2862 | 2865 | ||
2863 | 2866 | ||
2864 | 2867 | ||
2865 | 2868 | @Callable(i) | |
2866 | 2869 | func healES () = { | |
2867 | 2870 | let prologActions = prolog(i) | |
2868 | 2871 | if ((size(i.payments) != 1)) | |
2869 | 2872 | then throw("Exactly one payment required") | |
2870 | 2873 | else { | |
2871 | 2874 | let pmt = value(i.payments[0]) | |
2872 | 2875 | if ((pmt.assetId != usdtAssetId)) | |
2873 | 2876 | then throw("Allowed USDT payment only!") | |
2874 | 2877 | else { | |
2875 | 2878 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
2876 | 2879 | if (checkTournament(duckAssetId)) | |
2877 | 2880 | then throw("healES_checkTournament") | |
2878 | 2881 | else if (checkDelivery(duckAssetId)) | |
2879 | 2882 | then throw("healES_checkDelivery") | |
2880 | 2883 | else { | |
2881 | 2884 | let keyHealth = keyDuckHealth(duckAssetId) | |
2882 | 2885 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
2883 | 2886 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
2884 | 2887 | if ((oldHealth > 0)) | |
2885 | 2888 | then throw("HP should be 0 to call Emergency Service") | |
2886 | 2889 | else { | |
2887 | 2890 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2888 | 2891 | let currentPack = getBackpack(bpKey) | |
2889 | 2892 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
2890 | 2893 | then nil | |
2891 | 2894 | else split_4C(currentPack[bpIdxProd], "_") | |
2892 | 2895 | let medKitAmount1 = if ((size(prodList) > 0)) | |
2893 | 2896 | then parseIntValue(prodList[0]) | |
2894 | 2897 | else 0 | |
2895 | 2898 | let medKitAmount2 = if ((size(prodList) > 1)) | |
2896 | 2899 | then parseIntValue(prodList[1]) | |
2897 | 2900 | else 0 | |
2898 | 2901 | let medKitAmount3 = if ((size(prodList) > 2)) | |
2899 | 2902 | then parseIntValue(prodList[2]) | |
2900 | 2903 | else 0 | |
2901 | 2904 | if (if (if ((medKitAmount1 > 0)) | |
2902 | 2905 | then true | |
2903 | 2906 | else (medKitAmount2 > 0)) | |
2904 | 2907 | then true | |
2905 | 2908 | else (medKitAmount3 > 0)) | |
2906 | 2909 | then throw("You have to use own Medical Kit") | |
2907 | 2910 | else { | |
2908 | 2911 | let existStr = getString(economyContract, keyEsWarehouse()) | |
2909 | 2912 | let existAmounts = if (isDefined(existStr)) | |
2910 | 2913 | then split_4C(value(existStr), "_") | |
2911 | 2914 | else nil | |
2912 | 2915 | let existAmount = if ((size(existAmounts) > 0)) | |
2913 | 2916 | then parseIntValue(existAmounts[0]) | |
2914 | 2917 | else 0 | |
2915 | 2918 | if ((0 >= existAmount)) | |
2916 | 2919 | then throw("There are no Medical Kits L1 at Emergency Service storage") | |
2917 | 2920 | else { | |
2918 | 2921 | let newHealth = (oldHealth + parseIntValue(split(productionMatrix[0], "_")[rIdxEffect])) | |
2919 | 2922 | let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_") | |
2920 | 2923 | let recipe = split(productionMatrix[0], "_") | |
2921 | 2924 | let totalMat = getRecipeMaterials(recipe) | |
2922 | 2925 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (MULT8 * PRODUCTPKGSIZE)) | |
2923 | 2926 | if ((pmt.amount != sellPrice)) | |
2924 | 2927 | then throw(("Payment attached should be " + toString(sellPrice))) | |
2925 | 2928 | else { | |
2926 | 2929 | let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)])) | |
2927 | 2930 | $Tuple2(((prologActions :+ IntegerEntry(keyHealth, newHealth)) ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result) | |
2928 | 2931 | } | |
2929 | 2932 | } | |
2930 | 2933 | } | |
2931 | 2934 | } | |
2932 | 2935 | } | |
2933 | 2936 | } | |
2934 | 2937 | } | |
2935 | 2938 | } | |
2936 | 2939 | ||
2937 | 2940 | ||
2938 | 2941 | ||
2939 | 2942 | @Callable(i) | |
2940 | 2943 | func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract)) | |
2941 | 2944 | then throw("permission denied") | |
2942 | 2945 | else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack) | |
2943 | 2946 | ||
2944 | 2947 | ||
2945 | 2948 | ||
2946 | 2949 | @Callable(i) | |
2947 | 2950 | func commitForRandom () = { | |
2948 | 2951 | let prologActions = prolog(i) | |
2949 | 2952 | let finishBlock = (height + randomDelay) | |
2950 | 2953 | let addr = toString(i.caller) | |
2951 | 2954 | $Tuple2(([IntegerEntry(keyCommit(addr), finishBlock)] ++ prologActions), finishBlock) | |
2952 | 2955 | } | |
2953 | 2956 | ||
2954 | 2957 | ||
2955 | 2958 | ||
2956 | 2959 | @Callable(i) | |
2957 | 2960 | func buySLand () = { | |
2958 | 2961 | let prologActions = prolog(i) | |
2959 | 2962 | if ((size(i.payments) != 1)) | |
2960 | 2963 | then throw("Exactly one payment required") | |
2961 | 2964 | else { | |
2962 | 2965 | let pmt = value(i.payments[0]) | |
2963 | 2966 | if ((pmt.assetId != usdtAssetId)) | |
2964 | 2967 | then throw("Allowed USDT payment only!") | |
2965 | 2968 | else if ((pmt.amount != EXPUSDT)) | |
2966 | 2969 | then throw(("Payment attached should be " + toString(EXPUSDT))) | |
2967 | 2970 | else { | |
2968 | 2971 | let result = expeditionInternal(i.caller, i.transactionId) | |
2969 | 2972 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil)) | |
2970 | 2973 | $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult)) | |
2971 | 2974 | } | |
2972 | 2975 | } | |
2973 | 2976 | } | |
2974 | 2977 | ||
2975 | 2978 | ||
2976 | 2979 | ||
2977 | 2980 | @Callable(i) | |
2978 | 2981 | func expedition (message,sig) = { | |
2979 | 2982 | let prologActions = prolog(i) | |
2980 | 2983 | if ((size(i.payments) != 0)) | |
2981 | 2984 | then throw("No payments required") | |
2982 | 2985 | else { | |
2983 | 2986 | let userAddr = toString(i.caller) | |
2984 | 2987 | let f = flightCommon(userAddr, message, sig) | |
2985 | 2988 | let duckAssetId = f._2 | |
2986 | 2989 | let keyHealth = keyDuckHealth(duckAssetId) | |
2987 | 2990 | let bpKey = keyBackpackByDuck(duckAssetId) | |
2988 | 2991 | let currentPack = getBackpack(bpKey) | |
2989 | 2992 | let mList = split(currentPack[bpIdxMat], "_") | |
2990 | 2993 | let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_") | |
2991 | 2994 | let eqKey = keyDuckEquipment(duckAssetId) | |
2992 | 2995 | let currentEq = valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,") | |
2993 | - | let $ | |
2994 | - | let newEq = $ | |
2995 | - | let shouldZeroBuffs = $ | |
2996 | + | let $t08377983876 = subtractEquipment(currentEq, f._5) | |
2997 | + | let newEq = $t08377983876._1 | |
2998 | + | let shouldZeroBuffs = $t08377983876._2 | |
2996 | 2999 | let e = expeditionInternal(i.caller, i.transactionId) | |
2997 | 3000 | let id = e._2._1 | |
2998 | 3001 | let result = if ((0 >= f._1)) | |
2999 | 3002 | then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(eqKey, newEq)], "", 0) | |
3000 | 3003 | else $Tuple3((e._1 ++ (if (shouldZeroBuffs) | |
3001 | 3004 | then [StringEntry(keyDuckBuffs(duckAssetId), "0_0_0_0_0")] | |
3002 | 3005 | 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) | |
3003 | 3006 | if (checkTournament(duckAssetId)) | |
3004 | 3007 | then throw("expedition_checkTournament") | |
3005 | 3008 | else if (checkDelivery(duckAssetId)) | |
3006 | 3009 | then throw("expedition_checkDelivery") | |
3007 | 3010 | else { | |
3008 | 3011 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], nil)) | |
3009 | 3012 | $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) ++ prologActions), $Tuple3(result._2, result._3, acresResult)) | |
3010 | 3013 | } | |
3011 | 3014 | } | |
3012 | 3015 | } | |
3013 | 3016 | ||
3014 | 3017 | ||
3015 | 3018 | ||
3016 | 3019 | @Callable(i) | |
3017 | 3020 | func buySLandForAcres () = { | |
3018 | 3021 | let prologActions = prolog(i) | |
3019 | 3022 | if ((size(i.payments) != 1)) | |
3020 | 3023 | then throw("exactly 1 payment must be attached") | |
3021 | 3024 | else { | |
3022 | 3025 | let pmt = i.payments[0] | |
3023 | 3026 | let amt = pmt.amount | |
3024 | 3027 | if (if (!(isDefined(pmt.assetId))) | |
3025 | 3028 | then true | |
3026 | 3029 | else (value(pmt.assetId) != acresAssetId)) | |
3027 | 3030 | then throw("ACRES payments only!") | |
3028 | 3031 | else if ((amt != S_COST_ACRES)) | |
3029 | 3032 | then throw(("Payment attached should be " + toString(S_COST_ACRES))) | |
3030 | 3033 | else { | |
3031 | 3034 | let result = expeditionInternal(i.caller, i.transactionId) | |
3032 | 3035 | let acresResult = asInt(invoke(acresContract, "burnAcres", [S_COST_ACRES], [AttachedPayment(acresAssetId, amt)])) | |
3033 | 3036 | $Tuple2(((result._1 ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) ++ prologActions), $Tuple2(result._2._1, acresResult)) | |
3034 | 3037 | } | |
3035 | 3038 | } | |
3036 | 3039 | } | |
3037 | 3040 | ||
3038 | 3041 | ||
3039 | 3042 | ||
3040 | 3043 | @Callable(i) | |
3041 | 3044 | func upgradeInfra (landAssetId) = { | |
3042 | 3045 | let prologActions = prolog(i) | |
3043 | 3046 | if ((size(i.payments) != 0)) | |
3044 | 3047 | then throw("No payments required") | |
3045 | 3048 | else { | |
3046 | 3049 | let result = upInfraCommon(true, i.caller, 0, landAssetId) | |
3047 | 3050 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
3048 | 3051 | $Tuple2(((result._1 ++ prologActions) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2) | |
3049 | 3052 | } | |
3050 | 3053 | } | |
3051 | 3054 | ||
3052 | 3055 | ||
3053 | 3056 | ||
3054 | 3057 | @Callable(i) | |
3055 | 3058 | func activateArtifact (artName,landAssetIdOpt) = { | |
3056 | 3059 | let prologActions = prolog(i) | |
3057 | 3060 | if ((size(i.payments) != 0)) | |
3058 | 3061 | then throw("No payments required") | |
3059 | 3062 | else { | |
3060 | 3063 | let addr = toString(i.caller) | |
3061 | 3064 | let result = match artName { | |
3062 | 3065 | case _ => | |
3063 | 3066 | if (("PRESALE" == $match0)) | |
3064 | 3067 | then activatePresaleArt(addr, landAssetIdOpt) | |
3065 | 3068 | else if (("ONBOARD" == $match0)) | |
3066 | 3069 | then activateOnboardArt(addr) | |
3067 | 3070 | else throw("Unknown artifact") | |
3068 | 3071 | } | |
3069 | 3072 | (result ++ prologActions) | |
3070 | 3073 | } | |
3071 | 3074 | } | |
3072 | 3075 | ||
3073 | 3076 | ||
3074 | 3077 | ||
3075 | 3078 | @Callable(i) | |
3076 | 3079 | func mergeLands (landAssetIds) = { | |
3077 | 3080 | let prologActions = prolog(i) | |
3078 | 3081 | if ((size(i.payments) != 0)) | |
3079 | 3082 | then throw("No payments required") | |
3080 | 3083 | else { | |
3081 | 3084 | let result = mergeCommon(toString(i.caller), landAssetIds) | |
3082 | 3085 | $Tuple2(((result._1 ++ prologActions) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2) | |
3083 | 3086 | } | |
3084 | 3087 | } | |
3085 | 3088 | ||
3086 | 3089 | ||
3087 | 3090 | ||
3088 | 3091 | @Callable(i) | |
3089 | 3092 | func cargoExchange (cargoListStr,landAssetId) = { | |
3090 | 3093 | let prologActions = prolog(i) | |
3091 | 3094 | if ((size(i.payments) != 0)) | |
3092 | 3095 | then throw("No payments required") | |
3093 | 3096 | else { | |
3094 | 3097 | let cargoParts = split_4C(cargoListStr, ":") | |
3095 | 3098 | let addr = toString(i.originCaller) | |
3096 | 3099 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
3097 | 3100 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
3098 | 3101 | if (!(isDefined(getInteger(timeKey)))) | |
3099 | 3102 | then throw((asset.name + " is not staked")) | |
3100 | 3103 | else { | |
3101 | 3104 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
3102 | 3105 | if ((owner != addr)) | |
3103 | 3106 | then throw((LANDPREFIX + " is not yours")) | |
3104 | 3107 | else { | |
3105 | 3108 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
3106 | 3109 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
3107 | 3110 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3108 | 3111 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
3109 | 3112 | let loc = split(value(curLocation), "_") | |
3110 | 3113 | if ((loc[locIdxType] != "L")) | |
3111 | 3114 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
3112 | 3115 | else if ((loc[locIdxId] != landAssetId)) | |
3113 | 3116 | then throw(("Duck should be on the land " + landAssetId)) | |
3114 | 3117 | else { | |
3115 | 3118 | let whKey = keyWarehouseByLand(landAssetId) | |
3116 | 3119 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
3117 | 3120 | let bpKey = keyBackpackByDuck(duckAssetId) | |
3118 | 3121 | let currentPack = getBackpack(bpKey) | |
3119 | 3122 | let result = moveStuff(cargoParts, currentWh, currentPack) | |
3120 | 3123 | let loft = split(currentWh[whIdxLOFT], "_") | |
3121 | 3124 | let loftO = (parseIntValue(loft[volOccupied]) + result._7) | |
3122 | 3125 | let loftF = (parseIntValue(loft[volFree]) - result._7) | |
3123 | 3126 | ([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) | |
3124 | 3127 | } | |
3125 | 3128 | } | |
3126 | 3129 | } | |
3127 | 3130 | } | |
3128 | 3131 | } | |
3129 | 3132 | ||
3130 | 3133 | ||
3131 | 3134 | ||
3132 | 3135 | @Callable(i) | |
3133 | 3136 | func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract)) | |
3134 | 3137 | then throw("Access denied") | |
3135 | 3138 | else { | |
3136 | 3139 | let whKey = keyWarehouseByLand(landAssetId) | |
3137 | 3140 | let wh = split_4C(whStr, ":") | |
3138 | 3141 | if ((size(wh) != 5)) | |
3139 | 3142 | then throw("warehouse string should contain 4 ':' separators") | |
3140 | 3143 | else { | |
3141 | 3144 | let loftL = split(wh[whIdxLOFT], "_")[volLocked] | |
3142 | 3145 | let loftO = getWarehouseOccupiedVol(wh) | |
3143 | 3146 | let loftT = getWarehouseTotalVolume(wh[whIdxLevels]) | |
3144 | 3147 | let loftF = ((loftT - parseIntValue(loftL)) - loftO) | |
3145 | 3148 | if ((0 > loftF)) | |
3146 | 3149 | then throw("Operation leads to negative free warehouse space") | |
3147 | 3150 | else { | |
3148 | 3151 | let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":") | |
3149 | 3152 | $Tuple2([StringEntry(whKey, newWhStr)], newWhStr) | |
3150 | 3153 | } | |
3151 | 3154 | } | |
3152 | 3155 | } | |
3153 | 3156 | ||
3154 | 3157 | ||
3155 | 3158 | ||
3156 | 3159 | @Callable(i) | |
3157 | 3160 | func setCustomName (assetId,customName,type) = { | |
3158 | 3161 | let prologActions = prolog(i) | |
3159 | 3162 | if ((size(i.payments) != 1)) | |
3160 | 3163 | then throw("Exactly one payment required") | |
3161 | 3164 | else { | |
3162 | 3165 | let pmt = value(i.payments[0]) | |
3163 | 3166 | if ((pmt.assetId != usdtAssetId)) | |
3164 | 3167 | then throw("Allowed USDT payment only!") | |
3165 | 3168 | else if ((pmt.amount != RENAMINGCOST)) | |
3166 | 3169 | then throw(("Payment should be " + toString(RENAMINGCOST))) | |
3167 | 3170 | else if (contains(customName, "__")) | |
3168 | 3171 | then throw(("Name should not contain '__': " + customName)) | |
3169 | 3172 | else if ((size(customName) > MAXNAMELEN)) | |
3170 | 3173 | then throw(("Name too long, maxLength=" + toString(MAXNAMELEN))) | |
3171 | 3174 | else { | |
3172 | 3175 | let addr = toString(i.originCaller) | |
3173 | 3176 | let actions = match type { | |
3174 | 3177 | case _ => | |
3175 | 3178 | if (("ACCOUNT" == $match0)) | |
3176 | 3179 | then { | |
3177 | 3180 | let reverseKey = keyCustomNameToAddress(customName) | |
3178 | 3181 | let nameOwner = getString(reverseKey) | |
3179 | 3182 | if (isDefined(nameOwner)) | |
3180 | 3183 | then throw(("Name already registered: " + customName)) | |
3181 | 3184 | else { | |
3182 | 3185 | let addrToNameKey = keyAddressToCustomName(addr) | |
3183 | 3186 | let oldName = getString(addrToNameKey) | |
3184 | 3187 | let freeOld = if (isDefined(oldName)) | |
3185 | 3188 | then [DeleteEntry(keyCustomNameToAddress(value(oldName)))] | |
3186 | 3189 | else nil | |
3187 | 3190 | (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
3188 | 3191 | } | |
3189 | 3192 | } | |
3190 | 3193 | else if (("LAND" == $match0)) | |
3191 | 3194 | then { | |
3192 | 3195 | let asset = value(assetInfo(fromBase58String(assetId))) | |
3193 | 3196 | let timeKey = keyStakedTimeByAssetId(assetId) | |
3194 | 3197 | if (!(isDefined(getInteger(timeKey)))) | |
3195 | 3198 | then throw((asset.name + " is not staked")) | |
3196 | 3199 | else { | |
3197 | 3200 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
3198 | 3201 | if ((owner != addr)) | |
3199 | 3202 | then throw((LANDPREFIX + " is not yours")) | |
3200 | 3203 | else { | |
3201 | 3204 | let reverseKey = keyLandCustomNameToAssetId(customName) | |
3202 | 3205 | let nameOwner = getString(reverseKey) | |
3203 | 3206 | if (isDefined(nameOwner)) | |
3204 | 3207 | then throw(("Name already registered: " + customName)) | |
3205 | 3208 | else { | |
3206 | 3209 | let assetToNameKey = keyLandAssetIdToCustomName(assetId) | |
3207 | 3210 | let oldName = getString(assetToNameKey) | |
3208 | 3211 | let freeOld = if (isDefined(oldName)) | |
3209 | 3212 | then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))] | |
3210 | 3213 | else nil | |
3211 | 3214 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
3212 | 3215 | } | |
3213 | 3216 | } | |
3214 | 3217 | } | |
3215 | 3218 | } | |
3216 | 3219 | else if (("DUCK" == $match0)) | |
3217 | 3220 | then { | |
3218 | 3221 | let asset = value(assetInfo(fromBase58String(assetId))) | |
3219 | 3222 | let timeKey = keyStakedTimeByAssetId(assetId) | |
3220 | 3223 | if (if (!(isDefined(getInteger(timeKey)))) | |
3221 | 3224 | then true | |
3222 | 3225 | else !(isDefined(getString(keyStakedDuckByOwner(addr))))) | |
3223 | 3226 | then throw((asset.name + " is not staked")) | |
3224 | 3227 | else { | |
3225 | 3228 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
3226 | 3229 | if ((owner != addr)) | |
3227 | 3230 | then throw((DUCKPREFIX + " is not yours")) | |
3228 | 3231 | else { | |
3229 | 3232 | let reverseKey = keyDuckCustomNameToAssetId(customName) | |
3230 | 3233 | let nameOwner = getString(reverseKey) | |
3231 | 3234 | if (isDefined(nameOwner)) | |
3232 | 3235 | then throw(("Name already registered: " + customName)) | |
3233 | 3236 | else { | |
3234 | 3237 | let assetToNameKey = keyDuckAssetIdToCustomName(assetId) | |
3235 | 3238 | let oldName = getString(assetToNameKey) | |
3236 | 3239 | let freeOld = if (isDefined(oldName)) | |
3237 | 3240 | then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))] | |
3238 | 3241 | else nil | |
3239 | 3242 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1) | |
3240 | 3243 | } | |
3241 | 3244 | } | |
3242 | 3245 | } | |
3243 | 3246 | } | |
3244 | 3247 | else throw("Unknown entity type") | |
3245 | 3248 | } | |
3246 | 3249 | $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ prologActions), 0) | |
3247 | 3250 | } | |
3248 | 3251 | } | |
3249 | 3252 | } | |
3250 | 3253 | ||
3251 | 3254 | ||
3252 | 3255 | ||
3253 | 3256 | @Callable(i) | |
3254 | 3257 | func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub)) | |
3255 | 3258 | then throw("Permission denied") | |
3256 | 3259 | else { | |
3257 | 3260 | let prologActions = prolog(i) | |
3258 | 3261 | if ((size(i.payments) != 0)) | |
3259 | 3262 | then throw("No payments required") | |
3260 | 3263 | else if (!(isDefined(addressFromString(oldPlayer)))) | |
3261 | 3264 | then throw(("Invalid address: " + oldPlayer)) | |
3262 | 3265 | else if (!(isDefined(addressFromString(newPlayer)))) | |
3263 | 3266 | then throw(("Invalid address: " + newPlayer)) | |
3264 | 3267 | else { | |
3265 | 3268 | let oldsKey = keyOldies() | |
3266 | 3269 | let olds = getString(oldsKey) | |
3267 | 3270 | let oldies = if (isDefined(olds)) | |
3268 | 3271 | then split_4C(value(olds), "_") | |
3269 | 3272 | else nil | |
3270 | 3273 | if (containsElement(oldies, newPlayer)) | |
3271 | 3274 | then throw((newPlayer + " is not newbie (already has referrals)")) | |
3272 | 3275 | else { | |
3273 | 3276 | let refByKey = keyAddressRefBy(newPlayer) | |
3274 | 3277 | let refBy = getString(refByKey) | |
3275 | 3278 | if (if (isDefined(refBy)) | |
3276 | 3279 | then isDefined(addressFromString(value(refBy))) | |
3277 | 3280 | else false) | |
3278 | 3281 | then throw(((newPlayer + " already has refBy: ") + value(refBy))) | |
3279 | 3282 | else { | |
3280 | 3283 | let refsKey = keyAddressReferrals(oldPlayer) | |
3281 | 3284 | let refs = getString(refsKey) | |
3282 | 3285 | let refsArray = if (isDefined(refs)) | |
3283 | 3286 | then split_4C(value(refs), "_") | |
3284 | 3287 | else nil | |
3285 | 3288 | if (containsElement(refsArray, newPlayer)) | |
3286 | 3289 | then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals")) | |
3287 | 3290 | else { | |
3288 | 3291 | let newRefs = makeString_2C((refsArray :+ newPlayer), "_") | |
3289 | 3292 | let newOlds = if (containsElement(oldies, oldPlayer)) | |
3290 | 3293 | then value(olds) | |
3291 | 3294 | else makeString_2C((oldies :+ oldPlayer), "_") | |
3292 | 3295 | $Tuple2(([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds)] ++ prologActions), 0) | |
3293 | 3296 | } | |
3294 | 3297 | } | |
3295 | 3298 | } | |
3296 | 3299 | } | |
3297 | 3300 | } | |
3298 | 3301 | ||
3299 | 3302 | ||
3300 | 3303 | ||
3301 | 3304 | @Callable(i) | |
3302 | 3305 | func distributePoints (strength,accuracy,intellect,endurance,dexterity) = { | |
3303 | 3306 | let prologActions = prolog(i) | |
3304 | 3307 | if ((size(i.payments) != 0)) | |
3305 | 3308 | then throw("No payments required") | |
3306 | 3309 | else { | |
3307 | 3310 | let addr = toString(i.originCaller) | |
3308 | 3311 | let virtWlgData = asAnyList(invoke(wlgContract, "checkWlgXpREADONLY", [addr], nil)) | |
3309 | 3312 | let virtWlgPoints = asInt(virtWlgData[1]) | |
3310 | - | let $ | |
3313 | + | let $t09949699886 = if ((0 >= virtWlgPoints)) | |
3311 | 3314 | then $Tuple2(0, nil) | |
3312 | 3315 | else { | |
3313 | 3316 | let deltaXP = asInt(invoke(wlgContract, "takeWlgXp", [addr], nil)) | |
3314 | 3317 | if ((deltaXP == deltaXP)) | |
3315 | 3318 | then $Tuple2(virtWlgPoints, [IntegerEntry(keyUserLevel(addr), asInt(virtWlgData[0])), IntegerEntry(keyUserXP(addr), asInt(virtWlgData[2]))]) | |
3316 | 3319 | else throw("Strict value is not equal to itself.") | |
3317 | 3320 | } | |
3318 | - | let wlgPoints = $ | |
3319 | - | let wlgActions = $ | |
3321 | + | let wlgPoints = $t09949699886._1 | |
3322 | + | let wlgActions = $t09949699886._2 | |
3320 | 3323 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3321 | 3324 | let freeKeyAcc = keyUserFreePoints(addr) | |
3322 | 3325 | let freePointsAcc = (valueOrElse(getInteger(freeKeyAcc), 0) + wlgPoints) | |
3323 | 3326 | let freeKeyDuck = keyDuckFreePoints(duckAssetId) | |
3324 | 3327 | let freePointsDuck = valueOrElse(getInteger(freeKeyDuck), 0) | |
3325 | 3328 | let sumFree = (freePointsAcc + freePointsDuck) | |
3326 | 3329 | let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity) | |
3327 | 3330 | if ((sumToDistribute > sumFree)) | |
3328 | 3331 | then throw((("There are only " + toString(sumFree)) + " free points to distribute")) | |
3329 | 3332 | else { | |
3330 | 3333 | let charsKey = keyDuckChars(duckAssetId) | |
3331 | 3334 | let chars = split(valueOrElse(getString(charsKey), "0_0_0_0_0"), "_") | |
3332 | 3335 | let newAcc = (freePointsAcc - sumToDistribute) | |
3333 | 3336 | $Tuple2((([IntegerEntry(freeKeyAcc, if ((0 > newAcc)) | |
3334 | 3337 | then 0 | |
3335 | 3338 | else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc)) | |
3336 | 3339 | then (freePointsDuck + newAcc) | |
3337 | 3340 | 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) ++ wlgActions), 0) | |
3338 | 3341 | } | |
3339 | 3342 | } | |
3340 | 3343 | } | |
3341 | 3344 | ||
3342 | 3345 | ||
3343 | 3346 | ||
3344 | 3347 | @Callable(i) | |
3345 | 3348 | func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount)) | |
3346 | 3349 | ||
3347 | 3350 | ||
3348 | 3351 | ||
3349 | 3352 | @Callable(i) | |
3350 | 3353 | func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = { | |
3351 | 3354 | let terrainCounts = countTerrains(terrains) | |
3352 | 3355 | $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts))) | |
3353 | 3356 | } | |
3354 | 3357 | ||
3355 | 3358 | ||
3356 | 3359 | ||
3357 | 3360 | @Callable(i) | |
3358 | 3361 | func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":")) | |
3359 | 3362 | ||
3360 | 3363 | ||
3361 | 3364 | ||
3362 | 3365 | @Callable(i) | |
3363 | 3366 | func getWarehouseREADONLY (landAssetId) = { | |
3364 | 3367 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
3365 | 3368 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
3366 | 3369 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
3367 | 3370 | $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":")) | |
3368 | 3371 | } | |
3369 | 3372 | ||
3370 | 3373 | ||
3371 | 3374 | ||
3372 | 3375 | @Callable(i) | |
3373 | 3376 | func saveLastTx () = if (!(containsElement([wlgContract, economyContract, tournamentContract, acresContract], i.caller))) | |
3374 | 3377 | then throw("Access denied") | |
3375 | 3378 | else $Tuple2(prolog(i), 42) | |
3376 | 3379 | ||
3377 | 3380 | ||
3378 | 3381 | ||
3379 | 3382 | @Callable(i) | |
3380 | 3383 | func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract)) | |
3381 | 3384 | then throw("Access denied") | |
3382 | 3385 | else updateDuckStatsInternal(duckAssetId, deltaXP) | |
3383 | 3386 | ||
3384 | 3387 | ||
3385 | 3388 | ||
3386 | 3389 | @Callable(i) | |
3387 | 3390 | func updateAccStats (addr,deltaXP) = if (!(containsElement([wlgContract, economyContract, acresContract], i.caller))) | |
3388 | 3391 | then throw("Access denied") | |
3389 | 3392 | else updateAccStatsInternal(addr, deltaXP) | |
3390 | 3393 | ||
3391 | 3394 | ||
3392 | 3395 | ||
3393 | 3396 | @Callable(i) | |
3394 | 3397 | func equipDuck (equipment) = { | |
3395 | 3398 | let prologActions = prolog(i) | |
3396 | 3399 | if ((size(i.payments) != 0)) | |
3397 | 3400 | then throw("No payments required") | |
3398 | 3401 | else { | |
3399 | 3402 | let addr = toString(i.originCaller) | |
3400 | 3403 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
3401 | 3404 | if (checkTournament(duckAssetId)) | |
3402 | 3405 | then throw("equipDuck_checkTournament") | |
3403 | 3406 | else if (checkDelivery(duckAssetId)) | |
3404 | 3407 | then throw("equipDuck_checkDelivery") | |
3405 | 3408 | else { | |
3406 | 3409 | let eqKey = keyDuckEquipment(duckAssetId) | |
3407 | 3410 | let currentSegs = split(valueOrElse(getString(eqKey), ",;,_,;,_,;,_,;,_,;,_,;,"), "_") | |
3408 | 3411 | let bpKey = keyBackpackByDuck(duckAssetId) | |
3409 | 3412 | let currentPack = getBackpack(bpKey) | |
3410 | 3413 | let newEq = split(equipment, "_") | |
3411 | 3414 | if ((size(newEq) != NUMSEGMENTS)) | |
3412 | 3415 | then throw("Wrong equipment string") | |
3413 | 3416 | else { | |
3414 | 3417 | let tempProdB = dressB(currentSegs, prodStrToBytes(currentPack[bpIdxProd]), true, nil) | |
3415 | 3418 | let segBpAux = split(newEq[segBackpack], ";")[1] | |
3416 | 3419 | let buffEffect = if ((segBpAux == "")) | |
3417 | 3420 | then 0 | |
3418 | 3421 | else { | |
3419 | 3422 | let aux0 = split(segBpAux, ",")[0] | |
3420 | 3423 | if ((aux0 == "")) | |
3421 | 3424 | then 0 | |
3422 | 3425 | else { | |
3423 | 3426 | let idxCnt = split(aux0, ":") | |
3424 | 3427 | let idx = idxCnt[0] | |
3425 | 3428 | let cnt = idxCnt[1] | |
3426 | 3429 | if (if (if (if (if ((idx == "06")) | |
3427 | 3430 | then true | |
3428 | 3431 | else (idx == "07")) | |
3429 | 3432 | then true | |
3430 | 3433 | else (idx == "08")) | |
3431 | 3434 | then (cnt != "") | |
3432 | 3435 | else false) | |
3433 | 3436 | then (parseIntValue(cnt) > 0) | |
3434 | 3437 | else false) | |
3435 | 3438 | then parseIntValue(split(productionMatrix[parseIntValue(idx)], "_")[rIdxEffect]) | |
3436 | 3439 | else 0 | |
3437 | 3440 | } | |
3438 | 3441 | } | |
3439 | 3442 | let stats = getDuckStats(this, duckAssetId, buffEffect, true) | |
3440 | 3443 | let newProdB = dressB(newEq, tempProdB, false, stats) | |
3441 | 3444 | let newProdStr = bytesToProdStr(newProdB) | |
3442 | 3445 | $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) | |
3443 | 3446 | } | |
3444 | 3447 | } | |
3445 | 3448 | } | |
3446 | 3449 | } | |
3447 | 3450 | ||
3448 | 3451 | ||
3449 | 3452 | ||
3450 | 3453 | @Callable(i) | |
3451 | 3454 | func fortificateLand (landAssetId,plan) = { | |
3452 | 3455 | let prologActions = prolog(i) | |
3453 | 3456 | if ((size(i.payments) != 0)) | |
3454 | 3457 | then throw("No payments required") | |
3455 | 3458 | else { | |
3456 | 3459 | let addr = toString(i.originCaller) | |
3457 | 3460 | let duckAssetId = valueOrElse(getString(keyStakedDuckByOwner(addr)), "") | |
3458 | 3461 | let duckStats = getDuckStats(this, duckAssetId, 0, false) | |
3459 | 3462 | let fortKey = keyFortificationsByLand(landAssetId) | |
3460 | 3463 | let currentForts = split(valueOrElse(getString(fortKey), ":0_15:0_18:0"), "_") | |
3461 | 3464 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
3462 | 3465 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
3463 | 3466 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
3464 | 3467 | let whKey = keyWarehouseByLand(landAssetId) | |
3465 | 3468 | let wh = getWarehouse(whKey, landIndex, infraLevel) | |
3466 | 3469 | let curLoft = split(wh[whIdxLOFT], "_") | |
3467 | 3470 | let curO = parseIntValue(curLoft[volOccupied]) | |
3468 | 3471 | let curF = parseIntValue(curLoft[volFree]) | |
3469 | 3472 | let newForts = split(plan, "_") | |
3470 | - | let $ | |
3471 | - | let tempProdB = $ | |
3472 | - | let tempO = $ | |
3473 | - | let tempF = $ | |
3474 | - | let $ | |
3475 | - | let newProdB = $ | |
3476 | - | let newO = $ | |
3477 | - | let newF = $ | |
3473 | + | let $t0106724106839 = fortB(currentForts, prodStrToBytes(wh[whIdxProd]), curO, curF, true, nil) | |
3474 | + | let tempProdB = $t0106724106839._1 | |
3475 | + | let tempO = $t0106724106839._2 | |
3476 | + | let tempF = $t0106724106839._3 | |
3477 | + | let $t0106842106938 = fortB(newForts, tempProdB, tempO, tempF, false, duckStats) | |
3478 | + | let newProdB = $t0106842106938._1 | |
3479 | + | let newO = $t0106842106938._2 | |
3480 | + | let newF = $t0106842106938._3 | |
3478 | 3481 | let newProdStr = bytesToProdStr(newProdB) | |
3479 | 3482 | let newLoftStr = makeString([curLoft[volLocked], toString(newO), toString(newF), curLoft[volTotal]], "_") | |
3480 | 3483 | $Tuple2(([StringEntry(fortKey, plan), StringEntry(whKey, makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], newProdStr, newLoftStr], ":"))] ++ prologActions), 0) | |
3481 | 3484 | } | |
3482 | 3485 | } | |
3483 | 3486 | ||
3484 | 3487 | ||
3485 | 3488 | ||
3486 | 3489 | @Callable(i) | |
3487 | 3490 | func initDuckTourAttempt (duckAssetId) = if ((i.caller != tournamentContract)) | |
3488 | 3491 | then throw("Access denied") | |
3489 | 3492 | else { | |
3490 | 3493 | let keyHealth = keyDuckHealth(duckAssetId) | |
3491 | 3494 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
3492 | 3495 | let curHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
3493 | 3496 | let curLocKey = keyDuckLocation(duckAssetId) | |
3494 | 3497 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3495 | 3498 | let lastId = valueOrElse(getInteger(tournamentContract, lastTourIdKey), 0) | |
3496 | 3499 | let tourLocation = (toString(lastId) + "_T_0") | |
3497 | 3500 | $Tuple2([IntegerEntry(keySavedHealth(duckAssetId), curHealth), IntegerEntry(keyHealth, maxHP), StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, tourLocation)], tourLocation) | |
3498 | 3501 | } | |
3499 | 3502 | ||
3500 | 3503 | ||
3501 | 3504 | ||
3502 | 3505 | @Callable(i) | |
3503 | 3506 | func breakAttempt () = { | |
3504 | 3507 | let prologActions = prolog(i) | |
3505 | 3508 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
3506 | 3509 | let curLocKey = keyDuckLocation(duckAssetId) | |
3507 | 3510 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3508 | 3511 | if ((split(curLocation, "_")[locIdxType] != "T")) | |
3509 | 3512 | then throw("Your duck is not in the tournament") | |
3510 | 3513 | else { | |
3511 | 3514 | let savedHealth = getIntegerValue(keySavedHealth(duckAssetId)) | |
3512 | 3515 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
3513 | 3516 | $Tuple2(((prologActions :+ IntegerEntry(keyDuckHealth(duckAssetId), savedHealth)) :+ StringEntry(curLocKey, savedLocation)), curLocation) | |
3514 | 3517 | } | |
3515 | 3518 | } | |
3516 | 3519 | ||
3517 | 3520 | ||
3518 | 3521 | ||
3519 | 3522 | @Callable(i) | |
3520 | 3523 | func exitTournamentInternal (duckAssetId) = if ((i.caller != this)) | |
3521 | 3524 | then throw("Access denied") | |
3522 | 3525 | else { | |
3523 | 3526 | let savedHealth = getIntegerValue(keySavedHealth(duckAssetId)) | |
3524 | 3527 | let savedLocation = getStringValue(keySavedLocation(duckAssetId)) | |
3525 | 3528 | $Tuple2([IntegerEntry(keyDuckHealth(duckAssetId), savedHealth), StringEntry(keyDuckLocation(duckAssetId), savedLocation)], false) | |
3526 | 3529 | } | |
3527 | 3530 | ||
3528 | 3531 | ||
3529 | 3532 | ||
3530 | 3533 | @Callable(i) | |
3531 | 3534 | func exitDeliveryInternal (duckAssetId) = if ((i.caller != this)) | |
3532 | 3535 | then throw("Access denied") | |
3533 | 3536 | else { | |
3534 | 3537 | let e = exitDeliveryCommon(duckAssetId, false, 0, 0) | |
3535 | 3538 | $Tuple2((e._1 ++ e._2), false) | |
3536 | 3539 | } | |
3537 | 3540 | ||
3538 | 3541 | ||
3539 | 3542 | ||
3540 | 3543 | @Callable(i) | |
3541 | 3544 | func autoExitDelivery (duckAssetId,newHP,reason,score) = if ((i.caller != this)) | |
3542 | 3545 | then throw("Access denied") | |
3543 | 3546 | else { | |
3544 | 3547 | let e = exitDeliveryCommon(duckAssetId, true, newHP, score) | |
3545 | 3548 | $Tuple2(e._1, e._3) | |
3546 | 3549 | } | |
3547 | 3550 | ||
3548 | 3551 | ||
3549 | 3552 | ||
3550 | 3553 | @Callable(i) | |
3551 | 3554 | func breakDelivery () = $Tuple2(prolog(i), "breakDelivery") | |
3552 | 3555 | ||
3553 | 3556 | ||
3554 | 3557 | ||
3555 | 3558 | @Callable(i) | |
3556 | 3559 | func prepareRobbery (message,sig) = { | |
3557 | 3560 | let prologActions = prolog(i) | |
3558 | 3561 | if (!(sigVerify_8Kb(message, sig, pub))) | |
3559 | 3562 | then throw("signature does not match") | |
3560 | 3563 | else if ((size(i.payments) != 1)) | |
3561 | 3564 | then throw("exactly 1 payment must be attached") | |
3562 | 3565 | else { | |
3563 | 3566 | let pmt = i.payments[0] | |
3564 | 3567 | let wlgAmt = pmt.amount | |
3565 | 3568 | if (if (!(isDefined(pmt.assetId))) | |
3566 | 3569 | then true | |
3567 | 3570 | else (value(pmt.assetId) != wlgAssetId)) | |
3568 | 3571 | then throw("WLGOLD payments only!") | |
3569 | 3572 | else { | |
3570 | 3573 | let parts = split(toUtf8String(message), "|") | |
3571 | 3574 | if ((size(parts) != 2)) | |
3572 | 3575 | then throw("Wrong message format") | |
3573 | 3576 | else { | |
3574 | 3577 | let duckAssetId = parts[0] | |
3575 | 3578 | if (checkTournament(duckAssetId)) | |
3576 | 3579 | then throw("prepareRobbery_checkTournament") | |
3577 | 3580 | else if (checkDelivery(duckAssetId)) | |
3578 | 3581 | then throw("prepareRobbery_checkDelivery") | |
3579 | 3582 | else { | |
3580 | 3583 | let robCost = getRobberyData(this, duckAssetId)._1 | |
3581 | 3584 | if ((robCost > wlgAmt)) | |
3582 | 3585 | then throw(((("Payment " + toString(wlgAmt)) + " < required ") + toString(robCost))) | |
3583 | 3586 | else { | |
3584 | 3587 | let candidates = split(parts[1], "_") | |
3585 | 3588 | let now = lastBlock.timestamp | |
3586 | 3589 | let duckState = valueOrElse(getInteger(keyDuckRobberyState(duckAssetId)), 0) | |
3587 | 3590 | let lockedLand = valueOrElse(getString(keyLockedLandByDuck(duckAssetId)), "") | |
3588 | 3591 | let landETA = valueOrElse(getInteger(keyLandCooldownETA(lockedLand)), 0) | |
3589 | 3592 | if (if ((duckState != duckIdxFree)) | |
3590 | 3593 | then (landETA > now) | |
3591 | 3594 | else false) | |
3592 | 3595 | then throw(("You already started robbing, wait till " + toString(landETA))) | |
3593 | 3596 | else { | |
3594 | 3597 | func checker (acc,landAssetId) = { | |
3595 | 3598 | let state = valueOrElse(getInteger(keyLandRobberyState(landAssetId)), 0) | |
3596 | 3599 | let cooldownETA = valueOrElse(getInteger(keyLandCooldownETA(landAssetId)), 0) | |
3597 | 3600 | if ((state > size(landRobCooldowns))) | |
3598 | 3601 | then throw("Invalid state") | |
3599 | 3602 | else if ((now > cooldownETA)) | |
3600 | 3603 | then { | |
3601 | 3604 | let stakedTime = valueOrElse(getInteger(keyStakedTimeByAssetId(landAssetId)), 0) | |
3602 | 3605 | if ((0 >= stakedTime)) | |
3603 | 3606 | then acc | |
3604 | 3607 | else { | |
3605 | 3608 | let a = value(assetInfo(fromBase58String(landAssetId))) | |
3606 | 3609 | let d = split(a.description, "_") | |
3607 | 3610 | let pieces = numPiecesBySize(d[recLandSize]) | |
3608 | 3611 | let productivity = applyBonuses(landAssetId, pieces) | |
3609 | 3612 | let deltaTime = (now - stakedTime) | |
3610 | 3613 | let availRes = fraction(deltaTime, (productivity * pieces), DAYMILLIS) | |
3611 | 3614 | if ((MIN_RES_TO_ROB > availRes)) | |
3612 | 3615 | then acc | |
3613 | 3616 | else (acc :+ landAssetId) | |
3614 | 3617 | } | |
3615 | 3618 | } | |
3616 | 3619 | else acc | |
3617 | 3620 | } | |
3618 | 3621 | ||
3619 | 3622 | let filtered = { | |
3620 | 3623 | let $l = candidates | |
3621 | 3624 | let $s = size($l) | |
3622 | 3625 | let $acc0 = nil | |
3623 | 3626 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
3624 | 3627 | then $a | |
3625 | 3628 | else checker($a, $l[$i]) | |
3626 | 3629 | ||
3627 | 3630 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
3628 | 3631 | then $a | |
3629 | 3632 | else throw("List size exceeds 10") | |
3630 | 3633 | ||
3631 | 3634 | $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) | |
3632 | 3635 | } | |
3633 | 3636 | if ((size(filtered) == 0)) | |
3634 | 3637 | then throw("No candidates for robbery") | |
3635 | 3638 | else { | |
3636 | 3639 | let rndIdx = getRandomNumber(size(filtered), message, sig) | |
3637 | 3640 | let landAssetId = filtered[rndIdx] | |
3638 | 3641 | $Tuple2(([IntegerEntry(keyLandRobberyState(landAssetId), robIdxLocked), IntegerEntry(keyLandCooldownETA(landAssetId), (now + landRobCooldowns[robIdxLocked])), IntegerEntry(keyDuckRobberyState(duckAssetId), duckIdxPreparing), StringEntry(keyLockedLandByDuck(duckAssetId), landAssetId)] ++ prologActions), landAssetId) | |
3639 | 3642 | } | |
3640 | 3643 | } | |
3641 | 3644 | } | |
3642 | 3645 | } | |
3643 | 3646 | } | |
3644 | 3647 | } | |
3645 | 3648 | } | |
3646 | 3649 | } | |
3647 | 3650 | ||
3648 | 3651 | ||
3649 | 3652 | ||
3650 | 3653 | @Callable(i) | |
3651 | 3654 | func robLand (message,sig) = { | |
3652 | 3655 | let prologActions = prolog(i) | |
3653 | 3656 | if (!(sigVerify_8Kb(message, sig, pub))) | |
3654 | 3657 | then throw("signature does not match") | |
3655 | 3658 | else { | |
3656 | 3659 | let userAddr = toString(i.caller) | |
3657 | 3660 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
3658 | 3661 | let now = lastBlock.timestamp | |
3659 | 3662 | $Tuple2((prologActions :+ IntegerEntry(keyLastRobberyTimeByDuck(duckAssetId), now)), 0) | |
3660 | 3663 | } | |
3661 | 3664 | } | |
3662 | 3665 | ||
3663 | 3666 | ||
3664 | 3667 | ||
3665 | 3668 | @Callable(i) | |
3666 | 3669 | func acceptDelivery () = { | |
3667 | 3670 | let prologActions = prolog(i) | |
3668 | 3671 | let userAddr = toString(i.caller) | |
3669 | 3672 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
3670 | 3673 | let fundTotal = valueOrElse(getInteger(economyContract, deliveryFundKey), 0) | |
3671 | 3674 | let lockedTotal = valueOrElse(getInteger(economyContract, deliveryLockedKey), 0) | |
3672 | 3675 | if ((MIN_USDT_FEE_DELIVERY > (fundTotal - lockedTotal))) | |
3673 | 3676 | then throw(((("Delivery is not available, fund=" + fixedPoint(fundTotal, 6)) + ", locked=") + fixedPoint(lockedTotal, 6))) | |
3674 | 3677 | else { | |
3675 | 3678 | let now = lastBlock.timestamp | |
3676 | 3679 | let delayETA = valueOrElse(getInteger(keyDeliveryDelayByDuck(duckAssetId)), 0) | |
3677 | 3680 | if ((delayETA > now)) | |
3678 | 3681 | then throw(("Delivery is forbidden for your duck until " + toString(delayETA))) | |
3679 | 3682 | else { | |
3680 | 3683 | let health = getIntegerValue(keyDuckHealth(duckAssetId)) | |
3681 | 3684 | if ((0 >= health)) | |
3682 | 3685 | then throw("You cannot accept delivery with zero health") | |
3683 | 3686 | else { | |
3684 | 3687 | let countKey = keyUserDeliveryCount(userAddr) | |
3685 | 3688 | let count = valueOrElse(getInteger(countKey), 0) | |
3686 | 3689 | let lastDay = valueOrElse(getInteger(keyUserLastDeliveryDay(userAddr)), 0) | |
3687 | 3690 | let today = (now / DAYMILLIS) | |
3688 | 3691 | let acres = valueOrElse(getInteger(acresContract, keyAcresStakedAmountByUser(userAddr)), 0) | |
3689 | 3692 | let allowedDeliveries = (ALLOWED_FREE_DELIVERIES + (acres / ACRES_FOR_DELIVERY_ATTEMPT)) | |
3690 | 3693 | if (if ((count >= allowedDeliveries)) | |
3691 | 3694 | then (lastDay == today) | |
3692 | 3695 | else false) | |
3693 | 3696 | then throw((("You already used " + toString(allowedDeliveries)) + " delivery attempts for today")) | |
3694 | 3697 | else if (checkTournament(duckAssetId)) | |
3695 | 3698 | then throw("acceptDelivery_checkTournament") | |
3696 | 3699 | else if (checkDelivery(duckAssetId)) | |
3697 | 3700 | then throw("acceptDelivery_checkDelivery") | |
3698 | 3701 | else { | |
3699 | 3702 | let newLockedTotal = asInt(invoke(economyContract, "updateDeliveryLocked", [(lockedTotal + MIN_USDT_FEE_DELIVERY)], nil)) | |
3700 | 3703 | let curLocKey = keyDuckLocation(duckAssetId) | |
3701 | 3704 | let curLocation = valueOrElse(getString(curLocKey), DEFAULTLOCATION) | |
3702 | 3705 | let deliveryLocation = (toString(now) + "_D_0") | |
3703 | 3706 | $Tuple2(([StringEntry(keySavedLocation(duckAssetId), curLocation), StringEntry(curLocKey, deliveryLocation), IntegerEntry(countKey, if ((lastDay != today)) | |
3704 | 3707 | then 0 | |
3705 | 3708 | else count)] ++ prologActions), $Tuple2(deliveryLocation, newLockedTotal)) | |
3706 | 3709 | } | |
3707 | 3710 | } | |
3708 | 3711 | } | |
3709 | 3712 | } | |
3710 | 3713 | } | |
3711 | 3714 | ||
3712 | 3715 | ||
3713 | 3716 | ||
3714 | 3717 | @Callable(i) | |
3715 | 3718 | func checkDeliveryCallback (duckAssetId) = if ((i.caller != tournamentContract)) | |
3716 | 3719 | then throw("Access denied") | |
3717 | 3720 | else $Tuple2(nil, checkDelivery(duckAssetId)) | |
3718 | 3721 | ||
3719 | 3722 | ||
3720 | 3723 | ||
3721 | 3724 | @Callable(i) | |
3722 | 3725 | func genTestREADONLY (seed,landSizeIndex) = { | |
3723 | 3726 | let bigNum = abs(toBigInt(sha256(toBytes(seed)))) | |
3724 | 3727 | $Tuple2(nil, gen1(bigNum, landSizeIndex)) | |
3725 | 3728 | } | |
3726 | 3729 | ||
3727 | 3730 |
github/deemru/w8io/026f985 317.54 ms ◑