tx · CAKs3kgsQ12fqrxwYjQd7LqqT65S5TtXMtm8Wq5bCs3N 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm: -0.02300000 Waves 2023.01.06 19:08 [2393316] smart account 3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm > SELF 0.00000000 Waves
{ "type": 13, "id": "CAKs3kgsQ12fqrxwYjQd7LqqT65S5TtXMtm8Wq5bCs3N", "fee": 2300000, "feeAssetId": null, "timestamp": 1673021337523, "version": 2, "chainId": 84, "sender": "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm", "senderPublicKey": "EVooykMNV691Venwp1dHUTBd7KWequzUcda57Wd3LQEX", "proofs": [ "5CJCEqnvHiYAMtzVUno8Aphd2kB17Net652pU42Ygab9jCfLRHXgbcX5R14bA9bvAbRSn37Nzvbdog3Db2LrsdgU" ], "script": "base64:BgJJCAISABIDCgEIEgASAwoBCBIECgIBCBIECgICAhIECgIBCBIECgIBARIECgIICBIECgICAhIECgICAhIDCgEIEgMKAQgSAwoBCEoABWNoYWluCQCwCQEJAMkBAgkAygECCAUEdGhpcwVieXRlcwABAAEAC3VzZG5Bc3NldElkBAckbWF0Y2gwBQVjaGFpbgMJAAACAgFXBQckbWF0Y2gwASC2JinDBPXOU5GkDkt1JC9kjFGx+t+vVCm9SNIdKrKq0QMJAAACAgFUBQckbWF0Y2gwASD3dur394PKZdtuE+4CO89YKZWpwdGN8kvabNgdYoDI3gkAAgECDVVua25vd24gY2hhaW4ADWluY3ViYXRvckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQRWt0VnV4MlJoY2hTTjYzRHNEbzRiNG16NFFxektTZUR2AwkAAAICAVQFByRtYXRjaDAFBHRoaXMJAAIBAg1Vbmtub3duIGNoYWluAAticmVlZGVyQWRkcgQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAkBEUBleHRyTmF0aXZlKDE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WVudHMAAAkAAgECM0luZnJhc3RydWN0dXJlIHVwZ3JhZGUgZG9lc24ndCByZXF1aXJlIGFueSBwYXltZW50cwkBDXVwSW5mcmFDb21tb24DBggFAWkGY2FsbGVyAAABaQEQdXBncmFkZUluZnJhVXNkbgESbGFuZEFzc2V0SWRJZ25vcmVkAwkBAiE9AgkAkAMBCAUBaQhwYXltZW50cwABCQACAQIcRXhhY3RseSBvbmUgcGF5bWVudCByZXF1aXJlZAQDcG10CQEFdmFsdWUBCQCRAwIIBQFpCHBheW1lbnRzAAADCQECIT0CCAUDcG10B2Fzc2V0SWQFC3VzZG5Bc3NldElkCQACAQIaQWxsb3dlZCBVU0ROIHBheW1lbnQgb25seSEJAQ11cEluZnJhQ29tbW9uAwcIBQFpBmNhbGxlcggFA3BtdAZhbW91bnQBaQEQYWN0aXZhdGVBcnRpZmFjdAEHYXJ0TmFtZQMJAQIhPQIJAJADAQgFAWkIcGF5bWVudHMAAAkAAgECMEFydGlmYWN0IGFjdGl2YXRpb24gZG9lc24ndCByZXF1aXJlIGFueSBwYXltZW50cwQGcmVzdWx0BAckbWF0Y2gwBQdhcnROYW1lAwkAAAICB1BSRVNBTEUFByRtYXRjaDAJARJhY3RpdmF0ZVByZXNhbGVBcnQBCQClCAEIBQFpBmNhbGxlcgkAAgECEFVua25vd24gYXJ0aWZhY3QFBnJlc3VsdACdmSN6", "height": 2393316, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Co5a3aRFimWPciBA5gBEqF9P9fbhnNUF93MbCW77BodK Next: GHnDLx9fbaZCDDUUZzSTzCGjWtWvrC3bi3Dnq8Zj8HgV Diff:
Old | New | Differences | |
---|---|---|---|
549 | 549 | then throw("Presale artifact is already activated") | |
550 | 550 | else if ((parseIntValue(ce._3[Z]) > 500)) | |
551 | 551 | then throw((((i + " ") + ce._2) + " is not eligible for presale artifact")) | |
552 | - | else [BooleanEntry(P(ce._2), true)] | |
552 | + | else { | |
553 | + | let cf = aT(ce._3[aa]) | |
554 | + | let cs = cl(bV, ce._2, cf) | |
555 | + | ((cs._1 :+ BooleanEntry(P(ce._2), true)) :+ StringEntry(cs._2, makeString(cs._3, ":"))) | |
556 | + | } | |
553 | 557 | } | |
554 | 558 | ||
555 | 559 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = toUtf8String(take(drop(this.bytes, 1), 1)) | |
5 | 5 | ||
6 | 6 | let b = { | |
7 | 7 | let c = a | |
8 | 8 | if (("W" == c)) | |
9 | 9 | then base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
10 | 10 | else if (("T" == c)) | |
11 | 11 | then base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ' | |
12 | 12 | else throw("Unknown chain") | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | let d = { | |
16 | 16 | let c = a | |
17 | 17 | if (("W" == c)) | |
18 | 18 | then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv") | |
19 | 19 | else if (("T" == c)) | |
20 | 20 | then this | |
21 | 21 | else throw("Unknown chain") | |
22 | 22 | } | |
23 | 23 | ||
24 | 24 | let e = { | |
25 | 25 | let c = a | |
26 | 26 | if (("W" == c)) | |
27 | 27 | then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb") | |
28 | 28 | else if (("T" == c)) | |
29 | 29 | then this | |
30 | 30 | else throw("Unknown chain") | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | let f = { | |
34 | 34 | let c = a | |
35 | 35 | if (("W" == c)) | |
36 | 36 | then addressFromStringValue("3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D") | |
37 | 37 | else if (("T" == c)) | |
38 | 38 | then addressFromStringValue("3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep") | |
39 | 39 | else throw("Unknown chain") | |
40 | 40 | } | |
41 | 41 | ||
42 | 42 | let g = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
43 | 43 | ||
44 | 44 | let h = 10000 | |
45 | 45 | ||
46 | 46 | let i = "LAND" | |
47 | 47 | ||
48 | 48 | let j = "DUCK" | |
49 | 49 | ||
50 | 50 | let k = "Africa_F_Africa" | |
51 | 51 | ||
52 | 52 | let l = 6 | |
53 | 53 | ||
54 | 54 | let m = 3456000 | |
55 | 55 | ||
56 | 56 | let n = 86400000 | |
57 | 57 | ||
58 | 58 | let o = 300000 | |
59 | 59 | ||
60 | 60 | let p = 158549 | |
61 | 61 | ||
62 | 62 | let q = { | |
63 | 63 | let c = a | |
64 | 64 | if (("W" == c)) | |
65 | 65 | then 18921595217 | |
66 | 66 | else if (("T" == c)) | |
67 | 67 | then 189215952 | |
68 | 68 | else throw("Unknown chain") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | let r = { | |
72 | 72 | let c = a | |
73 | 73 | if (("W" == c)) | |
74 | 74 | then 120000000 | |
75 | 75 | else if (("T" == c)) | |
76 | 76 | then 1200000 | |
77 | 77 | else throw("Unknown chain") | |
78 | 78 | } | |
79 | 79 | ||
80 | 80 | let s = { | |
81 | 81 | let c = a | |
82 | 82 | if (("W" == c)) | |
83 | 83 | then 157679960139 | |
84 | 84 | else if (("T" == c)) | |
85 | 85 | then 1576799601 | |
86 | 86 | else throw("Unknown chain") | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | let t = { | |
90 | 90 | let c = a | |
91 | 91 | if (("W" == c)) | |
92 | 92 | then 1000000000 | |
93 | 93 | else if (("T" == c)) | |
94 | 94 | then 10000000 | |
95 | 95 | else throw("Unknown chain") | |
96 | 96 | } | |
97 | 97 | ||
98 | 98 | let u = 1000000 | |
99 | 99 | ||
100 | 100 | let v = toBigInt(5) | |
101 | 101 | ||
102 | 102 | let w = toBigInt(20) | |
103 | 103 | ||
104 | 104 | let x = toBigInt((20 * 20)) | |
105 | 105 | ||
106 | 106 | let y = toBigInt(((20 * 20) * 20)) | |
107 | 107 | ||
108 | 108 | let z = toBigInt((((20 * 20) * 20) * 20)) | |
109 | 109 | ||
110 | 110 | let A = toBigInt(((((20 * 20) * 20) * 20) * 20)) | |
111 | 111 | ||
112 | 112 | let B = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"] | |
113 | 113 | ||
114 | 114 | let C = ["Asia", "Europe", "Americas", "Oceania", "Africa"] | |
115 | 115 | ||
116 | 116 | func D () = "nextLandNum" | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func E (F) = ("landToAsset_" + F) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func G (F,H) = ((i + F) + H) | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func I (J) = ("nftOwner_" + J) | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func K (J) = ("duckOwner_" + J) | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func L (J) = ("stakedTime_" + J) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func M (J) = ("infraLevel_" + J) | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func N (J,O) = ((("infraLevelByAssetIdAndOwner_" + J) + "_") + O) | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | func P (J) = ("presaleArtActivated_" + J) | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func Q (O) = ("stakedDuckByOwner_" + O) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func R (S,J,O) = ((((("stakedTimeByTypeAssetIdAndOwner_" + S) + "_") + J) + "_") + O) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func T (F) = ("landOwner_" + F) | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func U (V) = ("backPack_" + V) | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func W (V) = ("duckLocation_" + V) | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func X (V) = ("duckHealth_" + V) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func Y () = "resTypesProportions" | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | let Z = 0 | |
165 | 165 | ||
166 | 166 | let aa = 1 | |
167 | 167 | ||
168 | 168 | let ab = 2 | |
169 | 169 | ||
170 | 170 | let ac = 3 | |
171 | 171 | ||
172 | 172 | let ad = 0 | |
173 | 173 | ||
174 | 174 | let ae = 1 | |
175 | 175 | ||
176 | 176 | let af = 2 | |
177 | 177 | ||
178 | 178 | let ag = 0 | |
179 | 179 | ||
180 | 180 | let ah = 1 | |
181 | 181 | ||
182 | 182 | let ai = 2 | |
183 | 183 | ||
184 | 184 | let aj = 3 | |
185 | 185 | ||
186 | 186 | func ak (al) = { | |
187 | 187 | let c = al | |
188 | 188 | if ($isInstanceOf(c, "String")) | |
189 | 189 | then { | |
190 | 190 | let am = c | |
191 | 191 | am | |
192 | 192 | } | |
193 | 193 | else throw("fail to cast into String") | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | func an (ao) = { | |
198 | 198 | let ap = split(value(getString(Y())), "_") | |
199 | 199 | if ((size(ap) != l)) | |
200 | 200 | then throw("Wrong proportions data") | |
201 | 201 | else { | |
202 | 202 | let aq = [parseIntValue(ap[0]), parseIntValue(ap[1]), parseIntValue(ap[2]), parseIntValue(ap[3]), parseIntValue(ap[4]), parseIntValue(ap[5])] | |
203 | 203 | let ar = (((((aq[0] + aq[1]) + aq[2]) + aq[3]) + aq[4]) + aq[5]) | |
204 | 204 | if ((0 >= ar)) | |
205 | 205 | then throw("No lands staked") | |
206 | 206 | else { | |
207 | 207 | let as = fraction(ao, u, ar) | |
208 | 208 | func at (au,av) = (au :+ fraction(av, as, u)) | |
209 | 209 | ||
210 | 210 | let aw = aq | |
211 | 211 | let ax = size(aw) | |
212 | 212 | let ay = nil | |
213 | 213 | func az (aA,aB) = if ((aB >= ax)) | |
214 | 214 | then aA | |
215 | 215 | else at(aA, aw[aB]) | |
216 | 216 | ||
217 | 217 | func aC (aA,aB) = if ((aB >= ax)) | |
218 | 218 | then aA | |
219 | 219 | else throw("List size exceeds 6") | |
220 | 220 | ||
221 | 221 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
222 | 222 | } | |
223 | 223 | } | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aD (aE,aF,aG) = { | |
228 | 228 | let aH = an(aG) | |
229 | 229 | func aI (au,aJ) = { | |
230 | 230 | let aK = (parseIntValue(aF[aJ]) - aH[aJ]) | |
231 | 231 | if ((0 > aK)) | |
232 | 232 | then throw(((((("Not enough material idx=" + toString(aJ)) + ", you have ") + aF[aJ]) + ", but need ") + toString(aH[aJ]))) | |
233 | 233 | else (au :+ toString(aK)) | |
234 | 234 | } | |
235 | 235 | ||
236 | 236 | if (aE) | |
237 | 237 | then { | |
238 | 238 | let aw = [0, 1, 2, 3, 4, 5] | |
239 | 239 | let ax = size(aw) | |
240 | 240 | let ay = nil | |
241 | 241 | func az (aA,aB) = if ((aB >= ax)) | |
242 | 242 | then aA | |
243 | 243 | else aI(aA, aw[aB]) | |
244 | 244 | ||
245 | 245 | func aC (aA,aB) = if ((aB >= ax)) | |
246 | 246 | then aA | |
247 | 247 | else throw("List size exceeds 6") | |
248 | 248 | ||
249 | 249 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
250 | 250 | } | |
251 | 251 | else aF | |
252 | 252 | } | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func aL (aM,aN,aO) = { | |
256 | 256 | let ap = split(valueOrElse(getString(Y()), "0_0_0_0_0_0"), "_") | |
257 | 257 | if ((size(ap) != l)) | |
258 | 258 | then throw("Wrong proportions data") | |
259 | 259 | else { | |
260 | 260 | func aP (au,aQ) = { | |
261 | 261 | let aK = (parseIntValue(ap[aQ]) + ((aO * aM[aQ]) * aN)) | |
262 | 262 | if ((0 > aK)) | |
263 | 263 | then throw(((((((("Panic! Pieces of type=" + toString(aQ)) + ", sign=") + toString(aO)) + ", terrainCounts[i]=") + toString(aM[aQ])) + ", landSizeIndex=") + toString(aN))) | |
264 | 264 | else (au :+ toString(aK)) | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | let aq = { | |
268 | 268 | let aw = [0, 1, 2, 3, 4, 5] | |
269 | 269 | let ax = size(aw) | |
270 | 270 | let ay = nil | |
271 | 271 | func az (aA,aB) = if ((aB >= ax)) | |
272 | 272 | then aA | |
273 | 273 | else aP(aA, aw[aB]) | |
274 | 274 | ||
275 | 275 | func aC (aA,aB) = if ((aB >= ax)) | |
276 | 276 | then aA | |
277 | 277 | else throw("List size exceeds 6") | |
278 | 278 | ||
279 | 279 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
280 | 280 | } | |
281 | 281 | makeString(aq, "_") | |
282 | 282 | } | |
283 | 283 | } | |
284 | 284 | ||
285 | 285 | ||
286 | 286 | func aR (aS) = [(size(split(aS, "A")) - 1), (size(split(aS, "B")) - 1), (size(split(aS, "C")) - 1), (size(split(aS, "D")) - 1), (size(split(aS, "E")) - 1), (size(split(aS, "F")) - 1)] | |
287 | 287 | ||
288 | 288 | ||
289 | 289 | func aT (H) = { | |
290 | 290 | let c = H | |
291 | 291 | if (("S" == c)) | |
292 | 292 | then 25 | |
293 | 293 | else if (("M" == c)) | |
294 | 294 | then 100 | |
295 | 295 | else if (("L" == c)) | |
296 | 296 | then 225 | |
297 | 297 | else if (("XL" == c)) | |
298 | 298 | then 400 | |
299 | 299 | else if (("XXL" == c)) | |
300 | 300 | then 625 | |
301 | 301 | else throw("Unknown land size") | |
302 | 302 | } | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func aU (aV,aJ,aW) = { | |
306 | 306 | func aX (au,aQ) = (au :+ (if ((aQ == aJ)) | |
307 | 307 | then toString((parseIntValue(aV[aQ]) - aW)) | |
308 | 308 | else aV[aQ])) | |
309 | 309 | ||
310 | 310 | let aq = { | |
311 | 311 | let aw = [0, 1, 2, 3, 4, 5] | |
312 | 312 | let ax = size(aw) | |
313 | 313 | let ay = nil | |
314 | 314 | func az (aA,aB) = if ((aB >= ax)) | |
315 | 315 | then aA | |
316 | 316 | else aX(aA, aw[aB]) | |
317 | 317 | ||
318 | 318 | func aC (aA,aB) = if ((aB >= ax)) | |
319 | 319 | then aA | |
320 | 320 | else throw("List size exceeds 6") | |
321 | 321 | ||
322 | 322 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
323 | 323 | } | |
324 | 324 | makeString(aq, "_") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | func aY (aZ,aM,ba,aN,bb) = { | |
329 | 329 | func bc (au,aQ) = { | |
330 | 330 | let bd = ((fraction(ba, bb, n) * aM[aQ]) * aN) | |
331 | 331 | (au :+ toString((parseIntValue(aZ[aQ]) + bd))) | |
332 | 332 | } | |
333 | 333 | ||
334 | 334 | let aq = { | |
335 | 335 | let aw = [0, 1, 2, 3, 4, 5] | |
336 | 336 | let ax = size(aw) | |
337 | 337 | let ay = nil | |
338 | 338 | func az (aA,aB) = if ((aB >= ax)) | |
339 | 339 | then aA | |
340 | 340 | else bc(aA, aw[aB]) | |
341 | 341 | ||
342 | 342 | func aC (aA,aB) = if ((aB >= ax)) | |
343 | 343 | then aA | |
344 | 344 | else throw("List size exceeds 6") | |
345 | 345 | ||
346 | 346 | aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6) | |
347 | 347 | } | |
348 | 348 | makeString(aq, "_") | |
349 | 349 | } | |
350 | 350 | ||
351 | 351 | ||
352 | 352 | func be (bf) = if ((bf >= toBigInt(0))) | |
353 | 353 | then bf | |
354 | 354 | else -(bf) | |
355 | 355 | ||
356 | 356 | ||
357 | 357 | let bg = [[1, 4, 9, 10, 15], [5, 8, 13, 14, 15], [6, 9, 14, 15, 16], [4, 7, 8, 13, 18], [1, 6, 7, 15, 19]] | |
358 | 358 | ||
359 | 359 | func bh (bi,bj) = { | |
360 | 360 | let bk = toInt((bi % w)) | |
361 | 361 | let bl = if ((bj[0] > bk)) | |
362 | 362 | then "A" | |
363 | 363 | else if ((bj[1] > bk)) | |
364 | 364 | then "B" | |
365 | 365 | else if ((bj[2] > bk)) | |
366 | 366 | then "C" | |
367 | 367 | else if ((bj[3] > bk)) | |
368 | 368 | then "D" | |
369 | 369 | else if ((bj[4] > bk)) | |
370 | 370 | then "E" | |
371 | 371 | else "F" | |
372 | 372 | bl | |
373 | 373 | } | |
374 | 374 | ||
375 | 375 | ||
376 | 376 | func bm (bn) = { | |
377 | 377 | let bo = split(valueOrElse(getString(bn), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":") | |
378 | 378 | [toString(valueOrElse(parseInt(bo[ag]), 0)), if ((size(split(bo[ah], "_")) == l)) | |
379 | 379 | then bo[ah] | |
380 | 380 | else "0_0_0_0_0_0", if ((size(split(bo[ai], "_")) == l)) | |
381 | 381 | then bo[ai] | |
382 | 382 | else "0_0_0_0_0_0", bo[aj]] | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | func bp (aE,bq,br,bs,bt) = if (!(sigVerify_8Kb(bs, bt, g))) | |
387 | 387 | then throw("signature does not match") | |
388 | 388 | else { | |
389 | 389 | let bu = split(toUtf8String(bs), ";") | |
390 | 390 | let bv = split(split(bu[0], "|")[0], "_") | |
391 | 391 | let bw = parseIntValue(bv[0]) | |
392 | 392 | let bx = parseIntValue(bv[1]) | |
393 | 393 | let by = split(bu[1], ":") | |
394 | 394 | let bz = split(by[0], "_") | |
395 | 395 | if ((bz[1] != "E")) | |
396 | 396 | then throw("expedition target location type should be E") | |
397 | 397 | else { | |
398 | 398 | let bA = parseIntValue(by[1]) | |
399 | 399 | if (if ((bA > (lastBlock.timestamp + o))) | |
400 | 400 | then true | |
401 | 401 | else ((lastBlock.timestamp - o) > bA)) | |
402 | 402 | then throw("signature outdated") | |
403 | 403 | else { | |
404 | 404 | let bB = toString(bq) | |
405 | 405 | let V = valueOrErrorMessage(getString(Q(bB)), "You don't have a duck staked") | |
406 | 406 | let bC = X(V) | |
407 | 407 | let bD = valueOrElse(getInteger(bC), 100) | |
408 | 408 | if ((bD != bw)) | |
409 | 409 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw))) | |
410 | 410 | else if ((0 >= bw)) | |
411 | 411 | then throw("You can't fly with zero health") | |
412 | 412 | else if ((0 >= bx)) | |
413 | 413 | then $Tuple2(((if (!(aE)) | |
414 | 414 | then [ScriptTransfer(bq, t, b)] | |
415 | 415 | else nil) :+ IntegerEntry(bC, 0)), "") | |
416 | 416 | else { | |
417 | 417 | let bn = U(V) | |
418 | 418 | let bE = bm(bn) | |
419 | 419 | let bF = split(bE[ai], "_") | |
420 | 420 | let bG = makeString(aD(aE, bF, s), "_") | |
421 | 421 | let bH = be(toBigInt(br)) | |
422 | 422 | let bI = valueOrElse(getInteger(D()), 501) | |
423 | 423 | let F = toString(bI) | |
424 | 424 | let bJ = toInt((bH % v)) | |
425 | 425 | let bK = bg[bJ] | |
426 | 426 | func bL (au,av) = $Tuple2((((((au._1 + bh(au._2, bK)) + bh((au._2 / w), bK)) + bh((au._2 / x), bK)) + bh((au._2 / y), bK)) + bh((au._2 / z), bK)), (au._2 / A)) | |
427 | 427 | ||
428 | 428 | let bM = { | |
429 | 429 | let aw = [1, 2, 3, 4, 5] | |
430 | 430 | let ax = size(aw) | |
431 | 431 | let ay = $Tuple2("", (bH / v)) | |
432 | 432 | func az (aA,aB) = if ((aB >= ax)) | |
433 | 433 | then aA | |
434 | 434 | else bL(aA, aw[aB]) | |
435 | 435 | ||
436 | 436 | func aC (aA,aB) = if ((aB >= ax)) | |
437 | 437 | then aA | |
438 | 438 | else throw("List size exceeds 5") | |
439 | 439 | ||
440 | 440 | aC(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5) | |
441 | 441 | } | |
442 | 442 | let bN = C[bJ] | |
443 | 443 | let bO = Issue(G(F, "S"), makeString([F, "S", bM._1, bN], "_"), 1, 0, false) | |
444 | 444 | let J = calculateAssetId(bO) | |
445 | 445 | let bP = toBase58String(J) | |
446 | 446 | $Tuple2([IntegerEntry(D(), (bI + 1)), bO, StringEntry(E(F), bP), StringEntry(I(bP), bB), StringEntry(T(F), bB), IntegerEntry(M(bP), 0), IntegerEntry(N(bP, bB), 0), ScriptTransfer(bq, 1, J), StringEntry(W(V), makeString([bN, "L", bP], "_")), IntegerEntry(bC, bx), StringEntry(bn, makeString([bE[ag], bE[ah], bG, bE[aj]], ":"))], bP) | |
447 | 447 | } | |
448 | 448 | } | |
449 | 449 | } | |
450 | 450 | } | |
451 | 451 | ||
452 | 452 | ||
453 | 453 | func bQ (bR) = { | |
454 | 454 | let bS = valueOrElse(getInteger(M(bR)), 0) | |
455 | 455 | let bT = if (valueOrElse(getBoolean(P(bR)), false)) | |
456 | 456 | then 3 | |
457 | 457 | else 0 | |
458 | 458 | ((m + fraction(m, bS, 4)) + fraction(m, bT, 20)) | |
459 | 459 | } | |
460 | 460 | ||
461 | 461 | ||
462 | 462 | func bU (bV) = { | |
463 | 463 | let V = valueOrErrorMessage(getString(Q(bV)), "You don't have a duck staked") | |
464 | 464 | let bW = valueOrElse(getString(W(V)), k) | |
465 | 465 | let bX = split(value(bW), "_") | |
466 | 466 | if ((bX[ae] != "L")) | |
467 | 467 | then throw((("Duck location type is " + bX[ae]) + ", but should be L")) | |
468 | 468 | else { | |
469 | 469 | let bR = bX[af] | |
470 | 470 | let bY = value(assetInfo(fromBase58String(bR))) | |
471 | 471 | let bZ = L(bR) | |
472 | 472 | let ca = valueOrErrorMessage(getInteger(bZ), (("NFT " + bY.name) + " is not staked")) | |
473 | 473 | let cb = valueOrErrorMessage(getString(I(bR)), (("NFT " + bY.name) + " is orphaned")) | |
474 | 474 | if ((cb != bV)) | |
475 | 475 | then throw((i + " is not yours")) | |
476 | 476 | else { | |
477 | 477 | let cc = split(bY.description, "_") | |
478 | 478 | $Tuple4(V, bR, cc, ca) | |
479 | 479 | } | |
480 | 480 | } | |
481 | 481 | } | |
482 | 482 | ||
483 | 483 | ||
484 | 484 | func cd (bV,aW) = { | |
485 | 485 | let ce = bU(bV) | |
486 | 486 | let H = ce._3[aa] | |
487 | 487 | let aM = aR(ce._3[ab]) | |
488 | 488 | let ba = (lastBlock.timestamp - ce._4) | |
489 | 489 | if ((0 > ba)) | |
490 | 490 | then throw(((("Saved timestamp is in future, saved = " + toString(ce._4)) + ", current = ") + toString(lastBlock.timestamp))) | |
491 | 491 | else { | |
492 | 492 | let cf = aT(H) | |
493 | 493 | let cg = bQ(ce._2) | |
494 | 494 | let ch = fraction(ba, (cg * cf), n) | |
495 | 495 | if ((aW > ch)) | |
496 | 496 | then throw(((("Not enough resources, available = " + toString(ch)) + ", requested = ") + toString(aW))) | |
497 | 497 | else { | |
498 | 498 | let ci = fraction((ch - aW), n, (cg * cf)) | |
499 | 499 | let cj = (lastBlock.timestamp - ci) | |
500 | 500 | let bn = U(ce._1) | |
501 | 501 | let bE = bm(bn) | |
502 | 502 | let aZ = split(bE[ah], "_") | |
503 | 503 | let ck = aY(aZ, aM, (ba - ci), (cf / 25), cg) | |
504 | 504 | $Tuple3([IntegerEntry(L(ce._2), cj), IntegerEntry(R(i, ce._2, bV), cj)], bn, [bE[ag], ck, bE[ai], bE[aj]]) | |
505 | 505 | } | |
506 | 506 | } | |
507 | 507 | } | |
508 | 508 | ||
509 | 509 | ||
510 | 510 | func cl (bV,bR,cf) = { | |
511 | 511 | let bZ = L(bR) | |
512 | 512 | let ca = value(getInteger(bZ)) | |
513 | 513 | let ch = (fraction((lastBlock.timestamp - ca), bQ(bR), n) * cf) | |
514 | 514 | cd(bV, ch) | |
515 | 515 | } | |
516 | 516 | ||
517 | 517 | ||
518 | 518 | func cm (aE,bq,cn) = { | |
519 | 519 | let bV = toString(bq) | |
520 | 520 | let ce = bU(bV) | |
521 | 521 | let cf = aT(ce._3[aa]) | |
522 | 522 | let co = M(ce._2) | |
523 | 523 | let cp = valueOrElse(getInteger(co), 0) | |
524 | 524 | if ((cp >= 3)) | |
525 | 525 | then throw("Currently max infrastructure level = 3") | |
526 | 526 | else { | |
527 | 527 | let cq = (cp + 1) | |
528 | 528 | let cr = fraction(r, (cf * cq), 25) | |
529 | 529 | if (if (!(aE)) | |
530 | 530 | then (cn != cr) | |
531 | 531 | else false) | |
532 | 532 | then throw(("Payment attached should be " + toString(cr))) | |
533 | 533 | else { | |
534 | 534 | let bn = U(ce._1) | |
535 | 535 | let bE = bm(bn) | |
536 | 536 | let bF = split(bE[ai], "_") | |
537 | 537 | let bG = makeString(aD(aE, bF, fraction(q, (cf * cq), 25)), "_") | |
538 | 538 | let cs = cl(bV, ce._2, cf) | |
539 | 539 | $Tuple2(([IntegerEntry(co, cq), IntegerEntry(N(ce._2, bV), cq), StringEntry(bn, makeString([bE[ag], cs._3[ah], bG, bE[aj]], ":"))] ++ cs._1), cq) | |
540 | 540 | } | |
541 | 541 | } | |
542 | 542 | } | |
543 | 543 | ||
544 | 544 | ||
545 | 545 | func ct (bV) = { | |
546 | 546 | let ce = bU(bV) | |
547 | 547 | let cu = P(ce._2) | |
548 | 548 | if (valueOrElse(getBoolean(cu), false)) | |
549 | 549 | then throw("Presale artifact is already activated") | |
550 | 550 | else if ((parseIntValue(ce._3[Z]) > 500)) | |
551 | 551 | then throw((((i + " ") + ce._2) + " is not eligible for presale artifact")) | |
552 | - | else [BooleanEntry(P(ce._2), true)] | |
552 | + | else { | |
553 | + | let cf = aT(ce._3[aa]) | |
554 | + | let cs = cl(bV, ce._2, cf) | |
555 | + | ((cs._1 :+ BooleanEntry(P(ce._2), true)) :+ StringEntry(cs._2, makeString(cs._3, ":"))) | |
556 | + | } | |
553 | 557 | } | |
554 | 558 | ||
555 | 559 | ||
556 | 560 | @Callable(aQ) | |
557 | 561 | func stakeLand () = { | |
558 | 562 | let cv = value(aQ.payments[0]) | |
559 | 563 | let J = value(cv.assetId) | |
560 | 564 | let cw = toString(aQ.caller) | |
561 | 565 | if ((cv.amount != 1)) | |
562 | 566 | then throw((("NFT " + i) + " token should be attached as payment")) | |
563 | 567 | else { | |
564 | 568 | let bY = value(assetInfo(J)) | |
565 | 569 | if ((bY.issuer != this)) | |
566 | 570 | then throw("Unknown issuer of token") | |
567 | 571 | else if (!(contains(bY.name, i))) | |
568 | 572 | then throw((("Only NFT " + i) + " tokens are accepted")) | |
569 | 573 | else { | |
570 | 574 | let cx = drop(bY.name, 4) | |
571 | 575 | let F = if (contains(cx, "XXL")) | |
572 | 576 | then dropRight(cx, 3) | |
573 | 577 | else if (contains(cx, "XL")) | |
574 | 578 | then dropRight(cx, 2) | |
575 | 579 | else dropRight(cx, 1) | |
576 | 580 | let cy = valueOrErrorMessage(parseInt(F), ("Cannot parse land number from " + bY.name)) | |
577 | 581 | let bR = toBase58String(J) | |
578 | 582 | let bZ = L(bR) | |
579 | 583 | if (isDefined(getInteger(bZ))) | |
580 | 584 | then throw((("NFT " + bY.name) + " is already staked")) | |
581 | 585 | else { | |
582 | 586 | let cc = split(bY.description, "_") | |
583 | 587 | let aM = aR(cc[ab]) | |
584 | 588 | let ap = aL(aM, (aT(cc[aa]) / 25), 1) | |
585 | 589 | [IntegerEntry(bZ, lastBlock.timestamp), IntegerEntry(R(i, bR, cw), lastBlock.timestamp), StringEntry(I(bR), cw), StringEntry(T(F), cw), StringEntry(Y(), ap)] | |
586 | 590 | } | |
587 | 591 | } | |
588 | 592 | } | |
589 | 593 | } | |
590 | 594 | ||
591 | 595 | ||
592 | 596 | ||
593 | 597 | @Callable(aQ) | |
594 | 598 | func unstakeLand (cz) = if ((size(aQ.payments) != 0)) | |
595 | 599 | then throw("unstake doesn't require any payments") | |
596 | 600 | else { | |
597 | 601 | let bV = toString(aQ.caller) | |
598 | 602 | let ce = bU(bV) | |
599 | 603 | let aM = aR(ce._3[ab]) | |
600 | 604 | let cf = aT(ce._3[aa]) | |
601 | 605 | let ap = aL(aM, (cf / 25), -1) | |
602 | 606 | let cs = cl(bV, ce._2, cf) | |
603 | 607 | [ScriptTransfer(aQ.caller, 1, fromBase58String(ce._2)), DeleteEntry(L(ce._2)), DeleteEntry(R(i, ce._2, bV)), StringEntry(Y(), ap), StringEntry(cs._2, makeString(cs._3, ":"))] | |
604 | 608 | } | |
605 | 609 | ||
606 | 610 | ||
607 | 611 | ||
608 | 612 | @Callable(aQ) | |
609 | 613 | func stakeDuck () = { | |
610 | 614 | let cv = value(aQ.payments[0]) | |
611 | 615 | let J = value(cv.assetId) | |
612 | 616 | let cw = toString(aQ.caller) | |
613 | 617 | if ((cv.amount != 1)) | |
614 | 618 | then throw((("NFT " + j) + " token should be attached as payment")) | |
615 | 619 | else { | |
616 | 620 | let bY = value(assetInfo(J)) | |
617 | 621 | if (if ((bY.issuer != d)) | |
618 | 622 | then (bY.issuer != e) | |
619 | 623 | else false) | |
620 | 624 | then throw((("Unknown issuer of " + j) + " token")) | |
621 | 625 | else if (!(contains(bY.name, j))) | |
622 | 626 | then throw((("Only NFT " + j) + " tokens are accepted")) | |
623 | 627 | else { | |
624 | 628 | let cA = toBase58String(J) | |
625 | 629 | let bZ = L(cA) | |
626 | 630 | if (isDefined(getInteger(bZ))) | |
627 | 631 | then throw((("NFT " + bY.name) + " is already staked")) | |
628 | 632 | else if (isDefined(getString(Q(cw)))) | |
629 | 633 | then throw(("You already staked one duck: " + bY.name)) | |
630 | 634 | else { | |
631 | 635 | let cB = W(cA) | |
632 | 636 | let cC = getString(cB) | |
633 | 637 | let bC = X(cA) | |
634 | 638 | let cD = getInteger(bC) | |
635 | 639 | let bn = U(cA) | |
636 | 640 | let cE = getString(bn) | |
637 | 641 | ([IntegerEntry(bZ, lastBlock.timestamp), IntegerEntry(R(j, toBase58String(J), cw), lastBlock.timestamp), StringEntry(K(cA), cw), StringEntry(Q(cw), cA)] ++ (if (isDefined(cC)) | |
638 | 642 | then nil | |
639 | 643 | else ([StringEntry(cB, k)] ++ (if (isDefined(cD)) | |
640 | 644 | then nil | |
641 | 645 | else ([IntegerEntry(bC, 100)] ++ (if (isDefined(cE)) | |
642 | 646 | then nil | |
643 | 647 | else [StringEntry(bn, "0:0_0_0_0_0_0:0_0_0_0_0_0:")])))))) | |
644 | 648 | } | |
645 | 649 | } | |
646 | 650 | } | |
647 | 651 | } | |
648 | 652 | ||
649 | 653 | ||
650 | 654 | ||
651 | 655 | @Callable(aQ) | |
652 | 656 | func unstakeDuck (cA) = if ((size(aQ.payments) != 0)) | |
653 | 657 | then throw("unstake doesn't require any payments") | |
654 | 658 | else { | |
655 | 659 | let J = fromBase58String(cA) | |
656 | 660 | let cw = toString(aQ.caller) | |
657 | 661 | let bY = value(assetInfo(J)) | |
658 | 662 | if (if ((bY.issuer != d)) | |
659 | 663 | then (bY.issuer != e) | |
660 | 664 | else false) | |
661 | 665 | then throw((("Unknown issuer of " + j) + " token")) | |
662 | 666 | else if (!(contains(bY.name, j))) | |
663 | 667 | then throw((("Only NFT " + j) + " tokens can be unstaked")) | |
664 | 668 | else { | |
665 | 669 | let bZ = L(toBase58String(J)) | |
666 | 670 | if (!(isDefined(bZ))) | |
667 | 671 | then throw((("NFT " + bY.name) + " is not staked")) | |
668 | 672 | else if (!(isDefined(Q(cw)))) | |
669 | 673 | then throw((("The duck " + bY.name) + " is not staked")) | |
670 | 674 | else { | |
671 | 675 | let cb = valueOrErrorMessage(getString(K(toBase58String(J))), (("NFT " + bY.name) + " is orphaned")) | |
672 | 676 | if ((cb != cw)) | |
673 | 677 | then throw("Staked NFT is not yours") | |
674 | 678 | else [ScriptTransfer(aQ.caller, 1, J), DeleteEntry(bZ), DeleteEntry(W(cA)), DeleteEntry(K(cA)), DeleteEntry(R(j, cA, cw)), DeleteEntry(Q(cw))] | |
675 | 679 | } | |
676 | 680 | } | |
677 | 681 | } | |
678 | 682 | ||
679 | 683 | ||
680 | 684 | ||
681 | 685 | @Callable(aQ) | |
682 | 686 | func claimRes (aW,cz) = if ((size(aQ.payments) != 0)) | |
683 | 687 | then throw("claimRes doesn't require any payments") | |
684 | 688 | else { | |
685 | 689 | let bV = toString(aQ.originCaller) | |
686 | 690 | let aK = cd(bV, aW) | |
687 | 691 | $Tuple2((aK._1 :+ StringEntry(aK._2, makeString(aK._3, ":"))), aK._3[ah]) | |
688 | 692 | } | |
689 | 693 | ||
690 | 694 | ||
691 | 695 | ||
692 | 696 | @Callable(aQ) | |
693 | 697 | func flight (bs,bt) = if (!(sigVerify_8Kb(bs, bt, g))) | |
694 | 698 | then throw("signature does not match") | |
695 | 699 | else if ((size(aQ.payments) != 0)) | |
696 | 700 | then throw("flight doesn't require any payments") | |
697 | 701 | else { | |
698 | 702 | let bu = split(toUtf8String(bs), ";") | |
699 | 703 | let bv = split(split(bu[0], "|")[0], "_") | |
700 | 704 | let bw = parseIntValue(bv[0]) | |
701 | 705 | let bx = parseIntValue(bv[1]) | |
702 | 706 | let cF = split(bu[1], ":") | |
703 | 707 | let cG = cF[0] | |
704 | 708 | let bA = parseIntValue(cF[1]) | |
705 | 709 | if (if ((bA > (lastBlock.timestamp + o))) | |
706 | 710 | then true | |
707 | 711 | else ((lastBlock.timestamp - o) > bA)) | |
708 | 712 | then throw("signature outdated") | |
709 | 713 | else { | |
710 | 714 | let V = valueOrErrorMessage(getString(Q(toString(aQ.caller))), "You don't have a duck staked") | |
711 | 715 | let bC = X(V) | |
712 | 716 | let bD = valueOrElse(getInteger(bC), 100) | |
713 | 717 | if ((bD != bw)) | |
714 | 718 | then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw))) | |
715 | 719 | else if ((0 >= bw)) | |
716 | 720 | then throw("You can't fly with zero health") | |
717 | 721 | else { | |
718 | 722 | let cB = W(V) | |
719 | 723 | let bW = valueOrElse(getString(cB), k) | |
720 | 724 | if ((cG == bW)) | |
721 | 725 | then throw("You can't fly to the same location") | |
722 | 726 | else $Tuple2([StringEntry(cB, if ((bx > 0)) | |
723 | 727 | then cG | |
724 | 728 | else bW), IntegerEntry(bC, bx)], unit) | |
725 | 729 | } | |
726 | 730 | } | |
727 | 731 | } | |
728 | 732 | ||
729 | 733 | ||
730 | 734 | ||
731 | 735 | @Callable(aQ) | |
732 | 736 | func setHealth (cD,V) = if (if ((0 > cD)) | |
733 | 737 | then true | |
734 | 738 | else (cD > 100)) | |
735 | 739 | then throw("HP should be within 0..100") | |
736 | 740 | else [IntegerEntry(X(V), cD)] | |
737 | 741 | ||
738 | 742 | ||
739 | 743 | ||
740 | 744 | @Callable(aQ) | |
741 | 745 | func heal (cH,aW) = if (if ((0 > cH)) | |
742 | 746 | then true | |
743 | 747 | else (cH >= l)) | |
744 | 748 | then throw(("Unknown material: " + toString(cH))) | |
745 | 749 | else if ((0 >= aW)) | |
746 | 750 | then throw(("Amount should be positive! " + toString(aW))) | |
747 | 751 | else { | |
748 | 752 | let V = valueOrErrorMessage(getString(Q(toString(aQ.caller))), "You don't have a duck staked") | |
749 | 753 | let bC = X(V) | |
750 | 754 | let cI = valueOrElse(getInteger(bC), 100) | |
751 | 755 | if ((cI >= 100)) | |
752 | 756 | then throw("HP should be < 100 to heal") | |
753 | 757 | else { | |
754 | 758 | let bn = U(V) | |
755 | 759 | let bE = bm(bn) | |
756 | 760 | let bF = split(bE[ai], "_") | |
757 | 761 | let cJ = parseIntValue(bF[cH]) | |
758 | 762 | let cK = min([(aW / h), (100 - cI)]) | |
759 | 763 | let cL = (cK * h) | |
760 | 764 | if ((cL > cJ)) | |
761 | 765 | then throw(((((("You need " + toString(cL)) + " of ") + B[cH]) + " to heal, but you backpack contains ") + toString(cJ))) | |
762 | 766 | else { | |
763 | 767 | let bG = aU(bF, cH, cL) | |
764 | 768 | [IntegerEntry(bC, (cI + cK)), StringEntry(bn, makeString([bE[ag], bE[ah], bG, bE[aj]], ":"))] | |
765 | 769 | } | |
766 | 770 | } | |
767 | 771 | } | |
768 | 772 | ||
769 | 773 | ||
770 | 774 | ||
771 | 775 | @Callable(aQ) | |
772 | 776 | func updateBackpack (V,cM) = if ((aQ.caller != f)) | |
773 | 777 | then throw("permission denied") | |
774 | 778 | else $Tuple2([StringEntry(U(V), cM)], cM) | |
775 | 779 | ||
776 | 780 | ||
777 | 781 | ||
778 | 782 | @Callable(aQ) | |
779 | 783 | func expeditionBuy (bs,bt) = if ((size(aQ.payments) != 1)) | |
780 | 784 | then throw("Exactly one payment required") | |
781 | 785 | else { | |
782 | 786 | let cv = value(aQ.payments[0]) | |
783 | 787 | if ((cv.assetId != b)) | |
784 | 788 | then throw("Allowed USDN payment only!") | |
785 | 789 | else if ((cv.amount != t)) | |
786 | 790 | then throw(("Payment attached should be " + toString(t))) | |
787 | 791 | else bp(false, aQ.caller, aQ.transactionId, bs, bt) | |
788 | 792 | } | |
789 | 793 | ||
790 | 794 | ||
791 | 795 | ||
792 | 796 | @Callable(aQ) | |
793 | 797 | func expedition (bs,bt) = if ((size(aQ.payments) != 0)) | |
794 | 798 | then throw("expedition doesn't require any payments") | |
795 | 799 | else bp(true, aQ.caller, aQ.transactionId, bs, bt) | |
796 | 800 | ||
797 | 801 | ||
798 | 802 | ||
799 | 803 | @Callable(aQ) | |
800 | 804 | func upgradeInfra (cN) = if ((size(aQ.payments) != 0)) | |
801 | 805 | then throw("Infrastructure upgrade doesn't require any payments") | |
802 | 806 | else cm(true, aQ.caller, 0) | |
803 | 807 | ||
804 | 808 | ||
805 | 809 | ||
806 | 810 | @Callable(aQ) | |
807 | 811 | func upgradeInfraUsdn (cN) = if ((size(aQ.payments) != 1)) | |
808 | 812 | then throw("Exactly one payment required") | |
809 | 813 | else { | |
810 | 814 | let cv = value(aQ.payments[0]) | |
811 | 815 | if ((cv.assetId != b)) | |
812 | 816 | then throw("Allowed USDN payment only!") | |
813 | 817 | else cm(false, aQ.caller, cv.amount) | |
814 | 818 | } | |
815 | 819 | ||
816 | 820 | ||
817 | 821 | ||
818 | 822 | @Callable(aQ) | |
819 | 823 | func activateArtifact (cO) = if ((size(aQ.payments) != 0)) | |
820 | 824 | then throw("Artifact activation doesn't require any payments") | |
821 | 825 | else { | |
822 | 826 | let aK = { | |
823 | 827 | let c = cO | |
824 | 828 | if (("PRESALE" == c)) | |
825 | 829 | then ct(toString(aQ.caller)) | |
826 | 830 | else throw("Unknown artifact") | |
827 | 831 | } | |
828 | 832 | aK | |
829 | 833 | } | |
830 | 834 | ||
831 | 835 |
github/deemru/w8io/026f985 179.08 ms ◑