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