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+4CO89YKZWpwdGN8kvabNgdYoDI3gkAAgECDVVua25vd24gY2hhaW4ADWluY3ViYXRvckFkZHIEByRtYXRjaDAFBWNoYWluAwkAAAICAVcFByRtYXRjaDAJARFAZXh0ck5hdGl2ZSgxMDYyKQECIzNQRWt0VnV4MlJoY2hTTjYzRHNEbzRiNG16NFFxektTZUR2AwkAAAICAVQFByRtYXRjaDAFBHRoaXMJAAIBAg1Vbmtub3duIGNoYWluAAticmVlZGVyQWRkcgQHJG1hdGNoMAUFY2hhaW4DCQAAAgIBVwUHJG1hdGNoMAkBEUBleHRyTmF0aXZlKD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bWVudHMAAAkAAgECM0luZnJhc3RydWN0dXJlIHVwZ3JhZGUgZG9lc24ndCByZXF1aXJlIGFueSBwYXltZW50cwkBDXVwSW5mcmFDb21tb24DBggFAWkGY2FsbGVyAAABaQEQdXBncmFkZUluZnJhVXNkbgESbGFuZEFzc2V0SWRJZ25vcmVkAwkBAiE9AgkAkAMBCAUBaQhwYXltZW50cwABCQACAQIcRXhhY3RseSBvbmUgcGF5bWVudCByZXF1aXJlZAQDcG10CQEFdmFsdWUBCQCRAwIIBQFpCHBheW1lbnRzAAADCQECIT0CCAUDcG10B2Fzc2V0SWQFC3VzZG5Bc3NldElkCQACAQIaQWxsb3dlZCBVU0ROIHBheW1lbnQgb25seSEJAQ11cEluZnJhQ29tbW9uAwcIBQFpBmNhbGxlcggFA3BtdAZhbW91bnQBaQEQYWN0aXZhdGVBcnRpZmFjdAEHYXJ0TmFtZQMJAQIhPQIJAJADAQgFAWkIcGF5bWVudHMAAAkAAgECMEFydGlmYWN0IGFjdGl2YXRpb24gZG9lc24ndCByZXF1aXJlIGFueSBwYXltZW50cwQGcmVzdWx0BAckbWF0Y2gwBQdhcnROYW1lAwkAAAICB1BSRVNBTEUFByRtYXRjaDAJARJhY3RpdmF0ZVByZXNhbGVBcnQBCQClCAEIBQFpBmNhbGxlcgkAAgECEFVua25vd24gYXJ0aWZhY3QFBnJlc3VsdACdmSN6", "height": 2393316, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Co5a3aRFimWPciBA5gBEqF9P9fbhnNUF93MbCW77BodK Next: GHnDLx9fbaZCDDUUZzSTzCGjWtWvrC3bi3Dnq8Zj8HgV Diff:
OldNewDifferences
549549 then throw("Presale artifact is already activated")
550550 else if ((parseIntValue(ce._3[Z]) > 500))
551551 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+ }
553557 }
554558
555559
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = toUtf8String(take(drop(this.bytes, 1), 1))
55
66 let b = {
77 let c = a
88 if (("W" == c))
99 then base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p'
1010 else if (("T" == c))
1111 then base58'HezsdQuRDtzksAYUy97gfhKy7Z1NW2uXYSHA3bgqenNZ'
1212 else throw("Unknown chain")
1313 }
1414
1515 let d = {
1616 let c = a
1717 if (("W" == c))
1818 then addressFromStringValue("3PEktVux2RhchSN63DsDo4b4mz4QqzKSeDv")
1919 else if (("T" == c))
2020 then this
2121 else throw("Unknown chain")
2222 }
2323
2424 let e = {
2525 let c = a
2626 if (("W" == c))
2727 then addressFromStringValue("3PDVuU45H7Eh5dmtNbnRNRStGwULA7NY6Hb")
2828 else if (("T" == c))
2929 then this
3030 else throw("Unknown chain")
3131 }
3232
3333 let f = {
3434 let c = a
3535 if (("W" == c))
3636 then addressFromStringValue("3P2sk1KncSxRaZs8b4CWGPw2jkvvav74u4D")
3737 else if (("T" == c))
3838 then addressFromStringValue("3N8y4wxX3JC4TdrCJBXX16SjWf6X256hrep")
3939 else throw("Unknown chain")
4040 }
4141
4242 let g = base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD'
4343
4444 let h = 10000
4545
4646 let i = "LAND"
4747
4848 let j = "DUCK"
4949
5050 let k = "Africa_F_Africa"
5151
5252 let l = 6
5353
5454 let m = 3456000
5555
5656 let n = 86400000
5757
5858 let o = 300000
5959
6060 let p = 158549
6161
6262 let q = {
6363 let c = a
6464 if (("W" == c))
6565 then 18921595217
6666 else if (("T" == c))
6767 then 189215952
6868 else throw("Unknown chain")
6969 }
7070
7171 let r = {
7272 let c = a
7373 if (("W" == c))
7474 then 120000000
7575 else if (("T" == c))
7676 then 1200000
7777 else throw("Unknown chain")
7878 }
7979
8080 let s = {
8181 let c = a
8282 if (("W" == c))
8383 then 157679960139
8484 else if (("T" == c))
8585 then 1576799601
8686 else throw("Unknown chain")
8787 }
8888
8989 let t = {
9090 let c = a
9191 if (("W" == c))
9292 then 1000000000
9393 else if (("T" == c))
9494 then 10000000
9595 else throw("Unknown chain")
9696 }
9797
9898 let u = 1000000
9999
100100 let v = toBigInt(5)
101101
102102 let w = toBigInt(20)
103103
104104 let x = toBigInt((20 * 20))
105105
106106 let y = toBigInt(((20 * 20) * 20))
107107
108108 let z = toBigInt((((20 * 20) * 20) * 20))
109109
110110 let A = toBigInt(((((20 * 20) * 20) * 20) * 20))
111111
112112 let B = ["Fuel", "Metal", "Plank", "Glass", "Plastic", "Protein"]
113113
114114 let C = ["Asia", "Europe", "Americas", "Oceania", "Africa"]
115115
116116 func D () = "nextLandNum"
117117
118118
119119 func E (F) = ("landToAsset_" + F)
120120
121121
122122 func G (F,H) = ((i + F) + H)
123123
124124
125125 func I (J) = ("nftOwner_" + J)
126126
127127
128128 func K (J) = ("duckOwner_" + J)
129129
130130
131131 func L (J) = ("stakedTime_" + J)
132132
133133
134134 func M (J) = ("infraLevel_" + J)
135135
136136
137137 func N (J,O) = ((("infraLevelByAssetIdAndOwner_" + J) + "_") + O)
138138
139139
140140 func P (J) = ("presaleArtActivated_" + J)
141141
142142
143143 func Q (O) = ("stakedDuckByOwner_" + O)
144144
145145
146146 func R (S,J,O) = ((((("stakedTimeByTypeAssetIdAndOwner_" + S) + "_") + J) + "_") + O)
147147
148148
149149 func T (F) = ("landOwner_" + F)
150150
151151
152152 func U (V) = ("backPack_" + V)
153153
154154
155155 func W (V) = ("duckLocation_" + V)
156156
157157
158158 func X (V) = ("duckHealth_" + V)
159159
160160
161161 func Y () = "resTypesProportions"
162162
163163
164164 let Z = 0
165165
166166 let aa = 1
167167
168168 let ab = 2
169169
170170 let ac = 3
171171
172172 let ad = 0
173173
174174 let ae = 1
175175
176176 let af = 2
177177
178178 let ag = 0
179179
180180 let ah = 1
181181
182182 let ai = 2
183183
184184 let aj = 3
185185
186186 func ak (al) = {
187187 let c = al
188188 if ($isInstanceOf(c, "String"))
189189 then {
190190 let am = c
191191 am
192192 }
193193 else throw("fail to cast into String")
194194 }
195195
196196
197197 func an (ao) = {
198198 let ap = split(value(getString(Y())), "_")
199199 if ((size(ap) != l))
200200 then throw("Wrong proportions data")
201201 else {
202202 let aq = [parseIntValue(ap[0]), parseIntValue(ap[1]), parseIntValue(ap[2]), parseIntValue(ap[3]), parseIntValue(ap[4]), parseIntValue(ap[5])]
203203 let ar = (((((aq[0] + aq[1]) + aq[2]) + aq[3]) + aq[4]) + aq[5])
204204 if ((0 >= ar))
205205 then throw("No lands staked")
206206 else {
207207 let as = fraction(ao, u, ar)
208208 func at (au,av) = (au :+ fraction(av, as, u))
209209
210210 let aw = aq
211211 let ax = size(aw)
212212 let ay = nil
213213 func az (aA,aB) = if ((aB >= ax))
214214 then aA
215215 else at(aA, aw[aB])
216216
217217 func aC (aA,aB) = if ((aB >= ax))
218218 then aA
219219 else throw("List size exceeds 6")
220220
221221 aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6)
222222 }
223223 }
224224 }
225225
226226
227227 func aD (aE,aF,aG) = {
228228 let aH = an(aG)
229229 func aI (au,aJ) = {
230230 let aK = (parseIntValue(aF[aJ]) - aH[aJ])
231231 if ((0 > aK))
232232 then throw(((((("Not enough material idx=" + toString(aJ)) + ", you have ") + aF[aJ]) + ", but need ") + toString(aH[aJ])))
233233 else (au :+ toString(aK))
234234 }
235235
236236 if (aE)
237237 then {
238238 let aw = [0, 1, 2, 3, 4, 5]
239239 let ax = size(aw)
240240 let ay = nil
241241 func az (aA,aB) = if ((aB >= ax))
242242 then aA
243243 else aI(aA, aw[aB])
244244
245245 func aC (aA,aB) = if ((aB >= ax))
246246 then aA
247247 else throw("List size exceeds 6")
248248
249249 aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6)
250250 }
251251 else aF
252252 }
253253
254254
255255 func aL (aM,aN,aO) = {
256256 let ap = split(valueOrElse(getString(Y()), "0_0_0_0_0_0"), "_")
257257 if ((size(ap) != l))
258258 then throw("Wrong proportions data")
259259 else {
260260 func aP (au,aQ) = {
261261 let aK = (parseIntValue(ap[aQ]) + ((aO * aM[aQ]) * aN))
262262 if ((0 > aK))
263263 then throw(((((((("Panic! Pieces of type=" + toString(aQ)) + ", sign=") + toString(aO)) + ", terrainCounts[i]=") + toString(aM[aQ])) + ", landSizeIndex=") + toString(aN)))
264264 else (au :+ toString(aK))
265265 }
266266
267267 let aq = {
268268 let aw = [0, 1, 2, 3, 4, 5]
269269 let ax = size(aw)
270270 let ay = nil
271271 func az (aA,aB) = if ((aB >= ax))
272272 then aA
273273 else aP(aA, aw[aB])
274274
275275 func aC (aA,aB) = if ((aB >= ax))
276276 then aA
277277 else throw("List size exceeds 6")
278278
279279 aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6)
280280 }
281281 makeString(aq, "_")
282282 }
283283 }
284284
285285
286286 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)]
287287
288288
289289 func aT (H) = {
290290 let c = H
291291 if (("S" == c))
292292 then 25
293293 else if (("M" == c))
294294 then 100
295295 else if (("L" == c))
296296 then 225
297297 else if (("XL" == c))
298298 then 400
299299 else if (("XXL" == c))
300300 then 625
301301 else throw("Unknown land size")
302302 }
303303
304304
305305 func aU (aV,aJ,aW) = {
306306 func aX (au,aQ) = (au :+ (if ((aQ == aJ))
307307 then toString((parseIntValue(aV[aQ]) - aW))
308308 else aV[aQ]))
309309
310310 let aq = {
311311 let aw = [0, 1, 2, 3, 4, 5]
312312 let ax = size(aw)
313313 let ay = nil
314314 func az (aA,aB) = if ((aB >= ax))
315315 then aA
316316 else aX(aA, aw[aB])
317317
318318 func aC (aA,aB) = if ((aB >= ax))
319319 then aA
320320 else throw("List size exceeds 6")
321321
322322 aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6)
323323 }
324324 makeString(aq, "_")
325325 }
326326
327327
328328 func aY (aZ,aM,ba,aN,bb) = {
329329 func bc (au,aQ) = {
330330 let bd = ((fraction(ba, bb, n) * aM[aQ]) * aN)
331331 (au :+ toString((parseIntValue(aZ[aQ]) + bd)))
332332 }
333333
334334 let aq = {
335335 let aw = [0, 1, 2, 3, 4, 5]
336336 let ax = size(aw)
337337 let ay = nil
338338 func az (aA,aB) = if ((aB >= ax))
339339 then aA
340340 else bc(aA, aw[aB])
341341
342342 func aC (aA,aB) = if ((aB >= ax))
343343 then aA
344344 else throw("List size exceeds 6")
345345
346346 aC(az(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5), 6)
347347 }
348348 makeString(aq, "_")
349349 }
350350
351351
352352 func be (bf) = if ((bf >= toBigInt(0)))
353353 then bf
354354 else -(bf)
355355
356356
357357 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]]
358358
359359 func bh (bi,bj) = {
360360 let bk = toInt((bi % w))
361361 let bl = if ((bj[0] > bk))
362362 then "A"
363363 else if ((bj[1] > bk))
364364 then "B"
365365 else if ((bj[2] > bk))
366366 then "C"
367367 else if ((bj[3] > bk))
368368 then "D"
369369 else if ((bj[4] > bk))
370370 then "E"
371371 else "F"
372372 bl
373373 }
374374
375375
376376 func bm (bn) = {
377377 let bo = split(valueOrElse(getString(bn), "0:0_0_0_0_0_0:0_0_0_0_0_0:"), ":")
378378 [toString(valueOrElse(parseInt(bo[ag]), 0)), if ((size(split(bo[ah], "_")) == l))
379379 then bo[ah]
380380 else "0_0_0_0_0_0", if ((size(split(bo[ai], "_")) == l))
381381 then bo[ai]
382382 else "0_0_0_0_0_0", bo[aj]]
383383 }
384384
385385
386386 func bp (aE,bq,br,bs,bt) = if (!(sigVerify_8Kb(bs, bt, g)))
387387 then throw("signature does not match")
388388 else {
389389 let bu = split(toUtf8String(bs), ";")
390390 let bv = split(split(bu[0], "|")[0], "_")
391391 let bw = parseIntValue(bv[0])
392392 let bx = parseIntValue(bv[1])
393393 let by = split(bu[1], ":")
394394 let bz = split(by[0], "_")
395395 if ((bz[1] != "E"))
396396 then throw("expedition target location type should be E")
397397 else {
398398 let bA = parseIntValue(by[1])
399399 if (if ((bA > (lastBlock.timestamp + o)))
400400 then true
401401 else ((lastBlock.timestamp - o) > bA))
402402 then throw("signature outdated")
403403 else {
404404 let bB = toString(bq)
405405 let V = valueOrErrorMessage(getString(Q(bB)), "You don't have a duck staked")
406406 let bC = X(V)
407407 let bD = valueOrElse(getInteger(bC), 100)
408408 if ((bD != bw))
409409 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw)))
410410 else if ((0 >= bw))
411411 then throw("You can't fly with zero health")
412412 else if ((0 >= bx))
413413 then $Tuple2(((if (!(aE))
414414 then [ScriptTransfer(bq, t, b)]
415415 else nil) :+ IntegerEntry(bC, 0)), "")
416416 else {
417417 let bn = U(V)
418418 let bE = bm(bn)
419419 let bF = split(bE[ai], "_")
420420 let bG = makeString(aD(aE, bF, s), "_")
421421 let bH = be(toBigInt(br))
422422 let bI = valueOrElse(getInteger(D()), 501)
423423 let F = toString(bI)
424424 let bJ = toInt((bH % v))
425425 let bK = bg[bJ]
426426 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))
427427
428428 let bM = {
429429 let aw = [1, 2, 3, 4, 5]
430430 let ax = size(aw)
431431 let ay = $Tuple2("", (bH / v))
432432 func az (aA,aB) = if ((aB >= ax))
433433 then aA
434434 else bL(aA, aw[aB])
435435
436436 func aC (aA,aB) = if ((aB >= ax))
437437 then aA
438438 else throw("List size exceeds 5")
439439
440440 aC(az(az(az(az(az(ay, 0), 1), 2), 3), 4), 5)
441441 }
442442 let bN = C[bJ]
443443 let bO = Issue(G(F, "S"), makeString([F, "S", bM._1, bN], "_"), 1, 0, false)
444444 let J = calculateAssetId(bO)
445445 let bP = toBase58String(J)
446446 $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)
447447 }
448448 }
449449 }
450450 }
451451
452452
453453 func bQ (bR) = {
454454 let bS = valueOrElse(getInteger(M(bR)), 0)
455455 let bT = if (valueOrElse(getBoolean(P(bR)), false))
456456 then 3
457457 else 0
458458 ((m + fraction(m, bS, 4)) + fraction(m, bT, 20))
459459 }
460460
461461
462462 func bU (bV) = {
463463 let V = valueOrErrorMessage(getString(Q(bV)), "You don't have a duck staked")
464464 let bW = valueOrElse(getString(W(V)), k)
465465 let bX = split(value(bW), "_")
466466 if ((bX[ae] != "L"))
467467 then throw((("Duck location type is " + bX[ae]) + ", but should be L"))
468468 else {
469469 let bR = bX[af]
470470 let bY = value(assetInfo(fromBase58String(bR)))
471471 let bZ = L(bR)
472472 let ca = valueOrErrorMessage(getInteger(bZ), (("NFT " + bY.name) + " is not staked"))
473473 let cb = valueOrErrorMessage(getString(I(bR)), (("NFT " + bY.name) + " is orphaned"))
474474 if ((cb != bV))
475475 then throw((i + " is not yours"))
476476 else {
477477 let cc = split(bY.description, "_")
478478 $Tuple4(V, bR, cc, ca)
479479 }
480480 }
481481 }
482482
483483
484484 func cd (bV,aW) = {
485485 let ce = bU(bV)
486486 let H = ce._3[aa]
487487 let aM = aR(ce._3[ab])
488488 let ba = (lastBlock.timestamp - ce._4)
489489 if ((0 > ba))
490490 then throw(((("Saved timestamp is in future, saved = " + toString(ce._4)) + ", current = ") + toString(lastBlock.timestamp)))
491491 else {
492492 let cf = aT(H)
493493 let cg = bQ(ce._2)
494494 let ch = fraction(ba, (cg * cf), n)
495495 if ((aW > ch))
496496 then throw(((("Not enough resources, available = " + toString(ch)) + ", requested = ") + toString(aW)))
497497 else {
498498 let ci = fraction((ch - aW), n, (cg * cf))
499499 let cj = (lastBlock.timestamp - ci)
500500 let bn = U(ce._1)
501501 let bE = bm(bn)
502502 let aZ = split(bE[ah], "_")
503503 let ck = aY(aZ, aM, (ba - ci), (cf / 25), cg)
504504 $Tuple3([IntegerEntry(L(ce._2), cj), IntegerEntry(R(i, ce._2, bV), cj)], bn, [bE[ag], ck, bE[ai], bE[aj]])
505505 }
506506 }
507507 }
508508
509509
510510 func cl (bV,bR,cf) = {
511511 let bZ = L(bR)
512512 let ca = value(getInteger(bZ))
513513 let ch = (fraction((lastBlock.timestamp - ca), bQ(bR), n) * cf)
514514 cd(bV, ch)
515515 }
516516
517517
518518 func cm (aE,bq,cn) = {
519519 let bV = toString(bq)
520520 let ce = bU(bV)
521521 let cf = aT(ce._3[aa])
522522 let co = M(ce._2)
523523 let cp = valueOrElse(getInteger(co), 0)
524524 if ((cp >= 3))
525525 then throw("Currently max infrastructure level = 3")
526526 else {
527527 let cq = (cp + 1)
528528 let cr = fraction(r, (cf * cq), 25)
529529 if (if (!(aE))
530530 then (cn != cr)
531531 else false)
532532 then throw(("Payment attached should be " + toString(cr)))
533533 else {
534534 let bn = U(ce._1)
535535 let bE = bm(bn)
536536 let bF = split(bE[ai], "_")
537537 let bG = makeString(aD(aE, bF, fraction(q, (cf * cq), 25)), "_")
538538 let cs = cl(bV, ce._2, cf)
539539 $Tuple2(([IntegerEntry(co, cq), IntegerEntry(N(ce._2, bV), cq), StringEntry(bn, makeString([bE[ag], cs._3[ah], bG, bE[aj]], ":"))] ++ cs._1), cq)
540540 }
541541 }
542542 }
543543
544544
545545 func ct (bV) = {
546546 let ce = bU(bV)
547547 let cu = P(ce._2)
548548 if (valueOrElse(getBoolean(cu), false))
549549 then throw("Presale artifact is already activated")
550550 else if ((parseIntValue(ce._3[Z]) > 500))
551551 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+ }
553557 }
554558
555559
556560 @Callable(aQ)
557561 func stakeLand () = {
558562 let cv = value(aQ.payments[0])
559563 let J = value(cv.assetId)
560564 let cw = toString(aQ.caller)
561565 if ((cv.amount != 1))
562566 then throw((("NFT " + i) + " token should be attached as payment"))
563567 else {
564568 let bY = value(assetInfo(J))
565569 if ((bY.issuer != this))
566570 then throw("Unknown issuer of token")
567571 else if (!(contains(bY.name, i)))
568572 then throw((("Only NFT " + i) + " tokens are accepted"))
569573 else {
570574 let cx = drop(bY.name, 4)
571575 let F = if (contains(cx, "XXL"))
572576 then dropRight(cx, 3)
573577 else if (contains(cx, "XL"))
574578 then dropRight(cx, 2)
575579 else dropRight(cx, 1)
576580 let cy = valueOrErrorMessage(parseInt(F), ("Cannot parse land number from " + bY.name))
577581 let bR = toBase58String(J)
578582 let bZ = L(bR)
579583 if (isDefined(getInteger(bZ)))
580584 then throw((("NFT " + bY.name) + " is already staked"))
581585 else {
582586 let cc = split(bY.description, "_")
583587 let aM = aR(cc[ab])
584588 let ap = aL(aM, (aT(cc[aa]) / 25), 1)
585589 [IntegerEntry(bZ, lastBlock.timestamp), IntegerEntry(R(i, bR, cw), lastBlock.timestamp), StringEntry(I(bR), cw), StringEntry(T(F), cw), StringEntry(Y(), ap)]
586590 }
587591 }
588592 }
589593 }
590594
591595
592596
593597 @Callable(aQ)
594598 func unstakeLand (cz) = if ((size(aQ.payments) != 0))
595599 then throw("unstake doesn't require any payments")
596600 else {
597601 let bV = toString(aQ.caller)
598602 let ce = bU(bV)
599603 let aM = aR(ce._3[ab])
600604 let cf = aT(ce._3[aa])
601605 let ap = aL(aM, (cf / 25), -1)
602606 let cs = cl(bV, ce._2, cf)
603607 [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, ":"))]
604608 }
605609
606610
607611
608612 @Callable(aQ)
609613 func stakeDuck () = {
610614 let cv = value(aQ.payments[0])
611615 let J = value(cv.assetId)
612616 let cw = toString(aQ.caller)
613617 if ((cv.amount != 1))
614618 then throw((("NFT " + j) + " token should be attached as payment"))
615619 else {
616620 let bY = value(assetInfo(J))
617621 if (if ((bY.issuer != d))
618622 then (bY.issuer != e)
619623 else false)
620624 then throw((("Unknown issuer of " + j) + " token"))
621625 else if (!(contains(bY.name, j)))
622626 then throw((("Only NFT " + j) + " tokens are accepted"))
623627 else {
624628 let cA = toBase58String(J)
625629 let bZ = L(cA)
626630 if (isDefined(getInteger(bZ)))
627631 then throw((("NFT " + bY.name) + " is already staked"))
628632 else if (isDefined(getString(Q(cw))))
629633 then throw(("You already staked one duck: " + bY.name))
630634 else {
631635 let cB = W(cA)
632636 let cC = getString(cB)
633637 let bC = X(cA)
634638 let cD = getInteger(bC)
635639 let bn = U(cA)
636640 let cE = getString(bn)
637641 ([IntegerEntry(bZ, lastBlock.timestamp), IntegerEntry(R(j, toBase58String(J), cw), lastBlock.timestamp), StringEntry(K(cA), cw), StringEntry(Q(cw), cA)] ++ (if (isDefined(cC))
638642 then nil
639643 else ([StringEntry(cB, k)] ++ (if (isDefined(cD))
640644 then nil
641645 else ([IntegerEntry(bC, 100)] ++ (if (isDefined(cE))
642646 then nil
643647 else [StringEntry(bn, "0:0_0_0_0_0_0:0_0_0_0_0_0:")]))))))
644648 }
645649 }
646650 }
647651 }
648652
649653
650654
651655 @Callable(aQ)
652656 func unstakeDuck (cA) = if ((size(aQ.payments) != 0))
653657 then throw("unstake doesn't require any payments")
654658 else {
655659 let J = fromBase58String(cA)
656660 let cw = toString(aQ.caller)
657661 let bY = value(assetInfo(J))
658662 if (if ((bY.issuer != d))
659663 then (bY.issuer != e)
660664 else false)
661665 then throw((("Unknown issuer of " + j) + " token"))
662666 else if (!(contains(bY.name, j)))
663667 then throw((("Only NFT " + j) + " tokens can be unstaked"))
664668 else {
665669 let bZ = L(toBase58String(J))
666670 if (!(isDefined(bZ)))
667671 then throw((("NFT " + bY.name) + " is not staked"))
668672 else if (!(isDefined(Q(cw))))
669673 then throw((("The duck " + bY.name) + " is not staked"))
670674 else {
671675 let cb = valueOrErrorMessage(getString(K(toBase58String(J))), (("NFT " + bY.name) + " is orphaned"))
672676 if ((cb != cw))
673677 then throw("Staked NFT is not yours")
674678 else [ScriptTransfer(aQ.caller, 1, J), DeleteEntry(bZ), DeleteEntry(W(cA)), DeleteEntry(K(cA)), DeleteEntry(R(j, cA, cw)), DeleteEntry(Q(cw))]
675679 }
676680 }
677681 }
678682
679683
680684
681685 @Callable(aQ)
682686 func claimRes (aW,cz) = if ((size(aQ.payments) != 0))
683687 then throw("claimRes doesn't require any payments")
684688 else {
685689 let bV = toString(aQ.originCaller)
686690 let aK = cd(bV, aW)
687691 $Tuple2((aK._1 :+ StringEntry(aK._2, makeString(aK._3, ":"))), aK._3[ah])
688692 }
689693
690694
691695
692696 @Callable(aQ)
693697 func flight (bs,bt) = if (!(sigVerify_8Kb(bs, bt, g)))
694698 then throw("signature does not match")
695699 else if ((size(aQ.payments) != 0))
696700 then throw("flight doesn't require any payments")
697701 else {
698702 let bu = split(toUtf8String(bs), ";")
699703 let bv = split(split(bu[0], "|")[0], "_")
700704 let bw = parseIntValue(bv[0])
701705 let bx = parseIntValue(bv[1])
702706 let cF = split(bu[1], ":")
703707 let cG = cF[0]
704708 let bA = parseIntValue(cF[1])
705709 if (if ((bA > (lastBlock.timestamp + o)))
706710 then true
707711 else ((lastBlock.timestamp - o) > bA))
708712 then throw("signature outdated")
709713 else {
710714 let V = valueOrErrorMessage(getString(Q(toString(aQ.caller))), "You don't have a duck staked")
711715 let bC = X(V)
712716 let bD = valueOrElse(getInteger(bC), 100)
713717 if ((bD != bw))
714718 then throw(((("oldHealth=" + toString(valueOrElse(getInteger(bC), 100))) + " from state does not match one from flight log=") + toString(bw)))
715719 else if ((0 >= bw))
716720 then throw("You can't fly with zero health")
717721 else {
718722 let cB = W(V)
719723 let bW = valueOrElse(getString(cB), k)
720724 if ((cG == bW))
721725 then throw("You can't fly to the same location")
722726 else $Tuple2([StringEntry(cB, if ((bx > 0))
723727 then cG
724728 else bW), IntegerEntry(bC, bx)], unit)
725729 }
726730 }
727731 }
728732
729733
730734
731735 @Callable(aQ)
732736 func setHealth (cD,V) = if (if ((0 > cD))
733737 then true
734738 else (cD > 100))
735739 then throw("HP should be within 0..100")
736740 else [IntegerEntry(X(V), cD)]
737741
738742
739743
740744 @Callable(aQ)
741745 func heal (cH,aW) = if (if ((0 > cH))
742746 then true
743747 else (cH >= l))
744748 then throw(("Unknown material: " + toString(cH)))
745749 else if ((0 >= aW))
746750 then throw(("Amount should be positive! " + toString(aW)))
747751 else {
748752 let V = valueOrErrorMessage(getString(Q(toString(aQ.caller))), "You don't have a duck staked")
749753 let bC = X(V)
750754 let cI = valueOrElse(getInteger(bC), 100)
751755 if ((cI >= 100))
752756 then throw("HP should be < 100 to heal")
753757 else {
754758 let bn = U(V)
755759 let bE = bm(bn)
756760 let bF = split(bE[ai], "_")
757761 let cJ = parseIntValue(bF[cH])
758762 let cK = min([(aW / h), (100 - cI)])
759763 let cL = (cK * h)
760764 if ((cL > cJ))
761765 then throw(((((("You need " + toString(cL)) + " of ") + B[cH]) + " to heal, but you backpack contains ") + toString(cJ)))
762766 else {
763767 let bG = aU(bF, cH, cL)
764768 [IntegerEntry(bC, (cI + cK)), StringEntry(bn, makeString([bE[ag], bE[ah], bG, bE[aj]], ":"))]
765769 }
766770 }
767771 }
768772
769773
770774
771775 @Callable(aQ)
772776 func updateBackpack (V,cM) = if ((aQ.caller != f))
773777 then throw("permission denied")
774778 else $Tuple2([StringEntry(U(V), cM)], cM)
775779
776780
777781
778782 @Callable(aQ)
779783 func expeditionBuy (bs,bt) = if ((size(aQ.payments) != 1))
780784 then throw("Exactly one payment required")
781785 else {
782786 let cv = value(aQ.payments[0])
783787 if ((cv.assetId != b))
784788 then throw("Allowed USDN payment only!")
785789 else if ((cv.amount != t))
786790 then throw(("Payment attached should be " + toString(t)))
787791 else bp(false, aQ.caller, aQ.transactionId, bs, bt)
788792 }
789793
790794
791795
792796 @Callable(aQ)
793797 func expedition (bs,bt) = if ((size(aQ.payments) != 0))
794798 then throw("expedition doesn't require any payments")
795799 else bp(true, aQ.caller, aQ.transactionId, bs, bt)
796800
797801
798802
799803 @Callable(aQ)
800804 func upgradeInfra (cN) = if ((size(aQ.payments) != 0))
801805 then throw("Infrastructure upgrade doesn't require any payments")
802806 else cm(true, aQ.caller, 0)
803807
804808
805809
806810 @Callable(aQ)
807811 func upgradeInfraUsdn (cN) = if ((size(aQ.payments) != 1))
808812 then throw("Exactly one payment required")
809813 else {
810814 let cv = value(aQ.payments[0])
811815 if ((cv.assetId != b))
812816 then throw("Allowed USDN payment only!")
813817 else cm(false, aQ.caller, cv.amount)
814818 }
815819
816820
817821
818822 @Callable(aQ)
819823 func activateArtifact (cO) = if ((size(aQ.payments) != 0))
820824 then throw("Artifact activation doesn't require any payments")
821825 else {
822826 let aK = {
823827 let c = cO
824828 if (("PRESALE" == c))
825829 then ct(toString(aQ.caller))
826830 else throw("Unknown artifact")
827831 }
828832 aK
829833 }
830834
831835

github/deemru/w8io/026f985 
179.08 ms