tx · 865Bu7UjvUGMa5QuUniGdKNvfhjyYFxJA2n9AQYN4LeW 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh: -0.03200000 Waves 2024.12.05 03:27 [3400616] smart account 3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh > SELF 0.00000000 Waves
{ "type": 13, "id": "865Bu7UjvUGMa5QuUniGdKNvfhjyYFxJA2n9AQYN4LeW", "fee": 3200000, "feeAssetId": null, "timestamp": 1733358430530, "version": 2, "chainId": 84, "sender": "3NBPx1Fciu3JQNEGZ21jSnTdutLNGGBUSXh", "senderPublicKey": "3QtfC1XbLZXdeawMDeSERy9vvjUmj1XYd2GFmrvx7pWQ", "proofs": [ "3ECSB87nPJZQ293jU2CZAjtsFLMeRwJmwvcwMqTdXp2w8Q3BzvoyvdrkvSAD1SYtAwJY5VPjzs2AJFaGzUAVUf9F" ], "script": "base64:BgJJCAISABIECgIICBIDCgEEEgMKAQESABIAEgMKAQESABIECgIIARIAEgMKAQgSAwoBCBIECgIIARIDCgEIEgASAwoBCBIAEgASAHwAA1NFUAICX18ABU1VTFQ2AMCEPQAFTVVMVDcAgK3iBAAFTVVMVDgAgMLXLwAGTVVMVDE0AICA6YOx3hYACkRBWV9NSUxMSVMAgLiZKQAVVVNEVDJBQ1JFU19NVUxUSVBMSUVSAAoAE09ORV9QRVJDRU5UX0RJVklTT1IAZAAMUkFORE9NX0RFTEFZAAIAFE5GVF9DSEVTVF9QUklDRV9VU0RUAMCWsQIABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAAtXRUVLX0JMT0NLUwQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMADgTgMJAAACAQFUBQckbWF0Y2gwALQBCQACAQINVW5rbm93biBjaGFpbgALdXNkdEFzc2V0SWQEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDABIITaerIIAz9O0bvKju6Lk7zJgt0LXfoHlqjUI/moD/+5AwkAA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BaQZjYWxsZXIED2lzc3VlTmZ0QWN0aW9ucwgFDSR0MDI5OTg5MzAxMzkCXzEECm5mdEFzc2V0SWQIBQ0kdDAyOTk4OTMwMTM5Al8yCQCUCgIJAM0IAgkAzQgCCQDOCAIJAM4IAgUPaXNzdWVOZnRBY3Rpb25zBQ1wcm9sb2dBY3Rpb25zBQ1jaGFuZ2VBY3Rpb25zCQEOU2NyaXB0VHJhbnNmZXIDCQERQGV4dHJOYXRpdmUoMTA2MikBCQERQGV4dHJOYXRpdmUoMTA1MykCBQt3bGdDb250cmFjdAULdGVhbUFkZHJLZXkFB2ZvclRlYW0FCndsZ0Fzc2V0SWQJAQtEZWxldGVFbnRyeQEFCWZpbmlzaEtleQkAlAoCBQpuZnRBc3NldElkBQl3bGdSZW1haW4BaQEPY29tbWl0Rm9yUmFuZG9tAAQNcHJvbG9nQWN0aW9ucwkBBnByb2xvZwEFAWkEBGFkZHIJAKUIAQgFAWkGY2FsbGVyBAlmaW5pc2hLZXkJAQlrZXlDb21taXQBBQRhZGRyAwkBCWlzRGVmaW5lZAEJAJ8IAQUJZmluaXNoS2V5CQACAQIuWW91IGFscmVhZHkgY29tbWl0ZWQgZm9yIHJhbmRvbSwgcGxlYXNlIHVzZSBpdAQLZmluaXNoQmxvY2sJAGQCBQZoZWlnaHQFDFJBTkRPTV9ERUxBWQkAlAoCCQDOCAIJAMwIAgkBDEludGVnZXJFbnRyeQIFCWZpbmlzaEtleQULZmluaXNoQmxvY2sFA25pbAUNcHJvbG9nQWN0aW9ucwULZmluaXNoQmxvY2sAyrHQsQ==", "height": 3400616, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3crWJHj1jefTFdCMaPhsdxsFE2wMav4LNa7FveDrjtyw Next: JB8gexeB8Er7QWWNEHJ1A9GmL1Md6r36n3VxZNqScSfR Diff:
Old | New | Differences | |
---|---|---|---|
712 | 712 | let dR = getString(dQ, U(s)) | |
713 | 713 | let dS = if (isDefined(dR)) | |
714 | 714 | then { | |
715 | - | let dT = split_51C(value(dR), "_") | |
716 | - | func dU (aS,dV) = if ((dV == "")) | |
715 | + | let dT = value(dR) | |
716 | + | let dU = if ((900 > size(dT))) | |
717 | + | then dT | |
718 | + | else take(dT, value(lastIndexOf(dT, "_", (45 * 20)))) | |
719 | + | let dV = split_51C(value(dU), "_") | |
720 | + | func dW (aS,dX) = if ((dX == "")) | |
717 | 721 | then throw("landAssetId is required") | |
718 | 722 | else { | |
719 | - | let | |
720 | - | $Tuple5((aS._1 + | |
723 | + | let dY = ad(invoke(dQ, "unstakeLandCallback", [dX, s], nil)) | |
724 | + | $Tuple5((aS._1 + dY._1), (aS._2 + dY._2), (aS._3 + dY._3), (aS._4 + dY._4), (aS._5 + dY._5)) | |
721 | 725 | } | |
722 | 726 | ||
723 | - | let | |
724 | - | let aU = | |
727 | + | let dZ = { | |
728 | + | let aU = dV | |
725 | 729 | let aV = size(aU) | |
726 | 730 | let aW = $Tuple5(0, 0, 0, 0, 0) | |
727 | 731 | func aX (aY,aZ) = if ((aZ >= aV)) | |
728 | 732 | then aY | |
729 | - | else | |
733 | + | else dW(aY, aU[aZ]) | |
730 | 734 | ||
731 | 735 | func ba (aY,aZ) = if ((aZ >= aV)) | |
732 | 736 | then aY | |
734 | 738 | ||
735 | 739 | 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 | 740 | } | |
737 | - | let | |
738 | - | if (( | |
741 | + | let ea = invoke(dQ, "unstakeLandsFinalizeCallback", [s], nil) | |
742 | + | if ((ea == ea)) | |
739 | 743 | then { | |
740 | - | let dH = invoke(dG, "requestAcresCallback", [((( | |
744 | + | let dH = invoke(dG, "requestAcresCallback", [(((dZ._1 + dZ._2) + dZ._3) + dZ._4)], nil) | |
741 | 745 | if ((dH == dH)) | |
742 | 746 | then { | |
743 | - | let | |
744 | - | let | |
745 | - | let cl = | |
746 | - | $Tuple6( | |
747 | + | let eb = cc(bt, bx, bF, bD, 3, bm, bH, bJ.caller) | |
748 | + | let ec = eb._1 | |
749 | + | let cl = eb._2 | |
750 | + | $Tuple6(dZ._1, dZ._2, dZ._3, dZ._4, dZ._5, ec) | |
747 | 751 | } | |
748 | 752 | else throw("Strict value is not equal to itself.") | |
749 | 753 | } | |
750 | 754 | else throw("Strict value is not equal to itself.") | |
751 | 755 | } | |
752 | 756 | else $Tuple6(0, 0, 0, 0, 0, nil) | |
753 | - | let | |
754 | - | let | |
755 | - | then ah(invoke(dQ, "unstakeDuckCallback", [ | |
757 | + | let ed = valueOrElse(getString(dQ, W(s)), "") | |
758 | + | let ee = if ((ed != "")) | |
759 | + | then ah(invoke(dQ, "unstakeDuckCallback", [ed, s], nil)) | |
756 | 760 | else $Tuple3(0, 0, 0) | |
757 | - | let | |
758 | - | $Tuple2(((dS._6 ++ | |
761 | + | let ef = cq((((((((dP._1 + dS._1) + dS._2) + dS._3) + dS._4) + ee._1) + ee._2) + ee._3), s, 0) | |
762 | + | $Tuple2(((dS._6 ++ ef._1) ++ dy), $Tuple3(dP._2, dS._5, ef._2)) | |
759 | 763 | } | |
760 | 764 | } | |
761 | 765 | } | |
768 | 772 | let dR = getString(dQ, U(s)) | |
769 | 773 | let dS = if (isDefined(dR)) | |
770 | 774 | then { | |
771 | - | let | |
772 | - | func | |
775 | + | let dV = split_51C(value(dR), "_") | |
776 | + | func dW (aS,dX) = if ((dX == "")) | |
773 | 777 | then throw("landAssetId is required") | |
774 | 778 | else { | |
775 | - | let | |
776 | - | $Tuple4((aS._1 + | |
779 | + | let dY = ag(invoke(dQ, "unstakeLandREADONLY", [dX, s], nil)) | |
780 | + | $Tuple4((aS._1 + dY._1), (aS._2 + dY._2), (aS._3 + dY._3), (aS._4 + dY._4)) | |
777 | 781 | } | |
778 | 782 | ||
779 | - | let aU = | |
783 | + | let aU = dV | |
780 | 784 | let aV = size(aU) | |
781 | 785 | let aW = $Tuple4(0, 0, 0, 0) | |
782 | 786 | func aX (aY,aZ) = if ((aZ >= aV)) | |
783 | 787 | then aY | |
784 | - | else | |
788 | + | else dW(aY, aU[aZ]) | |
785 | 789 | ||
786 | 790 | func ba (aY,aZ) = if ((aZ >= aV)) | |
787 | 791 | then aY | |
803 | 807 | ||
804 | 808 | ||
805 | 809 | @Callable(bJ) | |
806 | - | func simulateStakeAcresREADONLY (s, | |
810 | + | func simulateStakeAcresREADONLY (s,eg) = { | |
807 | 811 | let cw = ax(s) | |
808 | - | let cy = (valueOrElse(getInteger(cw), 0) + | |
812 | + | let cy = (valueOrElse(getInteger(cw), 0) + eg) | |
809 | 813 | let cz = valueOrElse(getInteger(az), 0) | |
810 | 814 | let cA = ay(s) | |
811 | 815 | let cB = valueOrElse(getInteger(cA), 0) | |
812 | - | let | |
813 | - | let | |
814 | - | let cF = | |
815 | - | let cG = | |
816 | + | let eh = valueOrElse(getInteger(F, aM(s)), 0) | |
817 | + | let ei = bc(cy, eh) | |
818 | + | let cF = ei._1 | |
819 | + | let cG = ei._2 | |
816 | 820 | let cH = valueOrElse(getInteger(aA), 0) | |
817 | - | let | |
818 | - | $Tuple2(nil, [cB, cF, cH, | |
821 | + | let ej = ((cH + cF) - cB) | |
822 | + | $Tuple2(nil, [cB, cF, cH, ej]) | |
819 | 823 | } | |
820 | 824 | ||
821 | 825 | ||
822 | 826 | ||
823 | 827 | @Callable(bJ) | |
824 | - | func issuePickC1 ( | |
828 | + | func issuePickC1 (ek) = if ((bJ.caller != G)) | |
825 | 829 | then throw("Permission denied") | |
826 | - | else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue( | |
830 | + | else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue(ek)) | |
827 | 831 | ||
828 | 832 | ||
829 | 833 | ||
838 | 842 | then throw("NFT token should be attached as payment") | |
839 | 843 | else { | |
840 | 844 | let Y = value(dB.assetId) | |
841 | - | let | |
845 | + | let el = value(assetInfo(Y)) | |
842 | 846 | let dl = toBase58String(Y) | |
843 | 847 | let L = toString(bJ.caller) | |
844 | - | let | |
845 | - | let | |
846 | - | let | |
847 | - | then split_4C(value( | |
848 | + | let em = Z(L) | |
849 | + | let en = getString(em) | |
850 | + | let eo = if (isDefined(en)) | |
851 | + | then split_4C(value(en), "_") | |
848 | 852 | else nil | |
849 | - | if (containsElement( | |
853 | + | if (containsElement(eo, dl)) | |
850 | 854 | then throw(("Your staked NFTs already contain " + dl)) | |
851 | - | else if ((size( | |
855 | + | else if ((size(eo) >= aE)) | |
852 | 856 | then throw((("Your already staked max (" + toString(aE)) + ") NFTs")) | |
853 | 857 | else { | |
854 | - | let | |
855 | - | if (( | |
858 | + | let ep = StringEntry(em, makeString_2C((eo :+ dl), "_")) | |
859 | + | if ((el.issuer == this)) | |
856 | 860 | then { | |
857 | - | let | |
858 | - | let dr = | |
859 | - | let ds = | |
860 | - | $Tuple2(((dy ++ dr) :+ | |
861 | + | let eq = dk(L, dl, (cm(value(el.description)) * 10000), aK(L), aH, aB) | |
862 | + | let dr = eq._1 | |
863 | + | let ds = eq._2 | |
864 | + | $Tuple2(((dy ++ dr) :+ ep), ds) | |
861 | 865 | } | |
862 | - | else if ((dh( | |
866 | + | else if ((dh(el) == "")) | |
863 | 867 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
864 | 868 | else { | |
865 | - | let | |
866 | - | let dr = | |
867 | - | let ds = | |
868 | - | $Tuple2(((dy ++ dr) :+ | |
869 | + | let er = dk(L, dl, aD, aL(L), aI, aC) | |
870 | + | let dr = er._1 | |
871 | + | let ds = er._2 | |
872 | + | $Tuple2(((dy ++ dr) :+ ep), ds) | |
869 | 873 | } | |
870 | 874 | } | |
871 | 875 | } | |
882 | 886 | else { | |
883 | 887 | let Y = fromBase58String(dl) | |
884 | 888 | let L = toString(bJ.caller) | |
885 | - | let | |
889 | + | let el = value(assetInfo(Y)) | |
886 | 890 | let cv = X(dl, L) | |
887 | 891 | if (!(isDefined(getInteger(cv)))) | |
888 | - | then throw((("NFT " + | |
892 | + | then throw((("NFT " + el.name) + " is not staked by you")) | |
889 | 893 | else { | |
890 | - | let | |
891 | - | let | |
892 | - | let D = indexOf( | |
894 | + | let em = Z(L) | |
895 | + | let eo = split_4C(valueOrElse(getString(em), ""), "_") | |
896 | + | let D = indexOf(eo, dl) | |
893 | 897 | if (!(isDefined(D))) | |
894 | 898 | then throw(("Your staked NFTs don't contain " + dl)) | |
895 | 899 | else { | |
896 | - | let | |
897 | - | then StringEntry( | |
898 | - | else DeleteEntry( | |
899 | - | let | |
900 | - | if ( | |
900 | + | let ep = if ((size(eo) > 1)) | |
901 | + | then StringEntry(em, makeString_2C(removeByIndex(eo, value(D)), "_")) | |
902 | + | else DeleteEntry(em) | |
903 | + | let es = (el.issuer == this) | |
904 | + | if (es) | |
901 | 905 | then { | |
902 | - | let | |
903 | - | let | |
904 | - | let | |
905 | - | let dr = | |
906 | - | let ds = | |
907 | - | $Tuple2(((((((dr :+ | |
906 | + | let et = valueOrElse(getInteger(aK(L)), 0) | |
907 | + | let eu = (cm(value(el.description)) * 10000) | |
908 | + | let ev = cq(0, L, -(eu)) | |
909 | + | let dr = ev._1 | |
910 | + | let ds = ev._2 | |
911 | + | $Tuple2(((((((dr :+ ep) :+ IntegerEntry(aK(L), (et - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds) | |
908 | 912 | } | |
909 | 913 | else { | |
910 | - | let | |
911 | - | if (( | |
914 | + | let ew = dh(el) | |
915 | + | if ((ew == "")) | |
912 | 916 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
913 | 917 | else { | |
914 | - | let | |
915 | - | let | |
916 | - | let dr = | |
917 | - | let ds = | |
918 | - | $Tuple2((((((dr :+ | |
918 | + | let ex = valueOrElse(getInteger(aL(L)), 0) | |
919 | + | let ey = cq(0, L, -(aD)) | |
920 | + | let dr = ey._1 | |
921 | + | let ds = ey._2 | |
922 | + | $Tuple2((((((dr :+ ep) :+ IntegerEntry(aL(L), (ex - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds) | |
919 | 923 | } | |
920 | 924 | } | |
921 | 925 | } | |
934 | 938 | then throw("Max one WLGOLD and 9 NFT payments allowed") | |
935 | 939 | else { | |
936 | 940 | let L = toString(bJ.caller) | |
937 | - | func | |
941 | + | func ez (aS,dB) = { | |
938 | 942 | let Y = valueOrErrorMessage(dB.assetId, "WAVES payments not allowed") | |
939 | 943 | if ((Y == P)) | |
940 | 944 | then $Tuple4((aS._1 + dB.amount), aS._2, aS._3, aS._4) | |
941 | 945 | else { | |
942 | - | let | |
943 | - | if (( | |
946 | + | let el = value(assetInfo(Y)) | |
947 | + | if ((el.issuer != this)) | |
944 | 948 | then throw("Only WL-issued NFTs allowed") | |
945 | 949 | else { | |
946 | - | let | |
950 | + | let eA = co(value(el.description)) | |
947 | 951 | if (if ((aS._4 > 0)) | |
948 | - | then ( | |
952 | + | then (eA != aS._4) | |
949 | 953 | else false) | |
950 | 954 | then throw("You can exchange only NFTs of the same rarity") | |
951 | 955 | else { | |
952 | - | let ch = cm(value( | |
953 | - | $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), | |
956 | + | let ch = cm(value(el.description)) | |
957 | + | $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), eA) | |
954 | 958 | } | |
955 | 959 | } | |
956 | 960 | } | |
957 | 961 | } | |
958 | 962 | ||
959 | - | let | |
963 | + | let eB = { | |
960 | 964 | let aU = bJ.payments | |
961 | 965 | let aV = size(aU) | |
962 | 966 | let aW = $Tuple4(0, 0, nil, -1) | |
963 | 967 | func aX (aY,aZ) = if ((aZ >= aV)) | |
964 | 968 | then aY | |
965 | - | else | |
969 | + | else ez(aY, aU[aZ]) | |
966 | 970 | ||
967 | 971 | func ba (aY,aZ) = if ((aZ >= aV)) | |
968 | 972 | then aY | |
970 | 974 | ||
971 | 975 | ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
972 | 976 | } | |
973 | - | let | |
974 | - | let | |
975 | - | let | |
976 | - | let cg = | |
977 | - | let | |
978 | - | then if ((bo[bp] > | |
977 | + | let eC = eB._1 | |
978 | + | let eD = eB._2 | |
979 | + | let eE = eB._3 | |
980 | + | let cg = eB._4 | |
981 | + | let eF = if ((cg == bz)) | |
982 | + | then if ((bo[bp] > eD)) | |
979 | 983 | then bz | |
980 | - | else if ((bo[bq] > | |
984 | + | else if ((bo[bq] > eD)) | |
981 | 985 | then bA | |
982 | 986 | else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[bq])) + "%")) | |
983 | 987 | else if ((cg == bA)) | |
984 | - | then if ((bo[bq] > | |
988 | + | then if ((bo[bq] > eD)) | |
985 | 989 | then bA | |
986 | - | else if ((bo[br] > | |
990 | + | else if ((bo[br] > eD)) | |
987 | 991 | then bB | |
988 | 992 | else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[br])) + "%")) | |
989 | 993 | else if ((cg == bB)) | |
990 | - | then if ((bo[br] > | |
994 | + | then if ((bo[br] > eD)) | |
991 | 995 | then bB | |
992 | 996 | else bC | |
993 | 997 | else if ((cg == bC)) | |
995 | 999 | else if ((cg == bD)) | |
996 | 1000 | then throw("You can't exchange NFTs of this rarity") | |
997 | 1001 | else throw("Unknown rarity") | |
998 | - | let | |
999 | - | let | |
1000 | - | let | |
1001 | - | let dI = aa(invoke(G, "burnWlgold", [( | |
1002 | - | if ((0 > | |
1003 | - | then throw((("You need to attach " + aj( | |
1002 | + | let eG = fraction(eD, e, cK(0)) | |
1003 | + | let eH = (eC - eG) | |
1004 | + | let eI = (eG / 2) | |
1005 | + | let dI = aa(invoke(G, "burnWlgold", [(eG - eI)], nil)) | |
1006 | + | if ((0 > eH)) | |
1007 | + | then throw((("You need to attach " + aj(eG, 8)) + " WLGOLD as fee")) | |
1004 | 1008 | else { | |
1005 | - | let | |
1006 | - | then [ScriptTransfer(bJ.caller, | |
1009 | + | let eJ = if ((eH > 0)) | |
1010 | + | then [ScriptTransfer(bJ.caller, eH, P)] | |
1007 | 1011 | else nil | |
1008 | - | let | |
1009 | - | let | |
1010 | - | let cl = | |
1011 | - | let | |
1012 | - | let | |
1012 | + | let eK = cc(bu, eF, bF, eF, eD, bn, bH, bJ.caller) | |
1013 | + | let eL = eK._1 | |
1014 | + | let cl = eK._2 | |
1015 | + | let eM = size(eE) | |
1016 | + | let eN = if ((eM == 0)) | |
1013 | 1017 | then nil | |
1014 | - | else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + | |
1015 | - | $Tuple2(((((( | |
1018 | + | else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eM))] | |
1019 | + | $Tuple2((((((eL ++ eE) ++ eN) ++ dy) ++ eJ) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eI, P)), $Tuple2(cl, dI)) | |
1016 | 1020 | } | |
1017 | 1021 | } | |
1018 | 1022 | } | |
1032 | 1036 | else (value(dB.assetId) != P)) | |
1033 | 1037 | then throw("WLGOLD payments only!") | |
1034 | 1038 | else { | |
1035 | - | let | |
1036 | - | let | |
1037 | - | let | |
1038 | - | let dI = aa(invoke(G, "burnWlgold", [( | |
1039 | - | if ((0 > | |
1040 | - | then throw((("You need to attach " + aj( | |
1039 | + | let eG = fraction(j, d, cK(0)) | |
1040 | + | let eH = (dF - eG) | |
1041 | + | let eI = (eG / 2) | |
1042 | + | let dI = aa(invoke(G, "burnWlgold", [(eG - eI)], nil)) | |
1043 | + | if ((0 > eH)) | |
1044 | + | then throw((("You need to attach " + aj(eG, 8)) + " WLGOLD as fee")) | |
1041 | 1045 | else { | |
1042 | - | let | |
1043 | - | then [ScriptTransfer(bJ.caller, | |
1046 | + | let eJ = if ((eH > 0)) | |
1047 | + | then [ScriptTransfer(bJ.caller, eH, P)] | |
1044 | 1048 | else nil | |
1045 | 1049 | let L = toString(bJ.caller) | |
1046 | - | let | |
1047 | - | let | |
1048 | - | if (( | |
1049 | - | then throw(("Random number is not ready yet, wait until height = " + toString( | |
1050 | + | let eO = N(L) | |
1051 | + | let eP = valueOrErrorMessage(getInteger(eO), "You have to commitForRandom() first!") | |
1052 | + | if ((eP > height)) | |
1053 | + | then throw(("Random number is not ready yet, wait until height = " + toString(eP))) | |
1050 | 1054 | else { | |
1051 | - | let ar = value(value(blockInfoByHeight( | |
1055 | + | let ar = value(value(blockInfoByHeight(eP)).vrf) | |
1052 | 1056 | let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1]) | |
1053 | - | let | |
1054 | - | let | |
1057 | + | let eQ = ao(100, aq, ar) | |
1058 | + | let eR = if ((84 > eQ)) | |
1055 | 1059 | then $Tuple2(1, bz) | |
1056 | - | else if ((98 > | |
1060 | + | else if ((98 > eQ)) | |
1057 | 1061 | then $Tuple2(5, bA) | |
1058 | 1062 | else $Tuple2(10, bB) | |
1059 | - | let ca = | |
1060 | - | let cg = | |
1061 | - | let | |
1062 | - | let | |
1063 | - | let cl = | |
1064 | - | $Tuple2((((( | |
1063 | + | let ca = eR._1 | |
1064 | + | let cg = eR._2 | |
1065 | + | let eS = cc(bu, cg, bF, cg, ca, bn, bH, bJ.caller) | |
1066 | + | let eL = eS._1 | |
1067 | + | let cl = eS._2 | |
1068 | + | $Tuple2(((((eL ++ dy) ++ eJ) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eI, P)) :+ DeleteEntry(eO)), $Tuple2(cl, dI)) | |
1065 | 1069 | } | |
1066 | 1070 | } | |
1067 | 1071 | } | |
1074 | 1078 | func commitForRandom () = { | |
1075 | 1079 | let dy = bI(bJ) | |
1076 | 1080 | let L = toString(bJ.caller) | |
1077 | - | let | |
1078 | - | if (isDefined(getInteger( | |
1081 | + | let eO = N(L) | |
1082 | + | if (isDefined(getInteger(eO))) | |
1079 | 1083 | then throw("You already commited for random, please use it") | |
1080 | 1084 | else { | |
1081 | - | let | |
1082 | - | $Tuple2(([IntegerEntry( | |
1085 | + | let eP = (height + i) | |
1086 | + | $Tuple2(([IntegerEntry(eO, eP)] ++ dy), eP) | |
1083 | 1087 | } | |
1084 | 1088 | } | |
1085 | 1089 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 1000000 | |
7 | 7 | ||
8 | 8 | let c = 10000000 | |
9 | 9 | ||
10 | 10 | let d = 100000000 | |
11 | 11 | ||
12 | 12 | let e = 100000000000000 | |
13 | 13 | ||
14 | 14 | let f = 86400000 | |
15 | 15 | ||
16 | 16 | let g = 10 | |
17 | 17 | ||
18 | 18 | let h = 100 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 5000000 | |
23 | 23 | ||
24 | 24 | let k = take(drop(this.bytes, 1), 1) | |
25 | 25 | ||
26 | 26 | let l = { | |
27 | 27 | let m = k | |
28 | 28 | if ((base58'2W' == m)) | |
29 | 29 | then 10080 | |
30 | 30 | else if ((base58'2T' == m)) | |
31 | 31 | then 180 | |
32 | 32 | else throw("Unknown chain") | |
33 | 33 | } | |
34 | 34 | ||
35 | 35 | let n = { | |
36 | 36 | let m = k | |
37 | 37 | if ((base58'2W' == m)) | |
38 | 38 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
39 | 39 | else if ((base58'2T' == m)) | |
40 | 40 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
41 | 41 | else throw("Unknown chain") | |
42 | 42 | } | |
43 | 43 | ||
44 | 44 | let o = { | |
45 | 45 | let m = k | |
46 | 46 | if ((base58'2W' == m)) | |
47 | 47 | then "3PFwYta8biEz31zpeFe5DJK8wE5trSpQVF8" | |
48 | 48 | else if ((base58'2T' == m)) | |
49 | 49 | then "3N7UuYar6264P58FBhVWKPQAh4Yua2hgngv" | |
50 | 50 | else throw("Unknown chain") | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | let p = { | |
54 | 54 | let m = k | |
55 | 55 | if ((base58'2W' == m)) | |
56 | 56 | then f | |
57 | 57 | else if ((base58'2T' == m)) | |
58 | 58 | then 60000 | |
59 | 59 | else throw("Unknown chain") | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | let q = { | |
63 | 63 | let m = k | |
64 | 64 | if ((base58'2W' == m)) | |
65 | 65 | then "3PLncXtS1U83D6cQbFD3H8rBHPLgzxSFKZ1" | |
66 | 66 | else if ((base58'2T' == m)) | |
67 | 67 | then "3NDCyBG5q85JuaRiigUeEtainyjCQT3XpZm" | |
68 | 68 | else throw("Unknown chain") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | func r (s,t) = valueOrErrorMessage(getString(s, t), makeString(["mandatory ", toString(s), ".", t, " is not defined"], "")) | |
72 | 72 | ||
73 | 73 | ||
74 | 74 | let u = 1 | |
75 | 75 | ||
76 | 76 | let v = 2 | |
77 | 77 | ||
78 | 78 | let w = 5 | |
79 | 79 | ||
80 | 80 | func x () = "%s__restConfig" | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func y () = "%s__rest2Addr" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func z (A) = split_4C(r(A, x()), a) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func B (C,D) = valueOrErrorMessage(addressFromString(C[D]), ("Rest cfg doesn't contain address at index " + toString(D))) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | let E = addressFromStringValue(valueOrElse(getString(this, y()), o)) | |
93 | 93 | ||
94 | 94 | let C = z(E) | |
95 | 95 | ||
96 | 96 | let F = B(C, u) | |
97 | 97 | ||
98 | 98 | let G = B(C, v) | |
99 | 99 | ||
100 | 100 | let H = B(C, w) | |
101 | 101 | ||
102 | 102 | let I = "oldAcresContract" | |
103 | 103 | ||
104 | 104 | func J () = "contractsBlocked" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func K (L) = ("lastWeekTxIdByUser_" + L) | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func M (L) = ("curWeekTxIdByUser_" + L) | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func N (s) = ("finishBlockFor_" + s) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | let O = "wlg_assetId" | |
117 | 117 | ||
118 | 118 | let P = valueOrErrorMessage(getBinary(G, O), "WLGOLD is not issued yet") | |
119 | 119 | ||
120 | 120 | let Q = "acresIssuedAmount" | |
121 | 121 | ||
122 | 122 | let R = "acresAssetId" | |
123 | 123 | ||
124 | 124 | let S = valueOrErrorMessage(getBinary(F, R), "ACRES is not issued yet") | |
125 | 125 | ||
126 | 126 | func T (L) = ("acresStakedTimeByUser_" + L) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func U (V) = ("stakedLandsByOwner_" + V) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func W (V) = ("stakedDuckByOwner_" + V) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func X (Y,L) = ((("st_" + Y) + "_") + L) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func Z (V) = ("stakedNFTsByOwner_" + V) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func aa (ab) = { | |
142 | 142 | let m = ab | |
143 | 143 | if ($isInstanceOf(m, "Int")) | |
144 | 144 | then { | |
145 | 145 | let ac = m | |
146 | 146 | ac | |
147 | 147 | } | |
148 | 148 | else throw("fail to cast into Int") | |
149 | 149 | } | |
150 | 150 | ||
151 | 151 | ||
152 | 152 | func ad (ae) = { | |
153 | 153 | let m = ae | |
154 | 154 | if ($isInstanceOf(m, "(Int, Int, Int, Int, Int)")) | |
155 | 155 | then { | |
156 | 156 | let af = m | |
157 | 157 | af | |
158 | 158 | } | |
159 | 159 | else throw("fail to cast into (Int, Int, Int, Int, Int)") | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ag (ae) = { | |
164 | 164 | let m = ae | |
165 | 165 | if ($isInstanceOf(m, "(Int, Int, Int, Int)")) | |
166 | 166 | then { | |
167 | 167 | let af = m | |
168 | 168 | af | |
169 | 169 | } | |
170 | 170 | else throw("fail to cast into (Int, Int, Int, Int)") | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func ah (ae) = { | |
175 | 175 | let m = ae | |
176 | 176 | if ($isInstanceOf(m, "(Int, Int, Int)")) | |
177 | 177 | then { | |
178 | 178 | let af = m | |
179 | 179 | af | |
180 | 180 | } | |
181 | 181 | else throw("fail to cast into (Int, Int, Int)") | |
182 | 182 | } | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func ai (ae) = { | |
186 | 186 | let m = ae | |
187 | 187 | if ($isInstanceOf(m, "(Int, Int)")) | |
188 | 188 | then { | |
189 | 189 | let af = m | |
190 | 190 | af | |
191 | 191 | } | |
192 | 192 | else throw("fail to cast into (Int, Int)") | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func aj (ae,ak) = { | |
197 | 197 | let al = pow(10, 0, ak, 0, 0, DOWN) | |
198 | 198 | let am = toString((ae % al)) | |
199 | 199 | let an = drop(toString(al), (1 + size(am))) | |
200 | 200 | (((toString((ae / al)) + ".") + an) + am) | |
201 | 201 | } | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func ao (ap,aq,ar) = if ((0 >= ap)) | |
205 | 205 | then throw("maxValue should be > 0") | |
206 | 206 | else { | |
207 | 207 | let as = sha256_16Kb((aq + ar)) | |
208 | 208 | (toInt(as) % ap) | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | let at = 1000000 | |
213 | 213 | ||
214 | 214 | let au = 100000000 | |
215 | 215 | ||
216 | 216 | let av = "wlg_issuedAmount" | |
217 | 217 | ||
218 | 218 | let aw = "zbill_issuedAmount" | |
219 | 219 | ||
220 | 220 | func ax (L) = ("acresStakedAmountByUser_" + L) | |
221 | 221 | ||
222 | 222 | ||
223 | 223 | func ay (L) = ("farmingPowerByUser_" + L) | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | let az = "acresStakedAmountTotal" | |
227 | 227 | ||
228 | 228 | let aA = "totalFarmingPower" | |
229 | 229 | ||
230 | 230 | let aB = 3 | |
231 | 231 | ||
232 | 232 | let aC = 1 | |
233 | 233 | ||
234 | 234 | let aD = 5000 | |
235 | 235 | ||
236 | 236 | let aE = 4 | |
237 | 237 | ||
238 | 238 | let aF = "nftTotalIssued" | |
239 | 239 | ||
240 | 240 | let aG = "nftTotalBurned" | |
241 | 241 | ||
242 | 242 | let aH = "WlNftTotalStaked" | |
243 | 243 | ||
244 | 244 | let aI = "ArkNftTotalStaked" | |
245 | 245 | ||
246 | 246 | func aJ (Y) = ("nftNumberByAssetId_" + Y) | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func aK (L) = ("userWlNftNumber_" + L) | |
250 | 250 | ||
251 | 251 | ||
252 | 252 | func aL (L) = ("userArkNftNumber_" + L) | |
253 | 253 | ||
254 | 254 | ||
255 | 255 | func aM (L) = ("userFullBonus_" + L) | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | let aN = [0, 10, 20, 40, 80, 150, 250, 400, 700, 1000] | |
259 | 259 | ||
260 | 260 | func aO (aP) = { | |
261 | 261 | let aQ = ((aP + 99999999) / au) | |
262 | 262 | func aR (aS,aT) = if ((aT >= aQ)) | |
263 | 263 | then aS | |
264 | 264 | else (aS + 1) | |
265 | 265 | ||
266 | 266 | let aU = aN | |
267 | 267 | let aV = size(aU) | |
268 | 268 | let aW = 0 | |
269 | 269 | func aX (aY,aZ) = if ((aZ >= aV)) | |
270 | 270 | then aY | |
271 | 271 | else aR(aY, aU[aZ]) | |
272 | 272 | ||
273 | 273 | func ba (aY,aZ) = if ((aZ >= aV)) | |
274 | 274 | then aY | |
275 | 275 | else throw("List size exceeds 10") | |
276 | 276 | ||
277 | 277 | ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
278 | 278 | } | |
279 | 279 | ||
280 | 280 | ||
281 | 281 | func bb (aP) = ((aP * 20) * (aO(aP) + 4)) | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func bc (aP,bd) = { | |
285 | 285 | let be = bb(aP) | |
286 | 286 | $Tuple2(fraction(be, (at + bd), at), be) | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | let bf = "teamAddr" | |
291 | 291 | ||
292 | 292 | func bg (L) = ("lastArbTimeUser_" + L) | |
293 | 293 | ||
294 | 294 | ||
295 | 295 | let bh = 1733346000000 | |
296 | 296 | ||
297 | 297 | let bi = "lastAcresSellTime" | |
298 | 298 | ||
299 | 299 | let bj = "lastLimitLeft" | |
300 | 300 | ||
301 | 301 | let bk = ["Gold shovel", "Pickaxe"] | |
302 | 302 | ||
303 | 303 | let bl = ["Reward for early birds", "Increases FarmPower"] | |
304 | 304 | ||
305 | 305 | let bm = 0 | |
306 | 306 | ||
307 | 307 | let bn = 1 | |
308 | 308 | ||
309 | 309 | let bo = [5, 10, 20] | |
310 | 310 | ||
311 | 311 | let bp = 0 | |
312 | 312 | ||
313 | 313 | let bq = 1 | |
314 | 314 | ||
315 | 315 | let br = 2 | |
316 | 316 | ||
317 | 317 | let bs = ["SHOVEL", "PICKAXE"] | |
318 | 318 | ||
319 | 319 | let bt = 0 | |
320 | 320 | ||
321 | 321 | let bu = 1 | |
322 | 322 | ||
323 | 323 | let bv = ["contentPickaxeC", "contentPickaxeU", "contentPickaxeL", "contentPickaxeE", "contentShovelP"] | |
324 | 324 | ||
325 | 325 | let bw = 0 | |
326 | 326 | ||
327 | 327 | let bx = 4 | |
328 | 328 | ||
329 | 329 | let by = ["Common", "Uncommon", "Legendary", "Epic", "Promo"] | |
330 | 330 | ||
331 | 331 | let bz = 0 | |
332 | 332 | ||
333 | 333 | let bA = 1 | |
334 | 334 | ||
335 | 335 | let bB = 2 | |
336 | 336 | ||
337 | 337 | let bC = 3 | |
338 | 338 | ||
339 | 339 | let bD = 4 | |
340 | 340 | ||
341 | 341 | let bE = ["Digging tools"] | |
342 | 342 | ||
343 | 343 | let bF = 0 | |
344 | 344 | ||
345 | 345 | let bG = ["FarmPower"] | |
346 | 346 | ||
347 | 347 | let bH = 0 | |
348 | 348 | ||
349 | 349 | func bI (bJ) = if (if ((bJ.originCaller != E)) | |
350 | 350 | then valueOrElse(getBoolean(J()), false) | |
351 | 351 | else false) | |
352 | 352 | then throw("Contracts are under maintenance") | |
353 | 353 | else { | |
354 | 354 | let L = toString(bJ.originCaller) | |
355 | 355 | let bK = (height / l) | |
356 | 356 | let bL = K(L) | |
357 | 357 | let bM = getString(bL) | |
358 | 358 | let bN = toBase58String(bJ.transactionId) | |
359 | 359 | let bO = ((toString(bK) + "_") + bN) | |
360 | 360 | let bP = M(L) | |
361 | 361 | if (isDefined(bM)) | |
362 | 362 | then { | |
363 | 363 | let bQ = split(value(bM), "_") | |
364 | 364 | if ((bQ[0] == toString(bK))) | |
365 | 365 | then [StringEntry(bL, bO), StringEntry(bP, bO)] | |
366 | 366 | else if ((bQ[0] == toString((bK - 1)))) | |
367 | 367 | then [StringEntry(bP, bO)] | |
368 | 368 | else { | |
369 | 369 | let bR = getStringValue(bP) | |
370 | 370 | let bS = split(bR, "_") | |
371 | 371 | if ((bS[0] == toString(bK))) | |
372 | 372 | then [StringEntry(bP, bO)] | |
373 | 373 | else [StringEntry(bL, bR), StringEntry(bP, bO)] | |
374 | 374 | } | |
375 | 375 | } | |
376 | 376 | else [StringEntry(bL, bO), StringEntry(bP, bO)] | |
377 | 377 | } | |
378 | 378 | ||
379 | 379 | ||
380 | 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) + "\"}") | |
381 | 381 | ||
382 | 382 | ||
383 | 383 | func cc (cd,ce,cf,cg,ch,ci,cj,L) = { | |
384 | 384 | let bV = valueOrElse(getInteger(aF), 0) | |
385 | 385 | let bZ = by[cg] | |
386 | 386 | let bX = (((bs[cd] + "-") + take(bZ, 1)) + toString(ch)) | |
387 | 387 | let ck = Issue(bX, bT(bv[ce], bV, bE[cf], bk[cd], bl[ci], by[cg], ch, bG[cj]), 1, 0, false) | |
388 | 388 | let cl = calculateAssetId(ck) | |
389 | 389 | $Tuple2([ck, IntegerEntry(aF, (bV + 1)), IntegerEntry(aJ(toBase58String(cl)), bV), ScriptTransfer(L, 1, cl)], cl) | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | func cm (bY) = if (!(contains(bY, "\"bonusType\": \"FarmPower\""))) | |
394 | 394 | then throw(("NFT is not supported: " + bY)) | |
395 | 395 | else { | |
396 | 396 | let cn = split_4C(split_4C(bY, "\"bonus\":")[1], ",")[0] | |
397 | 397 | parseIntValue(drop(cn, (valueOrElse(lastIndexOf(cn, " "), -1) + 1))) | |
398 | 398 | } | |
399 | 399 | ||
400 | 400 | ||
401 | 401 | func co (bY) = if (!(contains(bY, "\"rare\""))) | |
402 | 402 | then throw(("NFT is not supported: " + bY)) | |
403 | 403 | else { | |
404 | 404 | let cp = split_4C(split_4C(split_4C(bY, "\"rare\"")[1], ",")[0], "\"")[1] | |
405 | 405 | value(indexOf(by, cp)) | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | func cq (cr,s,cs) = if (if ((cr == 0)) | |
410 | 410 | then (cs == 0) | |
411 | 411 | else false) | |
412 | 412 | then throw("Nothing to do") | |
413 | 413 | else { | |
414 | 414 | let ct = invoke(G, "onStakeUnstakeLand", [s, true], nil) | |
415 | 415 | if ((ct == ct)) | |
416 | 416 | then { | |
417 | 417 | let cu = lastBlock.timestamp | |
418 | 418 | let cv = T(s) | |
419 | 419 | let cw = ax(s) | |
420 | 420 | let cx = valueOrElse(getInteger(cw), 0) | |
421 | 421 | if (if ((0 > cr)) | |
422 | 422 | then (0 > (cx + cr)) | |
423 | 423 | else false) | |
424 | 424 | then throw(((("You have only " + aj(cx, 8)) + " ACRES staked, tried to unstake ") + aj(-(cr), 8))) | |
425 | 425 | else { | |
426 | 426 | let cy = (cx + cr) | |
427 | 427 | let cz = valueOrElse(getInteger(az), 0) | |
428 | 428 | let cA = ay(s) | |
429 | 429 | let cB = valueOrElse(getInteger(cA), 0) | |
430 | 430 | let cC = aM(s) | |
431 | 431 | let cD = valueOrElse(getInteger(F, cC), 0) | |
432 | 432 | if (if ((0 > cs)) | |
433 | 433 | then (0 > (cD + cs)) | |
434 | 434 | else false) | |
435 | 435 | then throw((((("You have only " + aj(cD, 4)) + "% bonus, and tried to unstake ") + aj(-(cs), 4)) + "%")) | |
436 | 436 | else { | |
437 | 437 | let cE = bc(cy, (cD + cs)) | |
438 | 438 | let cF = cE._1 | |
439 | 439 | let cG = cE._2 | |
440 | 440 | let cH = valueOrElse(getInteger(aA), 0) | |
441 | 441 | let cI = if ((cr == 0)) | |
442 | 442 | then nil | |
443 | 443 | else [IntegerEntry(cw, cy), IntegerEntry(az, (cz + cr))] | |
444 | 444 | let cJ = if ((cs == 0)) | |
445 | 445 | then nil | |
446 | 446 | else [IntegerEntry(cC, (cD + cs))] | |
447 | 447 | $Tuple2(((((cI ++ cJ) :+ IntegerEntry(cv, lastBlock.timestamp)) :+ IntegerEntry(cA, cF)) :+ IntegerEntry(aA, ((cH + cF) - cB))), ct) | |
448 | 448 | } | |
449 | 449 | } | |
450 | 450 | } | |
451 | 451 | else throw("Strict value is not equal to itself.") | |
452 | 452 | } | |
453 | 453 | ||
454 | 454 | ||
455 | 455 | func cK (cL) = { | |
456 | 456 | let cM = valueOrErrorMessage(getInteger(G, av), "WLGOLD is not issued yet") | |
457 | 457 | let cN = assetBalance(G, n) | |
458 | 458 | let cO = (assetBalance(F, n) - cL) | |
459 | 459 | let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0)) | |
460 | 460 | let cQ = ((cO + cN) + cP) | |
461 | 461 | fraction(cQ, d, cM) | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | func cR () = { | |
466 | 466 | let cN = assetBalance(G, n) | |
467 | 467 | let cO = assetBalance(this, n) | |
468 | 468 | let cP = (assetBalance(H, n) + valueOrElse(getInteger(H, aw), 0)) | |
469 | 469 | let cS = (((cO + cN) + cP) / h) | |
470 | 470 | let cT = valueOrElse(getInteger(bj), cS) | |
471 | 471 | let cU = valueOrElse(getInteger(bi), 0) | |
472 | 472 | let cu = lastBlock.timestamp | |
473 | 473 | let cV = (cT + fraction(cS, (cu - cU), f)) | |
474 | 474 | let cW = min([cV, cS]) | |
475 | 475 | $Tuple2(IntegerEntry(bi, cu), cW) | |
476 | 476 | } | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | let cX = addressFromStringValue("3PJgZ6AK1WVCpdCmEZpesHmaKvrQDdXG5og") | |
480 | 480 | ||
481 | 481 | let cY = valueOrElse(getString(cX, "static_incubatorAddress"), "") | |
482 | 482 | ||
483 | 483 | let cZ = valueOrElse(getString(cX, "static_breederAddress"), "") | |
484 | 484 | ||
485 | 485 | let da = valueOrElse(getString(cX, "static_turtleIncubatorAddress"), "") | |
486 | 486 | ||
487 | 487 | let db = valueOrElse(getString(cX, "static_turtleBreederAddress"), "") | |
488 | 488 | ||
489 | 489 | let dc = valueOrElse(getString(cX, "static_canineIncubatorAddress"), "") | |
490 | 490 | ||
491 | 491 | let dd = valueOrElse(getString(cX, "static_canineBreederAddress"), "") | |
492 | 492 | ||
493 | 493 | let de = valueOrElse(getString(cX, "static_felineIncubatorAddress"), "") | |
494 | 494 | ||
495 | 495 | let df = valueOrElse(getString(cX, "static_felineBreederAddress"), "") | |
496 | 496 | ||
497 | 497 | let dg = valueOrElse(getString(cX, "static_mutantIncubatorAddress"), "") | |
498 | 498 | ||
499 | 499 | func dh (di) = { | |
500 | 500 | let dj = toString(di.issuer) | |
501 | 501 | if (if (if (if (if (if (if (if (if (if ((k == base58'2T')) | |
502 | 502 | then (dj == q) | |
503 | 503 | else false) | |
504 | 504 | then true | |
505 | 505 | else (dj == cY)) | |
506 | 506 | then true | |
507 | 507 | else (dj == cZ)) | |
508 | 508 | then true | |
509 | 509 | else (dj == da)) | |
510 | 510 | then true | |
511 | 511 | else (dj == db)) | |
512 | 512 | then true | |
513 | 513 | else (dj == dc)) | |
514 | 514 | then true | |
515 | 515 | else (dj == dd)) | |
516 | 516 | then true | |
517 | 517 | else (dj == de)) | |
518 | 518 | then true | |
519 | 519 | else (dj == df)) | |
520 | 520 | then di.name | |
521 | 521 | else if ((dj == dg)) | |
522 | 522 | then di.description | |
523 | 523 | else "" | |
524 | 524 | } | |
525 | 525 | ||
526 | 526 | ||
527 | 527 | func dk (L,dl,bd,dm,dn,do) = { | |
528 | 528 | let dp = valueOrElse(getInteger(dm), 0) | |
529 | 529 | if ((dp >= do)) | |
530 | 530 | then throw((("You can stake max " + toString(do)) + " of such NFTs")) | |
531 | 531 | else { | |
532 | 532 | let dq = cq(0, L, bd) | |
533 | 533 | let dr = dq._1 | |
534 | 534 | let ds = dq._2 | |
535 | 535 | $Tuple2((((dr :+ IntegerEntry(dm, (dp + 1))) :+ IntegerEntry(dn, (valueOrElse(getInteger(dn), 0) + 1))) :+ IntegerEntry(X(dl, L), lastBlock.timestamp)), ds) | |
536 | 536 | } | |
537 | 537 | } | |
538 | 538 | ||
539 | 539 | ||
540 | 540 | @Callable(bJ) | |
541 | 541 | func saveLastTx () = if (!(containsElement([G], bJ.caller))) | |
542 | 542 | then throw("Access denied") | |
543 | 543 | else $Tuple2(bI(bJ), 42) | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | ||
547 | 547 | @Callable(bJ) | |
548 | 548 | func constructorV1 (dt,du) = if ((bJ.caller != this)) | |
549 | 549 | then throw("Permission denied") | |
550 | 550 | else { | |
551 | 551 | let dv = addressFromStringValue(du) | |
552 | 552 | [IntegerEntry(Q, getIntegerValue(dv, Q)), BinaryEntry(R, getBinaryValue(dv, R)), StringEntry(y(), dt), StringEntry(I, du)] | |
553 | 553 | } | |
554 | 554 | ||
555 | 555 | ||
556 | 556 | ||
557 | 557 | @Callable(bJ) | |
558 | 558 | func setBlocked (dw) = if ((bJ.caller != this)) | |
559 | 559 | then throw("permission denied") | |
560 | 560 | else [BooleanEntry(J(), dw)] | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | ||
564 | 564 | @Callable(bJ) | |
565 | 565 | func unstakeAcres (dx) = { | |
566 | 566 | let dy = bI(bJ) | |
567 | 567 | if ((0 >= dx)) | |
568 | 568 | then throw("Amount should be positive") | |
569 | 569 | else { | |
570 | 570 | let s = toString(bJ.caller) | |
571 | 571 | if ((size(bJ.payments) != 0)) | |
572 | 572 | then throw("No payments required") | |
573 | 573 | else { | |
574 | 574 | let dz = (valueOrElse(getInteger(G, bg(s)), 0) + p) | |
575 | 575 | if ((dz > lastBlock.timestamp)) | |
576 | 576 | then throw(("You traded some WLGOLD, cannot unstake until " + toString(dz))) | |
577 | 577 | else { | |
578 | 578 | let dA = cq(-(dx), s, 0) | |
579 | 579 | let dr = dA._1 | |
580 | 580 | let ds = dA._2 | |
581 | 581 | $Tuple2(((dr :+ ScriptTransfer(bJ.caller, dx, S)) ++ dy), ds) | |
582 | 582 | } | |
583 | 583 | } | |
584 | 584 | } | |
585 | 585 | } | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | ||
589 | 589 | @Callable(bJ) | |
590 | 590 | func stakeAcres () = { | |
591 | 591 | let dy = bI(bJ) | |
592 | 592 | let s = toString(bJ.caller) | |
593 | 593 | if ((size(bJ.payments) != 1)) | |
594 | 594 | then throw("exactly 1 payment must be attached") | |
595 | 595 | else { | |
596 | 596 | let dB = bJ.payments[0] | |
597 | 597 | let cr = dB.amount | |
598 | 598 | if (if (!(isDefined(dB.assetId))) | |
599 | 599 | then true | |
600 | 600 | else (value(dB.assetId) != S)) | |
601 | 601 | then throw("ACRES payments only!") | |
602 | 602 | else { | |
603 | 603 | let dC = cq(cr, s, 0) | |
604 | 604 | let dr = dC._1 | |
605 | 605 | let ds = dC._2 | |
606 | 606 | $Tuple2((dr ++ dy), ds) | |
607 | 607 | } | |
608 | 608 | } | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | ||
613 | 613 | @Callable(bJ) | |
614 | 614 | func buyAcres () = { | |
615 | 615 | let dy = bI(bJ) | |
616 | 616 | if ((size(bJ.payments) != 1)) | |
617 | 617 | then throw("exactly 1 payment must be attached") | |
618 | 618 | else { | |
619 | 619 | let dB = bJ.payments[0] | |
620 | 620 | let dD = dB.amount | |
621 | 621 | if (if (!(isDefined(dB.assetId))) | |
622 | 622 | then true | |
623 | 623 | else (value(dB.assetId) != n)) | |
624 | 624 | then throw("USDT payments only!") | |
625 | 625 | else if ((b > dD)) | |
626 | 626 | then throw((("Min payment should be " + aj(b, 6)) + " USDT")) | |
627 | 627 | else { | |
628 | 628 | let dE = (dD * g) | |
629 | 629 | let dF = fraction(dD, d, cK(dD)) | |
630 | 630 | let dG = addressFromStringValue(getStringValue(I)) | |
631 | 631 | let dH = invoke(dG, "requestAcresCallback", [dE], nil) | |
632 | 632 | if ((dH == dH)) | |
633 | 633 | then { | |
634 | 634 | let dI = aa(invoke(G, "burnWlgold", [dF], nil)) | |
635 | 635 | $Tuple2(([ScriptTransfer(bJ.caller, dE, S)] ++ dy), dI) | |
636 | 636 | } | |
637 | 637 | else throw("Strict value is not equal to itself.") | |
638 | 638 | } | |
639 | 639 | } | |
640 | 640 | } | |
641 | 641 | ||
642 | 642 | ||
643 | 643 | ||
644 | 644 | @Callable(bJ) | |
645 | 645 | func buyAcresREADONLY (dD) = { | |
646 | 646 | let dE = (dD * g) | |
647 | 647 | let dJ = fraction(dD, d, cK(dD)) | |
648 | 648 | $Tuple2(nil, [dE, b, dE, dJ]) | |
649 | 649 | } | |
650 | 650 | ||
651 | 651 | ||
652 | 652 | ||
653 | 653 | @Callable(bJ) | |
654 | 654 | func sellAcres () = { | |
655 | 655 | let dy = bI(bJ) | |
656 | 656 | if ((size(bJ.payments) != 1)) | |
657 | 657 | then throw("exactly 1 payment must be attached") | |
658 | 658 | else { | |
659 | 659 | let dB = bJ.payments[0] | |
660 | 660 | let dE = dB.amount | |
661 | 661 | if (if (!(isDefined(dB.assetId))) | |
662 | 662 | then true | |
663 | 663 | else (value(dB.assetId) != S)) | |
664 | 664 | then throw("ACRES payments only!") | |
665 | 665 | else if ((c > dE)) | |
666 | 666 | then throw((("Min payment should be " + aj(c, 8)) + " ACRES")) | |
667 | 667 | else { | |
668 | 668 | let L = toString(bJ.caller) | |
669 | 669 | let dK = cR() | |
670 | 670 | let dL = dK._1 | |
671 | 671 | let dM = dK._2 | |
672 | 672 | let dN = (dM * g) | |
673 | 673 | if ((dE > dN)) | |
674 | 674 | then throw((("You can sell max " + aj(dN, 8)) + " ACRES")) | |
675 | 675 | else { | |
676 | 676 | let dD = ((dE / g) / 2) | |
677 | 677 | $Tuple2(([dL, IntegerEntry(bj, (dM - dD)), ScriptTransfer(bJ.caller, dD, n)] ++ dy), dD) | |
678 | 678 | } | |
679 | 679 | } | |
680 | 680 | } | |
681 | 681 | } | |
682 | 682 | ||
683 | 683 | ||
684 | 684 | ||
685 | 685 | @Callable(bJ) | |
686 | 686 | func sellAcresREADONLY (s,dE) = { | |
687 | 687 | let dO = cR() | |
688 | 688 | let dL = dO._1 | |
689 | 689 | let dM = dO._2 | |
690 | 690 | let dD = ((dE / g) / 2) | |
691 | 691 | $Tuple2(nil, [dD, c, (dM * g), 0]) | |
692 | 692 | } | |
693 | 693 | ||
694 | 694 | ||
695 | 695 | ||
696 | 696 | @Callable(bJ) | |
697 | 697 | func convertOldStakes () = { | |
698 | 698 | let dy = bI(bJ) | |
699 | 699 | if ((bh > lastBlock.timestamp)) | |
700 | 700 | then throw(("Disabled until " + toString((bh / 1000)))) | |
701 | 701 | else { | |
702 | 702 | let s = toString(bJ.caller) | |
703 | 703 | if ((size(bJ.payments) != 0)) | |
704 | 704 | then throw("No payments required") | |
705 | 705 | else { | |
706 | 706 | let dG = addressFromStringValue(getStringValue(I)) | |
707 | 707 | let dx = valueOrElse(getInteger(dG, ax(s)), 0) | |
708 | 708 | let dP = if ((dx > 0)) | |
709 | 709 | then ai(invoke(dG, "unstakeAcresCallback", [dx, s], nil)) | |
710 | 710 | else $Tuple2(0, 0) | |
711 | 711 | let dQ = addressFromStringValue(q) | |
712 | 712 | let dR = getString(dQ, U(s)) | |
713 | 713 | let dS = if (isDefined(dR)) | |
714 | 714 | then { | |
715 | - | let dT = split_51C(value(dR), "_") | |
716 | - | func dU (aS,dV) = if ((dV == "")) | |
715 | + | let dT = value(dR) | |
716 | + | let dU = if ((900 > size(dT))) | |
717 | + | then dT | |
718 | + | else take(dT, value(lastIndexOf(dT, "_", (45 * 20)))) | |
719 | + | let dV = split_51C(value(dU), "_") | |
720 | + | func dW (aS,dX) = if ((dX == "")) | |
717 | 721 | then throw("landAssetId is required") | |
718 | 722 | else { | |
719 | - | let | |
720 | - | $Tuple5((aS._1 + | |
723 | + | let dY = ad(invoke(dQ, "unstakeLandCallback", [dX, s], nil)) | |
724 | + | $Tuple5((aS._1 + dY._1), (aS._2 + dY._2), (aS._3 + dY._3), (aS._4 + dY._4), (aS._5 + dY._5)) | |
721 | 725 | } | |
722 | 726 | ||
723 | - | let | |
724 | - | let aU = | |
727 | + | let dZ = { | |
728 | + | let aU = dV | |
725 | 729 | let aV = size(aU) | |
726 | 730 | let aW = $Tuple5(0, 0, 0, 0, 0) | |
727 | 731 | func aX (aY,aZ) = if ((aZ >= aV)) | |
728 | 732 | then aY | |
729 | - | else | |
733 | + | else dW(aY, aU[aZ]) | |
730 | 734 | ||
731 | 735 | func ba (aY,aZ) = if ((aZ >= aV)) | |
732 | 736 | then aY | |
733 | 737 | else throw("List size exceeds 100") | |
734 | 738 | ||
735 | 739 | 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 | 740 | } | |
737 | - | let | |
738 | - | if (( | |
741 | + | let ea = invoke(dQ, "unstakeLandsFinalizeCallback", [s], nil) | |
742 | + | if ((ea == ea)) | |
739 | 743 | then { | |
740 | - | let dH = invoke(dG, "requestAcresCallback", [((( | |
744 | + | let dH = invoke(dG, "requestAcresCallback", [(((dZ._1 + dZ._2) + dZ._3) + dZ._4)], nil) | |
741 | 745 | if ((dH == dH)) | |
742 | 746 | then { | |
743 | - | let | |
744 | - | let | |
745 | - | let cl = | |
746 | - | $Tuple6( | |
747 | + | let eb = cc(bt, bx, bF, bD, 3, bm, bH, bJ.caller) | |
748 | + | let ec = eb._1 | |
749 | + | let cl = eb._2 | |
750 | + | $Tuple6(dZ._1, dZ._2, dZ._3, dZ._4, dZ._5, ec) | |
747 | 751 | } | |
748 | 752 | else throw("Strict value is not equal to itself.") | |
749 | 753 | } | |
750 | 754 | else throw("Strict value is not equal to itself.") | |
751 | 755 | } | |
752 | 756 | else $Tuple6(0, 0, 0, 0, 0, nil) | |
753 | - | let | |
754 | - | let | |
755 | - | then ah(invoke(dQ, "unstakeDuckCallback", [ | |
757 | + | let ed = valueOrElse(getString(dQ, W(s)), "") | |
758 | + | let ee = if ((ed != "")) | |
759 | + | then ah(invoke(dQ, "unstakeDuckCallback", [ed, s], nil)) | |
756 | 760 | else $Tuple3(0, 0, 0) | |
757 | - | let | |
758 | - | $Tuple2(((dS._6 ++ | |
761 | + | let ef = cq((((((((dP._1 + dS._1) + dS._2) + dS._3) + dS._4) + ee._1) + ee._2) + ee._3), s, 0) | |
762 | + | $Tuple2(((dS._6 ++ ef._1) ++ dy), $Tuple3(dP._2, dS._5, ef._2)) | |
759 | 763 | } | |
760 | 764 | } | |
761 | 765 | } | |
762 | 766 | ||
763 | 767 | ||
764 | 768 | ||
765 | 769 | @Callable(bJ) | |
766 | 770 | func unstakeLandsREADONLY (s) = { | |
767 | 771 | let dQ = addressFromStringValue(q) | |
768 | 772 | let dR = getString(dQ, U(s)) | |
769 | 773 | let dS = if (isDefined(dR)) | |
770 | 774 | then { | |
771 | - | let | |
772 | - | func | |
775 | + | let dV = split_51C(value(dR), "_") | |
776 | + | func dW (aS,dX) = if ((dX == "")) | |
773 | 777 | then throw("landAssetId is required") | |
774 | 778 | else { | |
775 | - | let | |
776 | - | $Tuple4((aS._1 + | |
779 | + | let dY = ag(invoke(dQ, "unstakeLandREADONLY", [dX, s], nil)) | |
780 | + | $Tuple4((aS._1 + dY._1), (aS._2 + dY._2), (aS._3 + dY._3), (aS._4 + dY._4)) | |
777 | 781 | } | |
778 | 782 | ||
779 | - | let aU = | |
783 | + | let aU = dV | |
780 | 784 | let aV = size(aU) | |
781 | 785 | let aW = $Tuple4(0, 0, 0, 0) | |
782 | 786 | func aX (aY,aZ) = if ((aZ >= aV)) | |
783 | 787 | then aY | |
784 | - | else | |
788 | + | else dW(aY, aU[aZ]) | |
785 | 789 | ||
786 | 790 | func ba (aY,aZ) = if ((aZ >= aV)) | |
787 | 791 | then aY | |
788 | 792 | else throw("List size exceeds 100") | |
789 | 793 | ||
790 | 794 | 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) | |
791 | 795 | } | |
792 | 796 | else $Tuple4(0, 0, 0, 0) | |
793 | 797 | $Tuple2(nil, dS) | |
794 | 798 | } | |
795 | 799 | ||
796 | 800 | ||
797 | 801 | ||
798 | 802 | @Callable(bJ) | |
799 | 803 | func stakeAcresCallback (L) = if ((bJ.caller != addressFromStringValue(q))) | |
800 | 804 | then throw("Permission denied") | |
801 | 805 | else cq(bJ.payments[0].amount, L, 0) | |
802 | 806 | ||
803 | 807 | ||
804 | 808 | ||
805 | 809 | @Callable(bJ) | |
806 | - | func simulateStakeAcresREADONLY (s, | |
810 | + | func simulateStakeAcresREADONLY (s,eg) = { | |
807 | 811 | let cw = ax(s) | |
808 | - | let cy = (valueOrElse(getInteger(cw), 0) + | |
812 | + | let cy = (valueOrElse(getInteger(cw), 0) + eg) | |
809 | 813 | let cz = valueOrElse(getInteger(az), 0) | |
810 | 814 | let cA = ay(s) | |
811 | 815 | let cB = valueOrElse(getInteger(cA), 0) | |
812 | - | let | |
813 | - | let | |
814 | - | let cF = | |
815 | - | let cG = | |
816 | + | let eh = valueOrElse(getInteger(F, aM(s)), 0) | |
817 | + | let ei = bc(cy, eh) | |
818 | + | let cF = ei._1 | |
819 | + | let cG = ei._2 | |
816 | 820 | let cH = valueOrElse(getInteger(aA), 0) | |
817 | - | let | |
818 | - | $Tuple2(nil, [cB, cF, cH, | |
821 | + | let ej = ((cH + cF) - cB) | |
822 | + | $Tuple2(nil, [cB, cF, cH, ej]) | |
819 | 823 | } | |
820 | 824 | ||
821 | 825 | ||
822 | 826 | ||
823 | 827 | @Callable(bJ) | |
824 | - | func issuePickC1 ( | |
828 | + | func issuePickC1 (ek) = if ((bJ.caller != G)) | |
825 | 829 | then throw("Permission denied") | |
826 | - | else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue( | |
830 | + | else cc(bu, bw, bF, bz, 1, bn, bH, addressFromStringValue(ek)) | |
827 | 831 | ||
828 | 832 | ||
829 | 833 | ||
830 | 834 | @Callable(bJ) | |
831 | 835 | func stakeNFT () = { | |
832 | 836 | let dy = bI(bJ) | |
833 | 837 | if ((size(bJ.payments) != 1)) | |
834 | 838 | then throw("Exactly one payment required") | |
835 | 839 | else { | |
836 | 840 | let dB = value(bJ.payments[0]) | |
837 | 841 | if ((dB.amount != 1)) | |
838 | 842 | then throw("NFT token should be attached as payment") | |
839 | 843 | else { | |
840 | 844 | let Y = value(dB.assetId) | |
841 | - | let | |
845 | + | let el = value(assetInfo(Y)) | |
842 | 846 | let dl = toBase58String(Y) | |
843 | 847 | let L = toString(bJ.caller) | |
844 | - | let | |
845 | - | let | |
846 | - | let | |
847 | - | then split_4C(value( | |
848 | + | let em = Z(L) | |
849 | + | let en = getString(em) | |
850 | + | let eo = if (isDefined(en)) | |
851 | + | then split_4C(value(en), "_") | |
848 | 852 | else nil | |
849 | - | if (containsElement( | |
853 | + | if (containsElement(eo, dl)) | |
850 | 854 | then throw(("Your staked NFTs already contain " + dl)) | |
851 | - | else if ((size( | |
855 | + | else if ((size(eo) >= aE)) | |
852 | 856 | then throw((("Your already staked max (" + toString(aE)) + ") NFTs")) | |
853 | 857 | else { | |
854 | - | let | |
855 | - | if (( | |
858 | + | let ep = StringEntry(em, makeString_2C((eo :+ dl), "_")) | |
859 | + | if ((el.issuer == this)) | |
856 | 860 | then { | |
857 | - | let | |
858 | - | let dr = | |
859 | - | let ds = | |
860 | - | $Tuple2(((dy ++ dr) :+ | |
861 | + | let eq = dk(L, dl, (cm(value(el.description)) * 10000), aK(L), aH, aB) | |
862 | + | let dr = eq._1 | |
863 | + | let ds = eq._2 | |
864 | + | $Tuple2(((dy ++ dr) :+ ep), ds) | |
861 | 865 | } | |
862 | - | else if ((dh( | |
866 | + | else if ((dh(el) == "")) | |
863 | 867 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
864 | 868 | else { | |
865 | - | let | |
866 | - | let dr = | |
867 | - | let ds = | |
868 | - | $Tuple2(((dy ++ dr) :+ | |
869 | + | let er = dk(L, dl, aD, aL(L), aI, aC) | |
870 | + | let dr = er._1 | |
871 | + | let ds = er._2 | |
872 | + | $Tuple2(((dy ++ dr) :+ ep), ds) | |
869 | 873 | } | |
870 | 874 | } | |
871 | 875 | } | |
872 | 876 | } | |
873 | 877 | } | |
874 | 878 | ||
875 | 879 | ||
876 | 880 | ||
877 | 881 | @Callable(bJ) | |
878 | 882 | func unstakeNFT (dl) = { | |
879 | 883 | let dy = bI(bJ) | |
880 | 884 | if ((size(bJ.payments) != 0)) | |
881 | 885 | then throw("No payments required") | |
882 | 886 | else { | |
883 | 887 | let Y = fromBase58String(dl) | |
884 | 888 | let L = toString(bJ.caller) | |
885 | - | let | |
889 | + | let el = value(assetInfo(Y)) | |
886 | 890 | let cv = X(dl, L) | |
887 | 891 | if (!(isDefined(getInteger(cv)))) | |
888 | - | then throw((("NFT " + | |
892 | + | then throw((("NFT " + el.name) + " is not staked by you")) | |
889 | 893 | else { | |
890 | - | let | |
891 | - | let | |
892 | - | let D = indexOf( | |
894 | + | let em = Z(L) | |
895 | + | let eo = split_4C(valueOrElse(getString(em), ""), "_") | |
896 | + | let D = indexOf(eo, dl) | |
893 | 897 | if (!(isDefined(D))) | |
894 | 898 | then throw(("Your staked NFTs don't contain " + dl)) | |
895 | 899 | else { | |
896 | - | let | |
897 | - | then StringEntry( | |
898 | - | else DeleteEntry( | |
899 | - | let | |
900 | - | if ( | |
900 | + | let ep = if ((size(eo) > 1)) | |
901 | + | then StringEntry(em, makeString_2C(removeByIndex(eo, value(D)), "_")) | |
902 | + | else DeleteEntry(em) | |
903 | + | let es = (el.issuer == this) | |
904 | + | if (es) | |
901 | 905 | then { | |
902 | - | let | |
903 | - | let | |
904 | - | let | |
905 | - | let dr = | |
906 | - | let ds = | |
907 | - | $Tuple2(((((((dr :+ | |
906 | + | let et = valueOrElse(getInteger(aK(L)), 0) | |
907 | + | let eu = (cm(value(el.description)) * 10000) | |
908 | + | let ev = cq(0, L, -(eu)) | |
909 | + | let dr = ev._1 | |
910 | + | let ds = ev._2 | |
911 | + | $Tuple2(((((((dr :+ ep) :+ IntegerEntry(aK(L), (et - 1))) :+ IntegerEntry(aH, max([0, (valueOrElse(getInteger(aH), 0) - 1)]))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds) | |
908 | 912 | } | |
909 | 913 | else { | |
910 | - | let | |
911 | - | if (( | |
914 | + | let ew = dh(el) | |
915 | + | if ((ew == "")) | |
912 | 916 | then throw("Only WavesLands and Arkimals NFT tokens are accepted") | |
913 | 917 | else { | |
914 | - | let | |
915 | - | let | |
916 | - | let dr = | |
917 | - | let ds = | |
918 | - | $Tuple2((((((dr :+ | |
918 | + | let ex = valueOrElse(getInteger(aL(L)), 0) | |
919 | + | let ey = cq(0, L, -(aD)) | |
920 | + | let dr = ey._1 | |
921 | + | let ds = ey._2 | |
922 | + | $Tuple2((((((dr :+ ep) :+ IntegerEntry(aL(L), (ex - 1))) :+ DeleteEntry(X(toBase58String(Y), L))) :+ ScriptTransfer(bJ.caller, 1, Y)) ++ dy), ds) | |
919 | 923 | } | |
920 | 924 | } | |
921 | 925 | } | |
922 | 926 | } | |
923 | 927 | } | |
924 | 928 | } | |
925 | 929 | ||
926 | 930 | ||
927 | 931 | ||
928 | 932 | @Callable(bJ) | |
929 | 933 | func exchangeNFTs () = { | |
930 | 934 | let dy = bI(bJ) | |
931 | 935 | if ((3 > size(bJ.payments))) | |
932 | 936 | then throw("Min one WLGOLD and 2 NFT payments allowed") | |
933 | 937 | else if ((size(bJ.payments) > 10)) | |
934 | 938 | then throw("Max one WLGOLD and 9 NFT payments allowed") | |
935 | 939 | else { | |
936 | 940 | let L = toString(bJ.caller) | |
937 | - | func | |
941 | + | func ez (aS,dB) = { | |
938 | 942 | let Y = valueOrErrorMessage(dB.assetId, "WAVES payments not allowed") | |
939 | 943 | if ((Y == P)) | |
940 | 944 | then $Tuple4((aS._1 + dB.amount), aS._2, aS._3, aS._4) | |
941 | 945 | else { | |
942 | - | let | |
943 | - | if (( | |
946 | + | let el = value(assetInfo(Y)) | |
947 | + | if ((el.issuer != this)) | |
944 | 948 | then throw("Only WL-issued NFTs allowed") | |
945 | 949 | else { | |
946 | - | let | |
950 | + | let eA = co(value(el.description)) | |
947 | 951 | if (if ((aS._4 > 0)) | |
948 | - | then ( | |
952 | + | then (eA != aS._4) | |
949 | 953 | else false) | |
950 | 954 | then throw("You can exchange only NFTs of the same rarity") | |
951 | 955 | else { | |
952 | - | let ch = cm(value( | |
953 | - | $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), | |
956 | + | let ch = cm(value(el.description)) | |
957 | + | $Tuple4(aS._1, (aS._2 + ch), (aS._3 :+ Burn(Y, 1)), eA) | |
954 | 958 | } | |
955 | 959 | } | |
956 | 960 | } | |
957 | 961 | } | |
958 | 962 | ||
959 | - | let | |
963 | + | let eB = { | |
960 | 964 | let aU = bJ.payments | |
961 | 965 | let aV = size(aU) | |
962 | 966 | let aW = $Tuple4(0, 0, nil, -1) | |
963 | 967 | func aX (aY,aZ) = if ((aZ >= aV)) | |
964 | 968 | then aY | |
965 | - | else | |
969 | + | else ez(aY, aU[aZ]) | |
966 | 970 | ||
967 | 971 | func ba (aY,aZ) = if ((aZ >= aV)) | |
968 | 972 | then aY | |
969 | 973 | else throw("List size exceeds 10") | |
970 | 974 | ||
971 | 975 | ba(aX(aX(aX(aX(aX(aX(aX(aX(aX(aX(aW, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
972 | 976 | } | |
973 | - | let | |
974 | - | let | |
975 | - | let | |
976 | - | let cg = | |
977 | - | let | |
978 | - | then if ((bo[bp] > | |
977 | + | let eC = eB._1 | |
978 | + | let eD = eB._2 | |
979 | + | let eE = eB._3 | |
980 | + | let cg = eB._4 | |
981 | + | let eF = if ((cg == bz)) | |
982 | + | then if ((bo[bp] > eD)) | |
979 | 983 | then bz | |
980 | - | else if ((bo[bq] > | |
984 | + | else if ((bo[bq] > eD)) | |
981 | 985 | then bA | |
982 | 986 | else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[bq])) + "%")) | |
983 | 987 | else if ((cg == bA)) | |
984 | - | then if ((bo[bq] > | |
988 | + | then if ((bo[bq] > eD)) | |
985 | 989 | then bA | |
986 | - | else if ((bo[br] > | |
990 | + | else if ((bo[br] > eD)) | |
987 | 991 | then bB | |
988 | 992 | else throw((("You can advance only one level of rarity, max total bonus " + toString(bo[br])) + "%")) | |
989 | 993 | else if ((cg == bB)) | |
990 | - | then if ((bo[br] > | |
994 | + | then if ((bo[br] > eD)) | |
991 | 995 | then bB | |
992 | 996 | else bC | |
993 | 997 | else if ((cg == bC)) | |
994 | 998 | then bC | |
995 | 999 | else if ((cg == bD)) | |
996 | 1000 | then throw("You can't exchange NFTs of this rarity") | |
997 | 1001 | else throw("Unknown rarity") | |
998 | - | let | |
999 | - | let | |
1000 | - | let | |
1001 | - | let dI = aa(invoke(G, "burnWlgold", [( | |
1002 | - | if ((0 > | |
1003 | - | then throw((("You need to attach " + aj( | |
1002 | + | let eG = fraction(eD, e, cK(0)) | |
1003 | + | let eH = (eC - eG) | |
1004 | + | let eI = (eG / 2) | |
1005 | + | let dI = aa(invoke(G, "burnWlgold", [(eG - eI)], nil)) | |
1006 | + | if ((0 > eH)) | |
1007 | + | then throw((("You need to attach " + aj(eG, 8)) + " WLGOLD as fee")) | |
1004 | 1008 | else { | |
1005 | - | let | |
1006 | - | then [ScriptTransfer(bJ.caller, | |
1009 | + | let eJ = if ((eH > 0)) | |
1010 | + | then [ScriptTransfer(bJ.caller, eH, P)] | |
1007 | 1011 | else nil | |
1008 | - | let | |
1009 | - | let | |
1010 | - | let cl = | |
1011 | - | let | |
1012 | - | let | |
1012 | + | let eK = cc(bu, eF, bF, eF, eD, bn, bH, bJ.caller) | |
1013 | + | let eL = eK._1 | |
1014 | + | let cl = eK._2 | |
1015 | + | let eM = size(eE) | |
1016 | + | let eN = if ((eM == 0)) | |
1013 | 1017 | then nil | |
1014 | - | else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + | |
1015 | - | $Tuple2(((((( | |
1018 | + | else [IntegerEntry(aG, (valueOrElse(getInteger(aG), 0) + eM))] | |
1019 | + | $Tuple2((((((eL ++ eE) ++ eN) ++ dy) ++ eJ) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eI, P)), $Tuple2(cl, dI)) | |
1016 | 1020 | } | |
1017 | 1021 | } | |
1018 | 1022 | } | |
1019 | 1023 | ||
1020 | 1024 | ||
1021 | 1025 | ||
1022 | 1026 | @Callable(bJ) | |
1023 | 1027 | func openNftChest () = { | |
1024 | 1028 | let dy = bI(bJ) | |
1025 | 1029 | if ((size(bJ.payments) != 1)) | |
1026 | 1030 | then throw("exactly 1 payment must be attached") | |
1027 | 1031 | else { | |
1028 | 1032 | let dB = bJ.payments[0] | |
1029 | 1033 | let dF = dB.amount | |
1030 | 1034 | if (if (!(isDefined(dB.assetId))) | |
1031 | 1035 | then true | |
1032 | 1036 | else (value(dB.assetId) != P)) | |
1033 | 1037 | then throw("WLGOLD payments only!") | |
1034 | 1038 | else { | |
1035 | - | let | |
1036 | - | let | |
1037 | - | let | |
1038 | - | let dI = aa(invoke(G, "burnWlgold", [( | |
1039 | - | if ((0 > | |
1040 | - | then throw((("You need to attach " + aj( | |
1039 | + | let eG = fraction(j, d, cK(0)) | |
1040 | + | let eH = (dF - eG) | |
1041 | + | let eI = (eG / 2) | |
1042 | + | let dI = aa(invoke(G, "burnWlgold", [(eG - eI)], nil)) | |
1043 | + | if ((0 > eH)) | |
1044 | + | then throw((("You need to attach " + aj(eG, 8)) + " WLGOLD as fee")) | |
1041 | 1045 | else { | |
1042 | - | let | |
1043 | - | then [ScriptTransfer(bJ.caller, | |
1046 | + | let eJ = if ((eH > 0)) | |
1047 | + | then [ScriptTransfer(bJ.caller, eH, P)] | |
1044 | 1048 | else nil | |
1045 | 1049 | let L = toString(bJ.caller) | |
1046 | - | let | |
1047 | - | let | |
1048 | - | if (( | |
1049 | - | then throw(("Random number is not ready yet, wait until height = " + toString( | |
1050 | + | let eO = N(L) | |
1051 | + | let eP = valueOrErrorMessage(getInteger(eO), "You have to commitForRandom() first!") | |
1052 | + | if ((eP > height)) | |
1053 | + | then throw(("Random number is not ready yet, wait until height = " + toString(eP))) | |
1050 | 1054 | else { | |
1051 | - | let ar = value(value(blockInfoByHeight( | |
1055 | + | let ar = value(value(blockInfoByHeight(eP)).vrf) | |
1052 | 1056 | let aq = fromBase58String(split(valueOrElse(getString(M(L)), "42_DEFAULT"), "_")[1]) | |
1053 | - | let | |
1054 | - | let | |
1057 | + | let eQ = ao(100, aq, ar) | |
1058 | + | let eR = if ((84 > eQ)) | |
1055 | 1059 | then $Tuple2(1, bz) | |
1056 | - | else if ((98 > | |
1060 | + | else if ((98 > eQ)) | |
1057 | 1061 | then $Tuple2(5, bA) | |
1058 | 1062 | else $Tuple2(10, bB) | |
1059 | - | let ca = | |
1060 | - | let cg = | |
1061 | - | let | |
1062 | - | let | |
1063 | - | let cl = | |
1064 | - | $Tuple2((((( | |
1063 | + | let ca = eR._1 | |
1064 | + | let cg = eR._2 | |
1065 | + | let eS = cc(bu, cg, bF, cg, ca, bn, bH, bJ.caller) | |
1066 | + | let eL = eS._1 | |
1067 | + | let cl = eS._2 | |
1068 | + | $Tuple2(((((eL ++ dy) ++ eJ) :+ ScriptTransfer(addressFromStringValue(getStringValue(G, bf)), eI, P)) :+ DeleteEntry(eO)), $Tuple2(cl, dI)) | |
1065 | 1069 | } | |
1066 | 1070 | } | |
1067 | 1071 | } | |
1068 | 1072 | } | |
1069 | 1073 | } | |
1070 | 1074 | ||
1071 | 1075 | ||
1072 | 1076 | ||
1073 | 1077 | @Callable(bJ) | |
1074 | 1078 | func commitForRandom () = { | |
1075 | 1079 | let dy = bI(bJ) | |
1076 | 1080 | let L = toString(bJ.caller) | |
1077 | - | let | |
1078 | - | if (isDefined(getInteger( | |
1081 | + | let eO = N(L) | |
1082 | + | if (isDefined(getInteger(eO))) | |
1079 | 1083 | then throw("You already commited for random, please use it") | |
1080 | 1084 | else { | |
1081 | - | let | |
1082 | - | $Tuple2(([IntegerEntry( | |
1085 | + | let eP = (height + i) | |
1086 | + | $Tuple2(([IntegerEntry(eO, eP)] ++ dy), eP) | |
1083 | 1087 | } | |
1084 | 1088 | } | |
1085 | 1089 | ||
1086 | 1090 |
github/deemru/w8io/169f3d6 188.23 ms ◑