tx · F3PPkYvRj9yr9Ngh2hEptjkvkFb3GLxWQbvpmT15F5gC 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.07100000 Waves 2023.07.11 00:49 [2660374] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "F3PPkYvRj9yr9Ngh2hEptjkvkFb3GLxWQbvpmT15F5gC", "fee": 7100000, "feeAssetId": null, "timestamp": 1689025818411, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "4zzCVkG3hhGLmGbBa1dFeCMiP8XjMNe83MT4mzAfsmbB1BPvC4jXYE3dm2LaTAxvHByZd4GW6X2AnVrA4XdF5vej" ], "script": "base64:BgKtAQgCEgMKAQgSAwoBBBIAEgMKAQgSABIDCgEIEgQKAgEIEgQKAgEIEgQKAgICEgUKAwEBARIAEgQKAggIEgASBAoCAgISAwoBCBIDCgEIEgQKAggIEgMKARgSAwoBGBIECgIICBIECgIICBIDCgEIEgMKAQgSBQoDCAgIEgQKAggIEgcKBQEBAQEBEgMKAQESBQoDAQEIEgMKAQgSAwoBCBIAEgQKAggBEgQKAggBwgEABlNDQUxFOACAwtcvAAx4cExldmVsU2NhbGUAgBkAD3hwTGV2ZWxSZWNpcFBvdwCgHwASbnVtUG9pbnRzT25MZXZlbFVwAAMADGNoYXJTdHJlbmd0aAAAAAxjaGFyQWNjdXJhY3kAAQANY2hhckludGVsbGVjdAACAA1jaGFyRW5kdXJhbmNlAAMADWNoYXJEZXh0ZXJpdHkABAEMa2V5RHVja0NoYXJzAQtkdWNrQXNzZXRJZAkArAICAgpkdWNrQ2hhcnNfBQtkdWNrQXNzZXRJZAEJa2V5RHVja1hQAQtkdWNrQXNzZXRJZAkArAICAgdkdWNrWFBfBQtkdWNrQXNzZXRJZAEMa2V5RHVja0xldmVsAQtkdW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jYWxsZXIFD2Vjb25vbXlDb250cmFjdAkAAgECDUFjY2VzcyBkZW5pZWQJARd1cGRhdGVEdWNrU3RhdHNJbnRlcm5hbAIFC2R1Y2tBc3NldElkBQdkZWx0YVhQAWkBDnVwZGF0ZUFjY1N0YXRzAgRhZGRyB2RlbHRhWFADCQECIT0CCAUBaQZjYWxsZXIFD2Vjb25vbXlDb250cmFjdAkAAgECDUFjY2VzcyBkZW5pZWQJARZ1cGRhdGVBY2NTdGF0c0ludGVybmFsAgUEYWRkcgUHZGVsdGFYUACx6DeQ", "height": 2660374, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E7pHWsgZ4YffuyiKVhYaZd2unVckxUDTqPPS2PR9oDUs Next: 4eRjkh2Nm7d2njTXmhbT9TWycuBhb8mWqAJrYiZqqnCN Diff:
Old | New | Differences | |
---|---|---|---|
96 | 96 | ||
97 | 97 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
98 | 98 | ||
99 | - | let productionMatrix = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_ | |
99 | + | let productionMatrix = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_25_1", "4_10_10_4_14_10_2_25_1", "6_15_15_6_21_15_2_25_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_30_3", "18_18_2_10_10_2_5_30_3", "27_27_3_15_15_3_5_30_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"] | |
100 | 100 | ||
101 | 101 | let recipeIdxPacksize = 7 | |
102 | 102 | ||
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | - | let KSALLOWXPLEVELS = | |
223 | + | let KSALLOWXPLEVELS = false | |
224 | 224 | ||
225 | 225 | let chain = take(drop(this.bytes, 1), 1) | |
226 | 226 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let SCALE8 = 100000000 | |
5 | 5 | ||
6 | 6 | let xpLevelScale = 3200 | |
7 | 7 | ||
8 | 8 | let xpLevelRecipPow = 4000 | |
9 | 9 | ||
10 | 10 | let numPointsOnLevelUp = 3 | |
11 | 11 | ||
12 | 12 | let charStrength = 0 | |
13 | 13 | ||
14 | 14 | let charAccuracy = 1 | |
15 | 15 | ||
16 | 16 | let charIntellect = 2 | |
17 | 17 | ||
18 | 18 | let charEndurance = 3 | |
19 | 19 | ||
20 | 20 | let charDexterity = 4 | |
21 | 21 | ||
22 | 22 | func keyDuckChars (duckAssetId) = ("duckChars_" + duckAssetId) | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func keyDuckXP (duckAssetId) = ("duckXP_" + duckAssetId) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func keyDuckLevel (duckAssetId) = ("duckLevel_" + duckAssetId) | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | func keyDuckFreePoints (duckAssetId) = ("duckFreePoints_" + duckAssetId) | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func keyUserXP (addr) = ("userXP_" + addr) | |
35 | 35 | ||
36 | 36 | ||
37 | 37 | func keyUserLevel (addr) = ("userLevel_" + addr) | |
38 | 38 | ||
39 | 39 | ||
40 | 40 | func keyUserFreePoints (addr) = ("userFreePoints_" + addr) | |
41 | 41 | ||
42 | 42 | ||
43 | 43 | let xpClaim = 100000 | |
44 | 44 | ||
45 | 45 | let xpSuccessFlight = 50000 | |
46 | 46 | ||
47 | 47 | let xpFailFlight = 10000 | |
48 | 48 | ||
49 | 49 | let xpCallES = 100000 | |
50 | 50 | ||
51 | 51 | let xpCustomName = 5000000 | |
52 | 52 | ||
53 | 53 | let xpNewSLand = 50000000 | |
54 | 54 | ||
55 | 55 | let xpUpgradeInfra = 100000 | |
56 | 56 | ||
57 | 57 | let xpMerge = 10000000 | |
58 | 58 | ||
59 | 59 | let xpOnboard = 10000000 | |
60 | 60 | ||
61 | 61 | let xpHeal = 10000 | |
62 | 62 | ||
63 | 63 | func levelByXP (xp) = fraction(xpLevelScale, pow(xp, 4, xpLevelRecipPow, 4, 4, DOWN), SCALE8) | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | func maxHealth (level) = (100 + level) | |
67 | 67 | ||
68 | 68 | ||
69 | 69 | func levelUp (currLevel,newXP) = { | |
70 | 70 | let newLevel = levelByXP(newXP) | |
71 | 71 | [newLevel, (numPointsOnLevelUp * (newLevel - currLevel))] | |
72 | 72 | } | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | let LANDPREFIX = "LAND" | |
76 | 76 | ||
77 | 77 | let DUCKPREFIX = "DUCK" | |
78 | 78 | ||
79 | 79 | let ARTPRESALE = "PRESALE" | |
80 | 80 | ||
81 | 81 | let NUMRES = 6 | |
82 | 82 | ||
83 | 83 | let DAILYRESBYPIECE = 3456000 | |
84 | 84 | ||
85 | 85 | let DAYMILLIS = 86400000 | |
86 | 86 | ||
87 | 87 | let WHMULTIPLIER = 10000000000 | |
88 | 88 | ||
89 | 89 | let DEFAULTLOCATION = "Africa_F_Africa" | |
90 | 90 | ||
91 | 91 | let RESOURCEPRICEMIN = 39637 | |
92 | 92 | ||
93 | 93 | let ESSELLCOEF = 10 | |
94 | 94 | ||
95 | 95 | 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"] | |
96 | 96 | ||
97 | 97 | let continents = ["Americas", "Europe", "Asia", "Africa", "Oceania"] | |
98 | 98 | ||
99 | - | let productionMatrix = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_ | |
99 | + | let productionMatrix = ["1_1_1_2_2_5_1_10_0", "2_2_2_4_4_10_1_10_0", "3_3_3_6_6_15_1_10_0", "2_5_5_2_7_5_2_25_1", "4_10_10_4_14_10_2_25_1", "6_15_15_6_21_15_2_25_1", "1_1_1_1_1_8_1_10_2", "2_2_2_2_2_16_1_10_2", "3_3_3_3_3_24_1_10_2", "9_9_1_5_5_1_5_30_3", "18_18_2_10_10_2_5_30_3", "27_27_3_15_15_3_5_30_3", "2_2_1_2_2_2_1_10_4", "4_4_2_4_4_4_1_10_4", "6_6_3_6_6_6_1_10_4"] | |
100 | 100 | ||
101 | 101 | let recipeIdxPacksize = 7 | |
102 | 102 | ||
103 | 103 | let whIdxLevels = 0 | |
104 | 104 | ||
105 | 105 | let whIdxRes = 1 | |
106 | 106 | ||
107 | 107 | let whIdxMat = 2 | |
108 | 108 | ||
109 | 109 | let whIdxProd = 3 | |
110 | 110 | ||
111 | 111 | let whIdxLOFT = 4 | |
112 | 112 | ||
113 | 113 | let volLocked = 0 | |
114 | 114 | ||
115 | 115 | let volOccupied = 1 | |
116 | 116 | ||
117 | 117 | let volFree = 2 | |
118 | 118 | ||
119 | 119 | let volTotal = 3 | |
120 | 120 | ||
121 | 121 | let bpIdxLevel = 0 | |
122 | 122 | ||
123 | 123 | let bpIdxRes = 1 | |
124 | 124 | ||
125 | 125 | let bpIdxMat = 2 | |
126 | 126 | ||
127 | 127 | let bpIdxProd = 3 | |
128 | 128 | ||
129 | 129 | func getPkgSize (prodIdx) = parseIntValue(split(productionMatrix[prodIdx], "_")[recipeIdxPacksize]) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func keyLastTxIdByUser (addr) = ("lastTxIdByUser_" + addr) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func keyLandAssetIdToOwner (assetId) = ("nftOwner_" + assetId) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func keyLandAssetIdToCustomName (assetId) = ("landCustomNameByAssetId_" + assetId) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func keyStakedTimeByAssetId (assetId) = ("stakedTime_" + assetId) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func keyInfraLevelByAssetId (assetId) = ("infraLevel_" + assetId) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func keyLandArtStatusByTypeAndAssetId (type,assetId) = makeString(["landArtStatus", type, assetId], "_") | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func keyStakedTimeByTypeAssetIdAndOwner (nftType,assetId,ownerAddr) = ((((("stakedTimeByTypeAssetIdAndOwner_" + nftType) + "_") + assetId) + "_") + ownerAddr) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func keyWarehouseByLand (landAssetId) = ("wareHouse_" + landAssetId) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func keyStakedPiecesByOwner (ownerAddr) = ("stakedPiecesByOwner_" + ownerAddr) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func keyDuckAssetIdToCustomName (assetId) = ("duckCustomNameByAssetId_" + assetId) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func keyAddressToCustomName (addr) = ("accountCustomNameByAddr_" + addr) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func keyAddressRefBy (addr) = ("accRefBy_" + addr) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func keyOnboardArtActivatedOnDuck (duckAssetId) = ("onboardArtActivatedOnDuck_" + duckAssetId) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func keyOnboardArtDuckActivatedBy (addr) = ("onboardArtActivatedDuckBy_" + addr) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func keyAddressReferrals (addr) = ("accReferrals_" + addr) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func keyDuckIdToOwner (assetId) = ("duckOwner_" + assetId) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func keyStakedDuckByOwner (ownerAddr) = ("stakedDuckByOwner_" + ownerAddr) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func keyBackpackByDuck (duckAssetId) = ("backPack_" + duckAssetId) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func keyDuckLocation (duckAssetId) = ("duckLocation_" + duckAssetId) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func keyDuckHealth (duckAssetId) = ("duckHealth_" + duckAssetId) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func keyBlocked () = "contractsBlocked" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func keyUserGwlReleaseTime (userAddr) = ("%s%s__userGwlReleaseTime__" + userAddr) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func keyEsWarehouse () = "emergencyWarehouseProducts" | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | let locIdxType = 1 | |
202 | 202 | ||
203 | 203 | let locIdxId = 2 | |
204 | 204 | ||
205 | 205 | func getRecipeMaterials (recipe) = { | |
206 | 206 | func addMat (ac,j) = (ac + parseIntValue(recipe[j])) | |
207 | 207 | ||
208 | 208 | let $l = [0, 1, 2, 3, 4, 5] | |
209 | 209 | let $s = size($l) | |
210 | 210 | let $acc0 = 0 | |
211 | 211 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
212 | 212 | then $a | |
213 | 213 | else addMat($a, $l[$i]) | |
214 | 214 | ||
215 | 215 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
216 | 216 | then $a | |
217 | 217 | else throw("List size exceeds 6") | |
218 | 218 | ||
219 | 219 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
220 | 220 | } | |
221 | 221 | ||
222 | 222 | ||
223 | - | let KSALLOWXPLEVELS = | |
223 | + | let KSALLOWXPLEVELS = false | |
224 | 224 | ||
225 | 225 | let chain = take(drop(this.bytes, 1), 1) | |
226 | 226 | ||
227 | 227 | let usdtAssetId = match chain { | |
228 | 228 | case _ => | |
229 | 229 | if ((base58'2W' == $match0)) | |
230 | 230 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
231 | 231 | else if ((base58'2T' == $match0)) | |
232 | 232 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
233 | 233 | else throw("Unknown chain") | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | let defaultRestAddressStr = match chain { | |
237 | 237 | case _ => | |
238 | 238 | if ((base58'2W' == $match0)) | |
239 | 239 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
240 | 240 | else if ((base58'2T' == $match0)) | |
241 | 241 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
242 | 242 | else throw("Unknown chain") | |
243 | 243 | } | |
244 | 244 | ||
245 | 245 | let InfraUpgradeCostS = match chain { | |
246 | 246 | case _ => | |
247 | 247 | if ((base58'2W' == $match0)) | |
248 | 248 | then 10000000000 | |
249 | 249 | else if ((base58'2T' == $match0)) | |
250 | 250 | then 100000000 | |
251 | 251 | else throw("Unknown chain") | |
252 | 252 | } | |
253 | 253 | ||
254 | 254 | let SEP = "__" | |
255 | 255 | ||
256 | 256 | let MULT6 = 1000000 | |
257 | 257 | ||
258 | 258 | let MULT8 = 100000000 | |
259 | 259 | ||
260 | 260 | let SSIZE = 25 | |
261 | 261 | ||
262 | 262 | let MSIZE = 100 | |
263 | 263 | ||
264 | 264 | let LSIZE = 225 | |
265 | 265 | ||
266 | 266 | let XLSIZE = 400 | |
267 | 267 | ||
268 | 268 | let XXLSIZE = 625 | |
269 | 269 | ||
270 | 270 | func getStringOrFail (address,key) = valueOrErrorMessage(getString(address, key), makeString(["mandatory ", toString(address), ".", key, " is not defined"], "")) | |
271 | 271 | ||
272 | 272 | ||
273 | 273 | let IdxCfgStakingDapp = 1 | |
274 | 274 | ||
275 | 275 | let IdxCfgEconomyDapp = 2 | |
276 | 276 | ||
277 | 277 | let IdxCfgGovernanceDapp = 3 | |
278 | 278 | ||
279 | 279 | let IdxCfgWlgDapp = 4 | |
280 | 280 | ||
281 | 281 | func keyRestCfg () = "%s__restConfig" | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func keyRestAddress () = "%s__restAddr" | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func readRestCfgOrFail (rest) = split_4C(getStringOrFail(rest, keyRestCfg()), SEP) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func getContractAddressOrFail (restCfg,idx) = valueOrErrorMessage(addressFromString(restCfg[idx]), ("Rest cfg doesn't contain address at index " + toString(idx))) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | let restContract = addressFromStringValue(valueOrElse(getString(this, keyRestAddress()), defaultRestAddressStr)) | |
294 | 294 | ||
295 | 295 | let restCfg = readRestCfgOrFail(restContract) | |
296 | 296 | ||
297 | 297 | let stakingContract = getContractAddressOrFail(restCfg, IdxCfgStakingDapp) | |
298 | 298 | ||
299 | 299 | let economyContract = getContractAddressOrFail(restCfg, IdxCfgEconomyDapp) | |
300 | 300 | ||
301 | 301 | let govContract = getContractAddressOrFail(restCfg, IdxCfgGovernanceDapp) | |
302 | 302 | ||
303 | 303 | let wlgContract = getContractAddressOrFail(restCfg, IdxCfgWlgDapp) | |
304 | 304 | ||
305 | 305 | let recLandNum = 0 | |
306 | 306 | ||
307 | 307 | let recLandSize = 1 | |
308 | 308 | ||
309 | 309 | let recTerrains = 2 | |
310 | 310 | ||
311 | 311 | let recContinent = 3 | |
312 | 312 | ||
313 | 313 | func keyResProportions () = "resTypesProportions" | |
314 | 314 | ||
315 | 315 | ||
316 | 316 | func keyStakedLandsByOwner (ownerAddr) = ("stakedLandsByOwner_" + ownerAddr) | |
317 | 317 | ||
318 | 318 | ||
319 | 319 | func asString (v) = match v { | |
320 | 320 | case s: String => | |
321 | 321 | s | |
322 | 322 | case _ => | |
323 | 323 | throw("fail to cast into String") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | func asInt (v) = match v { | |
328 | 328 | case n: Int => | |
329 | 329 | n | |
330 | 330 | case _ => | |
331 | 331 | throw("fail to cast into Int") | |
332 | 332 | } | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | func numPiecesBySize (landSize) = match landSize { | |
336 | 336 | case _ => | |
337 | 337 | if (("S" == $match0)) | |
338 | 338 | then SSIZE | |
339 | 339 | else if (("M" == $match0)) | |
340 | 340 | then MSIZE | |
341 | 341 | else if (("L" == $match0)) | |
342 | 342 | then LSIZE | |
343 | 343 | else if (("XL" == $match0)) | |
344 | 344 | then XLSIZE | |
345 | 345 | else if (("XXL" == $match0)) | |
346 | 346 | then XXLSIZE | |
347 | 347 | else throw("Unknown land size") | |
348 | 348 | } | |
349 | 349 | ||
350 | 350 | ||
351 | 351 | let incubatorAddr = match chain { | |
352 | 352 | case _ => | |
353 | 353 | if ((base58'2W' == $match0)) | |
354 | 354 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
355 | 355 | else if ((base58'2T' == $match0)) | |
356 | 356 | then this | |
357 | 357 | else throw("Unknown chain") | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | let breederAddr = match chain { | |
361 | 361 | case _ => | |
362 | 362 | if ((base58'2W' == $match0)) | |
363 | 363 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
364 | 364 | else if ((base58'2T' == $match0)) | |
365 | 365 | then this | |
366 | 366 | else throw("Unknown chain") | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | let pub = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
370 | 370 | ||
371 | 371 | let medKitHp = [30, 60, 120] | |
372 | 372 | ||
373 | 373 | let FIVEMINUTESMILLIS = 300000 | |
374 | 374 | ||
375 | 375 | let RENAMINGCOST = 5000000 | |
376 | 376 | ||
377 | 377 | let MAXNAMELEN = 50 | |
378 | 378 | ||
379 | 379 | let InfraUpgradeCostSUsdt = 10000000 | |
380 | 380 | ||
381 | 381 | let EXPMATERIALS = match chain { | |
382 | 382 | case _ => | |
383 | 383 | if ((base58'2W' == $match0)) | |
384 | 384 | then 252289527462 | |
385 | 385 | else if ((base58'2T' == $match0)) | |
386 | 386 | then 2522895274 | |
387 | 387 | else throw("Unknown chain") | |
388 | 388 | } | |
389 | 389 | ||
390 | 390 | let EXPUSDT = match chain { | |
391 | 391 | case _ => | |
392 | 392 | if ((base58'2W' == $match0)) | |
393 | 393 | then 250000000 | |
394 | 394 | else if ((base58'2T' == $match0)) | |
395 | 395 | then 250000000 | |
396 | 396 | else throw("Unknown chain") | |
397 | 397 | } | |
398 | 398 | ||
399 | 399 | let FIVEX = toBigInt(5) | |
400 | 400 | ||
401 | 401 | let TWENTYX = toBigInt(20) | |
402 | 402 | ||
403 | 403 | let TWENTY2X = toBigInt((20 * 20)) | |
404 | 404 | ||
405 | 405 | let TWENTY3X = toBigInt(((20 * 20) * 20)) | |
406 | 406 | ||
407 | 407 | let TWENTY4X = toBigInt((((20 * 20) * 20) * 20)) | |
408 | 408 | ||
409 | 409 | let TWENTY5X = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
410 | 410 | ||
411 | 411 | let PRESALENUMLANDS = 500 | |
412 | 412 | ||
413 | 413 | func keyNextFreeLandNum () = "nextLandNum" | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | func keyLandToAssetId (landNum) = ("landToAsset_" + landNum) | |
417 | 417 | ||
418 | 418 | ||
419 | 419 | func keyLandCustomNameToAssetId (name) = ("landByCustomName_" + name) | |
420 | 420 | ||
421 | 421 | ||
422 | 422 | func keyInfraLevelByAssetIdAndOwner (assetId,ownerAddr) = ((("infraLevelByAssetIdAndOwner_" + assetId) + "_") + ownerAddr) | |
423 | 423 | ||
424 | 424 | ||
425 | 425 | func keyLandArtStatusByTypeAssetIdAndOwner (type,assetId,ownerAddr) = makeString(["landArtStatusByTypeAssetIdAndOwner", type, assetId, ownerAddr], "_") | |
426 | 426 | ||
427 | 427 | ||
428 | 428 | func keyLandNumToOwner (landNum) = ("landOwner_" + landNum) | |
429 | 429 | ||
430 | 430 | ||
431 | 431 | func keyDuckCustomNameToAssetId (name) = ("duckByCustomName_" + name) | |
432 | 432 | ||
433 | 433 | ||
434 | 434 | func keyCustomNameToAddress (name) = ("accountByCustomName_" + name) | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | func keyOldies () = "oldiesList" | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | let claimModeWh = 0 | |
441 | 441 | ||
442 | 442 | let claimModeDuck = 1 | |
443 | 443 | ||
444 | 444 | let claimModeWhThenDuck = 2 | |
445 | 445 | ||
446 | 446 | let flHealth = 0 | |
447 | 447 | ||
448 | 448 | let flTimestamp = 5 | |
449 | 449 | ||
450 | 450 | let flBonus = 6 | |
451 | 451 | ||
452 | 452 | let flProdsUsed = 7 | |
453 | 453 | ||
454 | 454 | func nftName (landNum,landSize) = ((LANDPREFIX + landNum) + landSize) | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | func distributeByWeights (total,weights) = { | |
458 | 458 | let sum = (((((weights[0] + weights[1]) + weights[2]) + weights[3]) + weights[4]) + weights[5]) | |
459 | 459 | if ((0 >= sum)) | |
460 | 460 | then throw("Zero weights sum") | |
461 | 461 | else { | |
462 | 462 | let norm6 = fraction(total, MULT6, sum) | |
463 | 463 | func normalizer (acc,elem) = (acc :+ fraction(elem, norm6, MULT6)) | |
464 | 464 | ||
465 | 465 | let $l = weights | |
466 | 466 | let $s = size($l) | |
467 | 467 | let $acc0 = nil | |
468 | 468 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
469 | 469 | then $a | |
470 | 470 | else normalizer($a, $l[$i]) | |
471 | 471 | ||
472 | 472 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
473 | 473 | then $a | |
474 | 474 | else throw("List size exceeds 6") | |
475 | 475 | ||
476 | 476 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
477 | 477 | } | |
478 | 478 | } | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | func getNeededMaterials (total) = { | |
482 | 482 | let props = split(value(getString(keyResProportions())), "_") | |
483 | 483 | if ((size(props) != NUMRES)) | |
484 | 484 | then throw("Wrong proportions data") | |
485 | 485 | else { | |
486 | 486 | let r = [parseIntValue(props[0]), parseIntValue(props[1]), parseIntValue(props[2]), parseIntValue(props[3]), parseIntValue(props[4]), parseIntValue(props[5])] | |
487 | 487 | distributeByWeights(total, r) | |
488 | 488 | } | |
489 | 489 | } | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | func subtractMaterials (shouldUseMat,has,totalNeed) = { | |
493 | 493 | let need = getNeededMaterials(totalNeed) | |
494 | 494 | func subtractor (acc,idx) = { | |
495 | 495 | let result = (parseIntValue(has[idx]) - need[idx]) | |
496 | 496 | if ((0 > result)) | |
497 | 497 | then throw(((((("Not enough material idx=" + toString(idx)) + ", you have ") + has[idx]) + ", but need ") + toString(need[idx]))) | |
498 | 498 | else (acc :+ toString(result)) | |
499 | 499 | } | |
500 | 500 | ||
501 | 501 | if (shouldUseMat) | |
502 | 502 | then { | |
503 | 503 | let $l = [0, 1, 2, 3, 4, 5] | |
504 | 504 | let $s = size($l) | |
505 | 505 | let $acc0 = nil | |
506 | 506 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
507 | 507 | then $a | |
508 | 508 | else subtractor($a, $l[$i]) | |
509 | 509 | ||
510 | 510 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
511 | 511 | then $a | |
512 | 512 | else throw("List size exceeds 6") | |
513 | 513 | ||
514 | 514 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
515 | 515 | } | |
516 | 516 | else has | |
517 | 517 | } | |
518 | 518 | ||
519 | 519 | ||
520 | 520 | func subtractProducts (pHas,pUsed) = if ((pUsed == "")) | |
521 | 521 | then pHas | |
522 | 522 | else { | |
523 | 523 | let pList = if ((pHas == "")) | |
524 | 524 | then nil | |
525 | 525 | else split(pHas, "_") | |
526 | 526 | func subP (acc,item) = { | |
527 | 527 | let j = acc._1 | |
528 | 528 | func checkUsed (ac,idxAmt) = { | |
529 | 529 | let parts = split(idxAmt, ",") | |
530 | 530 | if ((size(parts) != 2)) | |
531 | 531 | then throw("Incorrect format, should be index,amount") | |
532 | 532 | else { | |
533 | 533 | let idx = parseIntValue(parts[0]) | |
534 | 534 | if (if ((0 > idx)) | |
535 | 535 | then true | |
536 | 536 | else (idx >= size(productionMatrix))) | |
537 | 537 | then throw("Unknown product idx") | |
538 | 538 | else if ((idx != j)) | |
539 | 539 | then ac | |
540 | 540 | else { | |
541 | 541 | let amt = parseIntValue(parts[1]) | |
542 | 542 | if ((0 >= amt)) | |
543 | 543 | then throw("Pass only positive amounts") | |
544 | 544 | else (ac + amt) | |
545 | 545 | } | |
546 | 546 | } | |
547 | 547 | } | |
548 | 548 | ||
549 | 549 | let a = { | |
550 | 550 | let $l = split(pUsed, "_") | |
551 | 551 | let $s = size($l) | |
552 | 552 | let $acc0 = 0 | |
553 | 553 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
554 | 554 | then $a | |
555 | 555 | else checkUsed($a, $l[$i]) | |
556 | 556 | ||
557 | 557 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
558 | 558 | then $a | |
559 | 559 | else throw("List size exceeds 10") | |
560 | 560 | ||
561 | 561 | $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) | |
562 | 562 | } | |
563 | 563 | let curr = if ((size(pList) > j)) | |
564 | 564 | then parseIntValue(pList[j]) | |
565 | 565 | else 0 | |
566 | 566 | let newAmt = if ((a > curr)) | |
567 | 567 | then throw(((((("You have " + toString(curr)) + " of ") + prodTypes[j]) + ", but tried to use ") + toString(a))) | |
568 | 568 | else (curr - a) | |
569 | 569 | $Tuple2((j + 1), (acc._2 :+ toString(newAmt))) | |
570 | 570 | } | |
571 | 571 | ||
572 | 572 | let newProd = { | |
573 | 573 | let $l = productionMatrix | |
574 | 574 | let $s = size($l) | |
575 | 575 | let $acc0 = $Tuple2(0, nil) | |
576 | 576 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
577 | 577 | then $a | |
578 | 578 | else subP($a, $l[$i]) | |
579 | 579 | ||
580 | 580 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
581 | 581 | then $a | |
582 | 582 | else throw("List size exceeds 50") | |
583 | 583 | ||
584 | 584 | $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) | |
585 | 585 | } | |
586 | 586 | makeString(newProd._2, "_") | |
587 | 587 | } | |
588 | 588 | ||
589 | 589 | ||
590 | 590 | func updateProportionsInternal (propList,terrainCounts,landSizeIndex,sign) = if ((size(propList) != NUMRES)) | |
591 | 591 | then throw("Wrong proportions data") | |
592 | 592 | else { | |
593 | 593 | func updater (acc,i) = { | |
594 | 594 | let result = (parseIntValue(propList[i]) + ((sign * terrainCounts[i]) * landSizeIndex)) | |
595 | 595 | if ((0 > result)) | |
596 | 596 | then throw(((((((("Panic! Pieces of type=" + toString(i)) + ", sign=") + toString(sign)) + ", terrainCounts[i]=") + toString(terrainCounts[i])) + ", landSizeIndex=") + toString(landSizeIndex))) | |
597 | 597 | else (acc :+ toString(result)) | |
598 | 598 | } | |
599 | 599 | ||
600 | 600 | let r = { | |
601 | 601 | let $l = [0, 1, 2, 3, 4, 5] | |
602 | 602 | let $s = size($l) | |
603 | 603 | let $acc0 = nil | |
604 | 604 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
605 | 605 | then $a | |
606 | 606 | else updater($a, $l[$i]) | |
607 | 607 | ||
608 | 608 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
609 | 609 | then $a | |
610 | 610 | else throw("List size exceeds 6") | |
611 | 611 | ||
612 | 612 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
613 | 613 | } | |
614 | 614 | makeString(r, "_") | |
615 | 615 | } | |
616 | 616 | ||
617 | 617 | ||
618 | 618 | func updateProportions (terrainCounts,landSizeIndex,sign) = { | |
619 | 619 | let propList = split(valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0"), "_") | |
620 | 620 | updateProportionsInternal(propList, terrainCounts, landSizeIndex, sign) | |
621 | 621 | } | |
622 | 622 | ||
623 | 623 | ||
624 | 624 | 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)] | |
625 | 625 | ||
626 | 626 | ||
627 | 627 | func addRes (currentRes,terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
628 | 628 | func adder (acc,i) = { | |
629 | 629 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
630 | 630 | (acc :+ toString((parseIntValue(currentRes[i]) + resOfType))) | |
631 | 631 | } | |
632 | 632 | ||
633 | 633 | let r = { | |
634 | 634 | let $l = [0, 1, 2, 3, 4, 5] | |
635 | 635 | let $s = size($l) | |
636 | 636 | let $acc0 = nil | |
637 | 637 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
638 | 638 | then $a | |
639 | 639 | else adder($a, $l[$i]) | |
640 | 640 | ||
641 | 641 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
642 | 642 | then $a | |
643 | 643 | else throw("List size exceeds 6") | |
644 | 644 | ||
645 | 645 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
646 | 646 | } | |
647 | 647 | makeString(r, "_") | |
648 | 648 | } | |
649 | 649 | ||
650 | 650 | ||
651 | 651 | func virtClaim (terrainCounts,deltaTime,landSizeIndex,dailyByPieceWithBonuses) = { | |
652 | 652 | func adder (acc,i) = { | |
653 | 653 | let resOfType = ((fraction(deltaTime, dailyByPieceWithBonuses, DAYMILLIS) * terrainCounts[i]) * landSizeIndex) | |
654 | 654 | $Tuple2((acc._1 :+ resOfType), (acc._2 + resOfType)) | |
655 | 655 | } | |
656 | 656 | ||
657 | 657 | let $l = [0, 1, 2, 3, 4, 5] | |
658 | 658 | let $s = size($l) | |
659 | 659 | let $acc0 = $Tuple2(nil, 0) | |
660 | 660 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
661 | 661 | then $a | |
662 | 662 | else adder($a, $l[$i]) | |
663 | 663 | ||
664 | 664 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
665 | 665 | then $a | |
666 | 666 | else throw("List size exceeds 6") | |
667 | 667 | ||
668 | 668 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
669 | 669 | } | |
670 | 670 | ||
671 | 671 | ||
672 | 672 | func distributeRes (currentWhRes,currentPackRes,resToClaim,whSpaceLeft) = { | |
673 | 673 | let resListToClaim = resToClaim._1 | |
674 | 674 | let resAmToClaim = resToClaim._2 | |
675 | 675 | if ((resAmToClaim == 0)) | |
676 | 676 | then $Tuple2(makeString(currentWhRes, "_"), makeString(currentPackRes, "_")) | |
677 | 677 | else if ((whSpaceLeft >= resAmToClaim)) | |
678 | 678 | then { | |
679 | 679 | func addLists (acc,i) = (acc :+ toString((parseIntValue(currentWhRes[i]) + resListToClaim[i]))) | |
680 | 680 | ||
681 | 681 | let r = { | |
682 | 682 | let $l = [0, 1, 2, 3, 4, 5] | |
683 | 683 | let $s = size($l) | |
684 | 684 | let $acc0 = nil | |
685 | 685 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
686 | 686 | then $a | |
687 | 687 | else addLists($a, $l[$i]) | |
688 | 688 | ||
689 | 689 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
690 | 690 | then $a | |
691 | 691 | else throw("List size exceeds 6") | |
692 | 692 | ||
693 | 693 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
694 | 694 | } | |
695 | 695 | $Tuple2(makeString(r, "_"), makeString(currentPackRes, "_")) | |
696 | 696 | } | |
697 | 697 | else { | |
698 | 698 | func addPartLists (acc,i) = { | |
699 | 699 | let whPart = fraction(resListToClaim[i], whSpaceLeft, resAmToClaim) | |
700 | 700 | $Tuple2((acc._1 :+ toString((parseIntValue(currentWhRes[i]) + whPart))), (acc._2 :+ toString(((parseIntValue(currentPackRes[i]) + resListToClaim[i]) - whPart)))) | |
701 | 701 | } | |
702 | 702 | ||
703 | 703 | let r = { | |
704 | 704 | let $l = [0, 1, 2, 3, 4, 5] | |
705 | 705 | let $s = size($l) | |
706 | 706 | let $acc0 = $Tuple2(nil, nil) | |
707 | 707 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
708 | 708 | then $a | |
709 | 709 | else addPartLists($a, $l[$i]) | |
710 | 710 | ||
711 | 711 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
712 | 712 | then $a | |
713 | 713 | else throw("List size exceeds 6") | |
714 | 714 | ||
715 | 715 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
716 | 716 | } | |
717 | 717 | $Tuple2(makeString(r._1, "_"), makeString(r._2, "_")) | |
718 | 718 | } | |
719 | 719 | } | |
720 | 720 | ||
721 | 721 | ||
722 | 722 | func abs (x) = if ((x >= toBigInt(0))) | |
723 | 723 | then x | |
724 | 724 | else -(x) | |
725 | 725 | ||
726 | 726 | ||
727 | 727 | 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]] | |
728 | 728 | ||
729 | 729 | func genChar (n,freqs) = { | |
730 | 730 | let rem = toInt((n % TWENTYX)) | |
731 | 731 | let letter = if ((freqs[0] > rem)) | |
732 | 732 | then "A" | |
733 | 733 | else if ((freqs[1] > rem)) | |
734 | 734 | then "B" | |
735 | 735 | else if ((freqs[2] > rem)) | |
736 | 736 | then "C" | |
737 | 737 | else if ((freqs[3] > rem)) | |
738 | 738 | then "D" | |
739 | 739 | else if ((freqs[4] > rem)) | |
740 | 740 | then "E" | |
741 | 741 | else "F" | |
742 | 742 | letter | |
743 | 743 | } | |
744 | 744 | ||
745 | 745 | ||
746 | 746 | func genTerrains (seed,continentIdx) = { | |
747 | 747 | let f = freq[continentIdx] | |
748 | 748 | 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)) | |
749 | 749 | ||
750 | 750 | let t = { | |
751 | 751 | let $l = [1, 2, 3, 4, 5] | |
752 | 752 | let $s = size($l) | |
753 | 753 | let $acc0 = $Tuple2("", (seed / FIVEX)) | |
754 | 754 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
755 | 755 | then $a | |
756 | 756 | else terrainGenerator($a, $l[$i]) | |
757 | 757 | ||
758 | 758 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
759 | 759 | then $a | |
760 | 760 | else throw("List size exceeds 5") | |
761 | 761 | ||
762 | 762 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
763 | 763 | } | |
764 | 764 | t._1 | |
765 | 765 | } | |
766 | 766 | ||
767 | 767 | ||
768 | 768 | func getBackpack (bpKey) = { | |
769 | 769 | let p = split(valueOrElse(getString(bpKey), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
770 | 770 | [toString(valueOrElse(parseInt(p[bpIdxLevel]), 0)), if ((size(split(p[bpIdxRes], "_")) == NUMRES)) | |
771 | 771 | then p[bpIdxRes] | |
772 | 772 | else "0_0_0_0_0_0", if ((size(split(p[bpIdxMat], "_")) == NUMRES)) | |
773 | 773 | then p[bpIdxMat] | |
774 | 774 | else "0_0_0_0_0_0", p[bpIdxProd]] | |
775 | 775 | } | |
776 | 776 | ||
777 | 777 | ||
778 | 778 | func getWarehouseTotalVolume (volPrefix) = { | |
779 | 779 | let parts = split(volPrefix, "_") | |
780 | 780 | ((WHMULTIPLIER * (parseIntValue(parts[1]) + 1)) * parseIntValue(parts[0])) | |
781 | 781 | } | |
782 | 782 | ||
783 | 783 | ||
784 | 784 | func getWarehouseOccupiedVol (currentWh) = { | |
785 | 785 | let goods = currentWh[whIdxProd] | |
786 | 786 | func sumResMat (acc,item) = (acc + parseIntValue(item)) | |
787 | 787 | ||
788 | 788 | func sumProd (acc,item) = { | |
789 | 789 | let idx = acc._1 | |
790 | 790 | let pkgSize = getPkgSize(idx) | |
791 | 791 | let pkgs = (((parseIntValue(item) + pkgSize) - 1) / pkgSize) | |
792 | 792 | $Tuple2((idx + 1), (acc._2 + (pkgs * MULT8))) | |
793 | 793 | } | |
794 | 794 | ||
795 | 795 | let whResVol = { | |
796 | 796 | let $l = split(currentWh[whIdxRes], "_") | |
797 | 797 | let $s = size($l) | |
798 | 798 | let $acc0 = 0 | |
799 | 799 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
800 | 800 | then $a | |
801 | 801 | else sumResMat($a, $l[$i]) | |
802 | 802 | ||
803 | 803 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
804 | 804 | then $a | |
805 | 805 | else throw("List size exceeds 6") | |
806 | 806 | ||
807 | 807 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
808 | 808 | } | |
809 | 809 | let whMatVol = { | |
810 | 810 | let $l = split(currentWh[whIdxMat], "_") | |
811 | 811 | let $s = size($l) | |
812 | 812 | let $acc0 = 0 | |
813 | 813 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
814 | 814 | then $a | |
815 | 815 | else sumResMat($a, $l[$i]) | |
816 | 816 | ||
817 | 817 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
818 | 818 | then $a | |
819 | 819 | else throw("List size exceeds 6") | |
820 | 820 | ||
821 | 821 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
822 | 822 | } | |
823 | 823 | let whGoodsVol = if ((goods == "")) | |
824 | 824 | then 0 | |
825 | 825 | else ( let $l = split_4C(goods, "_") | |
826 | 826 | let $s = size($l) | |
827 | 827 | let $acc0 = $Tuple2(0, 0) | |
828 | 828 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
829 | 829 | then $a | |
830 | 830 | else sumProd($a, $l[$i]) | |
831 | 831 | ||
832 | 832 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
833 | 833 | then $a | |
834 | 834 | else throw("List size exceeds 50") | |
835 | 835 | ||
836 | 836 | $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 | |
837 | 837 | ((whResVol + whMatVol) + whGoodsVol) | |
838 | 838 | } | |
839 | 839 | ||
840 | 840 | ||
841 | 841 | func getWarehouse (whKey,landIndex,infraLevel) = { | |
842 | 842 | let volPrefix = ((toString(landIndex) + "_") + toString(infraLevel)) | |
843 | 843 | let whTotal = getWarehouseTotalVolume(volPrefix) | |
844 | 844 | let whStr = valueOrElse(getString(whKey), (volPrefix + ":0_0_0_0_0_0:0_0_0_0_0_0::0")) | |
845 | 845 | let wh = split_4C(whStr, ":") | |
846 | 846 | let whOccupied = getWarehouseOccupiedVol(wh) | |
847 | 847 | let whLoft = if ((5 > size(wh))) | |
848 | 848 | then makeString(["0", toString(whOccupied), toString((whTotal - whOccupied)), toString(whTotal)], "_") | |
849 | 849 | else { | |
850 | 850 | let loft = split(wh[whIdxLOFT], "_") | |
851 | 851 | let whLocked = parseIntValue(loft[volLocked]) | |
852 | 852 | let occ = if ((size(loft) > 1)) | |
853 | 853 | then parseIntValue(loft[volOccupied]) | |
854 | 854 | else whOccupied | |
855 | 855 | makeString([toString(whLocked), toString(occ), toString(((whTotal - whLocked) - occ)), toString(whTotal)], "_") | |
856 | 856 | } | |
857 | 857 | [wh[whIdxLevels], if ((size(split(wh[whIdxRes], "_")) == NUMRES)) | |
858 | 858 | then wh[whIdxRes] | |
859 | 859 | else "0_0_0_0_0_0", if ((size(split(wh[whIdxMat], "_")) == NUMRES)) | |
860 | 860 | then wh[whIdxMat] | |
861 | 861 | else "0_0_0_0_0_0", wh[whIdxProd], whLoft] | |
862 | 862 | } | |
863 | 863 | ||
864 | 864 | ||
865 | 865 | func getWarehouseSpaceLeft (currentWh) = { | |
866 | 866 | let occupiedVol = getWarehouseOccupiedVol(currentWh) | |
867 | 867 | let currWhLockedVol = parseIntValue(split(currentWh[whIdxLOFT], "_")[volLocked]) | |
868 | 868 | ((getWarehouseTotalVolume(currentWh[whIdxLevels]) - occupiedVol) - currWhLockedVol) | |
869 | 869 | } | |
870 | 870 | ||
871 | 871 | ||
872 | 872 | func toVolume (amount,pkgSize) = { | |
873 | 873 | let pkgs = if ((amount >= 0)) | |
874 | 874 | then (((amount + pkgSize) - 1) / pkgSize) | |
875 | 875 | else -((((-(amount) + pkgSize) - 1) / pkgSize)) | |
876 | 876 | (pkgs * MULT8) | |
877 | 877 | } | |
878 | 878 | ||
879 | 879 | ||
880 | 880 | func moveStuff (cargoParts,currentWh,currentPack) = if ((size(cargoParts) != 3)) | |
881 | 881 | then throw("cargoListStr should contain exactly 2 ':' separators") | |
882 | 882 | else { | |
883 | 883 | let resParts = split(cargoParts[0], "_") | |
884 | 884 | let matParts = split(cargoParts[1], "_") | |
885 | 885 | let prodParts = if ((cargoParts[2] == "")) | |
886 | 886 | then nil | |
887 | 887 | else split(cargoParts[2], "_") | |
888 | 888 | if ((size(resParts) != NUMRES)) | |
889 | 889 | then throw("All 6 resources should be passed") | |
890 | 890 | else if ((size(matParts) != NUMRES)) | |
891 | 891 | then throw("All 6 materials should be passed") | |
892 | 892 | else { | |
893 | 893 | let whSpaceLeft = getWarehouseSpaceLeft(currentWh) | |
894 | 894 | let currWhRes = split(currentWh[whIdxRes], "_") | |
895 | 895 | let currWhMat = split(currentWh[whIdxMat], "_") | |
896 | 896 | let currWhProd = if ((currentWh[whIdxProd] == "")) | |
897 | 897 | then nil | |
898 | 898 | else split(currentWh[whIdxProd], "_") | |
899 | 899 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
900 | 900 | let currentPackMat = split(currentPack[bpIdxMat], "_") | |
901 | 901 | let currentPackProd = if ((currentPack[bpIdxProd] == "")) | |
902 | 902 | then nil | |
903 | 903 | else split(currentPack[bpIdxProd], "_") | |
904 | 904 | func mvR (acc,item) = { | |
905 | 905 | let i = acc._1 | |
906 | 906 | let am = parseIntValue(item) | |
907 | 907 | let whr = parseIntValue(currWhRes[i]) | |
908 | 908 | let bpr = parseIntValue(currentPackRes[i]) | |
909 | 909 | if ((am == 0)) | |
910 | 910 | then $Tuple4((i + 1), (acc._2 :+ currWhRes[i]), (acc._3 :+ currentPackRes[i]), acc._4) | |
911 | 911 | else if ((am > 0)) | |
912 | 912 | then if ((am > bpr)) | |
913 | 913 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpr)) + " available")) | |
914 | 914 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
915 | 915 | else if ((-(am) > whr)) | |
916 | 916 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whr)) + " available")) | |
917 | 917 | else $Tuple4((i + 1), (acc._2 :+ toString((whr + am))), (acc._3 :+ toString((bpr - am))), (acc._4 + am)) | |
918 | 918 | } | |
919 | 919 | ||
920 | 920 | let r = { | |
921 | 921 | let $l = resParts | |
922 | 922 | let $s = size($l) | |
923 | 923 | let $acc0 = $Tuple4(0, nil, nil, 0) | |
924 | 924 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
925 | 925 | then $a | |
926 | 926 | else mvR($a, $l[$i]) | |
927 | 927 | ||
928 | 928 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
929 | 929 | then $a | |
930 | 930 | else throw("List size exceeds 6") | |
931 | 931 | ||
932 | 932 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
933 | 933 | } | |
934 | 934 | func mvM (acc,item) = { | |
935 | 935 | let i = acc._1 | |
936 | 936 | let am = parseIntValue(item) | |
937 | 937 | let whm = parseIntValue(currWhMat[i]) | |
938 | 938 | let bpm = parseIntValue(currentPackMat[i]) | |
939 | 939 | if ((am == 0)) | |
940 | 940 | then $Tuple4((i + 1), (acc._2 :+ currWhMat[i]), (acc._3 :+ currentPackMat[i]), acc._4) | |
941 | 941 | else if ((am > 0)) | |
942 | 942 | then if ((am > bpm)) | |
943 | 943 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpm)) + " available")) | |
944 | 944 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
945 | 945 | else if ((-(am) > whm)) | |
946 | 946 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whm)) + " available")) | |
947 | 947 | else $Tuple4((i + 1), (acc._2 :+ toString((whm + am))), (acc._3 :+ toString((bpm - am))), (acc._4 + am)) | |
948 | 948 | } | |
949 | 949 | ||
950 | 950 | let m = { | |
951 | 951 | let $l = matParts | |
952 | 952 | let $s = size($l) | |
953 | 953 | let $acc0 = $Tuple4(0, nil, nil, r._4) | |
954 | 954 | func $f1_1 ($a,$i) = if (($i >= $s)) | |
955 | 955 | then $a | |
956 | 956 | else mvM($a, $l[$i]) | |
957 | 957 | ||
958 | 958 | func $f1_2 ($a,$i) = if (($i >= $s)) | |
959 | 959 | then $a | |
960 | 960 | else throw("List size exceeds 6") | |
961 | 961 | ||
962 | 962 | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
963 | 963 | } | |
964 | 964 | func mvP (acc,item) = { | |
965 | 965 | let i = acc._1 | |
966 | 966 | let pkgSize = getPkgSize(i) | |
967 | 967 | let am = parseIntValue(item) | |
968 | 968 | let whp = if ((size(currWhProd) > i)) | |
969 | 969 | then parseIntValue(currWhProd[i]) | |
970 | 970 | else 0 | |
971 | 971 | let bpp = if ((size(currentPackProd) > i)) | |
972 | 972 | then parseIntValue(currentPackProd[i]) | |
973 | 973 | else 0 | |
974 | 974 | if ((am == 0)) | |
975 | 975 | then $Tuple4((i + 1), (acc._2 :+ toString(whp)), (acc._3 :+ toString(bpp)), acc._4) | |
976 | 976 | else if ((am > 0)) | |
977 | 977 | then if ((am > bpp)) | |
978 | 978 | then throw((((("Attempt to take " + item) + " from backpack, but only ") + toString(bpp)) + " available")) | |
979 | 979 | else { | |
980 | 980 | let deltaVol = (toVolume((whp + am), pkgSize) - toVolume(whp, pkgSize)) | |
981 | 981 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
982 | 982 | } | |
983 | 983 | else if ((-(am) > whp)) | |
984 | 984 | then throw((((("Attempt to take " + toString(-(am))) + " from warehouse, but only ") + toString(whp)) + " available")) | |
985 | 985 | else { | |
986 | 986 | let deltaVol = (toVolume((whp + am), pkgSize) - toVolume(whp, pkgSize)) | |
987 | 987 | $Tuple4((i + 1), (acc._2 :+ toString((whp + am))), (acc._3 :+ toString((bpp - am))), (acc._4 + deltaVol)) | |
988 | 988 | } | |
989 | 989 | } | |
990 | 990 | ||
991 | 991 | let p = if ((size(prodParts) != 0)) | |
992 | 992 | then { | |
993 | 993 | let $l = prodParts | |
994 | 994 | let $s = size($l) | |
995 | 995 | let $acc0 = $Tuple4(0, nil, nil, m._4) | |
996 | 996 | func $f2_1 ($a,$i) = if (($i >= $s)) | |
997 | 997 | then $a | |
998 | 998 | else mvP($a, $l[$i]) | |
999 | 999 | ||
1000 | 1000 | func $f2_2 ($a,$i) = if (($i >= $s)) | |
1001 | 1001 | then $a | |
1002 | 1002 | else throw("List size exceeds 50") | |
1003 | 1003 | ||
1004 | 1004 | $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) | |
1005 | 1005 | } | |
1006 | 1006 | else $Tuple4(0, currWhProd, currentPackProd, m._4) | |
1007 | 1007 | let volSaldo = p._4 | |
1008 | 1008 | if ((volSaldo > whSpaceLeft)) | |
1009 | 1009 | then throw((((("Attempt to put total " + toString(volSaldo)) + " stuff, but only ") + toString(whSpaceLeft)) + " warehouse space left")) | |
1010 | 1010 | else $Tuple7(makeString(r._2, "_"), makeString(m._2, "_"), makeString(p._2, "_"), makeString(r._3, "_"), makeString(m._3, "_"), makeString(p._3, "_"), volSaldo) | |
1011 | 1011 | } | |
1012 | 1012 | } | |
1013 | 1013 | ||
1014 | 1014 | ||
1015 | 1015 | func expeditionInternal (caller,txId) = { | |
1016 | 1016 | let userAddr = toString(caller) | |
1017 | 1017 | let bigNum = abs(toBigInt(txId)) | |
1018 | 1018 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
1019 | 1019 | let landNum = toString(freeNum) | |
1020 | 1020 | let continentIdx = toInt((bigNum % FIVEX)) | |
1021 | 1021 | let terrains = genTerrains(bigNum, continentIdx) | |
1022 | 1022 | let continent = continents[continentIdx] | |
1023 | 1023 | let issue = Issue(nftName(landNum, "S"), makeString([landNum, "S", terrains, continent], "_"), 1, 0, false) | |
1024 | 1024 | let assetId = calculateAssetId(issue) | |
1025 | 1025 | let id = toBase58String(assetId) | |
1026 | 1026 | $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)) | |
1027 | 1027 | } | |
1028 | 1028 | ||
1029 | 1029 | ||
1030 | 1030 | func flightCommon (userAddr,message,sig) = if (!(sigVerify_8Kb(message, sig, pub))) | |
1031 | 1031 | then throw("signature does not match") | |
1032 | 1032 | else { | |
1033 | 1033 | let parts = split(toUtf8String(message), ";") | |
1034 | 1034 | let flightLog = split(parts[0], "|") | |
1035 | 1035 | let hp = split(flightLog[flHealth], "_") | |
1036 | 1036 | let curHP = parseIntValue(hp[0]) | |
1037 | 1037 | let newHP = parseIntValue(hp[1]) | |
1038 | 1038 | let newLocTxVer = split(parts[1], ":") | |
1039 | 1039 | let newLocation = newLocTxVer[0] | |
1040 | 1040 | let time = parseIntValue(flightLog[flTimestamp]) | |
1041 | 1041 | if (if ((time > (lastBlock.timestamp + FIVEMINUTESMILLIS))) | |
1042 | 1042 | then true | |
1043 | 1043 | else ((lastBlock.timestamp - FIVEMINUTESMILLIS) > time)) | |
1044 | 1044 | then throw(((("signature outdated: logTime=" + toString(time)) + ", bcTime=") + toString(lastBlock.timestamp))) | |
1045 | 1045 | else { | |
1046 | 1046 | let txFromMsg = newLocTxVer[1] | |
1047 | 1047 | let lastTx = valueOrElse(getString(keyLastTxIdByUser(userAddr)), "") | |
1048 | 1048 | if ((lastTx != txFromMsg)) | |
1049 | 1049 | then throw(((("Tx ids don't match! In state: " + lastTx) + ", in msg: ") + txFromMsg)) | |
1050 | 1050 | else { | |
1051 | 1051 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(userAddr)), "You don't have a duck staked") | |
1052 | 1052 | let keyHealth = keyDuckHealth(duckAssetId) | |
1053 | 1053 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
1054 | 1054 | let oldFromState = valueOrElse(getInteger(keyHealth), maxHP) | |
1055 | 1055 | if ((oldFromState != curHP)) | |
1056 | 1056 | then throw(((("oldHealth=" + toString(oldFromState)) + " from state does not match one from flight log=") + toString(curHP))) | |
1057 | 1057 | else if ((0 >= curHP)) | |
1058 | 1058 | then throw("You can't fly with zero health") | |
1059 | 1059 | else { | |
1060 | 1060 | let bonus = if ((size(flightLog) > flBonus)) | |
1061 | 1061 | then flightLog[flBonus] | |
1062 | 1062 | else "" | |
1063 | 1063 | let prodUsed = if ((size(flightLog) > flProdsUsed)) | |
1064 | 1064 | then flightLog[flProdsUsed] | |
1065 | 1065 | else "" | |
1066 | 1066 | let sentAmount = if (if ((newHP > 0)) | |
1067 | 1067 | then (bonus == "$") | |
1068 | 1068 | else false) | |
1069 | 1069 | then asInt(invoke(restContract, "sendUsdtPrize", [userAddr], nil)) | |
1070 | 1070 | else 0 | |
1071 | 1071 | $Tuple5(newHP, duckAssetId, sentAmount, newLocation, prodUsed) | |
1072 | 1072 | } | |
1073 | 1073 | } | |
1074 | 1074 | } | |
1075 | 1075 | } | |
1076 | 1076 | ||
1077 | 1077 | ||
1078 | 1078 | func expeditionCommon (caller,txId,message,sig) = { | |
1079 | 1079 | let userAddr = toString(caller) | |
1080 | 1080 | let f = flightCommon(userAddr, message, sig) | |
1081 | 1081 | let keyHealth = keyDuckHealth(f._2) | |
1082 | 1082 | let bpKey = keyBackpackByDuck(f._2) | |
1083 | 1083 | let currentPack = getBackpack(bpKey) | |
1084 | 1084 | let mList = split(currentPack[bpIdxMat], "_") | |
1085 | 1085 | let newMat = makeString(subtractMaterials(true, mList, EXPMATERIALS), "_") | |
1086 | 1086 | let newProd = subtractProducts(currentPack[bpIdxProd], f._5) | |
1087 | 1087 | if ((0 >= f._1)) | |
1088 | 1088 | then $Tuple3([IntegerEntry(keyHealth, 0), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":"))], "", 0) | |
1089 | 1089 | else { | |
1090 | 1090 | let e = expeditionInternal(caller, txId) | |
1091 | 1091 | let id = e._2._1 | |
1092 | 1092 | $Tuple3((((e._1 :+ StringEntry(keyDuckLocation(f._2), makeString([e._2._2, "L", id], "_"))) :+ IntegerEntry(keyHealth, f._1)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], newMat, newProd], ":"))), id, f._3) | |
1093 | 1093 | } | |
1094 | 1094 | } | |
1095 | 1095 | ||
1096 | 1096 | ||
1097 | 1097 | func applyBonuses (landAssetId,pieces) = { | |
1098 | 1098 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1099 | 1099 | let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
1100 | 1100 | let add6 = (infraLevel / 6) | |
1101 | 1101 | let add7 = (infraLevel / 7) | |
1102 | 1102 | ((DAILYRESBYPIECE + fraction(DAILYRESBYPIECE, ((infraLevel + add6) + (2 * add7)), 5)) + fraction(DAILYRESBYPIECE, artPieces, (pieces * 5))) | |
1103 | 1103 | } | |
1104 | 1104 | ||
1105 | 1105 | ||
1106 | 1106 | func checkClaimConditions (addr,claimMode,landAssetIdIn) = { | |
1107 | 1107 | let $t02482225361 = if ((claimMode == claimModeWh)) | |
1108 | 1108 | then $Tuple2(landAssetIdIn, valueOrElse(getString(keyStakedDuckByOwner(addr)), "")) | |
1109 | 1109 | else { | |
1110 | 1110 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1111 | 1111 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
1112 | 1112 | let loc = split(value(curLocation), "_") | |
1113 | 1113 | if ((loc[locIdxType] != "L")) | |
1114 | 1114 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1115 | 1115 | else $Tuple2(loc[locIdxId], duckAssetId) | |
1116 | 1116 | } | |
1117 | 1117 | let landAssetId = $t02482225361._1 | |
1118 | 1118 | let duckId = $t02482225361._2 | |
1119 | 1119 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1120 | 1120 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1121 | 1121 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("Land " + asset.name) + " is not staked")) | |
1122 | 1122 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1123 | 1123 | if ((owner != addr)) | |
1124 | 1124 | then throw((LANDPREFIX + " is not yours")) | |
1125 | 1125 | else { | |
1126 | 1126 | let d = split(asset.description, "_") | |
1127 | 1127 | $Tuple4(duckId, landAssetId, d, savedTime) | |
1128 | 1128 | } | |
1129 | 1129 | } | |
1130 | 1130 | ||
1131 | 1131 | ||
1132 | 1132 | func claimResInternal (addr,amount,claimMode,landAssetIdIn) = if ((0 > amount)) | |
1133 | 1133 | then throw("Negative amount") | |
1134 | 1134 | else { | |
1135 | 1135 | let c = checkClaimConditions(addr, claimMode, landAssetIdIn) | |
1136 | 1136 | let landSize = c._3[recLandSize] | |
1137 | 1137 | let terrainCounts = countTerrains(c._3[recTerrains]) | |
1138 | 1138 | let deltaTime = (lastBlock.timestamp - c._4) | |
1139 | 1139 | if ((0 > deltaTime)) | |
1140 | 1140 | then throw(((("Saved timestamp is in future, saved = " + toString(c._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
1141 | 1141 | else { | |
1142 | 1142 | let pieces = numPiecesBySize(landSize) | |
1143 | 1143 | let dailyProductionByPiece = applyBonuses(c._2, pieces) | |
1144 | 1144 | let availRes = fraction(deltaTime, (dailyProductionByPiece * pieces), DAYMILLIS) | |
1145 | 1145 | if ((amount > availRes)) | |
1146 | 1146 | then throw(((("Not enough resources, available = " + toString(availRes)) + ", requested = ") + toString(amount))) | |
1147 | 1147 | else { | |
1148 | 1148 | let newDeltaTime = fraction((availRes - amount), DAYMILLIS, (dailyProductionByPiece * pieces)) | |
1149 | 1149 | let newTimestamp = (lastBlock.timestamp - newDeltaTime) | |
1150 | 1150 | let landIndex = (pieces / SSIZE) | |
1151 | 1151 | let resToClaim = virtClaim(terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece) | |
1152 | 1152 | let whKey = keyWarehouseByLand(c._2) | |
1153 | 1153 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(c._2)), 0) | |
1154 | 1154 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
1155 | 1155 | let loft = split(currentWh[whIdxLOFT], "_") | |
1156 | 1156 | let whSpaceLeft = parseIntValue(loft[volFree]) | |
1157 | 1157 | if (if ((claimMode == claimModeWh)) | |
1158 | 1158 | then (amount > whSpaceLeft) | |
1159 | 1159 | else false) | |
1160 | 1160 | then throw((("Only " + toString(whSpaceLeft)) + " space left in warehouse")) | |
1161 | 1161 | else { | |
1162 | 1162 | let bpKey = keyBackpackByDuck(c._1) | |
1163 | 1163 | let currentPack = getBackpack(bpKey) | |
1164 | 1164 | let currentPackRes = split(currentPack[bpIdxRes], "_") | |
1165 | 1165 | let currentWhRes = split(currentWh[whIdxRes], "_") | |
1166 | 1166 | let $t02773528606 = if ((claimMode == claimModeWh)) | |
1167 | 1167 | then $Tuple4(addRes(currentWhRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), currentPack[bpIdxRes], (parseIntValue(loft[volOccupied]) + resToClaim._2), (parseIntValue(loft[volFree]) - resToClaim._2)) | |
1168 | 1168 | else if ((claimMode == claimModeDuck)) | |
1169 | 1169 | then $Tuple4(currentWh[whIdxRes], addRes(currentPackRes, terrainCounts, (deltaTime - newDeltaTime), landIndex, dailyProductionByPiece), parseIntValue(loft[volOccupied]), parseIntValue(loft[volFree])) | |
1170 | 1170 | else { | |
1171 | 1171 | let distr = distributeRes(currentWhRes, currentPackRes, resToClaim, whSpaceLeft) | |
1172 | 1172 | let whAm = min([parseIntValue(loft[volFree]), resToClaim._2]) | |
1173 | 1173 | $Tuple4(distr._1, distr._2, (parseIntValue(loft[volOccupied]) + whAm), (parseIntValue(loft[volFree]) - whAm)) | |
1174 | 1174 | } | |
1175 | 1175 | let whRes = $t02773528606._1 | |
1176 | 1176 | let bpRes = $t02773528606._2 | |
1177 | 1177 | let loftO = $t02773528606._3 | |
1178 | 1178 | let loftF = $t02773528606._4 | |
1179 | 1179 | $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]], "_")]) | |
1180 | 1180 | } | |
1181 | 1181 | } | |
1182 | 1182 | } | |
1183 | 1183 | } | |
1184 | 1184 | ||
1185 | 1185 | ||
1186 | 1186 | func claimAll (addr,landAssetId,pieces,claimMode) = { | |
1187 | 1187 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1188 | 1188 | let savedTime = value(getInteger(timeKey)) | |
1189 | 1189 | let availRes = (fraction((lastBlock.timestamp - savedTime), applyBonuses(landAssetId, pieces), DAYMILLIS) * pieces) | |
1190 | 1190 | claimResInternal(addr, availRes, claimMode, landAssetId) | |
1191 | 1191 | } | |
1192 | 1192 | ||
1193 | 1193 | ||
1194 | 1194 | func upInfraCommon (shouldUseMat,caller,paymentAmount,landAssetId) = { | |
1195 | 1195 | let addr = toString(caller) | |
1196 | 1196 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetId) | |
1197 | 1197 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
1198 | 1198 | let infraKey = keyInfraLevelByAssetId(c._2) | |
1199 | 1199 | let curLevel = valueOrElse(getInteger(infraKey), 0) | |
1200 | 1200 | if ((curLevel >= 3)) | |
1201 | 1201 | then throw("Currently max infrastructure level = 3") | |
1202 | 1202 | else { | |
1203 | 1203 | let newLevel = (curLevel + 1) | |
1204 | 1204 | let cost = fraction(InfraUpgradeCostSUsdt, (pieces * newLevel), SSIZE) | |
1205 | 1205 | if (if (!(shouldUseMat)) | |
1206 | 1206 | then (paymentAmount != cost) | |
1207 | 1207 | else false) | |
1208 | 1208 | then throw(("Payment attached should be " + toString(cost))) | |
1209 | 1209 | else { | |
1210 | 1210 | let bpKey = keyBackpackByDuck(c._1) | |
1211 | 1211 | let currentPack = getBackpack(bpKey) | |
1212 | 1212 | let mList = split(currentPack[bpIdxMat], "_") | |
1213 | 1213 | let matUsed = fraction(InfraUpgradeCostS, (pieces * newLevel), SSIZE) | |
1214 | 1214 | let newMat = makeString(subtractMaterials(shouldUseMat, mList, matUsed), "_") | |
1215 | 1215 | let claimResult = claimAll(addr, c._2, pieces, claimModeWhThenDuck) | |
1216 | 1216 | let whData = claimResult._5 | |
1217 | 1217 | let oldVol = getWarehouseTotalVolume(whData[whIdxLevels]) | |
1218 | 1218 | let newVolData = makeString([split(whData[whIdxLevels], "_")[0], toString(newLevel)], "_") | |
1219 | 1219 | let newVol = getWarehouseTotalVolume(newVolData) | |
1220 | 1220 | let loft = split(whData[whIdxLOFT], "_") | |
1221 | 1221 | let newLoftStr = makeString([loft[volLocked], loft[volOccupied], toString(((parseIntValue(loft[volFree]) + newVol) - oldVol)), toString(newVol)], "_") | |
1222 | 1222 | $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) | |
1223 | 1223 | } | |
1224 | 1224 | } | |
1225 | 1225 | } | |
1226 | 1226 | ||
1227 | 1227 | ||
1228 | 1228 | func updateDuckStatsInternal (duckAssetId,deltaXP) = if (!(KSALLOWXPLEVELS)) | |
1229 | 1229 | then $Tuple2(nil, 0) | |
1230 | 1230 | else { | |
1231 | 1231 | let lvlKey = keyDuckLevel(duckAssetId) | |
1232 | 1232 | let xpKey = keyDuckXP(duckAssetId) | |
1233 | 1233 | let xp = valueOrElse(getInteger(stakingContract, xpKey), 0) | |
1234 | 1234 | let newXP = (xp + deltaXP) | |
1235 | 1235 | let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP) | |
1236 | 1236 | let keyPoints = keyDuckFreePoints(duckAssetId) | |
1237 | 1237 | $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP) | |
1238 | 1238 | } | |
1239 | 1239 | ||
1240 | 1240 | ||
1241 | 1241 | func updateAccStatsInternal (addr,deltaXP) = if (!(KSALLOWXPLEVELS)) | |
1242 | 1242 | then $Tuple2(nil, 0) | |
1243 | 1243 | else { | |
1244 | 1244 | let lvlKey = keyUserLevel(addr) | |
1245 | 1245 | let xpKey = keyUserXP(addr) | |
1246 | 1246 | let xp = valueOrElse(getInteger(stakingContract, xpKey), 0) | |
1247 | 1247 | let newXP = (xp + deltaXP) | |
1248 | 1248 | let lvlPoints = levelUp(valueOrElse(getInteger(stakingContract, lvlKey), 0), newXP) | |
1249 | 1249 | let keyPoints = keyUserFreePoints(addr) | |
1250 | 1250 | $Tuple2([IntegerEntry(lvlKey, lvlPoints[0]), IntegerEntry(xpKey, newXP), IntegerEntry(keyPoints, (valueOrElse(getInteger(keyPoints), 0) + lvlPoints[1]))], newXP) | |
1251 | 1251 | } | |
1252 | 1252 | ||
1253 | 1253 | ||
1254 | 1254 | func activateOnboardArt (addr) = { | |
1255 | 1255 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1256 | 1256 | let refByKey = keyAddressRefBy(addr) | |
1257 | 1257 | let refBy = getString(refByKey) | |
1258 | 1258 | if (!(isDefined(refBy))) | |
1259 | 1259 | then throw("You are not eligible for ONBOARD artifact") | |
1260 | 1260 | else { | |
1261 | 1261 | let artKey = keyOnboardArtDuckActivatedBy(addr) | |
1262 | 1262 | let artDuck = getString(artKey) | |
1263 | 1263 | if (isDefined(artDuck)) | |
1264 | 1264 | then throw(("You already used your ONBOARD artifact on duck " + value(artDuck))) | |
1265 | 1265 | else { | |
1266 | 1266 | let duckActivatorKey = keyOnboardArtActivatedOnDuck(duckAssetId) | |
1267 | 1267 | let duckActivator = getString(duckActivatorKey) | |
1268 | 1268 | if (isDefined(duckActivator)) | |
1269 | 1269 | then throw(((("The duck " + duckAssetId) + " already got points from ONBOARD artifact from user ") + value(duckActivator))) | |
1270 | 1270 | else ([StringEntry(artKey, duckAssetId), StringEntry(duckActivatorKey, addr)] ++ updateDuckStatsInternal(duckAssetId, xpOnboard)._1) | |
1271 | 1271 | } | |
1272 | 1272 | } | |
1273 | 1273 | } | |
1274 | 1274 | ||
1275 | 1275 | ||
1276 | 1276 | func activatePresaleArt (addr,landAssetIdIn) = { | |
1277 | 1277 | let c = checkClaimConditions(addr, claimModeWhThenDuck, landAssetIdIn) | |
1278 | 1278 | let landAssetId = c._2 | |
1279 | 1279 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
1280 | 1280 | let activationKey = keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId) | |
1281 | 1281 | if ((valueOrElse(getInteger(activationKey), 0) > 0)) | |
1282 | 1282 | then throw("Presale artifact is already activated") | |
1283 | 1283 | else if ((parseIntValue(c._3[recLandNum]) > PRESALENUMLANDS)) | |
1284 | 1284 | then throw((((LANDPREFIX + " ") + landAssetId) + " is not eligible for presale artifact")) | |
1285 | 1285 | else { | |
1286 | 1286 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeWhThenDuck) | |
1287 | 1287 | ((((claimResult._1 :+ IntegerEntry(activationKey, pieces)) :+ IntegerEntry(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr), pieces)) :+ StringEntry(claimResult._2, makeString(claimResult._3, ":"))) :+ StringEntry(claimResult._4, makeString(claimResult._5, ":"))) | |
1288 | 1288 | } | |
1289 | 1289 | } | |
1290 | 1290 | ||
1291 | 1291 | ||
1292 | 1292 | func mergeInternal (newLandSize,newLevel,formula,addr,landAssetIds,txId,needMat) = { | |
1293 | 1293 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1294 | 1294 | func checkMerge (acc,landAssetId) = { | |
1295 | 1295 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1296 | 1296 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1297 | 1297 | let savedTime = valueOrErrorMessage(getInteger(timeKey), (("NFT " + asset.name) + " is not staked")) | |
1298 | 1298 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1299 | 1299 | if ((owner != addr)) | |
1300 | 1300 | then throw((LANDPREFIX + " is not yours")) | |
1301 | 1301 | else { | |
1302 | 1302 | let d = split(asset.description, "_") | |
1303 | 1303 | let continent = d[recContinent] | |
1304 | 1304 | if (if ((acc._3 != "")) | |
1305 | 1305 | then (acc._3 != continent) | |
1306 | 1306 | else false) | |
1307 | 1307 | then throw("Lands should be on the same continent to merge") | |
1308 | 1308 | else { | |
1309 | 1309 | let landSize = d[recLandSize] | |
1310 | 1310 | let sizesIn = acc._1 | |
1311 | 1311 | let i = valueOrErrorMessage(indexOf(sizesIn, landSize), "You haven't passed all the lands needed") | |
1312 | 1312 | let sizesOut = (take(sizesIn, i) + drop(sizesIn, (i + 1))) | |
1313 | 1313 | let pieces = numPiecesBySize(landSize) | |
1314 | 1314 | let arts = (acc._2 + valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0)) | |
1315 | 1315 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1316 | 1316 | let reqLevel = match landSize { | |
1317 | 1317 | case _ => | |
1318 | 1318 | if (("S" == $match0)) | |
1319 | 1319 | then 3 | |
1320 | 1320 | else if (("M" == $match0)) | |
1321 | 1321 | then 4 | |
1322 | 1322 | else if (("L" == $match0)) | |
1323 | 1323 | then 5 | |
1324 | 1324 | else if (("XL" == $match0)) | |
1325 | 1325 | then 6 | |
1326 | 1326 | else throw("Only S, M, L, XL can merge") | |
1327 | 1327 | } | |
1328 | 1328 | if ((infraLevel != reqLevel)) | |
1329 | 1329 | then throw("All lands should be maxed to merge") | |
1330 | 1330 | else { | |
1331 | 1331 | let landNum = d[recLandNum] | |
1332 | 1332 | let terrainCounts = countTerrains(d[recTerrains]) | |
1333 | 1333 | let deltaTime = (lastBlock.timestamp - savedTime) | |
1334 | 1334 | if ((0 > deltaTime)) | |
1335 | 1335 | then throw(((("Saved timestamp is in future, saved = " + toString(savedTime)) + ", current = ") + toString(lastBlock.timestamp))) | |
1336 | 1336 | else { | |
1337 | 1337 | let dailyProductionByPiece = applyBonuses(landAssetId, pieces) | |
1338 | 1338 | let landIndex = (pieces / SSIZE) | |
1339 | 1339 | let bpRes = addRes(split(acc._4, "_"), terrainCounts, deltaTime, landIndex, dailyProductionByPiece) | |
1340 | 1340 | let props = updateProportionsInternal(split(acc._6, "_"), terrainCounts, landIndex, -1) | |
1341 | 1341 | let lands = acc._7 | |
1342 | 1342 | let idx = indexOf(lands, landAssetId) | |
1343 | 1343 | if (!(isDefined(idx))) | |
1344 | 1344 | then throw(("Your staked lands don't contain " + landAssetId)) | |
1345 | 1345 | else { | |
1346 | 1346 | let customKey = keyLandAssetIdToCustomName(landAssetId) | |
1347 | 1347 | let customName = valueOrElse(getString(customKey), "") | |
1348 | 1348 | $Tuple8(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(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, addr))) :+ DeleteEntry(keyLandNumToOwner(landNum))) :+ DeleteEntry(keyWarehouseByLand(landAssetId))) :+ DeleteEntry(customKey)) :+ DeleteEntry(keyLandCustomNameToAssetId(customName))) :+ Burn(fromBase58String(landAssetId), 1)), props, removeByIndex(lands, value(idx)), (acc._8 + pieces)) | |
1349 | 1349 | } | |
1350 | 1350 | } | |
1351 | 1351 | } | |
1352 | 1352 | } | |
1353 | 1353 | } | |
1354 | 1354 | } | |
1355 | 1355 | ||
1356 | 1356 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1357 | 1357 | let currentPack = getBackpack(bpKey) | |
1358 | 1358 | let propStr = valueOrElse(getString(keyResProportions()), "0_0_0_0_0_0") | |
1359 | 1359 | let landsKey = keyStakedLandsByOwner(addr) | |
1360 | 1360 | let landsStr = getString(landsKey) | |
1361 | 1361 | let landsIn = if (isDefined(landsStr)) | |
1362 | 1362 | then split_51C(value(landsStr), "_") | |
1363 | 1363 | else nil | |
1364 | 1364 | let r = { | |
1365 | 1365 | let $l = landAssetIds | |
1366 | 1366 | let $s = size($l) | |
1367 | 1367 | let $acc0 = $Tuple8(formula, 0, "", currentPack[bpIdxRes], nil, propStr, landsIn, 0) | |
1368 | 1368 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1369 | 1369 | then $a | |
1370 | 1370 | else checkMerge($a, $l[$i]) | |
1371 | 1371 | ||
1372 | 1372 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1373 | 1373 | then $a | |
1374 | 1374 | else throw("List size exceeds 5") | |
1375 | 1375 | ||
1376 | 1376 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
1377 | 1377 | } | |
1378 | 1378 | let continent = r._3 | |
1379 | 1379 | let continentIdx = valueOrErrorMessage(indexOf(continents, continent), ("Unknown continent: " + continent)) | |
1380 | 1380 | let terrains = genTerrains(abs(toBigInt(txId)), continentIdx) | |
1381 | 1381 | let freeNum = valueOrElse(getInteger(keyNextFreeLandNum()), (PRESALENUMLANDS + 1)) | |
1382 | 1382 | let newLandNum = toString(freeNum) | |
1383 | 1383 | let issue = Issue(nftName(newLandNum, newLandSize), makeString([newLandNum, newLandSize, terrains, continent], "_"), 1, 0, false) | |
1384 | 1384 | let assetId = calculateAssetId(issue) | |
1385 | 1385 | let newLandAssetId = toBase58String(assetId) | |
1386 | 1386 | let newMat = makeString(subtractMaterials((needMat > 0), split(currentPack[bpIdxMat], "_"), needMat), "_") | |
1387 | 1387 | let piecesKey = keyStakedPiecesByOwner(addr) | |
1388 | 1388 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
1389 | 1389 | $Tuple2((((((((((((((((r._5 :+ (if ((size(r._7) > 0)) | |
1390 | 1390 | then StringEntry(landsKey, makeString_11C(r._7, "_")) | |
1391 | 1391 | else DeleteEntry(landsKey))) :+ IntegerEntry(piecesKey, if ((r._8 > stakedPieces)) | |
1392 | 1392 | then 0 | |
1393 | 1393 | 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(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, newLandAssetId, addr), r._2)) :+ IntegerEntry(keyInfraLevelByAssetId(newLandAssetId), newLevel)) :+ IntegerEntry(keyInfraLevelByAssetIdAndOwner(newLandAssetId, addr), newLevel)) :+ StringEntry(bpKey, makeString([currentPack[bpIdxLevel], r._4, newMat, currentPack[bpIdxProd]], ":"))) :+ StringEntry(keyResProportions(), r._6)) :+ StringEntry(keyDuckLocation(duckAssetId), makeString([continent, "L", newLandAssetId], "_"))) :+ ScriptTransfer(addressFromStringValue(addr), 1, assetId)), newLandAssetId) | |
1394 | 1394 | } | |
1395 | 1395 | ||
1396 | 1396 | ||
1397 | 1397 | func s2m (addr,landAssetIds,txId) = mergeInternal("M", 3, "SSSS", addr, landAssetIds, txId, 0) | |
1398 | 1398 | ||
1399 | 1399 | ||
1400 | 1400 | func m2l (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = { | |
1401 | 1401 | let cost = (InfraUpgradeCostSUsdt * 4) | |
1402 | 1402 | if (if (!(shouldUseMat)) | |
1403 | 1403 | then (paymentAmount != cost) | |
1404 | 1404 | else false) | |
1405 | 1405 | then throw(("Payment attached should be " + toString(cost))) | |
1406 | 1406 | else mergeInternal("L", 4, "SMM", addr, landAssetIds, txId, (InfraUpgradeCostS * 4)) | |
1407 | 1407 | } | |
1408 | 1408 | ||
1409 | 1409 | ||
1410 | 1410 | func l2xl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = { | |
1411 | 1411 | let cost = (InfraUpgradeCostSUsdt * 47) | |
1412 | 1412 | if (if (!(shouldUseMat)) | |
1413 | 1413 | then (paymentAmount != cost) | |
1414 | 1414 | else false) | |
1415 | 1415 | then throw(("Payment attached should be " + toString(cost))) | |
1416 | 1416 | else mergeInternal("XL", 5, "SSSML", addr, landAssetIds, txId, (InfraUpgradeCostS * 47)) | |
1417 | 1417 | } | |
1418 | 1418 | ||
1419 | 1419 | ||
1420 | 1420 | func xl2xxl (addr,landAssetIds,txId,shouldUseMat,paymentAmount) = { | |
1421 | 1421 | let cost = (InfraUpgradeCostSUsdt * 54) | |
1422 | 1422 | if (if (!(shouldUseMat)) | |
1423 | 1423 | then (paymentAmount != cost) | |
1424 | 1424 | else false) | |
1425 | 1425 | then throw(("Payment attached should be " + toString(cost))) | |
1426 | 1426 | else mergeInternal("XXL", 6, "LXL", addr, landAssetIds, txId, (InfraUpgradeCostS * 54)) | |
1427 | 1427 | } | |
1428 | 1428 | ||
1429 | 1429 | ||
1430 | 1430 | func mergeCommon (shouldUseMat,addr,paymentAmount,landAssetIds,txId) = { | |
1431 | 1431 | let mergeResult = match size(landAssetIds) { | |
1432 | 1432 | case _ => | |
1433 | 1433 | if ((4 == $match0)) | |
1434 | 1434 | then s2m(addr, landAssetIds, txId) | |
1435 | 1435 | else if ((3 == $match0)) | |
1436 | 1436 | then m2l(addr, landAssetIds, txId, shouldUseMat, paymentAmount) | |
1437 | 1437 | else if ((5 == $match0)) | |
1438 | 1438 | then l2xl(addr, landAssetIds, txId, shouldUseMat, paymentAmount) | |
1439 | 1439 | else if ((2 == $match0)) | |
1440 | 1440 | then xl2xxl(addr, landAssetIds, txId, shouldUseMat, paymentAmount) | |
1441 | 1441 | else throw("Unknown merge") | |
1442 | 1442 | } | |
1443 | 1443 | mergeResult | |
1444 | 1444 | } | |
1445 | 1445 | ||
1446 | 1446 | ||
1447 | 1447 | func prolog (i) = if (if ((i.originCaller != restContract)) | |
1448 | 1448 | then valueOrElse(getBoolean(keyBlocked()), false) | |
1449 | 1449 | else false) | |
1450 | 1450 | then throw("Contracts are under maintenance") | |
1451 | 1451 | else StringEntry(keyLastTxIdByUser(toString(i.originCaller)), toBase58String(i.transactionId)) | |
1452 | 1452 | ||
1453 | 1453 | ||
1454 | 1454 | @Callable(i) | |
1455 | 1455 | func constructorV1 (restAddr) = if ((i.caller != this)) | |
1456 | 1456 | then throw("Permission denied") | |
1457 | 1457 | else [StringEntry(keyRestAddress(), restAddr)] | |
1458 | 1458 | ||
1459 | 1459 | ||
1460 | 1460 | ||
1461 | 1461 | @Callable(i) | |
1462 | 1462 | func setBlocked (isBlocked) = if ((i.caller != this)) | |
1463 | 1463 | then throw("permission denied") | |
1464 | 1464 | else [BooleanEntry(keyBlocked(), isBlocked)] | |
1465 | 1465 | ||
1466 | 1466 | ||
1467 | 1467 | ||
1468 | 1468 | @Callable(i) | |
1469 | 1469 | func stakeLand () = { | |
1470 | 1470 | let prologAction = prolog(i) | |
1471 | 1471 | if ((size(i.payments) != 1)) | |
1472 | 1472 | then throw("Exactly one payment required") | |
1473 | 1473 | else { | |
1474 | 1474 | let pmt = value(i.payments[0]) | |
1475 | 1475 | let assetId = value(pmt.assetId) | |
1476 | 1476 | let address = toString(i.caller) | |
1477 | 1477 | if ((pmt.amount != 1)) | |
1478 | 1478 | then throw((("NFT " + LANDPREFIX) + " token should be attached as payment")) | |
1479 | 1479 | else { | |
1480 | 1480 | let asset = value(assetInfo(assetId)) | |
1481 | 1481 | if ((asset.issuer != this)) | |
1482 | 1482 | then throw("Unknown issuer of token") | |
1483 | 1483 | else if (!(contains(asset.name, LANDPREFIX))) | |
1484 | 1484 | then throw((("Only NFT " + LANDPREFIX) + " tokens are accepted")) | |
1485 | 1485 | else { | |
1486 | 1486 | let landNumSize = drop(asset.name, 4) | |
1487 | 1487 | let landNum = if (contains(landNumSize, "XXL")) | |
1488 | 1488 | then dropRight(landNumSize, 3) | |
1489 | 1489 | else if (contains(landNumSize, "XL")) | |
1490 | 1490 | then dropRight(landNumSize, 2) | |
1491 | 1491 | else dropRight(landNumSize, 1) | |
1492 | 1492 | if (!(isDefined(parseInt(landNum)))) | |
1493 | 1493 | then throw(("Cannot parse land number from " + asset.name)) | |
1494 | 1494 | else { | |
1495 | 1495 | let landAssetId = toBase58String(assetId) | |
1496 | 1496 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1497 | 1497 | if (isDefined(getInteger(timeKey))) | |
1498 | 1498 | then throw((("NFT " + asset.name) + " is already staked")) | |
1499 | 1499 | else { | |
1500 | 1500 | let d = split(asset.description, "_") | |
1501 | 1501 | let terrainCounts = countTerrains(d[recTerrains]) | |
1502 | 1502 | let pieces = numPiecesBySize(d[recLandSize]) | |
1503 | 1503 | let props = updateProportions(terrainCounts, (pieces / SSIZE), 1) | |
1504 | 1504 | let artPieces = valueOrElse(getInteger(keyLandArtStatusByTypeAndAssetId(ARTPRESALE, landAssetId)), 0) | |
1505 | 1505 | let landsKey = keyStakedLandsByOwner(address) | |
1506 | 1506 | let landsStr = getString(landsKey) | |
1507 | 1507 | let lands = if (isDefined(landsStr)) | |
1508 | 1508 | then split_51C(value(landsStr), "_") | |
1509 | 1509 | else nil | |
1510 | 1510 | if (containsElement(lands, landAssetId)) | |
1511 | 1511 | then throw(("Your staked lands already contain " + landAssetId)) | |
1512 | 1512 | else { | |
1513 | 1513 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1514 | 1514 | let piecesKey = keyStakedPiecesByOwner(address) | |
1515 | 1515 | let oldPieces = valueOrElse(getInteger(piecesKey), 0) | |
1516 | 1516 | let wlgResult = asInt(invoke(wlgContract, "onStakeLand", [address], nil)) | |
1517 | 1517 | $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(keyLandArtStatusByTypeAssetIdAndOwner(ARTPRESALE, landAssetId, address), artPieces), IntegerEntry(keyInfraLevelByAssetIdAndOwner(landAssetId, address), infraLevel), StringEntry(keyResProportions(), props), prologAction], wlgResult) | |
1518 | 1518 | } | |
1519 | 1519 | } | |
1520 | 1520 | } | |
1521 | 1521 | } | |
1522 | 1522 | } | |
1523 | 1523 | } | |
1524 | 1524 | } | |
1525 | 1525 | ||
1526 | 1526 | ||
1527 | 1527 | ||
1528 | 1528 | @Callable(i) | |
1529 | 1529 | func unstakeLand (landAssetIdIn) = { | |
1530 | 1530 | let prologAction = prolog(i) | |
1531 | 1531 | if ((size(i.payments) != 0)) | |
1532 | 1532 | then throw("No payments required") | |
1533 | 1533 | else { | |
1534 | 1534 | let addr = toString(i.caller) | |
1535 | 1535 | let c = checkClaimConditions(addr, claimModeDuck, landAssetIdIn) | |
1536 | 1536 | let landAssetId = c._2 | |
1537 | 1537 | let landsKey = keyStakedLandsByOwner(addr) | |
1538 | 1538 | let terrainCounts = countTerrains(c._3[recTerrains]) | |
1539 | 1539 | let pieces = numPiecesBySize(c._3[recLandSize]) | |
1540 | 1540 | let props = updateProportions(terrainCounts, (pieces / SSIZE), -1) | |
1541 | 1541 | let claimResult = claimAll(addr, landAssetId, pieces, claimModeDuck) | |
1542 | 1542 | let lands = split_51C(valueOrElse(getString(landsKey), ""), "_") | |
1543 | 1543 | let idx = indexOf(lands, landAssetId) | |
1544 | 1544 | if (!(isDefined(idx))) | |
1545 | 1545 | then throw(("Your staked lands don't contain " + landAssetId)) | |
1546 | 1546 | else { | |
1547 | 1547 | let t = value(blockInfoByHeight(height)).timestamp | |
1548 | 1548 | let releaseTime = valueOrElse(getInteger(govContract, keyUserGwlReleaseTime(addr)), 0) | |
1549 | 1549 | if ((releaseTime >= t)) | |
1550 | 1550 | then throw(("Your gWL are taking part in voting, cannot unstake until " + toString(releaseTime))) | |
1551 | 1551 | else { | |
1552 | 1552 | let piecesKey = keyStakedPiecesByOwner(addr) | |
1553 | 1553 | let stakedPieces = valueOrElse(getInteger(piecesKey), 0) | |
1554 | 1554 | let newPieces = if ((pieces > stakedPieces)) | |
1555 | 1555 | then 0 | |
1556 | 1556 | else (stakedPieces - pieces) | |
1557 | 1557 | let wlgResult = asInt(invoke(wlgContract, "onUnstakeLand", [addr], nil)) | |
1558 | 1558 | $Tuple2([ScriptTransfer(i.caller, 1, fromBase58String(landAssetId)), DeleteEntry(keyStakedTimeByAssetId(landAssetId)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(LANDPREFIX, landAssetId, addr)), StringEntry(keyResProportions(), props), StringEntry(claimResult._2, makeString(claimResult._3, ":")), if ((size(lands) > 1)) | |
1559 | 1559 | then StringEntry(landsKey, makeString_11C(removeByIndex(lands, value(idx)), "_")) | |
1560 | 1560 | else DeleteEntry(landsKey), IntegerEntry(piecesKey, newPieces), prologAction], wlgResult) | |
1561 | 1561 | } | |
1562 | 1562 | } | |
1563 | 1563 | } | |
1564 | 1564 | } | |
1565 | 1565 | ||
1566 | 1566 | ||
1567 | 1567 | ||
1568 | 1568 | @Callable(i) | |
1569 | 1569 | func stakeDuck () = { | |
1570 | 1570 | let prologAction = prolog(i) | |
1571 | 1571 | if ((size(i.payments) != 1)) | |
1572 | 1572 | then throw("Exactly one payment required") | |
1573 | 1573 | else { | |
1574 | 1574 | let pmt = value(i.payments[0]) | |
1575 | 1575 | let assetId = value(pmt.assetId) | |
1576 | 1576 | let address = toString(i.caller) | |
1577 | 1577 | if ((pmt.amount != 1)) | |
1578 | 1578 | then throw((("NFT " + DUCKPREFIX) + " token should be attached as payment")) | |
1579 | 1579 | else { | |
1580 | 1580 | let asset = value(assetInfo(assetId)) | |
1581 | 1581 | if (if ((asset.issuer != incubatorAddr)) | |
1582 | 1582 | then (asset.issuer != breederAddr) | |
1583 | 1583 | else false) | |
1584 | 1584 | then throw((("Unknown issuer of " + DUCKPREFIX) + " token")) | |
1585 | 1585 | else if (!(contains(asset.name, DUCKPREFIX))) | |
1586 | 1586 | then throw((("Only NFT " + DUCKPREFIX) + " tokens are accepted")) | |
1587 | 1587 | else { | |
1588 | 1588 | let assetIdStr = toBase58String(assetId) | |
1589 | 1589 | let timeKey = keyStakedTimeByAssetId(assetIdStr) | |
1590 | 1590 | if (isDefined(getInteger(timeKey))) | |
1591 | 1591 | then throw((("NFT " + asset.name) + " is already staked")) | |
1592 | 1592 | else if (isDefined(getString(keyStakedDuckByOwner(address)))) | |
1593 | 1593 | then throw(("You already staked one duck: " + asset.name)) | |
1594 | 1594 | else { | |
1595 | 1595 | let locKey = keyDuckLocation(assetIdStr) | |
1596 | 1596 | let location = getString(locKey) | |
1597 | 1597 | let bpKey = keyBackpackByDuck(assetIdStr) | |
1598 | 1598 | let backpack = getString(bpKey) | |
1599 | 1599 | let keyHealth = keyDuckHealth(assetIdStr) | |
1600 | 1600 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
1601 | 1601 | let curHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
1602 | 1602 | ([IntegerEntry(timeKey, lastBlock.timestamp), IntegerEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, toBase58String(assetId), address), lastBlock.timestamp), StringEntry(keyDuckIdToOwner(assetIdStr), address), StringEntry(keyStakedDuckByOwner(address), assetIdStr)] ++ (if (isDefined(location)) | |
1603 | 1603 | then nil | |
1604 | 1604 | else ([StringEntry(locKey, DEFAULTLOCATION)] ++ (if (isDefined(backpack)) | |
1605 | 1605 | then nil | |
1606 | 1606 | else (([StringEntry(bpKey, "0:0_0_0_0_0_0:0_0_0_0_0_0:")] :+ IntegerEntry(keyHealth, curHealth)) :+ prologAction))))) | |
1607 | 1607 | } | |
1608 | 1608 | } | |
1609 | 1609 | } | |
1610 | 1610 | } | |
1611 | 1611 | } | |
1612 | 1612 | ||
1613 | 1613 | ||
1614 | 1614 | ||
1615 | 1615 | @Callable(i) | |
1616 | 1616 | func unstakeDuck (assetIdStr) = { | |
1617 | 1617 | let prologAction = prolog(i) | |
1618 | 1618 | if ((size(i.payments) != 0)) | |
1619 | 1619 | then throw("No payments required") | |
1620 | 1620 | else { | |
1621 | 1621 | let assetId = fromBase58String(assetIdStr) | |
1622 | 1622 | let address = toString(i.caller) | |
1623 | 1623 | let asset = value(assetInfo(assetId)) | |
1624 | 1624 | let timeKey = keyStakedTimeByAssetId(toBase58String(assetId)) | |
1625 | 1625 | if (!(isDefined(getInteger(timeKey)))) | |
1626 | 1626 | then throw((("NFT " + asset.name) + " is not staked")) | |
1627 | 1627 | else if (!(isDefined(getString(keyStakedDuckByOwner(address))))) | |
1628 | 1628 | then throw((("The duck " + asset.name) + " is not staked")) | |
1629 | 1629 | else { | |
1630 | 1630 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(toBase58String(assetId))), (("NFT " + asset.name) + " is orphaned")) | |
1631 | 1631 | if ((owner != address)) | |
1632 | 1632 | then throw("Staked NFT is not yours") | |
1633 | 1633 | else { | |
1634 | 1634 | let keyHealth = keyDuckHealth(assetIdStr) | |
1635 | 1635 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(assetIdStr)), 0)) | |
1636 | 1636 | let health = valueOrElse(getInteger(keyHealth), maxHP) | |
1637 | 1637 | if ((maxHP > health)) | |
1638 | 1638 | then throw((("Please heal your duck to " + toString(maxHP)) + "hp before unstaking")) | |
1639 | 1639 | else [ScriptTransfer(i.caller, 1, assetId), DeleteEntry(timeKey), DeleteEntry(keyHealth), DeleteEntry(keyDuckLocation(assetIdStr)), DeleteEntry(keyDuckIdToOwner(assetIdStr)), DeleteEntry(keyStakedTimeByTypeAssetIdAndOwner(DUCKPREFIX, assetIdStr, address)), DeleteEntry(keyStakedDuckByOwner(address)), prologAction] | |
1640 | 1640 | } | |
1641 | 1641 | } | |
1642 | 1642 | } | |
1643 | 1643 | } | |
1644 | 1644 | ||
1645 | 1645 | ||
1646 | 1646 | ||
1647 | 1647 | @Callable(i) | |
1648 | 1648 | func claimRes (amount,landAssetIdStr) = { | |
1649 | 1649 | let prologAction = prolog(i) | |
1650 | 1650 | if ((size(i.payments) != 0)) | |
1651 | 1651 | then throw("No payments required") | |
1652 | 1652 | else { | |
1653 | 1653 | let addr = toString(i.originCaller) | |
1654 | 1654 | let result = claimResInternal(addr, amount, claimModeDuck, landAssetIdStr) | |
1655 | 1655 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1656 | 1656 | $Tuple2(((((result._1 ++ updateDuckStatsInternal(duckAssetId, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._3[bpIdxRes]) | |
1657 | 1657 | } | |
1658 | 1658 | } | |
1659 | 1659 | ||
1660 | 1660 | ||
1661 | 1661 | ||
1662 | 1662 | @Callable(i) | |
1663 | 1663 | func claimResToWH (amount,landAssetIdStr) = { | |
1664 | 1664 | let prologAction = prolog(i) | |
1665 | 1665 | if ((size(i.payments) != 0)) | |
1666 | 1666 | then throw("No payments required") | |
1667 | 1667 | else { | |
1668 | 1668 | let addr = toString(i.originCaller) | |
1669 | 1669 | let result = claimResInternal(addr, amount, claimModeWh, landAssetIdStr) | |
1670 | 1670 | $Tuple2(((((result._1 ++ updateAccStatsInternal(addr, fraction(xpClaim, amount, MULT8))._1) :+ StringEntry(result._2, makeString(result._3, ":"))) :+ StringEntry(result._4, makeString(result._5, ":"))) :+ prologAction), result._5[whIdxRes]) | |
1671 | 1671 | } | |
1672 | 1672 | } | |
1673 | 1673 | ||
1674 | 1674 | ||
1675 | 1675 | ||
1676 | 1676 | @Callable(i) | |
1677 | 1677 | func flight (message,sig) = { | |
1678 | 1678 | let prologAction = prolog(i) | |
1679 | 1679 | if ((size(i.payments) != 0)) | |
1680 | 1680 | then throw("No payments required") | |
1681 | 1681 | else { | |
1682 | 1682 | let userAddr = toString(i.caller) | |
1683 | 1683 | let f = flightCommon(userAddr, message, sig) | |
1684 | 1684 | let duckAssetId = f._2 | |
1685 | 1685 | let locKey = keyDuckLocation(duckAssetId) | |
1686 | 1686 | let curLocation = valueOrElse(getString(locKey), DEFAULTLOCATION) | |
1687 | 1687 | if ((f._4 == curLocation)) | |
1688 | 1688 | then throw("You can't fly to the same location") | |
1689 | 1689 | else { | |
1690 | 1690 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1691 | 1691 | let currentPack = getBackpack(bpKey) | |
1692 | 1692 | let newProd = subtractProducts(currentPack[bpIdxProd], f._5) | |
1693 | 1693 | $Tuple2(([StringEntry(locKey, if ((f._1 > 0)) | |
1694 | 1694 | then f._4 | |
1695 | 1695 | else curLocation), StringEntry(bpKey, makeString([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], newProd], ":")), IntegerEntry(keyDuckHealth(duckAssetId), f._1), prologAction] ++ updateDuckStatsInternal(duckAssetId, if ((f._1 > 0)) | |
1696 | 1696 | then xpSuccessFlight | |
1697 | 1697 | else xpFailFlight)._1), f._3) | |
1698 | 1698 | } | |
1699 | 1699 | } | |
1700 | 1700 | } | |
1701 | 1701 | ||
1702 | 1702 | ||
1703 | 1703 | ||
1704 | 1704 | @Callable(i) | |
1705 | 1705 | func heal (quantityL1,quantityL2,quantityL3) = { | |
1706 | 1706 | let prologAction = prolog(i) | |
1707 | 1707 | if (if (if ((0 > quantityL1)) | |
1708 | 1708 | then true | |
1709 | 1709 | else (0 > quantityL2)) | |
1710 | 1710 | then true | |
1711 | 1711 | else (0 > quantityL3)) | |
1712 | 1712 | then throw("Quantity cannot be negative") | |
1713 | 1713 | else { | |
1714 | 1714 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1715 | 1715 | let qts = [quantityL1, quantityL2, quantityL3] | |
1716 | 1716 | let keyHealth = keyDuckHealth(duckAssetId) | |
1717 | 1717 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
1718 | 1718 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
1719 | 1719 | if ((oldHealth >= maxHP)) | |
1720 | 1720 | then throw((("HP should be < " + toString(maxHP)) + " to heal")) | |
1721 | 1721 | else { | |
1722 | 1722 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1723 | 1723 | let currentPack = getBackpack(bpKey) | |
1724 | 1724 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
1725 | 1725 | then nil | |
1726 | 1726 | else split(currentPack[bpIdxProd], "_") | |
1727 | 1727 | func iterateProd (acc,ignoredItem) = { | |
1728 | 1728 | let n = acc._2 | |
1729 | 1729 | let x = if ((size(prodList) > n)) | |
1730 | 1730 | then parseIntValue(prodList[n]) | |
1731 | 1731 | else 0 | |
1732 | 1732 | if ((3 > n)) | |
1733 | 1733 | then { | |
1734 | 1734 | let q = qts[n] | |
1735 | 1735 | if ((q > x)) | |
1736 | 1736 | then throw(((("You have only " + toString(x)) + " of ") + prodTypes[n])) | |
1737 | 1737 | else $Tuple3((acc._1 :+ toString((x - q))), (n + 1), (acc._3 + (medKitHp[n] * q))) | |
1738 | 1738 | } | |
1739 | 1739 | else $Tuple3((acc._1 :+ toString(x)), (n + 1), acc._3) | |
1740 | 1740 | } | |
1741 | 1741 | ||
1742 | 1742 | let result = { | |
1743 | 1743 | let $l = productionMatrix | |
1744 | 1744 | let $s = size($l) | |
1745 | 1745 | let $acc0 = $Tuple3(nil, 0, 0) | |
1746 | 1746 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
1747 | 1747 | then $a | |
1748 | 1748 | else iterateProd($a, $l[$i]) | |
1749 | 1749 | ||
1750 | 1750 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
1751 | 1751 | then $a | |
1752 | 1752 | else throw("List size exceeds 50") | |
1753 | 1753 | ||
1754 | 1754 | $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) | |
1755 | 1755 | } | |
1756 | 1756 | let newHealth = min([maxHP, (oldHealth + result._3)]) | |
1757 | 1757 | $Tuple2(([IntegerEntry(keyHealth, newHealth), StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], currentPack[bpIdxRes], currentPack[bpIdxMat], makeString(result._1, "_")], ":")), prologAction] ++ updateDuckStatsInternal(duckAssetId, (xpHeal * ((quantityL1 + quantityL2) + quantityL3)))._1), newHealth) | |
1758 | 1758 | } | |
1759 | 1759 | } | |
1760 | 1760 | } | |
1761 | 1761 | ||
1762 | 1762 | ||
1763 | 1763 | ||
1764 | 1764 | @Callable(i) | |
1765 | 1765 | func healES () = { | |
1766 | 1766 | let prologAction = prolog(i) | |
1767 | 1767 | if ((size(i.payments) != 1)) | |
1768 | 1768 | then throw("Exactly one payment required") | |
1769 | 1769 | else { | |
1770 | 1770 | let pmt = value(i.payments[0]) | |
1771 | 1771 | if ((pmt.assetId != usdtAssetId)) | |
1772 | 1772 | then throw("Allowed USDT payment only!") | |
1773 | 1773 | else { | |
1774 | 1774 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1775 | 1775 | let keyHealth = keyDuckHealth(duckAssetId) | |
1776 | 1776 | let maxHP = maxHealth(valueOrElse(getInteger(keyDuckLevel(duckAssetId)), 0)) | |
1777 | 1777 | let oldHealth = valueOrElse(getInteger(keyHealth), maxHP) | |
1778 | 1778 | if ((oldHealth > 0)) | |
1779 | 1779 | then throw("HP should be 0 to call Emergency Service") | |
1780 | 1780 | else { | |
1781 | 1781 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1782 | 1782 | let currentPack = getBackpack(bpKey) | |
1783 | 1783 | let prodList = if ((currentPack[bpIdxProd] == "")) | |
1784 | 1784 | then nil | |
1785 | 1785 | else split(currentPack[bpIdxProd], "_") | |
1786 | 1786 | let medKitAmount1 = if ((size(prodList) > 0)) | |
1787 | 1787 | then parseIntValue(prodList[0]) | |
1788 | 1788 | else 0 | |
1789 | 1789 | let medKitAmount2 = if ((size(prodList) > 1)) | |
1790 | 1790 | then parseIntValue(prodList[1]) | |
1791 | 1791 | else 0 | |
1792 | 1792 | let medKitAmount3 = if ((size(prodList) > 2)) | |
1793 | 1793 | then parseIntValue(prodList[2]) | |
1794 | 1794 | else 0 | |
1795 | 1795 | if (if (if ((medKitAmount1 > 0)) | |
1796 | 1796 | then true | |
1797 | 1797 | else (medKitAmount2 > 0)) | |
1798 | 1798 | then true | |
1799 | 1799 | else (medKitAmount3 > 0)) | |
1800 | 1800 | then throw("You have to use own Medical Kit") | |
1801 | 1801 | else { | |
1802 | 1802 | let existStr = getString(economyContract, keyEsWarehouse()) | |
1803 | 1803 | let existAmounts = if (isDefined(existStr)) | |
1804 | 1804 | then split(value(existStr), "_") | |
1805 | 1805 | else nil | |
1806 | 1806 | let existAmount = if ((size(existAmounts) > 0)) | |
1807 | 1807 | then parseIntValue(existAmounts[0]) | |
1808 | 1808 | else 0 | |
1809 | 1809 | if ((0 >= existAmount)) | |
1810 | 1810 | then throw("There are no Medical Kits L1 at Emergency Service storage") | |
1811 | 1811 | else { | |
1812 | 1812 | let newHealth = (oldHealth + medKitHp[0]) | |
1813 | 1813 | let newES = makeString([toString((existAmount - 1)), removeByIndex(existAmounts, 0)], "_") | |
1814 | 1814 | let recipe = split(productionMatrix[0], "_") | |
1815 | 1815 | let totalMat = getRecipeMaterials(recipe) | |
1816 | 1816 | let packSize = parseIntValue(recipe[recipeIdxPacksize]) | |
1817 | 1817 | let sellPrice = fraction((totalMat * ESSELLCOEF), RESOURCEPRICEMIN, (10 * packSize)) | |
1818 | 1818 | if ((pmt.amount != sellPrice)) | |
1819 | 1819 | then throw(("Payment attached should be " + toString(sellPrice))) | |
1820 | 1820 | else { | |
1821 | 1821 | let result = asString(invoke(economyContract, "updateEsStorage", [newES], [AttachedPayment(usdtAssetId, sellPrice)])) | |
1822 | 1822 | $Tuple2(([IntegerEntry(keyHealth, newHealth), prologAction] ++ updateDuckStatsInternal(duckAssetId, xpCallES)._1), result) | |
1823 | 1823 | } | |
1824 | 1824 | } | |
1825 | 1825 | } | |
1826 | 1826 | } | |
1827 | 1827 | } | |
1828 | 1828 | } | |
1829 | 1829 | } | |
1830 | 1830 | ||
1831 | 1831 | ||
1832 | 1832 | ||
1833 | 1833 | @Callable(i) | |
1834 | 1834 | func updateBackpack (duckAssetId,newPack) = if ((i.caller != economyContract)) | |
1835 | 1835 | then throw("permission denied") | |
1836 | 1836 | else $Tuple2([StringEntry(keyBackpackByDuck(duckAssetId), newPack)], newPack) | |
1837 | 1837 | ||
1838 | 1838 | ||
1839 | 1839 | ||
1840 | 1840 | @Callable(i) | |
1841 | 1841 | func buySLand () = { | |
1842 | 1842 | let prologAction = prolog(i) | |
1843 | 1843 | if ((size(i.payments) != 1)) | |
1844 | 1844 | then throw("Exactly one payment required") | |
1845 | 1845 | else { | |
1846 | 1846 | let pmt = value(i.payments[0]) | |
1847 | 1847 | if ((pmt.assetId != usdtAssetId)) | |
1848 | 1848 | then throw("Allowed USDT payment only!") | |
1849 | 1849 | else if ((pmt.amount != EXPUSDT)) | |
1850 | 1850 | then throw(("Payment attached should be " + toString(EXPUSDT))) | |
1851 | 1851 | else { | |
1852 | 1852 | let result = expeditionInternal(i.caller, i.transactionId) | |
1853 | 1853 | $Tuple2((((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) ++ updateAccStatsInternal(toString(i.caller), xpNewSLand)._1) :+ prologAction), result._2._1) | |
1854 | 1854 | } | |
1855 | 1855 | } | |
1856 | 1856 | } | |
1857 | 1857 | ||
1858 | 1858 | ||
1859 | 1859 | ||
1860 | 1860 | @Callable(i) | |
1861 | 1861 | func expedition (message,sig) = { | |
1862 | 1862 | let prologAction = prolog(i) | |
1863 | 1863 | if ((size(i.payments) != 0)) | |
1864 | 1864 | then throw("No payments required") | |
1865 | 1865 | else { | |
1866 | 1866 | let result = expeditionCommon(i.caller, i.transactionId, message, sig) | |
1867 | 1867 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1868 | 1868 | $Tuple2(((result._1 ++ updateDuckStatsInternal(duckAssetId, xpNewSLand)._1) :+ prologAction), $Tuple2(result._2, result._3)) | |
1869 | 1869 | } | |
1870 | 1870 | } | |
1871 | 1871 | ||
1872 | 1872 | ||
1873 | 1873 | ||
1874 | 1874 | @Callable(i) | |
1875 | 1875 | func upgradeInfra (landAssetId) = { | |
1876 | 1876 | let prologAction = prolog(i) | |
1877 | 1877 | if ((size(i.payments) != 0)) | |
1878 | 1878 | then throw("No payments required") | |
1879 | 1879 | else { | |
1880 | 1880 | let result = upInfraCommon(true, i.caller, 0, landAssetId) | |
1881 | 1881 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(toString(i.caller))), "You don't have a duck staked") | |
1882 | 1882 | $Tuple2(((result._1 :+ prologAction) ++ updateDuckStatsInternal(duckAssetId, fraction(xpUpgradeInfra, result._3, MULT8))._1), result._2) | |
1883 | 1883 | } | |
1884 | 1884 | } | |
1885 | 1885 | ||
1886 | 1886 | ||
1887 | 1887 | ||
1888 | 1888 | @Callable(i) | |
1889 | 1889 | func upgradeInfraUsdt (landAssetId) = if ((i.caller != this)) | |
1890 | 1890 | then throw("Permission denied") | |
1891 | 1891 | else { | |
1892 | 1892 | let prologAction = prolog(i) | |
1893 | 1893 | if ((size(i.payments) != 1)) | |
1894 | 1894 | then throw("Exactly one payment required") | |
1895 | 1895 | else { | |
1896 | 1896 | let pmt = value(i.payments[0]) | |
1897 | 1897 | if ((pmt.assetId != usdtAssetId)) | |
1898 | 1898 | then throw("Allowed USDT payment only!") | |
1899 | 1899 | else { | |
1900 | 1900 | let result = upInfraCommon(false, i.caller, pmt.amount, landAssetId) | |
1901 | 1901 | $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2) | |
1902 | 1902 | } | |
1903 | 1903 | } | |
1904 | 1904 | } | |
1905 | 1905 | ||
1906 | 1906 | ||
1907 | 1907 | ||
1908 | 1908 | @Callable(i) | |
1909 | 1909 | func activateArtifact (artName,landAssetIdOpt) = { | |
1910 | 1910 | let prologAction = prolog(i) | |
1911 | 1911 | if ((size(i.payments) != 0)) | |
1912 | 1912 | then throw("No payments required") | |
1913 | 1913 | else { | |
1914 | 1914 | let addr = toString(i.caller) | |
1915 | 1915 | let result = match artName { | |
1916 | 1916 | case _ => | |
1917 | 1917 | if (("PRESALE" == $match0)) | |
1918 | 1918 | then activatePresaleArt(addr, landAssetIdOpt) | |
1919 | 1919 | else if (("ONBOARD" == $match0)) | |
1920 | 1920 | then activateOnboardArt(addr) | |
1921 | 1921 | else throw("Unknown artifact") | |
1922 | 1922 | } | |
1923 | 1923 | (result :+ prologAction) | |
1924 | 1924 | } | |
1925 | 1925 | } | |
1926 | 1926 | ||
1927 | 1927 | ||
1928 | 1928 | ||
1929 | 1929 | @Callable(i) | |
1930 | 1930 | func mergeLands (landAssetIds) = { | |
1931 | 1931 | let prologAction = prolog(i) | |
1932 | 1932 | if ((size(i.payments) != 0)) | |
1933 | 1933 | then throw("No payments required") | |
1934 | 1934 | else { | |
1935 | 1935 | let result = mergeCommon(true, toString(i.caller), 0, landAssetIds, i.transactionId) | |
1936 | 1936 | $Tuple2(((result._1 :+ prologAction) ++ updateAccStatsInternal(toString(i.caller), xpMerge)._1), result._2) | |
1937 | 1937 | } | |
1938 | 1938 | } | |
1939 | 1939 | ||
1940 | 1940 | ||
1941 | 1941 | ||
1942 | 1942 | @Callable(i) | |
1943 | 1943 | func mergeLandsUsdt (landAssetIds) = { | |
1944 | 1944 | let prologAction = prolog(i) | |
1945 | 1945 | if ((size(i.payments) != 1)) | |
1946 | 1946 | then throw("Exactly one payment required") | |
1947 | 1947 | else { | |
1948 | 1948 | let pmt = value(i.payments[0]) | |
1949 | 1949 | if ((pmt.assetId != usdtAssetId)) | |
1950 | 1950 | then throw("Allowed USDT payment only!") | |
1951 | 1951 | else { | |
1952 | 1952 | let result = mergeCommon(false, toString(i.caller), pmt.amount, landAssetIds, i.transactionId) | |
1953 | 1953 | $Tuple2(((result._1 :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), result._2) | |
1954 | 1954 | } | |
1955 | 1955 | } | |
1956 | 1956 | } | |
1957 | 1957 | ||
1958 | 1958 | ||
1959 | 1959 | ||
1960 | 1960 | @Callable(i) | |
1961 | 1961 | func cargoExchange (cargoListStr,landAssetId) = { | |
1962 | 1962 | let prologAction = prolog(i) | |
1963 | 1963 | if ((size(i.payments) != 0)) | |
1964 | 1964 | then throw("No payments required") | |
1965 | 1965 | else { | |
1966 | 1966 | let cargoParts = split_4C(cargoListStr, ":") | |
1967 | 1967 | let addr = toString(i.originCaller) | |
1968 | 1968 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
1969 | 1969 | let timeKey = keyStakedTimeByAssetId(landAssetId) | |
1970 | 1970 | if (!(isDefined(getInteger(timeKey)))) | |
1971 | 1971 | then throw((asset.name + " is not staked")) | |
1972 | 1972 | else { | |
1973 | 1973 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(landAssetId)), (("NFT " + asset.name) + " is orphaned")) | |
1974 | 1974 | if ((owner != addr)) | |
1975 | 1975 | then throw((LANDPREFIX + " is not yours")) | |
1976 | 1976 | else { | |
1977 | 1977 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
1978 | 1978 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
1979 | 1979 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
1980 | 1980 | let curLocation = valueOrElse(getString(keyDuckLocation(duckAssetId)), DEFAULTLOCATION) | |
1981 | 1981 | let loc = split(value(curLocation), "_") | |
1982 | 1982 | if ((loc[locIdxType] != "L")) | |
1983 | 1983 | then throw((("Duck location type is " + loc[locIdxType]) + ", but should be L")) | |
1984 | 1984 | else if ((loc[locIdxId] != landAssetId)) | |
1985 | 1985 | then throw(("Duck should be on the land " + landAssetId)) | |
1986 | 1986 | else { | |
1987 | 1987 | let whKey = keyWarehouseByLand(landAssetId) | |
1988 | 1988 | let currentWh = getWarehouse(whKey, landIndex, infraLevel) | |
1989 | 1989 | let bpKey = keyBackpackByDuck(duckAssetId) | |
1990 | 1990 | let currentPack = getBackpack(bpKey) | |
1991 | 1991 | let result = moveStuff(cargoParts, currentWh, currentPack) | |
1992 | 1992 | let loft = split(currentWh[whIdxLOFT], "_") | |
1993 | 1993 | let loftO = (parseIntValue(loft[volOccupied]) + result._7) | |
1994 | 1994 | let loftF = (parseIntValue(loft[volFree]) - result._7) | |
1995 | 1995 | [StringEntry(bpKey, makeString_2C([currentPack[bpIdxLevel], result._4, result._5, result._6], ":")), StringEntry(whKey, makeString_2C([currentWh[whIdxLevels], result._1, result._2, result._3, makeString([loft[volLocked], toString(loftO), toString(loftF), loft[volTotal]], "_")], ":")), prologAction] | |
1996 | 1996 | } | |
1997 | 1997 | } | |
1998 | 1998 | } | |
1999 | 1999 | } | |
2000 | 2000 | } | |
2001 | 2001 | ||
2002 | 2002 | ||
2003 | 2003 | ||
2004 | 2004 | @Callable(i) | |
2005 | 2005 | func saveWarehouse (whStr,landAssetId) = if ((i.caller != economyContract)) | |
2006 | 2006 | then throw("Access denied") | |
2007 | 2007 | else { | |
2008 | 2008 | let whKey = keyWarehouseByLand(landAssetId) | |
2009 | 2009 | let wh = split_4C(whStr, ":") | |
2010 | 2010 | if ((size(wh) != 5)) | |
2011 | 2011 | then throw("warehouse string should contain 4 ':' separators") | |
2012 | 2012 | else { | |
2013 | 2013 | let loftL = split(wh[whIdxLOFT], "_")[volLocked] | |
2014 | 2014 | let loftO = getWarehouseOccupiedVol(wh) | |
2015 | 2015 | let loftT = getWarehouseTotalVolume(wh[whIdxLevels]) | |
2016 | 2016 | let loftF = ((loftT - parseIntValue(loftL)) - loftO) | |
2017 | 2017 | let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([loftL, toString(loftO), toString(loftF), toString(loftT)], "_")], ":") | |
2018 | 2018 | $Tuple2([StringEntry(whKey, newWhStr)], newWhStr) | |
2019 | 2019 | } | |
2020 | 2020 | } | |
2021 | 2021 | ||
2022 | 2022 | ||
2023 | 2023 | ||
2024 | 2024 | @Callable(i) | |
2025 | 2025 | func fixWarehouseFormat (landAssetId) = if ((i.caller != restContract)) | |
2026 | 2026 | then throw("Access denied") | |
2027 | 2027 | else { | |
2028 | 2028 | let whKey = keyWarehouseByLand(landAssetId) | |
2029 | 2029 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2030 | 2030 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
2031 | 2031 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2032 | 2032 | let wh = getWarehouse(whKey, landIndex, infraLevel) | |
2033 | 2033 | let loftL = asInt(invoke(economyContract, "recalcLockedVolumeREADONLY", [landAssetId, wh], nil)) | |
2034 | 2034 | let loftO = getWarehouseOccupiedVol(wh) | |
2035 | 2035 | let loftT = getWarehouseTotalVolume(wh[whIdxLevels]) | |
2036 | 2036 | let loftF = ((loftT - loftL) - loftO) | |
2037 | 2037 | let newWhStr = makeString_2C([wh[whIdxLevels], wh[whIdxRes], wh[whIdxMat], wh[whIdxProd], makeString([toString(loftL), toString(loftO), toString(loftF), toString(loftT)], "_")], ":") | |
2038 | 2038 | $Tuple2([StringEntry(whKey, newWhStr)], newWhStr) | |
2039 | 2039 | } | |
2040 | 2040 | ||
2041 | 2041 | ||
2042 | 2042 | ||
2043 | 2043 | @Callable(i) | |
2044 | 2044 | func fixStakedPieces (address) = if ((i.caller != restContract)) | |
2045 | 2045 | then throw("Access denied") | |
2046 | 2046 | else { | |
2047 | 2047 | let stakedPieces = if ((address == "")) | |
2048 | 2048 | then 0 | |
2049 | 2049 | else { | |
2050 | 2050 | let landsStr = getString(stakingContract, keyStakedLandsByOwner(address)) | |
2051 | 2051 | let lands = if (isDefined(landsStr)) | |
2052 | 2052 | then split_51C(value(landsStr), "_") | |
2053 | 2053 | else nil | |
2054 | 2054 | func oneLand (acc,landAssetId) = { | |
2055 | 2055 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2056 | 2056 | let landSize = split(asset.description, "_")[recLandSize] | |
2057 | 2057 | (acc + numPiecesBySize(landSize)) | |
2058 | 2058 | } | |
2059 | 2059 | ||
2060 | 2060 | let $l = lands | |
2061 | 2061 | let $s = size($l) | |
2062 | 2062 | let $acc0 = 0 | |
2063 | 2063 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
2064 | 2064 | then $a | |
2065 | 2065 | else oneLand($a, $l[$i]) | |
2066 | 2066 | ||
2067 | 2067 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
2068 | 2068 | then $a | |
2069 | 2069 | else throw("List size exceeds 100") | |
2070 | 2070 | ||
2071 | 2071 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
2072 | 2072 | } | |
2073 | 2073 | $Tuple2([IntegerEntry(keyStakedPiecesByOwner(address), stakedPieces)], stakedPieces) | |
2074 | 2074 | } | |
2075 | 2075 | ||
2076 | 2076 | ||
2077 | 2077 | ||
2078 | 2078 | @Callable(i) | |
2079 | 2079 | func setCustomName (assetId,customName,type) = { | |
2080 | 2080 | let prologAction = prolog(i) | |
2081 | 2081 | if ((size(i.payments) != 1)) | |
2082 | 2082 | then throw("Exactly one payment required") | |
2083 | 2083 | else { | |
2084 | 2084 | let pmt = value(i.payments[0]) | |
2085 | 2085 | if ((pmt.assetId != usdtAssetId)) | |
2086 | 2086 | then throw("Allowed USDT payment only!") | |
2087 | 2087 | else if ((pmt.amount != RENAMINGCOST)) | |
2088 | 2088 | then throw(("Payment should be " + toString(RENAMINGCOST))) | |
2089 | 2089 | else if (contains(customName, "__")) | |
2090 | 2090 | then throw(("Name should not contain '__': " + customName)) | |
2091 | 2091 | else if ((size(customName) > MAXNAMELEN)) | |
2092 | 2092 | then throw(("Name too long, maxLength=" + toString(MAXNAMELEN))) | |
2093 | 2093 | else { | |
2094 | 2094 | let addr = toString(i.originCaller) | |
2095 | 2095 | let actions = match type { | |
2096 | 2096 | case _ => | |
2097 | 2097 | if (("ACCOUNT" == $match0)) | |
2098 | 2098 | then { | |
2099 | 2099 | let reverseKey = keyCustomNameToAddress(customName) | |
2100 | 2100 | let nameOwner = getString(reverseKey) | |
2101 | 2101 | if (isDefined(nameOwner)) | |
2102 | 2102 | then throw(("Name already registered: " + customName)) | |
2103 | 2103 | else { | |
2104 | 2104 | let addrToNameKey = keyAddressToCustomName(addr) | |
2105 | 2105 | let oldName = getString(addrToNameKey) | |
2106 | 2106 | let freeOld = if (isDefined(oldName)) | |
2107 | 2107 | then [DeleteEntry(keyCustomNameToAddress(value(oldName)))] | |
2108 | 2108 | else nil | |
2109 | 2109 | (((freeOld :+ StringEntry(addrToNameKey, customName)) :+ StringEntry(reverseKey, addr)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
2110 | 2110 | } | |
2111 | 2111 | } | |
2112 | 2112 | else if (("LAND" == $match0)) | |
2113 | 2113 | then { | |
2114 | 2114 | let asset = value(assetInfo(fromBase58String(assetId))) | |
2115 | 2115 | let timeKey = keyStakedTimeByAssetId(assetId) | |
2116 | 2116 | if (!(isDefined(getInteger(timeKey)))) | |
2117 | 2117 | then throw((asset.name + " is not staked")) | |
2118 | 2118 | else { | |
2119 | 2119 | let owner = valueOrErrorMessage(getString(keyLandAssetIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
2120 | 2120 | if ((owner != addr)) | |
2121 | 2121 | then throw((LANDPREFIX + " is not yours")) | |
2122 | 2122 | else { | |
2123 | 2123 | let reverseKey = keyLandCustomNameToAssetId(customName) | |
2124 | 2124 | let nameOwner = getString(reverseKey) | |
2125 | 2125 | if (isDefined(nameOwner)) | |
2126 | 2126 | then throw(("Name already registered: " + customName)) | |
2127 | 2127 | else { | |
2128 | 2128 | let assetToNameKey = keyLandAssetIdToCustomName(assetId) | |
2129 | 2129 | let oldName = getString(assetToNameKey) | |
2130 | 2130 | let freeOld = if (isDefined(oldName)) | |
2131 | 2131 | then [DeleteEntry(keyLandCustomNameToAssetId(value(oldName)))] | |
2132 | 2132 | else nil | |
2133 | 2133 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateAccStatsInternal(addr, xpCustomName)._1) | |
2134 | 2134 | } | |
2135 | 2135 | } | |
2136 | 2136 | } | |
2137 | 2137 | } | |
2138 | 2138 | else if (("DUCK" == $match0)) | |
2139 | 2139 | then { | |
2140 | 2140 | let asset = value(assetInfo(fromBase58String(assetId))) | |
2141 | 2141 | let timeKey = keyStakedTimeByAssetId(assetId) | |
2142 | 2142 | if (if (!(isDefined(getInteger(timeKey)))) | |
2143 | 2143 | then true | |
2144 | 2144 | else !(isDefined(getString(keyStakedDuckByOwner(addr))))) | |
2145 | 2145 | then throw((asset.name + " is not staked")) | |
2146 | 2146 | else { | |
2147 | 2147 | let owner = valueOrErrorMessage(getString(keyDuckIdToOwner(assetId)), (("NFT " + asset.name) + " is orphaned")) | |
2148 | 2148 | if ((owner != addr)) | |
2149 | 2149 | then throw((DUCKPREFIX + " is not yours")) | |
2150 | 2150 | else { | |
2151 | 2151 | let reverseKey = keyDuckCustomNameToAssetId(customName) | |
2152 | 2152 | let nameOwner = getString(reverseKey) | |
2153 | 2153 | if (isDefined(nameOwner)) | |
2154 | 2154 | then throw(("Name already registered: " + customName)) | |
2155 | 2155 | else { | |
2156 | 2156 | let assetToNameKey = keyDuckAssetIdToCustomName(assetId) | |
2157 | 2157 | let oldName = getString(assetToNameKey) | |
2158 | 2158 | let freeOld = if (isDefined(oldName)) | |
2159 | 2159 | then [DeleteEntry(keyDuckCustomNameToAssetId(value(oldName)))] | |
2160 | 2160 | else nil | |
2161 | 2161 | (((freeOld :+ StringEntry(assetToNameKey, customName)) :+ StringEntry(reverseKey, assetId)) ++ updateDuckStatsInternal(assetId, xpCustomName)._1) | |
2162 | 2162 | } | |
2163 | 2163 | } | |
2164 | 2164 | } | |
2165 | 2165 | } | |
2166 | 2166 | else throw("Unknown entity type") | |
2167 | 2167 | } | |
2168 | 2168 | $Tuple2(((actions :+ ScriptTransfer(economyContract, pmt.amount, usdtAssetId)) :+ prologAction), 0) | |
2169 | 2169 | } | |
2170 | 2170 | } | |
2171 | 2171 | } | |
2172 | 2172 | ||
2173 | 2173 | ||
2174 | 2174 | ||
2175 | 2175 | @Callable(i) | |
2176 | 2176 | func setReferrals (oldPlayer,newPlayer) = if ((i.callerPublicKey != pub)) | |
2177 | 2177 | then throw("Permission denied") | |
2178 | 2178 | else { | |
2179 | 2179 | let prologAction = prolog(i) | |
2180 | 2180 | if ((size(i.payments) != 0)) | |
2181 | 2181 | then throw("No payments required") | |
2182 | 2182 | else if (!(isDefined(addressFromString(oldPlayer)))) | |
2183 | 2183 | then throw(("Invalid address: " + oldPlayer)) | |
2184 | 2184 | else if (!(isDefined(addressFromString(newPlayer)))) | |
2185 | 2185 | then throw(("Invalid address: " + newPlayer)) | |
2186 | 2186 | else { | |
2187 | 2187 | let oldsKey = keyOldies() | |
2188 | 2188 | let olds = getString(oldsKey) | |
2189 | 2189 | let oldies = if (isDefined(olds)) | |
2190 | 2190 | then split_4C(value(olds), "_") | |
2191 | 2191 | else nil | |
2192 | 2192 | if (containsElement(oldies, newPlayer)) | |
2193 | 2193 | then throw((newPlayer + " is not newbie (already has referrals)")) | |
2194 | 2194 | else { | |
2195 | 2195 | let refByKey = keyAddressRefBy(newPlayer) | |
2196 | 2196 | let refBy = getString(refByKey) | |
2197 | 2197 | if (if (isDefined(refBy)) | |
2198 | 2198 | then isDefined(addressFromString(value(refBy))) | |
2199 | 2199 | else false) | |
2200 | 2200 | then throw(((newPlayer + " already has refBy: ") + value(refBy))) | |
2201 | 2201 | else { | |
2202 | 2202 | let refsKey = keyAddressReferrals(oldPlayer) | |
2203 | 2203 | let refs = getString(refsKey) | |
2204 | 2204 | let refsArray = if (isDefined(refs)) | |
2205 | 2205 | then split_4C(value(refs), "_") | |
2206 | 2206 | else nil | |
2207 | 2207 | if (containsElement(refsArray, newPlayer)) | |
2208 | 2208 | then throw((((oldPlayer + " already contains ") + newPlayer) + " within referrals")) | |
2209 | 2209 | else { | |
2210 | 2210 | let newRefs = makeString_2C((refsArray :+ newPlayer), "_") | |
2211 | 2211 | let newOlds = if (containsElement(oldies, oldPlayer)) | |
2212 | 2212 | then value(olds) | |
2213 | 2213 | else makeString_2C((oldies :+ oldPlayer), "_") | |
2214 | 2214 | $Tuple2([StringEntry(refByKey, oldPlayer), StringEntry(refsKey, newRefs), StringEntry(oldsKey, newOlds), prologAction], 0) | |
2215 | 2215 | } | |
2216 | 2216 | } | |
2217 | 2217 | } | |
2218 | 2218 | } | |
2219 | 2219 | } | |
2220 | 2220 | ||
2221 | 2221 | ||
2222 | 2222 | ||
2223 | 2223 | @Callable(i) | |
2224 | 2224 | func distributePoints (strength,accuracy,intellect,endurance,dexterity) = { | |
2225 | 2225 | let prologAction = prolog(i) | |
2226 | 2226 | if ((size(i.payments) != 0)) | |
2227 | 2227 | then throw("No payments required") | |
2228 | 2228 | else { | |
2229 | 2229 | let addr = toString(i.originCaller) | |
2230 | 2230 | let duckAssetId = valueOrErrorMessage(getString(keyStakedDuckByOwner(addr)), "You don't have a duck staked") | |
2231 | 2231 | let freeKeyAcc = keyUserFreePoints(addr) | |
2232 | 2232 | let freePointsAcc = valueOrElse(getInteger(stakingContract, freeKeyAcc), 0) | |
2233 | 2233 | let freeKeyDuck = keyDuckFreePoints(duckAssetId) | |
2234 | 2234 | let freePointsDuck = valueOrElse(getInteger(stakingContract, freeKeyDuck), 0) | |
2235 | 2235 | let sumFree = (freePointsAcc + freePointsDuck) | |
2236 | 2236 | let sumToDistribute = ((((strength + accuracy) + intellect) + endurance) + dexterity) | |
2237 | 2237 | if ((sumToDistribute > sumFree)) | |
2238 | 2238 | then throw((("There are only " + toString(sumFree)) + " free points to distribute")) | |
2239 | 2239 | else { | |
2240 | 2240 | let charsKey = keyDuckChars(duckAssetId) | |
2241 | 2241 | let chars = split(valueOrElse(getString(stakingContract, charsKey), "0_0_0_0_0"), "_") | |
2242 | 2242 | let newAcc = (freePointsAcc - sumToDistribute) | |
2243 | 2243 | $Tuple2([IntegerEntry(freeKeyAcc, if ((0 > newAcc)) | |
2244 | 2244 | then 0 | |
2245 | 2245 | else newAcc), IntegerEntry(freeKeyDuck, if ((0 > newAcc)) | |
2246 | 2246 | then (freePointsDuck + newAcc) | |
2247 | 2247 | else freePointsDuck), StringEntry(charsKey, makeString([toString((parseIntValue(chars[charStrength]) + strength)), toString((parseIntValue(chars[charAccuracy]) + accuracy)), toString((parseIntValue(chars[charIntellect]) + intellect)), toString((parseIntValue(chars[charEndurance]) + endurance)), toString((parseIntValue(chars[charDexterity]) + dexterity))], "_")), prologAction], 0) | |
2248 | 2248 | } | |
2249 | 2249 | } | |
2250 | 2250 | } | |
2251 | 2251 | ||
2252 | 2252 | ||
2253 | 2253 | ||
2254 | 2254 | @Callable(i) | |
2255 | 2255 | func splitByGlobalWeightsREADONLY (amount) = $Tuple2(nil, getNeededMaterials(amount)) | |
2256 | 2256 | ||
2257 | 2257 | ||
2258 | 2258 | ||
2259 | 2259 | @Callable(i) | |
2260 | 2260 | func splitByGlobalAndLocalWeightsREADONLY (matAmount,resAmount,terrains) = { | |
2261 | 2261 | let terrainCounts = countTerrains(terrains) | |
2262 | 2262 | $Tuple2(nil, $Tuple2(getNeededMaterials(matAmount), distributeByWeights(resAmount, terrainCounts))) | |
2263 | 2263 | } | |
2264 | 2264 | ||
2265 | 2265 | ||
2266 | 2266 | ||
2267 | 2267 | @Callable(i) | |
2268 | 2268 | func getBackpackREADONLY (duckAssetId) = $Tuple2(nil, makeString(getBackpack(keyBackpackByDuck(duckAssetId)), ":")) | |
2269 | 2269 | ||
2270 | 2270 | ||
2271 | 2271 | ||
2272 | 2272 | @Callable(i) | |
2273 | 2273 | func getWarehouseREADONLY (landAssetId) = { | |
2274 | 2274 | let asset = value(assetInfo(fromBase58String(landAssetId))) | |
2275 | 2275 | let landIndex = (numPiecesBySize(split(asset.description, "_")[recLandSize]) / SSIZE) | |
2276 | 2276 | let infraLevel = valueOrElse(getInteger(keyInfraLevelByAssetId(landAssetId)), 0) | |
2277 | 2277 | $Tuple2(nil, makeString_2C(getWarehouse(keyWarehouseByLand(landAssetId), landIndex, infraLevel), ":")) | |
2278 | 2278 | } | |
2279 | 2279 | ||
2280 | 2280 | ||
2281 | 2281 | ||
2282 | 2282 | @Callable(i) | |
2283 | 2283 | func saveLastTx () = if (if ((i.caller != wlgContract)) | |
2284 | 2284 | then (i.caller != economyContract) | |
2285 | 2285 | else false) | |
2286 | 2286 | then throw("Access denied") | |
2287 | 2287 | else $Tuple2([prolog(i)], 42) | |
2288 | 2288 | ||
2289 | 2289 | ||
2290 | 2290 | ||
2291 | 2291 | @Callable(i) | |
2292 | 2292 | func updateDuckStats (duckAssetId,deltaXP) = if ((i.caller != economyContract)) | |
2293 | 2293 | then throw("Access denied") | |
2294 | 2294 | else updateDuckStatsInternal(duckAssetId, deltaXP) | |
2295 | 2295 | ||
2296 | 2296 | ||
2297 | 2297 | ||
2298 | 2298 | @Callable(i) | |
2299 | 2299 | func updateAccStats (addr,deltaXP) = if ((i.caller != economyContract)) | |
2300 | 2300 | then throw("Access denied") | |
2301 | 2301 | else updateAccStatsInternal(addr, deltaXP) | |
2302 | 2302 | ||
2303 | 2303 |
github/deemru/w8io/169f3d6 258.42 ms ◑