tx · 2rUbxR6F7QRUAqNdb5GbvuiF4bZv1KPnLSR1RUCGk5oL

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03200000 Waves

2024.12.04 13:20 [3399779] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "2rUbxR6F7QRUAqNdb5GbvuiF4bZv1KPnLSR1RUCGk5oL", "fee": 3200000, "feeAssetId": null, "timestamp": 1733307645031, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "GUVXBiqrBwBWX8JJQuMEURAe8uhhrrnhTJLq7JQMep9vi7YoYRZPnCQ9zBfWorLE66DPcGVfSwxaTnY9dau5PQt" ], "script": "base64:BgJJCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASAHwAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkA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RyTmF0aXZlKDEwNTMpAgULd2xnQ29udHJhY3QFC3RlYW1BZGRyS2V5BQdmb3JUZWFtBQp3bGdBc3NldElkCQELRGVsZXRlRW50cnkBBQlmaW5pc2hLZXkJAJQKAgUKbmZ0QXNzZXRJZAUJd2xnUmVtYWluAWkBD2NvbW1pdEZvclJhbmRvbQAEDXByb2xvZ0FjdGlvbnMJAQZwcm9sb2cBBQFpBARhZGRyCQClCAEIBQFpBmNhbGxlcgQJZmluaXNoS2V5CQEJa2V5Q29tbWl0AQUEYWRkcgMJAQlpc0RlZmluZWQBCQCfCAEFCWZpbmlzaEtleQkAAgECLllvdSBhbHJlYWR5IGNvbW1pdGVkIGZvciByYW5kb20sIHBsZWFzZSB1c2UgaXQEC2ZpbmlzaEJsb2NrCQBkAgUGaGVpZ2h0BQxSQU5ET01fREVMQVkJAJQKAgkAzggCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQlmaW5pc2hLZXkFC2ZpbmlzaEJsb2NrBQNuaWwFDXByb2xvZ0FjdGlvbnMFC2ZpbmlzaEJsb2NrADxymsM=", "height": 3399779, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HvCawoY6qa1VZjPv49TbxwWpKWfphHMy5HgEJcmw8P66 Next: 34MNQfzVvRtU2yayxeo3GKHD2g9FFSjrMoedkeJHtnRd Diff:
OldNewDifferences
292292 func bg (L) = ("lastArbTimeUser_" + L)
293293
294294
295-let bh = "lastAcresSellTime"
295+let bh = 1733335200000
296296
297-let bi = "lastLimitLeft"
297+let bi = "lastAcresSellTime"
298298
299-let bj = ["Gold shovel", "Pickaxe"]
299+let bj = "lastLimitLeft"
300300
301-let bk = ["Reward for early birds", "Increases FarmPower"]
301+let bk = ["Gold shovel", "Pickaxe"]
302302
303-let bl = 0
303+let bl = ["Reward for early birds", "Increases FarmPower"]
304304
305-let bm = 1
305+let bm = 0
306306
307-let bn = [5, 10, 20]
307+let bn = 1
308308
309-let bo = 0
309+let bo = [5, 10, 20]
310310
311-let bp = 1
311+let bp = 0
312312
313-let bq = 2
313+let bq = 1
314314
315-let br = ["SHOVEL", "PICKAXE"]
315+let br = 2
316316
317-let bs = 0
317+let bs = ["SHOVEL", "PICKAXE"]
318318
319-let bt = 1
319+let bt = 0
320320
321-let bu = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
321+let bu = 1
322322
323-let bv = 0
323+let bv = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
324324
325-let bw = 4
325+let bw = 0
326326
327-let bx = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
327+let bx = 4
328328
329-let by = 0
329+let by = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
330330
331-let bz = 1
331+let bz = 0
332332
333-let bA = 2
333+let bA = 1
334334
335-let bB = 3
335+let bB = 2
336336
337-let bC = 4
337+let bC = 3
338338
339-let bD = ["Digging tools"]
339+let bD = 4
340340
341-let bE = 0
341+let bE = ["Digging tools"]
342342
343-let bF = ["FarmPower"]
343+let bF = 0
344344
345-let bG = 0
345+let bG = ["FarmPower"]
346346
347-func bH (bI) = if (if ((bI.originCaller != E))
347+let bH = 0
348+
349+func bI (bJ) = if (if ((bJ.originCaller != E))
348350 then valueOrElse(getBoolean(J()), false)
349351 else false)
350352 then throw("Contracts are under maintenance")
351353 else {
352- let L = toString(bI.originCaller)
353- let bJ = (height / l)
354- let bK = K(L)
355- let bL = getString(bK)
356- let bM = toBase58String(bI.transactionId)
357- let bN = ((toString(bJ) + "_") + bM)
358- let bO = M(L)
359- if (isDefined(bL))
354+ let L = toString(bJ.originCaller)
355+ let bK = (height / l)
356+ let bL = K(L)
357+ let bM = getString(bL)
358+ let bN = toBase58String(bJ.transactionId)
359+ let bO = ((toString(bK) + "_") + bN)
360+ let bP = M(L)
361+ if (isDefined(bM))
360362 then {
361- let bP = split(value(bL), "_")
362- if ((bP[0] == toString(bJ)))
363- then [StringEntry(bK, bN), StringEntry(bO, bN)]
364- else if ((bP[0] == toString((bJ - 1))))
365- then [StringEntry(bO, bN)]
363+ let bQ = split(value(bM), "_")
364+ if ((bQ[0] == toString(bK)))
365+ then [StringEntry(bL, bO), StringEntry(bP, bO)]
366+ else if ((bQ[0] == toString((bK - 1))))
367+ then [StringEntry(bP, bO)]
366368 else {
367- let bQ = getStringValue(bO)
368- let bR = split(bQ, "_")
369- if ((bR[0] == toString(bJ)))
370- then [StringEntry(bO, bN)]
371- else [StringEntry(bK, bQ), StringEntry(bO, bN)]
369+ let bR = getStringValue(bP)
370+ let bS = split(bR, "_")
371+ if ((bS[0] == toString(bK)))
372+ then [StringEntry(bP, bO)]
373+ else [StringEntry(bL, bR), StringEntry(bP, bO)]
372374 }
373375 }
374- else [StringEntry(bK, bN), StringEntry(bO, bN)]
376+ else [StringEntry(bL, bO), StringEntry(bP, bO)]
375377 }
376378
377379
378-func bS (bT,bU,bV,bW,bX,bY,bZ,ca) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + bT) + "\", ") + "\"number\": ") + toString(bU)) + ", ") + "\"collection\": \"") + bV) + "\", ") + "\"name\": \"") + bW) + "\", ") + "\"description\": \"") + bX) + "\", ") + "\"rare\": \"") + bY) + "\", ") + "\"bonus\": ") + toString(bZ)) + ", ") + "\"bonusType\": \"") + ca) + "\"}")
380+func bT (bU,bV,bW,bX,bY,bZ,ca,cb) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + bU) + "\", ") + "\"number\": ") + toString(bV)) + ", ") + "\"collection\": \"") + bW) + "\", ") + "\"name\": \"") + bX) + "\", ") + "\"description\": \"") + bY) + "\", ") + "\"rare\": \"") + bZ) + "\", ") + "\"bonus\": ") + toString(ca)) + ", ") + "\"bonusType\": \"") + cb) + "\"}")
379381
380382
381-func cb (cc,cd,ce,cf,cg,ch,ci,L) = {
382- let bU = valueOrElse(getInteger(aF), 0)
383- let bY = bx[cf]
384- let bW = (((br[cc] + "-") + take(bY, 1)) + toString(cg))
385- let cj = Issue(bW, bS(bu[cd], bU, bD[ce], bj[cc], bk[ch], bx[cf], cg, bF[ci]), 1, 0, false)
386- let ck = calculateAssetId(cj)
387- $Tuple2([cj, IntegerEntry(aF, (bU + 1)), IntegerEntry(aJ(toBase58String(ck)), bU), ScriptTransfer(L, 1, ck)], ck)
383+func cc (cd,ce,cf,cg,ch,ci,cj,L) = {
384+ let bV = valueOrElse(getInteger(aF), 0)
385+ let bZ = by[cg]
386+ let bX = (((bs[cd] + "-") + take(bZ, 1)) + toString(ch))
387+ let ck = Issue(bX, bT(bv[ce], bV, bE[cf], bk[cd], bl[ci], by[cg], ch, bG[cj]), 1, 0, false)
388+ let cl = calculateAssetId(ck)
389+ $Tuple2([ck, IntegerEntry(aF, (bV + 1)), IntegerEntry(aJ(toBase58String(cl)), bV), ScriptTransfer(L, 1, cl)], cl)
388390 }
389391
390392
391-func cl (bX) = if (!(contains(bX, "\"bonusType\": \"FarmPower\"")))
392- then throw(("NFT is not supported: " + bX))
393+func cm (bY) = if (!(contains(bY, "\"bonusType\": \"FarmPower\"")))
394+ then throw(("NFT is not supported: " + bY))
393395 else {
394- let cm = split_4C(split_4C(bX, "\"bonus\":")[1], ",")[0]
395- parseIntValue(drop(cm, (valueOrElse(lastIndexOf(cm, " "), -1) + 1)))
396+ let cn = split_4C(split_4C(bY, "\"bonus\":")[1], ",")[0]
397+ parseIntValue(drop(cn, (valueOrElse(lastIndexOf(cn, " "), -1) + 1)))
396398 }
397399
398400
399-func cn (bX) = if (!(contains(bX, "\"rare\"")))
400- then throw(("NFT is not supported: " + bX))
401+func co (bY) = if (!(contains(bY, "\"rare\"")))
402+ then throw(("NFT is not supported: " + bY))
401403 else {
402- let co = split_4C(split_4C(split_4C(bX, "\"rare\"")[1], ",")[0], "\"")[1]
403- value(indexOf(bx, co))
404+ let cp = split_4C(split_4C(split_4C(bY, "\"rare\"")[1], ",")[0], "\"")[1]
405+ value(indexOf(by, cp))
404406 }
405407
406408
407-func cp (cq,s,cr) = if (if ((cq == 0))
408- then (cr == 0)
409+func cq (cr,s,cs) = if (if ((cr == 0))
410+ then (cs == 0)
409411 else false)
410412 then throw("Nothing to do")
411413 else {
412- let cs = invoke(G, "onStakeUnstakeLand", [s, true], nil)
413- if ((cs == cs))
414+ let ct = invoke(G, "onStakeUnstakeLand", [s, true], nil)
415+ if ((ct == ct))
414416 then {
415- let ct = lastBlock.timestamp
416- let cu = T(s)
417- let cv = ax(s)
418- let cw = valueOrElse(getInteger(cv), 0)
419- if (if ((0 > cq))
420- then (0 > (cw + cq))
417+ let cu = lastBlock.timestamp
418+ let cv = T(s)
419+ let cw = ax(s)
420+ let cx = valueOrElse(getInteger(cw), 0)
421+ if (if ((0 > cr))
422+ then (0 > (cx + cr))
421423 else false)
422- then throw(((("You have only " + aj(cw, 8)) + " ACRES staked, tried to unstake ") + aj(-(cq), 8)))
424+ then throw(((("You have only " + aj(cx, 8)) + " ACRES staked, tried to unstake ") + aj(-(cr), 8)))
423425 else {
424- let cx = (cw + cq)
425- let cy = valueOrElse(getInteger(az), 0)
426- let cz = ay(s)
427- let cA = valueOrElse(getInteger(cz), 0)
428- let cB = aM(s)
429- let cC = valueOrElse(getInteger(F, cB), 0)
430- if (if ((0 > cr))
431- then (0 > (cC + cr))
426+ let cy = (cx + cr)
427+ let cz = valueOrElse(getInteger(az), 0)
428+ let cA = ay(s)
429+ let cB = valueOrElse(getInteger(cA), 0)
430+ let cC = aM(s)
431+ let cD = valueOrElse(getInteger(F, cC), 0)
432+ if (if ((0 > cs))
433+ then (0 > (cD + cs))
432434 else false)
433- then throw((((("You have only " + aj(cC, 4)) + "% bonus, and tried to unstake ") + aj(-(cr), 4)) + "%"))
435+ then throw((((("You have only " + aj(cD, 4)) + "% bonus, and tried to unstake ") + aj(-(cs), 4)) + "%"))
434436 else {
435- let cD = bc(cx, (cC + cr))
436- let cE = cD._1
437- let cF = cD._2
438- let cG = valueOrElse(getInteger(aA), 0)
439- let cH = if ((cq == 0))
440- then nil
441- else [IntegerEntry(cv, cx), IntegerEntry(az, (cy + cq))]
437+ let cE = bc(cy, (cD + cs))
438+ let cF = cE._1
439+ let cG = cE._2
440+ let cH = valueOrElse(getInteger(aA), 0)
442441 let cI = if ((cr == 0))
443442 then nil
444- else [IntegerEntry(cB, (cC + cr))]
445- $Tuple2(((((cH ++ cI) :+ IntegerEntry(cu, lastBlock.timestamp)) :+ IntegerEntry(cz, cE)) :+ IntegerEntry(aA, ((cG + cE) - cA))), cs)
443+ else [IntegerEntry(cw, cy), IntegerEntry(az, (cz + cr))]
444+ let cJ = if ((cs == 0))
445+ then nil
446+ else [IntegerEntry(cC, (cD + cs))]
447+ $Tuple2(((((cI ++ cJ) :+ IntegerEntry(cv, lastBlock.timestamp)) :+ IntegerEntry(cA, cF)) :+ IntegerEntry(aA, ((cH + cF) - cB))), ct)
446448 }
447449 }
448450 }
450452 }
451453
452454
453-func cJ (cK) = {
454- let cL = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet")
455- let cM = assetBalance(G, n)
456- let cN = (assetBalance(F, n) - cK)
457- let cO = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
458- let cP = ((cN + cM) + cO)
459- fraction(cP, d, cL)
455+func cK (cL) = {
456+ let cM = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet")
457+ let cN = assetBalance(G, n)
458+ let cO = (assetBalance(F, n) - cL)
459+ let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
460+ let cQ = ((cO + cN) + cP)
461+ fraction(cQ, d, cM)
460462 }
461463
462464
463-func cQ () = {
464- let cM = assetBalance(G, n)
465- let cN = assetBalance(this, n)
466- let cO = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
467- let cR = (((cN + cM) + cO) / h)
468- let cS = valueOrElse(getInteger(bi), cR)
469- let cT = valueOrElse(getInteger(bh), 0)
470- let ct = lastBlock.timestamp
471- let cU = (cS + fraction(cR, (ct - cT), f))
472- let cV = min([cU, cR])
473- $Tuple2(IntegerEntry(bh, ct), cV)
465+func cR () = {
466+ let cN = assetBalance(G, n)
467+ let cO = assetBalance(this, n)
468+ let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
469+ let cS = (((cO + cN) + cP) / h)
470+ let cT = valueOrElse(getInteger(bj), cS)
471+ let cU = valueOrElse(getInteger(bi), 0)
472+ let cu = lastBlock.timestamp
473+ let cV = (cT + fraction(cS, (cu - cU), f))
474+ let cW = min([cV, cS])
475+ $Tuple2(IntegerEntry(bi, cu), cW)
474476 }
475477
476478
477-let cW = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
479+let cX = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
478480
479-let cX = valueOrElse(getString(cW, "static_incubatorAddress"), "")
481+let cY = valueOrElse(getString(cX, "static_incubatorAddress"), "")
480482
481-let cY = valueOrElse(getString(cW, "static_breederAddress"), "")
483+let cZ = valueOrElse(getString(cX, "static_breederAddress"), "")
482484
483-let cZ = valueOrElse(getString(cW, "static_turtleIncubatorAddress"), "")
485+let da = valueOrElse(getString(cX, "static_turtleIncubatorAddress"), "")
484486
485-let da = valueOrElse(getString(cW, "static_turtleBreederAddress"), "")
487+let db = valueOrElse(getString(cX, "static_turtleBreederAddress"), "")
486488
487-let db = valueOrElse(getString(cW, "static_canineIncubatorAddress"), "")
489+let dc = valueOrElse(getString(cX, "static_canineIncubatorAddress"), "")
488490
489-let dc = valueOrElse(getString(cW, "static_canineBreederAddress"), "")
491+let dd = valueOrElse(getString(cX, "static_canineBreederAddress"), "")
490492
491-let dd = valueOrElse(getString(cW, "static_felineIncubatorAddress"), "")
493+let de = valueOrElse(getString(cX, "static_felineIncubatorAddress"), "")
492494
493-let de = valueOrElse(getString(cW, "static_felineBreederAddress"), "")
495+let df = valueOrElse(getString(cX, "static_felineBreederAddress"), "")
494496
495-let df = valueOrElse(getString(cW, "static_mutantIncubatorAddress"), "")
497+let dg = valueOrElse(getString(cX, "static_mutantIncubatorAddress"), "")
496498
497-func dg (dh) = {
498- let di = toString(dh.issuer)
499+func dh (di) = {
500+ let dj = toString(di.issuer)
499501 if (if (if (if (if (if (if (if (if (if ((k == base58'2T'))
500- then (di == q)
502+ then (dj == q)
501503 else false)
502504 then true
503- else (di == cX))
505+ else (dj == cY))
504506 then true
505- else (di == cY))
507+ else (dj == cZ))
506508 then true
507- else (di == cZ))
509+ else (dj == da))
508510 then true
509- else (di == da))
511+ else (dj == db))
510512 then true
511- else (di == db))
513+ else (dj == dc))
512514 then true
513- else (di == dc))
515+ else (dj == dd))
514516 then true
515- else (di == dd))
517+ else (dj == de))
516518 then true
517- else (di == de))
518- then dh.name
519- else if ((di == df))
520- then dh.description
519+ else (dj == df))
520+ then di.name
521+ else if ((dj == dg))
522+ then di.description
521523 else ""
522524 }
523525
524526
525-func dj (L,dk,bd,dl,dm,dn) = {
526- let do = valueOrElse(getInteger(dl), 0)
527- if ((do >= dn))
528- then throw((("You can stake max " + toString(dn)) + " of such NFTs"))
527+func dk (L,dl,bd,dm,dn,do) = {
528+ let dp = valueOrElse(getInteger(dm), 0)
529+ if ((dp >= do))
530+ then throw((("You can stake max " + toString(do)) + " of such NFTs"))
529531 else {
530- let dp = cp(0, L, bd)
531- let dq = dp._1
532- let dr = dp._2
533- $Tuple2((((dq :+ IntegerEntry(dl, (do + 1))) :+ IntegerEntry(dm, (valueOrElse(getInteger(dm), 0) + 1))) :+ IntegerEntry(X(dk, L), lastBlock.timestamp)), dr)
532+ let dq = cq(0, L, bd)
533+ let dr = dq._1
534+ let ds = dq._2
535+ $Tuple2((((dr :+ IntegerEntry(dm, (dp + 1))) :+ IntegerEntry(dn, (valueOrElse(getInteger(dn), 0) + 1))) :+ IntegerEntry(X(dl, L), lastBlock.timestamp)), ds)
534536 }
535537 }
536538
537539
538-@Callable(bI)
539-func saveLastTx () = if (!(containsElement([G], bI.caller)))
540+@Callable(bJ)
541+func saveLastTx () = if (!(containsElement([G], bJ.caller)))
540542 then throw("Access denied")
541- else $Tuple2(bH(bI), 42)
543+ else $Tuple2(bI(bJ), 42)
542544
543545
544546
545-@Callable(bI)
546-func constructorV1 (ds,dt) = if ((bI.caller != this))
547+@Callable(bJ)
548+func constructorV1 (dt,du) = if ((bJ.caller != this))
547549 then throw("Permission denied")
548550 else {
549- let du = addressFromStringValue(dt)
550-[IntegerEntry(Q, getIntegerValue(du, Q)), BinaryEntry(R, getBinaryValue(du, R)), StringEntry(y(), ds), StringEntry(I, dt)]
551+ let dv = addressFromStringValue(du)
552+[IntegerEntry(Q, getIntegerValue(dv, Q)), BinaryEntry(R, getBinaryValue(dv, R)), StringEntry(y(), dt), StringEntry(I, du)]
551553 }
552554
553555
554556
555-@Callable(bI)
556-func setBlocked (dv) = if ((bI.caller != this))
557+@Callable(bJ)
558+func setBlocked (dw) = if ((bJ.caller != this))
557559 then throw("permission denied")
558- else [BooleanEntry(J(), dv)]
560+ else [BooleanEntry(J(), dw)]
559561
560562
561563
562-@Callable(bI)
563-func unstakeAcres (dw) = {
564- let dx = bH(bI)
565- if ((0 >= dw))
564+@Callable(bJ)
565+func unstakeAcres (dx) = {
566+ let dy = bI(bJ)
567+ if ((0 >= dx))
566568 then throw("Amount should be positive")
567569 else {
568- let s = toString(bI.caller)
569- if ((size(bI.payments) != 0))
570+ let s = toString(bJ.caller)
571+ if ((size(bJ.payments) != 0))
570572 then throw("No payments required")
571573 else {
572- let dy = (valueOrElse(getInteger(G, bg(s)), 0) + p)
573- if ((dy > lastBlock.timestamp))
574- then throw(("You traded some WLGOLD, cannot unstake until " + toString(dy)))
574+ let dz = (valueOrElse(getInteger(G, bg(s)), 0) + p)
575+ if ((dz > lastBlock.timestamp))
576+ then throw(("You traded some WLGOLD, cannot unstake until " + toString(dz)))
575577 else {
576- let dz = cp(-(dw), s, 0)
577- let dq = dz._1
578- let dr = dz._2
579- $Tuple2(((dq :+ ScriptTransfer(bI.caller, dw, S)) ++ dx), dr)
578+ let dA = cq(-(dx), s, 0)
579+ let dr = dA._1
580+ let ds = dA._2
581+ $Tuple2(((dr :+ ScriptTransfer(bJ.caller, dx, S)) ++ dy), ds)
580582 }
581583 }
582584 }
584586
585587
586588
587-@Callable(bI)
589+@Callable(bJ)
588590 func stakeAcres () = {
589- let dx = bH(bI)
590- let s = toString(bI.caller)
591- if ((size(bI.payments) != 1))
591+ let dy = bI(bJ)
592+ let s = toString(bJ.caller)
593+ if ((size(bJ.payments) != 1))
592594 then throw("exactly 1 payment must be attached")
593595 else {
594- let dA = bI.payments[0]
595- let cq = dA.amount
596- if (if (!(isDefined(dA.assetId)))
596+ let dB = bJ.payments[0]
597+ let cr = dB.amount
598+ if (if (!(isDefined(dB.assetId)))
597599 then true
598- else (value(dA.assetId) != S))
600+ else (value(dB.assetId) != S))
599601 then throw("ACRES payments only!")
600602 else {
601- let dB = cp(cq, s, 0)
602- let dq = dB._1
603- let dr = dB._2
604- $Tuple2((dq ++ dx), dr)
603+ let dC = cq(cr, s, 0)
604+ let dr = dC._1
605+ let ds = dC._2
606+ $Tuple2((dr ++ dy), ds)
605607 }
606608 }
607609 }
608610
609611
610612
611-@Callable(bI)
613+@Callable(bJ)
612614 func buyAcres () = {
613- let dx = bH(bI)
614- if ((size(bI.payments) != 1))
615+ let dy = bI(bJ)
616+ if ((size(bJ.payments) != 1))
615617 then throw("exactly 1 payment must be attached")
616618 else {
617- let dA = bI.payments[0]
618- let dC = dA.amount
619- if (if (!(isDefined(dA.assetId)))
619+ let dB = bJ.payments[0]
620+ let dD = dB.amount
621+ if (if (!(isDefined(dB.assetId)))
620622 then true
621- else (value(dA.assetId) != n))
623+ else (value(dB.assetId) != n))
622624 then throw("USDT payments only!")
623- else if ((b > dC))
625+ else if ((b > dD))
624626 then throw((("Min payment should be " + aj(b, 6)) + " USDT"))
625627 else {
626- let dD = (dC * g)
627- let dE = fraction(dC, d, cJ(dC))
628- let dF = addressFromStringValue(getStringValue(I))
629- let dG = invoke(dF, "requestAcresCallback", [dD], nil)
630- if ((dG == dG))
628+ let dE = (dD * g)
629+ let dF = fraction(dD, d, cK(dD))
630+ let dG = addressFromStringValue(getStringValue(I))
631+ let dH = invoke(dG, "requestAcresCallback", [dE], nil)
632+ if ((dH == dH))
631633 then {
632- let dH = aa(invoke(G, "burnWlgold", [dE], nil))
633- $Tuple2(([ScriptTransfer(bI.caller, dD, S)] ++ dx), dH)
634+ let dI = aa(invoke(G, "burnWlgold", [dF], nil))
635+ $Tuple2(([ScriptTransfer(bJ.caller, dE, S)] ++ dy), dI)
634636 }
635637 else throw("Strict value is not equal to itself.")
636638 }
639641
640642
641643
642-@Callable(bI)
643-func buyAcresREADONLY (dC) = {
644- let dD = (dC * g)
645- let dI = fraction(dC, d, cJ(dC))
646- $Tuple2(nil, [dD, b, dD, dI])
644+@Callable(bJ)
645+func buyAcresREADONLY (dD) = {
646+ let dE = (dD * g)
647+ let dJ = fraction(dD, d, cK(dD))
648+ $Tuple2(nil, [dE, b, dE, dJ])
647649 }
648650
649651
650652
651-@Callable(bI)
653+@Callable(bJ)
652654 func sellAcres () = {
653- let dx = bH(bI)
654- if ((size(bI.payments) != 1))
655+ let dy = bI(bJ)
656+ if ((size(bJ.payments) != 1))
655657 then throw("exactly 1 payment must be attached")
656658 else {
657- let dA = bI.payments[0]
658- let dD = dA.amount
659- if (if (!(isDefined(dA.assetId)))
659+ let dB = bJ.payments[0]
660+ let dE = dB.amount
661+ if (if (!(isDefined(dB.assetId)))
660662 then true
661- else (value(dA.assetId) != S))
663+ else (value(dB.assetId) != S))
662664 then throw("ACRES payments only!")
663- else if ((c > dD))
665+ else if ((c > dE))
664666 then throw((("Min payment should be " + aj(c, 8)) + " ACRES"))
665667 else {
666- let L = toString(bI.caller)
667- let dJ = cQ()
668- let dK = dJ._1
669- let dL = dJ._2
670- let dM = (dL * g)
671- if ((dD > dM))
672- then throw((("You can sell max " + aj(dM, 8)) + " ACRES"))
668+ let L = toString(bJ.caller)
669+ let dK = cR()
670+ let dL = dK._1
671+ let dM = dK._2
672+ let dN = (dM * g)
673+ if ((dE > dN))
674+ then throw((("You can sell max " + aj(dN, 8)) + " ACRES"))
673675 else {
674- let dC = ((dD / g) / 2)
675- $Tuple2(([dK, IntegerEntry(bi, (dL - dC)), ScriptTransfer(bI.caller, dC, n)] ++ dx), dC)
676+ let dD = ((dE / g) / 2)
677+ $Tuple2(([dL, IntegerEntry(bj, (dM - dD)), ScriptTransfer(bJ.caller, dD, n)] ++ dy), dD)
676678 }
677679 }
678680 }
680682
681683
682684
683-@Callable(bI)
684-func sellAcresREADONLY (s,dD) = {
685- let dN = cQ()
686- let dK = dN._1
687- let dL = dN._2
688- let dC = ((dD / g) / 2)
689- $Tuple2(nil, [dC, c, (dL * g), 0])
685+@Callable(bJ)
686+func sellAcresREADONLY (s,dE) = {
687+ let dO = cR()
688+ let dL = dO._1
689+ let dM = dO._2
690+ let dD = ((dE / g) / 2)
691+ $Tuple2(nil, [dD, c, (dM * g), 0])
690692 }
691693
692694
693695
694-@Callable(bI)
696+@Callable(bJ)
695697 func convertOldStakes () = {
696- let dx = bH(bI)
697- let s = toString(bI.caller)
698- if ((size(bI.payments) != 0))
699- then throw("No payments required")
698+ let dy = bI(bJ)
699+ if ((bh > lastBlock.timestamp))
700+ then throw(("Disabled until " + toString((bh / 1000))))
700701 else {
701- let dF = addressFromStringValue(getStringValue(I))
702- let dw = valueOrElse(getInteger(dF, ax(s)), 0)
703- let dO = if ((dw > 0))
704- then ai(invoke(dF, "unstakeAcresCallback", [dw, s], nil))
705- else $Tuple2(0, 0)
706- let dP = addressFromStringValue(q)
707- let dQ = getString(dP, U(s))
708- let dR = if (isDefined(dQ))
709- then {
710- let dS = split_51C(value(dQ), "_")
711- func dT (aS,dU) = if ((dU == ""))
712- then throw("landAssetId is required")
713- else {
714- let dV = ad(invoke(dP, "unstakeLandCallback", [dU, s], nil))
715- $Tuple5((aS._1 + dV._1), (aS._2 + dV._2), (aS._3 + dV._3), (aS._4 + dV._4), (aS._5 + dV._5))
716- }
702+ let s = toString(bJ.caller)
703+ if ((size(bJ.payments) != 0))
704+ then throw("No payments required")
705+ else {
706+ let dG = addressFromStringValue(getStringValue(I))
707+ let dx = valueOrElse(getInteger(dG, ax(s)), 0)
708+ let dP = if ((dx > 0))
709+ then ai(invoke(dG, "unstakeAcresCallback", [dx, s], nil))
710+ else $Tuple2(0, 0)
711+ let dQ = addressFromStringValue(q)
712+ let dR = getString(dQ, U(s))
713+ let dS = if (isDefined(dR))
714+ then {
715+ let dT = split_51C(value(dR), "_")
716+ func dU (aS,dV) = if ((dV == ""))
717+ then throw("landAssetId is required")
718+ else {
719+ let dW = ad(invoke(dQ, "unstakeLandCallback", [dV, s], nil))
720+ $Tuple5((aS._1 + dW._1), (aS._2 + dW._2), (aS._3 + dW._3), (aS._4 + dW._4), (aS._5 + dW._5))
721+ }
717722
718- let dW = {
719- let aU = dS
720- let aV = size(aU)
721- let aW = $Tuple5(0, 0, 0, 0, 0)
722- func aX (aY,aZ) = if ((aZ >= aV))
723- then aY
724- else dT(aY, aU[aZ])
723+ let dX = {
724+ let aU = dT
725+ let aV = size(aU)
726+ let aW = $Tuple5(0, 0, 0, 0, 0)
727+ func aX (aY,aZ) = if ((aZ >= aV))
728+ then aY
729+ else dU(aY, aU[aZ])
725730
726- func ba (aY,aZ) = if ((aZ >= aV))
727- then aY
728- else throw("List size exceeds 100")
731+ func ba (aY,aZ) = if ((aZ >= aV))
732+ then aY
733+ else throw("List size exceeds 100")
729734
730- ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
731- }
732- let dX = invoke(dP, "unstakeLandsFinalizeCallback", [s], nil)
733- if ((dX == dX))
734- then {
735- let dG = invoke(dF, "requestAcresCallback", [(((dW._1 + dW._2) + dW._3) + dW._4)], nil)
736- if ((dG == dG))
735+ ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
736+ }
737+ let dY = invoke(dQ, "unstakeLandsFinalizeCallback", [s], nil)
738+ if ((dY == dY))
737739 then {
738- let dY = cb(bs, bw, bE, bC, 3, bl, bG, bI.caller)
739- let dZ = dY._1
740- let ck = dY._2
741- $Tuple6(dW._1, dW._2, dW._3, dW._4, dW._5, dZ)
740+ let dH = invoke(dG, "requestAcresCallback", [(((dX._1 + dX._2) + dX._3) + dX._4)], nil)
741+ if ((dH == dH))
742+ then {
743+ let dZ = cc(bt, bx, bF, bD, 3, bm, bH, bJ.caller)
744+ let ea = dZ._1
745+ let cl = dZ._2
746+ $Tuple6(dX._1, dX._2, dX._3, dX._4, dX._5, ea)
747+ }
748+ else throw("Strict value is not equal to itself.")
742749 }
743750 else throw("Strict value is not equal to itself.")
744751 }
745- else throw("Strict value is not equal to itself.")
752+ else $Tuple6(0, 0, 0, 0, 0, nil)
753+ let eb = valueOrElse(getString(dQ, W(s)), "")
754+ let ec = if ((eb != ""))
755+ then ah(invoke(dQ, "unstakeDuckCallback", [eb, s], nil))
756+ else $Tuple3(0, 0, 0)
757+ let ed = cq((((((((dP._1 + dS._1) + dS._2) + dS._3) + dS._4) + ec._1) + ec._2) + ec._3), s, 0)
758+ $Tuple2(((dS._6 ++ ed._1) ++ dy), $Tuple3(dP._2, dS._5, ed._2))
746759 }
747- else $Tuple6(0, 0, 0, 0, 0, nil)
748- let ea = valueOrElse(getString(dP, W(s)), "")
749- let eb = if ((ea != ""))
750- then ah(invoke(dP, "unstakeDuckCallback", [ea, s], nil))
751- else $Tuple3(0, 0, 0)
752- let ec = cp((((((((dO._1 + dR._1) + dR._2) + dR._3) + dR._4) + eb._1) + eb._2) + eb._3), s, 0)
753- $Tuple2(((dR._6 ++ ec._1) ++ dx), $Tuple3(dO._2, dR._5, ec._2))
754760 }
755761 }
756762
757763
758764
759-@Callable(bI)
765+@Callable(bJ)
760766 func unstakeLandsREADONLY (s) = {
761- let dP = addressFromStringValue(q)
762- let dQ = getString(dP, U(s))
763- let dR = if (isDefined(dQ))
767+ let dQ = addressFromStringValue(q)
768+ let dR = getString(dQ, U(s))
769+ let dS = if (isDefined(dR))
764770 then {
765- let dS = split_51C(value(dQ), "_")
766- func dT (aS,dU) = if ((dU == ""))
771+ let dT = split_51C(value(dR), "_")
772+ func dU (aS,dV) = if ((dV == ""))
767773 then throw("landAssetId is required")
768774 else {
769- let dV = ag(invoke(dP, "unstakeLandREADONLY", [dU, s], nil))
770- $Tuple4((aS._1 + dV._1), (aS._2 + dV._2), (aS._3 + dV._3), (aS._4 + dV._4))
775+ let dW = ag(invoke(dQ, "unstakeLandREADONLY", [dV, s], nil))
776+ $Tuple4((aS._1 + dW._1), (aS._2 + dW._2), (aS._3 + dW._3), (aS._4 + dW._4))
771777 }
772778
773- let aU = dS
779+ let aU = dT
774780 let aV = size(aU)
775781 let aW = $Tuple4(0, 0, 0, 0)
776782 func aX (aY,aZ) = if ((aZ >= aV))
777783 then aY
778- else dT(aY, aU[aZ])
784+ else dU(aY, aU[aZ])
779785
780786 func ba (aY,aZ) = if ((aZ >= aV))
781787 then aY
784790 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
785791 }
786792 else $Tuple4(0, 0, 0, 0)
787- $Tuple2(nil, dR)
793+ $Tuple2(nil, dS)
788794 }
789795
790796
791797
792-@Callable(bI)
793-func stakeAcresCallback (L) = if ((bI.caller != addressFromStringValue(q)))
798+@Callable(bJ)
799+func stakeAcresCallback (L) = if ((bJ.caller != addressFromStringValue(q)))
794800 then throw("Permission denied")
795- else cp(bI.payments[0].amount, L, 0)
801+ else cq(bJ.payments[0].amount, L, 0)
796802
797803
798804
799-@Callable(bI)
800-func simulateStakeAcresREADONLY (s,ed) = {
801- let cv = ax(s)
802- let cx = (valueOrElse(getInteger(cv), 0) + ed)
803- let cy = valueOrElse(getInteger(az), 0)
804- let cz = ay(s)
805- let cA = valueOrElse(getInteger(cz), 0)
806- let ee = valueOrElse(getInteger(F, aM(s)), 0)
807- let ef = bc(cx, ee)
808- let cE = ef._1
809- let cF = ef._2
810- let cG = valueOrElse(getInteger(aA), 0)
811- let eg = ((cG + cE) - cA)
812- $Tuple2(nil, [cA, cE, cG, eg])
805+@Callable(bJ)
806+func simulateStakeAcresREADONLY (s,ee) = {
807+ let cw = ax(s)
808+ let cy = (valueOrElse(getInteger(cw), 0) + ee)
809+ let cz = valueOrElse(getInteger(az), 0)
810+ let cA = ay(s)
811+ let cB = valueOrElse(getInteger(cA), 0)
812+ let ef = valueOrElse(getInteger(F, aM(s)), 0)
813+ let eg = bc(cy, ef)
814+ let cF = eg._1
815+ let cG = eg._2
816+ let cH = valueOrElse(getInteger(aA), 0)
817+ let eh = ((cH + cF) - cB)
818+ $Tuple2(nil, [cB, cF, cH, eh])
813819 }
814820
815821
816822
817-@Callable(bI)
818-func issuePickC1 (eh) = if ((bI.caller != G))
823+@Callable(bJ)
824+func issuePickC1 (ei) = if ((bJ.caller != G))
819825 then throw("Permission denied")
820- else cb(bt, bv, bE, by, 1, bm, bG, addressFromStringValue(eh))
826+ else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue(ei))
821827
822828
823829
824-@Callable(bI)
830+@Callable(bJ)
825831 func stakeNFT () = {
826- let dx = bH(bI)
827- if ((size(bI.payments) != 1))
832+ let dy = bI(bJ)
833+ if ((size(bJ.payments) != 1))
828834 then throw("Exactly one payment required")
829835 else {
830- let dA = value(bI.payments[0])
831- if ((dA.amount != 1))
836+ let dB = value(bJ.payments[0])
837+ if ((dB.amount != 1))
832838 then throw("NFT token should be attached as payment")
833839 else {
834- let Y = value(dA.assetId)
835- let ei = value(assetInfo(Y))
836- let dk = toBase58String(Y)
837- let L = toString(bI.caller)
838- let ej = Z(L)
839- let ek = getString(ej)
840- let el = if (isDefined(ek))
841- then split_4C(value(ek), "_")
840+ let Y = value(dB.assetId)
841+ let ej = value(assetInfo(Y))
842+ let dl = toBase58String(Y)
843+ let L = toString(bJ.caller)
844+ let ek = Z(L)
845+ let el = getString(ek)
846+ let em = if (isDefined(el))
847+ then split_4C(value(el), "_")
842848 else nil
843- if (containsElement(el, dk))
844- then throw(("Your staked NFTs already contain " + dk))
845- else if ((size(el) >= aE))
849+ if (containsElement(em, dl))
850+ then throw(("Your staked NFTs already contain " + dl))
851+ else if ((size(em) >= aE))
846852 then throw((("Your already staked max (" + toString(aE)) + ") NFTs"))
847853 else {
848- let em = StringEntry(ej, makeString_2C((el :+ dk), "_"))
849- if ((ei.issuer == this))
854+ let en = StringEntry(ek, makeString_2C((em :+ dl), "_"))
855+ if ((ej.issuer == this))
850856 then {
851- let en = dj(L, dk, (cl(value(ei.description)) * 10000), aK(L), aH, aB)
852- let dq = en._1
853- let dr = en._2
854- $Tuple2(((dx ++ dq) :+ em), dr)
857+ let eo = dk(L, dl, (cm(value(ej.description)) * 10000), aK(L), aH, aB)
858+ let dr = eo._1
859+ let ds = eo._2
860+ $Tuple2(((dy ++ dr) :+ en), ds)
855861 }
856- else if ((dg(ei) == ""))
862+ else if ((dh(ej) == ""))
857863 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
858864 else {
859- let eo = dj(L, dk, aD, aL(L), aI, aC)
860- let dq = eo._1
861- let dr = eo._2
862- $Tuple2(((dx ++ dq) :+ em), dr)
865+ let ep = dk(L, dl, aD, aL(L), aI, aC)
866+ let dr = ep._1
867+ let ds = ep._2
868+ $Tuple2(((dy ++ dr) :+ en), ds)
863869 }
864870 }
865871 }
868874
869875
870876
871-@Callable(bI)
872-func unstakeNFT (dk) = {
873- let dx = bH(bI)
874- if ((size(bI.payments) != 0))
877+@Callable(bJ)
878+func unstakeNFT (dl) = {
879+ let dy = bI(bJ)
880+ if ((size(bJ.payments) != 0))
875881 then throw("No payments required")
876882 else {
877- let Y = fromBase58String(dk)
878- let L = toString(bI.caller)
879- let ei = value(assetInfo(Y))
880- let cu = X(dk, L)
881- if (!(isDefined(getInteger(cu))))
882- then throw((("NFT " + ei.name) + " is not staked by you"))
883+ let Y = fromBase58String(dl)
884+ let L = toString(bJ.caller)
885+ let ej = value(assetInfo(Y))
886+ let cv = X(dl, L)
887+ if (!(isDefined(getInteger(cv))))
888+ then throw((("NFT " + ej.name) + " is not staked by you"))
883889 else {
884- let ej = Z(L)
885- let el = split_4C(valueOrElse(getString(ej), ""), "_")
886- let D = indexOf(el, dk)
890+ let ek = Z(L)
891+ let em = split_4C(valueOrElse(getString(ek), ""), "_")
892+ let D = indexOf(em, dl)
887893 if (!(isDefined(D)))
888- then throw(("Your staked NFTs don't contain " + dk))
894+ then throw(("Your staked NFTs don't contain " + dl))
889895 else {
890- let em = if ((size(el) > 1))
891- then StringEntry(ej, makeString_2C(removeByIndex(el, value(D)), "_"))
892- else DeleteEntry(ej)
893- let ep = (ei.issuer == this)
894- if (ep)
896+ let en = if ((size(em) > 1))
897+ then StringEntry(ek, makeString_2C(removeByIndex(em, value(D)), "_"))
898+ else DeleteEntry(ek)
899+ let eq = (ej.issuer == this)
900+ if (eq)
895901 then {
896- let eq = valueOrElse(getInteger(aK(L)), 0)
897- let er = (cl(value(ei.description)) * 10000)
898- let es = cp(0, L, -(er))
899- let dq = es._1
900- let dr = es._2
901- $Tuple2(((((((dq :+ em) :+ IntegerEntry(aK(L), (eq - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bI.caller, 1, Y)) ++ dx), dr)
902+ let er = valueOrElse(getInteger(aK(L)), 0)
903+ let es = (cm(value(ej.description)) * 10000)
904+ let et = cq(0, L, -(es))
905+ let dr = et._1
906+ let ds = et._2
907+ $Tuple2(((((((dr :+ en) :+ IntegerEntry(aK(L), (er - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds)
902908 }
903909 else {
904- let et = dg(ei)
905- if ((et == ""))
910+ let eu = dh(ej)
911+ if ((eu == ""))
906912 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
907913 else {
908- let eu = valueOrElse(getInteger(aL(L)), 0)
909- let ev = cp(0, L, -(aD))
910- let dq = ev._1
911- let dr = ev._2
912- $Tuple2((((((dq :+ em) :+ IntegerEntry(aL(L), (eu - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bI.caller, 1, Y)) ++ dx), dr)
914+ let ev = valueOrElse(getInteger(aL(L)), 0)
915+ let ew = cq(0, L, -(aD))
916+ let dr = ew._1
917+ let ds = ew._2
918+ $Tuple2((((((dr :+ en) :+ IntegerEntry(aL(L), (ev - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds)
913919 }
914920 }
915921 }
919925
920926
921927
922-@Callable(bI)
928+@Callable(bJ)
923929 func exchangeNFTs () = {
924- let dx = bH(bI)
925- if ((3 > size(bI.payments)))
930+ let dy = bI(bJ)
931+ if ((3 > size(bJ.payments)))
926932 then throw("Min one WLGOLD and 2 NFT payments allowed")
927- else if ((size(bI.payments) > 10))
933+ else if ((size(bJ.payments) > 10))
928934 then throw("Max one WLGOLD and 9 NFT payments allowed")
929935 else {
930- let L = toString(bI.caller)
931- func ew (aS,dA) = {
932- let Y = valueOrErrorMessage(dA.assetId, "WAVES payments not allowed")
936+ let L = toString(bJ.caller)
937+ func ex (aS,dB) = {
938+ let Y = valueOrErrorMessage(dB.assetId, "WAVES payments not allowed")
933939 if ((Y == P))
934- then $Tuple4((aS._1 + dA.amount), aS._2, aS._3, aS._4)
940+ then $Tuple4((aS._1 + dB.amount), aS._2, aS._3, aS._4)
935941 else {
936- let ei = value(assetInfo(Y))
937- if ((ei.issuer != this))
942+ let ej = value(assetInfo(Y))
943+ if ((ej.issuer != this))
938944 then throw("Only WL-issued NFTs allowed")
939945 else {
940- let ex = cn(value(ei.description))
946+ let ey = co(value(ej.description))
941947 if (if ((aS._4 > 0))
942- then (ex != aS._4)
948+ then (ey != aS._4)
943949 else false)
944950 then throw("You can exchange only NFTs of the same rarity")
945951 else {
946- let cg = cl(value(ei.description))
947- $Tuple4(aS._1, (aS._2 + cg), (aS._3 :+ Burn(Y, 1)), ex)
952+ let ch = cm(value(ej.description))
953+ $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), ey)
948954 }
949955 }
950956 }
951957 }
952958
953- let ey = {
954- let aU = bI.payments
959+ let ez = {
960+ let aU = bJ.payments
955961 let aV = size(aU)
956962 let aW = $Tuple4(0, 0, nil, -1)
957963 func aX (aY,aZ) = if ((aZ >= aV))
958964 then aY
959- else ew(aY, aU[aZ])
965+ else ex(aY, aU[aZ])
960966
961967 func ba (aY,aZ) = if ((aZ >= aV))
962968 then aY
964970
965971 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
966972 }
967- let ez = ey._1
968- let eA = ey._2
969- let eB = ey._3
970- let cf = ey._4
971- let eC = if ((cf == by))
972- then if ((bn[bo] > eA))
973- then by
974- else if ((bn[bp] > eA))
975- then bz
976- else throw((("You can advance only one level of rarity, max total bonus " + toString(bn[bp])) + "%"))
977- else if ((cf == bz))
978- then if ((bn[bp] > eA))
979- then bz
980- else if ((bn[bq] > eA))
981- then bA
982- else throw((("You can advance only one level of rarity, max total bonus " + toString(bn[bq])) + "%"))
983- else if ((cf == bA))
984- then if ((bn[bq] > eA))
985- then bA
986- else bB
987- else if ((cf == bB))
973+ let eA = ez._1
974+ let eB = ez._2
975+ let eC = ez._3
976+ let cg = ez._4
977+ let eD = if ((cg == bz))
978+ then if ((bo[bp] > eB))
979+ then bz
980+ else if ((bo[bq] > eB))
981+ then bA
982+ else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[bq])) + "%"))
983+ else if ((cg == bA))
984+ then if ((bo[bq] > eB))
985+ then bA
986+ else if ((bo[br] > eB))
988987 then bB
989- else if ((cf == bC))
988+ else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[br])) + "%"))
989+ else if ((cg == bB))
990+ then if ((bo[br] > eB))
991+ then bB
992+ else bC
993+ else if ((cg == bC))
994+ then bC
995+ else if ((cg == bD))
990996 then throw("You can't exchange NFTs of this rarity")
991997 else throw("Unknown rarity")
992- let eD = fraction(eA, e, cJ(0))
993- let eE = (ez - eD)
994- let eF = (eD / 2)
995- let dH = aa(invoke(G, "burnWlgold", [(eD - eF)], nil))
996- if ((0 > eE))
997- then throw((("You need to attach " + aj(eD, 8)) + " WLGOLD as fee"))
998+ let eE = fraction(eB, e, cK(0))
999+ let eF = (eA - eE)
1000+ let eG = (eE / 2)
1001+ let dI = aa(invoke(G, "burnWlgold", [(eE - eG)], nil))
1002+ if ((0 > eF))
1003+ then throw((("You need to attach " + aj(eE, 8)) + " WLGOLD as fee"))
9981004 else {
999- let eG = if ((eE > 0))
1000- then [ScriptTransfer(bI.caller, eE, P)]
1005+ let eH = if ((eF > 0))
1006+ then [ScriptTransfer(bJ.caller, eF, P)]
10011007 else nil
1002- let eH = cb(bt, eC, bE, eC, eA, bm, bG, bI.caller)
1003- let eI = eH._1
1004- let ck = eH._2
1005- let eJ = size(eB)
1006- let eK = if ((eJ == 0))
1008+ let eI = cc(bu, eD, bF, eD, eB, bn, bH, bJ.caller)
1009+ let eJ = eI._1
1010+ let cl = eI._2
1011+ let eK = size(eC)
1012+ let eL = if ((eK == 0))
10071013 then nil
1008- else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eJ))]
1009- $Tuple2((((((eI ++ eB) ++ eK) ++ dx) ++ eG) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eF, P)), $Tuple2(ck, dH))
1014+ else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eK))]
1015+ $Tuple2((((((eJ ++ eC) ++ eL) ++ dy) ++ eH) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eG, P)), $Tuple2(cl, dI))
10101016 }
10111017 }
10121018 }
10131019
10141020
10151021
1016-@Callable(bI)
1022+@Callable(bJ)
10171023 func openNftChest () = {
1018- let dx = bH(bI)
1019- if ((size(bI.payments) != 1))
1024+ let dy = bI(bJ)
1025+ if ((size(bJ.payments) != 1))
10201026 then throw("exactly 1 payment must be attached")
10211027 else {
1022- let dA = bI.payments[0]
1023- let dE = dA.amount
1024- if (if (!(isDefined(dA.assetId)))
1028+ let dB = bJ.payments[0]
1029+ let dF = dB.amount
1030+ if (if (!(isDefined(dB.assetId)))
10251031 then true
1026- else (value(dA.assetId) != P))
1032+ else (value(dB.assetId) != P))
10271033 then throw("WLGOLD payments only!")
10281034 else {
1029- let eD = fraction(j, d, cJ(0))
1030- let eE = (dE - eD)
1031- let eF = (eD / 2)
1032- let dH = aa(invoke(G, "burnWlgold", [(eD - eF)], nil))
1033- if ((0 > eE))
1034- then throw((("You need to attach " + aj(eD, 8)) + " WLGOLD as fee"))
1035+ let eE = fraction(j, d, cK(0))
1036+ let eF = (dF - eE)
1037+ let eG = (eE / 2)
1038+ let dI = aa(invoke(G, "burnWlgold", [(eE - eG)], nil))
1039+ if ((0 > eF))
1040+ then throw((("You need to attach " + aj(eE, 8)) + " WLGOLD as fee"))
10351041 else {
1036- let eG = if ((eE > 0))
1037- then [ScriptTransfer(bI.caller, eE, P)]
1042+ let eH = if ((eF > 0))
1043+ then [ScriptTransfer(bJ.caller, eF, P)]
10381044 else nil
1039- let L = toString(bI.caller)
1040- let eL = N(L)
1041- let eM = valueOrErrorMessage(getInteger(eL), "You have to commitForRandom() first!")
1042- if ((eM > height))
1043- then throw(("Random number is not ready yet, wait until height = " + toString(eM)))
1045+ let L = toString(bJ.caller)
1046+ let eM = N(L)
1047+ let eN = valueOrErrorMessage(getInteger(eM), "You have to commitForRandom() first!")
1048+ if ((eN > height))
1049+ then throw(("Random number is not ready yet, wait until height = " + toString(eN)))
10441050 else {
1045- let ar = value(value(blockInfoByHeight(eM)).vrf)
1051+ let ar = value(value(blockInfoByHeight(eN)).vrf)
10461052 let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1])
1047- let eN = ao(100, aq, ar)
1048- let eO = if ((84 > eN))
1049- then $Tuple2(1, by)
1050- else if ((98 > eN))
1051- then $Tuple2(5, bz)
1052- else $Tuple2(10, bA)
1053- let bZ = eO._1
1054- let cf = eO._2
1055- let eP = cb(bt, cf, bE, cf, bZ, bm, bG, bI.caller)
1056- let eI = eP._1
1057- let ck = eP._2
1058- $Tuple2(((((eI ++ dx) ++ eG) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eF, P)) :+ DeleteEntry(eL)), $Tuple2(ck, dH))
1053+ let eO = ao(100, aq, ar)
1054+ let eP = if ((84 > eO))
1055+ then $Tuple2(1, bz)
1056+ else if ((98 > eO))
1057+ then $Tuple2(5, bA)
1058+ else $Tuple2(10, bB)
1059+ let ca = eP._1
1060+ let cg = eP._2
1061+ let eQ = cc(bu, cg, bF, cg, ca, bn, bH, bJ.caller)
1062+ let eJ = eQ._1
1063+ let cl = eQ._2
1064+ $Tuple2(((((eJ ++ dy) ++ eH) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eG, P)) :+ DeleteEntry(eM)), $Tuple2(cl, dI))
10591065 }
10601066 }
10611067 }
10641070
10651071
10661072
1067-@Callable(bI)
1073+@Callable(bJ)
10681074 func commitForRandom () = {
1069- let dx = bH(bI)
1070- let L = toString(bI.caller)
1071- let eL = N(L)
1072- if (isDefined(getInteger(eL)))
1075+ let dy = bI(bJ)
1076+ let L = toString(bJ.caller)
1077+ let eM = N(L)
1078+ if (isDefined(getInteger(eM)))
10731079 then throw("You already commited for random, please use it")
10741080 else {
1075- let eM = (height + i)
1076- $Tuple2(([IntegerEntry(eL, eM)] ++ dx), eM)
1081+ let eN = (height + i)
1082+ $Tuple2(([IntegerEntry(eM, eN)] ++ dy), eN)
10771083 }
10781084 }
10791085
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "__"
55
66 let b = 1000000
77
88 let c = 10000000
99
1010 let d = 100000000
1111
1212 let e = 100000000000000
1313
1414 let f = 86400000
1515
1616 let g = 10
1717
1818 let h = 100
1919
2020 let i = 2
2121
2222 let j = 5000000
2323
2424 let k = take(drop(this.bytes, 1), 1)
2525
2626 let l = {
2727 let m = k
2828 if ((base58'2W' == m))
2929 then 10080
3030 else if ((base58'2T' == m))
3131 then 180
3232 else throw("Unknown chain")
3333 }
3434
3535 let n = {
3636 let m = k
3737 if ((base58'2W' == m))
3838 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
3939 else if ((base58'2T' == m))
4040 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
4141 else throw("Unknown chain")
4242 }
4343
4444 let o = {
4545 let m = k
4646 if ((base58'2W' == m))
4747 then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8"
4848 else if ((base58'2T' == m))
4949 then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv"
5050 else throw("Unknown chain")
5151 }
5252
5353 let p = {
5454 let m = k
5555 if ((base58'2W' == m))
5656 then f
5757 else if ((base58'2T' == m))
5858 then 60000
5959 else throw("Unknown chain")
6060 }
6161
6262 let q = {
6363 let m = k
6464 if ((base58'2W' == m))
6565 then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1"
6666 else if ((base58'2T' == m))
6767 then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm"
6868 else throw("Unknown chain")
6969 }
7070
7171 func r (s,t) = valueOrErrorMessage(getString(s, t), makeString(["mandatory ", toString(s), ".", t, " is not defined"], ""))
7272
7373
7474 let u = 1
7575
7676 let v = 2
7777
7878 let w = 5
7979
8080 func x () = "%s__restConfig"
8181
8282
8383 func y () = "%s__rest2Addr"
8484
8585
8686 func z (A) = split_4C(r(A, x()), a)
8787
8888
8989 func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Rest cfg doesn't contain address at index " + toString(D)))
9090
9191
9292 let E = addressFromStringValue(valueOrElse(getString(this, y()), o))
9393
9494 let C = z(E)
9595
9696 let F = B(C, u)
9797
9898 let G = B(C, v)
9999
100100 let H = B(C, w)
101101
102102 let I = "oldAcresContract"
103103
104104 func J () = "contractsBlocked"
105105
106106
107107 func K (L) = ("lastWeekTxIdByUser_" + L)
108108
109109
110110 func M (L) = ("curWeekTxIdByUser_" + L)
111111
112112
113113 func N (s) = ("finishBlockFor_" + s)
114114
115115
116116 let O = "wlg_assetId"
117117
118118 let P = valueOrErrorMessage(getBinary(G, O), "WLGOLD is not issued yet")
119119
120120 let Q = "acresIssuedAmount"
121121
122122 let R = "acresAssetId"
123123
124124 let S = valueOrErrorMessage(getBinary(F, R), "ACRES is not issued yet")
125125
126126 func T (L) = ("acresStakedTimeByUser_" + L)
127127
128128
129129 func U (V) = ("stakedLandsByOwner_" + V)
130130
131131
132132 func W (V) = ("stakedDuckByOwner_" + V)
133133
134134
135135 func X (Y,L) = ((("st_" + Y) + "_") + L)
136136
137137
138138 func Z (V) = ("stakedNFTsByOwner_" + V)
139139
140140
141141 func aa (ab) = {
142142 let m = ab
143143 if ($isInstanceOf(m, "Int"))
144144 then {
145145 let ac = m
146146 ac
147147 }
148148 else throw("fail to cast into Int")
149149 }
150150
151151
152152 func ad (ae) = {
153153 let m = ae
154154 if ($isInstanceOf(m, "(Int, Int, Int, Int, Int)"))
155155 then {
156156 let af = m
157157 af
158158 }
159159 else throw("fail to cast into (Int, Int, Int, Int, Int)")
160160 }
161161
162162
163163 func ag (ae) = {
164164 let m = ae
165165 if ($isInstanceOf(m, "(Int, Int, Int, Int)"))
166166 then {
167167 let af = m
168168 af
169169 }
170170 else throw("fail to cast into (Int, Int, Int, Int)")
171171 }
172172
173173
174174 func ah (ae) = {
175175 let m = ae
176176 if ($isInstanceOf(m, "(Int, Int, Int)"))
177177 then {
178178 let af = m
179179 af
180180 }
181181 else throw("fail to cast into (Int, Int, Int)")
182182 }
183183
184184
185185 func ai (ae) = {
186186 let m = ae
187187 if ($isInstanceOf(m, "(Int, Int)"))
188188 then {
189189 let af = m
190190 af
191191 }
192192 else throw("fail to cast into (Int, Int)")
193193 }
194194
195195
196196 func aj (ae,ak) = {
197197 let al = pow(10, 0, ak, 0, 0, DOWN)
198198 let am = toString((ae % al))
199199 let an = drop(toString(al), (1 + size(am)))
200200 (((toString((ae / al)) + ".") + an) + am)
201201 }
202202
203203
204204 func ao (ap,aq,ar) = if ((0 >= ap))
205205 then throw("maxValue should be > 0")
206206 else {
207207 let as = sha256_16Kb((aq + ar))
208208 (toInt(as) % ap)
209209 }
210210
211211
212212 let at = 1000000
213213
214214 let au = 100000000
215215
216216 let av = "wlg_issuedAmount"
217217
218218 let aw = "zbill_issuedAmount"
219219
220220 func ax (L) = ("acresStakedAmountByUser_" + L)
221221
222222
223223 func ay (L) = ("farmingPowerByUser_" + L)
224224
225225
226226 let az = "acresStakedAmountTotal"
227227
228228 let aA = "totalFarmingPower"
229229
230230 let aB = 3
231231
232232 let aC = 1
233233
234234 let aD = 5000
235235
236236 let aE = 4
237237
238238 let aF = "nftTotalIssued"
239239
240240 let aG = "nftTotalBurned"
241241
242242 let aH = "WlNftTotalStaked"
243243
244244 let aI = "ArkNftTotalStaked"
245245
246246 func aJ (Y) = ("nftNumberByAssetId_" + Y)
247247
248248
249249 func aK (L) = ("userWlNftNumber_" + L)
250250
251251
252252 func aL (L) = ("userArkNftNumber_" + L)
253253
254254
255255 func aM (L) = ("userFullBonus_" + L)
256256
257257
258258 let aN = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000]
259259
260260 func aO (aP) = {
261261 let aQ = ((aP + 99999999) / au)
262262 func aR (aS,aT) = if ((aT >= aQ))
263263 then aS
264264 else (aS + 1)
265265
266266 let aU = aN
267267 let aV = size(aU)
268268 let aW = 0
269269 func aX (aY,aZ) = if ((aZ >= aV))
270270 then aY
271271 else aR(aY, aU[aZ])
272272
273273 func ba (aY,aZ) = if ((aZ >= aV))
274274 then aY
275275 else throw("List size exceeds 10")
276276
277277 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
278278 }
279279
280280
281281 func bb (aP) = ((aP * 20) * (aO(aP) + 4))
282282
283283
284284 func bc (aP,bd) = {
285285 let be = bb(aP)
286286 $Tuple2(fraction(be, (at + bd), at), be)
287287 }
288288
289289
290290 let bf = "teamAddr"
291291
292292 func bg (L) = ("lastArbTimeUser_" + L)
293293
294294
295-let bh = "lastAcresSellTime"
295+let bh = 1733335200000
296296
297-let bi = "lastLimitLeft"
297+let bi = "lastAcresSellTime"
298298
299-let bj = ["Gold shovel", "Pickaxe"]
299+let bj = "lastLimitLeft"
300300
301-let bk = ["Reward for early birds", "Increases FarmPower"]
301+let bk = ["Gold shovel", "Pickaxe"]
302302
303-let bl = 0
303+let bl = ["Reward for early birds", "Increases FarmPower"]
304304
305-let bm = 1
305+let bm = 0
306306
307-let bn = [5, 10, 20]
307+let bn = 1
308308
309-let bo = 0
309+let bo = [5, 10, 20]
310310
311-let bp = 1
311+let bp = 0
312312
313-let bq = 2
313+let bq = 1
314314
315-let br = ["SHOVEL", "PICKAXE"]
315+let br = 2
316316
317-let bs = 0
317+let bs = ["SHOVEL", "PICKAXE"]
318318
319-let bt = 1
319+let bt = 0
320320
321-let bu = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
321+let bu = 1
322322
323-let bv = 0
323+let bv = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
324324
325-let bw = 4
325+let bw = 0
326326
327-let bx = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
327+let bx = 4
328328
329-let by = 0
329+let by = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
330330
331-let bz = 1
331+let bz = 0
332332
333-let bA = 2
333+let bA = 1
334334
335-let bB = 3
335+let bB = 2
336336
337-let bC = 4
337+let bC = 3
338338
339-let bD = ["Digging tools"]
339+let bD = 4
340340
341-let bE = 0
341+let bE = ["Digging tools"]
342342
343-let bF = ["FarmPower"]
343+let bF = 0
344344
345-let bG = 0
345+let bG = ["FarmPower"]
346346
347-func bH (bI) = if (if ((bI.originCaller != E))
347+let bH = 0
348+
349+func bI (bJ) = if (if ((bJ.originCaller != E))
348350 then valueOrElse(getBoolean(J()), false)
349351 else false)
350352 then throw("Contracts are under maintenance")
351353 else {
352- let L = toString(bI.originCaller)
353- let bJ = (height / l)
354- let bK = K(L)
355- let bL = getString(bK)
356- let bM = toBase58String(bI.transactionId)
357- let bN = ((toString(bJ) + "_") + bM)
358- let bO = M(L)
359- if (isDefined(bL))
354+ let L = toString(bJ.originCaller)
355+ let bK = (height / l)
356+ let bL = K(L)
357+ let bM = getString(bL)
358+ let bN = toBase58String(bJ.transactionId)
359+ let bO = ((toString(bK) + "_") + bN)
360+ let bP = M(L)
361+ if (isDefined(bM))
360362 then {
361- let bP = split(value(bL), "_")
362- if ((bP[0] == toString(bJ)))
363- then [StringEntry(bK, bN), StringEntry(bO, bN)]
364- else if ((bP[0] == toString((bJ - 1))))
365- then [StringEntry(bO, bN)]
363+ let bQ = split(value(bM), "_")
364+ if ((bQ[0] == toString(bK)))
365+ then [StringEntry(bL, bO), StringEntry(bP, bO)]
366+ else if ((bQ[0] == toString((bK - 1))))
367+ then [StringEntry(bP, bO)]
366368 else {
367- let bQ = getStringValue(bO)
368- let bR = split(bQ, "_")
369- if ((bR[0] == toString(bJ)))
370- then [StringEntry(bO, bN)]
371- else [StringEntry(bK, bQ), StringEntry(bO, bN)]
369+ let bR = getStringValue(bP)
370+ let bS = split(bR, "_")
371+ if ((bS[0] == toString(bK)))
372+ then [StringEntry(bP, bO)]
373+ else [StringEntry(bL, bR), StringEntry(bP, bO)]
372374 }
373375 }
374- else [StringEntry(bK, bN), StringEntry(bO, bN)]
376+ else [StringEntry(bL, bO), StringEntry(bP, bO)]
375377 }
376378
377379
378-func bS (bT,bU,bV,bW,bX,bY,bZ,ca) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + bT) + "\", ") + "\"number\": ") + toString(bU)) + ", ") + "\"collection\": \"") + bV) + "\", ") + "\"name\": \"") + bW) + "\", ") + "\"description\": \"") + bX) + "\", ") + "\"rare\": \"") + bY) + "\", ") + "\"bonus\": ") + toString(bZ)) + ", ") + "\"bonusType\": \"") + ca) + "\"}")
380+func bT (bU,bV,bW,bX,bY,bZ,ca,cb) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + bU) + "\", ") + "\"number\": ") + toString(bV)) + ", ") + "\"collection\": \"") + bW) + "\", ") + "\"name\": \"") + bX) + "\", ") + "\"description\": \"") + bY) + "\", ") + "\"rare\": \"") + bZ) + "\", ") + "\"bonus\": ") + toString(ca)) + ", ") + "\"bonusType\": \"") + cb) + "\"}")
379381
380382
381-func cb (cc,cd,ce,cf,cg,ch,ci,L) = {
382- let bU = valueOrElse(getInteger(aF), 0)
383- let bY = bx[cf]
384- let bW = (((br[cc] + "-") + take(bY, 1)) + toString(cg))
385- let cj = Issue(bW, bS(bu[cd], bU, bD[ce], bj[cc], bk[ch], bx[cf], cg, bF[ci]), 1, 0, false)
386- let ck = calculateAssetId(cj)
387- $Tuple2([cj, IntegerEntry(aF, (bU + 1)), IntegerEntry(aJ(toBase58String(ck)), bU), ScriptTransfer(L, 1, ck)], ck)
383+func cc (cd,ce,cf,cg,ch,ci,cj,L) = {
384+ let bV = valueOrElse(getInteger(aF), 0)
385+ let bZ = by[cg]
386+ let bX = (((bs[cd] + "-") + take(bZ, 1)) + toString(ch))
387+ let ck = Issue(bX, bT(bv[ce], bV, bE[cf], bk[cd], bl[ci], by[cg], ch, bG[cj]), 1, 0, false)
388+ let cl = calculateAssetId(ck)
389+ $Tuple2([ck, IntegerEntry(aF, (bV + 1)), IntegerEntry(aJ(toBase58String(cl)), bV), ScriptTransfer(L, 1, cl)], cl)
388390 }
389391
390392
391-func cl (bX) = if (!(contains(bX, "\"bonusType\": \"FarmPower\"")))
392- then throw(("NFT is not supported: " + bX))
393+func cm (bY) = if (!(contains(bY, "\"bonusType\": \"FarmPower\"")))
394+ then throw(("NFT is not supported: " + bY))
393395 else {
394- let cm = split_4C(split_4C(bX, "\"bonus\":")[1], ",")[0]
395- parseIntValue(drop(cm, (valueOrElse(lastIndexOf(cm, " "), -1) + 1)))
396+ let cn = split_4C(split_4C(bY, "\"bonus\":")[1], ",")[0]
397+ parseIntValue(drop(cn, (valueOrElse(lastIndexOf(cn, " "), -1) + 1)))
396398 }
397399
398400
399-func cn (bX) = if (!(contains(bX, "\"rare\"")))
400- then throw(("NFT is not supported: " + bX))
401+func co (bY) = if (!(contains(bY, "\"rare\"")))
402+ then throw(("NFT is not supported: " + bY))
401403 else {
402- let co = split_4C(split_4C(split_4C(bX, "\"rare\"")[1], ",")[0], "\"")[1]
403- value(indexOf(bx, co))
404+ let cp = split_4C(split_4C(split_4C(bY, "\"rare\"")[1], ",")[0], "\"")[1]
405+ value(indexOf(by, cp))
404406 }
405407
406408
407-func cp (cq,s,cr) = if (if ((cq == 0))
408- then (cr == 0)
409+func cq (cr,s,cs) = if (if ((cr == 0))
410+ then (cs == 0)
409411 else false)
410412 then throw("Nothing to do")
411413 else {
412- let cs = invoke(G, "onStakeUnstakeLand", [s, true], nil)
413- if ((cs == cs))
414+ let ct = invoke(G, "onStakeUnstakeLand", [s, true], nil)
415+ if ((ct == ct))
414416 then {
415- let ct = lastBlock.timestamp
416- let cu = T(s)
417- let cv = ax(s)
418- let cw = valueOrElse(getInteger(cv), 0)
419- if (if ((0 > cq))
420- then (0 > (cw + cq))
417+ let cu = lastBlock.timestamp
418+ let cv = T(s)
419+ let cw = ax(s)
420+ let cx = valueOrElse(getInteger(cw), 0)
421+ if (if ((0 > cr))
422+ then (0 > (cx + cr))
421423 else false)
422- then throw(((("You have only " + aj(cw, 8)) + " ACRES staked, tried to unstake ") + aj(-(cq), 8)))
424+ then throw(((("You have only " + aj(cx, 8)) + " ACRES staked, tried to unstake ") + aj(-(cr), 8)))
423425 else {
424- let cx = (cw + cq)
425- let cy = valueOrElse(getInteger(az), 0)
426- let cz = ay(s)
427- let cA = valueOrElse(getInteger(cz), 0)
428- let cB = aM(s)
429- let cC = valueOrElse(getInteger(F, cB), 0)
430- if (if ((0 > cr))
431- then (0 > (cC + cr))
426+ let cy = (cx + cr)
427+ let cz = valueOrElse(getInteger(az), 0)
428+ let cA = ay(s)
429+ let cB = valueOrElse(getInteger(cA), 0)
430+ let cC = aM(s)
431+ let cD = valueOrElse(getInteger(F, cC), 0)
432+ if (if ((0 > cs))
433+ then (0 > (cD + cs))
432434 else false)
433- then throw((((("You have only " + aj(cC, 4)) + "% bonus, and tried to unstake ") + aj(-(cr), 4)) + "%"))
435+ then throw((((("You have only " + aj(cD, 4)) + "% bonus, and tried to unstake ") + aj(-(cs), 4)) + "%"))
434436 else {
435- let cD = bc(cx, (cC + cr))
436- let cE = cD._1
437- let cF = cD._2
438- let cG = valueOrElse(getInteger(aA), 0)
439- let cH = if ((cq == 0))
440- then nil
441- else [IntegerEntry(cv, cx), IntegerEntry(az, (cy + cq))]
437+ let cE = bc(cy, (cD + cs))
438+ let cF = cE._1
439+ let cG = cE._2
440+ let cH = valueOrElse(getInteger(aA), 0)
442441 let cI = if ((cr == 0))
443442 then nil
444- else [IntegerEntry(cB, (cC + cr))]
445- $Tuple2(((((cH ++ cI) :+ IntegerEntry(cu, lastBlock.timestamp)) :+ IntegerEntry(cz, cE)) :+ IntegerEntry(aA, ((cG + cE) - cA))), cs)
443+ else [IntegerEntry(cw, cy), IntegerEntry(az, (cz + cr))]
444+ let cJ = if ((cs == 0))
445+ then nil
446+ else [IntegerEntry(cC, (cD + cs))]
447+ $Tuple2(((((cI ++ cJ) :+ IntegerEntry(cv, lastBlock.timestamp)) :+ IntegerEntry(cA, cF)) :+ IntegerEntry(aA, ((cH + cF) - cB))), ct)
446448 }
447449 }
448450 }
449451 else throw("Strict value is not equal to itself.")
450452 }
451453
452454
453-func cJ (cK) = {
454- let cL = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet")
455- let cM = assetBalance(G, n)
456- let cN = (assetBalance(F, n) - cK)
457- let cO = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
458- let cP = ((cN + cM) + cO)
459- fraction(cP, d, cL)
455+func cK (cL) = {
456+ let cM = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet")
457+ let cN = assetBalance(G, n)
458+ let cO = (assetBalance(F, n) - cL)
459+ let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
460+ let cQ = ((cO + cN) + cP)
461+ fraction(cQ, d, cM)
460462 }
461463
462464
463-func cQ () = {
464- let cM = assetBalance(G, n)
465- let cN = assetBalance(this, n)
466- let cO = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
467- let cR = (((cN + cM) + cO) / h)
468- let cS = valueOrElse(getInteger(bi), cR)
469- let cT = valueOrElse(getInteger(bh), 0)
470- let ct = lastBlock.timestamp
471- let cU = (cS + fraction(cR, (ct - cT), f))
472- let cV = min([cU, cR])
473- $Tuple2(IntegerEntry(bh, ct), cV)
465+func cR () = {
466+ let cN = assetBalance(G, n)
467+ let cO = assetBalance(this, n)
468+ let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
469+ let cS = (((cO + cN) + cP) / h)
470+ let cT = valueOrElse(getInteger(bj), cS)
471+ let cU = valueOrElse(getInteger(bi), 0)
472+ let cu = lastBlock.timestamp
473+ let cV = (cT + fraction(cS, (cu - cU), f))
474+ let cW = min([cV, cS])
475+ $Tuple2(IntegerEntry(bi, cu), cW)
474476 }
475477
476478
477-let cW = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
479+let cX = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
478480
479-let cX = valueOrElse(getString(cW, "static_incubatorAddress"), "")
481+let cY = valueOrElse(getString(cX, "static_incubatorAddress"), "")
480482
481-let cY = valueOrElse(getString(cW, "static_breederAddress"), "")
483+let cZ = valueOrElse(getString(cX, "static_breederAddress"), "")
482484
483-let cZ = valueOrElse(getString(cW, "static_turtleIncubatorAddress"), "")
485+let da = valueOrElse(getString(cX, "static_turtleIncubatorAddress"), "")
484486
485-let da = valueOrElse(getString(cW, "static_turtleBreederAddress"), "")
487+let db = valueOrElse(getString(cX, "static_turtleBreederAddress"), "")
486488
487-let db = valueOrElse(getString(cW, "static_canineIncubatorAddress"), "")
489+let dc = valueOrElse(getString(cX, "static_canineIncubatorAddress"), "")
488490
489-let dc = valueOrElse(getString(cW, "static_canineBreederAddress"), "")
491+let dd = valueOrElse(getString(cX, "static_canineBreederAddress"), "")
490492
491-let dd = valueOrElse(getString(cW, "static_felineIncubatorAddress"), "")
493+let de = valueOrElse(getString(cX, "static_felineIncubatorAddress"), "")
492494
493-let de = valueOrElse(getString(cW, "static_felineBreederAddress"), "")
495+let df = valueOrElse(getString(cX, "static_felineBreederAddress"), "")
494496
495-let df = valueOrElse(getString(cW, "static_mutantIncubatorAddress"), "")
497+let dg = valueOrElse(getString(cX, "static_mutantIncubatorAddress"), "")
496498
497-func dg (dh) = {
498- let di = toString(dh.issuer)
499+func dh (di) = {
500+ let dj = toString(di.issuer)
499501 if (if (if (if (if (if (if (if (if (if ((k == base58'2T'))
500- then (di == q)
502+ then (dj == q)
501503 else false)
502504 then true
503- else (di == cX))
505+ else (dj == cY))
504506 then true
505- else (di == cY))
507+ else (dj == cZ))
506508 then true
507- else (di == cZ))
509+ else (dj == da))
508510 then true
509- else (di == da))
511+ else (dj == db))
510512 then true
511- else (di == db))
513+ else (dj == dc))
512514 then true
513- else (di == dc))
515+ else (dj == dd))
514516 then true
515- else (di == dd))
517+ else (dj == de))
516518 then true
517- else (di == de))
518- then dh.name
519- else if ((di == df))
520- then dh.description
519+ else (dj == df))
520+ then di.name
521+ else if ((dj == dg))
522+ then di.description
521523 else ""
522524 }
523525
524526
525-func dj (L,dk,bd,dl,dm,dn) = {
526- let do = valueOrElse(getInteger(dl), 0)
527- if ((do >= dn))
528- then throw((("You can stake max " + toString(dn)) + " of such NFTs"))
527+func dk (L,dl,bd,dm,dn,do) = {
528+ let dp = valueOrElse(getInteger(dm), 0)
529+ if ((dp >= do))
530+ then throw((("You can stake max " + toString(do)) + " of such NFTs"))
529531 else {
530- let dp = cp(0, L, bd)
531- let dq = dp._1
532- let dr = dp._2
533- $Tuple2((((dq :+ IntegerEntry(dl, (do + 1))) :+ IntegerEntry(dm, (valueOrElse(getInteger(dm), 0) + 1))) :+ IntegerEntry(X(dk, L), lastBlock.timestamp)), dr)
532+ let dq = cq(0, L, bd)
533+ let dr = dq._1
534+ let ds = dq._2
535+ $Tuple2((((dr :+ IntegerEntry(dm, (dp + 1))) :+ IntegerEntry(dn, (valueOrElse(getInteger(dn), 0) + 1))) :+ IntegerEntry(X(dl, L), lastBlock.timestamp)), ds)
534536 }
535537 }
536538
537539
538-@Callable(bI)
539-func saveLastTx () = if (!(containsElement([G], bI.caller)))
540+@Callable(bJ)
541+func saveLastTx () = if (!(containsElement([G], bJ.caller)))
540542 then throw("Access denied")
541- else $Tuple2(bH(bI), 42)
543+ else $Tuple2(bI(bJ), 42)
542544
543545
544546
545-@Callable(bI)
546-func constructorV1 (ds,dt) = if ((bI.caller != this))
547+@Callable(bJ)
548+func constructorV1 (dt,du) = if ((bJ.caller != this))
547549 then throw("Permission denied")
548550 else {
549- let du = addressFromStringValue(dt)
550-[IntegerEntry(Q, getIntegerValue(du, Q)), BinaryEntry(R, getBinaryValue(du, R)), StringEntry(y(), ds), StringEntry(I, dt)]
551+ let dv = addressFromStringValue(du)
552+[IntegerEntry(Q, getIntegerValue(dv, Q)), BinaryEntry(R, getBinaryValue(dv, R)), StringEntry(y(), dt), StringEntry(I, du)]
551553 }
552554
553555
554556
555-@Callable(bI)
556-func setBlocked (dv) = if ((bI.caller != this))
557+@Callable(bJ)
558+func setBlocked (dw) = if ((bJ.caller != this))
557559 then throw("permission denied")
558- else [BooleanEntry(J(), dv)]
560+ else [BooleanEntry(J(), dw)]
559561
560562
561563
562-@Callable(bI)
563-func unstakeAcres (dw) = {
564- let dx = bH(bI)
565- if ((0 >= dw))
564+@Callable(bJ)
565+func unstakeAcres (dx) = {
566+ let dy = bI(bJ)
567+ if ((0 >= dx))
566568 then throw("Amount should be positive")
567569 else {
568- let s = toString(bI.caller)
569- if ((size(bI.payments) != 0))
570+ let s = toString(bJ.caller)
571+ if ((size(bJ.payments) != 0))
570572 then throw("No payments required")
571573 else {
572- let dy = (valueOrElse(getInteger(G, bg(s)), 0) + p)
573- if ((dy > lastBlock.timestamp))
574- then throw(("You traded some WLGOLD, cannot unstake until " + toString(dy)))
574+ let dz = (valueOrElse(getInteger(G, bg(s)), 0) + p)
575+ if ((dz > lastBlock.timestamp))
576+ then throw(("You traded some WLGOLD, cannot unstake until " + toString(dz)))
575577 else {
576- let dz = cp(-(dw), s, 0)
577- let dq = dz._1
578- let dr = dz._2
579- $Tuple2(((dq :+ ScriptTransfer(bI.caller, dw, S)) ++ dx), dr)
578+ let dA = cq(-(dx), s, 0)
579+ let dr = dA._1
580+ let ds = dA._2
581+ $Tuple2(((dr :+ ScriptTransfer(bJ.caller, dx, S)) ++ dy), ds)
580582 }
581583 }
582584 }
583585 }
584586
585587
586588
587-@Callable(bI)
589+@Callable(bJ)
588590 func stakeAcres () = {
589- let dx = bH(bI)
590- let s = toString(bI.caller)
591- if ((size(bI.payments) != 1))
591+ let dy = bI(bJ)
592+ let s = toString(bJ.caller)
593+ if ((size(bJ.payments) != 1))
592594 then throw("exactly 1 payment must be attached")
593595 else {
594- let dA = bI.payments[0]
595- let cq = dA.amount
596- if (if (!(isDefined(dA.assetId)))
596+ let dB = bJ.payments[0]
597+ let cr = dB.amount
598+ if (if (!(isDefined(dB.assetId)))
597599 then true
598- else (value(dA.assetId) != S))
600+ else (value(dB.assetId) != S))
599601 then throw("ACRES payments only!")
600602 else {
601- let dB = cp(cq, s, 0)
602- let dq = dB._1
603- let dr = dB._2
604- $Tuple2((dq ++ dx), dr)
603+ let dC = cq(cr, s, 0)
604+ let dr = dC._1
605+ let ds = dC._2
606+ $Tuple2((dr ++ dy), ds)
605607 }
606608 }
607609 }
608610
609611
610612
611-@Callable(bI)
613+@Callable(bJ)
612614 func buyAcres () = {
613- let dx = bH(bI)
614- if ((size(bI.payments) != 1))
615+ let dy = bI(bJ)
616+ if ((size(bJ.payments) != 1))
615617 then throw("exactly 1 payment must be attached")
616618 else {
617- let dA = bI.payments[0]
618- let dC = dA.amount
619- if (if (!(isDefined(dA.assetId)))
619+ let dB = bJ.payments[0]
620+ let dD = dB.amount
621+ if (if (!(isDefined(dB.assetId)))
620622 then true
621- else (value(dA.assetId) != n))
623+ else (value(dB.assetId) != n))
622624 then throw("USDT payments only!")
623- else if ((b > dC))
625+ else if ((b > dD))
624626 then throw((("Min payment should be " + aj(b, 6)) + " USDT"))
625627 else {
626- let dD = (dC * g)
627- let dE = fraction(dC, d, cJ(dC))
628- let dF = addressFromStringValue(getStringValue(I))
629- let dG = invoke(dF, "requestAcresCallback", [dD], nil)
630- if ((dG == dG))
628+ let dE = (dD * g)
629+ let dF = fraction(dD, d, cK(dD))
630+ let dG = addressFromStringValue(getStringValue(I))
631+ let dH = invoke(dG, "requestAcresCallback", [dE], nil)
632+ if ((dH == dH))
631633 then {
632- let dH = aa(invoke(G, "burnWlgold", [dE], nil))
633- $Tuple2(([ScriptTransfer(bI.caller, dD, S)] ++ dx), dH)
634+ let dI = aa(invoke(G, "burnWlgold", [dF], nil))
635+ $Tuple2(([ScriptTransfer(bJ.caller, dE, S)] ++ dy), dI)
634636 }
635637 else throw("Strict value is not equal to itself.")
636638 }
637639 }
638640 }
639641
640642
641643
642-@Callable(bI)
643-func buyAcresREADONLY (dC) = {
644- let dD = (dC * g)
645- let dI = fraction(dC, d, cJ(dC))
646- $Tuple2(nil, [dD, b, dD, dI])
644+@Callable(bJ)
645+func buyAcresREADONLY (dD) = {
646+ let dE = (dD * g)
647+ let dJ = fraction(dD, d, cK(dD))
648+ $Tuple2(nil, [dE, b, dE, dJ])
647649 }
648650
649651
650652
651-@Callable(bI)
653+@Callable(bJ)
652654 func sellAcres () = {
653- let dx = bH(bI)
654- if ((size(bI.payments) != 1))
655+ let dy = bI(bJ)
656+ if ((size(bJ.payments) != 1))
655657 then throw("exactly 1 payment must be attached")
656658 else {
657- let dA = bI.payments[0]
658- let dD = dA.amount
659- if (if (!(isDefined(dA.assetId)))
659+ let dB = bJ.payments[0]
660+ let dE = dB.amount
661+ if (if (!(isDefined(dB.assetId)))
660662 then true
661- else (value(dA.assetId) != S))
663+ else (value(dB.assetId) != S))
662664 then throw("ACRES payments only!")
663- else if ((c > dD))
665+ else if ((c > dE))
664666 then throw((("Min payment should be " + aj(c, 8)) + " ACRES"))
665667 else {
666- let L = toString(bI.caller)
667- let dJ = cQ()
668- let dK = dJ._1
669- let dL = dJ._2
670- let dM = (dL * g)
671- if ((dD > dM))
672- then throw((("You can sell max " + aj(dM, 8)) + " ACRES"))
668+ let L = toString(bJ.caller)
669+ let dK = cR()
670+ let dL = dK._1
671+ let dM = dK._2
672+ let dN = (dM * g)
673+ if ((dE > dN))
674+ then throw((("You can sell max " + aj(dN, 8)) + " ACRES"))
673675 else {
674- let dC = ((dD / g) / 2)
675- $Tuple2(([dK, IntegerEntry(bi, (dL - dC)), ScriptTransfer(bI.caller, dC, n)] ++ dx), dC)
676+ let dD = ((dE / g) / 2)
677+ $Tuple2(([dL, IntegerEntry(bj, (dM - dD)), ScriptTransfer(bJ.caller, dD, n)] ++ dy), dD)
676678 }
677679 }
678680 }
679681 }
680682
681683
682684
683-@Callable(bI)
684-func sellAcresREADONLY (s,dD) = {
685- let dN = cQ()
686- let dK = dN._1
687- let dL = dN._2
688- let dC = ((dD / g) / 2)
689- $Tuple2(nil, [dC, c, (dL * g), 0])
685+@Callable(bJ)
686+func sellAcresREADONLY (s,dE) = {
687+ let dO = cR()
688+ let dL = dO._1
689+ let dM = dO._2
690+ let dD = ((dE / g) / 2)
691+ $Tuple2(nil, [dD, c, (dM * g), 0])
690692 }
691693
692694
693695
694-@Callable(bI)
696+@Callable(bJ)
695697 func convertOldStakes () = {
696- let dx = bH(bI)
697- let s = toString(bI.caller)
698- if ((size(bI.payments) != 0))
699- then throw("No payments required")
698+ let dy = bI(bJ)
699+ if ((bh > lastBlock.timestamp))
700+ then throw(("Disabled until " + toString((bh / 1000))))
700701 else {
701- let dF = addressFromStringValue(getStringValue(I))
702- let dw = valueOrElse(getInteger(dF, ax(s)), 0)
703- let dO = if ((dw > 0))
704- then ai(invoke(dF, "unstakeAcresCallback", [dw, s], nil))
705- else $Tuple2(0, 0)
706- let dP = addressFromStringValue(q)
707- let dQ = getString(dP, U(s))
708- let dR = if (isDefined(dQ))
709- then {
710- let dS = split_51C(value(dQ), "_")
711- func dT (aS,dU) = if ((dU == ""))
712- then throw("landAssetId is required")
713- else {
714- let dV = ad(invoke(dP, "unstakeLandCallback", [dU, s], nil))
715- $Tuple5((aS._1 + dV._1), (aS._2 + dV._2), (aS._3 + dV._3), (aS._4 + dV._4), (aS._5 + dV._5))
716- }
702+ let s = toString(bJ.caller)
703+ if ((size(bJ.payments) != 0))
704+ then throw("No payments required")
705+ else {
706+ let dG = addressFromStringValue(getStringValue(I))
707+ let dx = valueOrElse(getInteger(dG, ax(s)), 0)
708+ let dP = if ((dx > 0))
709+ then ai(invoke(dG, "unstakeAcresCallback", [dx, s], nil))
710+ else $Tuple2(0, 0)
711+ let dQ = addressFromStringValue(q)
712+ let dR = getString(dQ, U(s))
713+ let dS = if (isDefined(dR))
714+ then {
715+ let dT = split_51C(value(dR), "_")
716+ func dU (aS,dV) = if ((dV == ""))
717+ then throw("landAssetId is required")
718+ else {
719+ let dW = ad(invoke(dQ, "unstakeLandCallback", [dV, s], nil))
720+ $Tuple5((aS._1 + dW._1), (aS._2 + dW._2), (aS._3 + dW._3), (aS._4 + dW._4), (aS._5 + dW._5))
721+ }
717722
718- let dW = {
719- let aU = dS
720- let aV = size(aU)
721- let aW = $Tuple5(0, 0, 0, 0, 0)
722- func aX (aY,aZ) = if ((aZ >= aV))
723- then aY
724- else dT(aY, aU[aZ])
723+ let dX = {
724+ let aU = dT
725+ let aV = size(aU)
726+ let aW = $Tuple5(0, 0, 0, 0, 0)
727+ func aX (aY,aZ) = if ((aZ >= aV))
728+ then aY
729+ else dU(aY, aU[aZ])
725730
726- func ba (aY,aZ) = if ((aZ >= aV))
727- then aY
728- else throw("List size exceeds 100")
731+ func ba (aY,aZ) = if ((aZ >= aV))
732+ then aY
733+ else throw("List size exceeds 100")
729734
730- ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
731- }
732- let dX = invoke(dP, "unstakeLandsFinalizeCallback", [s], nil)
733- if ((dX == dX))
734- then {
735- let dG = invoke(dF, "requestAcresCallback", [(((dW._1 + dW._2) + dW._3) + dW._4)], nil)
736- if ((dG == dG))
735+ ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
736+ }
737+ let dY = invoke(dQ, "unstakeLandsFinalizeCallback", [s], nil)
738+ if ((dY == dY))
737739 then {
738- let dY = cb(bs, bw, bE, bC, 3, bl, bG, bI.caller)
739- let dZ = dY._1
740- let ck = dY._2
741- $Tuple6(dW._1, dW._2, dW._3, dW._4, dW._5, dZ)
740+ let dH = invoke(dG, "requestAcresCallback", [(((dX._1 + dX._2) + dX._3) + dX._4)], nil)
741+ if ((dH == dH))
742+ then {
743+ let dZ = cc(bt, bx, bF, bD, 3, bm, bH, bJ.caller)
744+ let ea = dZ._1
745+ let cl = dZ._2
746+ $Tuple6(dX._1, dX._2, dX._3, dX._4, dX._5, ea)
747+ }
748+ else throw("Strict value is not equal to itself.")
742749 }
743750 else throw("Strict value is not equal to itself.")
744751 }
745- else throw("Strict value is not equal to itself.")
752+ else $Tuple6(0, 0, 0, 0, 0, nil)
753+ let eb = valueOrElse(getString(dQ, W(s)), "")
754+ let ec = if ((eb != ""))
755+ then ah(invoke(dQ, "unstakeDuckCallback", [eb, s], nil))
756+ else $Tuple3(0, 0, 0)
757+ let ed = cq((((((((dP._1 + dS._1) + dS._2) + dS._3) + dS._4) + ec._1) + ec._2) + ec._3), s, 0)
758+ $Tuple2(((dS._6 ++ ed._1) ++ dy), $Tuple3(dP._2, dS._5, ed._2))
746759 }
747- else $Tuple6(0, 0, 0, 0, 0, nil)
748- let ea = valueOrElse(getString(dP, W(s)), "")
749- let eb = if ((ea != ""))
750- then ah(invoke(dP, "unstakeDuckCallback", [ea, s], nil))
751- else $Tuple3(0, 0, 0)
752- let ec = cp((((((((dO._1 + dR._1) + dR._2) + dR._3) + dR._4) + eb._1) + eb._2) + eb._3), s, 0)
753- $Tuple2(((dR._6 ++ ec._1) ++ dx), $Tuple3(dO._2, dR._5, ec._2))
754760 }
755761 }
756762
757763
758764
759-@Callable(bI)
765+@Callable(bJ)
760766 func unstakeLandsREADONLY (s) = {
761- let dP = addressFromStringValue(q)
762- let dQ = getString(dP, U(s))
763- let dR = if (isDefined(dQ))
767+ let dQ = addressFromStringValue(q)
768+ let dR = getString(dQ, U(s))
769+ let dS = if (isDefined(dR))
764770 then {
765- let dS = split_51C(value(dQ), "_")
766- func dT (aS,dU) = if ((dU == ""))
771+ let dT = split_51C(value(dR), "_")
772+ func dU (aS,dV) = if ((dV == ""))
767773 then throw("landAssetId is required")
768774 else {
769- let dV = ag(invoke(dP, "unstakeLandREADONLY", [dU, s], nil))
770- $Tuple4((aS._1 + dV._1), (aS._2 + dV._2), (aS._3 + dV._3), (aS._4 + dV._4))
775+ let dW = ag(invoke(dQ, "unstakeLandREADONLY", [dV, s], nil))
776+ $Tuple4((aS._1 + dW._1), (aS._2 + dW._2), (aS._3 + dW._3), (aS._4 + dW._4))
771777 }
772778
773- let aU = dS
779+ let aU = dT
774780 let aV = size(aU)
775781 let aW = $Tuple4(0, 0, 0, 0)
776782 func aX (aY,aZ) = if ((aZ >= aV))
777783 then aY
778- else dT(aY, aU[aZ])
784+ else dU(aY, aU[aZ])
779785
780786 func ba (aY,aZ) = if ((aZ >= aV))
781787 then aY
782788 else throw("List size exceeds 100")
783789
784790 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100)
785791 }
786792 else $Tuple4(0, 0, 0, 0)
787- $Tuple2(nil, dR)
793+ $Tuple2(nil, dS)
788794 }
789795
790796
791797
792-@Callable(bI)
793-func stakeAcresCallback (L) = if ((bI.caller != addressFromStringValue(q)))
798+@Callable(bJ)
799+func stakeAcresCallback (L) = if ((bJ.caller != addressFromStringValue(q)))
794800 then throw("Permission denied")
795- else cp(bI.payments[0].amount, L, 0)
801+ else cq(bJ.payments[0].amount, L, 0)
796802
797803
798804
799-@Callable(bI)
800-func simulateStakeAcresREADONLY (s,ed) = {
801- let cv = ax(s)
802- let cx = (valueOrElse(getInteger(cv), 0) + ed)
803- let cy = valueOrElse(getInteger(az), 0)
804- let cz = ay(s)
805- let cA = valueOrElse(getInteger(cz), 0)
806- let ee = valueOrElse(getInteger(F, aM(s)), 0)
807- let ef = bc(cx, ee)
808- let cE = ef._1
809- let cF = ef._2
810- let cG = valueOrElse(getInteger(aA), 0)
811- let eg = ((cG + cE) - cA)
812- $Tuple2(nil, [cA, cE, cG, eg])
805+@Callable(bJ)
806+func simulateStakeAcresREADONLY (s,ee) = {
807+ let cw = ax(s)
808+ let cy = (valueOrElse(getInteger(cw), 0) + ee)
809+ let cz = valueOrElse(getInteger(az), 0)
810+ let cA = ay(s)
811+ let cB = valueOrElse(getInteger(cA), 0)
812+ let ef = valueOrElse(getInteger(F, aM(s)), 0)
813+ let eg = bc(cy, ef)
814+ let cF = eg._1
815+ let cG = eg._2
816+ let cH = valueOrElse(getInteger(aA), 0)
817+ let eh = ((cH + cF) - cB)
818+ $Tuple2(nil, [cB, cF, cH, eh])
813819 }
814820
815821
816822
817-@Callable(bI)
818-func issuePickC1 (eh) = if ((bI.caller != G))
823+@Callable(bJ)
824+func issuePickC1 (ei) = if ((bJ.caller != G))
819825 then throw("Permission denied")
820- else cb(bt, bv, bE, by, 1, bm, bG, addressFromStringValue(eh))
826+ else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue(ei))
821827
822828
823829
824-@Callable(bI)
830+@Callable(bJ)
825831 func stakeNFT () = {
826- let dx = bH(bI)
827- if ((size(bI.payments) != 1))
832+ let dy = bI(bJ)
833+ if ((size(bJ.payments) != 1))
828834 then throw("Exactly one payment required")
829835 else {
830- let dA = value(bI.payments[0])
831- if ((dA.amount != 1))
836+ let dB = value(bJ.payments[0])
837+ if ((dB.amount != 1))
832838 then throw("NFT token should be attached as payment")
833839 else {
834- let Y = value(dA.assetId)
835- let ei = value(assetInfo(Y))
836- let dk = toBase58String(Y)
837- let L = toString(bI.caller)
838- let ej = Z(L)
839- let ek = getString(ej)
840- let el = if (isDefined(ek))
841- then split_4C(value(ek), "_")
840+ let Y = value(dB.assetId)
841+ let ej = value(assetInfo(Y))
842+ let dl = toBase58String(Y)
843+ let L = toString(bJ.caller)
844+ let ek = Z(L)
845+ let el = getString(ek)
846+ let em = if (isDefined(el))
847+ then split_4C(value(el), "_")
842848 else nil
843- if (containsElement(el, dk))
844- then throw(("Your staked NFTs already contain " + dk))
845- else if ((size(el) >= aE))
849+ if (containsElement(em, dl))
850+ then throw(("Your staked NFTs already contain " + dl))
851+ else if ((size(em) >= aE))
846852 then throw((("Your already staked max (" + toString(aE)) + ") NFTs"))
847853 else {
848- let em = StringEntry(ej, makeString_2C((el :+ dk), "_"))
849- if ((ei.issuer == this))
854+ let en = StringEntry(ek, makeString_2C((em :+ dl), "_"))
855+ if ((ej.issuer == this))
850856 then {
851- let en = dj(L, dk, (cl(value(ei.description)) * 10000), aK(L), aH, aB)
852- let dq = en._1
853- let dr = en._2
854- $Tuple2(((dx ++ dq) :+ em), dr)
857+ let eo = dk(L, dl, (cm(value(ej.description)) * 10000), aK(L), aH, aB)
858+ let dr = eo._1
859+ let ds = eo._2
860+ $Tuple2(((dy ++ dr) :+ en), ds)
855861 }
856- else if ((dg(ei) == ""))
862+ else if ((dh(ej) == ""))
857863 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
858864 else {
859- let eo = dj(L, dk, aD, aL(L), aI, aC)
860- let dq = eo._1
861- let dr = eo._2
862- $Tuple2(((dx ++ dq) :+ em), dr)
865+ let ep = dk(L, dl, aD, aL(L), aI, aC)
866+ let dr = ep._1
867+ let ds = ep._2
868+ $Tuple2(((dy ++ dr) :+ en), ds)
863869 }
864870 }
865871 }
866872 }
867873 }
868874
869875
870876
871-@Callable(bI)
872-func unstakeNFT (dk) = {
873- let dx = bH(bI)
874- if ((size(bI.payments) != 0))
877+@Callable(bJ)
878+func unstakeNFT (dl) = {
879+ let dy = bI(bJ)
880+ if ((size(bJ.payments) != 0))
875881 then throw("No payments required")
876882 else {
877- let Y = fromBase58String(dk)
878- let L = toString(bI.caller)
879- let ei = value(assetInfo(Y))
880- let cu = X(dk, L)
881- if (!(isDefined(getInteger(cu))))
882- then throw((("NFT " + ei.name) + " is not staked by you"))
883+ let Y = fromBase58String(dl)
884+ let L = toString(bJ.caller)
885+ let ej = value(assetInfo(Y))
886+ let cv = X(dl, L)
887+ if (!(isDefined(getInteger(cv))))
888+ then throw((("NFT " + ej.name) + " is not staked by you"))
883889 else {
884- let ej = Z(L)
885- let el = split_4C(valueOrElse(getString(ej), ""), "_")
886- let D = indexOf(el, dk)
890+ let ek = Z(L)
891+ let em = split_4C(valueOrElse(getString(ek), ""), "_")
892+ let D = indexOf(em, dl)
887893 if (!(isDefined(D)))
888- then throw(("Your staked NFTs don't contain " + dk))
894+ then throw(("Your staked NFTs don't contain " + dl))
889895 else {
890- let em = if ((size(el) > 1))
891- then StringEntry(ej, makeString_2C(removeByIndex(el, value(D)), "_"))
892- else DeleteEntry(ej)
893- let ep = (ei.issuer == this)
894- if (ep)
896+ let en = if ((size(em) > 1))
897+ then StringEntry(ek, makeString_2C(removeByIndex(em, value(D)), "_"))
898+ else DeleteEntry(ek)
899+ let eq = (ej.issuer == this)
900+ if (eq)
895901 then {
896- let eq = valueOrElse(getInteger(aK(L)), 0)
897- let er = (cl(value(ei.description)) * 10000)
898- let es = cp(0, L, -(er))
899- let dq = es._1
900- let dr = es._2
901- $Tuple2(((((((dq :+ em) :+ IntegerEntry(aK(L), (eq - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bI.caller, 1, Y)) ++ dx), dr)
902+ let er = valueOrElse(getInteger(aK(L)), 0)
903+ let es = (cm(value(ej.description)) * 10000)
904+ let et = cq(0, L, -(es))
905+ let dr = et._1
906+ let ds = et._2
907+ $Tuple2(((((((dr :+ en) :+ IntegerEntry(aK(L), (er - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds)
902908 }
903909 else {
904- let et = dg(ei)
905- if ((et == ""))
910+ let eu = dh(ej)
911+ if ((eu == ""))
906912 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
907913 else {
908- let eu = valueOrElse(getInteger(aL(L)), 0)
909- let ev = cp(0, L, -(aD))
910- let dq = ev._1
911- let dr = ev._2
912- $Tuple2((((((dq :+ em) :+ IntegerEntry(aL(L), (eu - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bI.caller, 1, Y)) ++ dx), dr)
914+ let ev = valueOrElse(getInteger(aL(L)), 0)
915+ let ew = cq(0, L, -(aD))
916+ let dr = ew._1
917+ let ds = ew._2
918+ $Tuple2((((((dr :+ en) :+ IntegerEntry(aL(L), (ev - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds)
913919 }
914920 }
915921 }
916922 }
917923 }
918924 }
919925
920926
921927
922-@Callable(bI)
928+@Callable(bJ)
923929 func exchangeNFTs () = {
924- let dx = bH(bI)
925- if ((3 > size(bI.payments)))
930+ let dy = bI(bJ)
931+ if ((3 > size(bJ.payments)))
926932 then throw("Min one WLGOLD and 2 NFT payments allowed")
927- else if ((size(bI.payments) > 10))
933+ else if ((size(bJ.payments) > 10))
928934 then throw("Max one WLGOLD and 9 NFT payments allowed")
929935 else {
930- let L = toString(bI.caller)
931- func ew (aS,dA) = {
932- let Y = valueOrErrorMessage(dA.assetId, "WAVES payments not allowed")
936+ let L = toString(bJ.caller)
937+ func ex (aS,dB) = {
938+ let Y = valueOrErrorMessage(dB.assetId, "WAVES payments not allowed")
933939 if ((Y == P))
934- then $Tuple4((aS._1 + dA.amount), aS._2, aS._3, aS._4)
940+ then $Tuple4((aS._1 + dB.amount), aS._2, aS._3, aS._4)
935941 else {
936- let ei = value(assetInfo(Y))
937- if ((ei.issuer != this))
942+ let ej = value(assetInfo(Y))
943+ if ((ej.issuer != this))
938944 then throw("Only WL-issued NFTs allowed")
939945 else {
940- let ex = cn(value(ei.description))
946+ let ey = co(value(ej.description))
941947 if (if ((aS._4 > 0))
942- then (ex != aS._4)
948+ then (ey != aS._4)
943949 else false)
944950 then throw("You can exchange only NFTs of the same rarity")
945951 else {
946- let cg = cl(value(ei.description))
947- $Tuple4(aS._1, (aS._2 + cg), (aS._3 :+ Burn(Y, 1)), ex)
952+ let ch = cm(value(ej.description))
953+ $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), ey)
948954 }
949955 }
950956 }
951957 }
952958
953- let ey = {
954- let aU = bI.payments
959+ let ez = {
960+ let aU = bJ.payments
955961 let aV = size(aU)
956962 let aW = $Tuple4(0, 0, nil, -1)
957963 func aX (aY,aZ) = if ((aZ >= aV))
958964 then aY
959- else ew(aY, aU[aZ])
965+ else ex(aY, aU[aZ])
960966
961967 func ba (aY,aZ) = if ((aZ >= aV))
962968 then aY
963969 else throw("List size exceeds 10")
964970
965971 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
966972 }
967- let ez = ey._1
968- let eA = ey._2
969- let eB = ey._3
970- let cf = ey._4
971- let eC = if ((cf == by))
972- then if ((bn[bo] > eA))
973- then by
974- else if ((bn[bp] > eA))
975- then bz
976- else throw((("You can advance only one level of rarity, max total bonus " + toString(bn[bp])) + "%"))
977- else if ((cf == bz))
978- then if ((bn[bp] > eA))
979- then bz
980- else if ((bn[bq] > eA))
981- then bA
982- else throw((("You can advance only one level of rarity, max total bonus " + toString(bn[bq])) + "%"))
983- else if ((cf == bA))
984- then if ((bn[bq] > eA))
985- then bA
986- else bB
987- else if ((cf == bB))
973+ let eA = ez._1
974+ let eB = ez._2
975+ let eC = ez._3
976+ let cg = ez._4
977+ let eD = if ((cg == bz))
978+ then if ((bo[bp] > eB))
979+ then bz
980+ else if ((bo[bq] > eB))
981+ then bA
982+ else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[bq])) + "%"))
983+ else if ((cg == bA))
984+ then if ((bo[bq] > eB))
985+ then bA
986+ else if ((bo[br] > eB))
988987 then bB
989- else if ((cf == bC))
988+ else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[br])) + "%"))
989+ else if ((cg == bB))
990+ then if ((bo[br] > eB))
991+ then bB
992+ else bC
993+ else if ((cg == bC))
994+ then bC
995+ else if ((cg == bD))
990996 then throw("You can't exchange NFTs of this rarity")
991997 else throw("Unknown rarity")
992- let eD = fraction(eA, e, cJ(0))
993- let eE = (ez - eD)
994- let eF = (eD / 2)
995- let dH = aa(invoke(G, "burnWlgold", [(eD - eF)], nil))
996- if ((0 > eE))
997- then throw((("You need to attach " + aj(eD, 8)) + " WLGOLD as fee"))
998+ let eE = fraction(eB, e, cK(0))
999+ let eF = (eA - eE)
1000+ let eG = (eE / 2)
1001+ let dI = aa(invoke(G, "burnWlgold", [(eE - eG)], nil))
1002+ if ((0 > eF))
1003+ then throw((("You need to attach " + aj(eE, 8)) + " WLGOLD as fee"))
9981004 else {
999- let eG = if ((eE > 0))
1000- then [ScriptTransfer(bI.caller, eE, P)]
1005+ let eH = if ((eF > 0))
1006+ then [ScriptTransfer(bJ.caller, eF, P)]
10011007 else nil
1002- let eH = cb(bt, eC, bE, eC, eA, bm, bG, bI.caller)
1003- let eI = eH._1
1004- let ck = eH._2
1005- let eJ = size(eB)
1006- let eK = if ((eJ == 0))
1008+ let eI = cc(bu, eD, bF, eD, eB, bn, bH, bJ.caller)
1009+ let eJ = eI._1
1010+ let cl = eI._2
1011+ let eK = size(eC)
1012+ let eL = if ((eK == 0))
10071013 then nil
1008- else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eJ))]
1009- $Tuple2((((((eI ++ eB) ++ eK) ++ dx) ++ eG) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eF, P)), $Tuple2(ck, dH))
1014+ else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eK))]
1015+ $Tuple2((((((eJ ++ eC) ++ eL) ++ dy) ++ eH) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eG, P)), $Tuple2(cl, dI))
10101016 }
10111017 }
10121018 }
10131019
10141020
10151021
1016-@Callable(bI)
1022+@Callable(bJ)
10171023 func openNftChest () = {
1018- let dx = bH(bI)
1019- if ((size(bI.payments) != 1))
1024+ let dy = bI(bJ)
1025+ if ((size(bJ.payments) != 1))
10201026 then throw("exactly 1 payment must be attached")
10211027 else {
1022- let dA = bI.payments[0]
1023- let dE = dA.amount
1024- if (if (!(isDefined(dA.assetId)))
1028+ let dB = bJ.payments[0]
1029+ let dF = dB.amount
1030+ if (if (!(isDefined(dB.assetId)))
10251031 then true
1026- else (value(dA.assetId) != P))
1032+ else (value(dB.assetId) != P))
10271033 then throw("WLGOLD payments only!")
10281034 else {
1029- let eD = fraction(j, d, cJ(0))
1030- let eE = (dE - eD)
1031- let eF = (eD / 2)
1032- let dH = aa(invoke(G, "burnWlgold", [(eD - eF)], nil))
1033- if ((0 > eE))
1034- then throw((("You need to attach " + aj(eD, 8)) + " WLGOLD as fee"))
1035+ let eE = fraction(j, d, cK(0))
1036+ let eF = (dF - eE)
1037+ let eG = (eE / 2)
1038+ let dI = aa(invoke(G, "burnWlgold", [(eE - eG)], nil))
1039+ if ((0 > eF))
1040+ then throw((("You need to attach " + aj(eE, 8)) + " WLGOLD as fee"))
10351041 else {
1036- let eG = if ((eE > 0))
1037- then [ScriptTransfer(bI.caller, eE, P)]
1042+ let eH = if ((eF > 0))
1043+ then [ScriptTransfer(bJ.caller, eF, P)]
10381044 else nil
1039- let L = toString(bI.caller)
1040- let eL = N(L)
1041- let eM = valueOrErrorMessage(getInteger(eL), "You have to commitForRandom() first!")
1042- if ((eM > height))
1043- then throw(("Random number is not ready yet, wait until height = " + toString(eM)))
1045+ let L = toString(bJ.caller)
1046+ let eM = N(L)
1047+ let eN = valueOrErrorMessage(getInteger(eM), "You have to commitForRandom() first!")
1048+ if ((eN > height))
1049+ then throw(("Random number is not ready yet, wait until height = " + toString(eN)))
10441050 else {
1045- let ar = value(value(blockInfoByHeight(eM)).vrf)
1051+ let ar = value(value(blockInfoByHeight(eN)).vrf)
10461052 let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1])
1047- let eN = ao(100, aq, ar)
1048- let eO = if ((84 > eN))
1049- then $Tuple2(1, by)
1050- else if ((98 > eN))
1051- then $Tuple2(5, bz)
1052- else $Tuple2(10, bA)
1053- let bZ = eO._1
1054- let cf = eO._2
1055- let eP = cb(bt, cf, bE, cf, bZ, bm, bG, bI.caller)
1056- let eI = eP._1
1057- let ck = eP._2
1058- $Tuple2(((((eI ++ dx) ++ eG) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eF, P)) :+ DeleteEntry(eL)), $Tuple2(ck, dH))
1053+ let eO = ao(100, aq, ar)
1054+ let eP = if ((84 > eO))
1055+ then $Tuple2(1, bz)
1056+ else if ((98 > eO))
1057+ then $Tuple2(5, bA)
1058+ else $Tuple2(10, bB)
1059+ let ca = eP._1
1060+ let cg = eP._2
1061+ let eQ = cc(bu, cg, bF, cg, ca, bn, bH, bJ.caller)
1062+ let eJ = eQ._1
1063+ let cl = eQ._2
1064+ $Tuple2(((((eJ ++ dy) ++ eH) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eG, P)) :+ DeleteEntry(eM)), $Tuple2(cl, dI))
10591065 }
10601066 }
10611067 }
10621068 }
10631069 }
10641070
10651071
10661072
1067-@Callable(bI)
1073+@Callable(bJ)
10681074 func commitForRandom () = {
1069- let dx = bH(bI)
1070- let L = toString(bI.caller)
1071- let eL = N(L)
1072- if (isDefined(getInteger(eL)))
1075+ let dy = bI(bJ)
1076+ let L = toString(bJ.caller)
1077+ let eM = N(L)
1078+ if (isDefined(getInteger(eM)))
10731079 then throw("You already commited for random, please use it")
10741080 else {
1075- let eM = (height + i)
1076- $Tuple2(([IntegerEntry(eL, eM)] ++ dx), eM)
1081+ let eN = (height + i)
1082+ $Tuple2(([IntegerEntry(eM, eN)] ++ dy), eN)
10771083 }
10781084 }
10791085
10801086

github/deemru/w8io/169f3d6 
410.54 ms