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