tx · BRwW4n9YiWq3PP3tUTGQvtPQt13sMufKSRyctiG5i1jc

3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh:  -0.03100000 Waves

2024.12.05 04:49 [3400693] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves

{ "type": 13, "id": "BRwW4n9YiWq3PP3tUTGQvtPQt13sMufKSRyctiG5i1jc", "fee": 3100000, "feeAssetId": null, "timestamp": 1733363438412, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "5eNRShcyb4pQaL173Lpyp7kLVWe3F5iEiiw5g2SG58vomZ5Fvff1P4jUni1cH8bzEYLmpDqiRRUobAcktWoHx24S" ], "script": "base64:BgJJCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASAH0AA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAAAIBAVQFBy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xBApuZnRBc3NldElkCAUNJHQwMjk4NjUzMDAxNQJfMgkAlAoCCQDNCAIJAM0IAgkAzggCCQDOCAIFD2lzc3VlTmZ0QWN0aW9ucwUNcHJvbG9nQWN0aW9ucwUNY2hhbmdlQWN0aW9ucwkBDlNjcmlwdFRyYW5zZmVyAwkBEUBleHRyTmF0aXZlKDEwNjIpAQkBEUBleHRyTmF0aXZlKDEwNTMpAgULd2xnQ29udHJhY3QFC3RlYW1BZGRyS2V5BQdmb3JUZWFtBQp3bGdBc3NldElkCQELRGVsZXRlRW50cnkBBQlmaW5pc2hLZXkJAJQKAgUKbmZ0QXNzZXRJZAUJd2xnUmVtYWluAWkBD2NvbW1pdEZvclJhbmRvbQAEDXByb2xvZ0FjdGlvbnMJAQZwcm9sb2cBBQFpBARhZGRyCQClCAEIBQFpBmNhbGxlcgQJZmluaXNoS2V5CQEJa2V5Q29tbWl0AQUEYWRkcgMJAQlpc0RlZmluZWQBCQCfCAEFCWZpbmlzaEtleQkAAgECLllvdSBhbHJlYWR5IGNvbW1pdGVkIGZvciByYW5kb20sIHBsZWFzZSB1c2UgaXQEC2ZpbmlzaEJsb2NrCQBkAgUGaGVpZ2h0BQxSQU5ET01fREVMQVkJAJQKAgkAzggCCQDMCAIJAQxJbnRlZ2VyRW50cnkCBQlmaW5pc2hLZXkFC2ZpbmlzaEJsb2NrBQNuaWwFDXByb2xvZ0FjdGlvbnMFC2ZpbmlzaEJsb2NrALPqiBI=", "height": 3400693, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4qN1thw1qdUhMDnrsGzMQAqqTxheQcgecjwG8XoeDXQo Next: 6Cb9tPTgn3zqwmrGDuS1teXPWepXZbTV1b8Ux3TwwPQ2 Diff:
OldNewDifferences
696696
697697
698698 @Callable(bK)
699-func convertOldStakes (s) = {
699+func convertOldStakes () = {
700700 let dz = bJ(bK)
701701 if ((bh > lastBlock.timestamp))
702702 then throw(("Disabled until " + toString((bh / 1000))))
703703 else {
704- let dQ = addressFromStringValue(s)
704+ let s = toString(bK.caller)
705705 if ((size(bK.payments) != 0))
706706 then throw("No payments required")
707707 else {
708708 let dH = addressFromStringValue(getStringValue(I))
709709 let dy = valueOrElse(getInteger(dH, ax(s)), 0)
710- let dR = if ((dy > 0))
710+ let dQ = if ((dy > 0))
711711 then ai(invoke(dH, "unstakeAcresCallback", [dy, s], nil))
712712 else $Tuple2(0, 0)
713- let dS = addressFromStringValue(q)
714- let dT = getString(dS, U(s))
715- let dU = if (isDefined(dT))
713+ let dR = addressFromStringValue(q)
714+ let dS = getString(dR, U(s))
715+ let dT = if (isDefined(dS))
716716 then {
717- let dV = value(dT)
718- let dW = if (((45 * bi) > size(dV)))
719- then dV
720- else take(dV, value(lastIndexOf(dV, "_", (45 * bi))))
721- let dX = split_51C(value(dW), "_")
722- func dY (aS,dZ) = if ((dZ == ""))
723- then throw("landAssetId is required")
717+ let dU = split_51C(value(dS), "_")
718+ if ((size(dU) > bi))
719+ then throw((("You have more than " + toString(bi)) + " lands staked, please contact support, we'll process your case manually"))
724720 else {
725- let ea = ad(invoke(dS, "unstakeLandCallback", [dZ, s], nil))
726- $Tuple5((aS._1 + ea._1), (aS._2 + ea._2), (aS._3 + ea._3), (aS._4 + ea._4), (aS._5 + ea._5))
727- }
721+ func dV (aS,dW) = if ((dW == ""))
722+ then throw("landAssetId is required")
723+ else {
724+ let dX = ad(invoke(dR, "unstakeLandCallback", [dW, s], nil))
725+ if ((dX == dX))
726+ then $Tuple5((aS._1 + dX._1), (aS._2 + dX._2), (aS._3 + dX._3), (aS._4 + dX._4), (aS._5 + dX._5))
727+ else throw("Strict value is not equal to itself.")
728+ }
728729
729- let eb = {
730- let aU = dX
731- let aV = size(aU)
732- let aW = $Tuple5(0, 0, 0, 0, 0)
733- func aX (aY,aZ) = if ((aZ >= aV))
734- then aY
735- else dY(aY, aU[aZ])
730+ let dY = {
731+ let aU = dU
732+ let aV = size(aU)
733+ let aW = $Tuple5(0, 0, 0, 0, 0)
734+ func aX (aY,aZ) = if ((aZ >= aV))
735+ then aY
736+ else dV(aY, aU[aZ])
736737
737- func ba (aY,aZ) = if ((aZ >= aV))
738- then aY
739- else throw("List size exceeds 100")
738+ func ba (aY,aZ) = if ((aZ >= aV))
739+ then aY
740+ else throw("List size exceeds 14")
740741
741- 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)
742- }
743- let ec = invoke(dS, "unstakeLandsFinalizeCallback", [s], nil)
744- if ((ec == ec))
745- then {
746- let dI = invoke(dH, "requestAcresCallback", [(((eb._1 + eb._2) + eb._3) + eb._4)], nil)
747- if ((dI == dI))
742+ ba(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)
743+ }
744+ let dZ = invoke(dR, "unstakeLandsFinalizeCallback", [s], nil)
745+ if ((dZ == dZ))
748746 then {
749- let ed = cd(bu, by, bG, bE, 3, bn, bI, dQ)
750- let ee = ed._1
751- let cm = ed._2
752- $Tuple6(eb._1, eb._2, eb._3, eb._4, eb._5, ee)
747+ let dI = invoke(dH, "requestAcresCallback", [(((dY._1 + dY._2) + dY._3) + dY._4)], nil)
748+ if ((dI == dI))
749+ then {
750+ let ea = cd(bu, by, bG, bE, 3, bn, bI, bK.caller)
751+ let eb = ea._1
752+ let cm = ea._2
753+ $Tuple6(dY._1, dY._2, dY._3, dY._4, dY._5, eb)
754+ }
755+ else throw("Strict value is not equal to itself.")
753756 }
754757 else throw("Strict value is not equal to itself.")
755758 }
756- else throw("Strict value is not equal to itself.")
757759 }
758760 else $Tuple6(0, 0, 0, 0, 0, nil)
759- let ef = valueOrElse(getString(dS, W(s)), "")
760- let eg = if ((ef != ""))
761- then ah(invoke(dS, "unstakeDuckCallback", [ef, s], nil))
761+ let ec = valueOrElse(getString(dR, W(s)), "")
762+ let ed = if ((ec != ""))
763+ then ah(invoke(dR, "unstakeDuckCallback", [ec, s], nil))
762764 else $Tuple3(0, 0, 0)
763- let eh = cr((((((((dR._1 + dU._1) + dU._2) + dU._3) + dU._4) + eg._1) + eg._2) + eg._3), s, 0)
764- $Tuple2(((dU._6 ++ eh._1) ++ dz), $Tuple3(dR._2, dU._5, eh._2))
765+ let ee = cr((((((((dQ._1 + dT._1) + dT._2) + dT._3) + dT._4) + ed._1) + ed._2) + ed._3), s, 0)
766+ $Tuple2(((dT._6 ++ ee._1) ++ dz), $Tuple3(dQ._2, dT._5, ee._2))
765767 }
766768 }
767769 }
770772
771773 @Callable(bK)
772774 func unstakeLandsREADONLY (s) = {
773- let dS = addressFromStringValue(q)
774- let dT = getString(dS, U(s))
775- let dU = if (isDefined(dT))
775+ let dR = addressFromStringValue(q)
776+ let dS = getString(dR, U(s))
777+ let dT = if (isDefined(dS))
776778 then {
777- let dX = split_51C(value(dT), "_")
778- func dY (aS,dZ) = if ((dZ == ""))
779+ let dU = split_51C(value(dS), "_")
780+ func dV (aS,dW) = if ((dW == ""))
779781 then throw("landAssetId is required")
780782 else {
781- let ea = ag(invoke(dS, "unstakeLandREADONLY", [dZ, s], nil))
782- $Tuple4((aS._1 + ea._1), (aS._2 + ea._2), (aS._3 + ea._3), (aS._4 + ea._4))
783+ let dX = ag(invoke(dR, "unstakeLandREADONLY", [dW, s], nil))
784+ $Tuple4((aS._1 + dX._1), (aS._2 + dX._2), (aS._3 + dX._3), (aS._4 + dX._4))
783785 }
784786
785- let aU = dX
787+ let aU = dU
786788 let aV = size(aU)
787789 let aW = $Tuple4(0, 0, 0, 0)
788790 func aX (aY,aZ) = if ((aZ >= aV))
789791 then aY
790- else dY(aY, aU[aZ])
792+ else dV(aY, aU[aZ])
791793
792794 func ba (aY,aZ) = if ((aZ >= aV))
793795 then aY
796798 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)
797799 }
798800 else $Tuple4(0, 0, 0, 0)
799- $Tuple2(nil, dU)
801+ $Tuple2(nil, dT)
800802 }
801803
802804
809811
810812
811813 @Callable(bK)
812-func simulateStakeAcresREADONLY (s,ei) = {
814+func simulateStakeAcresREADONLY (s,ef) = {
813815 let cx = ax(s)
814- let cz = (valueOrElse(getInteger(cx), 0) + ei)
816+ let cz = (valueOrElse(getInteger(cx), 0) + ef)
815817 let cA = valueOrElse(getInteger(az), 0)
816818 let cB = ay(s)
817819 let cC = valueOrElse(getInteger(cB), 0)
818- let ej = valueOrElse(getInteger(F, aM(s)), 0)
819- let ek = bc(cz, ej)
820- let cG = ek._1
821- let cH = ek._2
820+ let eg = valueOrElse(getInteger(F, aM(s)), 0)
821+ let eh = bc(cz, eg)
822+ let cG = eh._1
823+ let cH = eh._2
822824 let cI = valueOrElse(getInteger(aA), 0)
823- let el = ((cI + cG) - cC)
824- $Tuple2(nil, [cC, cG, cI, el])
825+ let ei = ((cI + cG) - cC)
826+ $Tuple2(nil, [cC, cG, cI, ei])
825827 }
826828
827829
828830
829831 @Callable(bK)
830-func issuePickC1 (em) = if ((bK.caller != G))
832+func issuePickC1 (ej) = if ((bK.caller != G))
831833 then throw("Permission denied")
832- else cd(bv, bx, bG, bA, 1, bo, bI, addressFromStringValue(em))
834+ else cd(bv, bx, bG, bA, 1, bo, bI, addressFromStringValue(ej))
833835
834836
835837
844846 then throw("NFT token should be attached as payment")
845847 else {
846848 let Y = value(dC.assetId)
847- let en = value(assetInfo(Y))
849+ let ek = value(assetInfo(Y))
848850 let dm = toBase58String(Y)
849851 let L = toString(bK.caller)
850- let eo = Z(L)
851- let ep = getString(eo)
852- let eq = if (isDefined(ep))
853- then split_4C(value(ep), "_")
852+ let el = Z(L)
853+ let em = getString(el)
854+ let en = if (isDefined(em))
855+ then split_4C(value(em), "_")
854856 else nil
855- if (containsElement(eq, dm))
857+ if (containsElement(en, dm))
856858 then throw(("Your staked NFTs already contain " + dm))
857- else if ((size(eq) >= aE))
859+ else if ((size(en) >= aE))
858860 then throw((("Your already staked max (" + toString(aE)) + ") NFTs"))
859861 else {
860- let er = StringEntry(eo, makeString_2C((eq :+ dm), "_"))
861- if ((en.issuer == this))
862+ let eo = StringEntry(el, makeString_2C((en :+ dm), "_"))
863+ if ((ek.issuer == this))
862864 then {
863- let es = dl(L, dm, (cn(value(en.description)) * 10000), aK(L), aH, aB)
864- let ds = es._1
865- let dt = es._2
866- $Tuple2(((dz ++ ds) :+ er), dt)
865+ let ep = dl(L, dm, (cn(value(ek.description)) * 10000), aK(L), aH, aB)
866+ let ds = ep._1
867+ let dt = ep._2
868+ $Tuple2(((dz ++ ds) :+ eo), dt)
867869 }
868- else if ((di(en) == ""))
870+ else if ((di(ek) == ""))
869871 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
870872 else {
871- let et = dl(L, dm, aD, aL(L), aI, aC)
872- let ds = et._1
873- let dt = et._2
874- $Tuple2(((dz ++ ds) :+ er), dt)
873+ let eq = dl(L, dm, aD, aL(L), aI, aC)
874+ let ds = eq._1
875+ let dt = eq._2
876+ $Tuple2(((dz ++ ds) :+ eo), dt)
875877 }
876878 }
877879 }
888890 else {
889891 let Y = fromBase58String(dm)
890892 let L = toString(bK.caller)
891- let en = value(assetInfo(Y))
893+ let ek = value(assetInfo(Y))
892894 let cw = X(dm, L)
893895 if (!(isDefined(getInteger(cw))))
894- then throw((("NFT " + en.name) + " is not staked by you"))
896+ then throw((("NFT " + ek.name) + " is not staked by you"))
895897 else {
896- let eo = Z(L)
897- let eq = split_4C(valueOrElse(getString(eo), ""), "_")
898- let D = indexOf(eq, dm)
898+ let el = Z(L)
899+ let en = split_4C(valueOrElse(getString(el), ""), "_")
900+ let D = indexOf(en, dm)
899901 if (!(isDefined(D)))
900902 then throw(("Your staked NFTs don't contain " + dm))
901903 else {
902- let er = if ((size(eq) > 1))
903- then StringEntry(eo, makeString_2C(removeByIndex(eq, value(D)), "_"))
904- else DeleteEntry(eo)
905- let eu = (en.issuer == this)
906- if (eu)
904+ let eo = if ((size(en) > 1))
905+ then StringEntry(el, makeString_2C(removeByIndex(en, value(D)), "_"))
906+ else DeleteEntry(el)
907+ let er = (ek.issuer == this)
908+ if (er)
907909 then {
908- let ev = valueOrElse(getInteger(aK(L)), 0)
909- let ew = (cn(value(en.description)) * 10000)
910- let ex = cr(0, L, -(ew))
911- let ds = ex._1
912- let dt = ex._2
913- $Tuple2(((((((ds :+ er) :+ IntegerEntry(aK(L), (ev - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
910+ let es = valueOrElse(getInteger(aK(L)), 0)
911+ let et = (cn(value(ek.description)) * 10000)
912+ let eu = cr(0, L, -(et))
913+ let ds = eu._1
914+ let dt = eu._2
915+ $Tuple2(((((((ds :+ eo) :+ IntegerEntry(aK(L), (es - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
914916 }
915917 else {
916- let ey = di(en)
917- if ((ey == ""))
918+ let ev = di(ek)
919+ if ((ev == ""))
918920 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
919921 else {
920- let ez = valueOrElse(getInteger(aL(L)), 0)
921- let eA = cr(0, L, -(aD))
922- let ds = eA._1
923- let dt = eA._2
924- $Tuple2((((((ds :+ er) :+ IntegerEntry(aL(L), (ez - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
922+ let ew = valueOrElse(getInteger(aL(L)), 0)
923+ let ex = cr(0, L, -(aD))
924+ let ds = ex._1
925+ let dt = ex._2
926+ $Tuple2((((((ds :+ eo) :+ IntegerEntry(aL(L), (ew - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
925927 }
926928 }
927929 }
940942 then throw("Max one WLGOLD and 9 NFT payments allowed")
941943 else {
942944 let L = toString(bK.caller)
943- func eB (aS,dC) = {
945+ func ey (aS,dC) = {
944946 let Y = valueOrErrorMessage(dC.assetId, "WAVES payments not allowed")
945947 if ((Y == P))
946948 then $Tuple4((aS._1 + dC.amount), aS._2, aS._3, aS._4)
947949 else {
948- let en = value(assetInfo(Y))
949- if ((en.issuer != this))
950+ let ek = value(assetInfo(Y))
951+ if ((ek.issuer != this))
950952 then throw("Only WL-issued NFTs allowed")
951953 else {
952- let eC = cp(value(en.description))
954+ let ez = cp(value(ek.description))
953955 if (if ((aS._4 > 0))
954- then (eC != aS._4)
956+ then (ez != aS._4)
955957 else false)
956958 then throw("You can exchange only NFTs of the same rarity")
957959 else {
958- let ci = cn(value(en.description))
959- $Tuple4(aS._1, (aS._2 + ci), (aS._3 :+ Burn(Y, 1)), eC)
960+ let ci = cn(value(ek.description))
961+ $Tuple4(aS._1, (aS._2 + ci), (aS._3 :+ Burn(Y, 1)), ez)
960962 }
961963 }
962964 }
963965 }
964966
965- let eD = {
967+ let eA = {
966968 let aU = bK.payments
967969 let aV = size(aU)
968970 let aW = $Tuple4(0, 0, nil, -1)
969971 func aX (aY,aZ) = if ((aZ >= aV))
970972 then aY
971- else eB(aY, aU[aZ])
973+ else ey(aY, aU[aZ])
972974
973975 func ba (aY,aZ) = if ((aZ >= aV))
974976 then aY
976978
977979 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
978980 }
979- let eE = eD._1
980- let eF = eD._2
981- let eG = eD._3
982- let ch = eD._4
983- let eH = if ((ch == bA))
984- then if ((bp[bq] > eF))
981+ let eB = eA._1
982+ let eC = eA._2
983+ let eD = eA._3
984+ let ch = eA._4
985+ let eE = if ((ch == bA))
986+ then if ((bp[bq] > eC))
985987 then bA
986- else if ((bp[br] > eF))
988+ else if ((bp[br] > eC))
987989 then bB
988990 else throw((("You can advance only one level of rarity, max total bonus " + toString(bp[br])) + "%"))
989991 else if ((ch == bB))
990- then if ((bp[br] > eF))
992+ then if ((bp[br] > eC))
991993 then bB
992- else if ((bp[bs] > eF))
994+ else if ((bp[bs] > eC))
993995 then bC
994996 else throw((("You can advance only one level of rarity, max total bonus " + toString(bp[bs])) + "%"))
995997 else if ((ch == bC))
996- then if ((bp[bs] > eF))
998+ then if ((bp[bs] > eC))
997999 then bC
9981000 else bD
9991001 else if ((ch == bD))
10011003 else if ((ch == bE))
10021004 then throw("You can't exchange NFTs of this rarity")
10031005 else throw("Unknown rarity")
1004- let eI = fraction(eF, e, cL(0))
1005- let eJ = (eE - eI)
1006- let eK = (eI / 2)
1007- let dJ = aa(invoke(G, "burnWlgold", [(eI - eK)], nil))
1008- if ((0 > eJ))
1009- then throw((("You need to attach " + aj(eI, 8)) + " WLGOLD as fee"))
1006+ let eF = fraction(eC, e, cL(0))
1007+ let eG = (eB - eF)
1008+ let eH = (eF / 2)
1009+ let dJ = aa(invoke(G, "burnWlgold", [(eF - eH)], nil))
1010+ if ((0 > eG))
1011+ then throw((("You need to attach " + aj(eF, 8)) + " WLGOLD as fee"))
10101012 else {
1011- let eL = if ((eJ > 0))
1012- then [ScriptTransfer(bK.caller, eJ, P)]
1013+ let eI = if ((eG > 0))
1014+ then [ScriptTransfer(bK.caller, eG, P)]
10131015 else nil
1014- let eM = cd(bv, eH, bG, eH, eF, bo, bI, bK.caller)
1015- let eN = eM._1
1016- let cm = eM._2
1017- let eO = size(eG)
1018- let eP = if ((eO == 0))
1016+ let eJ = cd(bv, eE, bG, eE, eC, bo, bI, bK.caller)
1017+ let eK = eJ._1
1018+ let cm = eJ._2
1019+ let eL = size(eD)
1020+ let eM = if ((eL == 0))
10191021 then nil
1020- else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eO))]
1021- $Tuple2((((((eN ++ eG) ++ eP) ++ dz) ++ eL) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eK, P)), $Tuple2(cm, dJ))
1022+ else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eL))]
1023+ $Tuple2((((((eK ++ eD) ++ eM) ++ dz) ++ eI) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eH, P)), $Tuple2(cm, dJ))
10221024 }
10231025 }
10241026 }
10381040 else (value(dC.assetId) != P))
10391041 then throw("WLGOLD payments only!")
10401042 else {
1041- let eI = fraction(j, d, cL(0))
1042- let eJ = (dG - eI)
1043- let eK = (eI / 2)
1044- let dJ = aa(invoke(G, "burnWlgold", [(eI - eK)], nil))
1045- if ((0 > eJ))
1046- then throw((("You need to attach " + aj(eI, 8)) + " WLGOLD as fee"))
1043+ let eF = fraction(j, d, cL(0))
1044+ let eG = (dG - eF)
1045+ let eH = (eF / 2)
1046+ let dJ = aa(invoke(G, "burnWlgold", [(eF - eH)], nil))
1047+ if ((0 > eG))
1048+ then throw((("You need to attach " + aj(eF, 8)) + " WLGOLD as fee"))
10471049 else {
1048- let eL = if ((eJ > 0))
1049- then [ScriptTransfer(bK.caller, eJ, P)]
1050+ let eI = if ((eG > 0))
1051+ then [ScriptTransfer(bK.caller, eG, P)]
10501052 else nil
10511053 let L = toString(bK.caller)
1052- let eQ = N(L)
1053- let eR = valueOrErrorMessage(getInteger(eQ), "You have to commitForRandom() first!")
1054- if ((eR > height))
1055- then throw(("Random number is not ready yet, wait until height = " + toString(eR)))
1054+ let eN = N(L)
1055+ let eO = valueOrErrorMessage(getInteger(eN), "You have to commitForRandom() first!")
1056+ if ((eO > height))
1057+ then throw(("Random number is not ready yet, wait until height = " + toString(eO)))
10561058 else {
1057- let ar = value(value(blockInfoByHeight(eR)).vrf)
1059+ let ar = value(value(blockInfoByHeight(eO)).vrf)
10581060 let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1])
1059- let eS = ao(100, aq, ar)
1060- let eT = if ((84 > eS))
1061+ let eP = ao(100, aq, ar)
1062+ let eQ = if ((84 > eP))
10611063 then $Tuple2(1, bA)
1062- else if ((98 > eS))
1064+ else if ((98 > eP))
10631065 then $Tuple2(5, bB)
10641066 else $Tuple2(10, bC)
1065- let cb = eT._1
1066- let ch = eT._2
1067- let eU = cd(bv, ch, bG, ch, cb, bo, bI, bK.caller)
1068- let eN = eU._1
1069- let cm = eU._2
1070- $Tuple2(((((eN ++ dz) ++ eL) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eK, P)) :+ DeleteEntry(eQ)), $Tuple2(cm, dJ))
1067+ let cb = eQ._1
1068+ let ch = eQ._2
1069+ let eR = cd(bv, ch, bG, ch, cb, bo, bI, bK.caller)
1070+ let eK = eR._1
1071+ let cm = eR._2
1072+ $Tuple2(((((eK ++ dz) ++ eI) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eH, P)) :+ DeleteEntry(eN)), $Tuple2(cm, dJ))
10711073 }
10721074 }
10731075 }
10801082 func commitForRandom () = {
10811083 let dz = bJ(bK)
10821084 let L = toString(bK.caller)
1083- let eQ = N(L)
1084- if (isDefined(getInteger(eQ)))
1085+ let eN = N(L)
1086+ if (isDefined(getInteger(eN)))
10851087 then throw("You already commited for random, please use it")
10861088 else {
1087- let eR = (height + i)
1088- $Tuple2(([IntegerEntry(eQ, eR)] ++ dz), eR)
1089+ let eO = (height + i)
1090+ $Tuple2(([IntegerEntry(eN, eO)] ++ dz), eO)
10891091 }
10901092 }
10911093
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
295295 let bh = 1733346000000
296296
297297 let bi = 14
298298
299299 let bj = "lastAcresSellTime"
300300
301301 let bk = "lastLimitLeft"
302302
303303 let bl = ["Gold shovel", "Pickaxe"]
304304
305305 let bm = ["Reward for early birds", "Increases FarmPower"]
306306
307307 let bn = 0
308308
309309 let bo = 1
310310
311311 let bp = [5, 10, 20]
312312
313313 let bq = 0
314314
315315 let br = 1
316316
317317 let bs = 2
318318
319319 let bt = ["SHOVEL", "PICKAXE"]
320320
321321 let bu = 0
322322
323323 let bv = 1
324324
325325 let bw = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"]
326326
327327 let bx = 0
328328
329329 let by = 4
330330
331331 let bz = ["Common", "Uncommon", "Legendary", "Epic", "Promo"]
332332
333333 let bA = 0
334334
335335 let bB = 1
336336
337337 let bC = 2
338338
339339 let bD = 3
340340
341341 let bE = 4
342342
343343 let bF = ["Digging tools"]
344344
345345 let bG = 0
346346
347347 let bH = ["FarmPower"]
348348
349349 let bI = 0
350350
351351 func bJ (bK) = if (if ((bK.originCaller != E))
352352 then valueOrElse(getBoolean(J()), false)
353353 else false)
354354 then throw("Contracts are under maintenance")
355355 else {
356356 let L = toString(bK.originCaller)
357357 let bL = (height / l)
358358 let bM = K(L)
359359 let bN = getString(bM)
360360 let bO = toBase58String(bK.transactionId)
361361 let bP = ((toString(bL) + "_") + bO)
362362 let bQ = M(L)
363363 if (isDefined(bN))
364364 then {
365365 let bR = split(value(bN), "_")
366366 if ((bR[0] == toString(bL)))
367367 then [StringEntry(bM, bP), StringEntry(bQ, bP)]
368368 else if ((bR[0] == toString((bL - 1))))
369369 then [StringEntry(bQ, bP)]
370370 else {
371371 let bS = getStringValue(bQ)
372372 let bT = split(bS, "_")
373373 if ((bT[0] == toString(bL)))
374374 then [StringEntry(bQ, bP)]
375375 else [StringEntry(bM, bS), StringEntry(bQ, bP)]
376376 }
377377 }
378378 else [StringEntry(bM, bP), StringEntry(bQ, bP)]
379379 }
380380
381381
382382 func bU (bV,bW,bX,bY,bZ,ca,cb,cc) = (((((((((((((((((((((((("{\"url\": \"https://waveslands.com\", " + "\"contentKey\": \"") + bV) + "\", ") + "\"number\": ") + toString(bW)) + ", ") + "\"collection\": \"") + bX) + "\", ") + "\"name\": \"") + bY) + "\", ") + "\"description\": \"") + bZ) + "\", ") + "\"rare\": \"") + ca) + "\", ") + "\"bonus\": ") + toString(cb)) + ", ") + "\"bonusType\": \"") + cc) + "\"}")
383383
384384
385385 func cd (ce,cf,cg,ch,ci,cj,ck,L) = {
386386 let bW = valueOrElse(getInteger(aF), 0)
387387 let ca = bz[ch]
388388 let bY = (((bt[ce] + "-") + take(ca, 1)) + toString(ci))
389389 let cl = Issue(bY, bU(bw[cf], bW, bF[cg], bl[ce], bm[cj], bz[ch], ci, bH[ck]), 1, 0, false)
390390 let cm = calculateAssetId(cl)
391391 $Tuple2([cl, IntegerEntry(aF, (bW + 1)), IntegerEntry(aJ(toBase58String(cm)), bW), ScriptTransfer(L, 1, cm)], cm)
392392 }
393393
394394
395395 func cn (bZ) = if (!(contains(bZ, "\"bonusType\": \"FarmPower\"")))
396396 then throw(("NFT is not supported: " + bZ))
397397 else {
398398 let co = split_4C(split_4C(bZ, "\"bonus\":")[1], ",")[0]
399399 parseIntValue(drop(co, (valueOrElse(lastIndexOf(co, " "), -1) + 1)))
400400 }
401401
402402
403403 func cp (bZ) = if (!(contains(bZ, "\"rare\"")))
404404 then throw(("NFT is not supported: " + bZ))
405405 else {
406406 let cq = split_4C(split_4C(split_4C(bZ, "\"rare\"")[1], ",")[0], "\"")[1]
407407 value(indexOf(bz, cq))
408408 }
409409
410410
411411 func cr (cs,s,ct) = if (if ((cs == 0))
412412 then (ct == 0)
413413 else false)
414414 then throw("Nothing to do")
415415 else {
416416 let cu = invoke(G, "onStakeUnstakeLand", [s, true], nil)
417417 if ((cu == cu))
418418 then {
419419 let cv = lastBlock.timestamp
420420 let cw = T(s)
421421 let cx = ax(s)
422422 let cy = valueOrElse(getInteger(cx), 0)
423423 if (if ((0 > cs))
424424 then (0 > (cy + cs))
425425 else false)
426426 then throw(((("You have only " + aj(cy, 8)) + " ACRES staked, tried to unstake ") + aj(-(cs), 8)))
427427 else {
428428 let cz = (cy + cs)
429429 let cA = valueOrElse(getInteger(az), 0)
430430 let cB = ay(s)
431431 let cC = valueOrElse(getInteger(cB), 0)
432432 let cD = aM(s)
433433 let cE = valueOrElse(getInteger(F, cD), 0)
434434 if (if ((0 > ct))
435435 then (0 > (cE + ct))
436436 else false)
437437 then throw((((("You have only " + aj(cE, 4)) + "% bonus, and tried to unstake ") + aj(-(ct), 4)) + "%"))
438438 else {
439439 let cF = bc(cz, (cE + ct))
440440 let cG = cF._1
441441 let cH = cF._2
442442 let cI = valueOrElse(getInteger(aA), 0)
443443 let cJ = if ((cs == 0))
444444 then nil
445445 else [IntegerEntry(cx, cz), IntegerEntry(az, (cA + cs))]
446446 let cK = if ((ct == 0))
447447 then nil
448448 else [IntegerEntry(cD, (cE + ct))]
449449 $Tuple2(((((cJ ++ cK) :+ IntegerEntry(cw, lastBlock.timestamp)) :+ IntegerEntry(cB, cG)) :+ IntegerEntry(aA, ((cI + cG) - cC))), cu)
450450 }
451451 }
452452 }
453453 else throw("Strict value is not equal to itself.")
454454 }
455455
456456
457457 func cL (cM) = {
458458 let cN = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet")
459459 let cO = assetBalance(G, n)
460460 let cP = (assetBalance(F, n) - cM)
461461 let cQ = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
462462 let cR = ((cP + cO) + cQ)
463463 fraction(cR, d, cN)
464464 }
465465
466466
467467 func cS () = {
468468 let cO = assetBalance(G, n)
469469 let cP = assetBalance(this, n)
470470 let cQ = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0))
471471 let cT = (((cP + cO) + cQ) / h)
472472 let cU = valueOrElse(getInteger(bk), cT)
473473 let cV = valueOrElse(getInteger(bj), 0)
474474 let cv = lastBlock.timestamp
475475 let cW = (cU + fraction(cT, (cv - cV), f))
476476 let cX = min([cW, cT])
477477 $Tuple2(IntegerEntry(bj, cv), cX)
478478 }
479479
480480
481481 let cY = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og")
482482
483483 let cZ = valueOrElse(getString(cY, "static_incubatorAddress"), "")
484484
485485 let da = valueOrElse(getString(cY, "static_breederAddress"), "")
486486
487487 let db = valueOrElse(getString(cY, "static_turtleIncubatorAddress"), "")
488488
489489 let dc = valueOrElse(getString(cY, "static_turtleBreederAddress"), "")
490490
491491 let dd = valueOrElse(getString(cY, "static_canineIncubatorAddress"), "")
492492
493493 let de = valueOrElse(getString(cY, "static_canineBreederAddress"), "")
494494
495495 let df = valueOrElse(getString(cY, "static_felineIncubatorAddress"), "")
496496
497497 let dg = valueOrElse(getString(cY, "static_felineBreederAddress"), "")
498498
499499 let dh = valueOrElse(getString(cY, "static_mutantIncubatorAddress"), "")
500500
501501 func di (dj) = {
502502 let dk = toString(dj.issuer)
503503 if (if (if (if (if (if (if (if (if (if ((k == base58'2T'))
504504 then (dk == q)
505505 else false)
506506 then true
507507 else (dk == cZ))
508508 then true
509509 else (dk == da))
510510 then true
511511 else (dk == db))
512512 then true
513513 else (dk == dc))
514514 then true
515515 else (dk == dd))
516516 then true
517517 else (dk == de))
518518 then true
519519 else (dk == df))
520520 then true
521521 else (dk == dg))
522522 then dj.name
523523 else if ((dk == dh))
524524 then dj.description
525525 else ""
526526 }
527527
528528
529529 func dl (L,dm,bd,dn,do,dp) = {
530530 let dq = valueOrElse(getInteger(dn), 0)
531531 if ((dq >= dp))
532532 then throw((("You can stake max " + toString(dp)) + " of such NFTs"))
533533 else {
534534 let dr = cr(0, L, bd)
535535 let ds = dr._1
536536 let dt = dr._2
537537 $Tuple2((((ds :+ IntegerEntry(dn, (dq + 1))) :+ IntegerEntry(do, (valueOrElse(getInteger(do), 0) + 1))) :+ IntegerEntry(X(dm, L), lastBlock.timestamp)), dt)
538538 }
539539 }
540540
541541
542542 @Callable(bK)
543543 func saveLastTx () = if (!(containsElement([G], bK.caller)))
544544 then throw("Access denied")
545545 else $Tuple2(bJ(bK), 42)
546546
547547
548548
549549 @Callable(bK)
550550 func constructorV1 (du,dv) = if ((bK.caller != this))
551551 then throw("Permission denied")
552552 else {
553553 let dw = addressFromStringValue(dv)
554554 [IntegerEntry(Q, getIntegerValue(dw, Q)), BinaryEntry(R, getBinaryValue(dw, R)), StringEntry(y(), du), StringEntry(I, dv)]
555555 }
556556
557557
558558
559559 @Callable(bK)
560560 func setBlocked (dx) = if ((bK.caller != this))
561561 then throw("permission denied")
562562 else [BooleanEntry(J(), dx)]
563563
564564
565565
566566 @Callable(bK)
567567 func unstakeAcres (dy) = {
568568 let dz = bJ(bK)
569569 if ((0 >= dy))
570570 then throw("Amount should be positive")
571571 else {
572572 let s = toString(bK.caller)
573573 if ((size(bK.payments) != 0))
574574 then throw("No payments required")
575575 else {
576576 let dA = (valueOrElse(getInteger(G, bg(s)), 0) + p)
577577 if ((dA > lastBlock.timestamp))
578578 then throw(("You traded some WLGOLD, cannot unstake until " + toString(dA)))
579579 else {
580580 let dB = cr(-(dy), s, 0)
581581 let ds = dB._1
582582 let dt = dB._2
583583 $Tuple2(((ds :+ ScriptTransfer(bK.caller, dy, S)) ++ dz), dt)
584584 }
585585 }
586586 }
587587 }
588588
589589
590590
591591 @Callable(bK)
592592 func stakeAcres () = {
593593 let dz = bJ(bK)
594594 let s = toString(bK.caller)
595595 if ((size(bK.payments) != 1))
596596 then throw("exactly 1 payment must be attached")
597597 else {
598598 let dC = bK.payments[0]
599599 let cs = dC.amount
600600 if (if (!(isDefined(dC.assetId)))
601601 then true
602602 else (value(dC.assetId) != S))
603603 then throw("ACRES payments only!")
604604 else {
605605 let dD = cr(cs, s, 0)
606606 let ds = dD._1
607607 let dt = dD._2
608608 $Tuple2((ds ++ dz), dt)
609609 }
610610 }
611611 }
612612
613613
614614
615615 @Callable(bK)
616616 func buyAcres () = {
617617 let dz = bJ(bK)
618618 if ((size(bK.payments) != 1))
619619 then throw("exactly 1 payment must be attached")
620620 else {
621621 let dC = bK.payments[0]
622622 let dE = dC.amount
623623 if (if (!(isDefined(dC.assetId)))
624624 then true
625625 else (value(dC.assetId) != n))
626626 then throw("USDT payments only!")
627627 else if ((b > dE))
628628 then throw((("Min payment should be " + aj(b, 6)) + " USDT"))
629629 else {
630630 let dF = (dE * g)
631631 let dG = fraction(dE, d, cL(dE))
632632 let dH = addressFromStringValue(getStringValue(I))
633633 let dI = invoke(dH, "requestAcresCallback", [dF], nil)
634634 if ((dI == dI))
635635 then {
636636 let dJ = aa(invoke(G, "burnWlgold", [dG], nil))
637637 $Tuple2(([ScriptTransfer(bK.caller, dF, S)] ++ dz), dJ)
638638 }
639639 else throw("Strict value is not equal to itself.")
640640 }
641641 }
642642 }
643643
644644
645645
646646 @Callable(bK)
647647 func buyAcresREADONLY (dE) = {
648648 let dF = (dE * g)
649649 let dK = fraction(dE, d, cL(dE))
650650 $Tuple2(nil, [dF, b, dF, dK])
651651 }
652652
653653
654654
655655 @Callable(bK)
656656 func sellAcres () = {
657657 let dz = bJ(bK)
658658 if ((size(bK.payments) != 1))
659659 then throw("exactly 1 payment must be attached")
660660 else {
661661 let dC = bK.payments[0]
662662 let dF = dC.amount
663663 if (if (!(isDefined(dC.assetId)))
664664 then true
665665 else (value(dC.assetId) != S))
666666 then throw("ACRES payments only!")
667667 else if ((c > dF))
668668 then throw((("Min payment should be " + aj(c, 8)) + " ACRES"))
669669 else {
670670 let L = toString(bK.caller)
671671 let dL = cS()
672672 let dM = dL._1
673673 let dN = dL._2
674674 let dO = (dN * g)
675675 if ((dF > dO))
676676 then throw((("You can sell max " + aj(dO, 8)) + " ACRES"))
677677 else {
678678 let dE = ((dF / g) / 2)
679679 $Tuple2(([dM, IntegerEntry(bk, (dN - dE)), ScriptTransfer(bK.caller, dE, n)] ++ dz), dE)
680680 }
681681 }
682682 }
683683 }
684684
685685
686686
687687 @Callable(bK)
688688 func sellAcresREADONLY (s,dF) = {
689689 let dP = cS()
690690 let dM = dP._1
691691 let dN = dP._2
692692 let dE = ((dF / g) / 2)
693693 $Tuple2(nil, [dE, c, (dN * g), 0])
694694 }
695695
696696
697697
698698 @Callable(bK)
699-func convertOldStakes (s) = {
699+func convertOldStakes () = {
700700 let dz = bJ(bK)
701701 if ((bh > lastBlock.timestamp))
702702 then throw(("Disabled until " + toString((bh / 1000))))
703703 else {
704- let dQ = addressFromStringValue(s)
704+ let s = toString(bK.caller)
705705 if ((size(bK.payments) != 0))
706706 then throw("No payments required")
707707 else {
708708 let dH = addressFromStringValue(getStringValue(I))
709709 let dy = valueOrElse(getInteger(dH, ax(s)), 0)
710- let dR = if ((dy > 0))
710+ let dQ = if ((dy > 0))
711711 then ai(invoke(dH, "unstakeAcresCallback", [dy, s], nil))
712712 else $Tuple2(0, 0)
713- let dS = addressFromStringValue(q)
714- let dT = getString(dS, U(s))
715- let dU = if (isDefined(dT))
713+ let dR = addressFromStringValue(q)
714+ let dS = getString(dR, U(s))
715+ let dT = if (isDefined(dS))
716716 then {
717- let dV = value(dT)
718- let dW = if (((45 * bi) > size(dV)))
719- then dV
720- else take(dV, value(lastIndexOf(dV, "_", (45 * bi))))
721- let dX = split_51C(value(dW), "_")
722- func dY (aS,dZ) = if ((dZ == ""))
723- then throw("landAssetId is required")
717+ let dU = split_51C(value(dS), "_")
718+ if ((size(dU) > bi))
719+ then throw((("You have more than " + toString(bi)) + " lands staked, please contact support, we'll process your case manually"))
724720 else {
725- let ea = ad(invoke(dS, "unstakeLandCallback", [dZ, s], nil))
726- $Tuple5((aS._1 + ea._1), (aS._2 + ea._2), (aS._3 + ea._3), (aS._4 + ea._4), (aS._5 + ea._5))
727- }
721+ func dV (aS,dW) = if ((dW == ""))
722+ then throw("landAssetId is required")
723+ else {
724+ let dX = ad(invoke(dR, "unstakeLandCallback", [dW, s], nil))
725+ if ((dX == dX))
726+ then $Tuple5((aS._1 + dX._1), (aS._2 + dX._2), (aS._3 + dX._3), (aS._4 + dX._4), (aS._5 + dX._5))
727+ else throw("Strict value is not equal to itself.")
728+ }
728729
729- let eb = {
730- let aU = dX
731- let aV = size(aU)
732- let aW = $Tuple5(0, 0, 0, 0, 0)
733- func aX (aY,aZ) = if ((aZ >= aV))
734- then aY
735- else dY(aY, aU[aZ])
730+ let dY = {
731+ let aU = dU
732+ let aV = size(aU)
733+ let aW = $Tuple5(0, 0, 0, 0, 0)
734+ func aX (aY,aZ) = if ((aZ >= aV))
735+ then aY
736+ else dV(aY, aU[aZ])
736737
737- func ba (aY,aZ) = if ((aZ >= aV))
738- then aY
739- else throw("List size exceeds 100")
738+ func ba (aY,aZ) = if ((aZ >= aV))
739+ then aY
740+ else throw("List size exceeds 14")
740741
741- 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)
742- }
743- let ec = invoke(dS, "unstakeLandsFinalizeCallback", [s], nil)
744- if ((ec == ec))
745- then {
746- let dI = invoke(dH, "requestAcresCallback", [(((eb._1 + eb._2) + eb._3) + eb._4)], nil)
747- if ((dI == dI))
742+ ba(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)
743+ }
744+ let dZ = invoke(dR, "unstakeLandsFinalizeCallback", [s], nil)
745+ if ((dZ == dZ))
748746 then {
749- let ed = cd(bu, by, bG, bE, 3, bn, bI, dQ)
750- let ee = ed._1
751- let cm = ed._2
752- $Tuple6(eb._1, eb._2, eb._3, eb._4, eb._5, ee)
747+ let dI = invoke(dH, "requestAcresCallback", [(((dY._1 + dY._2) + dY._3) + dY._4)], nil)
748+ if ((dI == dI))
749+ then {
750+ let ea = cd(bu, by, bG, bE, 3, bn, bI, bK.caller)
751+ let eb = ea._1
752+ let cm = ea._2
753+ $Tuple6(dY._1, dY._2, dY._3, dY._4, dY._5, eb)
754+ }
755+ else throw("Strict value is not equal to itself.")
753756 }
754757 else throw("Strict value is not equal to itself.")
755758 }
756- else throw("Strict value is not equal to itself.")
757759 }
758760 else $Tuple6(0, 0, 0, 0, 0, nil)
759- let ef = valueOrElse(getString(dS, W(s)), "")
760- let eg = if ((ef != ""))
761- then ah(invoke(dS, "unstakeDuckCallback", [ef, s], nil))
761+ let ec = valueOrElse(getString(dR, W(s)), "")
762+ let ed = if ((ec != ""))
763+ then ah(invoke(dR, "unstakeDuckCallback", [ec, s], nil))
762764 else $Tuple3(0, 0, 0)
763- let eh = cr((((((((dR._1 + dU._1) + dU._2) + dU._3) + dU._4) + eg._1) + eg._2) + eg._3), s, 0)
764- $Tuple2(((dU._6 ++ eh._1) ++ dz), $Tuple3(dR._2, dU._5, eh._2))
765+ let ee = cr((((((((dQ._1 + dT._1) + dT._2) + dT._3) + dT._4) + ed._1) + ed._2) + ed._3), s, 0)
766+ $Tuple2(((dT._6 ++ ee._1) ++ dz), $Tuple3(dQ._2, dT._5, ee._2))
765767 }
766768 }
767769 }
768770
769771
770772
771773 @Callable(bK)
772774 func unstakeLandsREADONLY (s) = {
773- let dS = addressFromStringValue(q)
774- let dT = getString(dS, U(s))
775- let dU = if (isDefined(dT))
775+ let dR = addressFromStringValue(q)
776+ let dS = getString(dR, U(s))
777+ let dT = if (isDefined(dS))
776778 then {
777- let dX = split_51C(value(dT), "_")
778- func dY (aS,dZ) = if ((dZ == ""))
779+ let dU = split_51C(value(dS), "_")
780+ func dV (aS,dW) = if ((dW == ""))
779781 then throw("landAssetId is required")
780782 else {
781- let ea = ag(invoke(dS, "unstakeLandREADONLY", [dZ, s], nil))
782- $Tuple4((aS._1 + ea._1), (aS._2 + ea._2), (aS._3 + ea._3), (aS._4 + ea._4))
783+ let dX = ag(invoke(dR, "unstakeLandREADONLY", [dW, s], nil))
784+ $Tuple4((aS._1 + dX._1), (aS._2 + dX._2), (aS._3 + dX._3), (aS._4 + dX._4))
783785 }
784786
785- let aU = dX
787+ let aU = dU
786788 let aV = size(aU)
787789 let aW = $Tuple4(0, 0, 0, 0)
788790 func aX (aY,aZ) = if ((aZ >= aV))
789791 then aY
790- else dY(aY, aU[aZ])
792+ else dV(aY, aU[aZ])
791793
792794 func ba (aY,aZ) = if ((aZ >= aV))
793795 then aY
794796 else throw("List size exceeds 100")
795797
796798 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)
797799 }
798800 else $Tuple4(0, 0, 0, 0)
799- $Tuple2(nil, dU)
801+ $Tuple2(nil, dT)
800802 }
801803
802804
803805
804806 @Callable(bK)
805807 func stakeAcresCallback (L) = if ((bK.caller != addressFromStringValue(q)))
806808 then throw("Permission denied")
807809 else cr(bK.payments[0].amount, L, 0)
808810
809811
810812
811813 @Callable(bK)
812-func simulateStakeAcresREADONLY (s,ei) = {
814+func simulateStakeAcresREADONLY (s,ef) = {
813815 let cx = ax(s)
814- let cz = (valueOrElse(getInteger(cx), 0) + ei)
816+ let cz = (valueOrElse(getInteger(cx), 0) + ef)
815817 let cA = valueOrElse(getInteger(az), 0)
816818 let cB = ay(s)
817819 let cC = valueOrElse(getInteger(cB), 0)
818- let ej = valueOrElse(getInteger(F, aM(s)), 0)
819- let ek = bc(cz, ej)
820- let cG = ek._1
821- let cH = ek._2
820+ let eg = valueOrElse(getInteger(F, aM(s)), 0)
821+ let eh = bc(cz, eg)
822+ let cG = eh._1
823+ let cH = eh._2
822824 let cI = valueOrElse(getInteger(aA), 0)
823- let el = ((cI + cG) - cC)
824- $Tuple2(nil, [cC, cG, cI, el])
825+ let ei = ((cI + cG) - cC)
826+ $Tuple2(nil, [cC, cG, cI, ei])
825827 }
826828
827829
828830
829831 @Callable(bK)
830-func issuePickC1 (em) = if ((bK.caller != G))
832+func issuePickC1 (ej) = if ((bK.caller != G))
831833 then throw("Permission denied")
832- else cd(bv, bx, bG, bA, 1, bo, bI, addressFromStringValue(em))
834+ else cd(bv, bx, bG, bA, 1, bo, bI, addressFromStringValue(ej))
833835
834836
835837
836838 @Callable(bK)
837839 func stakeNFT () = {
838840 let dz = bJ(bK)
839841 if ((size(bK.payments) != 1))
840842 then throw("Exactly one payment required")
841843 else {
842844 let dC = value(bK.payments[0])
843845 if ((dC.amount != 1))
844846 then throw("NFT token should be attached as payment")
845847 else {
846848 let Y = value(dC.assetId)
847- let en = value(assetInfo(Y))
849+ let ek = value(assetInfo(Y))
848850 let dm = toBase58String(Y)
849851 let L = toString(bK.caller)
850- let eo = Z(L)
851- let ep = getString(eo)
852- let eq = if (isDefined(ep))
853- then split_4C(value(ep), "_")
852+ let el = Z(L)
853+ let em = getString(el)
854+ let en = if (isDefined(em))
855+ then split_4C(value(em), "_")
854856 else nil
855- if (containsElement(eq, dm))
857+ if (containsElement(en, dm))
856858 then throw(("Your staked NFTs already contain " + dm))
857- else if ((size(eq) >= aE))
859+ else if ((size(en) >= aE))
858860 then throw((("Your already staked max (" + toString(aE)) + ") NFTs"))
859861 else {
860- let er = StringEntry(eo, makeString_2C((eq :+ dm), "_"))
861- if ((en.issuer == this))
862+ let eo = StringEntry(el, makeString_2C((en :+ dm), "_"))
863+ if ((ek.issuer == this))
862864 then {
863- let es = dl(L, dm, (cn(value(en.description)) * 10000), aK(L), aH, aB)
864- let ds = es._1
865- let dt = es._2
866- $Tuple2(((dz ++ ds) :+ er), dt)
865+ let ep = dl(L, dm, (cn(value(ek.description)) * 10000), aK(L), aH, aB)
866+ let ds = ep._1
867+ let dt = ep._2
868+ $Tuple2(((dz ++ ds) :+ eo), dt)
867869 }
868- else if ((di(en) == ""))
870+ else if ((di(ek) == ""))
869871 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
870872 else {
871- let et = dl(L, dm, aD, aL(L), aI, aC)
872- let ds = et._1
873- let dt = et._2
874- $Tuple2(((dz ++ ds) :+ er), dt)
873+ let eq = dl(L, dm, aD, aL(L), aI, aC)
874+ let ds = eq._1
875+ let dt = eq._2
876+ $Tuple2(((dz ++ ds) :+ eo), dt)
875877 }
876878 }
877879 }
878880 }
879881 }
880882
881883
882884
883885 @Callable(bK)
884886 func unstakeNFT (dm) = {
885887 let dz = bJ(bK)
886888 if ((size(bK.payments) != 0))
887889 then throw("No payments required")
888890 else {
889891 let Y = fromBase58String(dm)
890892 let L = toString(bK.caller)
891- let en = value(assetInfo(Y))
893+ let ek = value(assetInfo(Y))
892894 let cw = X(dm, L)
893895 if (!(isDefined(getInteger(cw))))
894- then throw((("NFT " + en.name) + " is not staked by you"))
896+ then throw((("NFT " + ek.name) + " is not staked by you"))
895897 else {
896- let eo = Z(L)
897- let eq = split_4C(valueOrElse(getString(eo), ""), "_")
898- let D = indexOf(eq, dm)
898+ let el = Z(L)
899+ let en = split_4C(valueOrElse(getString(el), ""), "_")
900+ let D = indexOf(en, dm)
899901 if (!(isDefined(D)))
900902 then throw(("Your staked NFTs don't contain " + dm))
901903 else {
902- let er = if ((size(eq) > 1))
903- then StringEntry(eo, makeString_2C(removeByIndex(eq, value(D)), "_"))
904- else DeleteEntry(eo)
905- let eu = (en.issuer == this)
906- if (eu)
904+ let eo = if ((size(en) > 1))
905+ then StringEntry(el, makeString_2C(removeByIndex(en, value(D)), "_"))
906+ else DeleteEntry(el)
907+ let er = (ek.issuer == this)
908+ if (er)
907909 then {
908- let ev = valueOrElse(getInteger(aK(L)), 0)
909- let ew = (cn(value(en.description)) * 10000)
910- let ex = cr(0, L, -(ew))
911- let ds = ex._1
912- let dt = ex._2
913- $Tuple2(((((((ds :+ er) :+ IntegerEntry(aK(L), (ev - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
910+ let es = valueOrElse(getInteger(aK(L)), 0)
911+ let et = (cn(value(ek.description)) * 10000)
912+ let eu = cr(0, L, -(et))
913+ let ds = eu._1
914+ let dt = eu._2
915+ $Tuple2(((((((ds :+ eo) :+ IntegerEntry(aK(L), (es - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
914916 }
915917 else {
916- let ey = di(en)
917- if ((ey == ""))
918+ let ev = di(ek)
919+ if ((ev == ""))
918920 then throw("Only WavesLands and Arkimals NFT tokens are accepted")
919921 else {
920- let ez = valueOrElse(getInteger(aL(L)), 0)
921- let eA = cr(0, L, -(aD))
922- let ds = eA._1
923- let dt = eA._2
924- $Tuple2((((((ds :+ er) :+ IntegerEntry(aL(L), (ez - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
922+ let ew = valueOrElse(getInteger(aL(L)), 0)
923+ let ex = cr(0, L, -(aD))
924+ let ds = ex._1
925+ let dt = ex._2
926+ $Tuple2((((((ds :+ eo) :+ IntegerEntry(aL(L), (ew - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bK.caller, 1, Y)) ++ dz), dt)
925927 }
926928 }
927929 }
928930 }
929931 }
930932 }
931933
932934
933935
934936 @Callable(bK)
935937 func exchangeNFTs () = {
936938 let dz = bJ(bK)
937939 if ((3 > size(bK.payments)))
938940 then throw("Min one WLGOLD and 2 NFT payments allowed")
939941 else if ((size(bK.payments) > 10))
940942 then throw("Max one WLGOLD and 9 NFT payments allowed")
941943 else {
942944 let L = toString(bK.caller)
943- func eB (aS,dC) = {
945+ func ey (aS,dC) = {
944946 let Y = valueOrErrorMessage(dC.assetId, "WAVES payments not allowed")
945947 if ((Y == P))
946948 then $Tuple4((aS._1 + dC.amount), aS._2, aS._3, aS._4)
947949 else {
948- let en = value(assetInfo(Y))
949- if ((en.issuer != this))
950+ let ek = value(assetInfo(Y))
951+ if ((ek.issuer != this))
950952 then throw("Only WL-issued NFTs allowed")
951953 else {
952- let eC = cp(value(en.description))
954+ let ez = cp(value(ek.description))
953955 if (if ((aS._4 > 0))
954- then (eC != aS._4)
956+ then (ez != aS._4)
955957 else false)
956958 then throw("You can exchange only NFTs of the same rarity")
957959 else {
958- let ci = cn(value(en.description))
959- $Tuple4(aS._1, (aS._2 + ci), (aS._3 :+ Burn(Y, 1)), eC)
960+ let ci = cn(value(ek.description))
961+ $Tuple4(aS._1, (aS._2 + ci), (aS._3 :+ Burn(Y, 1)), ez)
960962 }
961963 }
962964 }
963965 }
964966
965- let eD = {
967+ let eA = {
966968 let aU = bK.payments
967969 let aV = size(aU)
968970 let aW = $Tuple4(0, 0, nil, -1)
969971 func aX (aY,aZ) = if ((aZ >= aV))
970972 then aY
971- else eB(aY, aU[aZ])
973+ else ey(aY, aU[aZ])
972974
973975 func ba (aY,aZ) = if ((aZ >= aV))
974976 then aY
975977 else throw("List size exceeds 10")
976978
977979 ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10)
978980 }
979- let eE = eD._1
980- let eF = eD._2
981- let eG = eD._3
982- let ch = eD._4
983- let eH = if ((ch == bA))
984- then if ((bp[bq] > eF))
981+ let eB = eA._1
982+ let eC = eA._2
983+ let eD = eA._3
984+ let ch = eA._4
985+ let eE = if ((ch == bA))
986+ then if ((bp[bq] > eC))
985987 then bA
986- else if ((bp[br] > eF))
988+ else if ((bp[br] > eC))
987989 then bB
988990 else throw((("You can advance only one level of rarity, max total bonus " + toString(bp[br])) + "%"))
989991 else if ((ch == bB))
990- then if ((bp[br] > eF))
992+ then if ((bp[br] > eC))
991993 then bB
992- else if ((bp[bs] > eF))
994+ else if ((bp[bs] > eC))
993995 then bC
994996 else throw((("You can advance only one level of rarity, max total bonus " + toString(bp[bs])) + "%"))
995997 else if ((ch == bC))
996- then if ((bp[bs] > eF))
998+ then if ((bp[bs] > eC))
997999 then bC
9981000 else bD
9991001 else if ((ch == bD))
10001002 then bD
10011003 else if ((ch == bE))
10021004 then throw("You can't exchange NFTs of this rarity")
10031005 else throw("Unknown rarity")
1004- let eI = fraction(eF, e, cL(0))
1005- let eJ = (eE - eI)
1006- let eK = (eI / 2)
1007- let dJ = aa(invoke(G, "burnWlgold", [(eI - eK)], nil))
1008- if ((0 > eJ))
1009- then throw((("You need to attach " + aj(eI, 8)) + " WLGOLD as fee"))
1006+ let eF = fraction(eC, e, cL(0))
1007+ let eG = (eB - eF)
1008+ let eH = (eF / 2)
1009+ let dJ = aa(invoke(G, "burnWlgold", [(eF - eH)], nil))
1010+ if ((0 > eG))
1011+ then throw((("You need to attach " + aj(eF, 8)) + " WLGOLD as fee"))
10101012 else {
1011- let eL = if ((eJ > 0))
1012- then [ScriptTransfer(bK.caller, eJ, P)]
1013+ let eI = if ((eG > 0))
1014+ then [ScriptTransfer(bK.caller, eG, P)]
10131015 else nil
1014- let eM = cd(bv, eH, bG, eH, eF, bo, bI, bK.caller)
1015- let eN = eM._1
1016- let cm = eM._2
1017- let eO = size(eG)
1018- let eP = if ((eO == 0))
1016+ let eJ = cd(bv, eE, bG, eE, eC, bo, bI, bK.caller)
1017+ let eK = eJ._1
1018+ let cm = eJ._2
1019+ let eL = size(eD)
1020+ let eM = if ((eL == 0))
10191021 then nil
1020- else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eO))]
1021- $Tuple2((((((eN ++ eG) ++ eP) ++ dz) ++ eL) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eK, P)), $Tuple2(cm, dJ))
1022+ else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eL))]
1023+ $Tuple2((((((eK ++ eD) ++ eM) ++ dz) ++ eI) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eH, P)), $Tuple2(cm, dJ))
10221024 }
10231025 }
10241026 }
10251027
10261028
10271029
10281030 @Callable(bK)
10291031 func openNftChest () = {
10301032 let dz = bJ(bK)
10311033 if ((size(bK.payments) != 1))
10321034 then throw("exactly 1 payment must be attached")
10331035 else {
10341036 let dC = bK.payments[0]
10351037 let dG = dC.amount
10361038 if (if (!(isDefined(dC.assetId)))
10371039 then true
10381040 else (value(dC.assetId) != P))
10391041 then throw("WLGOLD payments only!")
10401042 else {
1041- let eI = fraction(j, d, cL(0))
1042- let eJ = (dG - eI)
1043- let eK = (eI / 2)
1044- let dJ = aa(invoke(G, "burnWlgold", [(eI - eK)], nil))
1045- if ((0 > eJ))
1046- then throw((("You need to attach " + aj(eI, 8)) + " WLGOLD as fee"))
1043+ let eF = fraction(j, d, cL(0))
1044+ let eG = (dG - eF)
1045+ let eH = (eF / 2)
1046+ let dJ = aa(invoke(G, "burnWlgold", [(eF - eH)], nil))
1047+ if ((0 > eG))
1048+ then throw((("You need to attach " + aj(eF, 8)) + " WLGOLD as fee"))
10471049 else {
1048- let eL = if ((eJ > 0))
1049- then [ScriptTransfer(bK.caller, eJ, P)]
1050+ let eI = if ((eG > 0))
1051+ then [ScriptTransfer(bK.caller, eG, P)]
10501052 else nil
10511053 let L = toString(bK.caller)
1052- let eQ = N(L)
1053- let eR = valueOrErrorMessage(getInteger(eQ), "You have to commitForRandom() first!")
1054- if ((eR > height))
1055- then throw(("Random number is not ready yet, wait until height = " + toString(eR)))
1054+ let eN = N(L)
1055+ let eO = valueOrErrorMessage(getInteger(eN), "You have to commitForRandom() first!")
1056+ if ((eO > height))
1057+ then throw(("Random number is not ready yet, wait until height = " + toString(eO)))
10561058 else {
1057- let ar = value(value(blockInfoByHeight(eR)).vrf)
1059+ let ar = value(value(blockInfoByHeight(eO)).vrf)
10581060 let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1])
1059- let eS = ao(100, aq, ar)
1060- let eT = if ((84 > eS))
1061+ let eP = ao(100, aq, ar)
1062+ let eQ = if ((84 > eP))
10611063 then $Tuple2(1, bA)
1062- else if ((98 > eS))
1064+ else if ((98 > eP))
10631065 then $Tuple2(5, bB)
10641066 else $Tuple2(10, bC)
1065- let cb = eT._1
1066- let ch = eT._2
1067- let eU = cd(bv, ch, bG, ch, cb, bo, bI, bK.caller)
1068- let eN = eU._1
1069- let cm = eU._2
1070- $Tuple2(((((eN ++ dz) ++ eL) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eK, P)) :+ DeleteEntry(eQ)), $Tuple2(cm, dJ))
1067+ let cb = eQ._1
1068+ let ch = eQ._2
1069+ let eR = cd(bv, ch, bG, ch, cb, bo, bI, bK.caller)
1070+ let eK = eR._1
1071+ let cm = eR._2
1072+ $Tuple2(((((eK ++ dz) ++ eI) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eH, P)) :+ DeleteEntry(eN)), $Tuple2(cm, dJ))
10711073 }
10721074 }
10731075 }
10741076 }
10751077 }
10761078
10771079
10781080
10791081 @Callable(bK)
10801082 func commitForRandom () = {
10811083 let dz = bJ(bK)
10821084 let L = toString(bK.caller)
1083- let eQ = N(L)
1084- if (isDefined(getInteger(eQ)))
1085+ let eN = N(L)
1086+ if (isDefined(getInteger(eN)))
10851087 then throw("You already commited for random, please use it")
10861088 else {
1087- let eR = (height + i)
1088- $Tuple2(([IntegerEntry(eQ, eR)] ++ dz), eR)
1089+ let eO = (height + i)
1090+ $Tuple2(([IntegerEntry(eN, eO)] ++ dz), eO)
10891091 }
10901092 }
10911093
10921094

github/deemru/w8io/169f3d6 
185.90 ms