tx · A7iMdoRVk2SCwHCwEtQqb4TgepQuKq9Zj6NKAdPJD6Sb

3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5:  -0.01900000 Waves

2024.11.01 19:39 [3352711] smart account 3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5 > SELF 0.00000000 Waves

{ "type": 13, "id": "A7iMdoRVk2SCwHCwEtQqb4TgepQuKq9Zj6NKAdPJD6Sb", "fee": 1900000, "feeAssetId": null, "timestamp": 1730479164459, "version": 2, "chainId": 84, "sender": "3N6PvAL6whpaLE48xjeZbmU7vRWQmuz8AA5", "senderPublicKey": "3ZB9kd3fTB7j5xvuxZe67A7aT4cNTs2gUk1tyFaCdWJ6", "proofs": [ "3MCe5TcySBP55Y7ermj7P7eM6Esbw4QDDHgKNkt4p9gLzsCRKKnLTxDYWREUdvSSZmkiwArcYcaBEcsMLY1tTkkw" ], "script": "base64:BgIWCAISAwoBCBIDCgEIEgMKAQgSAwoBCDABFHRyeUdldFN0cmluZ0V4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAnQgCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIGU3RyaW5nBAFhBQckbWF0Y2gwBQFhAgABEXRyeUdldEludEV4dGVybmFsAgdhZGRyZXNzA2tleQQHJG1hdGNoMAkAmggCBQdhZGRyZXNzBQNrZXkDCQABAgUHJG1hdGNoMAIDSW50BAFhBQckbWF0Y2gwBQFhCQACAQIbUlRHSUU6IFNvbWV0aGluZyB3ZW50IHdyb25nAQlhc0Jvb2xlYW4BBXZhbHVlBAckbWF0Y2gwBQV2YWx1ZQMJAAECBQckbWF0Y2gwAgdCb29sZWFuBAdib29sZWFuBQckbWF0Y2gwBQdib29sZWFuCQACAQIiRkFCOiB3cm9uZyB0eXBlLCBleHBlY3RlZDogQm9vbGVhbgEMdHJ5R2V0U3RyaW5nAQNrZXkJARR0cnlHZXRTdHJpbmdFeHRlcm5hbAIFBHRoaXMFA2tleQAQZGVsY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nR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCWZpcnN0VXNlcgABAAAEEHNlY29uZFVzZXJTaWduZWQDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQpzZWNvbmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwACBQpzZWNvbmRVc2VyAAEAAAQPdGhpcmRVc2VyU2lnbmVkAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUJdGhpcmRVc2VyAAEDCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwABBQl0aGlyZFVzZXIAAQMJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAIFCXRoaXJkVXNlcgABAAAED3NpZ25hdHVyZXNDb3VudAkAZAIJAGQCBQ9maXJzdFVzZXJTaWduZWQFEHNlY29uZFVzZXJTaWduZWQFD3RoaXJkVXNlclNpZ25lZAQHJG1hdGNoMAUCdHgJAGcCBQ9zaWduYXR1cmVzQ291bnQAAo677bE=", "height": 3352711, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AjUbuc9yNo62LUB39MsGxKBZkHyfg3GtfuQuQWyTu7gV Next: 56XrT1RJsvEiWBSyi8XFbe73xbnuVTuEp1weMNWgpuSj Diff:
OldNewDifferences
207207
208208
209209 func an (ao,ap,aq) = {
210- let ar = (P - fraction((P / 2), aq, 100))
211- let as = ag(ar, ao, ap, 1)
212- if ((as == 1))
210+ let ar = ag(10, ao, ap, 1)
211+ if ((ar == 1))
213212 then "phoenix"
214213 else {
215- let at = ag(1000, ao, ap, 0)
216- if ((10 > at))
214+ let as = ag(1000, ao, ap, 0)
215+ if ((10 > as))
217216 then "item!ART-FREEGENE"
218- else if ((126 > at))
217+ else if ((126 > as))
219218 then "ar"
220- else if ((186 > at))
219+ else if ((186 > as))
221220 then "item!ART-FIRE_ARMOUR"
222- else if ((206 > at))
221+ else if ((206 > as))
223222 then "item!ART-FEED5"
224- else if ((226 > at))
223+ else if ((226 > as))
225224 then "item!ART-FEED10"
226- else if ((246 > at))
225+ else if ((246 > as))
227226 then "item!ART-FEED15"
228- else if ((266 > at))
227+ else if ((266 > as))
229228 then "item!ART-FEED20"
230- else if ((286 > at))
229+ else if ((286 > as))
231230 then "item!ART-FEED25"
232- else if ((296 > at))
231+ else if ((296 > as))
233232 then "item!ART-FEED50"
234- else if ((300 > at))
233+ else if ((300 > as))
235234 then "item!ART-FEED100"
236- else if ((310 > at))
235+ else if ((310 > as))
237236 then "item!ART-CROWN"
238- else if ((350 > at))
237+ else if ((350 > as))
239238 then "incubator"
240- else if ((460 > at))
239+ else if ((460 > as))
241240 then if ((50 > aq))
242241 then "item!ART-BUILTBODY"
243242 else "item!ART-MUTARIUM-D"
244- else if ((480 > at))
243+ else if ((480 > as))
245244 then "item!ART-SNAKE"
246- else if ((510 > at))
245+ else if ((510 > as))
247246 then "item!ART-ROBODUCK"
248- else if ((600 > at))
247+ else if ((600 > as))
249248 then "item!ART-KATANA"
250- else if ((650 > at))
249+ else if ((650 > as))
251250 then if ((50 > aq))
252251 then "item!ART-SCEPTER"
253252 else "item!ART-MUTARIUM-D"
254- else if ((710 > at))
253+ else if ((710 > as))
255254 then "item!ART-MUTARIUM-D"
256- else if ((720 > at))
255+ else if ((720 > as))
257256 then "item!ART-MUTARIUM-G"
258- else if ((890 > at))
257+ else if ((890 > as))
259258 then "duckling_10"
260- else if ((960 > at))
259+ else if ((960 > as))
261260 then "duckling_20"
262261 else "duckling_40"
263262 }
264263 }
265264
266265
267-func au (ad) = {
266+func at (ad) = {
268267 let ae = value(assetInfo(ad)).name
269268 let X = take(takeRight(ae, 2), 1)
270269 if (if ((X == "G"))
275274 }
276275
277276
278-func av (h) = {
277+func au (h) = {
279278 let d = h
280279 if ($isInstanceOf(d, "Int"))
281280 then {
282- let aw = d
283- aw
281+ let av = d
282+ av
284283 }
285284 else if ($isInstanceOf(d, "String"))
286285 then {
287- let ax = d
288- throw(("RAI: wrong type, expected: Int, but got: " + ax))
286+ let aw = d
287+ throw(("RAI: wrong type, expected: Int, but got: " + aw))
289288 }
290289 else throw("RAI: wrong type, expected: Int")
291290 }
292291
293292
294-func ay (c) = {
293+func ax (c) = {
295294 let d = getBoolean(this, c)
296295 if ($isInstanceOf(d, "Boolean"))
297296 then {
302301 }
303302
304303
305-func az () = ay("TESTENV")
304+func ay () = ax("TESTENV")
306305
307306
308-func aA (aB,b,N,aC) = {
309- let aD = Q((((("address_" + b) + "_initTx_") + aB) + "_finishBlock"))
310- let aq = Q((((("address_" + b) + "_initTx_") + aB) + "_assetRarity"))
311- let aE = j((((("address_" + b) + "_initTx_") + aB) + "_status"))
312- let aF = M(N)
313- if ((aF == aF))
307+func az (aA,b,N,aB) = {
308+ let aC = Q((((("address_" + b) + "_initTx_") + aA) + "_finishBlock"))
309+ let aq = Q((((("address_" + b) + "_initTx_") + aA) + "_assetRarity"))
310+ let aD = j((((("address_" + b) + "_initTx_") + aA) + "_status"))
311+ let aE = M(N)
312+ if ((aE == aE))
314313 then {
315- let aG = invoke(H(), "recordAction", ["REBIRTH"], nil)
316- if ((aG == aG))
314+ let aF = invoke(H(), "recordAction", ["REBIRTH"], nil)
315+ if ((aF == aF))
317316 then {
318- func aH (b) = fromBase58String(a(b, "static_accessItemAssetId"))
317+ func aG (b) = fromBase58String(a(b, "static_accessItemAssetId"))
319318
320- func aI (b) = f(b, "static_accessItemPrice")
319+ func aH (b) = f(b, "static_accessItemPrice")
321320
322- if ((aE != "open"))
321+ if ((aD != "open"))
323322 then throw("rebirth is finished or not open")
324- else if ((aD > height))
323+ else if ((aC > height))
325324 then throw("you cannot finish rebirth, yet")
326325 else {
327- let aJ = an(fromBase58String(aB), aD, aq)
328- let ai = aB
329- let aK = if ((indexOf(aJ, "perch") != unit))
326+ let aI = an(fromBase58String(aA), aC, aq)
327+ let ai = aA
328+ let aJ = if ((indexOf(aI, "perch") != unit))
330329 then {
331- let aL = takeRight(aJ, 1)
332- let aK = if (!(aC))
330+ let aK = takeRight(aI, 1)
331+ let aJ = if (!(aB))
333332 then {
334- let aM = invoke(D(), "addFreePerch", [b, aL, 1], nil)
335- if ((aM == aM))
336- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
333+ let aL = invoke(D(), "addFreePerch", [b, aK, 1], nil)
334+ if ((aL == aL))
335+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
337336 else throw("Strict value is not equal to itself.")
338337 }
339338 else {
340- let aM = invoke(D(), "addFreePerch", [b, aL, 2], nil)
341- if ((aM == aM))
342- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)]
339+ let aL = invoke(D(), "addFreePerch", [b, aK, 2], nil)
340+ if ((aL == aL))
341+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result1"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), aI)]
343342 else throw("Strict value is not equal to itself.")
344343 }
345- if ((aK == aK))
346- then aK
344+ if ((aJ == aJ))
345+ then aJ
347346 else throw("Strict value is not equal to itself.")
348347 }
349- else if ((aJ == "incubator"))
348+ else if ((aI == "incubator"))
350349 then {
351- let aK = if (!(aC))
350+ let aJ = if (!(aB))
352351 then {
353- let aM = invoke(B(), "issueFreeDuck", [b, ai], nil)
354- if ((aM == aM))
355- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
352+ let aL = invoke(B(), "issueFreeDuck", [b, ai], nil)
353+ if ((aL == aL))
354+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
356355 else throw("Strict value is not equal to itself.")
357356 }
358357 else {
359- let aM = invoke(B(), "issueFreeDuck", [b, ai], nil)
360- if ((aM == aM))
358+ let aL = invoke(B(), "issueFreeDuck", [b, ai], nil)
359+ if ((aL == aL))
361360 then {
362- let aN = invoke(E(), "issueFreeDuckling", [b, ai, 100], nil)
363- if ((aN == aN))
364- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), "duckling_100")]
361+ let aM = invoke(E(), "issueFreeDuckling", [b, ai, 100], nil)
362+ if ((aM == aM))
363+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result1"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), "duckling_100")]
365364 else throw("Strict value is not equal to itself.")
366365 }
367366 else throw("Strict value is not equal to itself.")
368367 }
369- if ((aK == aK))
370- then aK
368+ if ((aJ == aJ))
369+ then aJ
371370 else throw("Strict value is not equal to itself.")
372371 }
373- else if ((aJ == "ar"))
372+ else if ((aI == "ar"))
374373 then {
375- let ad = aH(I())
376- let aO = aI(I())
377- let aP = invoke(I(), "buyAccessItemOther", [b], [AttachedPayment(ad, aO)])
378- if ((aP == aP))
379- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
374+ let ad = aG(I())
375+ let aN = aH(I())
376+ let aO = invoke(I(), "buyAccessItemOther", [b], [AttachedPayment(ad, aN)])
377+ if ((aO == aO))
378+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
380379 else throw("Strict value is not equal to itself.")
381380 }
382- else if ((aJ == "phoenix"))
381+ else if ((aI == "phoenix"))
383382 then {
384- let aP = invoke(B(), "issueJackpot", [b, ai, valueOrElse(getString("JACKPOT_NAME"), "WWWWWWWP")], nil)
385- if ((aP == aP))
386- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
383+ let aO = invoke(B(), "issueJackpot", [b, ai, "WWWWHWTF"], nil)
384+ if ((aO == aO))
385+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
387386 else throw("Strict value is not equal to itself.")
388387 }
389- else if ((indexOf(aJ, "duckling") != unit))
388+ else if ((indexOf(aI, "duckling") != unit))
390389 then {
391- let aQ = parseIntValue(split(aJ, "_")[1])
392- let aR = if (aC)
393- then (2 * aQ)
394- else aQ
395- let aP = invoke(E(), "issueFreeDuckling", [b, ai, aR], nil)
396- if ((aP == aP))
397- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
390+ let aP = parseIntValue(split(aI, "_")[1])
391+ let aQ = if (aB)
392+ then (2 * aP)
393+ else aP
394+ let aO = invoke(E(), "issueFreeDuckling", [b, ai, aQ], nil)
395+ if ((aO == aO))
396+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
398397 else throw("Strict value is not equal to itself.")
399398 }
400- else if ((indexOf(aJ, "item") != unit))
399+ else if ((indexOf(aI, "item") != unit))
401400 then {
402- let aS = split(aJ, "!")[1]
403- let aK = if (!(aC))
401+ let aR = split(aI, "!")[1]
402+ let aJ = if (!(aB))
404403 then {
405- let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil)
406- if ((aM == aM))
407- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
404+ let aL = invoke(G(), "issueArtefactIndex", [aR, b, 0], nil)
405+ if ((aL == aL))
406+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
408407 else throw("Strict value is not equal to itself.")
409408 }
410409 else {
411- let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil)
412- if ((aM == aM))
410+ let aL = invoke(G(), "issueArtefactIndex", [aR, b, 0], nil)
411+ if ((aL == aL))
413412 then {
414- let aN = invoke(G(), "issueArtefactIndex", [aS, b, 1], nil)
415- if ((aN == aN))
416- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)]
413+ let aM = invoke(G(), "issueArtefactIndex", [aR, b, 1], nil)
414+ if ((aM == aM))
415+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), aI)]
417416 else throw("Strict value is not equal to itself.")
418417 }
419418 else throw("Strict value is not equal to itself.")
420419 }
421- if ((aK == aK))
422- then aK
420+ if ((aJ == aJ))
421+ then aJ
423422 else throw("Strict value is not equal to itself.")
424423 }
425424 else throw("RFB: Some error occured, please contact the admins!")
426- ((aK ++ [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win"), aJ), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "finish")]) ++ aF)
425+ ((aJ ++ [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win"), aI), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_status"), "finish")]) ++ aE)
427426 }
428427 }
429428 else throw("Strict value is not equal to itself.")
432431 }
433432
434433
435-@Callable(aT)
436-func configureOracle (aU) = if ((aT.caller != this))
434+@Callable(aS)
435+func configureOracle (aT) = if ((aS.caller != this))
437436 then throw("RCU: admin only")
438- else [StringEntry("static_oracleAddress", aU)]
437+ else [StringEntry("static_oracleAddress", aT)]
439438
440439
441440
442-@Callable(aT)
443-func initRebirth (aV) = {
444- let aW = aT.payments[0]
445- let ad = value(aW.assetId)
446- let aB = toBase58String(aT.transactionId)
447- let b = toString(aT.caller)
448- if ((aW.amount != 1))
441+@Callable(aS)
442+func initRebirth (aU) = {
443+ let aV = aS.payments[0]
444+ let ad = value(aV.assetId)
445+ let aA = toBase58String(aS.transactionId)
446+ let b = toString(aS.caller)
447+ if ((aV.amount != 1))
449448 then throw("NFT is not attached")
450449 else {
451- let aX = av(invoke(H(), "useCoupons", [O], nil))
452- if ((aX == aX))
450+ let aW = au(invoke(H(), "useCoupons", [O], nil))
451+ if ((aW == aW))
453452 then {
454- let aY = (O - aX)
455- let aF = M(aT.payments[1])
456- if ((aF == aF))
453+ let aX = (O - aW)
454+ let aE = M(aS.payments[1])
455+ if ((aE == aE))
457456 then {
458- let N = if ((aY != 0))
457+ let N = if ((aX != 0))
459458 then {
460- let aZ = value(aT.payments[2])
461- if ((aZ.assetId != A()))
459+ let aY = value(aS.payments[2])
460+ if ((aY.assetId != A()))
462461 then throw("You need to attach EGG tokens as fee")
463- else if ((aY > aZ.amount))
464- then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aY)))
462+ else if ((aX > aY.amount))
463+ then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aX)))
465464 else {
466- let ba = fraction(aY, 5, 100)
467- let bb = g(invoke(K(), "refPayment", [aV], [AttachedPayment(A(), ba)]))
468- if ((bb == bb))
465+ let aZ = fraction(aX, 5, 100)
466+ let ba = g(invoke(K(), "refPayment", [aU], [AttachedPayment(A(), aZ)]))
467+ if ((ba == ba))
469468 then {
470- let bc = if (bb)
471- then (aY - ba)
472- else aY
473- let bd = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(A(), bc)])
474- if ((bd == bd))
475- then aY
469+ let bb = if (ba)
470+ then (aX - aZ)
471+ else aX
472+ let bc = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(A(), bb)])
473+ if ((bc == bc))
474+ then aX
476475 else throw("Strict value is not equal to itself.")
477476 }
478477 else throw("Strict value is not equal to itself.")
481480 else 0
482481 if ((N == N))
483482 then {
484- let be = ac(ad)
485- let bf = be._1
486- let bg = be._2
487- let aP = invoke(au(ad), "reduceRarity", [toBase58String(ad), bf], nil)
488- if ((aP == aP))
489- then ([IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_finishBlock"), (height + k)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "open"), IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_assetRarity"), bg), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_assetId"), toBase58String(ad))] ++ aF)
483+ let bd = ac(ad)
484+ let be = bd._1
485+ let bf = bd._2
486+ let aO = invoke(at(ad), "reduceRarity", [toBase58String(ad), be], nil)
487+ if ((aO == aO))
488+ then ([IntegerEntry((((("address_" + b) + "_initTx_") + aA) + "_finishBlock"), (height + k)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_status"), "open"), IntegerEntry((((("address_" + b) + "_initTx_") + aA) + "_assetRarity"), bf), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_assetId"), toBase58String(ad))] ++ aE)
490489 else throw("Strict value is not equal to itself.")
491490 }
492491 else throw("Strict value is not equal to itself.")
499498
500499
501500
502-@Callable(aT)
503-func finishRebirth (aB) = aA(aB, toString(aT.caller), aT.payments[0], false)
501+@Callable(aS)
502+func finishRebirth (aA) = az(aA, toString(aS.caller), aS.payments[0], false)
504503
505504
506505
507-@Callable(aT)
508-func finishRebirthDouble (aB) = if (!(if ((size(aT.payments) == 2))
509- then (aT.payments[0].amount == 1)
506+@Callable(aS)
507+func finishRebirthDouble (aA) = if (!(if ((size(aS.payments) == 2))
508+ then (aS.payments[0].amount == 1)
510509 else false))
511510 then throw("Invalid payment")
512511 else {
513- let ad = value(aT.payments[0].assetId)
514- let bh = S(invoke(G(), "checkArtefactDetails", [toBase58String(ad)], nil))
515- if ((bh == bh))
516- then if ((bh == "ART-GIFT_DOUBL"))
517- then ([Burn(ad, 1)] ++ aA(aB, toString(aT.caller), aT.payments[1], true))
512+ let ad = value(aS.payments[0].assetId)
513+ let bg = S(invoke(G(), "checkArtefactDetails", [toBase58String(ad)], nil))
514+ if ((bg == bg))
515+ then if ((bg == "ART-GIFT_DOUBL"))
516+ then ([Burn(ad, 1)] ++ az(aA, toString(aS.caller), aS.payments[1], true))
518517 else throw("Error! Wrong item attached to double rewards!")
519518 else throw("Strict value is not equal to itself.")
520519 }
521520
522521
523522 @Verifier(ao)
524-func bi () = if (az())
523+func bh () = if (ay())
525524 then sigVerify(ao.bodyBytes, ao.proofs[0], ao.senderPublicKey)
526525 else {
527- let bj = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
528- let bk = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
529- let bl = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
526+ let bi = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
527+ let bj = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
528+ let bk = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
529+ let bl = if (sigVerify(ao.bodyBytes, ao.proofs[0], bi))
530+ then 1
531+ else if (sigVerify(ao.bodyBytes, ao.proofs[1], bi))
532+ then 1
533+ else if (sigVerify(ao.bodyBytes, ao.proofs[2], bi))
534+ then 1
535+ else 0
530536 let bm = if (sigVerify(ao.bodyBytes, ao.proofs[0], bj))
531537 then 1
532538 else if (sigVerify(ao.bodyBytes, ao.proofs[1], bj))
541547 else if (sigVerify(ao.bodyBytes, ao.proofs[2], bk))
542548 then 1
543549 else 0
544- let bo = if (sigVerify(ao.bodyBytes, ao.proofs[0], bl))
545- then 1
546- else if (sigVerify(ao.bodyBytes, ao.proofs[1], bl))
547- then 1
548- else if (sigVerify(ao.bodyBytes, ao.proofs[2], bl))
549- then 1
550- else 0
551- let bp = ((bm + bn) + bo)
550+ let bo = ((bl + bm) + bn)
552551 let d = ao
553- (bp >= 2)
552+ (bo >= 2)
554553 }
555554
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 (b,c) = {
1616 let d = getInteger(b, c)
1717 if ($isInstanceOf(d, "Int"))
1818 then {
1919 let e = d
2020 e
2121 }
2222 else throw("RTGIE: Something went wrong")
2323 }
2424
2525
2626 func g (h) = {
2727 let d = h
2828 if ($isInstanceOf(d, "Boolean"))
2929 then {
3030 let i = d
3131 i
3232 }
3333 else throw("FAB: wrong type, expected: Boolean")
3434 }
3535
3636
3737 func j (c) = a(this, c)
3838
3939
4040 let k = 2
4141
4242 func l () = "static_oracleAddress"
4343
4444
4545 func m () = "static_eggAssetId"
4646
4747
4848 func n () = "static_incubatorAddress"
4949
5050
5151 func o () = "static_breederAddress"
5252
5353
5454 func p () = "static_farmingAddressNew"
5555
5656
5757 func q () = "static_babyDuckAddress"
5858
5959
6060 func r () = "static_gameDappAddress"
6161
6262
6363 func s () = "static_itemsAddress"
6464
6565
6666 func t () = "static_couponsAddress"
6767
6868
6969 func u () = "static_huntAddress"
7070
7171
7272 func v () = "static_burnAddress"
7373
7474
7575 func w () = "static_refContractAddress"
7676
7777
7878 func x () = "static_extraFee"
7979
8080
8181 func y () = "static_feeAggregator"
8282
8383
8484 func z () = Address(fromBase58String(j(l())))
8585
8686
8787 func A () = fromBase58String(a(z(), m()))
8888
8989
9090 func B () = Address(fromBase58String(a(z(), n())))
9191
9292
9393 func C () = Address(fromBase58String(a(z(), o())))
9494
9595
9696 func D () = Address(fromBase58String(a(z(), p())))
9797
9898
9999 func E () = Address(fromBase58String(a(z(), q())))
100100
101101
102102 func F () = Address(fromBase58String(a(z(), r())))
103103
104104
105105 func G () = Address(fromBase58String(a(z(), s())))
106106
107107
108108 func H () = Address(fromBase58String(a(z(), t())))
109109
110110
111111 func I () = Address(fromBase58String(a(z(), u())))
112112
113113
114114 func J () = Address(fromBase58String(a(z(), v())))
115115
116116
117117 func K () = Address(fromBase58String(a(z(), w())))
118118
119119
120120 func L () = Address(fromBase58String(a(z(), y())))
121121
122122
123123 func M (N) = if (isDefined(N.assetId))
124124 then throw("RCAP: Please attach waves")
125125 else {
126126 let O = getIntegerValue(z(), x())
127127 if ((N.amount != O))
128128 then throw((("RCAP: Please attach exactly " + toString(O)) + " amount of wavelets"))
129129 else [ScriptTransfer(L(), O, unit)]
130130 }
131131
132132
133133 let P = 1000
134134
135135 func Q (c) = {
136136 let d = getInteger(this, c)
137137 if ($isInstanceOf(d, "Int"))
138138 then {
139139 let R = d
140140 R
141141 }
142142 else 0
143143 }
144144
145145
146146 func S (h) = {
147147 let d = h
148148 if ($isInstanceOf(d, "String"))
149149 then {
150150 let T = d
151151 T
152152 }
153153 else if ($isInstanceOf(d, "Int"))
154154 then {
155155 let T = d
156156 throw("wrong type, expected: String, got: Int")
157157 }
158158 else if ($isInstanceOf(d, "Unit"))
159159 then {
160160 let T = d
161161 throw("wrong type, expected: String, got: Unit")
162162 }
163163 else throw("wrong type, expected: String")
164164 }
165165
166166
167167 let O = Q("currentPrice")
168168
169169 func U (V) = if (contains(V, "0"))
170170 then ""
171171 else V
172172
173173
174174 func W (X) = if ((X == "G"))
175175 then B()
176176 else C()
177177
178178
179179 func Y (Z,X) = {
180180 let aa = getIntegerValue(W(X), (("stats_" + Z) + "_quantity"))
181181 let ab = pow((10000 / aa), 4, 5, 1, 2, FLOOR)
182182 if ((ab > 0))
183183 then ab
184184 else 2
185185 }
186186
187187
188188 func ac (ad) = if (if ((value(assetInfo(ad)).issuer == C()))
189189 then true
190190 else (value(assetInfo(ad)).issuer == B()))
191191 then {
192192 let ae = value(assetInfo(ad)).name
193193 let X = take(takeRight(ae, 2), 1)
194194 let af = S(invoke(C(), "getGenFromName", [ae], nil))
195195 if ((af == af))
196196 then $Tuple2(af, Y(af, X))
197197 else throw("Strict value is not equal to itself.")
198198 }
199199 else throw("not valid NFT")
200200
201201
202202 func ag (ah,ai,aj,ak) = {
203203 let al = value(blockInfoByHeight((aj - 1)))
204204 let am = sha256((ai + value(al.vrf)))
205205 (toInt(am, (ak * 8)) % ah)
206206 }
207207
208208
209209 func an (ao,ap,aq) = {
210- let ar = (P - fraction((P / 2), aq, 100))
211- let as = ag(ar, ao, ap, 1)
212- if ((as == 1))
210+ let ar = ag(10, ao, ap, 1)
211+ if ((ar == 1))
213212 then "phoenix"
214213 else {
215- let at = ag(1000, ao, ap, 0)
216- if ((10 > at))
214+ let as = ag(1000, ao, ap, 0)
215+ if ((10 > as))
217216 then "item!ART-FREEGENE"
218- else if ((126 > at))
217+ else if ((126 > as))
219218 then "ar"
220- else if ((186 > at))
219+ else if ((186 > as))
221220 then "item!ART-FIRE_ARMOUR"
222- else if ((206 > at))
221+ else if ((206 > as))
223222 then "item!ART-FEED5"
224- else if ((226 > at))
223+ else if ((226 > as))
225224 then "item!ART-FEED10"
226- else if ((246 > at))
225+ else if ((246 > as))
227226 then "item!ART-FEED15"
228- else if ((266 > at))
227+ else if ((266 > as))
229228 then "item!ART-FEED20"
230- else if ((286 > at))
229+ else if ((286 > as))
231230 then "item!ART-FEED25"
232- else if ((296 > at))
231+ else if ((296 > as))
233232 then "item!ART-FEED50"
234- else if ((300 > at))
233+ else if ((300 > as))
235234 then "item!ART-FEED100"
236- else if ((310 > at))
235+ else if ((310 > as))
237236 then "item!ART-CROWN"
238- else if ((350 > at))
237+ else if ((350 > as))
239238 then "incubator"
240- else if ((460 > at))
239+ else if ((460 > as))
241240 then if ((50 > aq))
242241 then "item!ART-BUILTBODY"
243242 else "item!ART-MUTARIUM-D"
244- else if ((480 > at))
243+ else if ((480 > as))
245244 then "item!ART-SNAKE"
246- else if ((510 > at))
245+ else if ((510 > as))
247246 then "item!ART-ROBODUCK"
248- else if ((600 > at))
247+ else if ((600 > as))
249248 then "item!ART-KATANA"
250- else if ((650 > at))
249+ else if ((650 > as))
251250 then if ((50 > aq))
252251 then "item!ART-SCEPTER"
253252 else "item!ART-MUTARIUM-D"
254- else if ((710 > at))
253+ else if ((710 > as))
255254 then "item!ART-MUTARIUM-D"
256- else if ((720 > at))
255+ else if ((720 > as))
257256 then "item!ART-MUTARIUM-G"
258- else if ((890 > at))
257+ else if ((890 > as))
259258 then "duckling_10"
260- else if ((960 > at))
259+ else if ((960 > as))
261260 then "duckling_20"
262261 else "duckling_40"
263262 }
264263 }
265264
266265
267-func au (ad) = {
266+func at (ad) = {
268267 let ae = value(assetInfo(ad)).name
269268 let X = take(takeRight(ae, 2), 1)
270269 if (if ((X == "G"))
271270 then true
272271 else (X == "J"))
273272 then B()
274273 else C()
275274 }
276275
277276
278-func av (h) = {
277+func au (h) = {
279278 let d = h
280279 if ($isInstanceOf(d, "Int"))
281280 then {
282- let aw = d
283- aw
281+ let av = d
282+ av
284283 }
285284 else if ($isInstanceOf(d, "String"))
286285 then {
287- let ax = d
288- throw(("RAI: wrong type, expected: Int, but got: " + ax))
286+ let aw = d
287+ throw(("RAI: wrong type, expected: Int, but got: " + aw))
289288 }
290289 else throw("RAI: wrong type, expected: Int")
291290 }
292291
293292
294-func ay (c) = {
293+func ax (c) = {
295294 let d = getBoolean(this, c)
296295 if ($isInstanceOf(d, "Boolean"))
297296 then {
298297 let R = d
299298 R
300299 }
301300 else false
302301 }
303302
304303
305-func az () = ay("TESTENV")
304+func ay () = ax("TESTENV")
306305
307306
308-func aA (aB,b,N,aC) = {
309- let aD = Q((((("address_" + b) + "_initTx_") + aB) + "_finishBlock"))
310- let aq = Q((((("address_" + b) + "_initTx_") + aB) + "_assetRarity"))
311- let aE = j((((("address_" + b) + "_initTx_") + aB) + "_status"))
312- let aF = M(N)
313- if ((aF == aF))
307+func az (aA,b,N,aB) = {
308+ let aC = Q((((("address_" + b) + "_initTx_") + aA) + "_finishBlock"))
309+ let aq = Q((((("address_" + b) + "_initTx_") + aA) + "_assetRarity"))
310+ let aD = j((((("address_" + b) + "_initTx_") + aA) + "_status"))
311+ let aE = M(N)
312+ if ((aE == aE))
314313 then {
315- let aG = invoke(H(), "recordAction", ["REBIRTH"], nil)
316- if ((aG == aG))
314+ let aF = invoke(H(), "recordAction", ["REBIRTH"], nil)
315+ if ((aF == aF))
317316 then {
318- func aH (b) = fromBase58String(a(b, "static_accessItemAssetId"))
317+ func aG (b) = fromBase58String(a(b, "static_accessItemAssetId"))
319318
320- func aI (b) = f(b, "static_accessItemPrice")
319+ func aH (b) = f(b, "static_accessItemPrice")
321320
322- if ((aE != "open"))
321+ if ((aD != "open"))
323322 then throw("rebirth is finished or not open")
324- else if ((aD > height))
323+ else if ((aC > height))
325324 then throw("you cannot finish rebirth, yet")
326325 else {
327- let aJ = an(fromBase58String(aB), aD, aq)
328- let ai = aB
329- let aK = if ((indexOf(aJ, "perch") != unit))
326+ let aI = an(fromBase58String(aA), aC, aq)
327+ let ai = aA
328+ let aJ = if ((indexOf(aI, "perch") != unit))
330329 then {
331- let aL = takeRight(aJ, 1)
332- let aK = if (!(aC))
330+ let aK = takeRight(aI, 1)
331+ let aJ = if (!(aB))
333332 then {
334- let aM = invoke(D(), "addFreePerch", [b, aL, 1], nil)
335- if ((aM == aM))
336- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
333+ let aL = invoke(D(), "addFreePerch", [b, aK, 1], nil)
334+ if ((aL == aL))
335+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
337336 else throw("Strict value is not equal to itself.")
338337 }
339338 else {
340- let aM = invoke(D(), "addFreePerch", [b, aL, 2], nil)
341- if ((aM == aM))
342- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)]
339+ let aL = invoke(D(), "addFreePerch", [b, aK, 2], nil)
340+ if ((aL == aL))
341+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result1"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), aI)]
343342 else throw("Strict value is not equal to itself.")
344343 }
345- if ((aK == aK))
346- then aK
344+ if ((aJ == aJ))
345+ then aJ
347346 else throw("Strict value is not equal to itself.")
348347 }
349- else if ((aJ == "incubator"))
348+ else if ((aI == "incubator"))
350349 then {
351- let aK = if (!(aC))
350+ let aJ = if (!(aB))
352351 then {
353- let aM = invoke(B(), "issueFreeDuck", [b, ai], nil)
354- if ((aM == aM))
355- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
352+ let aL = invoke(B(), "issueFreeDuck", [b, ai], nil)
353+ if ((aL == aL))
354+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
356355 else throw("Strict value is not equal to itself.")
357356 }
358357 else {
359- let aM = invoke(B(), "issueFreeDuck", [b, ai], nil)
360- if ((aM == aM))
358+ let aL = invoke(B(), "issueFreeDuck", [b, ai], nil)
359+ if ((aL == aL))
361360 then {
362- let aN = invoke(E(), "issueFreeDuckling", [b, ai, 100], nil)
363- if ((aN == aN))
364- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result1"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), "duckling_100")]
361+ let aM = invoke(E(), "issueFreeDuckling", [b, ai, 100], nil)
362+ if ((aM == aM))
363+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result1"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), "duckling_100")]
365364 else throw("Strict value is not equal to itself.")
366365 }
367366 else throw("Strict value is not equal to itself.")
368367 }
369- if ((aK == aK))
370- then aK
368+ if ((aJ == aJ))
369+ then aJ
371370 else throw("Strict value is not equal to itself.")
372371 }
373- else if ((aJ == "ar"))
372+ else if ((aI == "ar"))
374373 then {
375- let ad = aH(I())
376- let aO = aI(I())
377- let aP = invoke(I(), "buyAccessItemOther", [b], [AttachedPayment(ad, aO)])
378- if ((aP == aP))
379- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
374+ let ad = aG(I())
375+ let aN = aH(I())
376+ let aO = invoke(I(), "buyAccessItemOther", [b], [AttachedPayment(ad, aN)])
377+ if ((aO == aO))
378+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
380379 else throw("Strict value is not equal to itself.")
381380 }
382- else if ((aJ == "phoenix"))
381+ else if ((aI == "phoenix"))
383382 then {
384- let aP = invoke(B(), "issueJackpot", [b, ai, valueOrElse(getString("JACKPOT_NAME"), "WWWWWWWP")], nil)
385- if ((aP == aP))
386- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
383+ let aO = invoke(B(), "issueJackpot", [b, ai, "WWWWHWTF"], nil)
384+ if ((aO == aO))
385+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
387386 else throw("Strict value is not equal to itself.")
388387 }
389- else if ((indexOf(aJ, "duckling") != unit))
388+ else if ((indexOf(aI, "duckling") != unit))
390389 then {
391- let aQ = parseIntValue(split(aJ, "_")[1])
392- let aR = if (aC)
393- then (2 * aQ)
394- else aQ
395- let aP = invoke(E(), "issueFreeDuckling", [b, ai, aR], nil)
396- if ((aP == aP))
397- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aP))]
390+ let aP = parseIntValue(split(aI, "_")[1])
391+ let aQ = if (aB)
392+ then (2 * aP)
393+ else aP
394+ let aO = invoke(E(), "issueFreeDuckling", [b, ai, aQ], nil)
395+ if ((aO == aO))
396+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aO))]
398397 else throw("Strict value is not equal to itself.")
399398 }
400- else if ((indexOf(aJ, "item") != unit))
399+ else if ((indexOf(aI, "item") != unit))
401400 then {
402- let aS = split(aJ, "!")[1]
403- let aK = if (!(aC))
401+ let aR = split(aI, "!")[1]
402+ let aJ = if (!(aB))
404403 then {
405- let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil)
406- if ((aM == aM))
407- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM))]
404+ let aL = invoke(G(), "issueArtefactIndex", [aR, b, 0], nil)
405+ if ((aL == aL))
406+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL))]
408407 else throw("Strict value is not equal to itself.")
409408 }
410409 else {
411- let aM = invoke(G(), "issueArtefactIndex", [aS, b, 0], nil)
412- if ((aM == aM))
410+ let aL = invoke(G(), "issueArtefactIndex", [aR, b, 0], nil)
411+ if ((aL == aL))
413412 then {
414- let aN = invoke(G(), "issueArtefactIndex", [aS, b, 1], nil)
415- if ((aN == aN))
416- then [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_result"), S(aN)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win1"), aJ)]
413+ let aM = invoke(G(), "issueArtefactIndex", [aR, b, 1], nil)
414+ if ((aM == aM))
415+ then [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aL)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_result"), S(aM)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win1"), aI)]
417416 else throw("Strict value is not equal to itself.")
418417 }
419418 else throw("Strict value is not equal to itself.")
420419 }
421- if ((aK == aK))
422- then aK
420+ if ((aJ == aJ))
421+ then aJ
423422 else throw("Strict value is not equal to itself.")
424423 }
425424 else throw("RFB: Some error occured, please contact the admins!")
426- ((aK ++ [StringEntry((((("address_" + b) + "_initTx_") + aB) + "_win"), aJ), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "finish")]) ++ aF)
425+ ((aJ ++ [StringEntry((((("address_" + b) + "_initTx_") + aA) + "_win"), aI), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_status"), "finish")]) ++ aE)
427426 }
428427 }
429428 else throw("Strict value is not equal to itself.")
430429 }
431430 else throw("Strict value is not equal to itself.")
432431 }
433432
434433
435-@Callable(aT)
436-func configureOracle (aU) = if ((aT.caller != this))
434+@Callable(aS)
435+func configureOracle (aT) = if ((aS.caller != this))
437436 then throw("RCU: admin only")
438- else [StringEntry("static_oracleAddress", aU)]
437+ else [StringEntry("static_oracleAddress", aT)]
439438
440439
441440
442-@Callable(aT)
443-func initRebirth (aV) = {
444- let aW = aT.payments[0]
445- let ad = value(aW.assetId)
446- let aB = toBase58String(aT.transactionId)
447- let b = toString(aT.caller)
448- if ((aW.amount != 1))
441+@Callable(aS)
442+func initRebirth (aU) = {
443+ let aV = aS.payments[0]
444+ let ad = value(aV.assetId)
445+ let aA = toBase58String(aS.transactionId)
446+ let b = toString(aS.caller)
447+ if ((aV.amount != 1))
449448 then throw("NFT is not attached")
450449 else {
451- let aX = av(invoke(H(), "useCoupons", [O], nil))
452- if ((aX == aX))
450+ let aW = au(invoke(H(), "useCoupons", [O], nil))
451+ if ((aW == aW))
453452 then {
454- let aY = (O - aX)
455- let aF = M(aT.payments[1])
456- if ((aF == aF))
453+ let aX = (O - aW)
454+ let aE = M(aS.payments[1])
455+ if ((aE == aE))
457456 then {
458- let N = if ((aY != 0))
457+ let N = if ((aX != 0))
459458 then {
460- let aZ = value(aT.payments[2])
461- if ((aZ.assetId != A()))
459+ let aY = value(aS.payments[2])
460+ if ((aY.assetId != A()))
462461 then throw("You need to attach EGG tokens as fee")
463- else if ((aY > aZ.amount))
464- then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aY)))
462+ else if ((aX > aY.amount))
463+ then throw(("You need to attach the following amount of EGG tokens as fee: 0." + toString(aX)))
465464 else {
466- let ba = fraction(aY, 5, 100)
467- let bb = g(invoke(K(), "refPayment", [aV], [AttachedPayment(A(), ba)]))
468- if ((bb == bb))
465+ let aZ = fraction(aX, 5, 100)
466+ let ba = g(invoke(K(), "refPayment", [aU], [AttachedPayment(A(), aZ)]))
467+ if ((ba == ba))
469468 then {
470- let bc = if (bb)
471- then (aY - ba)
472- else aY
473- let bd = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(A(), bc)])
474- if ((bd == bd))
475- then aY
469+ let bb = if (ba)
470+ then (aX - aZ)
471+ else aX
472+ let bc = invoke(J(), "burnAttachedPayments", nil, [AttachedPayment(A(), bb)])
473+ if ((bc == bc))
474+ then aX
476475 else throw("Strict value is not equal to itself.")
477476 }
478477 else throw("Strict value is not equal to itself.")
479478 }
480479 }
481480 else 0
482481 if ((N == N))
483482 then {
484- let be = ac(ad)
485- let bf = be._1
486- let bg = be._2
487- let aP = invoke(au(ad), "reduceRarity", [toBase58String(ad), bf], nil)
488- if ((aP == aP))
489- then ([IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_finishBlock"), (height + k)), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_status"), "open"), IntegerEntry((((("address_" + b) + "_initTx_") + aB) + "_assetRarity"), bg), StringEntry((((("address_" + b) + "_initTx_") + aB) + "_assetId"), toBase58String(ad))] ++ aF)
483+ let bd = ac(ad)
484+ let be = bd._1
485+ let bf = bd._2
486+ let aO = invoke(at(ad), "reduceRarity", [toBase58String(ad), be], nil)
487+ if ((aO == aO))
488+ then ([IntegerEntry((((("address_" + b) + "_initTx_") + aA) + "_finishBlock"), (height + k)), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_status"), "open"), IntegerEntry((((("address_" + b) + "_initTx_") + aA) + "_assetRarity"), bf), StringEntry((((("address_" + b) + "_initTx_") + aA) + "_assetId"), toBase58String(ad))] ++ aE)
490489 else throw("Strict value is not equal to itself.")
491490 }
492491 else throw("Strict value is not equal to itself.")
493492 }
494493 else throw("Strict value is not equal to itself.")
495494 }
496495 else throw("Strict value is not equal to itself.")
497496 }
498497 }
499498
500499
501500
502-@Callable(aT)
503-func finishRebirth (aB) = aA(aB, toString(aT.caller), aT.payments[0], false)
501+@Callable(aS)
502+func finishRebirth (aA) = az(aA, toString(aS.caller), aS.payments[0], false)
504503
505504
506505
507-@Callable(aT)
508-func finishRebirthDouble (aB) = if (!(if ((size(aT.payments) == 2))
509- then (aT.payments[0].amount == 1)
506+@Callable(aS)
507+func finishRebirthDouble (aA) = if (!(if ((size(aS.payments) == 2))
508+ then (aS.payments[0].amount == 1)
510509 else false))
511510 then throw("Invalid payment")
512511 else {
513- let ad = value(aT.payments[0].assetId)
514- let bh = S(invoke(G(), "checkArtefactDetails", [toBase58String(ad)], nil))
515- if ((bh == bh))
516- then if ((bh == "ART-GIFT_DOUBL"))
517- then ([Burn(ad, 1)] ++ aA(aB, toString(aT.caller), aT.payments[1], true))
512+ let ad = value(aS.payments[0].assetId)
513+ let bg = S(invoke(G(), "checkArtefactDetails", [toBase58String(ad)], nil))
514+ if ((bg == bg))
515+ then if ((bg == "ART-GIFT_DOUBL"))
516+ then ([Burn(ad, 1)] ++ az(aA, toString(aS.caller), aS.payments[1], true))
518517 else throw("Error! Wrong item attached to double rewards!")
519518 else throw("Strict value is not equal to itself.")
520519 }
521520
522521
523522 @Verifier(ao)
524-func bi () = if (az())
523+func bh () = if (ay())
525524 then sigVerify(ao.bodyBytes, ao.proofs[0], ao.senderPublicKey)
526525 else {
527- let bj = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
528- let bk = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
529- let bl = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
526+ let bi = base58'6TdaXEfhnjYquvPf3yV7MFxt2CbgFmaqsvGwkKfXtKi4'
527+ let bj = base58'7DsP2WaMLocbHuUxux7pbXRjTrrZ1TFQPsi5QumS3gr8'
528+ let bk = base58'BpFWP3p3JgYrrP45xfrKzeMcWMEXoinj4FVPPkUiA8D3'
529+ let bl = if (sigVerify(ao.bodyBytes, ao.proofs[0], bi))
530+ then 1
531+ else if (sigVerify(ao.bodyBytes, ao.proofs[1], bi))
532+ then 1
533+ else if (sigVerify(ao.bodyBytes, ao.proofs[2], bi))
534+ then 1
535+ else 0
530536 let bm = if (sigVerify(ao.bodyBytes, ao.proofs[0], bj))
531537 then 1
532538 else if (sigVerify(ao.bodyBytes, ao.proofs[1], bj))
533539 then 1
534540 else if (sigVerify(ao.bodyBytes, ao.proofs[2], bj))
535541 then 1
536542 else 0
537543 let bn = if (sigVerify(ao.bodyBytes, ao.proofs[0], bk))
538544 then 1
539545 else if (sigVerify(ao.bodyBytes, ao.proofs[1], bk))
540546 then 1
541547 else if (sigVerify(ao.bodyBytes, ao.proofs[2], bk))
542548 then 1
543549 else 0
544- let bo = if (sigVerify(ao.bodyBytes, ao.proofs[0], bl))
545- then 1
546- else if (sigVerify(ao.bodyBytes, ao.proofs[1], bl))
547- then 1
548- else if (sigVerify(ao.bodyBytes, ao.proofs[2], bl))
549- then 1
550- else 0
551- let bp = ((bm + bn) + bo)
550+ let bo = ((bl + bm) + bn)
552551 let d = ao
553- (bp >= 2)
552+ (bo >= 2)
554553 }
555554

github/deemru/w8io/169f3d6 
186.07 ms