tx · Eg2nBBkkEwv71cDbETRf7DFPMVx6HEjH7F1YJUTVUqU9 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH: -0.02600000 Waves 2023.03.21 15:35 [2499781] smart account 3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH > SELF 0.00000000 Waves
{ "type": 13, "id": "Eg2nBBkkEwv71cDbETRf7DFPMVx6HEjH7F1YJUTVUqU9", "fee": 2600000, "feeAssetId": null, "timestamp": 1679402235328, "version": 2, "chainId": 84, "sender": "3MwukwUkp3PsyCrkjMgqiAnSfc1hBD5FQhH", "senderPublicKey": "5JqBVJpMCyD7dJLJttqYjL6CmJc4zahBHSFjFb7qQTga", "proofs": [ "37MTM3Q45UqEhXUgC4whHTuCPo1Te8GhQB2b9n6iYh8LXv7qdVuPPXxVNB4dw66jhmQfGZKNhTuagXbfYBnQdouK" ], "script": "base64:BgIhCAISBAoCAQESBgoECAgICBIDCgEYEgASAwoBCBIDCgEBRgADU0VQAgFfAA5fbWluTG9ja3BlcmlvZAABAA1fdW5pdERlY2ltYWxzAIDC1y8ADl9taW5Mb2NrQW1vdW50CQBoAgABBQ1fdW5pdERlY2ltYWxzAA5fbWF4TG9ja0Ftb3VudAkAaAIA6AcFDV91bml0RGVjaW1hbHMAA19EdACAuJkpAQRfUHB5AQpsb2NrUGVyaW9kCQBrAwUNX3VuaXREZWNpbWFscwDtAgUKbG9ja1BlcmlvZAANX2luY3JlbWVudFJlZgDAhD0ADl9wZXJjZW50YWdlRmVlCQBrAwUNX3VuaXREZWNpbWFscwAKAGQAGl9wZXJjZW50YWdlUmVkdWN0aW9uRmFjdG9yAilDdXJyZW50X1BlcmNlbnRhZ2VSZWR1Y3Rpb25fRmFjdG9yX0Zvcl9NcgADX01yAgxNaW50aW5nX1JhdGUADF9zdGF3QXNzZXRJZAIMU3Rhd19Bc3NldElkAAhfbWFuYWdlcgIHbWFuYWdlcgAEX0RmeAIDRGZ4ABVfY2lyY3VsYXRpb25JbmNySW5k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3Rhd0Ftb3VudAUGc3Rhd1BMBQZoZWlnaHQFCmxlYXNlSWRTdHIFD3VzZXJUb3RhbExvY2tlZAUOdXNlckluZGV4Q291bnQCBmxlYXNlZAkBEl91cGRhdGVHbG9iYWxFbnRyeQQFDWFtb3VudEluV2F2ZXMIBQ10b3RhbFN0YXdNaW50Al8xBQZzdGF3UEwFCW5ld19pbmRleAgFDXRvdGFsU3Rhd01pbnQCXzIJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4JAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AnXsCHQ==", "height": 2499781, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: meEohJXz5oMDLVnnc8nHWdTgY4moNt11HSq8KWSJaqT Next: none Diff:
Old | New | Differences | |
---|---|---|---|
484 | 484 | ||
485 | 485 | func bT (h,bU) = { | |
486 | 486 | let bV = fraction(h, 15, 10) | |
487 | - | let bW = (fraction(fraction(1, 1, f), bU, (bV - h)) / 2) | |
488 | - | let bX = bW | |
489 | - | bX | |
487 | + | let bW = fraction(c, ((bU / ((bV - h) * f)) / 2), 1) | |
488 | + | bW | |
490 | 489 | } | |
491 | 490 | ||
492 | 491 | ||
493 | - | func | |
494 | - | let | |
495 | - | [ab(J, ( | |
492 | + | func bX (bY) = { | |
493 | + | let bZ = Z(M(J), "could not get the running StawLP") | |
494 | + | [ab(J, (bZ + bY))] | |
496 | 495 | } | |
497 | 496 | ||
498 | 497 | ||
499 | - | func | |
500 | - | let | |
501 | - | [ab(J, ( | |
498 | + | func ca (bY) = { | |
499 | + | let bZ = Z(M(J), "could not get the running StawLP") | |
500 | + | [ab(J, (bZ - bY))] | |
502 | 501 | } | |
503 | 502 | ||
504 | 503 | ||
505 | - | func | |
506 | - | let | |
507 | - | [ab(I, ( | |
504 | + | func cb (bY) = { | |
505 | + | let cc = Z(M(I), "could not get total locked waves") | |
506 | + | [ab(I, (cc + bY))] | |
508 | 507 | } | |
509 | 508 | ||
510 | 509 | ||
511 | - | func | |
512 | - | let | |
513 | - | [ab(I, ( | |
510 | + | func cd (bY) = { | |
511 | + | let cc = Z(M(I), "could not get total locked waves") | |
512 | + | [ab(I, (cc - bY))] | |
514 | 513 | } | |
515 | 514 | ||
516 | 515 | ||
517 | - | func | |
518 | - | let | |
519 | - | let V = blockInfoByHeight( | |
516 | + | func ce (cf) = { | |
517 | + | let cg = { | |
518 | + | let V = blockInfoByHeight(cf) | |
520 | 519 | if ($isInstanceOf(V, "BlockInfo")) | |
521 | 520 | then { | |
522 | - | let | |
523 | - | | |
521 | + | let ch = V | |
522 | + | ch.timestamp | |
524 | 523 | } | |
525 | 524 | else throw("counld get timestamp") | |
526 | 525 | } | |
527 | - | | |
526 | + | cg | |
528 | 527 | } | |
529 | 528 | ||
530 | 529 | ||
531 | - | func | |
530 | + | func ci (aF) = { | |
532 | 531 | let V = assetInfo(fromBase58String(aF)) | |
533 | 532 | if ($isInstanceOf(V, "Asset")) | |
534 | 533 | then { | |
541 | 540 | ||
542 | 541 | @Callable(au) | |
543 | 542 | func getEmission (h,bU) = { | |
544 | - | let | |
545 | - | if (( | |
543 | + | let cj = at(au) | |
544 | + | if ((cj == cj)) | |
546 | 545 | then $Tuple2(nil, bT(h, bU)) | |
547 | 546 | else throw("Strict value is not equal to itself.") | |
548 | 547 | } | |
550 | 549 | ||
551 | 550 | ||
552 | 551 | @Callable(au) | |
553 | - | func init (av, | |
554 | - | let | |
552 | + | func init (av,ck,aF,cl) = { | |
553 | + | let cm = if (isDefined(O(n))) | |
555 | 554 | then at(au) | |
556 | 555 | else true | |
557 | - | if (( | |
556 | + | if ((cm == cm)) | |
558 | 557 | then { | |
559 | - | let | |
560 | - | if (( | |
558 | + | let cj = ax(av, "invalid address") | |
559 | + | if ((cj == cj)) | |
561 | 560 | then { | |
562 | - | let | |
563 | - | if (( | |
561 | + | let cn = ax(ck, "invalid address") | |
562 | + | if ((cn == cn)) | |
564 | 563 | then { | |
565 | - | let | |
566 | - | if (( | |
564 | + | let co = ax(cl, "invalid address") | |
565 | + | if ((co == co)) | |
567 | 566 | then { | |
568 | - | let | |
567 | + | let cp = if (aE(aF, "invalid asset")) | |
569 | 568 | then true | |
570 | 569 | else throw("invalid asset Id") | |
571 | - | if (( | |
570 | + | if ((cp == cp)) | |
572 | 571 | then { | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | [ag(n, av), ag(o, | |
572 | + | let cq = T(p, 0) | |
573 | + | let cr = T(k, 0) | |
574 | + | let cs = T(l, c) | |
575 | + | let ct = T(H, 0) | |
576 | + | let cu = T(J, 0) | |
577 | + | let cv = T(K, 0) | |
578 | + | let cw = T(I, 0) | |
579 | + | [ag(n, av), ag(o, ck), ag(m, aF), ag(q, cl), ag(p, cq), ag(l, cs), ag(k, cr), ag(I, cw), ag(J, cu), ag(H, ct), ag(K, cv)] | |
581 | 580 | } | |
582 | 581 | else throw("Strict value is not equal to itself.") | |
583 | 582 | } | |
594 | 593 | ||
595 | 594 | @Callable(au) | |
596 | 595 | func modifyGlobalParams (X) = { | |
597 | - | let | |
598 | - | if (( | |
596 | + | let cj = at(au) | |
597 | + | if ((cj == cj)) | |
599 | 598 | then { | |
600 | 599 | let az = makeString(["got", "list size of", toString(size(X)), "but expected [global_key, value] pair"], " ") | |
601 | - | let | |
602 | - | if (( | |
600 | + | let cn = ae((size(X) != 2), az) | |
601 | + | if ((cn == cn)) | |
603 | 602 | then { | |
604 | 603 | let N = X[0] | |
605 | - | let | |
606 | - | let V = | |
604 | + | let cx = parseInt(X[1]) | |
605 | + | let V = cx | |
607 | 606 | if ($isInstanceOf(V, "Int")) | |
608 | 607 | then { | |
609 | 608 | let al = V | |
610 | - | let | |
611 | - | if (( | |
609 | + | let cy = ae((O(N) == unit), (("key " + N) + " not recognized")) | |
610 | + | if ((cy == cy)) | |
612 | 611 | then { | |
613 | - | let | |
612 | + | let cz = { | |
614 | 613 | let aB = aj(N) | |
615 | 614 | if ($isInstanceOf(aB, "Int")) | |
616 | 615 | then { | |
619 | 618 | } | |
620 | 619 | else throw("invalid key-value pair") | |
621 | 620 | } | |
622 | - | if (( | |
621 | + | if ((cz == cz)) | |
623 | 622 | then [ag(N, al)] | |
624 | 623 | else throw("Strict value is not equal to itself.") | |
625 | 624 | } | |
628 | 627 | else if ($isInstanceOf(V, "Unit")) | |
629 | 628 | then { | |
630 | 629 | let al = V | |
631 | - | let | |
632 | - | if (( | |
630 | + | let cy = ae((O(N) == unit), (("key " + N) + " not recognized")) | |
631 | + | if ((cy == cy)) | |
633 | 632 | then { | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let aB = | |
633 | + | let cA = X[1] | |
634 | + | let cB = aj(n) | |
635 | + | let cp = { | |
636 | + | let aB = cB | |
638 | 637 | if ($isInstanceOf(aB, "String")) | |
639 | 638 | then { | |
640 | - | let | |
641 | - | if ((size( | |
642 | - | then ax( | |
643 | - | else aE( | |
639 | + | let cC = aB | |
640 | + | if ((size(cC) == size(cA))) | |
641 | + | then ax(cA, "string type for value not supported") | |
642 | + | else aE(cA, "string type for value not supported") | |
644 | 643 | } | |
645 | 644 | else false | |
646 | 645 | } | |
647 | - | if (( | |
648 | - | then [ag(N, | |
646 | + | if ((cp == cp)) | |
647 | + | then [ag(N, cA)] | |
649 | 648 | else throw("Strict value is not equal to itself.") | |
650 | 649 | } | |
651 | 650 | else throw("Strict value is not equal to itself.") | |
661 | 660 | ||
662 | 661 | @Callable(au) | |
663 | 662 | func revokeLock () = { | |
664 | - | let | |
665 | - | if (( | |
663 | + | let cj = at(au) | |
664 | + | if ((cj == cj)) | |
666 | 665 | then nil | |
667 | 666 | else throw("Strict value is not equal to itself.") | |
668 | 667 | } | |
671 | 670 | ||
672 | 671 | @Callable(au) | |
673 | 672 | func claim (be) = { | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let | |
684 | - | let | |
685 | - | let | |
686 | - | let | |
673 | + | let cD = toBase58String(au.caller.bytes) | |
674 | + | let cE = makeString([cD, be, z], a) | |
675 | + | let cF = makeString([cD, be, w], a) | |
676 | + | let cG = makeString([cD, be, y], a) | |
677 | + | let cH = makeString([cD, be, E], a) | |
678 | + | let cI = makeString([cD, be, F], a) | |
679 | + | let cJ = makeString([cD, be, B], a) | |
680 | + | let cK = makeString([cD, be, z], a) | |
681 | + | let cL = makeString([cD, v], a) | |
682 | + | let cM = makeString([cD, be, G], a) | |
683 | + | let cN = makeString([cD, be, G], a) | |
684 | + | let cO = makeString([cD, be, L], a) | |
685 | + | let cP = { | |
687 | 686 | let V = aj(I) | |
688 | 687 | if ($isInstanceOf(V, "Int")) | |
689 | 688 | then { | |
692 | 691 | } | |
693 | 692 | else throw("failed to get global total waves") | |
694 | 693 | } | |
695 | - | if (( | |
694 | + | if ((cP == cP)) | |
696 | 695 | then { | |
697 | - | let | |
696 | + | let cQ = { | |
698 | 697 | let V = aj(J) | |
699 | 698 | if ($isInstanceOf(V, "Int")) | |
700 | 699 | then { | |
703 | 702 | } | |
704 | 703 | else throw("failed to get global total waves") | |
705 | 704 | } | |
706 | - | if (( | |
705 | + | if ((cQ == cQ)) | |
707 | 706 | then { | |
708 | 707 | let bl = { | |
709 | - | let V = aj( | |
708 | + | let V = aj(cG) | |
710 | 709 | if ($isInstanceOf(V, "ByteVector")) | |
711 | 710 | then { | |
712 | 711 | let aJ = V | |
716 | 715 | } | |
717 | 716 | if ((bl == bl)) | |
718 | 717 | then { | |
719 | - | let | |
720 | - | let V = aj( | |
718 | + | let cR = { | |
719 | + | let V = aj(cL) | |
721 | 720 | if ($isInstanceOf(V, "Int")) | |
722 | 721 | then { | |
723 | 722 | let aJ = V | |
725 | 724 | } | |
726 | 725 | else throw("failed to get total waves locked by this address") | |
727 | 726 | } | |
728 | - | if (( | |
727 | + | if ((cR == cR)) | |
729 | 728 | then { | |
730 | 729 | let aV = { | |
731 | - | let V = aj( | |
730 | + | let V = aj(cK) | |
732 | 731 | if ($isInstanceOf(V, "Int")) | |
733 | 732 | then { | |
734 | 733 | let aJ = V | |
738 | 737 | } | |
739 | 738 | if ((aV == aV)) | |
740 | 739 | then { | |
741 | - | let | |
742 | - | let V = aj( | |
740 | + | let cS = { | |
741 | + | let V = aj(cI) | |
743 | 742 | if ($isInstanceOf(V, "Int")) | |
744 | 743 | then { | |
745 | 744 | let aJ = V | |
747 | 746 | } | |
748 | 747 | else throw("failed to get total waves claimed") | |
749 | 748 | } | |
750 | - | if (( | |
749 | + | if ((cS == cS)) | |
751 | 750 | then { | |
752 | 751 | let bj = { | |
753 | - | let V = aj( | |
752 | + | let V = aj(cJ) | |
754 | 753 | if ($isInstanceOf(V, "Int")) | |
755 | 754 | then { | |
756 | 755 | let aJ = V | |
760 | 759 | } | |
761 | 760 | if ((bj == bj)) | |
762 | 761 | then { | |
763 | - | let | |
764 | - | let V = aj( | |
762 | + | let cT = { | |
763 | + | let V = aj(cH) | |
765 | 764 | if ($isInstanceOf(V, "Int")) | |
766 | 765 | then { | |
767 | 766 | let aJ = V | |
769 | 768 | } | |
770 | 769 | else throw("failed to get lock period timespam") | |
771 | 770 | } | |
772 | - | if (( | |
771 | + | if ((cT == cT)) | |
773 | 772 | then { | |
774 | - | let | |
775 | - | let V = | |
773 | + | let cU = { | |
774 | + | let V = ce(height) | |
776 | 775 | if ($isInstanceOf(V, "Int")) | |
777 | 776 | then { | |
778 | 777 | let aJ = V | |
780 | 779 | } | |
781 | 780 | else throw("failed to get current timestamp") | |
782 | 781 | } | |
783 | - | if (( | |
782 | + | if ((cU == cU)) | |
784 | 783 | then { | |
785 | 784 | let bU = { | |
786 | - | let V = aj( | |
785 | + | let V = aj(cE) | |
787 | 786 | if ($isInstanceOf(V, "Int")) | |
788 | 787 | then { | |
789 | 788 | let aJ = V | |
794 | 793 | if ((bU == bU)) | |
795 | 794 | then { | |
796 | 795 | let h = { | |
797 | - | let V = aj( | |
796 | + | let V = aj(cF) | |
798 | 797 | if ($isInstanceOf(V, "Int")) | |
799 | 798 | then { | |
800 | 799 | let aJ = V | |
804 | 803 | } | |
805 | 804 | if ((h == h)) | |
806 | 805 | then { | |
807 | - | let | |
808 | - | let V = aj( | |
806 | + | let cV = { | |
807 | + | let V = aj(cM) | |
809 | 808 | if ($isInstanceOf(V, "String")) | |
810 | 809 | then { | |
811 | 810 | let aJ = V | |
813 | 812 | } | |
814 | 813 | else throw("failed to get lease state") | |
815 | 814 | } | |
816 | - | if (( | |
815 | + | if ((cV == cV)) | |
817 | 816 | then { | |
818 | 817 | let bo = { | |
819 | - | let V = aj( | |
818 | + | let V = aj(cN) | |
820 | 819 | if ($isInstanceOf(V, "String")) | |
821 | 820 | then { | |
822 | 821 | let aJ = V | |
826 | 825 | } | |
827 | 826 | if ((bo == bo)) | |
828 | 827 | then { | |
829 | - | let | |
830 | - | let V = O( | |
828 | + | let cW = { | |
829 | + | let V = O(cO) | |
831 | 830 | if ($isInstanceOf(V, "String")) | |
832 | 831 | then { | |
833 | 832 | let aJ = V | |
834 | - | let aB = aj( | |
833 | + | let aB = aj(cO) | |
835 | 834 | if ($isInstanceOf(aB, "Int")) | |
836 | 835 | then { | |
837 | - | let | |
838 | - | | |
836 | + | let cX = aB | |
837 | + | cX | |
839 | 838 | } | |
840 | 839 | else 0 | |
841 | 840 | } | |
842 | 841 | else 0 | |
843 | 842 | } | |
844 | - | if (( | |
843 | + | if ((cW == cW)) | |
845 | 844 | then { | |
846 | - | let | |
847 | - | if (( | |
845 | + | let cj = ae((cT > cU), "lock period for this entry has not elapsed") | |
846 | + | if ((cj == cj)) | |
848 | 847 | then { | |
849 | - | let | |
850 | - | then $Tuple2(LeaseCancel(bl), ad( | |
851 | - | else $Tuple2(ad( | |
852 | - | let | |
848 | + | let cY = if ((cV == "leased")) | |
849 | + | then $Tuple2(LeaseCancel(bl), ad(cM, "cancelled")) | |
850 | + | else $Tuple2(ad(cM, "cancelled"), ad(cM, "cancelled")) | |
851 | + | let cn = ae(if ((0 == aV)) | |
853 | 852 | then true | |
854 | 853 | else (0 == bj), "all claims exhausted for this trx") | |
855 | - | if (( | |
854 | + | if ((cn == cn)) | |
856 | 855 | then { | |
857 | - | let | |
858 | - | let | |
859 | - | let | |
860 | - | let | |
861 | - | if (( | |
856 | + | let cZ = bT(h, bU) | |
857 | + | let da = { | |
858 | + | let db = (cU - cT) | |
859 | + | let dc = (db / f) | |
860 | + | if ((dc == 0)) | |
862 | 861 | then throw("less than 24hrs before first claim") | |
863 | - | else if (( | |
862 | + | else if ((cW >= dc)) | |
864 | 863 | then throw("24hrs or less before next claim") | |
865 | 864 | else { | |
866 | - | let | |
867 | - | let | |
868 | - | if (( | |
865 | + | let dd = (cW * cZ) | |
866 | + | let de = ae((dd == cS), "can only claim once in 24hrs") | |
867 | + | if ((de == de)) | |
869 | 868 | then { | |
870 | - | let | |
871 | - | if (( | |
869 | + | let df = ae(((dd + cS) > aV), "all claims exhausted") | |
870 | + | if ((df == df)) | |
872 | 871 | then { | |
873 | - | let dh = if ((cX == 1)) | |
874 | - | then de | |
875 | - | else (de - cT) | |
876 | - | let di = de | |
877 | - | let dj = if ((cX == 1)) | |
878 | - | then (aV - de) | |
879 | - | else (aV - (de - cT)) | |
880 | - | let dk = if ((cX == 1)) | |
881 | - | then (bj - de) | |
882 | - | else (bj - (de - cT)) | |
872 | + | let dg = if ((cW == 1)) | |
873 | + | then dd | |
874 | + | else (dd - cS) | |
875 | + | let dh = dd | |
876 | + | let di = if ((cW == 1)) | |
877 | + | then (aV - dd) | |
878 | + | else (aV - (dd - cS)) | |
879 | + | let dj = if ((cW == 1)) | |
880 | + | then (bj - dd) | |
881 | + | else (bj - (dd - cS)) | |
882 | + | let dk = (cP - di) | |
883 | 883 | let dl = (cQ - dj) | |
884 | - | let dm = (cR - dk) | |
885 | - | let dn = (cS - dh) | |
886 | - | let bF = makeString(["%d", toString(dj)], a) | |
887 | - | let bH = makeString(["%d", toString(dk)], a) | |
888 | - | let bN = makeString(["%d", toString(di)], a) | |
889 | - | let do = makeString(["%d", toString(dn)], a) | |
890 | - | let dp = makeString(["%d", toString(dd)], a) | |
891 | - | [cZ._1, cZ._2, ad(cL, bF), ad(cK, bH), ad(cJ, bN), ad(cM, do), ad(cP, dp), ag(I, dl), ag(J, dm), ScriptTransfer(Address(au.caller.bytes), dh, unit)] | |
884 | + | let dm = (cR - dg) | |
885 | + | let bF = makeString(["%d", toString(di)], a) | |
886 | + | let bH = makeString(["%d", toString(dj)], a) | |
887 | + | let bN = makeString(["%d", toString(dh)], a) | |
888 | + | let dn = makeString(["%d", toString(dm)], a) | |
889 | + | let do = makeString(["%d", toString(dc)], a) | |
890 | + | [cY._1, cY._2, ad(cK, bF), ad(cJ, bH), ad(cI, bN), ad(cL, dn), ad(cO, do), ag(I, dk), ag(J, dl), ScriptTransfer(Address(au.caller.bytes), dg, unit)] | |
892 | 891 | } | |
893 | 892 | else throw("Strict value is not equal to itself.") | |
894 | 893 | } | |
895 | 894 | else throw("Strict value is not equal to itself.") | |
896 | 895 | } | |
897 | 896 | } | |
898 | - | if (( | |
899 | - | then | |
897 | + | if ((da == da)) | |
898 | + | then da | |
900 | 899 | else throw("Strict value is not equal to itself.") | |
901 | 900 | } | |
902 | 901 | else throw("Strict value is not equal to itself.") | |
936 | 935 | ||
937 | 936 | @Callable(au) | |
938 | 937 | func mintStaw (h) = { | |
939 | - | let | |
940 | - | let | |
941 | - | let | |
942 | - | if (( | |
938 | + | let cD = toBase58String(au.caller.bytes) | |
939 | + | let dp = toBase58String(au.transactionId) | |
940 | + | let cj = ae((1 != size(au.payments)), "no payments attached") | |
941 | + | if ((cj == cj)) | |
943 | 942 | then { | |
944 | - | let | |
943 | + | let cn = if (isDefined(au.payments[0].assetId)) | |
945 | 944 | then throw("only waves supported") | |
946 | 945 | else true | |
947 | - | if (( | |
946 | + | if ((cn == cn)) | |
948 | 947 | then { | |
949 | - | let | |
950 | - | let | |
948 | + | let dq = au.payments[0].amount | |
949 | + | let co = if (if ((d > dq)) | |
951 | 950 | then true | |
952 | - | else ( | |
951 | + | else (dq > e)) | |
953 | 952 | then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves") | |
954 | 953 | else true | |
955 | - | if (( | |
954 | + | if ((co == co)) | |
956 | 955 | then { | |
957 | - | let | |
956 | + | let cp = if ((b > h)) | |
958 | 957 | then throw("minimum of 14 days lock period") | |
959 | 958 | else true | |
960 | - | if (( | |
959 | + | if ((cp == cp)) | |
961 | 960 | then { | |
962 | - | let | |
963 | - | let aX = | |
964 | - | let | |
965 | - | let | |
966 | - | let | |
967 | - | if (( | |
961 | + | let dr = bP(h, dq) | |
962 | + | let aX = dq | |
963 | + | let ds = fraction(dr._1, 10, 100) | |
964 | + | let dt = (dr._1 - ds) | |
965 | + | let du = (ce(height) + ao(h)) | |
966 | + | if ((du == du)) | |
968 | 967 | then { | |
969 | - | let | |
968 | + | let dv = { | |
970 | 969 | let V = aj(K) | |
971 | 970 | if ($isInstanceOf(V, "Int")) | |
972 | 971 | then { | |
975 | 974 | } | |
976 | 975 | else throw("failed to get current global index count") | |
977 | 976 | } | |
978 | - | if (( | |
977 | + | if ((dv == dv)) | |
979 | 978 | then { | |
980 | - | let | |
979 | + | let dw = { | |
981 | 980 | let V = aj(o) | |
982 | 981 | if ($isInstanceOf(V, "String")) | |
983 | 982 | then { | |
986 | 985 | } | |
987 | 986 | else throw("failed to get dfx address") | |
988 | 987 | } | |
989 | - | if (( | |
988 | + | if ((dw == dw)) | |
990 | 989 | then { | |
991 | 990 | let aK = { | |
992 | 991 | let V = aj(m) | |
999 | 998 | } | |
1000 | 999 | if ((aK == aK)) | |
1001 | 1000 | then { | |
1002 | - | let | |
1001 | + | let dx = { | |
1003 | 1002 | let V = aj(q) | |
1004 | 1003 | if ($isInstanceOf(V, "String")) | |
1005 | 1004 | then { | |
1008 | 1007 | } | |
1009 | 1008 | else throw("failed to get lease node address") | |
1010 | 1009 | } | |
1011 | - | if (( | |
1010 | + | if ((dx == dx)) | |
1012 | 1011 | then { | |
1013 | - | let | |
1014 | - | let | |
1015 | - | let | |
1016 | - | let V = O( | |
1012 | + | let dy = makeString([cD, u], a) | |
1013 | + | let dz = makeString([cD, v], a) | |
1014 | + | let dA = { | |
1015 | + | let V = O(dy) | |
1017 | 1016 | if ($isInstanceOf(V, "String")) | |
1018 | 1017 | then { | |
1019 | 1018 | let al = V | |
1020 | - | let aB = aj( | |
1019 | + | let aB = aj(dy) | |
1021 | 1020 | if ($isInstanceOf(aB, "Int")) | |
1022 | 1021 | then { | |
1023 | 1022 | let aJ = aB | |
1027 | 1026 | } | |
1028 | 1027 | else 1 | |
1029 | 1028 | } | |
1030 | - | if (( | |
1029 | + | if ((dA == dA)) | |
1031 | 1030 | then { | |
1032 | - | let | |
1033 | - | let V = O( | |
1031 | + | let dB = { | |
1032 | + | let V = O(dz) | |
1034 | 1033 | if ($isInstanceOf(V, "String")) | |
1035 | 1034 | then { | |
1036 | 1035 | let al = V | |
1037 | - | let aB = aj( | |
1036 | + | let aB = aj(dz) | |
1038 | 1037 | if ($isInstanceOf(aB, "Int")) | |
1039 | 1038 | then { | |
1040 | 1039 | let aJ = aB | |
1041 | - | (aJ + | |
1040 | + | (aJ + dq) | |
1042 | 1041 | } | |
1043 | - | else | |
1042 | + | else dq | |
1044 | 1043 | } | |
1045 | - | else | |
1044 | + | else dq | |
1046 | 1045 | } | |
1047 | - | if (( | |
1046 | + | if ((dB == dB)) | |
1048 | 1047 | then { | |
1049 | - | let | |
1050 | - | let | |
1051 | - | ((([ | |
1048 | + | let dC = Lease(dx, dq) | |
1049 | + | let dD = toBase58String(calculateLeaseId(dC)) | |
1050 | + | ((([dC, ScriptTransfer(dw, ds, aK), ScriptTransfer(Address(au.caller.bytes), dt, aK)] ++ bd(dp, cD, h, du, dv, dq, dt, aX, height, dD, dB, dA, "leased")) ++ aU(dq, dr._1, aX, dv)) ++ dr._2) | |
1052 | 1051 | } | |
1053 | 1052 | else throw("Strict value is not equal to itself.") | |
1054 | 1053 | } |
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 | |
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 / c) | |
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 + 10) | |
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)) / c) | |
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 | - | let bW = (fraction(fraction(1, 1, f), bU, (bV - h)) / 2) | |
488 | - | let bX = bW | |
489 | - | bX | |
487 | + | let bW = fraction(c, ((bU / ((bV - h) * f)) / 2), 1) | |
488 | + | bW | |
490 | 489 | } | |
491 | 490 | ||
492 | 491 | ||
493 | - | func | |
494 | - | let | |
495 | - | [ab(J, ( | |
492 | + | func bX (bY) = { | |
493 | + | let bZ = Z(M(J), "could not get the running StawLP") | |
494 | + | [ab(J, (bZ + bY))] | |
496 | 495 | } | |
497 | 496 | ||
498 | 497 | ||
499 | - | func | |
500 | - | let | |
501 | - | [ab(J, ( | |
498 | + | func ca (bY) = { | |
499 | + | let bZ = Z(M(J), "could not get the running StawLP") | |
500 | + | [ab(J, (bZ - bY))] | |
502 | 501 | } | |
503 | 502 | ||
504 | 503 | ||
505 | - | func | |
506 | - | let | |
507 | - | [ab(I, ( | |
504 | + | func cb (bY) = { | |
505 | + | let cc = Z(M(I), "could not get total locked waves") | |
506 | + | [ab(I, (cc + bY))] | |
508 | 507 | } | |
509 | 508 | ||
510 | 509 | ||
511 | - | func | |
512 | - | let | |
513 | - | [ab(I, ( | |
510 | + | func cd (bY) = { | |
511 | + | let cc = Z(M(I), "could not get total locked waves") | |
512 | + | [ab(I, (cc - bY))] | |
514 | 513 | } | |
515 | 514 | ||
516 | 515 | ||
517 | - | func | |
518 | - | let | |
519 | - | let V = blockInfoByHeight( | |
516 | + | func ce (cf) = { | |
517 | + | let cg = { | |
518 | + | let V = blockInfoByHeight(cf) | |
520 | 519 | if ($isInstanceOf(V, "BlockInfo")) | |
521 | 520 | then { | |
522 | - | let | |
523 | - | | |
521 | + | let ch = V | |
522 | + | ch.timestamp | |
524 | 523 | } | |
525 | 524 | else throw("counld get timestamp") | |
526 | 525 | } | |
527 | - | | |
526 | + | cg | |
528 | 527 | } | |
529 | 528 | ||
530 | 529 | ||
531 | - | func | |
530 | + | func ci (aF) = { | |
532 | 531 | let V = assetInfo(fromBase58String(aF)) | |
533 | 532 | if ($isInstanceOf(V, "Asset")) | |
534 | 533 | then { | |
535 | 534 | let aJ = V | |
536 | 535 | aJ.quantity | |
537 | 536 | } | |
538 | 537 | else throw("asset not found") | |
539 | 538 | } | |
540 | 539 | ||
541 | 540 | ||
542 | 541 | @Callable(au) | |
543 | 542 | func getEmission (h,bU) = { | |
544 | - | let | |
545 | - | if (( | |
543 | + | let cj = at(au) | |
544 | + | if ((cj == cj)) | |
546 | 545 | then $Tuple2(nil, bT(h, bU)) | |
547 | 546 | else throw("Strict value is not equal to itself.") | |
548 | 547 | } | |
549 | 548 | ||
550 | 549 | ||
551 | 550 | ||
552 | 551 | @Callable(au) | |
553 | - | func init (av, | |
554 | - | let | |
552 | + | func init (av,ck,aF,cl) = { | |
553 | + | let cm = if (isDefined(O(n))) | |
555 | 554 | then at(au) | |
556 | 555 | else true | |
557 | - | if (( | |
556 | + | if ((cm == cm)) | |
558 | 557 | then { | |
559 | - | let | |
560 | - | if (( | |
558 | + | let cj = ax(av, "invalid address") | |
559 | + | if ((cj == cj)) | |
561 | 560 | then { | |
562 | - | let | |
563 | - | if (( | |
561 | + | let cn = ax(ck, "invalid address") | |
562 | + | if ((cn == cn)) | |
564 | 563 | then { | |
565 | - | let | |
566 | - | if (( | |
564 | + | let co = ax(cl, "invalid address") | |
565 | + | if ((co == co)) | |
567 | 566 | then { | |
568 | - | let | |
567 | + | let cp = if (aE(aF, "invalid asset")) | |
569 | 568 | then true | |
570 | 569 | else throw("invalid asset Id") | |
571 | - | if (( | |
570 | + | if ((cp == cp)) | |
572 | 571 | then { | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | [ag(n, av), ag(o, | |
572 | + | let cq = T(p, 0) | |
573 | + | let cr = T(k, 0) | |
574 | + | let cs = T(l, c) | |
575 | + | let ct = T(H, 0) | |
576 | + | let cu = T(J, 0) | |
577 | + | let cv = T(K, 0) | |
578 | + | let cw = T(I, 0) | |
579 | + | [ag(n, av), ag(o, ck), ag(m, aF), ag(q, cl), ag(p, cq), ag(l, cs), ag(k, cr), ag(I, cw), ag(J, cu), ag(H, ct), ag(K, cv)] | |
581 | 580 | } | |
582 | 581 | else throw("Strict value is not equal to itself.") | |
583 | 582 | } | |
584 | 583 | else throw("Strict value is not equal to itself.") | |
585 | 584 | } | |
586 | 585 | else throw("Strict value is not equal to itself.") | |
587 | 586 | } | |
588 | 587 | else throw("Strict value is not equal to itself.") | |
589 | 588 | } | |
590 | 589 | else throw("Strict value is not equal to itself.") | |
591 | 590 | } | |
592 | 591 | ||
593 | 592 | ||
594 | 593 | ||
595 | 594 | @Callable(au) | |
596 | 595 | func modifyGlobalParams (X) = { | |
597 | - | let | |
598 | - | if (( | |
596 | + | let cj = at(au) | |
597 | + | if ((cj == cj)) | |
599 | 598 | then { | |
600 | 599 | let az = makeString(["got", "list size of", toString(size(X)), "but expected [global_key, value] pair"], " ") | |
601 | - | let | |
602 | - | if (( | |
600 | + | let cn = ae((size(X) != 2), az) | |
601 | + | if ((cn == cn)) | |
603 | 602 | then { | |
604 | 603 | let N = X[0] | |
605 | - | let | |
606 | - | let V = | |
604 | + | let cx = parseInt(X[1]) | |
605 | + | let V = cx | |
607 | 606 | if ($isInstanceOf(V, "Int")) | |
608 | 607 | then { | |
609 | 608 | let al = V | |
610 | - | let | |
611 | - | if (( | |
609 | + | let cy = ae((O(N) == unit), (("key " + N) + " not recognized")) | |
610 | + | if ((cy == cy)) | |
612 | 611 | then { | |
613 | - | let | |
612 | + | let cz = { | |
614 | 613 | let aB = aj(N) | |
615 | 614 | if ($isInstanceOf(aB, "Int")) | |
616 | 615 | then { | |
617 | 616 | let aJ = aB | |
618 | 617 | true | |
619 | 618 | } | |
620 | 619 | else throw("invalid key-value pair") | |
621 | 620 | } | |
622 | - | if (( | |
621 | + | if ((cz == cz)) | |
623 | 622 | then [ag(N, al)] | |
624 | 623 | else throw("Strict value is not equal to itself.") | |
625 | 624 | } | |
626 | 625 | else throw("Strict value is not equal to itself.") | |
627 | 626 | } | |
628 | 627 | else if ($isInstanceOf(V, "Unit")) | |
629 | 628 | then { | |
630 | 629 | let al = V | |
631 | - | let | |
632 | - | if (( | |
630 | + | let cy = ae((O(N) == unit), (("key " + N) + " not recognized")) | |
631 | + | if ((cy == cy)) | |
633 | 632 | then { | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | let aB = | |
633 | + | let cA = X[1] | |
634 | + | let cB = aj(n) | |
635 | + | let cp = { | |
636 | + | let aB = cB | |
638 | 637 | if ($isInstanceOf(aB, "String")) | |
639 | 638 | then { | |
640 | - | let | |
641 | - | if ((size( | |
642 | - | then ax( | |
643 | - | else aE( | |
639 | + | let cC = aB | |
640 | + | if ((size(cC) == size(cA))) | |
641 | + | then ax(cA, "string type for value not supported") | |
642 | + | else aE(cA, "string type for value not supported") | |
644 | 643 | } | |
645 | 644 | else false | |
646 | 645 | } | |
647 | - | if (( | |
648 | - | then [ag(N, | |
646 | + | if ((cp == cp)) | |
647 | + | then [ag(N, cA)] | |
649 | 648 | else throw("Strict value is not equal to itself.") | |
650 | 649 | } | |
651 | 650 | else throw("Strict value is not equal to itself.") | |
652 | 651 | } | |
653 | 652 | else throw(("failed to modify " + X[0])) | |
654 | 653 | } | |
655 | 654 | else throw("Strict value is not equal to itself.") | |
656 | 655 | } | |
657 | 656 | else throw("Strict value is not equal to itself.") | |
658 | 657 | } | |
659 | 658 | ||
660 | 659 | ||
661 | 660 | ||
662 | 661 | @Callable(au) | |
663 | 662 | func revokeLock () = { | |
664 | - | let | |
665 | - | if (( | |
663 | + | let cj = at(au) | |
664 | + | if ((cj == cj)) | |
666 | 665 | then nil | |
667 | 666 | else throw("Strict value is not equal to itself.") | |
668 | 667 | } | |
669 | 668 | ||
670 | 669 | ||
671 | 670 | ||
672 | 671 | @Callable(au) | |
673 | 672 | func claim (be) = { | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | let | |
684 | - | let | |
685 | - | let | |
686 | - | let | |
673 | + | let cD = toBase58String(au.caller.bytes) | |
674 | + | let cE = makeString([cD, be, z], a) | |
675 | + | let cF = makeString([cD, be, w], a) | |
676 | + | let cG = makeString([cD, be, y], a) | |
677 | + | let cH = makeString([cD, be, E], a) | |
678 | + | let cI = makeString([cD, be, F], a) | |
679 | + | let cJ = makeString([cD, be, B], a) | |
680 | + | let cK = makeString([cD, be, z], a) | |
681 | + | let cL = makeString([cD, v], a) | |
682 | + | let cM = makeString([cD, be, G], a) | |
683 | + | let cN = makeString([cD, be, G], a) | |
684 | + | let cO = makeString([cD, be, L], a) | |
685 | + | let cP = { | |
687 | 686 | let V = aj(I) | |
688 | 687 | if ($isInstanceOf(V, "Int")) | |
689 | 688 | then { | |
690 | 689 | let aJ = V | |
691 | 690 | aJ | |
692 | 691 | } | |
693 | 692 | else throw("failed to get global total waves") | |
694 | 693 | } | |
695 | - | if (( | |
694 | + | if ((cP == cP)) | |
696 | 695 | then { | |
697 | - | let | |
696 | + | let cQ = { | |
698 | 697 | let V = aj(J) | |
699 | 698 | if ($isInstanceOf(V, "Int")) | |
700 | 699 | then { | |
701 | 700 | let aJ = V | |
702 | 701 | aJ | |
703 | 702 | } | |
704 | 703 | else throw("failed to get global total waves") | |
705 | 704 | } | |
706 | - | if (( | |
705 | + | if ((cQ == cQ)) | |
707 | 706 | then { | |
708 | 707 | let bl = { | |
709 | - | let V = aj( | |
708 | + | let V = aj(cG) | |
710 | 709 | if ($isInstanceOf(V, "ByteVector")) | |
711 | 710 | then { | |
712 | 711 | let aJ = V | |
713 | 712 | aJ | |
714 | 713 | } | |
715 | 714 | else throw("failed to get lease id") | |
716 | 715 | } | |
717 | 716 | if ((bl == bl)) | |
718 | 717 | then { | |
719 | - | let | |
720 | - | let V = aj( | |
718 | + | let cR = { | |
719 | + | let V = aj(cL) | |
721 | 720 | if ($isInstanceOf(V, "Int")) | |
722 | 721 | then { | |
723 | 722 | let aJ = V | |
724 | 723 | aJ | |
725 | 724 | } | |
726 | 725 | else throw("failed to get total waves locked by this address") | |
727 | 726 | } | |
728 | - | if (( | |
727 | + | if ((cR == cR)) | |
729 | 728 | then { | |
730 | 729 | let aV = { | |
731 | - | let V = aj( | |
730 | + | let V = aj(cK) | |
732 | 731 | if ($isInstanceOf(V, "Int")) | |
733 | 732 | then { | |
734 | 733 | let aJ = V | |
735 | 734 | aJ | |
736 | 735 | } | |
737 | 736 | else throw("failed to get total waves locked") | |
738 | 737 | } | |
739 | 738 | if ((aV == aV)) | |
740 | 739 | then { | |
741 | - | let | |
742 | - | let V = aj( | |
740 | + | let cS = { | |
741 | + | let V = aj(cI) | |
743 | 742 | if ($isInstanceOf(V, "Int")) | |
744 | 743 | then { | |
745 | 744 | let aJ = V | |
746 | 745 | aJ | |
747 | 746 | } | |
748 | 747 | else throw("failed to get total waves claimed") | |
749 | 748 | } | |
750 | - | if (( | |
749 | + | if ((cS == cS)) | |
751 | 750 | then { | |
752 | 751 | let bj = { | |
753 | - | let V = aj( | |
752 | + | let V = aj(cJ) | |
754 | 753 | if ($isInstanceOf(V, "Int")) | |
755 | 754 | then { | |
756 | 755 | let aJ = V | |
757 | 756 | aJ | |
758 | 757 | } | |
759 | 758 | else throw("failed to get stawPL") | |
760 | 759 | } | |
761 | 760 | if ((bj == bj)) | |
762 | 761 | then { | |
763 | - | let | |
764 | - | let V = aj( | |
762 | + | let cT = { | |
763 | + | let V = aj(cH) | |
765 | 764 | if ($isInstanceOf(V, "Int")) | |
766 | 765 | then { | |
767 | 766 | let aJ = V | |
768 | 767 | aJ | |
769 | 768 | } | |
770 | 769 | else throw("failed to get lock period timespam") | |
771 | 770 | } | |
772 | - | if (( | |
771 | + | if ((cT == cT)) | |
773 | 772 | then { | |
774 | - | let | |
775 | - | let V = | |
773 | + | let cU = { | |
774 | + | let V = ce(height) | |
776 | 775 | if ($isInstanceOf(V, "Int")) | |
777 | 776 | then { | |
778 | 777 | let aJ = V | |
779 | 778 | aJ | |
780 | 779 | } | |
781 | 780 | else throw("failed to get current timestamp") | |
782 | 781 | } | |
783 | - | if (( | |
782 | + | if ((cU == cU)) | |
784 | 783 | then { | |
785 | 784 | let bU = { | |
786 | - | let V = aj( | |
785 | + | let V = aj(cE) | |
787 | 786 | if ($isInstanceOf(V, "Int")) | |
788 | 787 | then { | |
789 | 788 | let aJ = V | |
790 | 789 | aJ | |
791 | 790 | } | |
792 | 791 | else throw("failed to get collateral") | |
793 | 792 | } | |
794 | 793 | if ((bU == bU)) | |
795 | 794 | then { | |
796 | 795 | let h = { | |
797 | - | let V = aj( | |
796 | + | let V = aj(cF) | |
798 | 797 | if ($isInstanceOf(V, "Int")) | |
799 | 798 | then { | |
800 | 799 | let aJ = V | |
801 | 800 | aJ | |
802 | 801 | } | |
803 | 802 | else throw("failed to get lockPeriod") | |
804 | 803 | } | |
805 | 804 | if ((h == h)) | |
806 | 805 | then { | |
807 | - | let | |
808 | - | let V = aj( | |
806 | + | let cV = { | |
807 | + | let V = aj(cM) | |
809 | 808 | if ($isInstanceOf(V, "String")) | |
810 | 809 | then { | |
811 | 810 | let aJ = V | |
812 | 811 | aJ | |
813 | 812 | } | |
814 | 813 | else throw("failed to get lease state") | |
815 | 814 | } | |
816 | - | if (( | |
815 | + | if ((cV == cV)) | |
817 | 816 | then { | |
818 | 817 | let bo = { | |
819 | - | let V = aj( | |
818 | + | let V = aj(cN) | |
820 | 819 | if ($isInstanceOf(V, "String")) | |
821 | 820 | then { | |
822 | 821 | let aJ = V | |
823 | 822 | aJ | |
824 | 823 | } | |
825 | 824 | else throw("failed to get lease state for user") | |
826 | 825 | } | |
827 | 826 | if ((bo == bo)) | |
828 | 827 | then { | |
829 | - | let | |
830 | - | let V = O( | |
828 | + | let cW = { | |
829 | + | let V = O(cO) | |
831 | 830 | if ($isInstanceOf(V, "String")) | |
832 | 831 | then { | |
833 | 832 | let aJ = V | |
834 | - | let aB = aj( | |
833 | + | let aB = aj(cO) | |
835 | 834 | if ($isInstanceOf(aB, "Int")) | |
836 | 835 | then { | |
837 | - | let | |
838 | - | | |
836 | + | let cX = aB | |
837 | + | cX | |
839 | 838 | } | |
840 | 839 | else 0 | |
841 | 840 | } | |
842 | 841 | else 0 | |
843 | 842 | } | |
844 | - | if (( | |
843 | + | if ((cW == cW)) | |
845 | 844 | then { | |
846 | - | let | |
847 | - | if (( | |
845 | + | let cj = ae((cT > cU), "lock period for this entry has not elapsed") | |
846 | + | if ((cj == cj)) | |
848 | 847 | then { | |
849 | - | let | |
850 | - | then $Tuple2(LeaseCancel(bl), ad( | |
851 | - | else $Tuple2(ad( | |
852 | - | let | |
848 | + | let cY = if ((cV == "leased")) | |
849 | + | then $Tuple2(LeaseCancel(bl), ad(cM, "cancelled")) | |
850 | + | else $Tuple2(ad(cM, "cancelled"), ad(cM, "cancelled")) | |
851 | + | let cn = ae(if ((0 == aV)) | |
853 | 852 | then true | |
854 | 853 | else (0 == bj), "all claims exhausted for this trx") | |
855 | - | if (( | |
854 | + | if ((cn == cn)) | |
856 | 855 | then { | |
857 | - | let | |
858 | - | let | |
859 | - | let | |
860 | - | let | |
861 | - | if (( | |
856 | + | let cZ = bT(h, bU) | |
857 | + | let da = { | |
858 | + | let db = (cU - cT) | |
859 | + | let dc = (db / f) | |
860 | + | if ((dc == 0)) | |
862 | 861 | then throw("less than 24hrs before first claim") | |
863 | - | else if (( | |
862 | + | else if ((cW >= dc)) | |
864 | 863 | then throw("24hrs or less before next claim") | |
865 | 864 | else { | |
866 | - | let | |
867 | - | let | |
868 | - | if (( | |
865 | + | let dd = (cW * cZ) | |
866 | + | let de = ae((dd == cS), "can only claim once in 24hrs") | |
867 | + | if ((de == de)) | |
869 | 868 | then { | |
870 | - | let | |
871 | - | if (( | |
869 | + | let df = ae(((dd + cS) > aV), "all claims exhausted") | |
870 | + | if ((df == df)) | |
872 | 871 | then { | |
873 | - | let dh = if ((cX == 1)) | |
874 | - | then de | |
875 | - | else (de - cT) | |
876 | - | let di = de | |
877 | - | let dj = if ((cX == 1)) | |
878 | - | then (aV - de) | |
879 | - | else (aV - (de - cT)) | |
880 | - | let dk = if ((cX == 1)) | |
881 | - | then (bj - de) | |
882 | - | else (bj - (de - cT)) | |
872 | + | let dg = if ((cW == 1)) | |
873 | + | then dd | |
874 | + | else (dd - cS) | |
875 | + | let dh = dd | |
876 | + | let di = if ((cW == 1)) | |
877 | + | then (aV - dd) | |
878 | + | else (aV - (dd - cS)) | |
879 | + | let dj = if ((cW == 1)) | |
880 | + | then (bj - dd) | |
881 | + | else (bj - (dd - cS)) | |
882 | + | let dk = (cP - di) | |
883 | 883 | let dl = (cQ - dj) | |
884 | - | let dm = (cR - dk) | |
885 | - | let dn = (cS - dh) | |
886 | - | let bF = makeString(["%d", toString(dj)], a) | |
887 | - | let bH = makeString(["%d", toString(dk)], a) | |
888 | - | let bN = makeString(["%d", toString(di)], a) | |
889 | - | let do = makeString(["%d", toString(dn)], a) | |
890 | - | let dp = makeString(["%d", toString(dd)], a) | |
891 | - | [cZ._1, cZ._2, ad(cL, bF), ad(cK, bH), ad(cJ, bN), ad(cM, do), ad(cP, dp), ag(I, dl), ag(J, dm), ScriptTransfer(Address(au.caller.bytes), dh, unit)] | |
884 | + | let dm = (cR - dg) | |
885 | + | let bF = makeString(["%d", toString(di)], a) | |
886 | + | let bH = makeString(["%d", toString(dj)], a) | |
887 | + | let bN = makeString(["%d", toString(dh)], a) | |
888 | + | let dn = makeString(["%d", toString(dm)], a) | |
889 | + | let do = makeString(["%d", toString(dc)], a) | |
890 | + | [cY._1, cY._2, ad(cK, bF), ad(cJ, bH), ad(cI, bN), ad(cL, dn), ad(cO, do), ag(I, dk), ag(J, dl), ScriptTransfer(Address(au.caller.bytes), dg, unit)] | |
892 | 891 | } | |
893 | 892 | else throw("Strict value is not equal to itself.") | |
894 | 893 | } | |
895 | 894 | else throw("Strict value is not equal to itself.") | |
896 | 895 | } | |
897 | 896 | } | |
898 | - | if (( | |
899 | - | then | |
897 | + | if ((da == da)) | |
898 | + | then da | |
900 | 899 | else throw("Strict value is not equal to itself.") | |
901 | 900 | } | |
902 | 901 | else throw("Strict value is not equal to itself.") | |
903 | 902 | } | |
904 | 903 | else throw("Strict value is not equal to itself.") | |
905 | 904 | } | |
906 | 905 | else throw("Strict value is not equal to itself.") | |
907 | 906 | } | |
908 | 907 | else throw("Strict value is not equal to itself.") | |
909 | 908 | } | |
910 | 909 | else throw("Strict value is not equal to itself.") | |
911 | 910 | } | |
912 | 911 | else throw("Strict value is not equal to itself.") | |
913 | 912 | } | |
914 | 913 | else throw("Strict value is not equal to itself.") | |
915 | 914 | } | |
916 | 915 | else throw("Strict value is not equal to itself.") | |
917 | 916 | } | |
918 | 917 | else throw("Strict value is not equal to itself.") | |
919 | 918 | } | |
920 | 919 | else throw("Strict value is not equal to itself.") | |
921 | 920 | } | |
922 | 921 | else throw("Strict value is not equal to itself.") | |
923 | 922 | } | |
924 | 923 | else throw("Strict value is not equal to itself.") | |
925 | 924 | } | |
926 | 925 | else throw("Strict value is not equal to itself.") | |
927 | 926 | } | |
928 | 927 | else throw("Strict value is not equal to itself.") | |
929 | 928 | } | |
930 | 929 | else throw("Strict value is not equal to itself.") | |
931 | 930 | } | |
932 | 931 | else throw("Strict value is not equal to itself.") | |
933 | 932 | } | |
934 | 933 | ||
935 | 934 | ||
936 | 935 | ||
937 | 936 | @Callable(au) | |
938 | 937 | func mintStaw (h) = { | |
939 | - | let | |
940 | - | let | |
941 | - | let | |
942 | - | if (( | |
938 | + | let cD = toBase58String(au.caller.bytes) | |
939 | + | let dp = toBase58String(au.transactionId) | |
940 | + | let cj = ae((1 != size(au.payments)), "no payments attached") | |
941 | + | if ((cj == cj)) | |
943 | 942 | then { | |
944 | - | let | |
943 | + | let cn = if (isDefined(au.payments[0].assetId)) | |
945 | 944 | then throw("only waves supported") | |
946 | 945 | else true | |
947 | - | if (( | |
946 | + | if ((cn == cn)) | |
948 | 947 | then { | |
949 | - | let | |
950 | - | let | |
948 | + | let dq = au.payments[0].amount | |
949 | + | let co = if (if ((d > dq)) | |
951 | 950 | then true | |
952 | - | else ( | |
951 | + | else (dq > e)) | |
953 | 952 | then throw("lock amount out of range, minimum: 1 waves, maximum: 1000 waves") | |
954 | 953 | else true | |
955 | - | if (( | |
954 | + | if ((co == co)) | |
956 | 955 | then { | |
957 | - | let | |
956 | + | let cp = if ((b > h)) | |
958 | 957 | then throw("minimum of 14 days lock period") | |
959 | 958 | else true | |
960 | - | if (( | |
959 | + | if ((cp == cp)) | |
961 | 960 | then { | |
962 | - | let | |
963 | - | let aX = | |
964 | - | let | |
965 | - | let | |
966 | - | let | |
967 | - | if (( | |
961 | + | let dr = bP(h, dq) | |
962 | + | let aX = dq | |
963 | + | let ds = fraction(dr._1, 10, 100) | |
964 | + | let dt = (dr._1 - ds) | |
965 | + | let du = (ce(height) + ao(h)) | |
966 | + | if ((du == du)) | |
968 | 967 | then { | |
969 | - | let | |
968 | + | let dv = { | |
970 | 969 | let V = aj(K) | |
971 | 970 | if ($isInstanceOf(V, "Int")) | |
972 | 971 | then { | |
973 | 972 | let aJ = V | |
974 | 973 | (aJ + 1) | |
975 | 974 | } | |
976 | 975 | else throw("failed to get current global index count") | |
977 | 976 | } | |
978 | - | if (( | |
977 | + | if ((dv == dv)) | |
979 | 978 | then { | |
980 | - | let | |
979 | + | let dw = { | |
981 | 980 | let V = aj(o) | |
982 | 981 | if ($isInstanceOf(V, "String")) | |
983 | 982 | then { | |
984 | 983 | let aJ = V | |
985 | 984 | Address(fromBase58String(aJ)) | |
986 | 985 | } | |
987 | 986 | else throw("failed to get dfx address") | |
988 | 987 | } | |
989 | - | if (( | |
988 | + | if ((dw == dw)) | |
990 | 989 | then { | |
991 | 990 | let aK = { | |
992 | 991 | let V = aj(m) | |
993 | 992 | if ($isInstanceOf(V, "String")) | |
994 | 993 | then { | |
995 | 994 | let aJ = V | |
996 | 995 | fromBase58String(aJ) | |
997 | 996 | } | |
998 | 997 | else throw("failed to get asset id") | |
999 | 998 | } | |
1000 | 999 | if ((aK == aK)) | |
1001 | 1000 | then { | |
1002 | - | let | |
1001 | + | let dx = { | |
1003 | 1002 | let V = aj(q) | |
1004 | 1003 | if ($isInstanceOf(V, "String")) | |
1005 | 1004 | then { | |
1006 | 1005 | let aJ = V | |
1007 | 1006 | Address(fromBase58String(aJ)) | |
1008 | 1007 | } | |
1009 | 1008 | else throw("failed to get lease node address") | |
1010 | 1009 | } | |
1011 | - | if (( | |
1010 | + | if ((dx == dx)) | |
1012 | 1011 | then { | |
1013 | - | let | |
1014 | - | let | |
1015 | - | let | |
1016 | - | let V = O( | |
1012 | + | let dy = makeString([cD, u], a) | |
1013 | + | let dz = makeString([cD, v], a) | |
1014 | + | let dA = { | |
1015 | + | let V = O(dy) | |
1017 | 1016 | if ($isInstanceOf(V, "String")) | |
1018 | 1017 | then { | |
1019 | 1018 | let al = V | |
1020 | - | let aB = aj( | |
1019 | + | let aB = aj(dy) | |
1021 | 1020 | if ($isInstanceOf(aB, "Int")) | |
1022 | 1021 | then { | |
1023 | 1022 | let aJ = aB | |
1024 | 1023 | (aJ + 1) | |
1025 | 1024 | } | |
1026 | 1025 | else 1 | |
1027 | 1026 | } | |
1028 | 1027 | else 1 | |
1029 | 1028 | } | |
1030 | - | if (( | |
1029 | + | if ((dA == dA)) | |
1031 | 1030 | then { | |
1032 | - | let | |
1033 | - | let V = O( | |
1031 | + | let dB = { | |
1032 | + | let V = O(dz) | |
1034 | 1033 | if ($isInstanceOf(V, "String")) | |
1035 | 1034 | then { | |
1036 | 1035 | let al = V | |
1037 | - | let aB = aj( | |
1036 | + | let aB = aj(dz) | |
1038 | 1037 | if ($isInstanceOf(aB, "Int")) | |
1039 | 1038 | then { | |
1040 | 1039 | let aJ = aB | |
1041 | - | (aJ + | |
1040 | + | (aJ + dq) | |
1042 | 1041 | } | |
1043 | - | else | |
1042 | + | else dq | |
1044 | 1043 | } | |
1045 | - | else | |
1044 | + | else dq | |
1046 | 1045 | } | |
1047 | - | if (( | |
1046 | + | if ((dB == dB)) | |
1048 | 1047 | then { | |
1049 | - | let | |
1050 | - | let | |
1051 | - | ((([ | |
1048 | + | let dC = Lease(dx, dq) | |
1049 | + | let dD = toBase58String(calculateLeaseId(dC)) | |
1050 | + | ((([dC, ScriptTransfer(dw, ds, aK), ScriptTransfer(Address(au.caller.bytes), dt, aK)] ++ bd(dp, cD, h, du, dv, dq, dt, aX, height, dD, dB, dA, "leased")) ++ aU(dq, dr._1, aX, dv)) ++ dr._2) | |
1052 | 1051 | } | |
1053 | 1052 | else throw("Strict value is not equal to itself.") | |
1054 | 1053 | } | |
1055 | 1054 | else throw("Strict value is not equal to itself.") | |
1056 | 1055 | } | |
1057 | 1056 | else throw("Strict value is not equal to itself.") | |
1058 | 1057 | } | |
1059 | 1058 | else throw("Strict value is not equal to itself.") | |
1060 | 1059 | } | |
1061 | 1060 | else throw("Strict value is not equal to itself.") | |
1062 | 1061 | } | |
1063 | 1062 | else throw("Strict value is not equal to itself.") | |
1064 | 1063 | } | |
1065 | 1064 | else throw("Strict value is not equal to itself.") | |
1066 | 1065 | } | |
1067 | 1066 | else throw("Strict value is not equal to itself.") | |
1068 | 1067 | } | |
1069 | 1068 | else throw("Strict value is not equal to itself.") | |
1070 | 1069 | } | |
1071 | 1070 | else throw("Strict value is not equal to itself.") | |
1072 | 1071 | } | |
1073 | 1072 | else throw("Strict value is not equal to itself.") | |
1074 | 1073 | } | |
1075 | 1074 | ||
1076 | 1075 |
github/deemru/w8io/169f3d6 325.17 ms ◑