tx · 3BZESR8L4bsus3864gPxf7kzkQbwaPCzmboJonodZup9 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy: -0.04600000 Waves 2024.12.04 13:22 [3399782] smart account 3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy > SELF 0.00000000 Waves
{ "type": 13, "id": "3BZESR8L4bsus3864gPxf7kzkQbwaPCzmboJonodZup9", "fee": 4600000, "feeAssetId": null, "timestamp": 1733307803538, "version": 2, "chainId": 84, "sender": "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy", "senderPublicKey": "C3PaRKeL8AUKbwUqdniMQtThgcTh5DYHV1777Hkxy7rp", "proofs": [ "3ptNwUtrZbTwtDwmiPZUGHgWWuYNq8NwPrKbfruroBNGjSv2dn4jJ45i5afLiMNg43wyscwuJxWHtiqB8N2K9J4t" ], "script": "base64:BgJ0CAISAwoBGBIDCgEIEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBCBIDCgEYEgMKAQgSAwoBGBIDCgEYEgUKAxgBARIDCgEIEgASAwoBCBIDCgEBEgASBAoCAQgSAwoBCBIGCgQYGAEBEgMKAQgSABIAEgMKAQjcAQAWS1NfU0VQQVJBVEVfUFVCTElDX0tFWQcABWNoYWluCQDJAQIJAMoBAggFBHRoaXMFYnl0ZXMAAQABAANwdWIEByRtYXRjaDAFBWNoYWluAwkAAAIBAVcFByRtYXRjaDADBRZLU19TRVBBUkFURV9QVUJMSUNfS0VZASCrF1ePFWfjWVRBsNZy62abxKPTZl7VmYZQ35g3H7IJCAEgT1PiGj9UqNadUk4THUYnVb2zU/Mse8lUVLD/Q8G0FCgDCQAAAgEBVAUHJG1hdGNoMAEgT1PiGj9UqNadUk4THUYnVb2zU/Mse8lUVLD/Q8G0FCgJAAIBAg1Vbmtub3duIGNoYWluAAt1c2R0QXNzZXRJZAQHJG1hdGNoMAUFY2hhaW4DCQAAAgEBVwUHJG1hdGNoMAEghNp6sggDP07Ru8qO7ouTvMmC3Qtd+geWqNQj+agP/7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yTWFwS2V5AgAJAJQKAgUDbmlsAwkAAAIFBnJlc3VsdAIABQNuaWwJAL0JAgUGcmVzdWx0AgFfAWkBGXByb21vMlN0YXRzQnlVc2VyUkVBRE9OTFkBBGFkZHIECWlzQXdhcmRlZAkBC3ZhbHVlT3JFbHNlAgkAmwgCBQ1hY3Jlc0NvbnRyYWN0CQEaa2V5SXNBd2FyZGVkQnlQcm9tb0FuZFVzZXICAAIFBGFkZHIHCQCUCgIFA25pbAkAzAgCCQCsAgIJAKwCAgkArAICAh4lcyVzJWJfX3Byb21vMkFkZHJlc3NBd2FyZGVkX18FBGFkZHICAl9fCQClAwEFCWlzQXdhcmRlZAUDbmlsANcO28E=", "height": 3399782, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HpJGBDQywR4pTCqLUpWyeQyWYZBepuEPv7SzYBj8DGxu Next: 8n5ZuVA2Bz5YjkNSis2c29V5Yr7G1Z2ER7q79m9pu9Sh Diff:
Old | New | Differences | |
---|---|---|---|
610 | 610 | ||
611 | 611 | let dV = 3 | |
612 | 612 | ||
613 | - | func dW (dX,dY,dZ,ea,eb) = { | |
614 | - | let ec = valueOrErrorMessage(getInteger(dY[dJ], dz), "WLGOLD is not issued yet") | |
615 | - | let ed = assetBalance(dY[dI], dZ) | |
616 | - | let ee = assetBalance(dY[dG], dZ) | |
617 | - | let ef = (assetBalance(dY[dJ], dZ) - ea) | |
618 | - | let eg = assetBalance(dY[dK], dZ) | |
619 | - | let eh = dY[dL] | |
620 | - | let ei = (assetBalance(eh, dZ) + valueOrElse(getInteger(eh, dA), 0)) | |
621 | - | let ej = ((ed + ef) + ei) | |
622 | - | let ek = valueOrErrorMessage(getBinary(dY[dJ], "wlg_assetId"), "Not initialized yet") | |
623 | - | let el = lastBlock.timestamp | |
624 | - | let em = valueOrErrorMessage(getInteger(dY[dJ], dy), "Not initialized") | |
625 | - | let en = assetBalance(dY[dH], ek) | |
626 | - | let eo = fraction(dg, dh, de) | |
627 | - | let ep = valueOrElse(getInteger(dY[dJ], dr), eo) | |
628 | - | let eq = valueOrElse(getInteger(dY[dJ], dq), em) | |
629 | - | let er = addressFromStringValue(value(getString(dY[dJ], dp))) | |
630 | - | let es = min([fraction(eo, (el - eq), (3 * dk)), ep]) | |
631 | - | let et = assetBalance(er, ek) | |
632 | - | let eu = fraction(dg, di, de) | |
633 | - | let ev = valueOrElse(getInteger(dY[dJ], dt), eu) | |
634 | - | let ew = valueOrElse(getInteger(dY[dJ], ds), em) | |
635 | - | let ex = min([fraction(eu, (el - ew), (3 * dk)), ev]) | |
636 | - | let ey = assetBalance(dY[dG], ek) | |
637 | - | let ez = valueOrElse(getInteger(dY[dJ], dv(dX)), em) | |
638 | - | let eA = ((ez - em) / dk) | |
639 | - | let eB = min([el, (em + (3 * dk))]) | |
640 | - | let eC = min([((el - em) / dk), 2]) | |
641 | - | let eD = dN(dX, dY[dH], dY[dM]) | |
642 | - | let eE = dw(eC) | |
643 | - | let eF = if ((eA == eC)) | |
613 | + | let dW = 1733335200000 | |
614 | + | ||
615 | + | func dX (dY,dZ,ea,eb,ec) = { | |
616 | + | let ed = valueOrErrorMessage(getInteger(dZ[dJ], dz), "WLGOLD is not issued yet") | |
617 | + | let ee = assetBalance(dZ[dI], ea) | |
618 | + | let ef = assetBalance(dZ[dG], ea) | |
619 | + | let eg = (assetBalance(dZ[dJ], ea) - eb) | |
620 | + | let eh = assetBalance(dZ[dK], ea) | |
621 | + | let ei = dZ[dL] | |
622 | + | let ej = (assetBalance(ei, ea) + valueOrElse(getInteger(ei, dA), 0)) | |
623 | + | let ek = ((ee + eg) + ej) | |
624 | + | let el = valueOrErrorMessage(getBinary(dZ[dJ], "wlg_assetId"), "Not initialized yet") | |
625 | + | let em = lastBlock.timestamp | |
626 | + | let en = valueOrErrorMessage(getInteger(dZ[dJ], dy), "Not initialized") | |
627 | + | let eo = assetBalance(dZ[dH], el) | |
628 | + | let ep = fraction(dg, dh, de) | |
629 | + | let eq = valueOrElse(getInteger(dZ[dJ], dr), ep) | |
630 | + | let er = valueOrElse(getInteger(dZ[dJ], dq), en) | |
631 | + | let es = addressFromStringValue(value(getString(dZ[dJ], dp))) | |
632 | + | let et = min([fraction(ep, (em - er), (3 * dk)), eq]) | |
633 | + | let eu = assetBalance(es, el) | |
634 | + | let ev = fraction(dg, di, de) | |
635 | + | let ew = valueOrElse(getInteger(dZ[dJ], dt), ev) | |
636 | + | let ex = valueOrElse(getInteger(dZ[dJ], ds), en) | |
637 | + | let ey = min([fraction(ev, (em - ex), (3 * dk)), ew]) | |
638 | + | let ez = assetBalance(dZ[dG], el) | |
639 | + | let eA = valueOrElse(getInteger(dZ[dJ], dv(dY)), en) | |
640 | + | let eB = ((eA - en) / dk) | |
641 | + | let eC = min([min([em, (en + (3 * dk))]), dW]) | |
642 | + | let eD = min([((em - en) / dk), 2]) | |
643 | + | let eE = dN(dY, dZ[dH], dZ[dM]) | |
644 | + | let eF = dw(eD) | |
645 | + | let eG = if ((eB == eD)) | |
644 | 646 | then { | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | $Tuple3(eH, | |
647 | + | let eH = fraction(eF, (eC - eA), dk) | |
648 | + | let eI = fraction(eH, ec, de) | |
649 | + | let eJ = (eA + fraction((eC - eA), ec, de)) | |
650 | + | $Tuple3(eI, eH, eJ) | |
649 | 651 | } | |
650 | - | else if (( | |
652 | + | else if ((eB == (eD - 1))) | |
651 | 653 | then { | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | let | |
656 | - | let | |
657 | - | then ( | |
658 | - | else (( | |
659 | - | $Tuple3( | |
654 | + | let eK = fraction(dw((eD - 1)), ((en + (dk * eD)) - eA), dk) | |
655 | + | let eH = fraction(eF, (eC - (en + (dk * eD))), dk) | |
656 | + | let eL = (eK + eH) | |
657 | + | let eI = fraction(eL, ec, de) | |
658 | + | let eJ = if ((eK >= eI)) | |
659 | + | then (eA + fraction(dk, eI, dw((eD - 1)))) | |
660 | + | else ((en + (dk * eD)) + fraction(dk, (eI - eK), eF)) | |
661 | + | $Tuple3(eI, eL, eJ) | |
660 | 662 | } | |
661 | 663 | else { | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | let | |
666 | - | let | |
667 | - | let | |
668 | - | then ( | |
669 | - | else if ((( | |
670 | - | then (( | |
671 | - | else (( | |
672 | - | $Tuple3( | |
664 | + | let eM = fraction(dw((eD - 2)), ((en + (dk * (eD - 1))) - eA), dk) | |
665 | + | let eK = dw((eD - 1)) | |
666 | + | let eH = fraction(eF, (eC - (en + (dk * eD))), dk) | |
667 | + | let eL = ((eM + eK) + eH) | |
668 | + | let eI = fraction(eL, ec, de) | |
669 | + | let eJ = if ((eM >= eI)) | |
670 | + | then (eA + fraction(dk, eI, dw((eD - 2)))) | |
671 | + | else if (((eM + eK) >= eI)) | |
672 | + | then ((en + (dk * (eD - 1))) + fraction(dk, (eI - eM), dw((eD - 1)))) | |
673 | + | else ((en + (dk * eD)) + fraction(dk, ((eI - eM) - eK), eF)) | |
674 | + | $Tuple3(eI, eL, eJ) | |
673 | 675 | } | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | [ | |
676 | + | let eN = eG._1 | |
677 | + | let eO = eG._2 | |
678 | + | let eP = eG._3 | |
679 | + | let eQ = fraction(fraction(eF, dl, dk), 25, eE[dS]) | |
680 | + | let eR = valueOrElse(getInteger(dZ[dJ], du), 0) | |
681 | + | let eS = fraction(eN, ((eE[dT] * df) + eE[dV]), ((eE[dS] * df) + eE[dU])) | |
682 | + | let eT = fraction(eS, dm, de) | |
683 | + | let eU = (eS - eT) | |
684 | + | let eV = fraction(eO, ((eE[dT] * df) + eE[dV]), ((eE[dS] * df) + eE[dU])) | |
685 | + | [ed, fraction((ek - do), df, ed), ek, ee, ef, eg, eh, en, er, ep, eq, et, eu, ev, ew, ey, ez, eD, eR, eF, eA, eU, eQ, ej, eV, eP, eo] | |
684 | 686 | } | |
685 | 687 | ||
686 | 688 | ||
687 | - | let | |
689 | + | let eW = 500000 | |
688 | 690 | ||
689 | - | func | |
690 | - | let d = | |
691 | + | func eX (eY) = { | |
692 | + | let d = eY | |
691 | 693 | if ($isInstanceOf(d, "List[Any]")) | |
692 | 694 | then { | |
693 | - | let | |
694 | - | if ((size( | |
695 | - | then throw(("Array size is " + toString(size( | |
695 | + | let eZ = d | |
696 | + | if ((size(eZ) != bh)) | |
697 | + | then throw(("Array size is " + toString(size(eZ)))) | |
696 | 698 | else { | |
697 | - | func | |
698 | - | let | |
699 | - | if ($isInstanceOf( | |
699 | + | func fa (aU,aV) = { | |
700 | + | let fb = aV | |
701 | + | if ($isInstanceOf(fb, "Int")) | |
700 | 702 | then { | |
701 | - | let | |
702 | - | (aU :+ toString( | |
703 | + | let fc = fb | |
704 | + | (aU :+ toString(fc)) | |
703 | 705 | } | |
704 | 706 | else throw("List type is not Int") | |
705 | 707 | } | |
706 | 708 | ||
707 | - | let | |
708 | - | let aX = | |
709 | + | let fd = { | |
710 | + | let aX = eZ | |
709 | 711 | let aY = size(aX) | |
710 | 712 | let aZ = nil | |
711 | 713 | func ba (bb,bc) = if ((bc >= aY)) | |
712 | 714 | then bb | |
713 | - | else | |
715 | + | else fa(bb, aX[bc]) | |
714 | 716 | ||
715 | 717 | func bd (bb,bc) = if ((bc >= aY)) | |
716 | 718 | then bb | |
718 | 720 | ||
719 | 721 | bd(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6) | |
720 | 722 | } | |
721 | - | makeString( | |
723 | + | makeString(fd, "_") | |
722 | 724 | } | |
723 | 725 | } | |
724 | 726 | else throw("fail to cast into List") | |
725 | 727 | } | |
726 | 728 | ||
727 | 729 | ||
728 | - | func | |
729 | - | let d = | |
730 | + | func fe (eY) = { | |
731 | + | let d = eY | |
730 | 732 | if ($isInstanceOf(d, "(List[Any], List[Any])")) | |
731 | 733 | then { | |
732 | - | let | |
733 | - | $Tuple2( | |
734 | + | let ff = d | |
735 | + | $Tuple2(eX(ff._1), eX(ff._2)) | |
734 | 736 | } | |
735 | 737 | else throw("fail to cast into (List, List)") | |
736 | 738 | } | |
737 | 739 | ||
738 | 740 | ||
739 | - | func | |
740 | - | let d = | |
741 | + | func fg (eY) = { | |
742 | + | let d = eY | |
741 | 743 | if ($isInstanceOf(d, "(Boolean, String)")) | |
742 | 744 | then { | |
743 | - | let | |
744 | - | | |
745 | + | let ff = d | |
746 | + | ff | |
745 | 747 | } | |
746 | 748 | else throw("fail to cast into (Boolean, String)") | |
747 | 749 | } | |
748 | 750 | ||
749 | 751 | ||
750 | - | func | |
751 | - | let aP = addressFromString( | |
752 | - | let | |
752 | + | func fh (fi) = { | |
753 | + | let aP = addressFromString(fi) | |
754 | + | let fj = if (isDefined(aP)) | |
753 | 755 | then wavesBalance(value(aP)) | |
754 | 756 | else BalanceDetails(0, 0, 0, 0) | |
755 | - | let | |
757 | + | let fk = if (isDefined(aP)) | |
756 | 758 | then assetBalance(value(aP), e) | |
757 | 759 | else 0 | |
758 | - | let | |
760 | + | let fl = if (isDefined(aP)) | |
759 | 761 | then assetBalance(value(aP), U) | |
760 | 762 | else 0 | |
761 | - | let | |
762 | - | let | |
763 | - | let | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | if ($isInstanceOf( | |
773 | - | then | |
774 | - | else throw(($getType( | |
763 | + | let fm = valueOrElse(getString(I, bD(fi)), fi) | |
764 | + | let fn = bE(fi) | |
765 | + | let fo = getString(I, fn) | |
766 | + | let fp = valueOrElse(getString(I, bG(fi)), "") | |
767 | + | let fq = valueOrElse(getString(I, aO(fi)), "") | |
768 | + | let fr = aQ(fi)[az] | |
769 | + | let fs = valueOrElse(getInteger(I, cF(fi)), 0) | |
770 | + | let ft = valueOrElse(getInteger(I, cG(fi)), 0) | |
771 | + | let fu = valueOrElse(getInteger(I, cH(fi)), 0) | |
772 | + | let fv = { | |
773 | + | let fw = invoke(K, "checkWlgXpREADONLY", [fi], nil) | |
774 | + | if ($isInstanceOf(fw, "List[Any]")) | |
775 | + | then fw | |
776 | + | else throw(($getType(fw) + " couldn't be cast to List[Any]")) | |
775 | 777 | } | |
776 | - | let | |
777 | - | let | |
778 | + | let fx = valueOrElse(getInteger(K, dF(fi)), 0) | |
779 | + | let fy = if (isDefined(fo)) | |
778 | 780 | then (bg + (if (if (isDefined(aP)) | |
779 | - | then isDefined(getString(I, bF( | |
781 | + | then isDefined(getString(I, bF(fi))) | |
780 | 782 | else false) | |
781 | 783 | then ":1" | |
782 | 784 | else ":0")) | |
783 | 785 | else "" | |
784 | - | let | |
786 | + | let fz = if (isDefined(aP)) | |
785 | 787 | then assetBalance(value(aP), X) | |
786 | 788 | else 0 | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | [("%s%s__customName__" + | |
791 | - | let | |
792 | - | if ($isInstanceOf( | |
793 | - | then | |
794 | - | else throw(($getType( | |
789 | + | let fA = valueOrElse(getInteger(O, dB(fi)), 0) | |
790 | + | let fB = valueOrElse(getInteger(I, cL(fi)), 0) | |
791 | + | let fC = valueOrElse(getInteger(I, cM(fi)), 0) | |
792 | + | [("%s%s__customName__" + fm), ("%s%s__referredBy__" + valueOrElse(fo, "")), ("%s%s__referrals__" + fp), ("%s%s__lastTxId__" + fq), ("%s%d__wavesBalance__" + toString(fj.available)), ("%s%d__wlgoldBalance__" + toString(fl)), ("%s%d__usdtBalance__" + toString(fk)), ("%s%d__stakedPieces__" + toString(fr)), ("%s%d__acresBalance__" + toString(fz)), ("%s%d__stakedAcres__" + toString(fA)), ("%s%d__currentXp__" + toString(fs)), ("%s%d__currentLvl__" + toString(ft)), ("%s%d__pointsToDistribute__" + toString(fu)), ("%s%s__walletArtefacts__" + fy), ("%s%d__stakedWlgold__" + toString(fx)), ("%s%d__virtLevel__" + toString({ | |
793 | + | let fw = fv[0] | |
794 | + | if ($isInstanceOf(fw, "Int")) | |
795 | + | then fw | |
796 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
795 | 797 | })), ("%s%d__virtPoints__" + toString({ | |
796 | - | let | |
797 | - | if ($isInstanceOf( | |
798 | - | then | |
799 | - | else throw(($getType( | |
798 | + | let fw = fv[1] | |
799 | + | if ($isInstanceOf(fw, "Int")) | |
800 | + | then fw | |
801 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
800 | 802 | })), ("%s%d__virtXP__" + toString({ | |
801 | - | let | |
802 | - | if ($isInstanceOf( | |
803 | - | then | |
804 | - | else throw(($getType( | |
805 | - | })), ("%s%d__userDeliveryCount__" + toString( | |
803 | + | let fw = fv[2] | |
804 | + | if ($isInstanceOf(fw, "Int")) | |
805 | + | then fw | |
806 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
807 | + | })), ("%s%d__userDeliveryCount__" + toString(fB)), ("%s%d__userLastDeliveryDay__" + toString(fC)), ("%s%d__lockedAcres__" + toString(valueOrElse(getInteger(O, dC(fi)), 0))), ("%s%d__ETALockedAcres__" + toString(valueOrElse(getInteger(O, dD(fi)), 0)))] | |
806 | 808 | } | |
807 | 809 | ||
808 | 810 | ||
809 | - | func | |
810 | - | let | |
811 | - | let | |
812 | - | let | |
813 | - | let | |
814 | - | $Tuple3( | |
811 | + | func fD (bA,fr) = { | |
812 | + | let fE = valueOrElse(getInteger(I, bB(bA)), 0) | |
813 | + | let fF = valueOrElse(getInteger(I, bx(bf, bA)), 0) | |
814 | + | let fG = (fE / 6) | |
815 | + | let fH = (fE / 7) | |
816 | + | $Tuple3(fE, fF, ((bi + fraction(bi, ((fE + fG) + (2 * fH)), 5)) + fraction(bi, fF, (fr * 5)))) | |
815 | 817 | } | |
816 | 818 | ||
817 | 819 | ||
818 | - | func | |
819 | - | let | |
820 | - | ((bj * (parseIntValue( | |
820 | + | func fI (fJ) = { | |
821 | + | let fK = split(fJ, "_") | |
822 | + | ((bj * (parseIntValue(fK[1]) + 1)) * parseIntValue(fK[0])) | |
821 | 823 | } | |
822 | 824 | ||
823 | 825 | ||
824 | - | func | |
825 | - | let | |
826 | - | let | |
827 | - | let | |
828 | - | split( | |
826 | + | func fL (fM,fN,fE) = { | |
827 | + | let fJ = ((toString(fN) + "_") + toString(fE)) | |
828 | + | let fO = toString(fI(fJ)) | |
829 | + | let fP = valueOrElse(getString(I, fM), ((((fJ + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + fO) + "_") + fO)) | |
830 | + | split(fP, ":") | |
829 | 831 | } | |
830 | 832 | ||
831 | 833 | ||
832 | - | func | |
833 | - | let | |
834 | - | $Tuple5(valueOrElse(getInteger(I, bw(bK)), -1), value(assetInfo(fromBase58String(bK))).name, valueOrElse(getString(I, bJ(bK)), ""), valueOrElse(getInteger(I, cz(bK)), | |
834 | + | func fQ (bK) = { | |
835 | + | let fR = cN(valueOrElse(getInteger(I, cC(bK)), 0)) | |
836 | + | $Tuple5(valueOrElse(getInteger(I, bw(bK)), -1), value(assetInfo(fromBase58String(bK))).name, valueOrElse(getString(I, bJ(bK)), ""), valueOrElse(getInteger(I, cz(bK)), fR), aE(invoke(I, "getBackpackREADONLY", [bK], nil))) | |
835 | 837 | } | |
836 | 838 | ||
837 | 839 | ||
838 | - | func | |
839 | - | let | |
840 | + | func fS (bK,fT,fU) = { | |
841 | + | let fm = valueOrElse(getString(I, bC(bK)), fU._2) | |
840 | 842 | let cT = valueOrElse(getString(I, cA(bK)), "0_0_0_0_0") | |
841 | - | let | |
842 | - | let | |
843 | - | let | |
844 | - | let | |
843 | + | let fs = valueOrElse(getInteger(I, cB(bK)), 0) | |
844 | + | let ft = valueOrElse(getInteger(I, cC(bK)), 0) | |
845 | + | let fu = valueOrElse(getInteger(I, cD(bK)), 0) | |
846 | + | let fV = valueOrElse(getString(I, cE(bK)), ";_;_;_;_;_;") | |
845 | 847 | let cU = valueOrElse(getString(I, cI(bK)), "0_0_0_0_0") | |
846 | - | let | |
847 | - | let | |
848 | - | [("%s%s__assetId__" + bK), ("%s%s__owner__" + | |
848 | + | let fW = valueOrElse(getInteger(I, cK(bK)), 0) | |
849 | + | let fX = valueOrElse(getInteger(I, cJ(bK)), 0) | |
850 | + | [("%s%s__assetId__" + bK), ("%s%s__owner__" + fT), ("%s%s__customName__" + fm), ("%s%d__stakedTime__" + toString(fU._1)), ("%s%s__name__" + fU._2), ("%s%s__location__" + fU._3), ("%s%d__health__" + toString(fU._4)), ("%s%d__maxHealth__" + toString(cN(ft))), ("%s%s__characteristics__" + cT), ("%s%d__currentXp__" + toString(fs)), ("%s%d__currentLvl__" + toString(ft)), ("%s%d__pointsToDistribute__" + toString(fu)), ("%s%s__backPack__" + fU._5), ("%s%s__equipment__" + fV), ("%s%s__buffs__" + cU), ("%s%d__totalRobberyCount__" + toString(fX)), ("%s%d__totalDeliveryCount__" + toString(fW))] | |
849 | 851 | } | |
850 | 852 | ||
851 | 853 | ||
852 | - | func | |
854 | + | func fY (bA,fT,fZ) = if ((bA == "")) | |
853 | 855 | then throw("landAssetId is required") | |
854 | 856 | else { | |
855 | - | let | |
856 | - | let | |
857 | - | let | |
858 | - | then | |
859 | - | else ("-" + | |
860 | - | let | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | then fraction( | |
857 | + | let ga = value(assetInfo(fromBase58String(bA))) | |
858 | + | let gb = split(ga.description, "_") | |
859 | + | let gc = if ((ga.quantity > 0)) | |
860 | + | then gb[P] | |
861 | + | else ("-" + gb[P]) | |
862 | + | let fr = aL(gb[Q]) | |
863 | + | let gd = fD(bA, fr) | |
864 | + | let ge = (lastBlock.timestamp - fZ) | |
865 | + | let gf = if ((fZ > 0)) | |
866 | + | then fraction(ge, (gd._3 * fr), dl) | |
865 | 867 | else 0 | |
866 | - | let | |
867 | - | let | |
868 | - | then | |
869 | - | else $Tuple2( | |
870 | - | let | |
871 | - | [("%s%s__assetId__" + bA), ("%s%s__owner__" + | |
868 | + | let gg = fraction(g, (fr * (gd._1 + 1)), l) | |
869 | + | let gh = if ((fZ > 0)) | |
870 | + | then fe(invoke(I, "splitByGlobalAndLocalWeightsREADONLY", [gg, gf, gb[R]], nil)) | |
871 | + | else $Tuple2(eX(invoke(I, "splitByGlobalWeightsREADONLY", [gg], nil)), "") | |
872 | + | let fm = valueOrElse(getString(I, bv(bA)), ((gb[S] + "-") + gb[P])) | |
873 | + | [("%s%s__assetId__" + bA), ("%s%s__owner__" + fT), ("%s%s__customName__" + fm), ("%s%d__stakedTime__" + toString(fZ)), ("%s%s__description__" + makeString([gc, gb[Q], gb[R], gb[S]], "_")), ("%s%d__infraLevel__" + toString(gd._1)), ("%s%s__availResByType__" + gh._2), ("%s%d__availResTotal__" + toString(gf)), ("%s%s__needMaterial__" + gh._1), ("%s%s__landArtefacts__PRESALE:" + toString(gd._2)), ("%s%s__warehouse__" + makeString(fL(bz(bA), (fr / l), gd._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(J, bL(bA)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
872 | 874 | } | |
873 | 875 | ||
874 | 876 | ||
875 | - | func | |
877 | + | func gi (bA,fT) = if ((bA == "")) | |
876 | 878 | then throw("landAssetId is required") | |
877 | 879 | else { | |
878 | - | let | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | [("%s%s__assetId__" + bA), ("%s%s__owner__" + | |
880 | + | let ga = value(assetInfo(fromBase58String(bA))) | |
881 | + | let gb = split(ga.description, "_") | |
882 | + | let fr = aL(gb[Q]) | |
883 | + | let gd = fD(bA, fr) | |
884 | + | [("%s%s__assetId__" + bA), ("%s%s__owner__" + fT), ("%s%s__warehouse__" + makeString(fL(bz(bA), (fr / l), gd._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(J, bL(bA)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
883 | 885 | } | |
884 | 886 | ||
885 | 887 | ||
886 | - | func | |
888 | + | func gj (gk) = if ((gk == "")) | |
887 | 889 | then 0 | |
888 | 890 | else { | |
889 | - | let | |
890 | - | if (( | |
891 | + | let gl = split(gk, ",")[0] | |
892 | + | if ((gl == "")) | |
891 | 893 | then 0 | |
892 | 894 | else { | |
893 | - | let | |
894 | - | if (if (( | |
895 | + | let gm = split(gl, ":") | |
896 | + | if (if ((gm[1] == "")) | |
895 | 897 | then true | |
896 | - | else (parseIntValue( | |
898 | + | else (parseIntValue(gm[1]) == 0)) | |
897 | 899 | then 0 | |
898 | - | else parseIntValue(split(bp[parseIntValue( | |
900 | + | else parseIntValue(split(bp[parseIntValue(gm[0])], "_")[br]) | |
899 | 901 | } | |
900 | 902 | } | |
901 | 903 | ||
902 | 904 | ||
903 | - | func | |
904 | - | let | |
905 | - | let cn = | |
906 | - | let co = | |
907 | - | let | |
905 | + | func gn (go) = { | |
906 | + | let gp = cl(N, go) | |
907 | + | let cn = gp[bX] | |
908 | + | let co = gp[bY] | |
909 | + | let gq = if ((co[ch] == "")) | |
908 | 910 | then " " | |
909 | 911 | else co[ch] | |
910 | - | let | |
911 | - | let | |
912 | + | let gr = valueOrElse(getString(N, bR(go)), "") | |
913 | + | let gs = if ((size(cn) > cd)) | |
912 | 914 | then cn[cd] | |
913 | 915 | else "0" | |
914 | - | let | |
916 | + | let gt = if ((size(cn) > ce)) | |
915 | 917 | then cn[ce] | |
916 | 918 | else "0" | |
917 | 919 | let bu = if ((size(cn) > cf)) | |
918 | 920 | then fromBase58String(cn[cf]) | |
919 | 921 | else U | |
920 | - | let | |
921 | - | [("%s%s__tournamentStaticData__" + makeString([cn[bZ], cn[ca], cn[cb], cn[cc], | |
922 | + | let gu = valueOrErrorMessage(assetInfo(bu), "No assetInfo available").name | |
923 | + | [("%s%s__tournamentStaticData__" + makeString([cn[bZ], cn[ca], cn[cb], cn[cc], gs, gt, gu], "_")), ("%s%s__tournamentDynamicData__" + makeString_2C([co[cg], gq, co[ci], co[cj], co[ck]], "_")), ("%s%s__tournamentScoreBoard__" + gr)] | |
922 | 924 | } | |
923 | 925 | ||
924 | 926 | ||
925 | - | func | |
926 | - | let | |
927 | - | if (isDefined( | |
928 | - | then value( | |
927 | + | func gv (aP,s) = { | |
928 | + | let gw = getBoolean(aP, s) | |
929 | + | if (isDefined(gw)) | |
930 | + | then value(gw) | |
929 | 931 | else { | |
930 | - | let | |
931 | - | if (isDefined( | |
932 | - | then value( | |
932 | + | let gx = getBinary(aP, s) | |
933 | + | if (isDefined(gx)) | |
934 | + | then value(gx) | |
933 | 935 | else { | |
934 | - | let | |
935 | - | if (isDefined( | |
936 | - | then value( | |
936 | + | let gy = getInteger(aP, s) | |
937 | + | if (isDefined(gy)) | |
938 | + | then value(gy) | |
937 | 939 | else getString(aP, s) | |
938 | 940 | } | |
939 | 941 | } | |
940 | 942 | } | |
941 | 943 | ||
942 | 944 | ||
943 | - | func | |
944 | - | func | |
945 | - | let aP = Address(fromBase58String( | |
946 | - | let | |
947 | - | let | |
948 | - | let d = | |
945 | + | func gz (gA) = { | |
946 | + | func gB (aU,gC) = { | |
947 | + | let aP = Address(fromBase58String(gC._1)) | |
948 | + | let gD = gC._2 | |
949 | + | let gE = { | |
950 | + | let d = gC | |
949 | 951 | if ($isInstanceOf(d, "(String, String, List[Any])")) | |
950 | 952 | then { | |
951 | - | let | |
952 | - | invoke(aP, | |
953 | + | let gF = d | |
954 | + | invoke(aP, gD, gF._3, nil) | |
953 | 955 | } | |
954 | - | else | |
956 | + | else gv(aP, gD) | |
955 | 957 | } | |
956 | - | (aU :+ | |
958 | + | (aU :+ gE) | |
957 | 959 | } | |
958 | 960 | ||
959 | - | let aX = | |
961 | + | let aX = gA | |
960 | 962 | let aY = size(aX) | |
961 | 963 | let aZ = nil | |
962 | 964 | func ba (bb,bc) = if ((bc >= aY)) | |
963 | 965 | then bb | |
964 | - | else | |
966 | + | else gB(bb, aX[bc]) | |
965 | 967 | ||
966 | 968 | func bd (bb,bc) = if ((bc >= aY)) | |
967 | 969 | then bb | |
971 | 973 | } | |
972 | 974 | ||
973 | 975 | ||
974 | - | @Callable( | |
975 | - | func constructorV1 ( | |
976 | + | @Callable(gG) | |
977 | + | func constructorV1 (dZ) = if ((gG.caller != this)) | |
976 | 978 | then throw("permissions denied") | |
977 | 979 | else { | |
978 | - | func | |
980 | + | func gH (aU,gI) = (aU + "%s") | |
979 | 981 | ||
980 | - | let | |
981 | - | let aX = | |
982 | + | let gJ = { | |
983 | + | let aX = dZ | |
982 | 984 | let aY = size(aX) | |
983 | 985 | let aZ = "" | |
984 | 986 | func ba (bb,bc) = if ((bc >= aY)) | |
985 | 987 | then bb | |
986 | - | else | |
988 | + | else gH(bb, aX[bc]) | |
987 | 989 | ||
988 | 990 | func bd (bb,bc) = if ((bc >= aY)) | |
989 | 991 | then bb | |
991 | 993 | ||
992 | 994 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
993 | 995 | } | |
994 | - | [StringEntry(A(), makeString( | |
996 | + | [StringEntry(A(), makeString(gJ :: dZ, i)), StringEntry(B(), toString(this))] | |
995 | 997 | } | |
996 | 998 | ||
997 | 999 | ||
998 | 1000 | ||
999 | - | @Callable( | |
1000 | - | func walletInfoREADONLY ( | |
1001 | + | @Callable(gG) | |
1002 | + | func walletInfoREADONLY (fi) = $Tuple2(nil, fh(fi)) | |
1001 | 1003 | ||
1002 | 1004 | ||
1003 | 1005 | ||
1004 | - | @Callable( | |
1005 | - | func duckByOwnerInfoREADONLY ( | |
1006 | - | let | |
1007 | - | $Tuple2(nil, if (if (isDefined(addressFromString( | |
1008 | - | then isDefined( | |
1006 | + | @Callable(gG) | |
1007 | + | func duckByOwnerInfoREADONLY (gK) = { | |
1008 | + | let gL = getString(I, bI(gK)) | |
1009 | + | $Tuple2(nil, if (if (isDefined(addressFromString(gK))) | |
1010 | + | then isDefined(gL) | |
1009 | 1011 | else false) | |
1010 | 1012 | then { | |
1011 | - | let bK = value( | |
1012 | - | | |
1013 | + | let bK = value(gL) | |
1014 | + | fS(bK, gK, fQ(bK)) | |
1013 | 1015 | } | |
1014 | - | else | |
1016 | + | else fS("", gK, $Tuple5(-1, "", "", -1, ""))) | |
1015 | 1017 | } | |
1016 | 1018 | ||
1017 | 1019 | ||
1018 | 1020 | ||
1019 | - | @Callable( | |
1021 | + | @Callable(gG) | |
1020 | 1022 | func duckByAssetIdInfoREADONLY (bK) = { | |
1021 | - | let | |
1022 | - | $Tuple2(nil, | |
1023 | - | then value( | |
1024 | - | else "", | |
1023 | + | let fT = getString(I, bH(bK)) | |
1024 | + | $Tuple2(nil, fS(bK, if (isDefined(fT)) | |
1025 | + | then value(fT) | |
1026 | + | else "", fQ(bK))) | |
1025 | 1027 | } | |
1026 | 1028 | ||
1027 | 1029 | ||
1028 | 1030 | ||
1029 | - | @Callable( | |
1030 | - | func ducksByIdsInfoREADONLY ( | |
1031 | - | func | |
1031 | + | @Callable(gG) | |
1032 | + | func ducksByIdsInfoREADONLY (gM) = { | |
1033 | + | func gN (aU,bK) = if ((bK == "")) | |
1032 | 1034 | then throw("duckAssetId is required") | |
1033 | 1035 | else { | |
1034 | - | let | |
1035 | - | let | |
1036 | + | let fZ = valueOrElse(getInteger(I, bw(bK)), -1) | |
1037 | + | let fT = if ((fZ > 0)) | |
1036 | 1038 | then value(getString(I, bH(bK))) | |
1037 | 1039 | else "" | |
1038 | - | (aU :+ | |
1040 | + | (aU :+ fS(bK, fT, fQ(bK))) | |
1039 | 1041 | } | |
1040 | 1042 | ||
1041 | - | let | |
1042 | - | let aX = | |
1043 | + | let fd = { | |
1044 | + | let aX = gM | |
1043 | 1045 | let aY = size(aX) | |
1044 | 1046 | let aZ = nil | |
1045 | 1047 | func ba (bb,bc) = if ((bc >= aY)) | |
1046 | 1048 | then bb | |
1047 | - | else | |
1049 | + | else gN(bb, aX[bc]) | |
1048 | 1050 | ||
1049 | 1051 | func bd (bb,bc) = if ((bc >= aY)) | |
1050 | 1052 | then bb | |
1052 | 1054 | ||
1053 | 1055 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1054 | 1056 | } | |
1055 | - | $Tuple2(nil, | |
1057 | + | $Tuple2(nil, fd) | |
1056 | 1058 | } | |
1057 | 1059 | ||
1058 | 1060 | ||
1059 | 1061 | ||
1060 | - | @Callable( | |
1062 | + | @Callable(gG) | |
1061 | 1063 | func landByAssetIdInfoREADONLY (bA) = if ((bA == "")) | |
1062 | 1064 | then throw("landAssetId is required") | |
1063 | 1065 | else { | |
1064 | - | let | |
1065 | - | let | |
1066 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1067 | + | let fT = if ((fZ > 0)) | |
1066 | 1068 | then value(getString(I, bt(bA))) | |
1067 | 1069 | else "" | |
1068 | - | $Tuple2(nil, | |
1070 | + | $Tuple2(nil, fY(bA, fT, fZ)) | |
1069 | 1071 | } | |
1070 | 1072 | ||
1071 | 1073 | ||
1072 | 1074 | ||
1073 | - | @Callable( | |
1074 | - | func stakedLandsByOwnerInfoREADONLY ( | |
1075 | + | @Callable(gG) | |
1076 | + | func stakedLandsByOwnerInfoREADONLY (gO) = if ((gO == "")) | |
1075 | 1077 | then throw("landOwnerAddress is required") | |
1076 | 1078 | else { | |
1077 | - | let | |
1078 | - | let | |
1079 | - | then split_51C(value( | |
1079 | + | let gP = getString(I, aB(gO)) | |
1080 | + | let gQ = if (isDefined(gP)) | |
1081 | + | then split_51C(value(gP), "_") | |
1080 | 1082 | else nil | |
1081 | - | func | |
1083 | + | func gR (aU,bA) = if ((bA == "")) | |
1082 | 1084 | then throw("landAssetId is required") | |
1083 | 1085 | else { | |
1084 | - | let | |
1085 | - | (aU :+ | |
1086 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1087 | + | (aU :+ fY(bA, gO, fZ)) | |
1086 | 1088 | } | |
1087 | 1089 | ||
1088 | - | let | |
1089 | - | let aX = | |
1090 | + | let fd = { | |
1091 | + | let aX = gQ | |
1090 | 1092 | let aY = size(aX) | |
1091 | 1093 | let aZ = nil | |
1092 | 1094 | func ba (bb,bc) = if ((bc >= aY)) | |
1093 | 1095 | then bb | |
1094 | - | else | |
1096 | + | else gR(bb, aX[bc]) | |
1095 | 1097 | ||
1096 | 1098 | func bd (bb,bc) = if ((bc >= aY)) | |
1097 | 1099 | then bb | |
1099 | 1101 | ||
1100 | 1102 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1101 | 1103 | } | |
1102 | - | $Tuple2(nil, | |
1104 | + | $Tuple2(nil, fd) | |
1103 | 1105 | } | |
1104 | 1106 | ||
1105 | 1107 | ||
1106 | 1108 | ||
1107 | - | @Callable( | |
1108 | - | func landsByIdsInfoREADONLY ( | |
1109 | - | func | |
1109 | + | @Callable(gG) | |
1110 | + | func landsByIdsInfoREADONLY (gS) = { | |
1111 | + | func gR (aU,bA) = if ((bA == "")) | |
1110 | 1112 | then throw("landAssetId is required") | |
1111 | 1113 | else { | |
1112 | - | let | |
1113 | - | let | |
1114 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1115 | + | let fT = if ((fZ > 0)) | |
1114 | 1116 | then value(getString(I, bt(bA))) | |
1115 | 1117 | else "" | |
1116 | - | (aU :+ | |
1118 | + | (aU :+ fY(bA, fT, fZ)) | |
1117 | 1119 | } | |
1118 | 1120 | ||
1119 | - | let | |
1120 | - | let aX = | |
1121 | + | let fd = { | |
1122 | + | let aX = gS | |
1121 | 1123 | let aY = size(aX) | |
1122 | 1124 | let aZ = nil | |
1123 | 1125 | func ba (bb,bc) = if ((bc >= aY)) | |
1124 | 1126 | then bb | |
1125 | - | else | |
1127 | + | else gR(bb, aX[bc]) | |
1126 | 1128 | ||
1127 | 1129 | func bd (bb,bc) = if ((bc >= aY)) | |
1128 | 1130 | then bb | |
1130 | 1132 | ||
1131 | 1133 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1132 | 1134 | } | |
1133 | - | $Tuple2(nil, | |
1135 | + | $Tuple2(nil, fd) | |
1134 | 1136 | } | |
1135 | 1137 | ||
1136 | 1138 | ||
1137 | 1139 | ||
1138 | - | @Callable( | |
1140 | + | @Callable(gG) | |
1139 | 1141 | func warehouseOrderByAssetIdInfoREADONLY (bA) = if ((bA == "")) | |
1140 | 1142 | then throw("landAssetId is required") | |
1141 | 1143 | else { | |
1142 | - | let | |
1143 | - | let | |
1144 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1145 | + | let fT = if ((fZ > 0)) | |
1144 | 1146 | then value(getString(I, bt(bA))) | |
1145 | 1147 | else "" | |
1146 | - | $Tuple2(nil, | |
1148 | + | $Tuple2(nil, gi(bA, fT)) | |
1147 | 1149 | } | |
1148 | 1150 | ||
1149 | 1151 | ||
1150 | 1152 | ||
1151 | - | @Callable( | |
1152 | - | func ordersByLandIdsInfoREADONLY ( | |
1153 | - | func | |
1153 | + | @Callable(gG) | |
1154 | + | func ordersByLandIdsInfoREADONLY (gS) = { | |
1155 | + | func gR (aU,bA) = if ((bA == "")) | |
1154 | 1156 | then throw("landAssetId is required") | |
1155 | 1157 | else { | |
1156 | - | let | |
1157 | - | let | |
1158 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1159 | + | let fT = if ((fZ > 0)) | |
1158 | 1160 | then value(getString(I, bt(bA))) | |
1159 | 1161 | else "" | |
1160 | - | (aU :+ | |
1162 | + | (aU :+ gi(bA, fT)) | |
1161 | 1163 | } | |
1162 | 1164 | ||
1163 | - | let | |
1164 | - | let aX = | |
1165 | + | let fd = { | |
1166 | + | let aX = gS | |
1165 | 1167 | let aY = size(aX) | |
1166 | 1168 | let aZ = nil | |
1167 | 1169 | func ba (bb,bc) = if ((bc >= aY)) | |
1168 | 1170 | then bb | |
1169 | - | else | |
1171 | + | else gR(bb, aX[bc]) | |
1170 | 1172 | ||
1171 | 1173 | func bd (bb,bc) = if ((bc >= aY)) | |
1172 | 1174 | then bb | |
1174 | 1176 | ||
1175 | 1177 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40) | |
1176 | 1178 | } | |
1177 | - | $Tuple2(nil, | |
1179 | + | $Tuple2(nil, fd) | |
1178 | 1180 | } | |
1179 | 1181 | ||
1180 | 1182 | ||
1181 | 1183 | ||
1182 | - | @Callable( | |
1183 | - | func cancelWarehouseOrders ( | |
1184 | + | @Callable(gG) | |
1185 | + | func cancelWarehouseOrders (gS) = if ((gG.caller != this)) | |
1184 | 1186 | then throw("permission denied") | |
1185 | 1187 | else { | |
1186 | - | let | |
1187 | - | if (if (!(isDefined( | |
1188 | + | let gT = getBoolean(I, aN()) | |
1189 | + | if (if (!(isDefined(gT))) | |
1188 | 1190 | then true | |
1189 | - | else (value( | |
1191 | + | else (value(gT) == false)) | |
1190 | 1192 | then throw("Contracts should be blocked before canceling orders") | |
1191 | 1193 | else { | |
1192 | - | func | |
1194 | + | func gR (ga,bA) = if ((bA == "")) | |
1193 | 1195 | then throw("landAssetId is required") | |
1194 | 1196 | else { | |
1195 | - | let | |
1196 | - | if (if ( | |
1197 | + | let gU = fg(invoke(J, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", bA], nil))._1 | |
1198 | + | if (if (ga) | |
1197 | 1199 | then true | |
1198 | - | else | |
1199 | - | then !(if ( | |
1200 | - | then | |
1200 | + | else gU) | |
1201 | + | then !(if (ga) | |
1202 | + | then gU | |
1201 | 1203 | else false) | |
1202 | 1204 | else false | |
1203 | 1205 | } | |
1204 | 1206 | ||
1205 | - | let | |
1206 | - | let aX = | |
1207 | + | let fd = { | |
1208 | + | let aX = gS | |
1207 | 1209 | let aY = size(aX) | |
1208 | 1210 | let aZ = false | |
1209 | 1211 | func ba (bb,bc) = if ((bc >= aY)) | |
1210 | 1212 | then bb | |
1211 | - | else | |
1213 | + | else gR(bb, aX[bc]) | |
1212 | 1214 | ||
1213 | 1215 | func bd (bb,bc) = if ((bc >= aY)) | |
1214 | 1216 | then bb | |
1216 | 1218 | ||
1217 | 1219 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
1218 | 1220 | } | |
1219 | - | $Tuple2(nil, | |
1221 | + | $Tuple2(nil, fd) | |
1220 | 1222 | } | |
1221 | 1223 | } | |
1222 | 1224 | ||
1223 | 1225 | ||
1224 | 1226 | ||
1225 | - | @Callable( | |
1226 | - | func distributeLockedAcres ( | |
1227 | - | then ( | |
1227 | + | @Callable(gG) | |
1228 | + | func distributeLockedAcres (gV,gW,gX) = if (if ((gG.caller != this)) | |
1229 | + | then (gG.callerPublicKey != c) | |
1228 | 1230 | else false) | |
1229 | 1231 | then throw("Permission denied") | |
1230 | - | else if ((0 >= | |
1232 | + | else if ((0 >= gW)) | |
1231 | 1233 | then throw("amount should be positive") | |
1232 | - | else if ((0 > | |
1234 | + | else if ((0 > gX)) | |
1233 | 1235 | then throw("lockDays should be non-negative") | |
1234 | 1236 | else { | |
1235 | - | func | |
1237 | + | func gY (aU,aP) = if ((aP == "")) | |
1236 | 1238 | then throw("address is required") | |
1237 | - | else (aU + aH(invoke(O, "sendLockedAcres", [aP, | |
1239 | + | else (aU + aH(invoke(O, "sendLockedAcres", [aP, gW, gX], nil))) | |
1238 | 1240 | ||
1239 | 1241 | let dQ = { | |
1240 | - | let aX = | |
1242 | + | let aX = gV | |
1241 | 1243 | let aY = size(aX) | |
1242 | 1244 | let aZ = 0 | |
1243 | 1245 | func ba (bb,bc) = if ((bc >= aY)) | |
1244 | 1246 | then bb | |
1245 | - | else | |
1247 | + | else gY(bb, aX[bc]) | |
1246 | 1248 | ||
1247 | 1249 | func bd (bb,bc) = if ((bc >= aY)) | |
1248 | 1250 | then bb | |
1255 | 1257 | ||
1256 | 1258 | ||
1257 | 1259 | ||
1258 | - | @Callable( | |
1259 | - | func sendUsdtPrize ( | |
1260 | + | @Callable(gG) | |
1261 | + | func sendUsdtPrize (gK) = if ((gG.caller != I)) | |
1260 | 1262 | then throw("permission denied") | |
1261 | 1263 | else { | |
1262 | - | let | |
1263 | - | $Tuple2([ScriptTransfer(addressFromStringValue( | |
1264 | + | let gZ = fraction(assetBalance(this, e), eW, j) | |
1265 | + | $Tuple2([ScriptTransfer(addressFromStringValue(gK), gZ, e)], gZ) | |
1264 | 1266 | } | |
1265 | 1267 | ||
1266 | 1268 | ||
1267 | 1269 | ||
1268 | - | @Callable( | |
1270 | + | @Callable(gG) | |
1269 | 1271 | func getEmergencyServiceDataREADONLY () = { | |
1270 | - | let | |
1271 | - | let | |
1272 | - | then split_4C(value( | |
1272 | + | let ha = getString(J, bM()) | |
1273 | + | let hb = if (isDefined(ha)) | |
1274 | + | then split_4C(value(ha), "_") | |
1273 | 1275 | else nil | |
1274 | - | func | |
1276 | + | func hc (aU,hd) = { | |
1275 | 1277 | let aI = aU._2 | |
1276 | - | let cs = split( | |
1277 | - | let | |
1278 | + | let cs = split(hd, "_") | |
1279 | + | let he = if ((aI == 0)) | |
1278 | 1280 | then (bl * bs) | |
1279 | 1281 | else 0 | |
1280 | - | let | |
1281 | - | then parseIntValue( | |
1282 | + | let hf = if ((size(hb) > aI)) | |
1283 | + | then parseIntValue(hb[aI]) | |
1282 | 1284 | else 0 | |
1283 | - | let | |
1284 | - | let | |
1285 | - | let | |
1286 | - | let | |
1287 | - | $Tuple2((aU._1 :+ | |
1285 | + | let hg = cr(cs) | |
1286 | + | let hh = fraction((hg * bm), bk, (k * bs)) | |
1287 | + | let hi = fraction((hg * bn), bk, (k * bs)) | |
1288 | + | let hj = makeString([toString(he), toString(hf), toString(hh), toString(hi)], "_") | |
1289 | + | $Tuple2((aU._1 :+ hj), (aI + 1)) | |
1288 | 1290 | } | |
1289 | 1291 | ||
1290 | 1292 | let aG = makeString_2C(( let aX = bp | |
1292 | 1294 | let aZ = $Tuple2(nil, 0) | |
1293 | 1295 | func ba (bb,bc) = if ((bc >= aY)) | |
1294 | 1296 | then bb | |
1295 | - | else | |
1297 | + | else hc(bb, aX[bc]) | |
1296 | 1298 | ||
1297 | 1299 | func bd (bb,bc) = if ((bc >= aY)) | |
1298 | 1300 | then bb | |
1299 | 1301 | else throw("List size exceeds 50") | |
1300 | 1302 | ||
1301 | 1303 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":") | |
1302 | - | let | |
1303 | - | $Tuple2(nil, | |
1304 | + | let gE = ("%s%s__emergencyServiceData__" + aG) | |
1305 | + | $Tuple2(nil, gE) | |
1304 | 1306 | } | |
1305 | 1307 | ||
1306 | 1308 | ||
1307 | 1309 | ||
1308 | - | @Callable( | |
1309 | - | func wlgStatsREADONLY ( | |
1310 | - | let | |
1311 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
1310 | + | @Callable(gG) | |
1311 | + | func wlgStatsREADONLY (dY) = { | |
1312 | + | let hk = dX(dY, [H, I, J, K, L, M, O], e, 0, j) | |
1313 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(hk[Y])), ("%s%d__wlgPrice__" + toString(hk[Z])), ("%s%d__usdtFunds__" + toString(hk[aa])), ("%s%d__usdtEconomy__" + toString(hk[ab])), ("%s%d__usdtActivity__" + toString(hk[ac])), ("%s%d__usdtArbitrage__" + toString(hk[ad])), ("%s%d__usdtPool__" + toString(hk[ae])), ("%s%d__wlgIssueTime__" + toString(hk[af])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(hk[ag])), ("%s%d__wlgTeamTotal__" + toString(hk[ah])), ("%s%d__wlgTeamAmLeft__" + toString(hk[ai])), ("%s%d__wlgTeamAmAvailNow__" + toString(hk[aj])), ("%s%d__wlgTeamWlgold__" + toString(hk[ak])), ("%s%d__wlgActTotal__" + toString(hk[al])), ("%s%d__wlgActAmLeft__" + toString(hk[am])), ("%s%d__wlgActAmAvailNow__" + toString(hk[an])), ("%s%d__wlgActWlgold__" + toString(hk[ao])), ("%s%d__wlgCurPeriod__" + toString(hk[ap])), ("%s%d__wlgAmLeftTotal__" + toString(hk[aq])), ("%s%d__wlgCurPeriodDistribution__" + toString(hk[ar])), ("%s%d__wlgLastUserTime__" + toString(hk[as])), ("%s%d__wlgUserAmAvailNow__" + toString(hk[at])), ("%s%d__wlgGuestSLandDaily__" + toString(hk[au])), ("%s%d__wlgInvestFundTotal__" + toString(hk[av])), ("%s%d__wlgUserTotalAvail__" + toString(hk[aw])), ("%s%d__wlgEffUserTime__" + toString(hk[ax])), ("%s%d__wlgBankWlgold__" + toString(hk[ay]))]) | |
1312 | 1314 | } | |
1313 | 1315 | ||
1314 | 1316 | ||
1315 | 1317 | ||
1316 | - | @Callable( | |
1317 | - | func tournamentStatsREADONLY ( | |
1318 | + | @Callable(gG) | |
1319 | + | func tournamentStatsREADONLY (go) = $Tuple2(nil, gn(go)) | |
1318 | 1320 | ||
1319 | 1321 | ||
1320 | 1322 | ||
1321 | - | @Callable( | |
1323 | + | @Callable(gG) | |
1322 | 1324 | func lastTournamentStatsREADONLY () = { | |
1323 | - | let | |
1324 | - | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString( | |
1325 | + | let go = valueOrElse(getInteger(N, bN), 0) | |
1326 | + | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(go)), gn(go)]) | |
1325 | 1327 | } | |
1326 | 1328 | ||
1327 | 1329 | ||
1328 | 1330 | ||
1329 | - | @Callable( | |
1331 | + | @Callable(gG) | |
1330 | 1332 | func tournamentDuckStatsREADONLY (bP,bK) = { | |
1331 | - | let | |
1332 | - | let | |
1333 | - | let | |
1334 | - | let | |
1335 | - | let | |
1336 | - | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString( | |
1333 | + | let hl = valueOrElse(getBoolean(N, bS(bP, bK)), false) | |
1334 | + | let hm = valueOrElse(getInteger(N, bU(bP, bK)), -1) | |
1335 | + | let hn = valueOrElse(getInteger(N, bV(bP, bK)), 0) | |
1336 | + | let ho = valueOrElse(getString(N, bW(bP, bK)), "") | |
1337 | + | let hp = valueOrElse(getBoolean(N, bT(bP, bK)), false) | |
1338 | + | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(hl), toString(hm), toString(hn), ho, toString(hp)], "_"))]) | |
1337 | 1339 | } | |
1338 | 1340 | ||
1339 | 1341 | ||
1340 | 1342 | ||
1341 | - | @Callable( | |
1343 | + | @Callable(gG) | |
1342 | 1344 | func duckStatsCalculatorREADONLY (bK) = { | |
1343 | 1345 | let cT = split(valueOrElse(getString(I, cA(bK)), "0_0_0_0_0"), "_") | |
1344 | 1346 | let cU = split(valueOrElse(getString(I, cI(bK)), "0_0_0_0_0"), "_") | |
1345 | - | let | |
1346 | - | let cV = | |
1347 | - | let db = | |
1348 | - | let | |
1349 | - | let | |
1350 | - | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString( | |
1347 | + | let fV = split(valueOrElse(getString(I, cE(bK)), ";_;_;_;_;_;"), "_") | |
1348 | + | let cV = gj(split(fV[cx], ";")[1]) | |
1349 | + | let db = gj(split(fV[cy], ";")[0]) | |
1350 | + | let hq = cS(cT, cU, cV) | |
1351 | + | let hr = da(cT, cU, db) | |
1352 | + | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(hq)), ("%s%d__damageAbsorption__" + toString(hr))]) | |
1351 | 1353 | } | |
1352 | 1354 | ||
1353 | 1355 | ||
1354 | 1356 | ||
1355 | - | @Callable( | |
1357 | + | @Callable(gG) | |
1356 | 1358 | func customDuckStatsCalculatorREADONLY (cT,cU,cV,db) = { | |
1357 | - | let | |
1358 | - | let | |
1359 | - | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString( | |
1359 | + | let hq = cS(cT, cU, cV) | |
1360 | + | let hr = da(cT, cU, db) | |
1361 | + | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(hq)), ("%s%d__damageAbsorption__" + toString(hr))]) | |
1360 | 1362 | } | |
1361 | 1363 | ||
1362 | 1364 | ||
1363 | 1365 | ||
1364 | - | @Callable( | |
1365 | - | func acresStatsREADONLY ( | |
1366 | - | let | |
1367 | - | let | |
1368 | - | let | |
1369 | - | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(O, V), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(O, X))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(O, dE), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(O, dB( | |
1366 | + | @Callable(gG) | |
1367 | + | func acresStatsREADONLY (dY) = { | |
1368 | + | let hs = aJ(invoke(O, "claimAcresREADONLY", [dY], nil)) | |
1369 | + | let ht = aH(hs[0]) | |
1370 | + | let hu = aH(hs[1]) | |
1371 | + | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(O, V), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(O, X))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(O, dE), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(O, dB(dY)), 0))), ("%s%d__acresClaimableByUser__" + toString(ht)), ("%s%d__acresLastClaimTimeByUser__" + toString(hu)), ("%s%d__acresLockedByUser__" + toString(valueOrElse(getInteger(O, dC(dY)), 0))), ("%s%d__acresLockedEtaByUser__" + toString(valueOrElse(getInteger(O, dD(dY)), 0)))]) | |
1370 | 1372 | } | |
1371 | 1373 | ||
1372 | 1374 | ||
1373 | 1375 | ||
1374 | - | @Callable( | |
1375 | - | func testV4 () = $Tuple2(nil, | |
1376 | + | @Callable(gG) | |
1377 | + | func testV4 () = $Tuple2(nil, gz(nil)) | |
1376 | 1378 | ||
1377 | 1379 | ||
1378 | 1380 | ||
1379 | - | @Callable( | |
1381 | + | @Callable(gG) | |
1380 | 1382 | func promo2StatsREADONLY () = { | |
1381 | - | let | |
1382 | - | $Tuple2(nil, if (( | |
1383 | + | let gE = valueOrElse(getString(O, h), "") | |
1384 | + | $Tuple2(nil, if ((gE == "")) | |
1383 | 1385 | then nil | |
1384 | - | else split_51C( | |
1386 | + | else split_51C(gE, "_")) | |
1385 | 1387 | } | |
1386 | 1388 | ||
1387 | 1389 | ||
1388 | 1390 | ||
1389 | - | @Callable( | |
1391 | + | @Callable(gG) | |
1390 | 1392 | func promo2StatsByUserREADONLY (aP) = { | |
1391 | - | let | |
1392 | - | $Tuple2(nil, [((("%s%s%b__promo2AddressAwarded__" + aP) + "__") + toString( | |
1393 | + | let hp = valueOrElse(getBoolean(O, cp(2, aP)), false) | |
1394 | + | $Tuple2(nil, [((("%s%s%b__promo2AddressAwarded__" + aP) + "__") + toString(hp))]) | |
1393 | 1395 | } | |
1394 | 1396 | ||
1395 | 1397 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = false | |
5 | 5 | ||
6 | 6 | let b = take(drop(this.bytes, 1), 1) | |
7 | 7 | ||
8 | 8 | let c = { | |
9 | 9 | let d = b | |
10 | 10 | if ((base58'2W' == d)) | |
11 | 11 | then if (a) | |
12 | 12 | then base58'CWsMtTZC5BjjoL4Q1ayW4Wwb1ehGACQB6DrKyPgotKfm' | |
13 | 13 | else base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
14 | 14 | else if ((base58'2T' == d)) | |
15 | 15 | then base58'6LfPuKJjLgekmncBhMg2LZyMTNVzZBccXR28ySXm9uXD' | |
16 | 16 | else throw("Unknown chain") | |
17 | 17 | } | |
18 | 18 | ||
19 | 19 | let e = { | |
20 | 20 | let d = b | |
21 | 21 | if ((base58'2W' == d)) | |
22 | 22 | then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi' | |
23 | 23 | else if ((base58'2T' == d)) | |
24 | 24 | then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63' | |
25 | 25 | else throw("Unknown chain") | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | let f = { | |
29 | 29 | let d = b | |
30 | 30 | if ((base58'2W' == d)) | |
31 | 31 | then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv" | |
32 | 32 | else if ((base58'2T' == d)) | |
33 | 33 | then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy" | |
34 | 34 | else throw("Unknown chain") | |
35 | 35 | } | |
36 | 36 | ||
37 | 37 | let g = { | |
38 | 38 | let d = b | |
39 | 39 | if ((base58'2W' == d)) | |
40 | 40 | then 10000000000 | |
41 | 41 | else if ((base58'2T' == d)) | |
42 | 42 | then 100000000 | |
43 | 43 | else throw("Unknown chain") | |
44 | 44 | } | |
45 | 45 | ||
46 | 46 | let h = "promo2Map" | |
47 | 47 | ||
48 | 48 | let i = "__" | |
49 | 49 | ||
50 | 50 | let j = 1000000 | |
51 | 51 | ||
52 | 52 | let k = 100000000 | |
53 | 53 | ||
54 | 54 | let l = 25 | |
55 | 55 | ||
56 | 56 | let m = 100 | |
57 | 57 | ||
58 | 58 | let n = 225 | |
59 | 59 | ||
60 | 60 | let o = 400 | |
61 | 61 | ||
62 | 62 | let p = 625 | |
63 | 63 | ||
64 | 64 | func q (r,s) = valueOrErrorMessage(getString(r, s), makeString(["mandatory ", toString(r), ".", s, " is not defined"], "")) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | let t = 1 | |
68 | 68 | ||
69 | 69 | let u = 2 | |
70 | 70 | ||
71 | 71 | let v = 4 | |
72 | 72 | ||
73 | 73 | let w = 5 | |
74 | 74 | ||
75 | 75 | let x = 6 | |
76 | 76 | ||
77 | 77 | let y = 7 | |
78 | 78 | ||
79 | 79 | let z = 8 | |
80 | 80 | ||
81 | 81 | func A () = "%s__restConfig" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func B () = "%s__restAddr" | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func C (D) = split_4C(q(D, A()), i) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func E (F,G) = valueOrErrorMessage(addressFromString(F[G]), ("Rest cfg doesn't contain address at index " + toString(G))) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | let H = addressFromStringValue(valueOrElse(getString(this, B()), f)) | |
94 | 94 | ||
95 | 95 | let F = C(H) | |
96 | 96 | ||
97 | 97 | let I = E(F, t) | |
98 | 98 | ||
99 | 99 | let J = E(F, u) | |
100 | 100 | ||
101 | 101 | let K = E(F, v) | |
102 | 102 | ||
103 | 103 | let L = E(F, w) | |
104 | 104 | ||
105 | 105 | let M = E(F, x) | |
106 | 106 | ||
107 | 107 | let N = E(F, y) | |
108 | 108 | ||
109 | 109 | let O = E(F, z) | |
110 | 110 | ||
111 | 111 | let P = 0 | |
112 | 112 | ||
113 | 113 | let Q = 1 | |
114 | 114 | ||
115 | 115 | let R = 2 | |
116 | 116 | ||
117 | 117 | let S = 3 | |
118 | 118 | ||
119 | 119 | let T = "wlg_assetId" | |
120 | 120 | ||
121 | 121 | let U = valueOrErrorMessage(getBinary(K, T), "WLGOLD is not issued yet") | |
122 | 122 | ||
123 | 123 | let V = "acresIssuedAmount" | |
124 | 124 | ||
125 | 125 | let W = "acresAssetId" | |
126 | 126 | ||
127 | 127 | let X = valueOrErrorMessage(getBinary(O, W), "ACRES is not issued yet") | |
128 | 128 | ||
129 | 129 | let Y = 0 | |
130 | 130 | ||
131 | 131 | let Z = 1 | |
132 | 132 | ||
133 | 133 | let aa = 2 | |
134 | 134 | ||
135 | 135 | let ab = 3 | |
136 | 136 | ||
137 | 137 | let ac = 4 | |
138 | 138 | ||
139 | 139 | let ad = 5 | |
140 | 140 | ||
141 | 141 | let ae = 6 | |
142 | 142 | ||
143 | 143 | let af = 7 | |
144 | 144 | ||
145 | 145 | let ag = 8 | |
146 | 146 | ||
147 | 147 | let ah = 9 | |
148 | 148 | ||
149 | 149 | let ai = 10 | |
150 | 150 | ||
151 | 151 | let aj = 11 | |
152 | 152 | ||
153 | 153 | let ak = 12 | |
154 | 154 | ||
155 | 155 | let al = 13 | |
156 | 156 | ||
157 | 157 | let am = 14 | |
158 | 158 | ||
159 | 159 | let an = 15 | |
160 | 160 | ||
161 | 161 | let ao = 16 | |
162 | 162 | ||
163 | 163 | let ap = 17 | |
164 | 164 | ||
165 | 165 | let aq = 18 | |
166 | 166 | ||
167 | 167 | let ar = 19 | |
168 | 168 | ||
169 | 169 | let as = 20 | |
170 | 170 | ||
171 | 171 | let at = 21 | |
172 | 172 | ||
173 | 173 | let au = 22 | |
174 | 174 | ||
175 | 175 | let av = 23 | |
176 | 176 | ||
177 | 177 | let aw = 24 | |
178 | 178 | ||
179 | 179 | let ax = 25 | |
180 | 180 | ||
181 | 181 | let ay = 26 | |
182 | 182 | ||
183 | 183 | let az = 1 | |
184 | 184 | ||
185 | 185 | func aA () = "resTypesProportions" | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func aB (aC) = ("stakedLandsByOwner_" + aC) | |
189 | 189 | ||
190 | 190 | ||
191 | 191 | func aD (aC) = ("stakedPiecesByOwner_" + aC) | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func aE (aF) = { | |
195 | 195 | let d = aF | |
196 | 196 | if ($isInstanceOf(d, "String")) | |
197 | 197 | then { | |
198 | 198 | let aG = d | |
199 | 199 | aG | |
200 | 200 | } | |
201 | 201 | else throw("fail to cast into String") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func aH (aF) = { | |
206 | 206 | let d = aF | |
207 | 207 | if ($isInstanceOf(d, "Int")) | |
208 | 208 | then { | |
209 | 209 | let aI = d | |
210 | 210 | aI | |
211 | 211 | } | |
212 | 212 | else throw("fail to cast into Int") | |
213 | 213 | } | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aJ (aF) = { | |
217 | 217 | let d = aF | |
218 | 218 | if ($isInstanceOf(d, "List[Any]")) | |
219 | 219 | then { | |
220 | 220 | let aK = d | |
221 | 221 | aK | |
222 | 222 | } | |
223 | 223 | else throw("fail to cast into List[Any]") | |
224 | 224 | } | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aL (aM) = { | |
228 | 228 | let d = aM | |
229 | 229 | if (("S" == d)) | |
230 | 230 | then l | |
231 | 231 | else if (("M" == d)) | |
232 | 232 | then m | |
233 | 233 | else if (("L" == d)) | |
234 | 234 | then n | |
235 | 235 | else if (("XL" == d)) | |
236 | 236 | then o | |
237 | 237 | else if (("XXL" == d)) | |
238 | 238 | then p | |
239 | 239 | else throw("Unknown land size") | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func aN () = "contractsBlocked" | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aO (aP) = ("lastWeekTxIdByUser_" + aP) | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | func aQ (aR) = { | |
250 | 250 | let aS = split(valueOrElse(getString(I, aA()), "0_0_0_0_0_0"), "_") | |
251 | 251 | func aT (aU,aV) = (aU + parseIntValue(aV)) | |
252 | 252 | ||
253 | 253 | let aW = { | |
254 | 254 | let aX = aS | |
255 | 255 | let aY = size(aX) | |
256 | 256 | let aZ = 0 | |
257 | 257 | func ba (bb,bc) = if ((bc >= aY)) | |
258 | 258 | then bb | |
259 | 259 | else aT(bb, aX[bc]) | |
260 | 260 | ||
261 | 261 | func bd (bb,bc) = if ((bc >= aY)) | |
262 | 262 | then bb | |
263 | 263 | else throw("List size exceeds 6") | |
264 | 264 | ||
265 | 265 | bd(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6) | |
266 | 266 | } | |
267 | 267 | let be = valueOrElse(getInteger(I, aD(aR)), 0) | |
268 | 268 | [aW, be] | |
269 | 269 | } | |
270 | 270 | ||
271 | 271 | ||
272 | 272 | let bf = "PRESALE" | |
273 | 273 | ||
274 | 274 | let bg = "ONBOARD" | |
275 | 275 | ||
276 | 276 | let bh = 6 | |
277 | 277 | ||
278 | 278 | let bi = 3456000 | |
279 | 279 | ||
280 | 280 | let bj = 10000000000 | |
281 | 281 | ||
282 | 282 | let bk = 39637 | |
283 | 283 | ||
284 | 284 | let bl = 10 | |
285 | 285 | ||
286 | 286 | let bm = 4 | |
287 | 287 | ||
288 | 288 | let bn = 10 | |
289 | 289 | ||
290 | 290 | let bo = 10000000 | |
291 | 291 | ||
292 | 292 | let bp = ["8_8_8_17_17_42_12_0_30_0,0,0,0,0,0,0_", "8_8_8_17_17_42_24_0_60_0,0,5,2,0,0,0_", "8_8_8_17_17_42_36_0_120_0,0,10,4,0,0,0_", "8_19_19_8_27_19_26_1_20_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_52_1_40_0,0,0,0,0,0,0_001", "8_19_19_8_27_19_78_1_80_0,0,0,0,0,0,0_001", "8_8_8_8_8_60_13_2_2_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_26_2_4_0,0,0,0,0,0,0_011", "8_8_8_8_8_60_39_2_8_0,0,0,0,0,0,0_011", "30_30_3_17_17_3_30_3_30_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_60_3_50_0,0,0,0,0,0,0_111", "30_30_3_17_17_3_90_3_70_0,0,0,0,0,0,0_111", "18_18_10_18_18_18_11_4_10_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_22_4_20_0,0,0,0,0,0,0_201", "18_18_10_18_18_18_33_4_30_0,0,0,0,0,0,0_201", "4_13_22_4_35_22_23_0_50,1,0_0,0,0,0,0,0,0_", "4_13_22_4_35_22_46_0_50,1,1_0,2,5,0,0,0,0_", "4_13_22_4_35_22_69_0_50,2,1_0,5,10,0,0,0,0_", "5_25_40_5_10_15_20_1_30,1,1_0,0,0,0,0,0,0_", "5_25_40_5_10_15_40_1_30,1,2_2,1,3,0,0,0,0_", "5_25_40_5_10_15_60_1_30,1,3_5,2,8,0,0,0,0_", "23_23_5_20_23_6_35_2_100_0,0,0,0,0,0,0_", "23_23_5_20_23_6_70_2_150_0,0,0,0,0,0,0_", "23_23_5_20_23_6_105_2_200_0,0,0,0,0,0,0_"] | |
293 | 293 | ||
294 | 294 | let bq = 6 | |
295 | 295 | ||
296 | 296 | let br = 8 | |
297 | 297 | ||
298 | 298 | let bs = 10 | |
299 | 299 | ||
300 | 300 | func bt (bu) = ("no_" + bu) | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func bv (bu) = ("lcna_" + bu) | |
304 | 304 | ||
305 | 305 | ||
306 | 306 | func bw (bu) = ("st_" + bu) | |
307 | 307 | ||
308 | 308 | ||
309 | 309 | func bx (by,bu) = makeString(["las", by, bu], "_") | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | func bz (bA) = ("wh_" + bA) | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func bB (bu) = ("infraLevel_" + bu) | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func bC (bu) = ("duckCustomNameByAssetId_" + bu) | |
319 | 319 | ||
320 | 320 | ||
321 | 321 | func bD (aP) = ("accountCustomNameByAddr_" + aP) | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | func bE (aP) = ("accRefBy_" + aP) | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | func bF (aP) = ("onboardArtActivatedDuckBy_" + aP) | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | func bG (aP) = ("accReferrals_" + aP) | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func bH (bu) = ("duckOwner_" + bu) | |
334 | 334 | ||
335 | 335 | ||
336 | 336 | func bI (aC) = ("stakedDuckByOwner_" + aC) | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | func bJ (bK) = ("duckLocation_" + bK) | |
340 | 340 | ||
341 | 341 | ||
342 | 342 | func bL (bA) = ("landOrder_" + bA) | |
343 | 343 | ||
344 | 344 | ||
345 | 345 | func bM () = "emergencyWarehouseProducts" | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | let bN = "%s__lastTourId" | |
349 | 349 | ||
350 | 350 | func bO (bP) = ("%s%d__tourStaticData__" + toString(bP)) | |
351 | 351 | ||
352 | 352 | ||
353 | 353 | func bQ (bP) = ("%s%d__tourDynamicData__" + toString(bP)) | |
354 | 354 | ||
355 | 355 | ||
356 | 356 | func bR (bP) = ("%s%d__scoreBoard__" + toString(bP)) | |
357 | 357 | ||
358 | 358 | ||
359 | 359 | func bS (bP,bK) = makeString(["%s%d%s__isRegisteredByTourAndDuck", toString(bP), bK], "__") | |
360 | 360 | ||
361 | 361 | ||
362 | 362 | func bT (bP,bK) = makeString(["%s%d%s__isAwardedByTourAndDuck", toString(bP), bK], "__") | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | func bU (bP,bK) = makeString(["%s%d%s__lastAttemptByTourAndDuck", toString(bP), bK], "__") | |
366 | 366 | ||
367 | 367 | ||
368 | 368 | func bV (bP,bK) = makeString(["%s%d%s__bestResultByTourAndDuck", toString(bP), bK], "__") | |
369 | 369 | ||
370 | 370 | ||
371 | 371 | func bW (bP,bK) = makeString(["%s%d%s__bestTxByTourAndDuck", toString(bP), bK], "__") | |
372 | 372 | ||
373 | 373 | ||
374 | 374 | let bX = 0 | |
375 | 375 | ||
376 | 376 | let bY = 1 | |
377 | 377 | ||
378 | 378 | let bZ = 2 | |
379 | 379 | ||
380 | 380 | let ca = 3 | |
381 | 381 | ||
382 | 382 | let cb = 5 | |
383 | 383 | ||
384 | 384 | let cc = 6 | |
385 | 385 | ||
386 | 386 | let cd = 7 | |
387 | 387 | ||
388 | 388 | let ce = 8 | |
389 | 389 | ||
390 | 390 | let cf = 9 | |
391 | 391 | ||
392 | 392 | let cg = 1 | |
393 | 393 | ||
394 | 394 | let ch = 2 | |
395 | 395 | ||
396 | 396 | let ci = 3 | |
397 | 397 | ||
398 | 398 | let cj = 4 | |
399 | 399 | ||
400 | 400 | let ck = 5 | |
401 | 401 | ||
402 | 402 | func cl (cm,bP) = { | |
403 | 403 | let cn = split(valueOrErrorMessage(getString(cm, bO(bP)), (("Error reading tournament " + toString(bP)) + " data")), "__") | |
404 | 404 | let co = split_4C(valueOrErrorMessage(getString(cm, bQ(bP)), (("Error reading tournament " + toString(bP)) + " data")), "__") | |
405 | 405 | [cn, co] | |
406 | 406 | } | |
407 | 407 | ||
408 | 408 | ||
409 | 409 | func cp (cq,aP) = makeString(["%s%d%s__isAwardedByPromoAndUser", toString(cq), aP], "__") | |
410 | 410 | ||
411 | 411 | ||
412 | 412 | func cr (cs) = (parseIntValue(cs[bq]) * bo) | |
413 | 413 | ||
414 | 414 | ||
415 | 415 | let ct = 100000000 | |
416 | 416 | ||
417 | 417 | let cu = 2 | |
418 | 418 | ||
419 | 419 | let cv = 3 | |
420 | 420 | ||
421 | 421 | let cw = 4 | |
422 | 422 | ||
423 | 423 | let cx = 1 | |
424 | 424 | ||
425 | 425 | let cy = 2 | |
426 | 426 | ||
427 | 427 | func cz (bK) = ("duckHealth_" + bK) | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | func cA (bK) = ("duckChars_" + bK) | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | func cB (bK) = ("duckXP_" + bK) | |
434 | 434 | ||
435 | 435 | ||
436 | 436 | func cC (bK) = ("duckLevel_" + bK) | |
437 | 437 | ||
438 | 438 | ||
439 | 439 | func cD (bK) = ("duckFreePoints_" + bK) | |
440 | 440 | ||
441 | 441 | ||
442 | 442 | func cE (bK) = ("duckEquipment_" + bK) | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | func cF (aP) = ("userXP_" + aP) | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | func cG (aP) = ("userLevel_" + aP) | |
449 | 449 | ||
450 | 450 | ||
451 | 451 | func cH (aP) = ("userFreePoints_" + aP) | |
452 | 452 | ||
453 | 453 | ||
454 | 454 | func cI (bK) = ("duckBuffs_" + bK) | |
455 | 455 | ||
456 | 456 | ||
457 | 457 | func cJ (bK) = ("totalRobberyCountByDuck_" + bK) | |
458 | 458 | ||
459 | 459 | ||
460 | 460 | func cK (bK) = ("totalDeliveryCountByDuck_" + bK) | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | func cL (aP) = ("userDeliveryCount_" + aP) | |
464 | 464 | ||
465 | 465 | ||
466 | 466 | func cM (aP) = ("userLastDeliveryDay_" + aP) | |
467 | 467 | ||
468 | 468 | ||
469 | 469 | func cN (cO) = (100 + cO) | |
470 | 470 | ||
471 | 471 | ||
472 | 472 | func cP (aF) = { | |
473 | 473 | let cQ = (2 * aF) | |
474 | 474 | let cR = pow(271828183, 8, cQ, 8, 8, HALFUP) | |
475 | 475 | fraction((cR - ct), ct, (cR + ct), HALFUP) | |
476 | 476 | } | |
477 | 477 | ||
478 | 478 | ||
479 | 479 | func cS (cT,cU,cV) = { | |
480 | 480 | let cW = (parseIntValue(cT[cu]) + parseIntValue(cU[cu])) | |
481 | 481 | let cX = (parseIntValue(cT[cw]) + parseIntValue(cU[cw])) | |
482 | 482 | let cY = (cP(fraction(cX, ct, 200)) / 4) | |
483 | 483 | let cZ = fraction(cV, (ct + fraction(7000000, cW, (1 + cW), HALFUP)), 100, HALFUP) | |
484 | 484 | (cY + cZ) | |
485 | 485 | } | |
486 | 486 | ||
487 | 487 | ||
488 | 488 | func da (cT,cU,db) = { | |
489 | 489 | let cW = (parseIntValue(cT[cu]) + parseIntValue(cU[cu])) | |
490 | 490 | let dc = (parseIntValue(cT[cv]) + parseIntValue(cU[cv])) | |
491 | 491 | let cX = (parseIntValue(cT[cw]) + parseIntValue(cU[cw])) | |
492 | 492 | let cY = (db * (ct + fraction(14000000, cW, (1 + cW), HALFUP))) | |
493 | 493 | let cZ = (sqrt(cX, 0, 8, HALFUP) / 10) | |
494 | 494 | let dd = ((ct / 5) * dc) | |
495 | 495 | ((cY + cZ) + dd) | |
496 | 496 | } | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | let de = 1000000 | |
500 | 500 | ||
501 | 501 | let df = 100000000 | |
502 | 502 | ||
503 | 503 | let dg = 100000000000000 | |
504 | 504 | ||
505 | 505 | let dh = 200000 | |
506 | 506 | ||
507 | 507 | let di = 100000 | |
508 | 508 | ||
509 | 509 | let dj = 400000 | |
510 | 510 | ||
511 | 511 | let dk = 31557600000 | |
512 | 512 | ||
513 | 513 | let dl = 86400000 | |
514 | 514 | ||
515 | 515 | let dm = 50000 | |
516 | 516 | ||
517 | 517 | let dn = take(drop(this.bytes, 1), 1) | |
518 | 518 | ||
519 | 519 | let do = { | |
520 | 520 | let d = dn | |
521 | 521 | if ((base58'2W' == d)) | |
522 | 522 | then 1208630000 | |
523 | 523 | else if ((base58'2T' == d)) | |
524 | 524 | then 0 | |
525 | 525 | else throw("Unknown chain") | |
526 | 526 | } | |
527 | 527 | ||
528 | 528 | let dp = "teamAddr" | |
529 | 529 | ||
530 | 530 | let dq = "lastClaimedTime_team" | |
531 | 531 | ||
532 | 532 | let dr = "teamAmountLeft" | |
533 | 533 | ||
534 | 534 | let ds = "lastClaimedTime_activities" | |
535 | 535 | ||
536 | 536 | let dt = "activitiesAmountLeft" | |
537 | 537 | ||
538 | 538 | let du = "stakersAmountLeft" | |
539 | 539 | ||
540 | 540 | func dv (aP) = ("lastClaimedTimeUserOld_" + aP) | |
541 | 541 | ||
542 | 542 | ||
543 | 543 | func dw (dx) = fraction(dg, (dj * (dx + 1)), (6 * de)) | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | let dy = "wlg_issueTime" | |
547 | 547 | ||
548 | 548 | let dz = "wlg_issuedAmount" | |
549 | 549 | ||
550 | 550 | let dA = "zbill_issuedAmount" | |
551 | 551 | ||
552 | 552 | func dB (aP) = ("acresStakedAmountByUser_" + aP) | |
553 | 553 | ||
554 | 554 | ||
555 | 555 | func dC (aP) = ("acresLockedAmountByUser_" + aP) | |
556 | 556 | ||
557 | 557 | ||
558 | 558 | func dD (aP) = ("acresLockedEtaByUser_" + aP) | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | let dE = "acresStakedAmountTotal" | |
562 | 562 | ||
563 | 563 | func dF (aP) = ("wlgStakedAmountByUser_" + aP) | |
564 | 564 | ||
565 | 565 | ||
566 | 566 | let dG = 0 | |
567 | 567 | ||
568 | 568 | let dH = 1 | |
569 | 569 | ||
570 | 570 | let dI = 2 | |
571 | 571 | ||
572 | 572 | let dJ = 3 | |
573 | 573 | ||
574 | 574 | let dK = 4 | |
575 | 575 | ||
576 | 576 | let dL = 5 | |
577 | 577 | ||
578 | 578 | let dM = 6 | |
579 | 579 | ||
580 | 580 | func dN (aR,I,O) = { | |
581 | 581 | let aS = split(valueOrElse(getString(I, "resTypesProportions"), "0_0_0_0_0_0"), "_") | |
582 | 582 | func aT (aU,aV) = (aU + parseIntValue(aV)) | |
583 | 583 | ||
584 | 584 | let dO = { | |
585 | 585 | let aX = aS | |
586 | 586 | let aY = size(aX) | |
587 | 587 | let aZ = 0 | |
588 | 588 | func ba (bb,bc) = if ((bc >= aY)) | |
589 | 589 | then bb | |
590 | 590 | else aT(bb, aX[bc]) | |
591 | 591 | ||
592 | 592 | func bd (bb,bc) = if ((bc >= aY)) | |
593 | 593 | then bb | |
594 | 594 | else throw("List size exceeds 6") | |
595 | 595 | ||
596 | 596 | bd(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6) | |
597 | 597 | } | |
598 | 598 | let dP = valueOrElse(getInteger(I, ("stakedPiecesByOwner_" + aR)), 0) | |
599 | 599 | let dQ = valueOrElse(getInteger(O, dE), 0) | |
600 | 600 | let dR = valueOrElse(getInteger(O, dB(aR)), 0) | |
601 | 601 | [dO, dP, dQ, dR] | |
602 | 602 | } | |
603 | 603 | ||
604 | 604 | ||
605 | 605 | let dS = 0 | |
606 | 606 | ||
607 | 607 | let dT = 1 | |
608 | 608 | ||
609 | 609 | let dU = 2 | |
610 | 610 | ||
611 | 611 | let dV = 3 | |
612 | 612 | ||
613 | - | func dW (dX,dY,dZ,ea,eb) = { | |
614 | - | let ec = valueOrErrorMessage(getInteger(dY[dJ], dz), "WLGOLD is not issued yet") | |
615 | - | let ed = assetBalance(dY[dI], dZ) | |
616 | - | let ee = assetBalance(dY[dG], dZ) | |
617 | - | let ef = (assetBalance(dY[dJ], dZ) - ea) | |
618 | - | let eg = assetBalance(dY[dK], dZ) | |
619 | - | let eh = dY[dL] | |
620 | - | let ei = (assetBalance(eh, dZ) + valueOrElse(getInteger(eh, dA), 0)) | |
621 | - | let ej = ((ed + ef) + ei) | |
622 | - | let ek = valueOrErrorMessage(getBinary(dY[dJ], "wlg_assetId"), "Not initialized yet") | |
623 | - | let el = lastBlock.timestamp | |
624 | - | let em = valueOrErrorMessage(getInteger(dY[dJ], dy), "Not initialized") | |
625 | - | let en = assetBalance(dY[dH], ek) | |
626 | - | let eo = fraction(dg, dh, de) | |
627 | - | let ep = valueOrElse(getInteger(dY[dJ], dr), eo) | |
628 | - | let eq = valueOrElse(getInteger(dY[dJ], dq), em) | |
629 | - | let er = addressFromStringValue(value(getString(dY[dJ], dp))) | |
630 | - | let es = min([fraction(eo, (el - eq), (3 * dk)), ep]) | |
631 | - | let et = assetBalance(er, ek) | |
632 | - | let eu = fraction(dg, di, de) | |
633 | - | let ev = valueOrElse(getInteger(dY[dJ], dt), eu) | |
634 | - | let ew = valueOrElse(getInteger(dY[dJ], ds), em) | |
635 | - | let ex = min([fraction(eu, (el - ew), (3 * dk)), ev]) | |
636 | - | let ey = assetBalance(dY[dG], ek) | |
637 | - | let ez = valueOrElse(getInteger(dY[dJ], dv(dX)), em) | |
638 | - | let eA = ((ez - em) / dk) | |
639 | - | let eB = min([el, (em + (3 * dk))]) | |
640 | - | let eC = min([((el - em) / dk), 2]) | |
641 | - | let eD = dN(dX, dY[dH], dY[dM]) | |
642 | - | let eE = dw(eC) | |
643 | - | let eF = if ((eA == eC)) | |
613 | + | let dW = 1733335200000 | |
614 | + | ||
615 | + | func dX (dY,dZ,ea,eb,ec) = { | |
616 | + | let ed = valueOrErrorMessage(getInteger(dZ[dJ], dz), "WLGOLD is not issued yet") | |
617 | + | let ee = assetBalance(dZ[dI], ea) | |
618 | + | let ef = assetBalance(dZ[dG], ea) | |
619 | + | let eg = (assetBalance(dZ[dJ], ea) - eb) | |
620 | + | let eh = assetBalance(dZ[dK], ea) | |
621 | + | let ei = dZ[dL] | |
622 | + | let ej = (assetBalance(ei, ea) + valueOrElse(getInteger(ei, dA), 0)) | |
623 | + | let ek = ((ee + eg) + ej) | |
624 | + | let el = valueOrErrorMessage(getBinary(dZ[dJ], "wlg_assetId"), "Not initialized yet") | |
625 | + | let em = lastBlock.timestamp | |
626 | + | let en = valueOrErrorMessage(getInteger(dZ[dJ], dy), "Not initialized") | |
627 | + | let eo = assetBalance(dZ[dH], el) | |
628 | + | let ep = fraction(dg, dh, de) | |
629 | + | let eq = valueOrElse(getInteger(dZ[dJ], dr), ep) | |
630 | + | let er = valueOrElse(getInteger(dZ[dJ], dq), en) | |
631 | + | let es = addressFromStringValue(value(getString(dZ[dJ], dp))) | |
632 | + | let et = min([fraction(ep, (em - er), (3 * dk)), eq]) | |
633 | + | let eu = assetBalance(es, el) | |
634 | + | let ev = fraction(dg, di, de) | |
635 | + | let ew = valueOrElse(getInteger(dZ[dJ], dt), ev) | |
636 | + | let ex = valueOrElse(getInteger(dZ[dJ], ds), en) | |
637 | + | let ey = min([fraction(ev, (em - ex), (3 * dk)), ew]) | |
638 | + | let ez = assetBalance(dZ[dG], el) | |
639 | + | let eA = valueOrElse(getInteger(dZ[dJ], dv(dY)), en) | |
640 | + | let eB = ((eA - en) / dk) | |
641 | + | let eC = min([min([em, (en + (3 * dk))]), dW]) | |
642 | + | let eD = min([((em - en) / dk), 2]) | |
643 | + | let eE = dN(dY, dZ[dH], dZ[dM]) | |
644 | + | let eF = dw(eD) | |
645 | + | let eG = if ((eB == eD)) | |
644 | 646 | then { | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | $Tuple3(eH, | |
647 | + | let eH = fraction(eF, (eC - eA), dk) | |
648 | + | let eI = fraction(eH, ec, de) | |
649 | + | let eJ = (eA + fraction((eC - eA), ec, de)) | |
650 | + | $Tuple3(eI, eH, eJ) | |
649 | 651 | } | |
650 | - | else if (( | |
652 | + | else if ((eB == (eD - 1))) | |
651 | 653 | then { | |
652 | - | let | |
653 | - | let | |
654 | - | let | |
655 | - | let | |
656 | - | let | |
657 | - | then ( | |
658 | - | else (( | |
659 | - | $Tuple3( | |
654 | + | let eK = fraction(dw((eD - 1)), ((en + (dk * eD)) - eA), dk) | |
655 | + | let eH = fraction(eF, (eC - (en + (dk * eD))), dk) | |
656 | + | let eL = (eK + eH) | |
657 | + | let eI = fraction(eL, ec, de) | |
658 | + | let eJ = if ((eK >= eI)) | |
659 | + | then (eA + fraction(dk, eI, dw((eD - 1)))) | |
660 | + | else ((en + (dk * eD)) + fraction(dk, (eI - eK), eF)) | |
661 | + | $Tuple3(eI, eL, eJ) | |
660 | 662 | } | |
661 | 663 | else { | |
662 | - | let | |
663 | - | let | |
664 | - | let | |
665 | - | let | |
666 | - | let | |
667 | - | let | |
668 | - | then ( | |
669 | - | else if ((( | |
670 | - | then (( | |
671 | - | else (( | |
672 | - | $Tuple3( | |
664 | + | let eM = fraction(dw((eD - 2)), ((en + (dk * (eD - 1))) - eA), dk) | |
665 | + | let eK = dw((eD - 1)) | |
666 | + | let eH = fraction(eF, (eC - (en + (dk * eD))), dk) | |
667 | + | let eL = ((eM + eK) + eH) | |
668 | + | let eI = fraction(eL, ec, de) | |
669 | + | let eJ = if ((eM >= eI)) | |
670 | + | then (eA + fraction(dk, eI, dw((eD - 2)))) | |
671 | + | else if (((eM + eK) >= eI)) | |
672 | + | then ((en + (dk * (eD - 1))) + fraction(dk, (eI - eM), dw((eD - 1)))) | |
673 | + | else ((en + (dk * eD)) + fraction(dk, ((eI - eM) - eK), eF)) | |
674 | + | $Tuple3(eI, eL, eJ) | |
673 | 675 | } | |
674 | - | let | |
675 | - | let | |
676 | - | let | |
677 | - | let | |
678 | - | let | |
679 | - | let | |
680 | - | let | |
681 | - | let | |
682 | - | let | |
683 | - | [ | |
676 | + | let eN = eG._1 | |
677 | + | let eO = eG._2 | |
678 | + | let eP = eG._3 | |
679 | + | let eQ = fraction(fraction(eF, dl, dk), 25, eE[dS]) | |
680 | + | let eR = valueOrElse(getInteger(dZ[dJ], du), 0) | |
681 | + | let eS = fraction(eN, ((eE[dT] * df) + eE[dV]), ((eE[dS] * df) + eE[dU])) | |
682 | + | let eT = fraction(eS, dm, de) | |
683 | + | let eU = (eS - eT) | |
684 | + | let eV = fraction(eO, ((eE[dT] * df) + eE[dV]), ((eE[dS] * df) + eE[dU])) | |
685 | + | [ed, fraction((ek - do), df, ed), ek, ee, ef, eg, eh, en, er, ep, eq, et, eu, ev, ew, ey, ez, eD, eR, eF, eA, eU, eQ, ej, eV, eP, eo] | |
684 | 686 | } | |
685 | 687 | ||
686 | 688 | ||
687 | - | let | |
689 | + | let eW = 500000 | |
688 | 690 | ||
689 | - | func | |
690 | - | let d = | |
691 | + | func eX (eY) = { | |
692 | + | let d = eY | |
691 | 693 | if ($isInstanceOf(d, "List[Any]")) | |
692 | 694 | then { | |
693 | - | let | |
694 | - | if ((size( | |
695 | - | then throw(("Array size is " + toString(size( | |
695 | + | let eZ = d | |
696 | + | if ((size(eZ) != bh)) | |
697 | + | then throw(("Array size is " + toString(size(eZ)))) | |
696 | 698 | else { | |
697 | - | func | |
698 | - | let | |
699 | - | if ($isInstanceOf( | |
699 | + | func fa (aU,aV) = { | |
700 | + | let fb = aV | |
701 | + | if ($isInstanceOf(fb, "Int")) | |
700 | 702 | then { | |
701 | - | let | |
702 | - | (aU :+ toString( | |
703 | + | let fc = fb | |
704 | + | (aU :+ toString(fc)) | |
703 | 705 | } | |
704 | 706 | else throw("List type is not Int") | |
705 | 707 | } | |
706 | 708 | ||
707 | - | let | |
708 | - | let aX = | |
709 | + | let fd = { | |
710 | + | let aX = eZ | |
709 | 711 | let aY = size(aX) | |
710 | 712 | let aZ = nil | |
711 | 713 | func ba (bb,bc) = if ((bc >= aY)) | |
712 | 714 | then bb | |
713 | - | else | |
715 | + | else fa(bb, aX[bc]) | |
714 | 716 | ||
715 | 717 | func bd (bb,bc) = if ((bc >= aY)) | |
716 | 718 | then bb | |
717 | 719 | else throw("List size exceeds 6") | |
718 | 720 | ||
719 | 721 | bd(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6) | |
720 | 722 | } | |
721 | - | makeString( | |
723 | + | makeString(fd, "_") | |
722 | 724 | } | |
723 | 725 | } | |
724 | 726 | else throw("fail to cast into List") | |
725 | 727 | } | |
726 | 728 | ||
727 | 729 | ||
728 | - | func | |
729 | - | let d = | |
730 | + | func fe (eY) = { | |
731 | + | let d = eY | |
730 | 732 | if ($isInstanceOf(d, "(List[Any], List[Any])")) | |
731 | 733 | then { | |
732 | - | let | |
733 | - | $Tuple2( | |
734 | + | let ff = d | |
735 | + | $Tuple2(eX(ff._1), eX(ff._2)) | |
734 | 736 | } | |
735 | 737 | else throw("fail to cast into (List, List)") | |
736 | 738 | } | |
737 | 739 | ||
738 | 740 | ||
739 | - | func | |
740 | - | let d = | |
741 | + | func fg (eY) = { | |
742 | + | let d = eY | |
741 | 743 | if ($isInstanceOf(d, "(Boolean, String)")) | |
742 | 744 | then { | |
743 | - | let | |
744 | - | | |
745 | + | let ff = d | |
746 | + | ff | |
745 | 747 | } | |
746 | 748 | else throw("fail to cast into (Boolean, String)") | |
747 | 749 | } | |
748 | 750 | ||
749 | 751 | ||
750 | - | func | |
751 | - | let aP = addressFromString( | |
752 | - | let | |
752 | + | func fh (fi) = { | |
753 | + | let aP = addressFromString(fi) | |
754 | + | let fj = if (isDefined(aP)) | |
753 | 755 | then wavesBalance(value(aP)) | |
754 | 756 | else BalanceDetails(0, 0, 0, 0) | |
755 | - | let | |
757 | + | let fk = if (isDefined(aP)) | |
756 | 758 | then assetBalance(value(aP), e) | |
757 | 759 | else 0 | |
758 | - | let | |
760 | + | let fl = if (isDefined(aP)) | |
759 | 761 | then assetBalance(value(aP), U) | |
760 | 762 | else 0 | |
761 | - | let | |
762 | - | let | |
763 | - | let | |
764 | - | let | |
765 | - | let | |
766 | - | let | |
767 | - | let | |
768 | - | let | |
769 | - | let | |
770 | - | let | |
771 | - | let | |
772 | - | if ($isInstanceOf( | |
773 | - | then | |
774 | - | else throw(($getType( | |
763 | + | let fm = valueOrElse(getString(I, bD(fi)), fi) | |
764 | + | let fn = bE(fi) | |
765 | + | let fo = getString(I, fn) | |
766 | + | let fp = valueOrElse(getString(I, bG(fi)), "") | |
767 | + | let fq = valueOrElse(getString(I, aO(fi)), "") | |
768 | + | let fr = aQ(fi)[az] | |
769 | + | let fs = valueOrElse(getInteger(I, cF(fi)), 0) | |
770 | + | let ft = valueOrElse(getInteger(I, cG(fi)), 0) | |
771 | + | let fu = valueOrElse(getInteger(I, cH(fi)), 0) | |
772 | + | let fv = { | |
773 | + | let fw = invoke(K, "checkWlgXpREADONLY", [fi], nil) | |
774 | + | if ($isInstanceOf(fw, "List[Any]")) | |
775 | + | then fw | |
776 | + | else throw(($getType(fw) + " couldn't be cast to List[Any]")) | |
775 | 777 | } | |
776 | - | let | |
777 | - | let | |
778 | + | let fx = valueOrElse(getInteger(K, dF(fi)), 0) | |
779 | + | let fy = if (isDefined(fo)) | |
778 | 780 | then (bg + (if (if (isDefined(aP)) | |
779 | - | then isDefined(getString(I, bF( | |
781 | + | then isDefined(getString(I, bF(fi))) | |
780 | 782 | else false) | |
781 | 783 | then ":1" | |
782 | 784 | else ":0")) | |
783 | 785 | else "" | |
784 | - | let | |
786 | + | let fz = if (isDefined(aP)) | |
785 | 787 | then assetBalance(value(aP), X) | |
786 | 788 | else 0 | |
787 | - | let | |
788 | - | let | |
789 | - | let | |
790 | - | [("%s%s__customName__" + | |
791 | - | let | |
792 | - | if ($isInstanceOf( | |
793 | - | then | |
794 | - | else throw(($getType( | |
789 | + | let fA = valueOrElse(getInteger(O, dB(fi)), 0) | |
790 | + | let fB = valueOrElse(getInteger(I, cL(fi)), 0) | |
791 | + | let fC = valueOrElse(getInteger(I, cM(fi)), 0) | |
792 | + | [("%s%s__customName__" + fm), ("%s%s__referredBy__" + valueOrElse(fo, "")), ("%s%s__referrals__" + fp), ("%s%s__lastTxId__" + fq), ("%s%d__wavesBalance__" + toString(fj.available)), ("%s%d__wlgoldBalance__" + toString(fl)), ("%s%d__usdtBalance__" + toString(fk)), ("%s%d__stakedPieces__" + toString(fr)), ("%s%d__acresBalance__" + toString(fz)), ("%s%d__stakedAcres__" + toString(fA)), ("%s%d__currentXp__" + toString(fs)), ("%s%d__currentLvl__" + toString(ft)), ("%s%d__pointsToDistribute__" + toString(fu)), ("%s%s__walletArtefacts__" + fy), ("%s%d__stakedWlgold__" + toString(fx)), ("%s%d__virtLevel__" + toString({ | |
793 | + | let fw = fv[0] | |
794 | + | if ($isInstanceOf(fw, "Int")) | |
795 | + | then fw | |
796 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
795 | 797 | })), ("%s%d__virtPoints__" + toString({ | |
796 | - | let | |
797 | - | if ($isInstanceOf( | |
798 | - | then | |
799 | - | else throw(($getType( | |
798 | + | let fw = fv[1] | |
799 | + | if ($isInstanceOf(fw, "Int")) | |
800 | + | then fw | |
801 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
800 | 802 | })), ("%s%d__virtXP__" + toString({ | |
801 | - | let | |
802 | - | if ($isInstanceOf( | |
803 | - | then | |
804 | - | else throw(($getType( | |
805 | - | })), ("%s%d__userDeliveryCount__" + toString( | |
803 | + | let fw = fv[2] | |
804 | + | if ($isInstanceOf(fw, "Int")) | |
805 | + | then fw | |
806 | + | else throw(($getType(fw) + " couldn't be cast to Int")) | |
807 | + | })), ("%s%d__userDeliveryCount__" + toString(fB)), ("%s%d__userLastDeliveryDay__" + toString(fC)), ("%s%d__lockedAcres__" + toString(valueOrElse(getInteger(O, dC(fi)), 0))), ("%s%d__ETALockedAcres__" + toString(valueOrElse(getInteger(O, dD(fi)), 0)))] | |
806 | 808 | } | |
807 | 809 | ||
808 | 810 | ||
809 | - | func | |
810 | - | let | |
811 | - | let | |
812 | - | let | |
813 | - | let | |
814 | - | $Tuple3( | |
811 | + | func fD (bA,fr) = { | |
812 | + | let fE = valueOrElse(getInteger(I, bB(bA)), 0) | |
813 | + | let fF = valueOrElse(getInteger(I, bx(bf, bA)), 0) | |
814 | + | let fG = (fE / 6) | |
815 | + | let fH = (fE / 7) | |
816 | + | $Tuple3(fE, fF, ((bi + fraction(bi, ((fE + fG) + (2 * fH)), 5)) + fraction(bi, fF, (fr * 5)))) | |
815 | 817 | } | |
816 | 818 | ||
817 | 819 | ||
818 | - | func | |
819 | - | let | |
820 | - | ((bj * (parseIntValue( | |
820 | + | func fI (fJ) = { | |
821 | + | let fK = split(fJ, "_") | |
822 | + | ((bj * (parseIntValue(fK[1]) + 1)) * parseIntValue(fK[0])) | |
821 | 823 | } | |
822 | 824 | ||
823 | 825 | ||
824 | - | func | |
825 | - | let | |
826 | - | let | |
827 | - | let | |
828 | - | split( | |
826 | + | func fL (fM,fN,fE) = { | |
827 | + | let fJ = ((toString(fN) + "_") + toString(fE)) | |
828 | + | let fO = toString(fI(fJ)) | |
829 | + | let fP = valueOrElse(getString(I, fM), ((((fJ + ":0_0_0_0_0_0:0_0_0_0_0_0::0_0_") + fO) + "_") + fO)) | |
830 | + | split(fP, ":") | |
829 | 831 | } | |
830 | 832 | ||
831 | 833 | ||
832 | - | func | |
833 | - | let | |
834 | - | $Tuple5(valueOrElse(getInteger(I, bw(bK)), -1), value(assetInfo(fromBase58String(bK))).name, valueOrElse(getString(I, bJ(bK)), ""), valueOrElse(getInteger(I, cz(bK)), | |
834 | + | func fQ (bK) = { | |
835 | + | let fR = cN(valueOrElse(getInteger(I, cC(bK)), 0)) | |
836 | + | $Tuple5(valueOrElse(getInteger(I, bw(bK)), -1), value(assetInfo(fromBase58String(bK))).name, valueOrElse(getString(I, bJ(bK)), ""), valueOrElse(getInteger(I, cz(bK)), fR), aE(invoke(I, "getBackpackREADONLY", [bK], nil))) | |
835 | 837 | } | |
836 | 838 | ||
837 | 839 | ||
838 | - | func | |
839 | - | let | |
840 | + | func fS (bK,fT,fU) = { | |
841 | + | let fm = valueOrElse(getString(I, bC(bK)), fU._2) | |
840 | 842 | let cT = valueOrElse(getString(I, cA(bK)), "0_0_0_0_0") | |
841 | - | let | |
842 | - | let | |
843 | - | let | |
844 | - | let | |
843 | + | let fs = valueOrElse(getInteger(I, cB(bK)), 0) | |
844 | + | let ft = valueOrElse(getInteger(I, cC(bK)), 0) | |
845 | + | let fu = valueOrElse(getInteger(I, cD(bK)), 0) | |
846 | + | let fV = valueOrElse(getString(I, cE(bK)), ";_;_;_;_;_;") | |
845 | 847 | let cU = valueOrElse(getString(I, cI(bK)), "0_0_0_0_0") | |
846 | - | let | |
847 | - | let | |
848 | - | [("%s%s__assetId__" + bK), ("%s%s__owner__" + | |
848 | + | let fW = valueOrElse(getInteger(I, cK(bK)), 0) | |
849 | + | let fX = valueOrElse(getInteger(I, cJ(bK)), 0) | |
850 | + | [("%s%s__assetId__" + bK), ("%s%s__owner__" + fT), ("%s%s__customName__" + fm), ("%s%d__stakedTime__" + toString(fU._1)), ("%s%s__name__" + fU._2), ("%s%s__location__" + fU._3), ("%s%d__health__" + toString(fU._4)), ("%s%d__maxHealth__" + toString(cN(ft))), ("%s%s__characteristics__" + cT), ("%s%d__currentXp__" + toString(fs)), ("%s%d__currentLvl__" + toString(ft)), ("%s%d__pointsToDistribute__" + toString(fu)), ("%s%s__backPack__" + fU._5), ("%s%s__equipment__" + fV), ("%s%s__buffs__" + cU), ("%s%d__totalRobberyCount__" + toString(fX)), ("%s%d__totalDeliveryCount__" + toString(fW))] | |
849 | 851 | } | |
850 | 852 | ||
851 | 853 | ||
852 | - | func | |
854 | + | func fY (bA,fT,fZ) = if ((bA == "")) | |
853 | 855 | then throw("landAssetId is required") | |
854 | 856 | else { | |
855 | - | let | |
856 | - | let | |
857 | - | let | |
858 | - | then | |
859 | - | else ("-" + | |
860 | - | let | |
861 | - | let | |
862 | - | let | |
863 | - | let | |
864 | - | then fraction( | |
857 | + | let ga = value(assetInfo(fromBase58String(bA))) | |
858 | + | let gb = split(ga.description, "_") | |
859 | + | let gc = if ((ga.quantity > 0)) | |
860 | + | then gb[P] | |
861 | + | else ("-" + gb[P]) | |
862 | + | let fr = aL(gb[Q]) | |
863 | + | let gd = fD(bA, fr) | |
864 | + | let ge = (lastBlock.timestamp - fZ) | |
865 | + | let gf = if ((fZ > 0)) | |
866 | + | then fraction(ge, (gd._3 * fr), dl) | |
865 | 867 | else 0 | |
866 | - | let | |
867 | - | let | |
868 | - | then | |
869 | - | else $Tuple2( | |
870 | - | let | |
871 | - | [("%s%s__assetId__" + bA), ("%s%s__owner__" + | |
868 | + | let gg = fraction(g, (fr * (gd._1 + 1)), l) | |
869 | + | let gh = if ((fZ > 0)) | |
870 | + | then fe(invoke(I, "splitByGlobalAndLocalWeightsREADONLY", [gg, gf, gb[R]], nil)) | |
871 | + | else $Tuple2(eX(invoke(I, "splitByGlobalWeightsREADONLY", [gg], nil)), "") | |
872 | + | let fm = valueOrElse(getString(I, bv(bA)), ((gb[S] + "-") + gb[P])) | |
873 | + | [("%s%s__assetId__" + bA), ("%s%s__owner__" + fT), ("%s%s__customName__" + fm), ("%s%d__stakedTime__" + toString(fZ)), ("%s%s__description__" + makeString([gc, gb[Q], gb[R], gb[S]], "_")), ("%s%d__infraLevel__" + toString(gd._1)), ("%s%s__availResByType__" + gh._2), ("%s%d__availResTotal__" + toString(gf)), ("%s%s__needMaterial__" + gh._1), ("%s%s__landArtefacts__PRESALE:" + toString(gd._2)), ("%s%s__warehouse__" + makeString(fL(bz(bA), (fr / l), gd._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(J, bL(bA)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
872 | 874 | } | |
873 | 875 | ||
874 | 876 | ||
875 | - | func | |
877 | + | func gi (bA,fT) = if ((bA == "")) | |
876 | 878 | then throw("landAssetId is required") | |
877 | 879 | else { | |
878 | - | let | |
879 | - | let | |
880 | - | let | |
881 | - | let | |
882 | - | [("%s%s__assetId__" + bA), ("%s%s__owner__" + | |
880 | + | let ga = value(assetInfo(fromBase58String(bA))) | |
881 | + | let gb = split(ga.description, "_") | |
882 | + | let fr = aL(gb[Q]) | |
883 | + | let gd = fD(bA, fr) | |
884 | + | [("%s%s__assetId__" + bA), ("%s%s__owner__" + fT), ("%s%s__warehouse__" + makeString(fL(bz(bA), (fr / l), gd._1), ":")), ("%s%s__landOrder__" + valueOrElse(getString(J, bL(bA)), "0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:"))] | |
883 | 885 | } | |
884 | 886 | ||
885 | 887 | ||
886 | - | func | |
888 | + | func gj (gk) = if ((gk == "")) | |
887 | 889 | then 0 | |
888 | 890 | else { | |
889 | - | let | |
890 | - | if (( | |
891 | + | let gl = split(gk, ",")[0] | |
892 | + | if ((gl == "")) | |
891 | 893 | then 0 | |
892 | 894 | else { | |
893 | - | let | |
894 | - | if (if (( | |
895 | + | let gm = split(gl, ":") | |
896 | + | if (if ((gm[1] == "")) | |
895 | 897 | then true | |
896 | - | else (parseIntValue( | |
898 | + | else (parseIntValue(gm[1]) == 0)) | |
897 | 899 | then 0 | |
898 | - | else parseIntValue(split(bp[parseIntValue( | |
900 | + | else parseIntValue(split(bp[parseIntValue(gm[0])], "_")[br]) | |
899 | 901 | } | |
900 | 902 | } | |
901 | 903 | ||
902 | 904 | ||
903 | - | func | |
904 | - | let | |
905 | - | let cn = | |
906 | - | let co = | |
907 | - | let | |
905 | + | func gn (go) = { | |
906 | + | let gp = cl(N, go) | |
907 | + | let cn = gp[bX] | |
908 | + | let co = gp[bY] | |
909 | + | let gq = if ((co[ch] == "")) | |
908 | 910 | then " " | |
909 | 911 | else co[ch] | |
910 | - | let | |
911 | - | let | |
912 | + | let gr = valueOrElse(getString(N, bR(go)), "") | |
913 | + | let gs = if ((size(cn) > cd)) | |
912 | 914 | then cn[cd] | |
913 | 915 | else "0" | |
914 | - | let | |
916 | + | let gt = if ((size(cn) > ce)) | |
915 | 917 | then cn[ce] | |
916 | 918 | else "0" | |
917 | 919 | let bu = if ((size(cn) > cf)) | |
918 | 920 | then fromBase58String(cn[cf]) | |
919 | 921 | else U | |
920 | - | let | |
921 | - | [("%s%s__tournamentStaticData__" + makeString([cn[bZ], cn[ca], cn[cb], cn[cc], | |
922 | + | let gu = valueOrErrorMessage(assetInfo(bu), "No assetInfo available").name | |
923 | + | [("%s%s__tournamentStaticData__" + makeString([cn[bZ], cn[ca], cn[cb], cn[cc], gs, gt, gu], "_")), ("%s%s__tournamentDynamicData__" + makeString_2C([co[cg], gq, co[ci], co[cj], co[ck]], "_")), ("%s%s__tournamentScoreBoard__" + gr)] | |
922 | 924 | } | |
923 | 925 | ||
924 | 926 | ||
925 | - | func | |
926 | - | let | |
927 | - | if (isDefined( | |
928 | - | then value( | |
927 | + | func gv (aP,s) = { | |
928 | + | let gw = getBoolean(aP, s) | |
929 | + | if (isDefined(gw)) | |
930 | + | then value(gw) | |
929 | 931 | else { | |
930 | - | let | |
931 | - | if (isDefined( | |
932 | - | then value( | |
932 | + | let gx = getBinary(aP, s) | |
933 | + | if (isDefined(gx)) | |
934 | + | then value(gx) | |
933 | 935 | else { | |
934 | - | let | |
935 | - | if (isDefined( | |
936 | - | then value( | |
936 | + | let gy = getInteger(aP, s) | |
937 | + | if (isDefined(gy)) | |
938 | + | then value(gy) | |
937 | 939 | else getString(aP, s) | |
938 | 940 | } | |
939 | 941 | } | |
940 | 942 | } | |
941 | 943 | ||
942 | 944 | ||
943 | - | func | |
944 | - | func | |
945 | - | let aP = Address(fromBase58String( | |
946 | - | let | |
947 | - | let | |
948 | - | let d = | |
945 | + | func gz (gA) = { | |
946 | + | func gB (aU,gC) = { | |
947 | + | let aP = Address(fromBase58String(gC._1)) | |
948 | + | let gD = gC._2 | |
949 | + | let gE = { | |
950 | + | let d = gC | |
949 | 951 | if ($isInstanceOf(d, "(String, String, List[Any])")) | |
950 | 952 | then { | |
951 | - | let | |
952 | - | invoke(aP, | |
953 | + | let gF = d | |
954 | + | invoke(aP, gD, gF._3, nil) | |
953 | 955 | } | |
954 | - | else | |
956 | + | else gv(aP, gD) | |
955 | 957 | } | |
956 | - | (aU :+ | |
958 | + | (aU :+ gE) | |
957 | 959 | } | |
958 | 960 | ||
959 | - | let aX = | |
961 | + | let aX = gA | |
960 | 962 | let aY = size(aX) | |
961 | 963 | let aZ = nil | |
962 | 964 | func ba (bb,bc) = if ((bc >= aY)) | |
963 | 965 | then bb | |
964 | - | else | |
966 | + | else gB(bb, aX[bc]) | |
965 | 967 | ||
966 | 968 | func bd (bb,bc) = if ((bc >= aY)) | |
967 | 969 | then bb | |
968 | 970 | else throw("List size exceeds 10") | |
969 | 971 | ||
970 | 972 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
971 | 973 | } | |
972 | 974 | ||
973 | 975 | ||
974 | - | @Callable( | |
975 | - | func constructorV1 ( | |
976 | + | @Callable(gG) | |
977 | + | func constructorV1 (dZ) = if ((gG.caller != this)) | |
976 | 978 | then throw("permissions denied") | |
977 | 979 | else { | |
978 | - | func | |
980 | + | func gH (aU,gI) = (aU + "%s") | |
979 | 981 | ||
980 | - | let | |
981 | - | let aX = | |
982 | + | let gJ = { | |
983 | + | let aX = dZ | |
982 | 984 | let aY = size(aX) | |
983 | 985 | let aZ = "" | |
984 | 986 | func ba (bb,bc) = if ((bc >= aY)) | |
985 | 987 | then bb | |
986 | - | else | |
988 | + | else gH(bb, aX[bc]) | |
987 | 989 | ||
988 | 990 | func bd (bb,bc) = if ((bc >= aY)) | |
989 | 991 | then bb | |
990 | 992 | else throw("List size exceeds 10") | |
991 | 993 | ||
992 | 994 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
993 | 995 | } | |
994 | - | [StringEntry(A(), makeString( | |
996 | + | [StringEntry(A(), makeString(gJ :: dZ, i)), StringEntry(B(), toString(this))] | |
995 | 997 | } | |
996 | 998 | ||
997 | 999 | ||
998 | 1000 | ||
999 | - | @Callable( | |
1000 | - | func walletInfoREADONLY ( | |
1001 | + | @Callable(gG) | |
1002 | + | func walletInfoREADONLY (fi) = $Tuple2(nil, fh(fi)) | |
1001 | 1003 | ||
1002 | 1004 | ||
1003 | 1005 | ||
1004 | - | @Callable( | |
1005 | - | func duckByOwnerInfoREADONLY ( | |
1006 | - | let | |
1007 | - | $Tuple2(nil, if (if (isDefined(addressFromString( | |
1008 | - | then isDefined( | |
1006 | + | @Callable(gG) | |
1007 | + | func duckByOwnerInfoREADONLY (gK) = { | |
1008 | + | let gL = getString(I, bI(gK)) | |
1009 | + | $Tuple2(nil, if (if (isDefined(addressFromString(gK))) | |
1010 | + | then isDefined(gL) | |
1009 | 1011 | else false) | |
1010 | 1012 | then { | |
1011 | - | let bK = value( | |
1012 | - | | |
1013 | + | let bK = value(gL) | |
1014 | + | fS(bK, gK, fQ(bK)) | |
1013 | 1015 | } | |
1014 | - | else | |
1016 | + | else fS("", gK, $Tuple5(-1, "", "", -1, ""))) | |
1015 | 1017 | } | |
1016 | 1018 | ||
1017 | 1019 | ||
1018 | 1020 | ||
1019 | - | @Callable( | |
1021 | + | @Callable(gG) | |
1020 | 1022 | func duckByAssetIdInfoREADONLY (bK) = { | |
1021 | - | let | |
1022 | - | $Tuple2(nil, | |
1023 | - | then value( | |
1024 | - | else "", | |
1023 | + | let fT = getString(I, bH(bK)) | |
1024 | + | $Tuple2(nil, fS(bK, if (isDefined(fT)) | |
1025 | + | then value(fT) | |
1026 | + | else "", fQ(bK))) | |
1025 | 1027 | } | |
1026 | 1028 | ||
1027 | 1029 | ||
1028 | 1030 | ||
1029 | - | @Callable( | |
1030 | - | func ducksByIdsInfoREADONLY ( | |
1031 | - | func | |
1031 | + | @Callable(gG) | |
1032 | + | func ducksByIdsInfoREADONLY (gM) = { | |
1033 | + | func gN (aU,bK) = if ((bK == "")) | |
1032 | 1034 | then throw("duckAssetId is required") | |
1033 | 1035 | else { | |
1034 | - | let | |
1035 | - | let | |
1036 | + | let fZ = valueOrElse(getInteger(I, bw(bK)), -1) | |
1037 | + | let fT = if ((fZ > 0)) | |
1036 | 1038 | then value(getString(I, bH(bK))) | |
1037 | 1039 | else "" | |
1038 | - | (aU :+ | |
1040 | + | (aU :+ fS(bK, fT, fQ(bK))) | |
1039 | 1041 | } | |
1040 | 1042 | ||
1041 | - | let | |
1042 | - | let aX = | |
1043 | + | let fd = { | |
1044 | + | let aX = gM | |
1043 | 1045 | let aY = size(aX) | |
1044 | 1046 | let aZ = nil | |
1045 | 1047 | func ba (bb,bc) = if ((bc >= aY)) | |
1046 | 1048 | then bb | |
1047 | - | else | |
1049 | + | else gN(bb, aX[bc]) | |
1048 | 1050 | ||
1049 | 1051 | func bd (bb,bc) = if ((bc >= aY)) | |
1050 | 1052 | then bb | |
1051 | 1053 | else throw("List size exceeds 100") | |
1052 | 1054 | ||
1053 | 1055 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1054 | 1056 | } | |
1055 | - | $Tuple2(nil, | |
1057 | + | $Tuple2(nil, fd) | |
1056 | 1058 | } | |
1057 | 1059 | ||
1058 | 1060 | ||
1059 | 1061 | ||
1060 | - | @Callable( | |
1062 | + | @Callable(gG) | |
1061 | 1063 | func landByAssetIdInfoREADONLY (bA) = if ((bA == "")) | |
1062 | 1064 | then throw("landAssetId is required") | |
1063 | 1065 | else { | |
1064 | - | let | |
1065 | - | let | |
1066 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1067 | + | let fT = if ((fZ > 0)) | |
1066 | 1068 | then value(getString(I, bt(bA))) | |
1067 | 1069 | else "" | |
1068 | - | $Tuple2(nil, | |
1070 | + | $Tuple2(nil, fY(bA, fT, fZ)) | |
1069 | 1071 | } | |
1070 | 1072 | ||
1071 | 1073 | ||
1072 | 1074 | ||
1073 | - | @Callable( | |
1074 | - | func stakedLandsByOwnerInfoREADONLY ( | |
1075 | + | @Callable(gG) | |
1076 | + | func stakedLandsByOwnerInfoREADONLY (gO) = if ((gO == "")) | |
1075 | 1077 | then throw("landOwnerAddress is required") | |
1076 | 1078 | else { | |
1077 | - | let | |
1078 | - | let | |
1079 | - | then split_51C(value( | |
1079 | + | let gP = getString(I, aB(gO)) | |
1080 | + | let gQ = if (isDefined(gP)) | |
1081 | + | then split_51C(value(gP), "_") | |
1080 | 1082 | else nil | |
1081 | - | func | |
1083 | + | func gR (aU,bA) = if ((bA == "")) | |
1082 | 1084 | then throw("landAssetId is required") | |
1083 | 1085 | else { | |
1084 | - | let | |
1085 | - | (aU :+ | |
1086 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1087 | + | (aU :+ fY(bA, gO, fZ)) | |
1086 | 1088 | } | |
1087 | 1089 | ||
1088 | - | let | |
1089 | - | let aX = | |
1090 | + | let fd = { | |
1091 | + | let aX = gQ | |
1090 | 1092 | let aY = size(aX) | |
1091 | 1093 | let aZ = nil | |
1092 | 1094 | func ba (bb,bc) = if ((bc >= aY)) | |
1093 | 1095 | then bb | |
1094 | - | else | |
1096 | + | else gR(bb, aX[bc]) | |
1095 | 1097 | ||
1096 | 1098 | func bd (bb,bc) = if ((bc >= aY)) | |
1097 | 1099 | then bb | |
1098 | 1100 | else throw("List size exceeds 100") | |
1099 | 1101 | ||
1100 | 1102 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1101 | 1103 | } | |
1102 | - | $Tuple2(nil, | |
1104 | + | $Tuple2(nil, fd) | |
1103 | 1105 | } | |
1104 | 1106 | ||
1105 | 1107 | ||
1106 | 1108 | ||
1107 | - | @Callable( | |
1108 | - | func landsByIdsInfoREADONLY ( | |
1109 | - | func | |
1109 | + | @Callable(gG) | |
1110 | + | func landsByIdsInfoREADONLY (gS) = { | |
1111 | + | func gR (aU,bA) = if ((bA == "")) | |
1110 | 1112 | then throw("landAssetId is required") | |
1111 | 1113 | else { | |
1112 | - | let | |
1113 | - | let | |
1114 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1115 | + | let fT = if ((fZ > 0)) | |
1114 | 1116 | then value(getString(I, bt(bA))) | |
1115 | 1117 | else "" | |
1116 | - | (aU :+ | |
1118 | + | (aU :+ fY(bA, fT, fZ)) | |
1117 | 1119 | } | |
1118 | 1120 | ||
1119 | - | let | |
1120 | - | let aX = | |
1121 | + | let fd = { | |
1122 | + | let aX = gS | |
1121 | 1123 | let aY = size(aX) | |
1122 | 1124 | let aZ = nil | |
1123 | 1125 | func ba (bb,bc) = if ((bc >= aY)) | |
1124 | 1126 | then bb | |
1125 | - | else | |
1127 | + | else gR(bb, aX[bc]) | |
1126 | 1128 | ||
1127 | 1129 | func bd (bb,bc) = if ((bc >= aY)) | |
1128 | 1130 | then bb | |
1129 | 1131 | else throw("List size exceeds 100") | |
1130 | 1132 | ||
1131 | 1133 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
1132 | 1134 | } | |
1133 | - | $Tuple2(nil, | |
1135 | + | $Tuple2(nil, fd) | |
1134 | 1136 | } | |
1135 | 1137 | ||
1136 | 1138 | ||
1137 | 1139 | ||
1138 | - | @Callable( | |
1140 | + | @Callable(gG) | |
1139 | 1141 | func warehouseOrderByAssetIdInfoREADONLY (bA) = if ((bA == "")) | |
1140 | 1142 | then throw("landAssetId is required") | |
1141 | 1143 | else { | |
1142 | - | let | |
1143 | - | let | |
1144 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1145 | + | let fT = if ((fZ > 0)) | |
1144 | 1146 | then value(getString(I, bt(bA))) | |
1145 | 1147 | else "" | |
1146 | - | $Tuple2(nil, | |
1148 | + | $Tuple2(nil, gi(bA, fT)) | |
1147 | 1149 | } | |
1148 | 1150 | ||
1149 | 1151 | ||
1150 | 1152 | ||
1151 | - | @Callable( | |
1152 | - | func ordersByLandIdsInfoREADONLY ( | |
1153 | - | func | |
1153 | + | @Callable(gG) | |
1154 | + | func ordersByLandIdsInfoREADONLY (gS) = { | |
1155 | + | func gR (aU,bA) = if ((bA == "")) | |
1154 | 1156 | then throw("landAssetId is required") | |
1155 | 1157 | else { | |
1156 | - | let | |
1157 | - | let | |
1158 | + | let fZ = valueOrElse(getInteger(I, bw(bA)), -1) | |
1159 | + | let fT = if ((fZ > 0)) | |
1158 | 1160 | then value(getString(I, bt(bA))) | |
1159 | 1161 | else "" | |
1160 | - | (aU :+ | |
1162 | + | (aU :+ gi(bA, fT)) | |
1161 | 1163 | } | |
1162 | 1164 | ||
1163 | - | let | |
1164 | - | let aX = | |
1165 | + | let fd = { | |
1166 | + | let aX = gS | |
1165 | 1167 | let aY = size(aX) | |
1166 | 1168 | let aZ = nil | |
1167 | 1169 | func ba (bb,bc) = if ((bc >= aY)) | |
1168 | 1170 | then bb | |
1169 | - | else | |
1171 | + | else gR(bb, aX[bc]) | |
1170 | 1172 | ||
1171 | 1173 | func bd (bb,bc) = if ((bc >= aY)) | |
1172 | 1174 | then bb | |
1173 | 1175 | else throw("List size exceeds 40") | |
1174 | 1176 | ||
1175 | 1177 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40) | |
1176 | 1178 | } | |
1177 | - | $Tuple2(nil, | |
1179 | + | $Tuple2(nil, fd) | |
1178 | 1180 | } | |
1179 | 1181 | ||
1180 | 1182 | ||
1181 | 1183 | ||
1182 | - | @Callable( | |
1183 | - | func cancelWarehouseOrders ( | |
1184 | + | @Callable(gG) | |
1185 | + | func cancelWarehouseOrders (gS) = if ((gG.caller != this)) | |
1184 | 1186 | then throw("permission denied") | |
1185 | 1187 | else { | |
1186 | - | let | |
1187 | - | if (if (!(isDefined( | |
1188 | + | let gT = getBoolean(I, aN()) | |
1189 | + | if (if (!(isDefined(gT))) | |
1188 | 1190 | then true | |
1189 | - | else (value( | |
1191 | + | else (value(gT) == false)) | |
1190 | 1192 | then throw("Contracts should be blocked before canceling orders") | |
1191 | 1193 | else { | |
1192 | - | func | |
1194 | + | func gR (ga,bA) = if ((bA == "")) | |
1193 | 1195 | then throw("landAssetId is required") | |
1194 | 1196 | else { | |
1195 | - | let | |
1196 | - | if (if ( | |
1197 | + | let gU = fg(invoke(J, "setWarehouseOrder", ["0@0_0@0_0@0_0@0_0@0_0@0:0@0_0@0_0@0_0@0_0@0_0@0:", bA], nil))._1 | |
1198 | + | if (if (ga) | |
1197 | 1199 | then true | |
1198 | - | else | |
1199 | - | then !(if ( | |
1200 | - | then | |
1200 | + | else gU) | |
1201 | + | then !(if (ga) | |
1202 | + | then gU | |
1201 | 1203 | else false) | |
1202 | 1204 | else false | |
1203 | 1205 | } | |
1204 | 1206 | ||
1205 | - | let | |
1206 | - | let aX = | |
1207 | + | let fd = { | |
1208 | + | let aX = gS | |
1207 | 1209 | let aY = size(aX) | |
1208 | 1210 | let aZ = false | |
1209 | 1211 | func ba (bb,bc) = if ((bc >= aY)) | |
1210 | 1212 | then bb | |
1211 | - | else | |
1213 | + | else gR(bb, aX[bc]) | |
1212 | 1214 | ||
1213 | 1215 | func bd (bb,bc) = if ((bc >= aY)) | |
1214 | 1216 | then bb | |
1215 | 1217 | else throw("List size exceeds 30") | |
1216 | 1218 | ||
1217 | 1219 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30) | |
1218 | 1220 | } | |
1219 | - | $Tuple2(nil, | |
1221 | + | $Tuple2(nil, fd) | |
1220 | 1222 | } | |
1221 | 1223 | } | |
1222 | 1224 | ||
1223 | 1225 | ||
1224 | 1226 | ||
1225 | - | @Callable( | |
1226 | - | func distributeLockedAcres ( | |
1227 | - | then ( | |
1227 | + | @Callable(gG) | |
1228 | + | func distributeLockedAcres (gV,gW,gX) = if (if ((gG.caller != this)) | |
1229 | + | then (gG.callerPublicKey != c) | |
1228 | 1230 | else false) | |
1229 | 1231 | then throw("Permission denied") | |
1230 | - | else if ((0 >= | |
1232 | + | else if ((0 >= gW)) | |
1231 | 1233 | then throw("amount should be positive") | |
1232 | - | else if ((0 > | |
1234 | + | else if ((0 > gX)) | |
1233 | 1235 | then throw("lockDays should be non-negative") | |
1234 | 1236 | else { | |
1235 | - | func | |
1237 | + | func gY (aU,aP) = if ((aP == "")) | |
1236 | 1238 | then throw("address is required") | |
1237 | - | else (aU + aH(invoke(O, "sendLockedAcres", [aP, | |
1239 | + | else (aU + aH(invoke(O, "sendLockedAcres", [aP, gW, gX], nil))) | |
1238 | 1240 | ||
1239 | 1241 | let dQ = { | |
1240 | - | let aX = | |
1242 | + | let aX = gV | |
1241 | 1243 | let aY = size(aX) | |
1242 | 1244 | let aZ = 0 | |
1243 | 1245 | func ba (bb,bc) = if ((bc >= aY)) | |
1244 | 1246 | then bb | |
1245 | - | else | |
1247 | + | else gY(bb, aX[bc]) | |
1246 | 1248 | ||
1247 | 1249 | func bd (bb,bc) = if ((bc >= aY)) | |
1248 | 1250 | then bb | |
1249 | 1251 | else throw("List size exceeds 20") | |
1250 | 1252 | ||
1251 | 1253 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
1252 | 1254 | } | |
1253 | 1255 | $Tuple2(nil, dQ) | |
1254 | 1256 | } | |
1255 | 1257 | ||
1256 | 1258 | ||
1257 | 1259 | ||
1258 | - | @Callable( | |
1259 | - | func sendUsdtPrize ( | |
1260 | + | @Callable(gG) | |
1261 | + | func sendUsdtPrize (gK) = if ((gG.caller != I)) | |
1260 | 1262 | then throw("permission denied") | |
1261 | 1263 | else { | |
1262 | - | let | |
1263 | - | $Tuple2([ScriptTransfer(addressFromStringValue( | |
1264 | + | let gZ = fraction(assetBalance(this, e), eW, j) | |
1265 | + | $Tuple2([ScriptTransfer(addressFromStringValue(gK), gZ, e)], gZ) | |
1264 | 1266 | } | |
1265 | 1267 | ||
1266 | 1268 | ||
1267 | 1269 | ||
1268 | - | @Callable( | |
1270 | + | @Callable(gG) | |
1269 | 1271 | func getEmergencyServiceDataREADONLY () = { | |
1270 | - | let | |
1271 | - | let | |
1272 | - | then split_4C(value( | |
1272 | + | let ha = getString(J, bM()) | |
1273 | + | let hb = if (isDefined(ha)) | |
1274 | + | then split_4C(value(ha), "_") | |
1273 | 1275 | else nil | |
1274 | - | func | |
1276 | + | func hc (aU,hd) = { | |
1275 | 1277 | let aI = aU._2 | |
1276 | - | let cs = split( | |
1277 | - | let | |
1278 | + | let cs = split(hd, "_") | |
1279 | + | let he = if ((aI == 0)) | |
1278 | 1280 | then (bl * bs) | |
1279 | 1281 | else 0 | |
1280 | - | let | |
1281 | - | then parseIntValue( | |
1282 | + | let hf = if ((size(hb) > aI)) | |
1283 | + | then parseIntValue(hb[aI]) | |
1282 | 1284 | else 0 | |
1283 | - | let | |
1284 | - | let | |
1285 | - | let | |
1286 | - | let | |
1287 | - | $Tuple2((aU._1 :+ | |
1285 | + | let hg = cr(cs) | |
1286 | + | let hh = fraction((hg * bm), bk, (k * bs)) | |
1287 | + | let hi = fraction((hg * bn), bk, (k * bs)) | |
1288 | + | let hj = makeString([toString(he), toString(hf), toString(hh), toString(hi)], "_") | |
1289 | + | $Tuple2((aU._1 :+ hj), (aI + 1)) | |
1288 | 1290 | } | |
1289 | 1291 | ||
1290 | 1292 | let aG = makeString_2C(( let aX = bp | |
1291 | 1293 | let aY = size(aX) | |
1292 | 1294 | let aZ = $Tuple2(nil, 0) | |
1293 | 1295 | func ba (bb,bc) = if ((bc >= aY)) | |
1294 | 1296 | then bb | |
1295 | - | else | |
1297 | + | else hc(bb, aX[bc]) | |
1296 | 1298 | ||
1297 | 1299 | func bd (bb,bc) = if ((bc >= aY)) | |
1298 | 1300 | then bb | |
1299 | 1301 | else throw("List size exceeds 50") | |
1300 | 1302 | ||
1301 | 1303 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50))._1, ":") | |
1302 | - | let | |
1303 | - | $Tuple2(nil, | |
1304 | + | let gE = ("%s%s__emergencyServiceData__" + aG) | |
1305 | + | $Tuple2(nil, gE) | |
1304 | 1306 | } | |
1305 | 1307 | ||
1306 | 1308 | ||
1307 | 1309 | ||
1308 | - | @Callable( | |
1309 | - | func wlgStatsREADONLY ( | |
1310 | - | let | |
1311 | - | $Tuple2(nil, [("%s%d__wlgAmount__" + toString( | |
1310 | + | @Callable(gG) | |
1311 | + | func wlgStatsREADONLY (dY) = { | |
1312 | + | let hk = dX(dY, [H, I, J, K, L, M, O], e, 0, j) | |
1313 | + | $Tuple2(nil, [("%s%d__wlgAmount__" + toString(hk[Y])), ("%s%d__wlgPrice__" + toString(hk[Z])), ("%s%d__usdtFunds__" + toString(hk[aa])), ("%s%d__usdtEconomy__" + toString(hk[ab])), ("%s%d__usdtActivity__" + toString(hk[ac])), ("%s%d__usdtArbitrage__" + toString(hk[ad])), ("%s%d__usdtPool__" + toString(hk[ae])), ("%s%d__wlgIssueTime__" + toString(hk[af])), ("%s%d__wlgLastMarketingTeamActTime__" + toString(hk[ag])), ("%s%d__wlgTeamTotal__" + toString(hk[ah])), ("%s%d__wlgTeamAmLeft__" + toString(hk[ai])), ("%s%d__wlgTeamAmAvailNow__" + toString(hk[aj])), ("%s%d__wlgTeamWlgold__" + toString(hk[ak])), ("%s%d__wlgActTotal__" + toString(hk[al])), ("%s%d__wlgActAmLeft__" + toString(hk[am])), ("%s%d__wlgActAmAvailNow__" + toString(hk[an])), ("%s%d__wlgActWlgold__" + toString(hk[ao])), ("%s%d__wlgCurPeriod__" + toString(hk[ap])), ("%s%d__wlgAmLeftTotal__" + toString(hk[aq])), ("%s%d__wlgCurPeriodDistribution__" + toString(hk[ar])), ("%s%d__wlgLastUserTime__" + toString(hk[as])), ("%s%d__wlgUserAmAvailNow__" + toString(hk[at])), ("%s%d__wlgGuestSLandDaily__" + toString(hk[au])), ("%s%d__wlgInvestFundTotal__" + toString(hk[av])), ("%s%d__wlgUserTotalAvail__" + toString(hk[aw])), ("%s%d__wlgEffUserTime__" + toString(hk[ax])), ("%s%d__wlgBankWlgold__" + toString(hk[ay]))]) | |
1312 | 1314 | } | |
1313 | 1315 | ||
1314 | 1316 | ||
1315 | 1317 | ||
1316 | - | @Callable( | |
1317 | - | func tournamentStatsREADONLY ( | |
1318 | + | @Callable(gG) | |
1319 | + | func tournamentStatsREADONLY (go) = $Tuple2(nil, gn(go)) | |
1318 | 1320 | ||
1319 | 1321 | ||
1320 | 1322 | ||
1321 | - | @Callable( | |
1323 | + | @Callable(gG) | |
1322 | 1324 | func lastTournamentStatsREADONLY () = { | |
1323 | - | let | |
1324 | - | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString( | |
1325 | + | let go = valueOrElse(getInteger(N, bN), 0) | |
1326 | + | $Tuple2(nil, [("%s%s__lastTournamentId__" + toString(go)), gn(go)]) | |
1325 | 1327 | } | |
1326 | 1328 | ||
1327 | 1329 | ||
1328 | 1330 | ||
1329 | - | @Callable( | |
1331 | + | @Callable(gG) | |
1330 | 1332 | func tournamentDuckStatsREADONLY (bP,bK) = { | |
1331 | - | let | |
1332 | - | let | |
1333 | - | let | |
1334 | - | let | |
1335 | - | let | |
1336 | - | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString( | |
1333 | + | let hl = valueOrElse(getBoolean(N, bS(bP, bK)), false) | |
1334 | + | let hm = valueOrElse(getInteger(N, bU(bP, bK)), -1) | |
1335 | + | let hn = valueOrElse(getInteger(N, bV(bP, bK)), 0) | |
1336 | + | let ho = valueOrElse(getString(N, bW(bP, bK)), "") | |
1337 | + | let hp = valueOrElse(getBoolean(N, bT(bP, bK)), false) | |
1338 | + | $Tuple2(nil, [("%s%s__tournamentDuckStats__" + makeString([toString(hl), toString(hm), toString(hn), ho, toString(hp)], "_"))]) | |
1337 | 1339 | } | |
1338 | 1340 | ||
1339 | 1341 | ||
1340 | 1342 | ||
1341 | - | @Callable( | |
1343 | + | @Callable(gG) | |
1342 | 1344 | func duckStatsCalculatorREADONLY (bK) = { | |
1343 | 1345 | let cT = split(valueOrElse(getString(I, cA(bK)), "0_0_0_0_0"), "_") | |
1344 | 1346 | let cU = split(valueOrElse(getString(I, cI(bK)), "0_0_0_0_0"), "_") | |
1345 | - | let | |
1346 | - | let cV = | |
1347 | - | let db = | |
1348 | - | let | |
1349 | - | let | |
1350 | - | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString( | |
1347 | + | let fV = split(valueOrElse(getString(I, cE(bK)), ";_;_;_;_;_;"), "_") | |
1348 | + | let cV = gj(split(fV[cx], ";")[1]) | |
1349 | + | let db = gj(split(fV[cy], ";")[0]) | |
1350 | + | let hq = cS(cT, cU, cV) | |
1351 | + | let hr = da(cT, cU, db) | |
1352 | + | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(hq)), ("%s%d__damageAbsorption__" + toString(hr))]) | |
1351 | 1353 | } | |
1352 | 1354 | ||
1353 | 1355 | ||
1354 | 1356 | ||
1355 | - | @Callable( | |
1357 | + | @Callable(gG) | |
1356 | 1358 | func customDuckStatsCalculatorREADONLY (cT,cU,cV,db) = { | |
1357 | - | let | |
1358 | - | let | |
1359 | - | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString( | |
1359 | + | let hq = cS(cT, cU, cV) | |
1360 | + | let hr = da(cT, cU, db) | |
1361 | + | $Tuple2(nil, [("%s%d__dodgeProbability__" + toString(hq)), ("%s%d__damageAbsorption__" + toString(hr))]) | |
1360 | 1362 | } | |
1361 | 1363 | ||
1362 | 1364 | ||
1363 | 1365 | ||
1364 | - | @Callable( | |
1365 | - | func acresStatsREADONLY ( | |
1366 | - | let | |
1367 | - | let | |
1368 | - | let | |
1369 | - | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(O, V), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(O, X))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(O, dE), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(O, dB( | |
1366 | + | @Callable(gG) | |
1367 | + | func acresStatsREADONLY (dY) = { | |
1368 | + | let hs = aJ(invoke(O, "claimAcresREADONLY", [dY], nil)) | |
1369 | + | let ht = aH(hs[0]) | |
1370 | + | let hu = aH(hs[1]) | |
1371 | + | $Tuple2(nil, [("%s%d__acresIssuedTotal__" + toString(valueOrElse(getInteger(O, V), 0))), ("%s%d__acresUnsold__" + toString(assetBalance(O, X))), ("%s%d__acresStakedTotal__" + toString(valueOrElse(getInteger(O, dE), 0))), ("%s%d__acresStakedByUser__" + toString(valueOrElse(getInteger(O, dB(dY)), 0))), ("%s%d__acresClaimableByUser__" + toString(ht)), ("%s%d__acresLastClaimTimeByUser__" + toString(hu)), ("%s%d__acresLockedByUser__" + toString(valueOrElse(getInteger(O, dC(dY)), 0))), ("%s%d__acresLockedEtaByUser__" + toString(valueOrElse(getInteger(O, dD(dY)), 0)))]) | |
1370 | 1372 | } | |
1371 | 1373 | ||
1372 | 1374 | ||
1373 | 1375 | ||
1374 | - | @Callable( | |
1375 | - | func testV4 () = $Tuple2(nil, | |
1376 | + | @Callable(gG) | |
1377 | + | func testV4 () = $Tuple2(nil, gz(nil)) | |
1376 | 1378 | ||
1377 | 1379 | ||
1378 | 1380 | ||
1379 | - | @Callable( | |
1381 | + | @Callable(gG) | |
1380 | 1382 | func promo2StatsREADONLY () = { | |
1381 | - | let | |
1382 | - | $Tuple2(nil, if (( | |
1383 | + | let gE = valueOrElse(getString(O, h), "") | |
1384 | + | $Tuple2(nil, if ((gE == "")) | |
1383 | 1385 | then nil | |
1384 | - | else split_51C( | |
1386 | + | else split_51C(gE, "_")) | |
1385 | 1387 | } | |
1386 | 1388 | ||
1387 | 1389 | ||
1388 | 1390 | ||
1389 | - | @Callable( | |
1391 | + | @Callable(gG) | |
1390 | 1392 | func promo2StatsByUserREADONLY (aP) = { | |
1391 | - | let | |
1392 | - | $Tuple2(nil, [((("%s%s%b__promo2AddressAwarded__" + aP) + "__") + toString( | |
1393 | + | let hp = valueOrElse(getBoolean(O, cp(2, aP)), false) | |
1394 | + | $Tuple2(nil, [((("%s%s%b__promo2AddressAwarded__" + aP) + "__") + toString(hp))]) | |
1393 | 1395 | } | |
1394 | 1396 | ||
1395 | 1397 |
github/deemru/w8io/169f3d6 438.88 ms ◑