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