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