tx · 4eNK2nKeRnFW6PuNpn6GrwLa73KAcy2gcjJ4RdouAyZv

3N1Nb8gVFi3S4Cvt2sBZj7XPkPiWYqKdTfp:  -0.01900000 Waves

2024.10.03 12:23 [3310484] smart account 3N1Nb8gVFi3S4Cvt2sBZj7XPkPiWYqKdTfp > SELF 0.00000000 Waves

{ "type": 13, "id": "4eNK2nKeRnFW6PuNpn6GrwLa73KAcy2gcjJ4RdouAyZv", "fee": 1900000, "feeAssetId": null, "timestamp": 1727947450929, "version": 2, "chainId": 84, "sender": "3N1Nb8gVFi3S4Cvt2sBZj7XPkPiWYqKdTfp", "senderPublicKey": "8FVyd1UAAKDWDWsLPFgQp4THUXha3DRBmZ9ceTQMMzFk", "proofs": [ "58umFFd358pzZJFfYqvEXPhS5n3ULBfmUoC4X7otziacypa2vuCzWTQatyENk9m7UKjyzX7ndjyJ88ccM9cWTnZn" ], "script": "base64:BgIWCAISAwoBCBIDCgEIEgMKAQgSAwoBCC8BFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBBWFzSW50AQV2YWx1ZQQHJG1hdGNoMAUFdmFsdWUDCQABAgUHJG1hdGNoMAIDSW50BANpbnQFByRtYXRjaDAFA2ludAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkAAgEJAKwCAgIpUkFJOiB3cm9uZyB0eXBlLCBleHBlY3RlZDogSW50LCBidXQgZ290OiAFBnN0cmluZwkAAgECHlJBSTog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aXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BaQENZmluaXNoUmViaXJ0aAEGaW5pdFR4CQEVZmluaXNoUmViaXJ0aEludGVybmFsBAUGaW5pdFR4CQClCAEIBQFpBmNhbGxlcgkAkQMCCAUBaQhwYXltZW50cwAABwFpARNmaW5pc2hSZWJpcnRoRG91YmxlAQZpbml0VHgDCQEBIQEDCQAAAgkAkAMBCAUBaQhwYXltZW50cwACCQAAAggJAJEDAggFAWkIcGF5bWVudHMAAAZhbW91bnQAAQcJAAIBAg9JbnZhbGlkIHBheW1lbnQEB2Fzc2V0SWQJAQV2YWx1ZQEICQCRAwIIBQFpCHBheW1lbnRzAAAHYXNzZXRJZAQLYm9vc3RlclR5cGUJAQhhc1N0cmluZwEJAPwHBAkBD2dldEl0ZW1zQWRkcmVzcwACFGNoZWNrQXJ0ZWZhY3REZXRhaWxzCQDMCAIJANgEAQUHYXNzZXRJZAUDbmlsBQNuaWwDCQAAAgULYm9vc3RlclR5cGUFC2Jvb3N0ZXJUeXBlAwkAAAIFC2Jvb3N0ZXJUeXBlAg5BUlQtR0lGVF9ET1VCTAkAzggCCQDMCAIJAQRCdXJuAgUHYXNzZXRJZAABBQNuaWwJARVmaW5pc2hSZWJpcnRoSW50ZXJuYWwEBQZpbml0VHgJAKUIAQgFAWkGY2FsbGVyCQCRAwIIBQFpCHBheW1lbnRzAAEGCQACAQItRXJyb3IhIFdyb25nIGl0ZW0gYXR0YWNoZWQgdG8gZG91YmxlIHJld2FyZHMhCQACAQIkU3RyaWN0IHZhbHVlIGlzIG5vdCBlcXVhbCB0byBpdHNlbGYuAGNbbyk=", "height": 3310484, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9WBRPJvwWwNXTBp9k8ANYTRaxSxxiTmz3SyUeLW8kaZ3 Next: BKEj7jdrrE3NuCrEhHNewzpuoUR1Uo3jr1oxoBv8hkwv Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b,c) = {
55 let d = getString(b, c)
66 if ($isInstanceOf(d, "String"))
77 then {
88 let e = d
99 e
1010 }
1111 else ""
1212 }
1313
1414
1515 func f (c) = {
1616 let d = getInteger(this, c)
1717 if ($isInstanceOf(d, "Int"))
1818 then {
1919 let g = d
2020 g
2121 }
2222 else 0
2323 }
2424
2525
2626 func h (c) = a(this, c)
2727
2828
2929 func i (j) = {
3030 let d = j
3131 if ($isInstanceOf(d, "Int"))
3232 then {
3333 let k = d
3434 k
3535 }
3636 else if ($isInstanceOf(d, "String"))
3737 then {
3838 let l = d
3939 throw(("RAI: wrong type, expected: Int, but got: " + l))
4040 }
4141 else throw("RAI: wrong type, expected: Int")
4242 }
4343
4444
4545 func m (j) = {
4646 let d = j
4747 if ($isInstanceOf(d, "Boolean"))
4848 then {
4949 let n = d
5050 n
5151 }
5252 else throw("FAB: wrong type, expected: Boolean")
5353 }
5454
5555
5656 func o (j) = {
5757 let d = j
5858 if ($isInstanceOf(d, "String"))
5959 then {
6060 let p = d
6161 p
6262 }
6363 else if ($isInstanceOf(d, "Int"))
6464 then {
6565 let p = d
6666 throw("wrong type, expected: String, got: Int")
6767 }
6868 else if ($isInstanceOf(d, "Unit"))
6969 then {
7070 let p = d
7171 throw("wrong type, expected: String, got: Unit")
7272 }
7373 else throw("wrong type, expected: String")
7474 }
7575
7676
7777 func q () = "static_oracleAddress"
7878
7979
8080 func r () = "static_eggAssetId"
8181
8282
8383 func s () = "static_burnAddress"
8484
8585
8686 func t () = "static_extraFee"
8787
8888
8989 func u () = "static_feeAggregator"
9090
9191
9292 func v () = "static_turtleIncubatorAddress"
9393
9494
9595 func w () = "static_turtleBreederAddress"
9696
9797
9898 func x () = "static_spiceAssetId"
9999
100100
101101 func y () = "static_refContractAddress"
102102
103103
104104 func z () = "static_couponsAddress"
105105
106106
107107 func A () = "static_turtleStakingAddress"
108108
109109
110110 func B () = "static_farmingAddressNew"
111111
112112
113113 func C () = "static_incubatorAddress"
114114
115115
116116 func D () = "static_itemsAddress"
117117
118118
119119 func E () = "static_turtleSpiceRebirthPrice"
120120
121121
122122 func F () = "static_turtleWavesRebirthPrice"
123123
124124
125125 func G () = "static_turtleEggRebirthPrice"
126126
127127
128128 func H () = Address(fromBase58String(h(q())))
129129
130130
131131 func I () = fromBase58String(a(H(), r()))
132132
133133
134134 func J () = Address(fromBase58String(a(H(), s())))
135135
136136
137137 func K () = Address(fromBase58String(a(H(), u())))
138138
139139
140140 func L () = Address(fromBase58String(a(H(), w())))
141141
142142
143143 func M () = Address(fromBase58String(a(H(), v())))
144144
145145
146146 func N () = fromBase58String(a(H(), x()))
147147
148148
149149 func O () = Address(fromBase58String(a(H(), y())))
150150
151151
152152 func P () = Address(fromBase58String(a(H(), z())))
153153
154154
155155 func Q () = Address(fromBase58String(a(H(), A())))
156156
157157
158158 func R () = Address(fromBase58String(a(H(), B())))
159159
160160
161161 func S () = Address(fromBase58String(a(H(), C())))
162162
163163
164164 func T () = Address(fromBase58String(a(H(), D())))
165165
166166
167167 func U (b,c) = {
168168 let d = getInteger(b, c)
169169 if ($isInstanceOf(d, "Int"))
170170 then {
171171 let g = d
172172 g
173173 }
174174 else throw("TR: Value not found in sc!")
175175 }
176176
177177
178178 let V = U(H(), E())
179179
180180 let W = U(H(), G())
181181
182182 let X = U(H(), F())
183183
184184 let Y = 2
185185
186186 func Z (aa) = if (if ((value(assetInfo(aa)).issuer == L()))
187187 then true
188188 else (value(assetInfo(aa)).issuer == M()))
189189 then true
190190 else throw("not valid NFT")
191191
192192
193193 func ab (ac) = if (isDefined(ac.assetId))
194194 then throw("RCAP: Please attach waves")
195195 else {
196196 let ad = getIntegerValue(H(), t())
197197 if ((ac.amount != ad))
198198 then throw((("RCAP: Please attach exactly " + toString(ad)) + " amount of wavelets"))
199199 else [ScriptTransfer(K(), ad, unit)]
200200 }
201201
202202
203203 func ae (af,ag,ah,ai) = {
204204 let aj = value(blockInfoByHeight((ah - 1)))
205205 let ak = sha256((ag + value(aj.vrf)))
206206 (toInt(ak, (ai * 8)) % af)
207207 }
208208
209209
210210 func al (c) = {
211211 let d = getBoolean(c)
212212 if ($isInstanceOf(d, "Boolean"))
213213 then {
214214 let g = d
215215 g
216216 }
217217 else false
218218 }
219219
220220
221221 func am (an,ao) = {
222222 let ap = al("JACKPOT_ENABLED")
223223 let aq = ae(300, an, ao, 1)
224224 if (if ((aq == 1))
225225 then ap
226226 else false)
227227 then $Tuple2(aq, "jackpot")
228228 else {
229229 let ar = ae(1000, an, ao, 0)
230230 let as = if ((40 > ar))
231231 then "item!ART-FIRE_SHIELD"
232232 else if ((80 > ar))
233233 then "item!ART-FIRE_TAIL"
234234 else if ((100 > ar))
235235 then "item!ART-FREEGENE"
236236 else if ((150 > ar))
237237 then "beach_R"
238238 else if ((200 > ar))
239239 then "beach_S"
240240 else if ((250 > ar))
241241 then "beach_G"
242242 else if ((300 > ar))
243243 then "beach_D"
244244 else if ((380 > ar))
245245 then "item!ART-MUTARIUM-G"
246246 else if ((400 > ar))
247247 then "item!ART-FEED5"
248248 else if ((600 > ar))
249249 then "item!ART-FEED10"
250250 else if ((620 > ar))
251251 then "item!ART-FEED15"
252252 else if ((640 > ar))
253253 then "item!ART-FEED20"
254254 else if ((660 > ar))
255255 then "item!ART-FEED25"
256256 else if ((680 > ar))
257257 then "item!ART-FEED50"
258258 else if ((760 > ar))
259259 then "item!ART-FEED100"
260260 else if ((780 > ar))
261261 then "perch_G"
262262 else if ((800 > ar))
263263 then "perch_Y"
264264 else if ((820 > ar))
265265 then "perch_R"
266266 else if ((840 > ar))
267267 then "perch_B"
268268 else if ((880 > ar))
269269 then "item!ART-MUTARIUM-D"
270270 else if ((940 > ar))
271271 then "incubator"
272272 else "duck_incubator"
273273 $Tuple2(ar, as)
274274 }
275275 }
276276
277277
278278 func at (au,b,av,aw) = {
279279 let ax = f((((("address_" + b) + "_initTx_") + au) + "_finishBlock"))
280280 let ay = h((((("address_" + b) + "_initTx_") + au) + "_status"))
281281 let az = ab(av)
282282 if ((az == az))
283283 then {
284284 let aA = invoke(P(), "recordAction", ["REBIRTHTURTLE"], nil)
285285 if ((aA == aA))
286286 then if ((ay != "open"))
287287 then throw("rebirth is finished or not open")
288288 else if ((ax > height))
289289 then throw("you cannot finish rebirth, yet")
290290 else {
291291 let aB = am(fromBase58String(au), ax)
292292 let aC = aB._2
293293 let aD = aB._1
294294 let ag = au
295295 let as = if ((indexOf(aC, "perch") != unit))
296296 then {
297297 let aE = takeRight(aC, 1)
298298 let aF = if (!(aw))
299299 then {
300300 let aG = invoke(R(), "addFreePerch", [b, aE, 1], nil)
301301 if ((aG == aG))
302302 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG))]
303303 else throw("Strict value is not equal to itself.")
304304 }
305305 else {
306306 let aG = invoke(R(), "addFreePerch", [b, aE, 2], nil)
307307 if ((aG == aG))
308308 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_result1"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_win1"), aC)]
309309 else throw("Strict value is not equal to itself.")
310310 }
311311 if ((aF == aF))
312312 then aF
313313 else throw("Strict value is not equal to itself.")
314314 }
315315 else if ((indexOf(aC, "beach") != unit))
316316 then {
317317 let aE = takeRight(aC, 1)
318318 let aF = if (!(aw))
319319 then {
320320 let aG = invoke(Q(), "addFreeBeach", [b, aE], nil)
321321 if ((aG == aG))
322322 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG))]
323323 else throw("Strict value is not equal to itself.")
324324 }
325325 else {
326326 let aG = invoke(Q(), "addFreeBeach", [b, aE], nil)
327327 if ((aG == aG))
328328 then {
329329 let aH = invoke(Q(), "addFreeBeach", [b, aE], nil)
330330 if ((aH == aH))
331331 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_result1"), o(aH)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_win1"), aC)]
332332 else throw("Strict value is not equal to itself.")
333333 }
334334 else throw("Strict value is not equal to itself.")
335335 }
336336 if ((aF == aF))
337337 then aF
338338 else throw("Strict value is not equal to itself.")
339339 }
340340 else if ((aC == "jackpot"))
341341 then {
342342 let aF = invoke(M(), "issueJackpot", [b, ag, valueOrElse(getString("JACKPOT_NAME"), "WWWWXMAS")], nil)
343343 if ((aF == aF))
344344 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aF))]
345345 else throw("Strict value is not equal to itself.")
346346 }
347347 else if ((aC == "incubator"))
348348 then {
349349 let aF = if (!(aw))
350350 then {
351351 let aG = invoke(M(), "issueFreeTurtle", [b, ag], nil)
352352 if ((aG == aG))
353353 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG))]
354354 else throw("Strict value is not equal to itself.")
355355 }
356356 else {
357357 let aG = invoke(M(), "issueFreeTurtle", [b, ag], nil)
358358 if ((aG == aG))
359359 then {
360360 let aH = invoke(S(), "issueFreeDuckDefinedGenes", [b, ag, "ZZZZZZZZ"], nil)
361361 if ((aH == aH))
362362 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_result1"), o(aH)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_win1"), "duck_incubator")]
363363 else throw("Strict value is not equal to itself.")
364364 }
365365 else throw("Strict value is not equal to itself.")
366366 }
367367 if ((aF == aF))
368368 then aF
369369 else throw("Strict value is not equal to itself.")
370370 }
371371 else if ((aC == "duck_incubator"))
372372 then {
373373 let aF = if (!(aw))
374374 then {
375375 let aG = invoke(S(), "issueFreeDuckDefinedGenes", [b, ag, "ZZZZZZZZ"], nil)
376376 if ((aG == aG))
377377 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG))]
378378 else throw("Strict value is not equal to itself.")
379379 }
380380 else {
381381 let aG = invoke(S(), "issueFreeDuckDefinedGenes", [b, ag, "ZZZZZZZZ"], nil)
382382 if ((aG == aG))
383383 then {
384384 let aH = invoke(M(), "issueFreeTurtle", [b, ag], nil)
385385 if ((aH == aH))
386386 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_result1"), o(aH)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_win1"), "incubator")]
387387 else throw("Strict value is not equal to itself.")
388388 }
389389 else throw("Strict value is not equal to itself.")
390390 }
391391 if ((aF == aF))
392392 then aF
393393 else throw("Strict value is not equal to itself.")
394394 }
395395 else if ((indexOf(aC, "item") != unit))
396396 then {
397397 let aI = split(aC, "!")[1]
398398 let aF = if (!(aw))
399399 then {
400400 let aG = invoke(T(), "issueArtefactIndex", [aI, b, 0], nil)
401401 if ((aG == aG))
402402 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG))]
403403 else throw("Strict value is not equal to itself.")
404404 }
405405 else {
406406 let aG = invoke(T(), "issueArtefactIndex", [aI, b, 0], nil)
407407 if ((aG == aG))
408408 then {
409409 let aH = invoke(T(), "issueArtefactIndex", [aI, b, 1], nil)
410410 if ((aH == aH))
411411 then [StringEntry((((("address_" + b) + "_initTx_") + au) + "_result"), o(aG)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_result1"), o(aH)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_win1"), aC)]
412412 else throw("Strict value is not equal to itself.")
413413 }
414414 else throw("Strict value is not equal to itself.")
415415 }
416416 if ((aF == aF))
417417 then aF
418418 else throw("Strict value is not equal to itself.")
419419 }
420420 else throw("RFB: Some error occured, please contact the admins!")
421421 ((as ++ [StringEntry((((("address_" + b) + "_initTx_") + au) + "_win"), aC), StringEntry((((("address_" + b) + "_initTx_") + au) + "_status"), "finish"), IntegerEntry((((("address_" + b) + "_initTx_") + au) + "_random"), aD)]) ++ az)
422422 }
423423 else throw("Strict value is not equal to itself.")
424424 }
425425 else throw("Strict value is not equal to itself.")
426426 }
427427
428428
429429 @Callable(aJ)
430430 func configureOracle (aK) = if ((aJ.caller != this))
431431 then throw("RCU: admin only")
432432 else [StringEntry("static_oracleAddress", aK)]
433433
434434
435435
436436 @Callable(aJ)
437437 func initRebirth (aL) = {
438438 let aM = aJ.payments[0]
439439 let aN = aJ.payments[1]
440440 let aO = aJ.payments[2]
441441 let aa = value(aM.assetId)
442442 let au = toBase58String(aJ.transactionId)
443443 let b = toString(aJ.caller)
444444 if ((aM.amount != 1))
445445 then throw("NFT is not attached")
446446 else if (if ((aN.amount != X))
447447 then true
448448 else (aN.assetId != unit))
449449 then throw("Wavespayment is not attached or wrong!")
450450 else if (if ((aO.amount != V))
451451 then true
452452 else (aO.assetId != N()))
453453 then throw("SpicePayment is not attached or wrong!")
454454 else {
455455 let aP = i(invoke(P(), "useCoupons", [W], nil))
456456 if ((aP == aP))
457457 then {
458458 let aQ = (W - aP)
459459 let aR = invoke(Q(), "topUpReward", nil, [AttachedPayment(N(), aO.amount)])
460460 if ((aR == aR))
461461 then {
462462 let ac = if ((aQ != 0))
463463 then {
464464 let aS = aJ.payments[3]
465465 let aT = value(aS)
466466 if ((aT.assetId != I()))
467467 then throw("You need to attach EGG tokens as fee")
468468 else if ((aT.amount != aQ))
469469 then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aQ)))
470470 else {
471471 let aU = fraction(aQ, 5, 100)
472472 let aV = m(invoke(O(), "refPayment", [aL], [AttachedPayment(I(), aU)]))
473473 if ((aV == aV))
474474 then {
475475 let aW = if (aV)
476476 then (aQ - aU)
477477 else aQ
478478 let aX = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(I(), aW)])
479479 if ((aX == aX))
480480 then aQ
481481 else throw("Strict value is not equal to itself.")
482482 }
483483 else throw("Strict value is not equal to itself.")
484484 }
485485 }
486486 else 0
487487 if ((ac == ac))
488488 then {
489489 let aY = Z(aa)
490490 if ((aY == aY))
491491 then [IntegerEntry((((("address_" + b) + "_initTx_") + au) + "_finishBlock"), (height + Y)), StringEntry((((("address_" + b) + "_initTx_") + au) + "_status"), "open"), StringEntry((((("address_" + b) + "_initTx_") + au) + "_assetId"), toBase58String(aa)), ScriptTransfer(K(), aN.amount, unit)]
492492 else throw("Strict value is not equal to itself.")
493493 }
494494 else throw("Strict value is not equal to itself.")
495495 }
496496 else throw("Strict value is not equal to itself.")
497497 }
498498 else throw("Strict value is not equal to itself.")
499499 }
500500 }
501501
502502
503503
504504 @Callable(aJ)
505505 func finishRebirth (au) = at(au, toString(aJ.caller), aJ.payments[0], false)
506506
507507
508508
509509 @Callable(aJ)
510510 func finishRebirthDouble (au) = if (!(if ((size(aJ.payments) == 2))
511511 then (aJ.payments[0].amount == 1)
512512 else false))
513513 then throw("Invalid payment")
514514 else {
515515 let aa = value(aJ.payments[0].assetId)
516516 let aZ = o(invoke(T(), "checkArtefactDetails", [toBase58String(aa)], nil))
517517 if ((aZ == aZ))
518518 then if ((aZ == "ART-GIFT_DOUBL"))
519519 then ([Burn(aa, 1)] ++ at(au, toString(aJ.caller), aJ.payments[1], true))
520520 else throw("Error! Wrong item attached to double rewards!")
521521 else throw("Strict value is not equal to itself.")
522522 }
523523
524524

github/deemru/w8io/026f985 
44.64 ms