tx · FuedH1Ww8sf6vetM9UNFy2mwvYmJZQYQTTGeZQa8fp2i

3Mw8EHDvHCbzm6VE777G6EJNQBEe6CeS335:  -0.01800000 Waves

2024.12.02 18:20 [3397207] smart account 3Mw8EHDvHCbzm6VE777G6EJNQBEe6CeS335 > SELF 0.00000000 Waves

{ "type": 13, "id": "FuedH1Ww8sf6vetM9UNFy2mwvYmJZQYQTTGeZQa8fp2i", "fee": 1800000, "feeAssetId": null, "timestamp": 1733152855184, "version": 2, "chainId": 84, "sender": "3Mw8EHDvHCbzm6VE777G6EJNQBEe6CeS335", "senderPublicKey": "4f2Ggz6CqZhqr3FaW8dzR6KoddCudvULpuUfh7ew3Yne", "proofs": [ "4orRqf3zJ9QxBzLqfQLYnufh5rcvDUhCx7WuTy9Szwc4wWXvNBb6A6WQmfnoLoqh97bULs8LGHZawakCR6zsUgQS" ], "script": "base64:BgIZCAISAwoBCBIAEgMKAQgSAwoBCBIECgIICCoBFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABDXRyeUdldEludGVnZXIBA2tleQQHJG1hdGNoMAkAmggCBQR0aGlzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFiBQckbWF0Y2gwBQFiAAABDHRyeUdldFN0cmluZwEDa2V5CQEUdHJ5R2V0U3RyaW5nRXh0ZXJuYWwCBQR0aGlzBQNrZXkBBWFzSW50AQV2YWx1ZQQHJG1hdGNoMAUFdmFsdWUDCQABAgUHJG1hdGNoMAIDSW50BANpbnQFByRtYXRjaDAFA2ludAMJAAECBQckbWF0Y2gwAgZTdHJpbmcEBnN0cmluZwUHJG1hdGNoMAkAAgEJAKwCAgIpUkFJOiB3cm9uZyB0eXBlLCBleHBlY3RlZDogSW50LCBidXQgZ290OiAFBnN0cmluZwkAAgECHlJBSTogd3Jvbmcgd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90aGlyZFVzZXJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAEFCXRoaXJkVXNlcgABAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAgUJdGhpcmRVc2VyAAEAAAQPc2lnbmF0dXJlc0NvdW50CQBkAgkAZAIFD2ZpcnN0VXNlclNpZ25lZAUQc2Vjb25kVXNlclNpZ25lZAUPdGhpcmRVc2VyU2lnbmVkBAckbWF0Y2gwBQJ0eAkAZwIFD3NpZ25hdHVyZXNDb3VudAABhk67vQ==", "height": 3397207, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AQ4Mo3otUKzLxveu61ZyyEUcyjuodbu4hKtUNiX1bnWi Next: none Diff:
OldNewDifferences
211211
212212
213213 func ag (ah,ai,aj) = {
214- let ak = Y(200, ah, ai, 1)
215- if ((ak == 1))
216- then $Tuple2(ak, "jackpot")
217- else {
218- let al = Y(1000, ah, ai, 0)
219- let am = if (if ((100 > al))
220- then (aj != "docking_A")
221- else false)
222- then "docking_A"
223- else if (if ((200 > al))
224- then (aj != "docking_B")
225- else false)
226- then "docking_B"
227- else if (if ((300 > al))
228- then (aj != "docking_C")
229- else false)
230- then "docking_C"
231- else if (if ((400 > al))
232- then (aj != "docking_D")
233- else false)
234- then "docking_D"
235- else if (if ((450 > al))
236- then (aj != "incubator")
237- else false)
238- then "incubator"
239- else if (if ((490 > al))
240- then (aj != "duckling_40")
241- else false)
242- then "duckling_40"
243- else if (if ((540 > al))
244- then (aj != "duckling_20")
245- else false)
246- then "duckling_20"
247- else if (if ((640 > al))
248- then (aj != "item!ART-FEED5")
249- else false)
250- then "item!ART-FEED5"
251- else if (if ((710 > al))
252- then (aj != "item!ART-FEED10")
253- else false)
254- then "item!ART-FEED10"
255- else if (if ((740 > al))
256- then (aj != "item!ART-FEED15")
257- else false)
258- then "item!ART-FEED15"
259- else if (if ((770 > al))
260- then (aj != "item!ART-FEED20")
261- else false)
262- then "item!ART-FEED20"
263- else if (if ((790 > al))
264- then (aj != "item!ART-FEED25")
265- else false)
266- then "item!ART-FEED25"
267- else if (if ((810 > al))
268- then (aj != "item!ART-FEED50")
269- else false)
270- then "item!ART-FEED50"
271- else if (if ((830 > al))
272- then (aj != "item!ART-FEED100")
273- else false)
274- then "item!ART-FEED100"
275- else if (if ((860 > al))
276- then (aj != "item!ART-MUTARIUM-G")
277- else false)
278- then "item!ART-MUTARIUM-G"
279- else if (if ((890 > al))
280- then (aj != "item!ART-MUTARIUM-D")
281- else false)
282- then "item!ART-MUTARIUM-D"
283- else if (if ((910 > al))
284- then (aj != "item!ART-FREEGENE")
285- else false)
286- then "item!ART-FREEGENE"
287- else if (if ((930 > al))
288- then (aj != "item!ART-FIXGENE")
289- else false)
290- then "item!ART-FIXGENE"
291- else if (if ((980 > al))
292- then (aj != "trtl_incubator")
293- else false)
294- then "trtl_incubator"
295- else "item!ART-POTION"
296- $Tuple2(al, am)
297- }
214+ let ak = Y(1000, ah, ai, 0)
215+ let al = "jackpot"
216+ $Tuple2(ak, al)
298217 }
299218
300219
301-func an (ah,ai) = {
302- let al = Y(2, ah, ai, 1)
303- if ((al == 0))
220+func am (ah,ai) = {
221+ let ak = Y(2, ah, ai, 1)
222+ if ((ak == 0))
304223 then true
305224 else false
306225 }
307226
308227
309-func ao (ap,b,aq,ar,aj,as) = {
310- let at = f((((("address_" + b) + "_initTx_") + ap) + "_finishBlock"))
311- let au = h((((("address_" + b) + "_initTx_") + ap) + "_status"))
312- let av = V(aq)
313- if ((av == av))
314- then if ((au != "open"))
228+func an (ao,b,ap,aq,aj,ar) = {
229+ let as = f((((("address_" + b) + "_initTx_") + ao) + "_finishBlock"))
230+ let at = h((((("address_" + b) + "_initTx_") + ao) + "_status"))
231+ let au = V(ap)
232+ if ((au == au))
233+ then if ((at != "open"))
315234 then throw("rebirth is finished or not open")
316- else if ((at > height))
235+ else if ((as > height))
317236 then throw("you cannot finish rebirth, yet")
318237 else {
319- let aw = ag(fromBase58String(ap), at, aj)
320- let ax = aw._2
321- let ay = aw._1
322- let aa = ap
323- let am = if ((indexOf(ax, "docking") != unit))
238+ let av = ag(fromBase58String(ao), as, aj)
239+ let aw = av._2
240+ let ax = av._1
241+ let aa = ao
242+ let al = if ((indexOf(aw, "docking") != unit))
324243 then {
325- let az = takeRight(ax, 1)
326- let aA = if (!(ar))
244+ let ay = takeRight(aw, 1)
245+ let az = if (!(aq))
327246 then {
328- let aB = invoke(K(), "addFreePerch", [b, az, 1], nil)
329- if ((aB == aB))
330- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
247+ let aA = invoke(K(), "addFreePerch", [b, ay, 1], nil)
248+ if ((aA == aA))
249+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
331250 else throw("Strict value is not equal to itself.")
332251 }
333252 else {
334- let aB = invoke(K(), "addFreePerch", [b, az, 2], nil)
335- if ((aB == aB))
336- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), ax)]
253+ let aA = invoke(K(), "addFreePerch", [b, ay, 2], nil)
254+ if ((aA == aA))
255+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), aw)]
337256 else throw("Strict value is not equal to itself.")
338257 }
339- if ((aA == aA))
340- then aA
258+ if ((az == az))
259+ then az
341260 else throw("Strict value is not equal to itself.")
342261 }
343- else if ((ax == "jackpot"))
262+ else if ((aw == "jackpot"))
344263 then {
345- let aA = invoke(I(), "issueJackpot", [b, aa, "WWWWHWTF"], nil)
346- if ((aA == aA))
347- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aA))]
264+ let az = invoke(I(), "issueJackpot", [b, aa, "WWWWHWTF"], nil)
265+ if ((az == az))
266+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(az))]
348267 else throw("Strict value is not equal to itself.")
349268 }
350- else if ((ax == "incubator"))
269+ else if ((aw == "incubator"))
351270 then {
352- let aA = if (!(ar))
271+ let az = if (!(aq))
353272 then {
354- let aB = invoke(I(), "issueFree", [b, aa], nil)
355- if ((aB == aB))
356- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
273+ let aA = invoke(I(), "issueFree", [b, aa], nil)
274+ if ((aA == aA))
275+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
357276 else throw("Strict value is not equal to itself.")
358277 }
359278 else {
360- let aB = invoke(I(), "issueFree", [b, aa], nil)
361- if ((aB == aB))
279+ let aA = invoke(I(), "issueFree", [b, aa], nil)
280+ if ((aA == aA))
362281 then {
363- let aC = invoke(O(), "issueFreeTurtle", [b, aa], nil)
364- if ((aC == aC))
365- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), "incubator")]
282+ let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
283+ if ((aB == aB))
284+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), "incubator")]
366285 else throw("Strict value is not equal to itself.")
367286 }
368287 else throw("Strict value is not equal to itself.")
369288 }
370- if ((aA == aA))
371- then aA
289+ if ((az == az))
290+ then az
372291 else throw("Strict value is not equal to itself.")
373292 }
374- else if ((indexOf(ax, "duckling") != unit))
293+ else if ((indexOf(aw, "duckling") != unit))
375294 then {
376- let aD = parseIntValue(split(ax, "_")[1])
377- let aE = if (ar)
378- then (2 * aD)
379- else aD
380- let aA = invoke(P(), "issueFreeDuckling", [b, aa, aE], nil)
381- if ((aA == aA))
382- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aA))]
295+ let aC = parseIntValue(split(aw, "_")[1])
296+ let aD = if (aq)
297+ then (2 * aC)
298+ else aC
299+ let az = invoke(P(), "issueFreeDuckling", [b, aa, aD], nil)
300+ if ((az == az))
301+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(az))]
383302 else throw("Strict value is not equal to itself.")
384303 }
385- else if ((ax == "trtl_incubator"))
304+ else if ((aw == "trtl_incubator"))
386305 then {
387- let aA = if (!(ar))
306+ let az = if (!(aq))
388307 then {
389- let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
390- if ((aB == aB))
391- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
308+ let aA = invoke(O(), "issueFreeTurtle", [b, aa], nil)
309+ if ((aA == aA))
310+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
392311 else throw("Strict value is not equal to itself.")
393312 }
394313 else {
395- let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
396- if ((aB == aB))
314+ let aA = invoke(O(), "issueFreeTurtle", [b, aa], nil)
315+ if ((aA == aA))
397316 then {
398- let aC = invoke(I(), "issueFree", [b, aa], nil)
399- if ((aC == aC))
400- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), "trtl_incubator")]
317+ let aB = invoke(I(), "issueFree", [b, aa], nil)
318+ if ((aB == aB))
319+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), "trtl_incubator")]
401320 else throw("Strict value is not equal to itself.")
402321 }
403322 else throw("Strict value is not equal to itself.")
404323 }
405- if ((aA == aA))
406- then aA
324+ if ((az == az))
325+ then az
407326 else throw("Strict value is not equal to itself.")
408327 }
409- else if ((indexOf(ax, "item") != unit))
328+ else if ((indexOf(aw, "item") != unit))
410329 then {
411- let aF = split(ax, "!")[1]
412- let aA = if (!(ar))
330+ let aE = split(aw, "!")[1]
331+ let az = if (!(aq))
413332 then {
414- let aB = invoke(N(), "issueArtefactIndex", [aF, b, 0], nil)
415- if ((aB == aB))
416- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
333+ let aA = invoke(N(), "issueArtefactIndex", [aE, b, 0], nil)
334+ if ((aA == aA))
335+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
417336 else throw("Strict value is not equal to itself.")
418337 }
419338 else {
420- let aB = invoke(N(), "issueArtefactIndex", [aF, b, 0], nil)
421- if ((aB == aB))
339+ let aA = invoke(N(), "issueArtefactIndex", [aE, b, 0], nil)
340+ if ((aA == aA))
422341 then {
423- let aC = invoke(N(), "issueArtefactIndex", [aF, b, 1], nil)
424- if ((aC == aC))
425- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), ax)]
342+ let aB = invoke(N(), "issueArtefactIndex", [aE, b, 1], nil)
343+ if ((aB == aB))
344+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), aw)]
426345 else throw("Strict value is not equal to itself.")
427346 }
428347 else throw("Strict value is not equal to itself.")
429348 }
430- if ((aA == aA))
431- then aA
349+ if ((az == az))
350+ then az
432351 else throw("Strict value is not equal to itself.")
433352 }
434- else throw(("RFB: Some error occured, please contact the admins! " + ax))
435- if ((am == am))
353+ else throw(("RFB: Some error occured, please contact the admins! " + aw))
354+ if ((al == al))
436355 then {
437- let aG = if (as)
438- then an(fromBase58String(ap), at)
356+ let aF = if (ar)
357+ then am(fromBase58String(ao), as)
439358 else false
440- let aH = if (aG)
359+ let aG = if (aF)
441360 then {
442- let U = fromBase58String(getStringValue((((("address_" + b) + "_initTx_") + ap) + "_assetId")))
443- let aI = T(U)
444- let aJ = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
445- if ((aJ == aJ))
361+ let U = fromBase58String(getStringValue((((("address_" + b) + "_initTx_") + ao) + "_assetId")))
362+ let aH = T(U)
363+ let aI = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
364+ if ((aI == aI))
446365 then {
447- let aA = invoke(aI, "increaseRarity", [toBase58String(U), aJ], nil)
448- if ((aA == aA))
366+ let az = invoke(aH, "increaseRarity", [toBase58String(U), aI], nil)
367+ if ((az == az))
449368 then [ScriptTransfer(addressFromStringValue(b), 1, U)]
450369 else throw("Strict value is not equal to itself.")
451370 }
452371 else throw("Strict value is not equal to itself.")
453372 }
454373 else nil
455- (((am ++ [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win"), ax), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_status"), "finish"), IntegerEntry((((("address_" + b) + "_initTx_") + ap) + "_random"), ay)]) ++ av) ++ aH)
374+ (((al ++ [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win"), aw), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_status"), "finish"), IntegerEntry((((("address_" + b) + "_initTx_") + ao) + "_random"), ax)]) ++ au) ++ aG)
456375 }
457376 else throw("Strict value is not equal to itself.")
458377 }
460379 }
461380
462381
463-@Callable(aK)
464-func configureOracle (aL) = if ((aK.caller != this))
382+@Callable(aJ)
383+func configureOracle (aK) = if ((aJ.caller != this))
465384 then throw("RCU: admin only")
466- else [StringEntry("static_oracleAddress", aL)]
385+ else [StringEntry("static_oracleAddress", aK)]
467386
468387
469388
470-@Callable(aK)
389+@Callable(aJ)
471390 func initRebirth () = {
472- let aM = aK.payments[0]
473- let aN = aK.payments[1]
474- let U = value(aM.assetId)
475- let ap = toBase58String(aK.transactionId)
476- let b = toString(aK.caller)
477- if ((aM.amount != 1))
391+ let aL = aJ.payments[0]
392+ let aM = aJ.payments[1]
393+ let U = value(aL.assetId)
394+ let ao = toBase58String(aJ.transactionId)
395+ let b = toString(aJ.caller)
396+ if ((aL.amount != 1))
478397 then throw("NFT is not attached")
479- else if (if ((aN.amount != R))
398+ else if (if ((aM.amount != R))
480399 then true
481- else (aN.assetId != unit))
400+ else (aM.assetId != unit))
482401 then throw("Wavespayment is not attached or wrong!")
483402 else {
484- let aO = (aN.amount / 4)
485- let aP = (aN.amount - aO)
486- let aQ = invoke(K(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, aP)])
487- if ((aQ == aQ))
403+ let aN = (aM.amount / 4)
404+ let aO = (aM.amount - aN)
405+ let aP = invoke(K(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, aO)])
406+ if ((aP == aP))
488407 then {
489- let aI = T(U)
490- let aJ = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
491- if ((aJ == aJ))
408+ let aH = T(U)
409+ let aI = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
410+ if ((aI == aI))
492411 then {
493- let aA = invoke(aI, "reduceRarity", [toBase58String(U), aJ], nil)
494- if ((aA == aA))
495- then [IntegerEntry((((("address_" + b) + "_initTx_") + ap) + "_finishBlock"), (height + S)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_status"), "open"), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_assetId"), toBase58String(U)), ScriptTransfer(G(), aO, unit)]
412+ let az = invoke(aH, "reduceRarity", [toBase58String(U), aI], nil)
413+ if ((az == az))
414+ then [IntegerEntry((((("address_" + b) + "_initTx_") + ao) + "_finishBlock"), (height + S)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_status"), "open"), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_assetId"), toBase58String(U)), ScriptTransfer(G(), aN, unit)]
496415 else throw("Strict value is not equal to itself.")
497416 }
498417 else throw("Strict value is not equal to itself.")
503422
504423
505424
506-@Callable(aK)
507-func finishRebirth (ap) = ao(ap, toString(aK.caller), aK.payments[0], false, "", false)
425+@Callable(aJ)
426+func finishRebirth (ao) = an(ao, toString(aJ.caller), aJ.payments[0], false, "", false)
508427
509428
510429
511-@Callable(aK)
512-func finishRebirthDouble (ap) = if (!(if ((size(aK.payments) == 2))
513- then (aK.payments[0].amount == 1)
430+@Callable(aJ)
431+func finishRebirthDouble (ao) = if (!(if ((size(aJ.payments) == 2))
432+ then (aJ.payments[0].amount == 1)
514433 else false))
515434 then throw("Invalid payment")
516435 else {
517- let U = value(aK.payments[0].assetId)
518- let aR = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
519- if ((aR == aR))
520- then if ((aR == "ART-GIFT_DOUBL"))
521- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], true, "", false))
436+ let U = value(aJ.payments[0].assetId)
437+ let aQ = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
438+ if ((aQ == aQ))
439+ then if ((aQ == "ART-GIFT_DOUBL"))
440+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], true, "", false))
522441 else throw("Error! Wrong item attached to double rewards!")
523442 else throw("Strict value is not equal to itself.")
524443 }
525444
526445
527446
528-@Callable(aK)
529-func finishRebirthItem (ap,aS) = if (if ((size(aK.payments) == 2))
530- then (aK.payments[0].amount == 1)
447+@Callable(aJ)
448+func finishRebirthItem (ao,aR) = if (if ((size(aJ.payments) == 2))
449+ then (aJ.payments[0].amount == 1)
531450 else false)
532451 then {
533- let U = value(aK.payments[0].assetId)
534- let aR = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
535- if ((aR == aR))
536- then if ((aR == "ART-HWERASE"))
537- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], false, aS, false))
538- else if ((aR == "ART-HWRESCUE"))
539- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], false, "", true))
540- else if ((aR == "ART-GIFT_DOUBL"))
541- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], true, "", false))
452+ let U = value(aJ.payments[0].assetId)
453+ let aQ = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
454+ if ((aQ == aQ))
455+ then if ((aQ == "ART-HWERASE"))
456+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], false, aR, false))
457+ else if ((aQ == "ART-HWRESCUE"))
458+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], false, "", true))
459+ else if ((aQ == "ART-GIFT_DOUBL"))
460+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], true, "", false))
542461 else throw("Error! Wrong item attached ")
543462 else throw("Strict value is not equal to itself.")
544463 }
545- else if ((size(aK.payments) == 1))
546- then ao(ap, toString(aK.caller), aK.payments[0], false, "", false)
464+ else if ((size(aJ.payments) == 1))
465+ then an(ao, toString(aJ.caller), aJ.payments[0], false, "", false)
547466 else throw("Invalid payments")
548467
549468
550469 @Verifier(ah)
551-func aT () = if (r())
470+func aS () = if (r())
552471 then sigVerify(ah.bodyBytes, ah.proofs[0], ah.senderPublicKey)
553472 else {
554- let aU = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
555- let aV = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
556- let aW = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
473+ let aT = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
474+ let aU = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
475+ let aV = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
476+ let aW = if (sigVerify(ah.bodyBytes, ah.proofs[0], aT))
477+ then 1
478+ else if (sigVerify(ah.bodyBytes, ah.proofs[1], aT))
479+ then 1
480+ else if (sigVerify(ah.bodyBytes, ah.proofs[2], aT))
481+ then 1
482+ else 0
557483 let aX = if (sigVerify(ah.bodyBytes, ah.proofs[0], aU))
558484 then 1
559485 else if (sigVerify(ah.bodyBytes, ah.proofs[1], aU))
568494 else if (sigVerify(ah.bodyBytes, ah.proofs[2], aV))
569495 then 1
570496 else 0
571- let aZ = if (sigVerify(ah.bodyBytes, ah.proofs[0], aW))
572- then 1
573- else if (sigVerify(ah.bodyBytes, ah.proofs[1], aW))
574- then 1
575- else if (sigVerify(ah.bodyBytes, ah.proofs[2], aW))
576- then 1
577- else 0
578- let ba = ((aX + aY) + aZ)
497+ let aZ = ((aW + aX) + aY)
579498 let d = ah
580- (ba >= 2)
499+ (aZ >= 1)
581500 }
582501
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 (c) = {
5757 let d = getBoolean(this, c)
5858 if ($isInstanceOf(d, "Boolean"))
5959 then {
6060 let g = d
6161 g
6262 }
6363 else false
6464 }
6565
6666
6767 func p (j) = {
6868 let d = j
6969 if ($isInstanceOf(d, "String"))
7070 then {
7171 let q = d
7272 q
7373 }
7474 else if ($isInstanceOf(d, "Int"))
7575 then {
7676 let q = d
7777 throw("wrong type, expected: String, got: Int")
7878 }
7979 else if ($isInstanceOf(d, "Unit"))
8080 then {
8181 let q = d
8282 throw("wrong type, expected: String, got: Unit")
8383 }
8484 else throw("wrong type, expected: String")
8585 }
8686
8787
8888 func r () = o("TESTENV")
8989
9090
9191 func s () = "static_oracleAddress"
9292
9393
9494 func t () = "static_extraFee"
9595
9696
9797 func u () = "static_feeAggregator"
9898
9999
100100 func v () = "static_canineIncubatorAddress"
101101
102102
103103 func w () = "static_canineBreederAddress"
104104
105105
106106 func x () = "static_couponsAddress"
107107
108108
109109 func y () = "static_canineStakingAddress"
110110
111111
112112 func z () = "static_farmingAddressNew"
113113
114114
115115 func A () = "static_incubatorAddress"
116116
117117
118118 func B () = "static_itemsAddress"
119119
120120
121121 func C () = "static_canineWavesRebirthPrice"
122122
123123
124124 func D () = "static_turtleIncubatorAddress"
125125
126126
127127 func E () = "static_babyDuckAddress"
128128
129129
130130 func F () = Address(fromBase58String(h(s())))
131131
132132
133133 func G () = Address(fromBase58String(a(F(), u())))
134134
135135
136136 func H () = Address(fromBase58String(a(F(), w())))
137137
138138
139139 func I () = Address(fromBase58String(a(F(), v())))
140140
141141
142142 func J () = Address(fromBase58String(a(F(), x())))
143143
144144
145145 func K () = Address(fromBase58String(a(F(), y())))
146146
147147
148148 func L () = Address(fromBase58String(a(F(), z())))
149149
150150
151151 func M () = Address(fromBase58String(a(F(), A())))
152152
153153
154154 func N () = Address(fromBase58String(a(F(), B())))
155155
156156
157157 func O () = Address(fromBase58String(a(F(), D())))
158158
159159
160160 func P () = Address(fromBase58String(a(F(), E())))
161161
162162
163163 func Q (b,c) = {
164164 let d = getInteger(b, c)
165165 if ($isInstanceOf(d, "Int"))
166166 then {
167167 let g = d
168168 g
169169 }
170170 else throw("TR: Value not found in sc!")
171171 }
172172
173173
174174 let R = Q(F(), C())
175175
176176 let S = 2
177177
178178 func T (U) = if (if ((value(assetInfo(U)).issuer == H()))
179179 then true
180180 else (value(assetInfo(U)).issuer == I()))
181181 then value(assetInfo(U)).issuer
182182 else throw("not valid NFT")
183183
184184
185185 func V (W) = if (isDefined(W.assetId))
186186 then throw("RCAP: Please attach waves")
187187 else {
188188 let X = getIntegerValue(F(), t())
189189 if ((W.amount != X))
190190 then throw((("RCAP: Please attach exactly " + toString(X)) + " amount of wavelets"))
191191 else [ScriptTransfer(G(), X, unit)]
192192 }
193193
194194
195195 func Y (Z,aa,ab,ac) = {
196196 let ad = value(blockInfoByHeight((ab - 1)))
197197 let ae = sha256((aa + value(ad.vrf)))
198198 (toInt(ae, (ac * 8)) % Z)
199199 }
200200
201201
202202 func af (c) = {
203203 let d = getBoolean(c)
204204 if ($isInstanceOf(d, "Boolean"))
205205 then {
206206 let g = d
207207 g
208208 }
209209 else false
210210 }
211211
212212
213213 func ag (ah,ai,aj) = {
214- let ak = Y(200, ah, ai, 1)
215- if ((ak == 1))
216- then $Tuple2(ak, "jackpot")
217- else {
218- let al = Y(1000, ah, ai, 0)
219- let am = if (if ((100 > al))
220- then (aj != "docking_A")
221- else false)
222- then "docking_A"
223- else if (if ((200 > al))
224- then (aj != "docking_B")
225- else false)
226- then "docking_B"
227- else if (if ((300 > al))
228- then (aj != "docking_C")
229- else false)
230- then "docking_C"
231- else if (if ((400 > al))
232- then (aj != "docking_D")
233- else false)
234- then "docking_D"
235- else if (if ((450 > al))
236- then (aj != "incubator")
237- else false)
238- then "incubator"
239- else if (if ((490 > al))
240- then (aj != "duckling_40")
241- else false)
242- then "duckling_40"
243- else if (if ((540 > al))
244- then (aj != "duckling_20")
245- else false)
246- then "duckling_20"
247- else if (if ((640 > al))
248- then (aj != "item!ART-FEED5")
249- else false)
250- then "item!ART-FEED5"
251- else if (if ((710 > al))
252- then (aj != "item!ART-FEED10")
253- else false)
254- then "item!ART-FEED10"
255- else if (if ((740 > al))
256- then (aj != "item!ART-FEED15")
257- else false)
258- then "item!ART-FEED15"
259- else if (if ((770 > al))
260- then (aj != "item!ART-FEED20")
261- else false)
262- then "item!ART-FEED20"
263- else if (if ((790 > al))
264- then (aj != "item!ART-FEED25")
265- else false)
266- then "item!ART-FEED25"
267- else if (if ((810 > al))
268- then (aj != "item!ART-FEED50")
269- else false)
270- then "item!ART-FEED50"
271- else if (if ((830 > al))
272- then (aj != "item!ART-FEED100")
273- else false)
274- then "item!ART-FEED100"
275- else if (if ((860 > al))
276- then (aj != "item!ART-MUTARIUM-G")
277- else false)
278- then "item!ART-MUTARIUM-G"
279- else if (if ((890 > al))
280- then (aj != "item!ART-MUTARIUM-D")
281- else false)
282- then "item!ART-MUTARIUM-D"
283- else if (if ((910 > al))
284- then (aj != "item!ART-FREEGENE")
285- else false)
286- then "item!ART-FREEGENE"
287- else if (if ((930 > al))
288- then (aj != "item!ART-FIXGENE")
289- else false)
290- then "item!ART-FIXGENE"
291- else if (if ((980 > al))
292- then (aj != "trtl_incubator")
293- else false)
294- then "trtl_incubator"
295- else "item!ART-POTION"
296- $Tuple2(al, am)
297- }
214+ let ak = Y(1000, ah, ai, 0)
215+ let al = "jackpot"
216+ $Tuple2(ak, al)
298217 }
299218
300219
301-func an (ah,ai) = {
302- let al = Y(2, ah, ai, 1)
303- if ((al == 0))
220+func am (ah,ai) = {
221+ let ak = Y(2, ah, ai, 1)
222+ if ((ak == 0))
304223 then true
305224 else false
306225 }
307226
308227
309-func ao (ap,b,aq,ar,aj,as) = {
310- let at = f((((("address_" + b) + "_initTx_") + ap) + "_finishBlock"))
311- let au = h((((("address_" + b) + "_initTx_") + ap) + "_status"))
312- let av = V(aq)
313- if ((av == av))
314- then if ((au != "open"))
228+func an (ao,b,ap,aq,aj,ar) = {
229+ let as = f((((("address_" + b) + "_initTx_") + ao) + "_finishBlock"))
230+ let at = h((((("address_" + b) + "_initTx_") + ao) + "_status"))
231+ let au = V(ap)
232+ if ((au == au))
233+ then if ((at != "open"))
315234 then throw("rebirth is finished or not open")
316- else if ((at > height))
235+ else if ((as > height))
317236 then throw("you cannot finish rebirth, yet")
318237 else {
319- let aw = ag(fromBase58String(ap), at, aj)
320- let ax = aw._2
321- let ay = aw._1
322- let aa = ap
323- let am = if ((indexOf(ax, "docking") != unit))
238+ let av = ag(fromBase58String(ao), as, aj)
239+ let aw = av._2
240+ let ax = av._1
241+ let aa = ao
242+ let al = if ((indexOf(aw, "docking") != unit))
324243 then {
325- let az = takeRight(ax, 1)
326- let aA = if (!(ar))
244+ let ay = takeRight(aw, 1)
245+ let az = if (!(aq))
327246 then {
328- let aB = invoke(K(), "addFreePerch", [b, az, 1], nil)
329- if ((aB == aB))
330- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
247+ let aA = invoke(K(), "addFreePerch", [b, ay, 1], nil)
248+ if ((aA == aA))
249+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
331250 else throw("Strict value is not equal to itself.")
332251 }
333252 else {
334- let aB = invoke(K(), "addFreePerch", [b, az, 2], nil)
335- if ((aB == aB))
336- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), ax)]
253+ let aA = invoke(K(), "addFreePerch", [b, ay, 2], nil)
254+ if ((aA == aA))
255+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), aw)]
337256 else throw("Strict value is not equal to itself.")
338257 }
339- if ((aA == aA))
340- then aA
258+ if ((az == az))
259+ then az
341260 else throw("Strict value is not equal to itself.")
342261 }
343- else if ((ax == "jackpot"))
262+ else if ((aw == "jackpot"))
344263 then {
345- let aA = invoke(I(), "issueJackpot", [b, aa, "WWWWHWTF"], nil)
346- if ((aA == aA))
347- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aA))]
264+ let az = invoke(I(), "issueJackpot", [b, aa, "WWWWHWTF"], nil)
265+ if ((az == az))
266+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(az))]
348267 else throw("Strict value is not equal to itself.")
349268 }
350- else if ((ax == "incubator"))
269+ else if ((aw == "incubator"))
351270 then {
352- let aA = if (!(ar))
271+ let az = if (!(aq))
353272 then {
354- let aB = invoke(I(), "issueFree", [b, aa], nil)
355- if ((aB == aB))
356- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
273+ let aA = invoke(I(), "issueFree", [b, aa], nil)
274+ if ((aA == aA))
275+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
357276 else throw("Strict value is not equal to itself.")
358277 }
359278 else {
360- let aB = invoke(I(), "issueFree", [b, aa], nil)
361- if ((aB == aB))
279+ let aA = invoke(I(), "issueFree", [b, aa], nil)
280+ if ((aA == aA))
362281 then {
363- let aC = invoke(O(), "issueFreeTurtle", [b, aa], nil)
364- if ((aC == aC))
365- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), "incubator")]
282+ let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
283+ if ((aB == aB))
284+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), "incubator")]
366285 else throw("Strict value is not equal to itself.")
367286 }
368287 else throw("Strict value is not equal to itself.")
369288 }
370- if ((aA == aA))
371- then aA
289+ if ((az == az))
290+ then az
372291 else throw("Strict value is not equal to itself.")
373292 }
374- else if ((indexOf(ax, "duckling") != unit))
293+ else if ((indexOf(aw, "duckling") != unit))
375294 then {
376- let aD = parseIntValue(split(ax, "_")[1])
377- let aE = if (ar)
378- then (2 * aD)
379- else aD
380- let aA = invoke(P(), "issueFreeDuckling", [b, aa, aE], nil)
381- if ((aA == aA))
382- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aA))]
295+ let aC = parseIntValue(split(aw, "_")[1])
296+ let aD = if (aq)
297+ then (2 * aC)
298+ else aC
299+ let az = invoke(P(), "issueFreeDuckling", [b, aa, aD], nil)
300+ if ((az == az))
301+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(az))]
383302 else throw("Strict value is not equal to itself.")
384303 }
385- else if ((ax == "trtl_incubator"))
304+ else if ((aw == "trtl_incubator"))
386305 then {
387- let aA = if (!(ar))
306+ let az = if (!(aq))
388307 then {
389- let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
390- if ((aB == aB))
391- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
308+ let aA = invoke(O(), "issueFreeTurtle", [b, aa], nil)
309+ if ((aA == aA))
310+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
392311 else throw("Strict value is not equal to itself.")
393312 }
394313 else {
395- let aB = invoke(O(), "issueFreeTurtle", [b, aa], nil)
396- if ((aB == aB))
314+ let aA = invoke(O(), "issueFreeTurtle", [b, aa], nil)
315+ if ((aA == aA))
397316 then {
398- let aC = invoke(I(), "issueFree", [b, aa], nil)
399- if ((aC == aC))
400- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), "trtl_incubator")]
317+ let aB = invoke(I(), "issueFree", [b, aa], nil)
318+ if ((aB == aB))
319+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), "trtl_incubator")]
401320 else throw("Strict value is not equal to itself.")
402321 }
403322 else throw("Strict value is not equal to itself.")
404323 }
405- if ((aA == aA))
406- then aA
324+ if ((az == az))
325+ then az
407326 else throw("Strict value is not equal to itself.")
408327 }
409- else if ((indexOf(ax, "item") != unit))
328+ else if ((indexOf(aw, "item") != unit))
410329 then {
411- let aF = split(ax, "!")[1]
412- let aA = if (!(ar))
330+ let aE = split(aw, "!")[1]
331+ let az = if (!(aq))
413332 then {
414- let aB = invoke(N(), "issueArtefactIndex", [aF, b, 0], nil)
415- if ((aB == aB))
416- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB))]
333+ let aA = invoke(N(), "issueArtefactIndex", [aE, b, 0], nil)
334+ if ((aA == aA))
335+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA))]
417336 else throw("Strict value is not equal to itself.")
418337 }
419338 else {
420- let aB = invoke(N(), "issueArtefactIndex", [aF, b, 0], nil)
421- if ((aB == aB))
339+ let aA = invoke(N(), "issueArtefactIndex", [aE, b, 0], nil)
340+ if ((aA == aA))
422341 then {
423- let aC = invoke(N(), "issueArtefactIndex", [aF, b, 1], nil)
424- if ((aC == aC))
425- then [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_result1"), p(aC)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win1"), ax)]
342+ let aB = invoke(N(), "issueArtefactIndex", [aE, b, 1], nil)
343+ if ((aB == aB))
344+ then [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result"), p(aA)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_result1"), p(aB)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win1"), aw)]
426345 else throw("Strict value is not equal to itself.")
427346 }
428347 else throw("Strict value is not equal to itself.")
429348 }
430- if ((aA == aA))
431- then aA
349+ if ((az == az))
350+ then az
432351 else throw("Strict value is not equal to itself.")
433352 }
434- else throw(("RFB: Some error occured, please contact the admins! " + ax))
435- if ((am == am))
353+ else throw(("RFB: Some error occured, please contact the admins! " + aw))
354+ if ((al == al))
436355 then {
437- let aG = if (as)
438- then an(fromBase58String(ap), at)
356+ let aF = if (ar)
357+ then am(fromBase58String(ao), as)
439358 else false
440- let aH = if (aG)
359+ let aG = if (aF)
441360 then {
442- let U = fromBase58String(getStringValue((((("address_" + b) + "_initTx_") + ap) + "_assetId")))
443- let aI = T(U)
444- let aJ = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
445- if ((aJ == aJ))
361+ let U = fromBase58String(getStringValue((((("address_" + b) + "_initTx_") + ao) + "_assetId")))
362+ let aH = T(U)
363+ let aI = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
364+ if ((aI == aI))
446365 then {
447- let aA = invoke(aI, "increaseRarity", [toBase58String(U), aJ], nil)
448- if ((aA == aA))
366+ let az = invoke(aH, "increaseRarity", [toBase58String(U), aI], nil)
367+ if ((az == az))
449368 then [ScriptTransfer(addressFromStringValue(b), 1, U)]
450369 else throw("Strict value is not equal to itself.")
451370 }
452371 else throw("Strict value is not equal to itself.")
453372 }
454373 else nil
455- (((am ++ [StringEntry((((("address_" + b) + "_initTx_") + ap) + "_win"), ax), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_status"), "finish"), IntegerEntry((((("address_" + b) + "_initTx_") + ap) + "_random"), ay)]) ++ av) ++ aH)
374+ (((al ++ [StringEntry((((("address_" + b) + "_initTx_") + ao) + "_win"), aw), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_status"), "finish"), IntegerEntry((((("address_" + b) + "_initTx_") + ao) + "_random"), ax)]) ++ au) ++ aG)
456375 }
457376 else throw("Strict value is not equal to itself.")
458377 }
459378 else throw("Strict value is not equal to itself.")
460379 }
461380
462381
463-@Callable(aK)
464-func configureOracle (aL) = if ((aK.caller != this))
382+@Callable(aJ)
383+func configureOracle (aK) = if ((aJ.caller != this))
465384 then throw("RCU: admin only")
466- else [StringEntry("static_oracleAddress", aL)]
385+ else [StringEntry("static_oracleAddress", aK)]
467386
468387
469388
470-@Callable(aK)
389+@Callable(aJ)
471390 func initRebirth () = {
472- let aM = aK.payments[0]
473- let aN = aK.payments[1]
474- let U = value(aM.assetId)
475- let ap = toBase58String(aK.transactionId)
476- let b = toString(aK.caller)
477- if ((aM.amount != 1))
391+ let aL = aJ.payments[0]
392+ let aM = aJ.payments[1]
393+ let U = value(aL.assetId)
394+ let ao = toBase58String(aJ.transactionId)
395+ let b = toString(aJ.caller)
396+ if ((aL.amount != 1))
478397 then throw("NFT is not attached")
479- else if (if ((aN.amount != R))
398+ else if (if ((aM.amount != R))
480399 then true
481- else (aN.assetId != unit))
400+ else (aM.assetId != unit))
482401 then throw("Wavespayment is not attached or wrong!")
483402 else {
484- let aO = (aN.amount / 4)
485- let aP = (aN.amount - aO)
486- let aQ = invoke(K(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, aP)])
487- if ((aQ == aQ))
403+ let aN = (aM.amount / 4)
404+ let aO = (aM.amount - aN)
405+ let aP = invoke(K(), "addWavesAndStakeMore", nil, [AttachedPayment(unit, aO)])
406+ if ((aP == aP))
488407 then {
489- let aI = T(U)
490- let aJ = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
491- if ((aJ == aJ))
408+ let aH = T(U)
409+ let aI = p(invoke(H(), "getGenFromName", [value(assetInfo(U)).name], nil))
410+ if ((aI == aI))
492411 then {
493- let aA = invoke(aI, "reduceRarity", [toBase58String(U), aJ], nil)
494- if ((aA == aA))
495- then [IntegerEntry((((("address_" + b) + "_initTx_") + ap) + "_finishBlock"), (height + S)), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_status"), "open"), StringEntry((((("address_" + b) + "_initTx_") + ap) + "_assetId"), toBase58String(U)), ScriptTransfer(G(), aO, unit)]
412+ let az = invoke(aH, "reduceRarity", [toBase58String(U), aI], nil)
413+ if ((az == az))
414+ then [IntegerEntry((((("address_" + b) + "_initTx_") + ao) + "_finishBlock"), (height + S)), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_status"), "open"), StringEntry((((("address_" + b) + "_initTx_") + ao) + "_assetId"), toBase58String(U)), ScriptTransfer(G(), aN, unit)]
496415 else throw("Strict value is not equal to itself.")
497416 }
498417 else throw("Strict value is not equal to itself.")
499418 }
500419 else throw("Strict value is not equal to itself.")
501420 }
502421 }
503422
504423
505424
506-@Callable(aK)
507-func finishRebirth (ap) = ao(ap, toString(aK.caller), aK.payments[0], false, "", false)
425+@Callable(aJ)
426+func finishRebirth (ao) = an(ao, toString(aJ.caller), aJ.payments[0], false, "", false)
508427
509428
510429
511-@Callable(aK)
512-func finishRebirthDouble (ap) = if (!(if ((size(aK.payments) == 2))
513- then (aK.payments[0].amount == 1)
430+@Callable(aJ)
431+func finishRebirthDouble (ao) = if (!(if ((size(aJ.payments) == 2))
432+ then (aJ.payments[0].amount == 1)
514433 else false))
515434 then throw("Invalid payment")
516435 else {
517- let U = value(aK.payments[0].assetId)
518- let aR = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
519- if ((aR == aR))
520- then if ((aR == "ART-GIFT_DOUBL"))
521- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], true, "", false))
436+ let U = value(aJ.payments[0].assetId)
437+ let aQ = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
438+ if ((aQ == aQ))
439+ then if ((aQ == "ART-GIFT_DOUBL"))
440+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], true, "", false))
522441 else throw("Error! Wrong item attached to double rewards!")
523442 else throw("Strict value is not equal to itself.")
524443 }
525444
526445
527446
528-@Callable(aK)
529-func finishRebirthItem (ap,aS) = if (if ((size(aK.payments) == 2))
530- then (aK.payments[0].amount == 1)
447+@Callable(aJ)
448+func finishRebirthItem (ao,aR) = if (if ((size(aJ.payments) == 2))
449+ then (aJ.payments[0].amount == 1)
531450 else false)
532451 then {
533- let U = value(aK.payments[0].assetId)
534- let aR = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
535- if ((aR == aR))
536- then if ((aR == "ART-HWERASE"))
537- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], false, aS, false))
538- else if ((aR == "ART-HWRESCUE"))
539- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], false, "", true))
540- else if ((aR == "ART-GIFT_DOUBL"))
541- then ([Burn(U, 1)] ++ ao(ap, toString(aK.caller), aK.payments[1], true, "", false))
452+ let U = value(aJ.payments[0].assetId)
453+ let aQ = p(invoke(N(), "checkArtefactDetails", [toBase58String(U)], nil))
454+ if ((aQ == aQ))
455+ then if ((aQ == "ART-HWERASE"))
456+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], false, aR, false))
457+ else if ((aQ == "ART-HWRESCUE"))
458+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], false, "", true))
459+ else if ((aQ == "ART-GIFT_DOUBL"))
460+ then ([Burn(U, 1)] ++ an(ao, toString(aJ.caller), aJ.payments[1], true, "", false))
542461 else throw("Error! Wrong item attached ")
543462 else throw("Strict value is not equal to itself.")
544463 }
545- else if ((size(aK.payments) == 1))
546- then ao(ap, toString(aK.caller), aK.payments[0], false, "", false)
464+ else if ((size(aJ.payments) == 1))
465+ then an(ao, toString(aJ.caller), aJ.payments[0], false, "", false)
547466 else throw("Invalid payments")
548467
549468
550469 @Verifier(ah)
551-func aT () = if (r())
470+func aS () = if (r())
552471 then sigVerify(ah.bodyBytes, ah.proofs[0], ah.senderPublicKey)
553472 else {
554- let aU = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
555- let aV = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
556- let aW = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
473+ let aT = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
474+ let aU = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
475+ let aV = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
476+ let aW = if (sigVerify(ah.bodyBytes, ah.proofs[0], aT))
477+ then 1
478+ else if (sigVerify(ah.bodyBytes, ah.proofs[1], aT))
479+ then 1
480+ else if (sigVerify(ah.bodyBytes, ah.proofs[2], aT))
481+ then 1
482+ else 0
557483 let aX = if (sigVerify(ah.bodyBytes, ah.proofs[0], aU))
558484 then 1
559485 else if (sigVerify(ah.bodyBytes, ah.proofs[1], aU))
560486 then 1
561487 else if (sigVerify(ah.bodyBytes, ah.proofs[2], aU))
562488 then 1
563489 else 0
564490 let aY = if (sigVerify(ah.bodyBytes, ah.proofs[0], aV))
565491 then 1
566492 else if (sigVerify(ah.bodyBytes, ah.proofs[1], aV))
567493 then 1
568494 else if (sigVerify(ah.bodyBytes, ah.proofs[2], aV))
569495 then 1
570496 else 0
571- let aZ = if (sigVerify(ah.bodyBytes, ah.proofs[0], aW))
572- then 1
573- else if (sigVerify(ah.bodyBytes, ah.proofs[1], aW))
574- then 1
575- else if (sigVerify(ah.bodyBytes, ah.proofs[2], aW))
576- then 1
577- else 0
578- let ba = ((aX + aY) + aZ)
497+ let aZ = ((aW + aX) + aY)
579498 let d = ah
580- (ba >= 2)
499+ (aZ >= 1)
581500 }
582501

github/deemru/w8io/026f985 
153.06 ms