tx · EEeCGrvQtX78pb5PeTguo392duVFJaQM9zaprx8gUx2W 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH: -0.02400000 Waves 2023.03.16 14:35 [2492528] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves
{ "type": 13, "id": "EEeCGrvQtX78pb5PeTguo392duVFJaQM9zaprx8gUx2W", "fee": 2400000, "feeAssetId": null, "timestamp": 1678966526531, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "4SHcsa3cT6UvigNcJx4oYAeYNAuoB3sHQ7W4s6vqd8YJaqxS7MP74jLLBRWU6D979GwBKTpA4xHdBb7TH8wtxxLz" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRAADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgkAaAIAwIQ9BQ1fdW5pdERlY2ltYWxzAA5fcGVyY2VudGFnZUZlZQkAawMFDV91bml0RGVjaW1hbHMACgBkABpfcGVyY2VudGFnZVJlZHVjdGlvbkZhY3RvcgIpQ3VycmVudF9QZXJjZW50YWdlUmVkdWN0aW9uX0ZhY3Rvcl9Gb3JfTXIAA19NcgIMTWludGluZ19SYXRlAAxfc3Rhd0Fzc2V0SWQCDFN0YXdfQXNzZXRJZAAIX21hbmFnZXICB21hbmFnZXIABF9EZngCA0RmeAAVX2NpcmN1bGF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gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgD/0OmY", "height": 2492528, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2Y5fE3w6FSjy1SG9CXx26u6JxYiqDTM2Pd6RZP5Nn4VA Next: 7uvEcmkKYCMZoxPwoXyTD8wAWjd7BwGwgBs2wkE44Vtv Diff:
Old | New | Differences | |
---|---|---|---|
556 | 556 | let cd = as(at) | |
557 | 557 | if ((cd == cd)) | |
558 | 558 | then { | |
559 | - | let ch = ad((size(W) == 2), "[global_key, value] pairs expected") | |
559 | + | let cr = makeString(["got", toString(size(W)), "size of list but expected [global_key, value] pair"], " ") | |
560 | + | let ch = ad((size(W) == 2), cr) | |
560 | 561 | if ((ch == ch)) | |
561 | 562 | then { | |
562 | 563 | let M = W[0] | |
563 | - | let | |
564 | - | let U = | |
564 | + | let cs = parseInt(W[1]) | |
565 | + | let U = cs | |
565 | 566 | if ($isInstanceOf(U, "Int")) | |
566 | 567 | then { | |
567 | 568 | let ak = U | |
568 | - | let | |
569 | - | if (( | |
569 | + | let ct = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
570 | + | if ((ct == ct)) | |
570 | 571 | then [af(M, ak)] | |
571 | 572 | else throw("Strict value is not equal to itself.") | |
572 | 573 | } | |
573 | 574 | else if ($isInstanceOf(U, "Unit")) | |
574 | 575 | then { | |
575 | 576 | let ak = U | |
576 | - | let | |
577 | - | if (( | |
577 | + | let ct = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
578 | + | if ((ct == ct)) | |
578 | 579 | then { | |
579 | - | let | |
580 | - | let | |
580 | + | let cu = W[1] | |
581 | + | let cv = ai(n) | |
581 | 582 | let cj = { | |
582 | - | let az = | |
583 | + | let az = cv | |
583 | 584 | if ($isInstanceOf(az, "String")) | |
584 | 585 | then { | |
585 | - | let | |
586 | - | if ((size( | |
587 | - | then aw( | |
588 | - | else aA( | |
586 | + | let cw = az | |
587 | + | if ((size(cw) == size(cu))) | |
588 | + | then aw(cu) | |
589 | + | else aA(cu) | |
589 | 590 | } | |
590 | 591 | else throw("value type not supported") | |
591 | 592 | } | |
592 | 593 | if ((cj == cj)) | |
593 | - | then [af(M, | |
594 | + | then [af(M, cu)] | |
594 | 595 | else throw("Strict value is not equal to itself.") | |
595 | 596 | } | |
596 | 597 | else throw("Strict value is not equal to itself.") | |
616 | 617 | ||
617 | 618 | @Callable(at) | |
618 | 619 | func claim (ba) = { | |
619 | - | let | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
620 | + | let cx = toBase58String(at.caller.bytes) | |
621 | + | let cy = makeString([cx, ba, z], a) | |
622 | + | let cz = makeString([cx, ba, w], a) | |
623 | + | let cA = makeString([cx, ba, y], a) | |
624 | + | let cB = makeString([cx, ba, E], a) | |
625 | + | let cC = makeString([cx, ba, F], a) | |
626 | + | let cD = makeString([cx, ba, B], a) | |
627 | + | let cE = makeString([cx, ba, z], a) | |
628 | + | let cF = makeString([cx, v], a) | |
629 | + | let cG = makeString([cx, ba, G], a) | |
630 | + | let cH = makeString([cx, ba, G], a) | |
631 | + | let cI = { | |
631 | 632 | let U = ai(I) | |
632 | 633 | if ($isInstanceOf(U, "Int")) | |
633 | 634 | then { | |
636 | 637 | } | |
637 | 638 | else throw("failed to get global total waves") | |
638 | 639 | } | |
639 | - | if (( | |
640 | + | if ((cI == cI)) | |
640 | 641 | then { | |
641 | - | let | |
642 | + | let cJ = { | |
642 | 643 | let U = ai(J) | |
643 | 644 | if ($isInstanceOf(U, "Int")) | |
644 | 645 | then { | |
647 | 648 | } | |
648 | 649 | else throw("failed to get global total waves") | |
649 | 650 | } | |
650 | - | if (( | |
651 | + | if ((cJ == cJ)) | |
651 | 652 | then { | |
652 | 653 | let bh = { | |
653 | - | let U = ai( | |
654 | + | let U = ai(cA) | |
654 | 655 | if ($isInstanceOf(U, "ByteVector")) | |
655 | 656 | then { | |
656 | 657 | let aF = U | |
660 | 661 | } | |
661 | 662 | if ((bh == bh)) | |
662 | 663 | then { | |
663 | - | let | |
664 | - | let U = ai( | |
664 | + | let cK = { | |
665 | + | let U = ai(cF) | |
665 | 666 | if ($isInstanceOf(U, "Int")) | |
666 | 667 | then { | |
667 | 668 | let aF = U | |
669 | 670 | } | |
670 | 671 | else throw("failed to get total waves locked by this address") | |
671 | 672 | } | |
672 | - | if (( | |
673 | + | if ((cK == cK)) | |
673 | 674 | then { | |
674 | 675 | let aR = { | |
675 | - | let U = ai( | |
676 | + | let U = ai(cE) | |
676 | 677 | if ($isInstanceOf(U, "Int")) | |
677 | 678 | then { | |
678 | 679 | let aF = U | |
682 | 683 | } | |
683 | 684 | if ((aR == aR)) | |
684 | 685 | then { | |
685 | - | let | |
686 | - | let U = ai( | |
686 | + | let cL = { | |
687 | + | let U = ai(cC) | |
687 | 688 | if ($isInstanceOf(U, "Int")) | |
688 | 689 | then { | |
689 | 690 | let aF = U | |
691 | 692 | } | |
692 | 693 | else throw("failed to get total waves claimed") | |
693 | 694 | } | |
694 | - | if (( | |
695 | + | if ((cL == cL)) | |
695 | 696 | then { | |
696 | 697 | let bf = { | |
697 | - | let U = ai( | |
698 | + | let U = ai(cD) | |
698 | 699 | if ($isInstanceOf(U, "Int")) | |
699 | 700 | then { | |
700 | 701 | let aF = U | |
704 | 705 | } | |
705 | 706 | if ((bf == bf)) | |
706 | 707 | then { | |
707 | - | let | |
708 | - | let U = ai( | |
708 | + | let cM = { | |
709 | + | let U = ai(cB) | |
709 | 710 | if ($isInstanceOf(U, "Int")) | |
710 | 711 | then { | |
711 | 712 | let aF = U | |
713 | 714 | } | |
714 | 715 | else throw("failed to get lock period timespam") | |
715 | 716 | } | |
716 | - | if (( | |
717 | + | if ((cM == cM)) | |
717 | 718 | then { | |
718 | - | let | |
719 | + | let cN = { | |
719 | 720 | let U = bZ(height) | |
720 | 721 | if ($isInstanceOf(U, "Int")) | |
721 | 722 | then { | |
724 | 725 | } | |
725 | 726 | else throw("failed to get current timestamp") | |
726 | 727 | } | |
727 | - | if (( | |
728 | + | if ((cN == cN)) | |
728 | 729 | then { | |
729 | 730 | let bQ = { | |
730 | - | let U = ai( | |
731 | + | let U = ai(cy) | |
731 | 732 | if ($isInstanceOf(U, "Int")) | |
732 | 733 | then { | |
733 | 734 | let aF = U | |
738 | 739 | if ((bQ == bQ)) | |
739 | 740 | then { | |
740 | 741 | let h = { | |
741 | - | let U = ai( | |
742 | + | let U = ai(cz) | |
742 | 743 | if ($isInstanceOf(U, "Int")) | |
743 | 744 | then { | |
744 | 745 | let aF = U | |
748 | 749 | } | |
749 | 750 | if ((h == h)) | |
750 | 751 | then { | |
751 | - | let | |
752 | - | let U = ai( | |
752 | + | let cO = { | |
753 | + | let U = ai(cG) | |
753 | 754 | if ($isInstanceOf(U, "String")) | |
754 | 755 | then { | |
755 | 756 | let aF = U | |
757 | 758 | } | |
758 | 759 | else throw("failed to get lease state") | |
759 | 760 | } | |
760 | - | if (( | |
761 | + | if ((cO == cO)) | |
761 | 762 | then { | |
762 | 763 | let bk = { | |
763 | - | let U = ai( | |
764 | + | let U = ai(cH) | |
764 | 765 | if ($isInstanceOf(U, "String")) | |
765 | 766 | then { | |
766 | 767 | let aF = U | |
770 | 771 | } | |
771 | 772 | if ((bk == bk)) | |
772 | 773 | then { | |
773 | - | let cd = ad(( | |
774 | + | let cd = ad((cM > cN), "lock period for this entry has not elapsed") | |
774 | 775 | if ((cd == cd)) | |
775 | 776 | then { | |
776 | - | let | |
777 | - | then $Tuple2(LeaseCancel(bh), ac( | |
778 | - | else $Tuple2(ac( | |
779 | - | if (( | |
777 | + | let cP = if ((cO == "leased")) | |
778 | + | then $Tuple2(LeaseCancel(bh), ac(cG, "cancelled")) | |
779 | + | else $Tuple2(ac(cG, "cancelled"), ac(cG, "cancelled")) | |
780 | + | if ((cP == cP)) | |
780 | 781 | then { | |
781 | 782 | let ch = ad(if ((0 == aR)) | |
782 | 783 | then true | |
783 | 784 | else (0 == bf), "all claims exhausted for this trx") | |
784 | 785 | if ((ch == ch)) | |
785 | 786 | then { | |
786 | - | let | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | if (( | |
787 | + | let cQ = (bP(h, bQ) * f) | |
788 | + | let cR = { | |
789 | + | let cS = (cN - cM) | |
790 | + | let cT = (cS / f) | |
791 | + | if ((cT == 0)) | |
791 | 792 | then throw("less than 24hrs before first claim") | |
792 | - | else if ((( | |
793 | + | else if (((cS % f) != 0)) | |
793 | 794 | then throw("already claimed or less than 24hrs before next claim") | |
794 | - | else if (( | |
795 | + | else if ((cT > h)) | |
795 | 796 | then throw("all claims exhausted") | |
796 | 797 | else { | |
797 | - | let | |
798 | - | let | |
799 | - | if (( | |
798 | + | let cU = (cT * cQ) | |
799 | + | let cV = ad((cU == cL), "can only claim once in 24hrs") | |
800 | + | if ((cV == cV)) | |
800 | 801 | then { | |
801 | - | let | |
802 | - | if (( | |
802 | + | let cW = ad(((cU + cL) > aR), "all claims exhausted") | |
803 | + | if ((cW == cW)) | |
803 | 804 | then { | |
804 | - | let cW = if ((cS == 1)) | |
805 | - | then cT | |
806 | - | else (cT - cK) | |
807 | - | let cX = cT | |
808 | - | let cY = if ((cS == 1)) | |
809 | - | then (aR - cT) | |
810 | - | else (aR - (cT - cK)) | |
811 | - | let cZ = if ((cS == 1)) | |
812 | - | then (bf - cT) | |
813 | - | else (bf - (cT - cK)) | |
814 | - | let da = (cH - cY) | |
805 | + | let cX = if ((cT == 1)) | |
806 | + | then cU | |
807 | + | else (cU - cL) | |
808 | + | let cY = cU | |
809 | + | let cZ = if ((cT == 1)) | |
810 | + | then (aR - cU) | |
811 | + | else (aR - (cU - cL)) | |
812 | + | let da = if ((cT == 1)) | |
813 | + | then (bf - cU) | |
814 | + | else (bf - (cU - cL)) | |
815 | 815 | let db = (cI - cZ) | |
816 | - | let dc = (cJ - cW) | |
817 | - | let bB = makeString(["%d", toString(cY)], a) | |
818 | - | let bD = makeString(["%d", toString(cZ)], a) | |
819 | - | let bJ = makeString(["%d", toString(cX)], a) | |
820 | - | let dd = makeString(["%d", toString(dc)], a) | |
821 | - | [cO._1, cO._2, ac(cD, bB), ac(cC, bD), ac(cB, bJ), ac(cE, dd), af(I, da), af(J, db), ScriptTransfer(Address(at.caller.bytes), cW, unit)] | |
816 | + | let dc = (cJ - da) | |
817 | + | let dd = (cK - cX) | |
818 | + | let bB = makeString(["%d", toString(cZ)], a) | |
819 | + | let bD = makeString(["%d", toString(da)], a) | |
820 | + | let bJ = makeString(["%d", toString(cY)], a) | |
821 | + | let de = makeString(["%d", toString(dd)], a) | |
822 | + | [cP._1, cP._2, ac(cE, bB), ac(cD, bD), ac(cC, bJ), ac(cF, de), af(I, db), af(J, dc), ScriptTransfer(Address(at.caller.bytes), cX, unit)] | |
822 | 823 | } | |
823 | 824 | else throw("Strict value is not equal to itself.") | |
824 | 825 | } | |
825 | 826 | else throw("Strict value is not equal to itself.") | |
826 | 827 | } | |
827 | 828 | } | |
828 | - | if (( | |
829 | - | then | |
829 | + | if ((cR == cR)) | |
830 | + | then cR | |
830 | 831 | else throw("Strict value is not equal to itself.") | |
831 | 832 | } | |
832 | 833 | else throw("Strict value is not equal to itself.") | |
866 | 867 | ||
867 | 868 | @Callable(at) | |
868 | 869 | func mintStaw (h) = { | |
869 | - | let | |
870 | - | let | |
870 | + | let cx = toBase58String(at.caller.bytes) | |
871 | + | let df = toBase58String(at.transactionId) | |
871 | 872 | let cd = ad((1 != size(at.payments)), "no payments attached") | |
872 | 873 | if ((cd == cd)) | |
873 | 874 | then { | |
876 | 877 | else true | |
877 | 878 | if ((ch == ch)) | |
878 | 879 | then { | |
879 | - | let | |
880 | - | let ci = if (if ((d > | |
880 | + | let dg = at.payments[0].amount | |
881 | + | let ci = if (if ((d > dg)) | |
881 | 882 | then true | |
882 | - | else ( | |
883 | + | else (dg > e)) | |
883 | 884 | then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves") | |
884 | 885 | else true | |
885 | 886 | if ((ci == ci)) | |
889 | 890 | else true | |
890 | 891 | if ((cj == cj)) | |
891 | 892 | then { | |
892 | - | let | |
893 | - | let aT = | |
894 | - | let | |
895 | - | let | |
896 | - | let | |
897 | - | if (( | |
893 | + | let dh = bL(h, dg) | |
894 | + | let aT = dg | |
895 | + | let di = fraction(dh._1, 10, 100) | |
896 | + | let dj = (dh._1 - di) | |
897 | + | let dk = (bZ(height) + an(h)) | |
898 | + | if ((dk == dk)) | |
898 | 899 | then { | |
899 | - | let | |
900 | + | let dl = { | |
900 | 901 | let U = ai(K) | |
901 | 902 | if ($isInstanceOf(U, "Int")) | |
902 | 903 | then { | |
905 | 906 | } | |
906 | 907 | else throw("failed to get current global index count") | |
907 | 908 | } | |
908 | - | if (( | |
909 | + | if ((dl == dl)) | |
909 | 910 | then { | |
910 | - | let | |
911 | + | let dm = { | |
911 | 912 | let U = ai(o) | |
912 | 913 | if ($isInstanceOf(U, "String")) | |
913 | 914 | then { | |
916 | 917 | } | |
917 | 918 | else throw("failed to get dfx address") | |
918 | 919 | } | |
919 | - | if (( | |
920 | + | if ((dm == dm)) | |
920 | 921 | then { | |
921 | 922 | let aG = { | |
922 | 923 | let U = ai(m) | |
929 | 930 | } | |
930 | 931 | if ((aG == aG)) | |
931 | 932 | then { | |
932 | - | let | |
933 | + | let dn = { | |
933 | 934 | let U = ai(q) | |
934 | 935 | if ($isInstanceOf(U, "String")) | |
935 | 936 | then { | |
938 | 939 | } | |
939 | 940 | else throw("failed to get lease node address") | |
940 | 941 | } | |
941 | - | if (( | |
942 | + | if ((dn == dn)) | |
942 | 943 | then { | |
943 | - | let | |
944 | - | let | |
945 | - | let | |
946 | - | let U = ai( | |
944 | + | let do = makeString([cx, u], a) | |
945 | + | let dp = makeString([cx, v], a) | |
946 | + | let dq = { | |
947 | + | let U = ai(do) | |
947 | 948 | if ($isInstanceOf(U, "Int")) | |
948 | 949 | then { | |
949 | 950 | let ak = U | |
951 | 952 | } | |
952 | 953 | else 0 | |
953 | 954 | } | |
954 | - | if (( | |
955 | + | if ((dq == dq)) | |
955 | 956 | then { | |
956 | - | let | |
957 | - | let U = ai( | |
957 | + | let dr = { | |
958 | + | let U = ai(dp) | |
958 | 959 | if ($isInstanceOf(U, "Int")) | |
959 | 960 | then { | |
960 | 961 | let ak = U | |
961 | - | (ak + | |
962 | + | (ak + dg) | |
962 | 963 | } | |
963 | - | else | |
964 | + | else dg | |
964 | 965 | } | |
965 | - | if (( | |
966 | + | if ((dr == dr)) | |
966 | 967 | then { | |
967 | - | let | |
968 | - | if (( | |
968 | + | let ds = Lease(dn, dg) | |
969 | + | if ((ds == ds)) | |
969 | 970 | then { | |
970 | - | let | |
971 | - | if (( | |
972 | - | then ((([ | |
971 | + | let dt = toBase58String(calculateLeaseId(ds)) | |
972 | + | if ((dt == dt)) | |
973 | + | then ((([ds, ScriptTransfer(dm, di, aG), ScriptTransfer(Address(at.caller.bytes), dj, aG)] ++ aZ(df, cx, h, dk, dl, dg, dj, aT, height, dt, dr, dq, "leased")) ++ aQ(dg, dh._1, aT, dl)) ++ dh._2) | |
973 | 974 | else throw("Strict value is not equal to itself.") | |
974 | 975 | } | |
975 | 976 | else throw("Strict value is not equal to itself.") |
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 = 1 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = (1 * c) | |
11 | 11 | ||
12 | 12 | let e = (1000 * c) | |
13 | 13 | ||
14 | 14 | let f = 86400000 | |
15 | 15 | ||
16 | 16 | func g (h) = fraction(c, 365, h) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | let i = (1000000 * c) | |
20 | 20 | ||
21 | 21 | let j = fraction(c, 10, 100) | |
22 | 22 | ||
23 | 23 | let k = "Current_PercentageReduction_Factor_For_Mr" | |
24 | 24 | ||
25 | 25 | let l = "Minting_Rate" | |
26 | 26 | ||
27 | 27 | let m = "Staw_AssetId" | |
28 | 28 | ||
29 | 29 | let n = "manager" | |
30 | 30 | ||
31 | 31 | let o = "Dfx" | |
32 | 32 | ||
33 | 33 | let p = "CirculationIncrementIndex" | |
34 | 34 | ||
35 | 35 | let q = "LeaseNode" | |
36 | 36 | ||
37 | 37 | let r = "EmissionAmountClaimed" | |
38 | 38 | ||
39 | 39 | let s = "CanClaimEmissionAmount" | |
40 | 40 | ||
41 | 41 | let t = "WalletAddress" | |
42 | 42 | ||
43 | 43 | let u = "TotalEntryIndexCount" | |
44 | 44 | ||
45 | 45 | let v = "TotalLocked" | |
46 | 46 | ||
47 | 47 | let w = "LockDuration" | |
48 | 48 | ||
49 | 49 | let x = "GlobalLockIndex" | |
50 | 50 | ||
51 | 51 | let y = "LockIdentifier" | |
52 | 52 | ||
53 | 53 | let z = "AmountInWaves" | |
54 | 54 | ||
55 | 55 | let A = "AmountInStaw" | |
56 | 56 | ||
57 | 57 | let B = "AmountInStawLP" | |
58 | 58 | ||
59 | 59 | let C = "TXID" | |
60 | 60 | ||
61 | 61 | let D = "LockAtHeight" | |
62 | 62 | ||
63 | 63 | let E = "LocKPeriodInMilliSec" | |
64 | 64 | ||
65 | 65 | let F = "TotalWavesClaimed" | |
66 | 66 | ||
67 | 67 | let G = "LeaseState" | |
68 | 68 | ||
69 | 69 | let H = "TotalStawMinted" | |
70 | 70 | ||
71 | 71 | let I = "TotalWavesLocked" | |
72 | 72 | ||
73 | 73 | let J = "TotalStawLP" | |
74 | 74 | ||
75 | 75 | let K = "IndexCount" | |
76 | 76 | ||
77 | 77 | func L (M) = getInteger(this, M) | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | func N (M) = getString(this, M) | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func O (M) = getBoolean(this, M) | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func P (M) = value(getBoolean(this, M)) | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func Q (M) = value(getInteger(this, M)) | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | func R (M) = value(getString(this, M)) | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | func S (M,T) = { | |
96 | 96 | let U = T | |
97 | 97 | if ($isInstanceOf(U, "String")) | |
98 | 98 | then { | |
99 | 99 | let T = U | |
100 | 100 | if (isDefined(N(M))) | |
101 | 101 | then R(M) | |
102 | 102 | else T | |
103 | 103 | } | |
104 | 104 | else if ($isInstanceOf(U, "Int")) | |
105 | 105 | then { | |
106 | 106 | let T = U | |
107 | 107 | if (isDefined(L(M))) | |
108 | 108 | then Q(M) | |
109 | 109 | else T | |
110 | 110 | } | |
111 | 111 | else if ($isInstanceOf(U, "Boolean")) | |
112 | 112 | then { | |
113 | 113 | let T = U | |
114 | 114 | if (isDefined(O(M))) | |
115 | 115 | then P(M) | |
116 | 116 | else T | |
117 | 117 | } | |
118 | 118 | else throw(("value type not supported for " + M)) | |
119 | 119 | } | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func V (W,X) = { | |
123 | 123 | let U = W | |
124 | 124 | if ($isInstanceOf(U, "String")) | |
125 | 125 | then { | |
126 | 126 | let W = U | |
127 | 127 | W | |
128 | 128 | } | |
129 | 129 | else throw(X) | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func Y (W,X) = { | |
134 | 134 | let U = W | |
135 | 135 | if ($isInstanceOf(U, "Int")) | |
136 | 136 | then { | |
137 | 137 | let W = U | |
138 | 138 | W | |
139 | 139 | } | |
140 | 140 | else throw(X) | |
141 | 141 | } | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func Z (W,X) = { | |
145 | 145 | let U = W | |
146 | 146 | if ($isInstanceOf(U, "Boolean")) | |
147 | 147 | then { | |
148 | 148 | let W = U | |
149 | 149 | W | |
150 | 150 | } | |
151 | 151 | else throw(X) | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | ||
155 | 155 | func aa (M,ab) = if ((0 > ab)) | |
156 | 156 | then throw(((("writing negative value " + toString(ab)) + " for key ") + M)) | |
157 | 157 | else IntegerEntry(M, ab) | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func ac (M,ab) = if ((" " == ab)) | |
161 | 161 | then throw(("writing an empty string " + ab)) | |
162 | 162 | else StringEntry(M, ab) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ad (ae,X) = if (ae) | |
166 | 166 | then throw(X) | |
167 | 167 | else true | |
168 | 168 | ||
169 | 169 | ||
170 | 170 | func af (M,ag) = { | |
171 | 171 | let U = ag | |
172 | 172 | if ($isInstanceOf(U, "Int")) | |
173 | 173 | then { | |
174 | 174 | let ag = U | |
175 | 175 | let ah = makeString(["%d", toString(ag)], a) | |
176 | 176 | ac(M, ah) | |
177 | 177 | } | |
178 | 178 | else if ($isInstanceOf(U, "String")) | |
179 | 179 | then { | |
180 | 180 | let ag = U | |
181 | 181 | let ah = makeString(["%s", ag], a) | |
182 | 182 | ac(M, ah) | |
183 | 183 | } | |
184 | 184 | else if ($isInstanceOf(U, "Boolean")) | |
185 | 185 | then { | |
186 | 186 | let ag = U | |
187 | 187 | let ah = makeString(["%b", toString(ag)], a) | |
188 | 188 | ac(M, ah) | |
189 | 189 | } | |
190 | 190 | else throw("type not supported") | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func ai (M) = { | |
195 | 195 | let aj = V(N(M), "entry not found") | |
196 | 196 | if ((aj == aj)) | |
197 | 197 | then { | |
198 | 198 | let ak = split(aj, a) | |
199 | 199 | let al = takeRight(ak[0], 1) | |
200 | 200 | let am = ak[(size(ak) - 1)] | |
201 | 201 | let ag = if ((al == "s")) | |
202 | 202 | then am | |
203 | 203 | else if ((al == "d")) | |
204 | 204 | then parseIntValue(am) | |
205 | 205 | else if ((al == "b")) | |
206 | 206 | then fromBase58String(am) | |
207 | 207 | else throw(("could not parse registry value for " + M)) | |
208 | 208 | ag | |
209 | 209 | } | |
210 | 210 | else throw("Strict value is not equal to itself.") | |
211 | 211 | } | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func an (ao) = { | |
215 | 215 | let ap = ad((0 >= ao), "invalid locking days!") | |
216 | 216 | if ((ap == ap)) | |
217 | 217 | then (ao * f) | |
218 | 218 | else throw("Strict value is not equal to itself.") | |
219 | 219 | } | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aq (M,ab) = if (!(isDefined(N(M)))) | |
223 | 223 | then ac(M, ab) | |
224 | 224 | else throw(("entry already initialized: " + M)) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func ar (M,ab) = if (!(isDefined(N(M)))) | |
228 | 228 | then aa(M, ab) | |
229 | 229 | else throw((" entry already initialized: " + M)) | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func as (at) = { | |
233 | 233 | let au = { | |
234 | 234 | let U = ai(n) | |
235 | 235 | if ($isInstanceOf(U, "String")) | |
236 | 236 | then { | |
237 | 237 | let W = U | |
238 | 238 | W | |
239 | 239 | } | |
240 | 240 | else "failed to get manager" | |
241 | 241 | } | |
242 | 242 | if ((au == au)) | |
243 | 243 | then ad((toBase58String(at.caller.bytes) != au), "address not authorized") | |
244 | 244 | else throw("Strict value is not equal to itself.") | |
245 | 245 | } | |
246 | 246 | ||
247 | 247 | ||
248 | 248 | func av (W) = if ((0 > W)) | |
249 | 249 | then -(W) | |
250 | 250 | else W | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func aw (ax) = { | |
254 | 254 | let U = ax | |
255 | 255 | if ($isInstanceOf(U, "String")) | |
256 | 256 | then { | |
257 | 257 | let ax = U | |
258 | 258 | let ay = addressFromString(ax) | |
259 | 259 | let az = ay | |
260 | 260 | if ($isInstanceOf(az, "Address")) | |
261 | 261 | then { | |
262 | 262 | let ay = az | |
263 | 263 | true | |
264 | 264 | } | |
265 | 265 | else throw("invalid address") | |
266 | 266 | } | |
267 | 267 | else if ($isInstanceOf(U, "ByteVector")) | |
268 | 268 | then { | |
269 | 269 | let ax = U | |
270 | 270 | let ay = addressFromPublicKey(ax) | |
271 | 271 | let az = ay | |
272 | 272 | if ($isInstanceOf(az, "Address")) | |
273 | 273 | then { | |
274 | 274 | let ay = az | |
275 | 275 | true | |
276 | 276 | } | |
277 | 277 | else throw("invalid public key") | |
278 | 278 | } | |
279 | 279 | else throw("invalid input type") | |
280 | 280 | } | |
281 | 281 | ||
282 | 282 | ||
283 | 283 | func aA (aB) = { | |
284 | 284 | let U = assetInfo(fromBase58String(aB)) | |
285 | 285 | if ($isInstanceOf(U, "Asset")) | |
286 | 286 | then { | |
287 | 287 | let aC = U | |
288 | 288 | true | |
289 | 289 | } | |
290 | 290 | else throw(("invalid asset id: " + aB)) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func aD () = { | |
295 | 295 | let aE = { | |
296 | 296 | let U = ai(p) | |
297 | 297 | if ($isInstanceOf(U, "Int")) | |
298 | 298 | then { | |
299 | 299 | let aF = U | |
300 | 300 | aF | |
301 | 301 | } | |
302 | 302 | else throw("circulation index not previously defined") | |
303 | 303 | } | |
304 | 304 | if ((aE == aE)) | |
305 | 305 | then { | |
306 | 306 | let aG = { | |
307 | 307 | let U = ai(m) | |
308 | 308 | if ($isInstanceOf(U, "String")) | |
309 | 309 | then { | |
310 | 310 | let aF = U | |
311 | 311 | aF | |
312 | 312 | } | |
313 | 313 | else throw("asset id not previously defined") | |
314 | 314 | } | |
315 | 315 | if ((aG == aG)) | |
316 | 316 | then { | |
317 | 317 | let aH = { | |
318 | 318 | let U = assetInfo(fromBase58String(aG)) | |
319 | 319 | if ($isInstanceOf(U, "Asset")) | |
320 | 320 | then { | |
321 | 321 | let aC = U | |
322 | 322 | aC.quantity | |
323 | 323 | } | |
324 | 324 | else throw(("asset not found for " + aG)) | |
325 | 325 | } | |
326 | 326 | let aI = (av((aH - i)) / i) | |
327 | 327 | let aJ = if ((aI > aE)) | |
328 | 328 | then (aI + aE) | |
329 | 329 | else aE | |
330 | 330 | let aK = { | |
331 | 331 | let U = ai(l) | |
332 | 332 | if ($isInstanceOf(U, "Int")) | |
333 | 333 | then { | |
334 | 334 | let aF = U | |
335 | 335 | aF | |
336 | 336 | } | |
337 | 337 | else throw("failed to get miniting rate") | |
338 | 338 | } | |
339 | 339 | if ((aJ == aE)) | |
340 | 340 | then $Tuple2(aK, nil) | |
341 | 341 | else { | |
342 | 342 | let aL = { | |
343 | 343 | let U = ai(k) | |
344 | 344 | if ($isInstanceOf(U, "Int")) | |
345 | 345 | then { | |
346 | 346 | let aF = U | |
347 | 347 | aF | |
348 | 348 | } | |
349 | 349 | else throw("failed to get percentage reduction factor") | |
350 | 350 | } | |
351 | 351 | let aM = (aK - fraction(aK, aL, 100)) | |
352 | 352 | let aN = af(l, aM) | |
353 | 353 | let aO = af(k, aL) | |
354 | 354 | let aP = af(p, aJ) | |
355 | 355 | $Tuple2(aM, [aN, aO, aP]) | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | else throw("Strict value is not equal to itself.") | |
359 | 359 | } | |
360 | 360 | else throw("Strict value is not equal to itself.") | |
361 | 361 | } | |
362 | 362 | ||
363 | 363 | ||
364 | 364 | func aQ (aR,aS,aT,aU) = { | |
365 | 365 | let aV = { | |
366 | 366 | let U = ai(I) | |
367 | 367 | if ($isInstanceOf(U, "Int")) | |
368 | 368 | then { | |
369 | 369 | let aF = U | |
370 | 370 | (aF + aR) | |
371 | 371 | } | |
372 | 372 | else throw("failed to get global total waves") | |
373 | 373 | } | |
374 | 374 | if ((aV == aV)) | |
375 | 375 | then { | |
376 | 376 | let aW = { | |
377 | 377 | let U = ai(H) | |
378 | 378 | if ($isInstanceOf(U, "Int")) | |
379 | 379 | then { | |
380 | 380 | let aF = U | |
381 | 381 | (aF + aS) | |
382 | 382 | } | |
383 | 383 | else throw("failed to get global total staw minted") | |
384 | 384 | } | |
385 | 385 | if ((aW == aW)) | |
386 | 386 | then { | |
387 | 387 | let aX = { | |
388 | 388 | let U = ai(J) | |
389 | 389 | if ($isInstanceOf(U, "Int")) | |
390 | 390 | then { | |
391 | 391 | let aF = U | |
392 | 392 | (aF + aT) | |
393 | 393 | } | |
394 | 394 | else throw("failed to get global total stawpl") | |
395 | 395 | } | |
396 | 396 | if ((aX == aX)) | |
397 | 397 | then { | |
398 | 398 | let aY = { | |
399 | 399 | let U = ai(K) | |
400 | 400 | if ($isInstanceOf(U, "Int")) | |
401 | 401 | then { | |
402 | 402 | let aF = U | |
403 | 403 | (aF + aU) | |
404 | 404 | } | |
405 | 405 | else throw("failed to get global index count") | |
406 | 406 | } | |
407 | 407 | if ((aY == aY)) | |
408 | 408 | then [af(I, aV), af(H, aW), af(J, aX), af(K, aY)] | |
409 | 409 | else throw("Strict value is not equal to itself.") | |
410 | 410 | } | |
411 | 411 | else throw("Strict value is not equal to itself.") | |
412 | 412 | } | |
413 | 413 | else throw("Strict value is not equal to itself.") | |
414 | 414 | } | |
415 | 415 | else throw("Strict value is not equal to itself.") | |
416 | 416 | } | |
417 | 417 | ||
418 | 418 | ||
419 | 419 | func aZ (ba,bb,bc,bd,be,aR,aS,bf,bg,bh,bi,bj,bk) = { | |
420 | 420 | let bl = makeString([bb, ba, C], a) | |
421 | 421 | let bm = makeString([bb, ba, w], a) | |
422 | 422 | let bn = makeString([bb, ba, x], a) | |
423 | 423 | let bo = makeString([bb, ba, z], a) | |
424 | 424 | let bp = makeString([bb, ba, A], a) | |
425 | 425 | let bq = makeString([bb, ba, B], a) | |
426 | 426 | let br = makeString([bb, ba, D], a) | |
427 | 427 | let bs = makeString([bb, ba, y], a) | |
428 | 428 | let bt = makeString([bb, v], a) | |
429 | 429 | let bu = makeString([bb, u], a) | |
430 | 430 | let bv = makeString([bb, ba, E], a) | |
431 | 431 | let bw = makeString([bb, ba, F], a) | |
432 | 432 | let bx = makeString([bb, ba, G], a) | |
433 | 433 | let by = makeString(["%s", ba], a) | |
434 | 434 | let bz = makeString(["%d", toString(bc)], a) | |
435 | 435 | let bA = makeString(["%d", toString(be)], a) | |
436 | 436 | let bB = makeString(["%d", toString(aR)], a) | |
437 | 437 | let bC = makeString(["%d", toString(aS)], a) | |
438 | 438 | let bD = makeString(["%d", toString(bf)], a) | |
439 | 439 | let bE = makeString(["%d", toString(bg)], a) | |
440 | 440 | let bF = makeString(["%b", bh], a) | |
441 | 441 | let bG = makeString(["%d", toString(bi)], a) | |
442 | 442 | let bH = makeString(["%d", toString(bj)], a) | |
443 | 443 | let bI = makeString(["%d", toString(bd)], a) | |
444 | 444 | let bJ = makeString(["%d", toString(0)], a) | |
445 | 445 | let bK = makeString(["%s", bk], a) | |
446 | 446 | [aq(bl, by), aq(bn, bA), ac(bu, bH), ac(bt, bG), aq(bm, bz), aq(bv, bI), aq(bo, bB), aq(bp, bC), ac(bq, bD), ac(bw, bJ), aq(br, bE), aq(bs, bF), ac(bx, bK)] | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | func bL (h,bM) = { | |
451 | 451 | let bN = aD() | |
452 | 452 | let bO = (fraction(c, (f * bN._1), g(h)) * bM) | |
453 | 453 | if ((size(bN._2) == 0)) | |
454 | 454 | then $Tuple2(bO, nil) | |
455 | 455 | else $Tuple2(bO, bN._2) | |
456 | 456 | } | |
457 | 457 | ||
458 | 458 | ||
459 | 459 | func bP (h,bQ) = { | |
460 | 460 | let bR = fraction(h, 15, 10) | |
461 | 461 | ((bQ / ((h * bR) - h)) * f) | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | func bS (bT) = { | |
466 | 466 | let bU = Y(L(J), "could not get the running StawLP") | |
467 | 467 | [aa(J, (bU + bT))] | |
468 | 468 | } | |
469 | 469 | ||
470 | 470 | ||
471 | 471 | func bV (bT) = { | |
472 | 472 | let bU = Y(L(J), "could not get the running StawLP") | |
473 | 473 | [aa(J, (bU - bT))] | |
474 | 474 | } | |
475 | 475 | ||
476 | 476 | ||
477 | 477 | func bW (bT) = { | |
478 | 478 | let bX = Y(L(I), "could not get total locked waves") | |
479 | 479 | [aa(I, (bX + bT))] | |
480 | 480 | } | |
481 | 481 | ||
482 | 482 | ||
483 | 483 | func bY (bT) = { | |
484 | 484 | let bX = Y(L(I), "could not get total locked waves") | |
485 | 485 | [aa(I, (bX - bT))] | |
486 | 486 | } | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | func bZ (ca) = { | |
490 | 490 | let cb = { | |
491 | 491 | let U = blockInfoByHeight(ca) | |
492 | 492 | if ($isInstanceOf(U, "BlockInfo")) | |
493 | 493 | then { | |
494 | 494 | let cc = U | |
495 | 495 | cc.timestamp | |
496 | 496 | } | |
497 | 497 | else throw("counld get timestamp") | |
498 | 498 | } | |
499 | 499 | cb | |
500 | 500 | } | |
501 | 501 | ||
502 | 502 | ||
503 | 503 | @Callable(at) | |
504 | 504 | func getEmission (h,bQ) = { | |
505 | 505 | let cd = as(at) | |
506 | 506 | if ((cd == cd)) | |
507 | 507 | then $Tuple2(nil, bP(h, bQ)) | |
508 | 508 | else throw("Strict value is not equal to itself.") | |
509 | 509 | } | |
510 | 510 | ||
511 | 511 | ||
512 | 512 | ||
513 | 513 | @Callable(at) | |
514 | 514 | func init (au,ce,aB,cf) = { | |
515 | 515 | let cg = if (isDefined(N(n))) | |
516 | 516 | then as(at) | |
517 | 517 | else true | |
518 | 518 | if ((cg == cg)) | |
519 | 519 | then { | |
520 | 520 | let cd = aw(au) | |
521 | 521 | if ((cd == cd)) | |
522 | 522 | then { | |
523 | 523 | let ch = aw(ce) | |
524 | 524 | if ((ch == ch)) | |
525 | 525 | then { | |
526 | 526 | let ci = aw(cf) | |
527 | 527 | if ((ci == ci)) | |
528 | 528 | then { | |
529 | 529 | let cj = aA(aB) | |
530 | 530 | if ((cj == cj)) | |
531 | 531 | then { | |
532 | 532 | let ck = S(p, 0) | |
533 | 533 | let cl = S(k, 0) | |
534 | 534 | let cm = S(l, c) | |
535 | 535 | let cn = S(H, 0) | |
536 | 536 | let co = S(J, 0) | |
537 | 537 | let cp = S(K, 0) | |
538 | 538 | let cq = S(I, 0) | |
539 | 539 | [af(n, au), af(o, ce), af(m, aB), af(q, cf), af(p, ck), af(l, cm), af(k, cl), af(I, cq), af(J, co), af(H, cn)] | |
540 | 540 | } | |
541 | 541 | else throw("Strict value is not equal to itself.") | |
542 | 542 | } | |
543 | 543 | else throw("Strict value is not equal to itself.") | |
544 | 544 | } | |
545 | 545 | else throw("Strict value is not equal to itself.") | |
546 | 546 | } | |
547 | 547 | else throw("Strict value is not equal to itself.") | |
548 | 548 | } | |
549 | 549 | else throw("Strict value is not equal to itself.") | |
550 | 550 | } | |
551 | 551 | ||
552 | 552 | ||
553 | 553 | ||
554 | 554 | @Callable(at) | |
555 | 555 | func modifyGlobalParams (W) = { | |
556 | 556 | let cd = as(at) | |
557 | 557 | if ((cd == cd)) | |
558 | 558 | then { | |
559 | - | let ch = ad((size(W) == 2), "[global_key, value] pairs expected") | |
559 | + | let cr = makeString(["got", toString(size(W)), "size of list but expected [global_key, value] pair"], " ") | |
560 | + | let ch = ad((size(W) == 2), cr) | |
560 | 561 | if ((ch == ch)) | |
561 | 562 | then { | |
562 | 563 | let M = W[0] | |
563 | - | let | |
564 | - | let U = | |
564 | + | let cs = parseInt(W[1]) | |
565 | + | let U = cs | |
565 | 566 | if ($isInstanceOf(U, "Int")) | |
566 | 567 | then { | |
567 | 568 | let ak = U | |
568 | - | let | |
569 | - | if (( | |
569 | + | let ct = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
570 | + | if ((ct == ct)) | |
570 | 571 | then [af(M, ak)] | |
571 | 572 | else throw("Strict value is not equal to itself.") | |
572 | 573 | } | |
573 | 574 | else if ($isInstanceOf(U, "Unit")) | |
574 | 575 | then { | |
575 | 576 | let ak = U | |
576 | - | let | |
577 | - | if (( | |
577 | + | let ct = ad((N(M) == unit), (("key " + M) + " not recognized")) | |
578 | + | if ((ct == ct)) | |
578 | 579 | then { | |
579 | - | let | |
580 | - | let | |
580 | + | let cu = W[1] | |
581 | + | let cv = ai(n) | |
581 | 582 | let cj = { | |
582 | - | let az = | |
583 | + | let az = cv | |
583 | 584 | if ($isInstanceOf(az, "String")) | |
584 | 585 | then { | |
585 | - | let | |
586 | - | if ((size( | |
587 | - | then aw( | |
588 | - | else aA( | |
586 | + | let cw = az | |
587 | + | if ((size(cw) == size(cu))) | |
588 | + | then aw(cu) | |
589 | + | else aA(cu) | |
589 | 590 | } | |
590 | 591 | else throw("value type not supported") | |
591 | 592 | } | |
592 | 593 | if ((cj == cj)) | |
593 | - | then [af(M, | |
594 | + | then [af(M, cu)] | |
594 | 595 | else throw("Strict value is not equal to itself.") | |
595 | 596 | } | |
596 | 597 | else throw("Strict value is not equal to itself.") | |
597 | 598 | } | |
598 | 599 | else throw(("failed to modify " + W[0])) | |
599 | 600 | } | |
600 | 601 | else throw("Strict value is not equal to itself.") | |
601 | 602 | } | |
602 | 603 | else throw("Strict value is not equal to itself.") | |
603 | 604 | } | |
604 | 605 | ||
605 | 606 | ||
606 | 607 | ||
607 | 608 | @Callable(at) | |
608 | 609 | func revokeLock () = { | |
609 | 610 | let cd = as(at) | |
610 | 611 | if ((cd == cd)) | |
611 | 612 | then nil | |
612 | 613 | else throw("Strict value is not equal to itself.") | |
613 | 614 | } | |
614 | 615 | ||
615 | 616 | ||
616 | 617 | ||
617 | 618 | @Callable(at) | |
618 | 619 | func claim (ba) = { | |
619 | - | let | |
620 | - | let | |
621 | - | let | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | let | |
620 | + | let cx = toBase58String(at.caller.bytes) | |
621 | + | let cy = makeString([cx, ba, z], a) | |
622 | + | let cz = makeString([cx, ba, w], a) | |
623 | + | let cA = makeString([cx, ba, y], a) | |
624 | + | let cB = makeString([cx, ba, E], a) | |
625 | + | let cC = makeString([cx, ba, F], a) | |
626 | + | let cD = makeString([cx, ba, B], a) | |
627 | + | let cE = makeString([cx, ba, z], a) | |
628 | + | let cF = makeString([cx, v], a) | |
629 | + | let cG = makeString([cx, ba, G], a) | |
630 | + | let cH = makeString([cx, ba, G], a) | |
631 | + | let cI = { | |
631 | 632 | let U = ai(I) | |
632 | 633 | if ($isInstanceOf(U, "Int")) | |
633 | 634 | then { | |
634 | 635 | let aF = U | |
635 | 636 | aF | |
636 | 637 | } | |
637 | 638 | else throw("failed to get global total waves") | |
638 | 639 | } | |
639 | - | if (( | |
640 | + | if ((cI == cI)) | |
640 | 641 | then { | |
641 | - | let | |
642 | + | let cJ = { | |
642 | 643 | let U = ai(J) | |
643 | 644 | if ($isInstanceOf(U, "Int")) | |
644 | 645 | then { | |
645 | 646 | let aF = U | |
646 | 647 | aF | |
647 | 648 | } | |
648 | 649 | else throw("failed to get global total waves") | |
649 | 650 | } | |
650 | - | if (( | |
651 | + | if ((cJ == cJ)) | |
651 | 652 | then { | |
652 | 653 | let bh = { | |
653 | - | let U = ai( | |
654 | + | let U = ai(cA) | |
654 | 655 | if ($isInstanceOf(U, "ByteVector")) | |
655 | 656 | then { | |
656 | 657 | let aF = U | |
657 | 658 | aF | |
658 | 659 | } | |
659 | 660 | else throw("failed to get lease id") | |
660 | 661 | } | |
661 | 662 | if ((bh == bh)) | |
662 | 663 | then { | |
663 | - | let | |
664 | - | let U = ai( | |
664 | + | let cK = { | |
665 | + | let U = ai(cF) | |
665 | 666 | if ($isInstanceOf(U, "Int")) | |
666 | 667 | then { | |
667 | 668 | let aF = U | |
668 | 669 | aF | |
669 | 670 | } | |
670 | 671 | else throw("failed to get total waves locked by this address") | |
671 | 672 | } | |
672 | - | if (( | |
673 | + | if ((cK == cK)) | |
673 | 674 | then { | |
674 | 675 | let aR = { | |
675 | - | let U = ai( | |
676 | + | let U = ai(cE) | |
676 | 677 | if ($isInstanceOf(U, "Int")) | |
677 | 678 | then { | |
678 | 679 | let aF = U | |
679 | 680 | aF | |
680 | 681 | } | |
681 | 682 | else throw("failed to get total waves locked") | |
682 | 683 | } | |
683 | 684 | if ((aR == aR)) | |
684 | 685 | then { | |
685 | - | let | |
686 | - | let U = ai( | |
686 | + | let cL = { | |
687 | + | let U = ai(cC) | |
687 | 688 | if ($isInstanceOf(U, "Int")) | |
688 | 689 | then { | |
689 | 690 | let aF = U | |
690 | 691 | aF | |
691 | 692 | } | |
692 | 693 | else throw("failed to get total waves claimed") | |
693 | 694 | } | |
694 | - | if (( | |
695 | + | if ((cL == cL)) | |
695 | 696 | then { | |
696 | 697 | let bf = { | |
697 | - | let U = ai( | |
698 | + | let U = ai(cD) | |
698 | 699 | if ($isInstanceOf(U, "Int")) | |
699 | 700 | then { | |
700 | 701 | let aF = U | |
701 | 702 | aF | |
702 | 703 | } | |
703 | 704 | else throw("failed to get stawPL") | |
704 | 705 | } | |
705 | 706 | if ((bf == bf)) | |
706 | 707 | then { | |
707 | - | let | |
708 | - | let U = ai( | |
708 | + | let cM = { | |
709 | + | let U = ai(cB) | |
709 | 710 | if ($isInstanceOf(U, "Int")) | |
710 | 711 | then { | |
711 | 712 | let aF = U | |
712 | 713 | aF | |
713 | 714 | } | |
714 | 715 | else throw("failed to get lock period timespam") | |
715 | 716 | } | |
716 | - | if (( | |
717 | + | if ((cM == cM)) | |
717 | 718 | then { | |
718 | - | let | |
719 | + | let cN = { | |
719 | 720 | let U = bZ(height) | |
720 | 721 | if ($isInstanceOf(U, "Int")) | |
721 | 722 | then { | |
722 | 723 | let aF = U | |
723 | 724 | aF | |
724 | 725 | } | |
725 | 726 | else throw("failed to get current timestamp") | |
726 | 727 | } | |
727 | - | if (( | |
728 | + | if ((cN == cN)) | |
728 | 729 | then { | |
729 | 730 | let bQ = { | |
730 | - | let U = ai( | |
731 | + | let U = ai(cy) | |
731 | 732 | if ($isInstanceOf(U, "Int")) | |
732 | 733 | then { | |
733 | 734 | let aF = U | |
734 | 735 | aF | |
735 | 736 | } | |
736 | 737 | else throw("failed to get collateral") | |
737 | 738 | } | |
738 | 739 | if ((bQ == bQ)) | |
739 | 740 | then { | |
740 | 741 | let h = { | |
741 | - | let U = ai( | |
742 | + | let U = ai(cz) | |
742 | 743 | if ($isInstanceOf(U, "Int")) | |
743 | 744 | then { | |
744 | 745 | let aF = U | |
745 | 746 | aF | |
746 | 747 | } | |
747 | 748 | else throw("failed to get lockPeriod") | |
748 | 749 | } | |
749 | 750 | if ((h == h)) | |
750 | 751 | then { | |
751 | - | let | |
752 | - | let U = ai( | |
752 | + | let cO = { | |
753 | + | let U = ai(cG) | |
753 | 754 | if ($isInstanceOf(U, "String")) | |
754 | 755 | then { | |
755 | 756 | let aF = U | |
756 | 757 | aF | |
757 | 758 | } | |
758 | 759 | else throw("failed to get lease state") | |
759 | 760 | } | |
760 | - | if (( | |
761 | + | if ((cO == cO)) | |
761 | 762 | then { | |
762 | 763 | let bk = { | |
763 | - | let U = ai( | |
764 | + | let U = ai(cH) | |
764 | 765 | if ($isInstanceOf(U, "String")) | |
765 | 766 | then { | |
766 | 767 | let aF = U | |
767 | 768 | aF | |
768 | 769 | } | |
769 | 770 | else throw("failed to get lease state for user") | |
770 | 771 | } | |
771 | 772 | if ((bk == bk)) | |
772 | 773 | then { | |
773 | - | let cd = ad(( | |
774 | + | let cd = ad((cM > cN), "lock period for this entry has not elapsed") | |
774 | 775 | if ((cd == cd)) | |
775 | 776 | then { | |
776 | - | let | |
777 | - | then $Tuple2(LeaseCancel(bh), ac( | |
778 | - | else $Tuple2(ac( | |
779 | - | if (( | |
777 | + | let cP = if ((cO == "leased")) | |
778 | + | then $Tuple2(LeaseCancel(bh), ac(cG, "cancelled")) | |
779 | + | else $Tuple2(ac(cG, "cancelled"), ac(cG, "cancelled")) | |
780 | + | if ((cP == cP)) | |
780 | 781 | then { | |
781 | 782 | let ch = ad(if ((0 == aR)) | |
782 | 783 | then true | |
783 | 784 | else (0 == bf), "all claims exhausted for this trx") | |
784 | 785 | if ((ch == ch)) | |
785 | 786 | then { | |
786 | - | let | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | if (( | |
787 | + | let cQ = (bP(h, bQ) * f) | |
788 | + | let cR = { | |
789 | + | let cS = (cN - cM) | |
790 | + | let cT = (cS / f) | |
791 | + | if ((cT == 0)) | |
791 | 792 | then throw("less than 24hrs before first claim") | |
792 | - | else if ((( | |
793 | + | else if (((cS % f) != 0)) | |
793 | 794 | then throw("already claimed or less than 24hrs before next claim") | |
794 | - | else if (( | |
795 | + | else if ((cT > h)) | |
795 | 796 | then throw("all claims exhausted") | |
796 | 797 | else { | |
797 | - | let | |
798 | - | let | |
799 | - | if (( | |
798 | + | let cU = (cT * cQ) | |
799 | + | let cV = ad((cU == cL), "can only claim once in 24hrs") | |
800 | + | if ((cV == cV)) | |
800 | 801 | then { | |
801 | - | let | |
802 | - | if (( | |
802 | + | let cW = ad(((cU + cL) > aR), "all claims exhausted") | |
803 | + | if ((cW == cW)) | |
803 | 804 | then { | |
804 | - | let cW = if ((cS == 1)) | |
805 | - | then cT | |
806 | - | else (cT - cK) | |
807 | - | let cX = cT | |
808 | - | let cY = if ((cS == 1)) | |
809 | - | then (aR - cT) | |
810 | - | else (aR - (cT - cK)) | |
811 | - | let cZ = if ((cS == 1)) | |
812 | - | then (bf - cT) | |
813 | - | else (bf - (cT - cK)) | |
814 | - | let da = (cH - cY) | |
805 | + | let cX = if ((cT == 1)) | |
806 | + | then cU | |
807 | + | else (cU - cL) | |
808 | + | let cY = cU | |
809 | + | let cZ = if ((cT == 1)) | |
810 | + | then (aR - cU) | |
811 | + | else (aR - (cU - cL)) | |
812 | + | let da = if ((cT == 1)) | |
813 | + | then (bf - cU) | |
814 | + | else (bf - (cU - cL)) | |
815 | 815 | let db = (cI - cZ) | |
816 | - | let dc = (cJ - cW) | |
817 | - | let bB = makeString(["%d", toString(cY)], a) | |
818 | - | let bD = makeString(["%d", toString(cZ)], a) | |
819 | - | let bJ = makeString(["%d", toString(cX)], a) | |
820 | - | let dd = makeString(["%d", toString(dc)], a) | |
821 | - | [cO._1, cO._2, ac(cD, bB), ac(cC, bD), ac(cB, bJ), ac(cE, dd), af(I, da), af(J, db), ScriptTransfer(Address(at.caller.bytes), cW, unit)] | |
816 | + | let dc = (cJ - da) | |
817 | + | let dd = (cK - cX) | |
818 | + | let bB = makeString(["%d", toString(cZ)], a) | |
819 | + | let bD = makeString(["%d", toString(da)], a) | |
820 | + | let bJ = makeString(["%d", toString(cY)], a) | |
821 | + | let de = makeString(["%d", toString(dd)], a) | |
822 | + | [cP._1, cP._2, ac(cE, bB), ac(cD, bD), ac(cC, bJ), ac(cF, de), af(I, db), af(J, dc), ScriptTransfer(Address(at.caller.bytes), cX, unit)] | |
822 | 823 | } | |
823 | 824 | else throw("Strict value is not equal to itself.") | |
824 | 825 | } | |
825 | 826 | else throw("Strict value is not equal to itself.") | |
826 | 827 | } | |
827 | 828 | } | |
828 | - | if (( | |
829 | - | then | |
829 | + | if ((cR == cR)) | |
830 | + | then cR | |
830 | 831 | else throw("Strict value is not equal to itself.") | |
831 | 832 | } | |
832 | 833 | else throw("Strict value is not equal to itself.") | |
833 | 834 | } | |
834 | 835 | else throw("Strict value is not equal to itself.") | |
835 | 836 | } | |
836 | 837 | else throw("Strict value is not equal to itself.") | |
837 | 838 | } | |
838 | 839 | else throw("Strict value is not equal to itself.") | |
839 | 840 | } | |
840 | 841 | else throw("Strict value is not equal to itself.") | |
841 | 842 | } | |
842 | 843 | else throw("Strict value is not equal to itself.") | |
843 | 844 | } | |
844 | 845 | else throw("Strict value is not equal to itself.") | |
845 | 846 | } | |
846 | 847 | else throw("Strict value is not equal to itself.") | |
847 | 848 | } | |
848 | 849 | else throw("Strict value is not equal to itself.") | |
849 | 850 | } | |
850 | 851 | else throw("Strict value is not equal to itself.") | |
851 | 852 | } | |
852 | 853 | else throw("Strict value is not equal to itself.") | |
853 | 854 | } | |
854 | 855 | else throw("Strict value is not equal to itself.") | |
855 | 856 | } | |
856 | 857 | else throw("Strict value is not equal to itself.") | |
857 | 858 | } | |
858 | 859 | else throw("Strict value is not equal to itself.") | |
859 | 860 | } | |
860 | 861 | else throw("Strict value is not equal to itself.") | |
861 | 862 | } | |
862 | 863 | else throw("Strict value is not equal to itself.") | |
863 | 864 | } | |
864 | 865 | ||
865 | 866 | ||
866 | 867 | ||
867 | 868 | @Callable(at) | |
868 | 869 | func mintStaw (h) = { | |
869 | - | let | |
870 | - | let | |
870 | + | let cx = toBase58String(at.caller.bytes) | |
871 | + | let df = toBase58String(at.transactionId) | |
871 | 872 | let cd = ad((1 != size(at.payments)), "no payments attached") | |
872 | 873 | if ((cd == cd)) | |
873 | 874 | then { | |
874 | 875 | let ch = if (isDefined(at.payments[0].assetId)) | |
875 | 876 | then throw("only waves supported") | |
876 | 877 | else true | |
877 | 878 | if ((ch == ch)) | |
878 | 879 | then { | |
879 | - | let | |
880 | - | let ci = if (if ((d > | |
880 | + | let dg = at.payments[0].amount | |
881 | + | let ci = if (if ((d > dg)) | |
881 | 882 | then true | |
882 | - | else ( | |
883 | + | else (dg > e)) | |
883 | 884 | then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves") | |
884 | 885 | else true | |
885 | 886 | if ((ci == ci)) | |
886 | 887 | then { | |
887 | 888 | let cj = if ((b > h)) | |
888 | 889 | then throw("minimum of 14 days lock period") | |
889 | 890 | else true | |
890 | 891 | if ((cj == cj)) | |
891 | 892 | then { | |
892 | - | let | |
893 | - | let aT = | |
894 | - | let | |
895 | - | let | |
896 | - | let | |
897 | - | if (( | |
893 | + | let dh = bL(h, dg) | |
894 | + | let aT = dg | |
895 | + | let di = fraction(dh._1, 10, 100) | |
896 | + | let dj = (dh._1 - di) | |
897 | + | let dk = (bZ(height) + an(h)) | |
898 | + | if ((dk == dk)) | |
898 | 899 | then { | |
899 | - | let | |
900 | + | let dl = { | |
900 | 901 | let U = ai(K) | |
901 | 902 | if ($isInstanceOf(U, "Int")) | |
902 | 903 | then { | |
903 | 904 | let aF = U | |
904 | 905 | (aF + 1) | |
905 | 906 | } | |
906 | 907 | else throw("failed to get current global index count") | |
907 | 908 | } | |
908 | - | if (( | |
909 | + | if ((dl == dl)) | |
909 | 910 | then { | |
910 | - | let | |
911 | + | let dm = { | |
911 | 912 | let U = ai(o) | |
912 | 913 | if ($isInstanceOf(U, "String")) | |
913 | 914 | then { | |
914 | 915 | let aF = U | |
915 | 916 | Address(fromBase58String(aF)) | |
916 | 917 | } | |
917 | 918 | else throw("failed to get dfx address") | |
918 | 919 | } | |
919 | - | if (( | |
920 | + | if ((dm == dm)) | |
920 | 921 | then { | |
921 | 922 | let aG = { | |
922 | 923 | let U = ai(m) | |
923 | 924 | if ($isInstanceOf(U, "String")) | |
924 | 925 | then { | |
925 | 926 | let aF = U | |
926 | 927 | fromBase58String(aF) | |
927 | 928 | } | |
928 | 929 | else throw("failed to get asset id") | |
929 | 930 | } | |
930 | 931 | if ((aG == aG)) | |
931 | 932 | then { | |
932 | - | let | |
933 | + | let dn = { | |
933 | 934 | let U = ai(q) | |
934 | 935 | if ($isInstanceOf(U, "String")) | |
935 | 936 | then { | |
936 | 937 | let aF = U | |
937 | 938 | Address(fromBase58String(aF)) | |
938 | 939 | } | |
939 | 940 | else throw("failed to get lease node address") | |
940 | 941 | } | |
941 | - | if (( | |
942 | + | if ((dn == dn)) | |
942 | 943 | then { | |
943 | - | let | |
944 | - | let | |
945 | - | let | |
946 | - | let U = ai( | |
944 | + | let do = makeString([cx, u], a) | |
945 | + | let dp = makeString([cx, v], a) | |
946 | + | let dq = { | |
947 | + | let U = ai(do) | |
947 | 948 | if ($isInstanceOf(U, "Int")) | |
948 | 949 | then { | |
949 | 950 | let ak = U | |
950 | 951 | (ak + 1) | |
951 | 952 | } | |
952 | 953 | else 0 | |
953 | 954 | } | |
954 | - | if (( | |
955 | + | if ((dq == dq)) | |
955 | 956 | then { | |
956 | - | let | |
957 | - | let U = ai( | |
957 | + | let dr = { | |
958 | + | let U = ai(dp) | |
958 | 959 | if ($isInstanceOf(U, "Int")) | |
959 | 960 | then { | |
960 | 961 | let ak = U | |
961 | - | (ak + | |
962 | + | (ak + dg) | |
962 | 963 | } | |
963 | - | else | |
964 | + | else dg | |
964 | 965 | } | |
965 | - | if (( | |
966 | + | if ((dr == dr)) | |
966 | 967 | then { | |
967 | - | let | |
968 | - | if (( | |
968 | + | let ds = Lease(dn, dg) | |
969 | + | if ((ds == ds)) | |
969 | 970 | then { | |
970 | - | let | |
971 | - | if (( | |
972 | - | then ((([ | |
971 | + | let dt = toBase58String(calculateLeaseId(ds)) | |
972 | + | if ((dt == dt)) | |
973 | + | then ((([ds, ScriptTransfer(dm, di, aG), ScriptTransfer(Address(at.caller.bytes), dj, aG)] ++ aZ(df, cx, h, dk, dl, dg, dj, aT, height, dt, dr, dq, "leased")) ++ aQ(dg, dh._1, aT, dl)) ++ dh._2) | |
973 | 974 | else throw("Strict value is not equal to itself.") | |
974 | 975 | } | |
975 | 976 | else throw("Strict value is not equal to itself.") | |
976 | 977 | } | |
977 | 978 | else throw("Strict value is not equal to itself.") | |
978 | 979 | } | |
979 | 980 | else throw("Strict value is not equal to itself.") | |
980 | 981 | } | |
981 | 982 | else throw("Strict value is not equal to itself.") | |
982 | 983 | } | |
983 | 984 | else throw("Strict value is not equal to itself.") | |
984 | 985 | } | |
985 | 986 | else throw("Strict value is not equal to itself.") | |
986 | 987 | } | |
987 | 988 | else throw("Strict value is not equal to itself.") | |
988 | 989 | } | |
989 | 990 | else throw("Strict value is not equal to itself.") | |
990 | 991 | } | |
991 | 992 | else throw("Strict value is not equal to itself.") | |
992 | 993 | } | |
993 | 994 | else throw("Strict value is not equal to itself.") | |
994 | 995 | } | |
995 | 996 | else throw("Strict value is not equal to itself.") | |
996 | 997 | } | |
997 | 998 | else throw("Strict value is not equal to itself.") | |
998 | 999 | } | |
999 | 1000 | ||
1000 | 1001 |
github/deemru/w8io/169f3d6 257.07 ms ◑