tx · Hmt2U1HBWakXvid12118nvFqEyxFqneteFfGBCYMEsos 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA: -0.03100000 Waves 2022.09.12 14:50 [2225842] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves
{ "type": 13, "id": "Hmt2U1HBWakXvid12118nvFqEyxFqneteFfGBCYMEsos", "fee": 3100000, "feeAssetId": null, "timestamp": 1662983425017, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "4c4EsXFXhoX3BXkuPYZ2PqcamuJVfeZ33RkdM5qV23g4sCmWZ6x9eeTqVfCtPwiHvnJcrf1kWM9NVS33eStyGq98" ], "script": "base64:BgKGAQgCEgMKAQgSAwoBCBIAEgQKAgEEEgcKBQEBAQEEEgUKAwEBBBIDCgEBEgASBwoFAQEBCAESBAoCAQESAwoBARIECgIICBIECgIICBIECgIIARIAEgMKAQgSBQoDAQEBEgQKAggBEgQKAgEBEgQKAggIEgsKCQgBAQIBAggEBBIGCgQICAEITgAGc2NhbGU4AIDC1y8ADHNjYWxlOEJpZ0ludAkAtgIBAIDC1y8AB3NjYWxlMTgJALYCAQCAgJC7utat8A0ACnplcm9CaWdJbnQJALYCAQAAAAlvbmVCaWdJbnQJALYCAQABAApzbGlwcGFnZTRECQC2AgEJAGUCBQZzY2FsZTgJAGkCCQBoAgUGc2NhbGU4AAEFBnNjYWxlOAAFQW11bHQCAzEwMAAFRGNvbnYCATEAA1NFUAICX18ABUVNUFRZAgAAClBvb2xBY3RpdmUAAQAKUG9vbFB1dERpcwACAA5Qb29sTWF0Y2hlckRpcwADAAxQb29sU2h1dGRvd24ABAAOaWR4UG9vbEFkZHJlc3MAAQAJaWR4UG9vbFN0AAIACWlkeExQQXNJZAADAAlpZHhBbUFzSWQABAAJaWR4UHJBc0lkA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QHJG1hdGNoMAUCdHgDCQABAgUHJG1hdGNoMAIFT3JkZXIEBW9yZGVyBQckbWF0Y2gwBAptYXRjaGVyUHViCQECbXAABApvcmRlclZhbGlkCQEDbW9hAQUFb3JkZXIEC3NlbmRlclZhbGlkCQD0AwMIBQVvcmRlcglib2R5Qnl0ZXMJAJEDAggFBW9yZGVyBnByb29mcwAACAUFb3JkZXIPc2VuZGVyUHVibGljS2V5BAxtYXRjaGVyVmFsaWQJAPQDAwgFBW9yZGVyCWJvZHlCeXRlcwkAkQMCCAUFb3JkZXIGcHJvb2ZzAAEFCm1hdGNoZXJQdWIDAwMFCm9yZGVyVmFsaWQFC3NlbmRlclZhbGlkBwUMbWF0Y2hlclZhbGlkBwYJAQN0b2UDBQpvcmRlclZhbGlkBQtzZW5kZXJWYWxpZAUMbWF0Y2hlclZhbGlkAwkAAQIFByRtYXRjaDACFFNldFNjcmlwdFRyYW5zYWN0aW9uBAFzBQckbWF0Y2gwBAduZXdIYXNoCQD2AwEJAQV2YWx1ZQEIBQFzBnNjcmlwdAQLYWxsb3dlZEhhc2gJANsEAQkBBXZhbHVlAQkAnQgCBQNmY2EJARxrZXlBbGxvd2VkTHBTdGFibGVTY3JpcHRIYXNoAAQLY3VycmVudEhhc2gJAPEHAQUEdGhpcwMDCQAAAgULYWxsb3dlZEhhc2gFB25ld0hhc2gJAQIhPQIFC2N1cnJlbnRIYXNoBQduZXdIYXNoBwYJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAFD3RhcmdldFB1YmxpY0tleQkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5WlGF6A==", "height": 2225842, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 4kkL48qGqRChrqR39sjd8PtFshgRUS8qDd9o3MLWo1Me Next: J5Lh9MkQ91t9KECkv7tAdt17itVkLFbzdZMGejJ2G3RB Diff:
Old | New | Differences | |
---|---|---|---|
723 | 723 | then df.originCaller | |
724 | 724 | else df.caller | |
725 | 725 | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
726 | - | let dP = reentrantInvoke(dO, "ensureCanPutOneTkn", [toString(bI)], nil) | |
727 | - | if ((dP == dP)) | |
728 | - | then if ((size(df.payments) != 1)) | |
729 | - | then throw("1 pmnt expd") | |
730 | - | else { | |
731 | - | let dg = value(df.payments[0]) | |
732 | - | let bG = toBase58String(value(dg.assetId)) | |
733 | - | let cl = dg.amount | |
734 | - | if ((10000000 > cl)) | |
735 | - | then throw("Wrong pmt amt") | |
736 | - | else { | |
737 | - | let bQ = aW(bK) | |
738 | - | let bS = aW(bL) | |
739 | - | let eb = if ((bG == bK)) | |
740 | - | then if ((cl > bQ)) | |
726 | + | if ((size(df.payments) != 1)) | |
727 | + | then throw("1 pmnt expd") | |
728 | + | else { | |
729 | + | let dg = value(df.payments[0]) | |
730 | + | let bG = toBase58String(value(dg.assetId)) | |
731 | + | let cl = dg.amount | |
732 | + | if ((10000000 > cl)) | |
733 | + | then throw("Wrong pmt amt") | |
734 | + | else { | |
735 | + | let bQ = aW(bK) | |
736 | + | let bS = aW(bL) | |
737 | + | let eb = if ((bG == bK)) | |
738 | + | then if ((cl > bQ)) | |
739 | + | then throw("invalid payment amount") | |
740 | + | else $Tuple2((bQ - cl), bS) | |
741 | + | else if ((bG == bL)) | |
742 | + | then if ((cl > bS)) | |
741 | 743 | then throw("invalid payment amount") | |
742 | - | else $Tuple2((bQ - cl), bS) | |
743 | - | else if ((bG == bL)) | |
744 | - | then if ((cl > bS)) | |
745 | - | then throw("invalid payment amount") | |
746 | - | else $Tuple2(bQ, (bS - cl)) | |
747 | - | else throw("wrong pmtAssetId") | |
748 | - | let dR = eb._1 | |
749 | - | let dS = eb._2 | |
750 | - | let ec = if ((bG == bK)) | |
751 | - | then $Tuple2(dR, dS) | |
752 | - | else $Tuple2(dS, dR) | |
753 | - | let ed = ec._1 | |
754 | - | let ee = ec._2 | |
755 | - | let ef = 1 | |
756 | - | let eg = { | |
757 | - | let eh = invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil) | |
758 | - | if ($isInstanceOf(eh, "(Int, Int)")) | |
759 | - | then eh | |
760 | - | else throw(($getType(invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil)) + " couldn't be cast to (Int, Int)")) | |
744 | + | else $Tuple2(bQ, (bS - cl)) | |
745 | + | else throw("wrong pmtAssetId") | |
746 | + | let dR = eb._1 | |
747 | + | let dS = eb._2 | |
748 | + | let ec = if ((bG == bK)) | |
749 | + | then $Tuple2(dR, dS) | |
750 | + | else $Tuple2(dS, dR) | |
751 | + | let ed = ec._1 | |
752 | + | let ee = ec._2 | |
753 | + | let ef = 1 | |
754 | + | let eg = { | |
755 | + | let eh = invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil) | |
756 | + | if ($isInstanceOf(eh, "(Int, Int)")) | |
757 | + | then eh | |
758 | + | else throw(($getType(invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil)) + " couldn't be cast to (Int, Int)")) | |
759 | + | } | |
760 | + | let ei = if ((bG == bK)) | |
761 | + | then eg | |
762 | + | else $Tuple2(eg._2, eg._1) | |
763 | + | let dI = ei._1 | |
764 | + | let dJ = ei._2 | |
765 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), be, true, true, cl, bG) | |
766 | + | let dZ = dY._2 | |
767 | + | let dB = dY._7 | |
768 | + | let cc = dY._9 | |
769 | + | let cL = dY._10 | |
770 | + | let cM = dY._11 | |
771 | + | let cK = if ((dK > 0)) | |
772 | + | then { | |
773 | + | let ea = bb(toBigInt(dZ), toBigInt(dK), toBigInt(be)) | |
774 | + | toInt(ea._2) | |
761 | 775 | } | |
762 | - | let ei = if ((bG == bK)) | |
763 | - | then eg | |
764 | - | else $Tuple2(eg._2, eg._1) | |
765 | - | let dI = ei._1 | |
766 | - | let dJ = ei._2 | |
767 | - | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), be, true, true, cl, bG) | |
768 | - | let dZ = dY._2 | |
769 | - | let dB = dY._7 | |
770 | - | let cc = dY._9 | |
771 | - | let cL = dY._10 | |
772 | - | let cM = dY._11 | |
773 | - | let cK = if ((dK > 0)) | |
774 | - | then { | |
775 | - | let ea = bb(toBigInt(dZ), toBigInt(dK), toBigInt(be)) | |
776 | - | toInt(ea._2) | |
776 | + | else dZ | |
777 | + | let dA = invoke(ay, "emit", [cK], nil) | |
778 | + | if ((dA == dA)) | |
779 | + | then { | |
780 | + | let dC = { | |
781 | + | let as = dA | |
782 | + | if ($isInstanceOf(as, "Address")) | |
783 | + | then { | |
784 | + | let dD = as | |
785 | + | invoke(dD, "emit", [cK], nil) | |
786 | + | } | |
787 | + | else unit | |
777 | 788 | } | |
778 | - | else dZ | |
779 | - | let dA = invoke(ay, "emit", [cK], nil) | |
780 | - | if ((dA == dA)) | |
781 | - | then { | |
782 | - | let dC = { | |
783 | - | let as = dA | |
784 | - | if ($isInstanceOf(as, "Address")) | |
789 | + | if ((dC == dC)) | |
790 | + | then { | |
791 | + | let dE = if ((cL > 0)) | |
792 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
793 | + | else nil | |
794 | + | if ((dE == dE)) | |
785 | 795 | then { | |
786 | - | let dD = as | |
787 | - | invoke(dD, "emit", [cK], nil) | |
796 | + | let dF = if ((cM > 0)) | |
797 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
798 | + | else nil | |
799 | + | if ((dF == dF)) | |
800 | + | then { | |
801 | + | let dG = if (dw) | |
802 | + | then { | |
803 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
804 | + | if ((dH == dH)) | |
805 | + | then nil | |
806 | + | else throw("Strict value is not equal to itself.") | |
807 | + | } | |
808 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
809 | + | (cc ++ dG) | |
810 | + | } | |
811 | + | else throw("Strict value is not equal to itself.") | |
788 | 812 | } | |
789 | - | else | |
813 | + | else throw("Strict value is not equal to itself.") | |
790 | 814 | } | |
791 | - | if ((dC == dC)) | |
792 | - | then { | |
793 | - | let dE = if ((cL > 0)) | |
794 | - | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
795 | - | else nil | |
796 | - | if ((dE == dE)) | |
797 | - | then { | |
798 | - | let dF = if ((cM > 0)) | |
799 | - | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
800 | - | else nil | |
801 | - | if ((dF == dF)) | |
802 | - | then { | |
803 | - | let dG = if (dw) | |
804 | - | then { | |
805 | - | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
806 | - | if ((dH == dH)) | |
807 | - | then nil | |
808 | - | else throw("Strict value is not equal to itself.") | |
809 | - | } | |
810 | - | else [ScriptTransfer(df.caller, cK, dB)] | |
811 | - | (cc ++ dG) | |
812 | - | } | |
813 | - | else throw("Strict value is not equal to itself.") | |
814 | - | } | |
815 | - | else throw("Strict value is not equal to itself.") | |
816 | - | } | |
817 | - | else throw("Strict value is not equal to itself.") | |
818 | - | } | |
819 | - | else throw("Strict value is not equal to itself.") | |
820 | - | } | |
821 | - | } | |
822 | - | else throw("Strict value is not equal to itself.") | |
815 | + | else throw("Strict value is not equal to itself.") | |
816 | + | } | |
817 | + | else throw("Strict value is not equal to itself.") | |
818 | + | } | |
819 | + | } | |
823 | 820 | } | |
824 | 821 | ||
825 | 822 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = toBigInt(100000000) | |
7 | 7 | ||
8 | 8 | let c = toBigInt(1000000000000000000) | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = toBigInt(1) | |
13 | 13 | ||
14 | 14 | let f = toBigInt((a - ((a * 1) / a))) | |
15 | 15 | ||
16 | 16 | let g = "100" | |
17 | 17 | ||
18 | 18 | let h = "1" | |
19 | 19 | ||
20 | 20 | let i = "__" | |
21 | 21 | ||
22 | 22 | let j = "" | |
23 | 23 | ||
24 | 24 | let k = 1 | |
25 | 25 | ||
26 | 26 | let l = 2 | |
27 | 27 | ||
28 | 28 | let m = 3 | |
29 | 29 | ||
30 | 30 | let n = 4 | |
31 | 31 | ||
32 | 32 | let o = 1 | |
33 | 33 | ||
34 | 34 | let p = 2 | |
35 | 35 | ||
36 | 36 | let q = 3 | |
37 | 37 | ||
38 | 38 | let r = 4 | |
39 | 39 | ||
40 | 40 | let s = 5 | |
41 | 41 | ||
42 | 42 | let t = 6 | |
43 | 43 | ||
44 | 44 | let u = 7 | |
45 | 45 | ||
46 | 46 | let v = 8 | |
47 | 47 | ||
48 | 48 | let w = 9 | |
49 | 49 | ||
50 | 50 | let x = 1 | |
51 | 51 | ||
52 | 52 | let y = 7 | |
53 | 53 | ||
54 | 54 | let z = 10 | |
55 | 55 | ||
56 | 56 | let A = "%s__delay" | |
57 | 57 | ||
58 | 58 | func B (C,D) = fraction(toBigInt(C), c, toBigInt(D)) | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func E (F,G) = toInt(fraction(F, toBigInt(G), c)) | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func H (I,J,K) = fraction(I, J, K) | |
65 | 65 | ||
66 | 66 | ||
67 | 67 | func L (F) = if ((d > F)) | |
68 | 68 | then -(F) | |
69 | 69 | else F | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func M () = "%s__factoryContract" | |
73 | 73 | ||
74 | 74 | ||
75 | 75 | func N () = "%s__managerPublicKey" | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | func O () = "%s__pendingManagerPublicKey" | |
79 | 79 | ||
80 | 80 | ||
81 | 81 | func P () = "%s%s__price__last" | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func Q (R,S) = makeString(["%s%s%d%d__price__history", toString(R), toString(S)], i) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func T (U,V) = ((("%s%s%s__P__" + U) + "__") + V) | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func W (U,V) = ((("%s%s%s__G__" + U) + "__") + V) | |
91 | 91 | ||
92 | 92 | ||
93 | 93 | func X () = "%s__amountAsset" | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func Y () = "%s__priceAsset" | |
97 | 97 | ||
98 | 98 | ||
99 | 99 | func Z () = "%s__amp" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func aa () = "%s__addonAddr" | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func ab (ac) = makeString(["%s%s__lastGetOneTknCall", ac], i) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func ad (ac) = makeString(["%s%s__lastPutOneTknCall", ac], i) | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func ae () = "%s__factoryConfig" | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func af () = "%s%s__matcher__publicKey" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ag (ah,ai) = (((("%d%d%s__" + ah) + "__") + ai) + "__config") | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func aj (ak) = ("%s%s%s__mappings__baseAsset2internalId__" + ak) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func al () = "%s__shutdown" | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func am () = "%s__allowedLpStableScriptHash" | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func an (ao,ap,aq) = throw(((((("Failed: ordValid=" + toString(ao)) + " sndrValid=") + toString(ap)) + " mtchrValid=") + toString(aq))) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ar (F) = { | |
133 | 133 | let as = F | |
134 | 134 | if ($isInstanceOf(as, "String")) | |
135 | 135 | then { | |
136 | 136 | let at = as | |
137 | 137 | at | |
138 | 138 | } | |
139 | 139 | else throw("fail cast to String") | |
140 | 140 | } | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func au (av,aw) = valueOrErrorMessage(getString(av, aw), makeString(["mandatory ", toString(av), ".", aw, " not defined"], "")) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ax (av,aw) = valueOrErrorMessage(getInteger(av, aw), makeString(["mandatory ", toString(av), ".", aw, " not defined"], "")) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | let ay = addressFromStringValue(au(this, M())) | |
150 | 150 | ||
151 | 151 | let az = au(this, Z()) | |
152 | 152 | ||
153 | 153 | func aA () = valueOrElse(getBoolean(ay, al()), false) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func aB () = fromBase58String(au(ay, af())) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func aC () = { | |
160 | 160 | let aD = au(this, X()) | |
161 | 161 | let aE = au(this, Y()) | |
162 | 162 | let aF = ax(ay, aj(aE)) | |
163 | 163 | let ah = ax(ay, aj(aD)) | |
164 | 164 | split(au(ay, ag(toString(ah), toString(aF))), i) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func aG () = split(au(ay, ae()), i) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func aH (aI,aJ,aK,aL,aM,aN,aO,aP,aQ,aR) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(aI), toString(aJ), toString(aK), toString(aL), toString(aM), toString(aN), toString(aO), toString(aP), toString(aQ), toString(aR)], i) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aS (aT,aU,aV,aL,aO,aP) = makeString(["%d%d%d%d%d%d", toString(aT), toString(aU), toString(aV), toString(aL), toString(aO), toString(aP)], i) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aW (aX) = if ((aX == "WAVES")) | |
178 | 178 | then wavesBalance(this).available | |
179 | 179 | else assetBalance(this, fromBase58String(aX)) | |
180 | 180 | ||
181 | 181 | ||
182 | 182 | func aY (aZ,ba) = fraction(aZ, c, ba) | |
183 | 183 | ||
184 | 184 | ||
185 | 185 | func bb (bc,bd,be) = { | |
186 | 186 | let bf = fraction((bc - bd), b, bd) | |
187 | 187 | let bg = ((be - L(bf)) > d) | |
188 | 188 | if (!(bg)) | |
189 | 189 | then throw(("Big slpg: " + toString(bf))) | |
190 | 190 | else $Tuple2(bg, min([bc, bd])) | |
191 | 191 | } | |
192 | 192 | ||
193 | 193 | ||
194 | 194 | func bh (bi,bj,bk) = { | |
195 | 195 | let bf = fraction(bj, b, bi) | |
196 | 196 | let bl = (bk > bf) | |
197 | 197 | if (if (bl) | |
198 | 198 | then true | |
199 | 199 | else (bj > bi)) | |
200 | 200 | then throw(((((((toString(bj) + " ") + toString(bi)) + " ") + toString(bf)) + " ") + toString(bk))) | |
201 | 201 | else bl | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func bm (bn,bo,bp,bq) = { | |
206 | 206 | let br = B(bp, bn) | |
207 | 207 | let bs = B(bq, bo) | |
208 | 208 | aY(bs, br) | |
209 | 209 | } | |
210 | 210 | ||
211 | 211 | ||
212 | 212 | func bt (bp,bq,bu) = { | |
213 | 213 | let bv = aC() | |
214 | 214 | let bw = parseIntValue(bv[t]) | |
215 | 215 | let bx = parseIntValue(bv[u]) | |
216 | 216 | let by = bm(bw, bx, bp, bq) | |
217 | 217 | let ba = B(bp, bw) | |
218 | 218 | let aZ = B(bq, bx) | |
219 | 219 | let bz = B(bu, a) | |
220 | 220 | let bA = aY(ba, bz) | |
221 | 221 | let bB = aY(aZ, bz) | |
222 | 222 | [by, bA, bB] | |
223 | 223 | } | |
224 | 224 | ||
225 | 225 | ||
226 | 226 | func bC (bp,bq,bu) = { | |
227 | 227 | let bD = bt(bp, bq, bu) | |
228 | 228 | [E(bD[0], a), E(bD[1], a), E(bD[2], a)] | |
229 | 229 | } | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func bE (bF,bG,bH,bI) = { | |
233 | 233 | let bv = aC() | |
234 | 234 | let bJ = bv[q] | |
235 | 235 | let bK = bv[r] | |
236 | 236 | let bL = bv[s] | |
237 | 237 | let bM = parseIntValue(bv[t]) | |
238 | 238 | let bN = parseIntValue(bv[u]) | |
239 | 239 | let bO = bv[p] | |
240 | 240 | let bP = valueOrErrorMessage(assetInfo(fromBase58String(bJ)), "Wrong LP id").quantity | |
241 | 241 | if ((bJ != bG)) | |
242 | 242 | then throw("Wrong pmt asset") | |
243 | 243 | else { | |
244 | 244 | let bQ = aW(bK) | |
245 | 245 | let bR = B(bQ, bM) | |
246 | 246 | let bS = aW(bL) | |
247 | 247 | let bT = B(bS, bN) | |
248 | 248 | let bU = aY(bT, bR) | |
249 | 249 | let bV = E(bU, a) | |
250 | 250 | let bW = B(bH, a) | |
251 | 251 | let bX = B(bP, a) | |
252 | 252 | let bY = fraction(bR, bW, bX) | |
253 | 253 | let bZ = fraction(bT, bW, bX) | |
254 | 254 | let ca = E(bY, bM) | |
255 | 255 | let cb = E(bZ, bN) | |
256 | 256 | let cc = if ((bF == "")) | |
257 | 257 | then nil | |
258 | 258 | else [ScriptTransfer(bI, ca, if ((bK == "WAVES")) | |
259 | 259 | then unit | |
260 | 260 | else fromBase58String(bK)), ScriptTransfer(bI, cb, if ((bL == "WAVES")) | |
261 | 261 | then unit | |
262 | 262 | else fromBase58String(bL)), StringEntry(W(toString(bI), bF), aS(ca, cb, bH, bV, height, lastBlock.timestamp)), IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV)] | |
263 | 263 | $Tuple10(ca, cb, bK, bL, bQ, bS, bP, bU, bO, cc) | |
264 | 264 | } | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func cd (bF,be,ce,cf,cg,ch,bI,ci,cj,ck,cl,cm) = { | |
269 | 269 | let bv = aC() | |
270 | 270 | let bJ = fromBase58String(bv[q]) | |
271 | 271 | let cn = bv[r] | |
272 | 272 | let co = bv[s] | |
273 | 273 | let cp = bv[v] | |
274 | 274 | let cq = bv[w] | |
275 | 275 | let cr = parseIntValue(bv[t]) | |
276 | 276 | let cs = parseIntValue(bv[u]) | |
277 | 277 | let bO = bv[p] | |
278 | 278 | let ct = valueOrErrorMessage(assetInfo(bJ), "Wr lp as").quantity | |
279 | 279 | let bQ = if (ci) | |
280 | 280 | then aW(cn) | |
281 | 281 | else if (if (ck) | |
282 | 282 | then (cm == cn) | |
283 | 283 | else false) | |
284 | 284 | then (aW(cn) - cl) | |
285 | 285 | else if (ck) | |
286 | 286 | then aW(cn) | |
287 | 287 | else (aW(cn) - ce) | |
288 | 288 | let bS = if (ci) | |
289 | 289 | then aW(co) | |
290 | 290 | else if (if (ck) | |
291 | 291 | then (cm == co) | |
292 | 292 | else false) | |
293 | 293 | then (aW(co) - cl) | |
294 | 294 | else if (ck) | |
295 | 295 | then aW(co) | |
296 | 296 | else (aW(co) - cg) | |
297 | 297 | let cu = B(ce, cr) | |
298 | 298 | let cv = B(cg, cs) | |
299 | 299 | let cw = aY(cv, cu) | |
300 | 300 | let bR = B(bQ, cr) | |
301 | 301 | let bT = B(bS, cs) | |
302 | 302 | let cx = if ((ct == 0)) | |
303 | 303 | then { | |
304 | 304 | let bU = d | |
305 | 305 | let cy = d | |
306 | 306 | let bz = pow((cu * cv), 0, toBigInt(5), 1, 0, DOWN) | |
307 | 307 | $Tuple5(E(bz, a), E(cu, cr), E(cv, cs), aY((bT + cv), (bR + cu)), cy) | |
308 | 308 | } | |
309 | 309 | else { | |
310 | 310 | let bU = aY(bT, bR) | |
311 | 311 | let cz = fraction(L((bU - cw)), c, bU) | |
312 | 312 | let cy = B(be, a) | |
313 | 313 | if (if ((bU != d)) | |
314 | 314 | then (cz > cy) | |
315 | 315 | else false) | |
316 | 316 | then throw(((("Price slippage " + toString(cz)) + " > ") + toString(cy))) | |
317 | 317 | else { | |
318 | 318 | let cA = B(ct, a) | |
319 | 319 | let cB = fraction(cu, bU, c) | |
320 | 320 | let cC = fraction(cv, c, bU) | |
321 | 321 | let cD = if ((cB > cv)) | |
322 | 322 | then $Tuple2(cC, cv) | |
323 | 323 | else $Tuple2(cu, cB) | |
324 | 324 | let cE = cD._1 | |
325 | 325 | let cF = cD._2 | |
326 | 326 | let bz = fraction(cA, cF, bT) | |
327 | 327 | $Tuple5(E(bz, a), E(cE, cr), E(cF, cs), bU, cy) | |
328 | 328 | } | |
329 | 329 | } | |
330 | 330 | let cG = cx._1 | |
331 | 331 | let cH = cx._2 | |
332 | 332 | let cI = cx._3 | |
333 | 333 | let bV = E(cx._4, a) | |
334 | 334 | let cJ = E(cx._5, a) | |
335 | 335 | if ((0 >= cG)) | |
336 | 336 | then throw("LP <= 0") | |
337 | 337 | else { | |
338 | 338 | let cK = if (!(cj)) | |
339 | 339 | then 0 | |
340 | 340 | else cG | |
341 | 341 | let cL = (ce - cH) | |
342 | 342 | let cM = (cg - cI) | |
343 | 343 | let cN = if (if (ck) | |
344 | 344 | then (cm == cn) | |
345 | 345 | else false) | |
346 | 346 | then $Tuple2(cl, 0) | |
347 | 347 | else if (if (ck) | |
348 | 348 | then (cm == co) | |
349 | 349 | else false) | |
350 | 350 | then $Tuple2(0, cl) | |
351 | 351 | else $Tuple2(cH, cI) | |
352 | 352 | let cO = cN._1 | |
353 | 353 | let cP = cN._2 | |
354 | 354 | let cQ = [IntegerEntry(P(), bV), IntegerEntry(Q(height, lastBlock.timestamp), bV), StringEntry(T(bI, bF), aH(cO, cP, cK, bV, be, cJ, height, lastBlock.timestamp, cL, cM))] | |
355 | 355 | $Tuple13(cG, cK, bV, bQ, bS, ct, bJ, bO, cQ, cL, cM, cf, ch) | |
356 | 356 | } | |
357 | 357 | } | |
358 | 358 | ||
359 | 359 | ||
360 | 360 | func cR (cS) = { | |
361 | 361 | let bv = aC() | |
362 | 362 | let cT = bv[r] | |
363 | 363 | let cU = bv[s] | |
364 | 364 | let bO = parseIntValue(bv[p]) | |
365 | 365 | let bw = parseIntValue(bv[t]) | |
366 | 366 | let bx = parseIntValue(bv[u]) | |
367 | 367 | let cV = aW(cT) | |
368 | 368 | let cW = aW(cU) | |
369 | 369 | let bU = if ((cS.orderType == Buy)) | |
370 | 370 | then bm(bw, bx, (cV + cS.amount), cW) | |
371 | 371 | else bm(bw, bx, (cV - cS.amount), cW) | |
372 | 372 | let bV = E(bU, a) | |
373 | 373 | if (if (if (aA()) | |
374 | 374 | then true | |
375 | 375 | else (bO == m)) | |
376 | 376 | then true | |
377 | 377 | else (bO == n)) | |
378 | 378 | then throw("Admin blocked") | |
379 | 379 | else { | |
380 | 380 | let cX = cS.assetPair.amountAsset | |
381 | 381 | let cY = if ((cX == unit)) | |
382 | 382 | then "WAVES" | |
383 | 383 | else toBase58String(value(cX)) | |
384 | 384 | let cZ = cS.assetPair.priceAsset | |
385 | 385 | let da = if ((cZ == unit)) | |
386 | 386 | then "WAVES" | |
387 | 387 | else toBase58String(value(cZ)) | |
388 | 388 | if (if ((cY != cT)) | |
389 | 389 | then true | |
390 | 390 | else (da != cU)) | |
391 | 391 | then throw("Wr assets") | |
392 | 392 | else { | |
393 | 393 | let db = cS.price | |
394 | 394 | let cs = fraction(a, bx, bw) | |
395 | 395 | let dc = H(db, a, cs) | |
396 | 396 | let dd = if ((cS.orderType == Buy)) | |
397 | 397 | then (bV >= dc) | |
398 | 398 | else (dc >= bV) | |
399 | 399 | true | |
400 | 400 | } | |
401 | 401 | } | |
402 | 402 | } | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | func de (df) = if ((size(df.payments) != 1)) | |
406 | 406 | then throw("1 pmnt exp") | |
407 | 407 | else { | |
408 | 408 | let dg = value(df.payments[0]) | |
409 | 409 | let bG = value(dg.assetId) | |
410 | 410 | let cl = dg.amount | |
411 | 411 | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
412 | 412 | let ca = cx._1 | |
413 | 413 | let cb = cx._2 | |
414 | 414 | let bO = parseIntValue(cx._9) | |
415 | 415 | let cc = cx._10 | |
416 | 416 | if (if (aA()) | |
417 | 417 | then true | |
418 | 418 | else (bO == n)) | |
419 | 419 | then throw(("Admin blocked: " + toString(bO))) | |
420 | 420 | else $Tuple5(ca, cb, cl, bG, cc) | |
421 | 421 | } | |
422 | 422 | ||
423 | 423 | ||
424 | 424 | func dh (ac,V,di,dj,be,cj,ck,cl,cm) = { | |
425 | 425 | let cx = cd(V, be, value(di).amount, value(di).assetId, value(dj).amount, value(dj).assetId, ac, false, cj, ck, cl, cm) | |
426 | 426 | let bO = parseIntValue(cx._8) | |
427 | 427 | if (if (if (aA()) | |
428 | 428 | then true | |
429 | 429 | else (bO == l)) | |
430 | 430 | then true | |
431 | 431 | else (bO == n)) | |
432 | 432 | then throw(("Blocked:" + toString(bO))) | |
433 | 433 | else cx | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | func dk () = { | |
438 | 438 | let as = getString(N()) | |
439 | 439 | if ($isInstanceOf(as, "String")) | |
440 | 440 | then { | |
441 | 441 | let dl = as | |
442 | 442 | fromBase58String(dl) | |
443 | 443 | } | |
444 | 444 | else if ($isInstanceOf(as, "Unit")) | |
445 | 445 | then unit | |
446 | 446 | else throw("Match error") | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | func dm () = { | |
451 | 451 | let as = getString(O()) | |
452 | 452 | if ($isInstanceOf(as, "String")) | |
453 | 453 | then { | |
454 | 454 | let dl = as | |
455 | 455 | fromBase58String(dl) | |
456 | 456 | } | |
457 | 457 | else if ($isInstanceOf(as, "Unit")) | |
458 | 458 | then unit | |
459 | 459 | else throw("Match error") | |
460 | 460 | } | |
461 | 461 | ||
462 | 462 | ||
463 | 463 | let dn = throw("Permission denied") | |
464 | 464 | ||
465 | 465 | func do (df) = { | |
466 | 466 | let as = dk() | |
467 | 467 | if ($isInstanceOf(as, "ByteVector")) | |
468 | 468 | then { | |
469 | 469 | let dp = as | |
470 | 470 | if ((df.callerPublicKey == dp)) | |
471 | 471 | then true | |
472 | 472 | else dn | |
473 | 473 | } | |
474 | 474 | else if ($isInstanceOf(as, "Unit")) | |
475 | 475 | then if ((df.caller == this)) | |
476 | 476 | then true | |
477 | 477 | else dn | |
478 | 478 | else throw("Match error") | |
479 | 479 | } | |
480 | 480 | ||
481 | 481 | ||
482 | 482 | @Callable(df) | |
483 | 483 | func constructor (M) = { | |
484 | 484 | let dq = do(df) | |
485 | 485 | if ((dq == dq)) | |
486 | 486 | then [StringEntry(M(), M)] | |
487 | 487 | else throw("Strict value is not equal to itself.") | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(df) | |
493 | 493 | func setManager (dr) = { | |
494 | 494 | let dq = do(df) | |
495 | 495 | if ((dq == dq)) | |
496 | 496 | then { | |
497 | 497 | let ds = fromBase58String(dr) | |
498 | 498 | if ((ds == ds)) | |
499 | 499 | then [StringEntry(O(), dr)] | |
500 | 500 | else throw("Strict value is not equal to itself.") | |
501 | 501 | } | |
502 | 502 | else throw("Strict value is not equal to itself.") | |
503 | 503 | } | |
504 | 504 | ||
505 | 505 | ||
506 | 506 | ||
507 | 507 | @Callable(df) | |
508 | 508 | func confirmManager () = { | |
509 | 509 | let bD = dm() | |
510 | 510 | let dt = if (isDefined(bD)) | |
511 | 511 | then true | |
512 | 512 | else throw("No pending manager") | |
513 | 513 | if ((dt == dt)) | |
514 | 514 | then { | |
515 | 515 | let du = if ((df.callerPublicKey == value(bD))) | |
516 | 516 | then true | |
517 | 517 | else throw("You are not pending manager") | |
518 | 518 | if ((du == du)) | |
519 | 519 | then [StringEntry(N(), toBase58String(value(bD))), DeleteEntry(O())] | |
520 | 520 | else throw("Strict value is not equal to itself.") | |
521 | 521 | } | |
522 | 522 | else throw("Strict value is not equal to itself.") | |
523 | 523 | } | |
524 | 524 | ||
525 | 525 | ||
526 | 526 | ||
527 | 527 | @Callable(df) | |
528 | 528 | func put (dv,dw) = { | |
529 | 529 | let dx = aG() | |
530 | 530 | let dy = valueOrErrorMessage(addressFromString(dx[x]), "Wr st addr") | |
531 | 531 | let dz = valueOrErrorMessage(addressFromString(dx[y]), "Wr sl addr") | |
532 | 532 | if ((0 > dv)) | |
533 | 533 | then throw("Wrong slippage") | |
534 | 534 | else if ((size(df.payments) != 2)) | |
535 | 535 | then throw("2 pmnts expd") | |
536 | 536 | else { | |
537 | 537 | let dA = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], dv, true, false, 0, "") | |
538 | 538 | let cK = dA._2 | |
539 | 539 | let dB = dA._7 | |
540 | 540 | let cc = dA._9 | |
541 | 541 | let cL = dA._10 | |
542 | 542 | let cM = dA._11 | |
543 | 543 | let bK = dA._12 | |
544 | 544 | let bL = dA._13 | |
545 | 545 | let cx = invoke(ay, "emit", [cK], nil) | |
546 | 546 | if ((cx == cx)) | |
547 | 547 | then { | |
548 | 548 | let dC = { | |
549 | 549 | let as = cx | |
550 | 550 | if ($isInstanceOf(as, "Address")) | |
551 | 551 | then { | |
552 | 552 | let dD = as | |
553 | 553 | invoke(dD, "emit", [cK], nil) | |
554 | 554 | } | |
555 | 555 | else unit | |
556 | 556 | } | |
557 | 557 | if ((dC == dC)) | |
558 | 558 | then { | |
559 | 559 | let dE = if ((cL > 0)) | |
560 | 560 | then invoke(dz, "put", nil, [AttachedPayment(bK, cL)]) | |
561 | 561 | else nil | |
562 | 562 | if ((dE == dE)) | |
563 | 563 | then { | |
564 | 564 | let dF = if ((cM > 0)) | |
565 | 565 | then invoke(dz, "put", nil, [AttachedPayment(bL, cM)]) | |
566 | 566 | else nil | |
567 | 567 | if ((dF == dF)) | |
568 | 568 | then { | |
569 | 569 | let dG = if (dw) | |
570 | 570 | then { | |
571 | 571 | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
572 | 572 | if ((dH == dH)) | |
573 | 573 | then nil | |
574 | 574 | else throw("Strict value is not equal to itself.") | |
575 | 575 | } | |
576 | 576 | else [ScriptTransfer(df.caller, cK, dB)] | |
577 | 577 | (cc ++ dG) | |
578 | 578 | } | |
579 | 579 | else throw("Strict value is not equal to itself.") | |
580 | 580 | } | |
581 | 581 | else throw("Strict value is not equal to itself.") | |
582 | 582 | } | |
583 | 583 | else throw("Strict value is not equal to itself.") | |
584 | 584 | } | |
585 | 585 | else throw("Strict value is not equal to itself.") | |
586 | 586 | } | |
587 | 587 | } | |
588 | 588 | ||
589 | 589 | ||
590 | 590 | ||
591 | 591 | @Callable(df) | |
592 | 592 | func putOneTkn (dI,dJ,dK,be,dw) = { | |
593 | 593 | let bv = aG() | |
594 | 594 | let dy = valueOrErrorMessage(addressFromString(bv[x]), "Wr st addr") | |
595 | 595 | let dz = valueOrErrorMessage(addressFromString(bv[y]), "Wr sl addr") | |
596 | 596 | let dL = valueOrErrorMessage(addressFromString(bv[z]), "Wr gwx addr") | |
597 | 597 | let dM = aC() | |
598 | 598 | let bK = dM[r] | |
599 | 599 | let bL = dM[s] | |
600 | 600 | let bM = parseIntValue(dM[t]) | |
601 | 601 | let bN = parseIntValue(dM[u]) | |
602 | 602 | let dN = valueOrElse(getString(this, aa()), "") | |
603 | 603 | let bI = if ((dN == toString(df.caller))) | |
604 | 604 | then df.originCaller | |
605 | 605 | else df.caller | |
606 | 606 | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
607 | 607 | let dP = reentrantInvoke(dO, "ensureCanPutOneTkn", [toString(bI)], nil) | |
608 | 608 | if ((dP == dP)) | |
609 | 609 | then if (if (if (if ((0 >= be)) | |
610 | 610 | then true | |
611 | 611 | else (0 >= dI)) | |
612 | 612 | then true | |
613 | 613 | else (0 >= dJ)) | |
614 | 614 | then true | |
615 | 615 | else (0 >= dK)) | |
616 | 616 | then throw("Wrong params") | |
617 | 617 | else if ((size(df.payments) != 1)) | |
618 | 618 | then throw("1 pmnt expd") | |
619 | 619 | else { | |
620 | 620 | let dg = value(df.payments[0]) | |
621 | 621 | let bG = toBase58String(value(dg.assetId)) | |
622 | 622 | let cl = dg.amount | |
623 | 623 | if ((10000000 > cl)) | |
624 | 624 | then throw("Wrong pmt amt") | |
625 | 625 | else { | |
626 | 626 | let bQ = aW(bK) | |
627 | 627 | let bS = aW(bL) | |
628 | 628 | let dQ = if ((bG == bK)) | |
629 | 629 | then if (if ((cl > bQ)) | |
630 | 630 | then true | |
631 | 631 | else (dI > cl)) | |
632 | 632 | then throw("invalid payment amount") | |
633 | 633 | else $Tuple6((bQ - cl), bS, (cl - dI), dJ, 0, 0) | |
634 | 634 | else if ((bG == bL)) | |
635 | 635 | then if (if ((cl > bS)) | |
636 | 636 | then true | |
637 | 637 | else (dJ > cl)) | |
638 | 638 | then throw("invalid payment amount") | |
639 | 639 | else $Tuple6(bQ, (bS - cl), 0, 0, (cl - dJ), dI) | |
640 | 640 | else throw("wrong pmtAssetId") | |
641 | 641 | let dR = dQ._1 | |
642 | 642 | let dS = dQ._2 | |
643 | 643 | let dT = dQ._3 | |
644 | 644 | let dU = dQ._4 | |
645 | 645 | let dV = dQ._5 | |
646 | 646 | let dW = dQ._6 | |
647 | 647 | let bj = invoke(dL, "calcD", [toString(dR), toString(dS), az, g, h], nil) | |
648 | 648 | let bi = invoke(dL, "calcD", [toString(toBigInt(((dR + dT) - dW))), toString(toBigInt(((dS + dV) - dU))), az, g, h], nil) | |
649 | 649 | let dX = bh(parseBigIntValue(ar(bi)), parseBigIntValue(ar(bj)), f) | |
650 | 650 | if ((dX == dX)) | |
651 | 651 | then { | |
652 | 652 | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), be, true, true, cl, bG) | |
653 | 653 | let dZ = dY._2 | |
654 | 654 | let dB = dY._7 | |
655 | 655 | let cc = dY._9 | |
656 | 656 | let cL = dY._10 | |
657 | 657 | let cM = dY._11 | |
658 | 658 | let ea = bb(toBigInt(dZ), toBigInt(dK), toBigInt(be)) | |
659 | 659 | let cK = toInt(ea._2) | |
660 | 660 | let dA = invoke(ay, "emit", [cK], nil) | |
661 | 661 | if ((dA == dA)) | |
662 | 662 | then { | |
663 | 663 | let dC = { | |
664 | 664 | let as = dA | |
665 | 665 | if ($isInstanceOf(as, "Address")) | |
666 | 666 | then { | |
667 | 667 | let dD = as | |
668 | 668 | invoke(dD, "emit", [cK], nil) | |
669 | 669 | } | |
670 | 670 | else unit | |
671 | 671 | } | |
672 | 672 | if ((dC == dC)) | |
673 | 673 | then { | |
674 | 674 | let dE = if ((cL > 0)) | |
675 | 675 | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
676 | 676 | else nil | |
677 | 677 | if ((dE == dE)) | |
678 | 678 | then { | |
679 | 679 | let dF = if ((cM > 0)) | |
680 | 680 | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
681 | 681 | else nil | |
682 | 682 | if ((dF == dF)) | |
683 | 683 | then { | |
684 | 684 | let dG = if (dw) | |
685 | 685 | then { | |
686 | 686 | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
687 | 687 | if ((dH == dH)) | |
688 | 688 | then nil | |
689 | 689 | else throw("Strict value is not equal to itself.") | |
690 | 690 | } | |
691 | 691 | else [ScriptTransfer(df.caller, cK, dB)] | |
692 | 692 | (cc ++ dG) | |
693 | 693 | } | |
694 | 694 | else throw("Strict value is not equal to itself.") | |
695 | 695 | } | |
696 | 696 | else throw("Strict value is not equal to itself.") | |
697 | 697 | } | |
698 | 698 | else throw("Strict value is not equal to itself.") | |
699 | 699 | } | |
700 | 700 | else throw("Strict value is not equal to itself.") | |
701 | 701 | } | |
702 | 702 | else throw("Strict value is not equal to itself.") | |
703 | 703 | } | |
704 | 704 | } | |
705 | 705 | else throw("Strict value is not equal to itself.") | |
706 | 706 | } | |
707 | 707 | ||
708 | 708 | ||
709 | 709 | ||
710 | 710 | @Callable(df) | |
711 | 711 | func putOneTknV2 (dK,be,dw) = { | |
712 | 712 | let bv = aG() | |
713 | 713 | let dy = valueOrErrorMessage(addressFromString(bv[x]), "Wr st addr") | |
714 | 714 | let dz = valueOrErrorMessage(addressFromString(bv[y]), "Wr sl addr") | |
715 | 715 | let dL = valueOrErrorMessage(addressFromString(bv[z]), "Wr gwx addr") | |
716 | 716 | let dM = aC() | |
717 | 717 | let bK = dM[r] | |
718 | 718 | let bL = dM[s] | |
719 | 719 | let bM = parseIntValue(dM[t]) | |
720 | 720 | let bN = parseIntValue(dM[u]) | |
721 | 721 | let dN = valueOrElse(getString(this, aa()), "") | |
722 | 722 | let bI = if ((dN == toString(df.caller))) | |
723 | 723 | then df.originCaller | |
724 | 724 | else df.caller | |
725 | 725 | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
726 | - | let dP = reentrantInvoke(dO, "ensureCanPutOneTkn", [toString(bI)], nil) | |
727 | - | if ((dP == dP)) | |
728 | - | then if ((size(df.payments) != 1)) | |
729 | - | then throw("1 pmnt expd") | |
730 | - | else { | |
731 | - | let dg = value(df.payments[0]) | |
732 | - | let bG = toBase58String(value(dg.assetId)) | |
733 | - | let cl = dg.amount | |
734 | - | if ((10000000 > cl)) | |
735 | - | then throw("Wrong pmt amt") | |
736 | - | else { | |
737 | - | let bQ = aW(bK) | |
738 | - | let bS = aW(bL) | |
739 | - | let eb = if ((bG == bK)) | |
740 | - | then if ((cl > bQ)) | |
726 | + | if ((size(df.payments) != 1)) | |
727 | + | then throw("1 pmnt expd") | |
728 | + | else { | |
729 | + | let dg = value(df.payments[0]) | |
730 | + | let bG = toBase58String(value(dg.assetId)) | |
731 | + | let cl = dg.amount | |
732 | + | if ((10000000 > cl)) | |
733 | + | then throw("Wrong pmt amt") | |
734 | + | else { | |
735 | + | let bQ = aW(bK) | |
736 | + | let bS = aW(bL) | |
737 | + | let eb = if ((bG == bK)) | |
738 | + | then if ((cl > bQ)) | |
739 | + | then throw("invalid payment amount") | |
740 | + | else $Tuple2((bQ - cl), bS) | |
741 | + | else if ((bG == bL)) | |
742 | + | then if ((cl > bS)) | |
741 | 743 | then throw("invalid payment amount") | |
742 | - | else $Tuple2((bQ - cl), bS) | |
743 | - | else if ((bG == bL)) | |
744 | - | then if ((cl > bS)) | |
745 | - | then throw("invalid payment amount") | |
746 | - | else $Tuple2(bQ, (bS - cl)) | |
747 | - | else throw("wrong pmtAssetId") | |
748 | - | let dR = eb._1 | |
749 | - | let dS = eb._2 | |
750 | - | let ec = if ((bG == bK)) | |
751 | - | then $Tuple2(dR, dS) | |
752 | - | else $Tuple2(dS, dR) | |
753 | - | let ed = ec._1 | |
754 | - | let ee = ec._2 | |
755 | - | let ef = 1 | |
756 | - | let eg = { | |
757 | - | let eh = invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil) | |
758 | - | if ($isInstanceOf(eh, "(Int, Int)")) | |
759 | - | then eh | |
760 | - | else throw(($getType(invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil)) + " couldn't be cast to (Int, Int)")) | |
744 | + | else $Tuple2(bQ, (bS - cl)) | |
745 | + | else throw("wrong pmtAssetId") | |
746 | + | let dR = eb._1 | |
747 | + | let dS = eb._2 | |
748 | + | let ec = if ((bG == bK)) | |
749 | + | then $Tuple2(dR, dS) | |
750 | + | else $Tuple2(dS, dR) | |
751 | + | let ed = ec._1 | |
752 | + | let ee = ec._2 | |
753 | + | let ef = 1 | |
754 | + | let eg = { | |
755 | + | let eh = invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil) | |
756 | + | if ($isInstanceOf(eh, "(Int, Int)")) | |
757 | + | then eh | |
758 | + | else throw(($getType(invoke(dL, "calcPutXOnly", [toString(cl), toString(ed), toString(ee), "", az, g, toString(ef), h], nil)) + " couldn't be cast to (Int, Int)")) | |
759 | + | } | |
760 | + | let ei = if ((bG == bK)) | |
761 | + | then eg | |
762 | + | else $Tuple2(eg._2, eg._1) | |
763 | + | let dI = ei._1 | |
764 | + | let dJ = ei._2 | |
765 | + | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), be, true, true, cl, bG) | |
766 | + | let dZ = dY._2 | |
767 | + | let dB = dY._7 | |
768 | + | let cc = dY._9 | |
769 | + | let cL = dY._10 | |
770 | + | let cM = dY._11 | |
771 | + | let cK = if ((dK > 0)) | |
772 | + | then { | |
773 | + | let ea = bb(toBigInt(dZ), toBigInt(dK), toBigInt(be)) | |
774 | + | toInt(ea._2) | |
761 | 775 | } | |
762 | - | let ei = if ((bG == bK)) | |
763 | - | then eg | |
764 | - | else $Tuple2(eg._2, eg._1) | |
765 | - | let dI = ei._1 | |
766 | - | let dJ = ei._2 | |
767 | - | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(fromBase58String(bK), dI), AttachedPayment(fromBase58String(bL), dJ), be, true, true, cl, bG) | |
768 | - | let dZ = dY._2 | |
769 | - | let dB = dY._7 | |
770 | - | let cc = dY._9 | |
771 | - | let cL = dY._10 | |
772 | - | let cM = dY._11 | |
773 | - | let cK = if ((dK > 0)) | |
774 | - | then { | |
775 | - | let ea = bb(toBigInt(dZ), toBigInt(dK), toBigInt(be)) | |
776 | - | toInt(ea._2) | |
776 | + | else dZ | |
777 | + | let dA = invoke(ay, "emit", [cK], nil) | |
778 | + | if ((dA == dA)) | |
779 | + | then { | |
780 | + | let dC = { | |
781 | + | let as = dA | |
782 | + | if ($isInstanceOf(as, "Address")) | |
783 | + | then { | |
784 | + | let dD = as | |
785 | + | invoke(dD, "emit", [cK], nil) | |
786 | + | } | |
787 | + | else unit | |
777 | 788 | } | |
778 | - | else dZ | |
779 | - | let dA = invoke(ay, "emit", [cK], nil) | |
780 | - | if ((dA == dA)) | |
781 | - | then { | |
782 | - | let dC = { | |
783 | - | let as = dA | |
784 | - | if ($isInstanceOf(as, "Address")) | |
789 | + | if ((dC == dC)) | |
790 | + | then { | |
791 | + | let dE = if ((cL > 0)) | |
792 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
793 | + | else nil | |
794 | + | if ((dE == dE)) | |
785 | 795 | then { | |
786 | - | let dD = as | |
787 | - | invoke(dD, "emit", [cK], nil) | |
796 | + | let dF = if ((cM > 0)) | |
797 | + | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
798 | + | else nil | |
799 | + | if ((dF == dF)) | |
800 | + | then { | |
801 | + | let dG = if (dw) | |
802 | + | then { | |
803 | + | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
804 | + | if ((dH == dH)) | |
805 | + | then nil | |
806 | + | else throw("Strict value is not equal to itself.") | |
807 | + | } | |
808 | + | else [ScriptTransfer(df.caller, cK, dB)] | |
809 | + | (cc ++ dG) | |
810 | + | } | |
811 | + | else throw("Strict value is not equal to itself.") | |
788 | 812 | } | |
789 | - | else | |
813 | + | else throw("Strict value is not equal to itself.") | |
790 | 814 | } | |
791 | - | if ((dC == dC)) | |
792 | - | then { | |
793 | - | let dE = if ((cL > 0)) | |
794 | - | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bK), cL)]) | |
795 | - | else nil | |
796 | - | if ((dE == dE)) | |
797 | - | then { | |
798 | - | let dF = if ((cM > 0)) | |
799 | - | then invoke(dz, "put", nil, [AttachedPayment(fromBase58String(bL), cM)]) | |
800 | - | else nil | |
801 | - | if ((dF == dF)) | |
802 | - | then { | |
803 | - | let dG = if (dw) | |
804 | - | then { | |
805 | - | let dH = invoke(dy, "stake", nil, [AttachedPayment(dB, cK)]) | |
806 | - | if ((dH == dH)) | |
807 | - | then nil | |
808 | - | else throw("Strict value is not equal to itself.") | |
809 | - | } | |
810 | - | else [ScriptTransfer(df.caller, cK, dB)] | |
811 | - | (cc ++ dG) | |
812 | - | } | |
813 | - | else throw("Strict value is not equal to itself.") | |
814 | - | } | |
815 | - | else throw("Strict value is not equal to itself.") | |
816 | - | } | |
817 | - | else throw("Strict value is not equal to itself.") | |
818 | - | } | |
819 | - | else throw("Strict value is not equal to itself.") | |
820 | - | } | |
821 | - | } | |
822 | - | else throw("Strict value is not equal to itself.") | |
815 | + | else throw("Strict value is not equal to itself.") | |
816 | + | } | |
817 | + | else throw("Strict value is not equal to itself.") | |
818 | + | } | |
819 | + | } | |
823 | 820 | } | |
824 | 821 | ||
825 | 822 | ||
826 | 823 | ||
827 | 824 | @Callable(df) | |
828 | 825 | func putForFree (ej) = if ((0 > ej)) | |
829 | 826 | then throw("Wrong slpg") | |
830 | 827 | else if ((size(df.payments) != 2)) | |
831 | 828 | then throw("2 pmnts expd") | |
832 | 829 | else { | |
833 | 830 | let dY = dh(toString(df.caller), toBase58String(df.transactionId), AttachedPayment(value(df.payments[0]).assetId, value(df.payments[0]).amount), df.payments[1], ej, false, false, 0, "") | |
834 | 831 | dY._9 | |
835 | 832 | } | |
836 | 833 | ||
837 | 834 | ||
838 | 835 | ||
839 | 836 | @Callable(df) | |
840 | 837 | func get () = { | |
841 | 838 | let cx = de(df) | |
842 | 839 | let ek = cx._1 | |
843 | 840 | let cb = cx._2 | |
844 | 841 | let cl = cx._3 | |
845 | 842 | let bG = cx._4 | |
846 | 843 | let cc = cx._5 | |
847 | 844 | let el = invoke(ay, "burn", [cl], [AttachedPayment(bG, cl)]) | |
848 | 845 | if ((el == el)) | |
849 | 846 | then cc | |
850 | 847 | else throw("Strict value is not equal to itself.") | |
851 | 848 | } | |
852 | 849 | ||
853 | 850 | ||
854 | 851 | ||
855 | 852 | @Callable(df) | |
856 | 853 | func getOneTkn (em,en,eo,ep,be) = if ((size(df.payments) != 1)) | |
857 | 854 | then throw("1 pmnt expd") | |
858 | 855 | else { | |
859 | 856 | let bv = aC() | |
860 | 857 | let bJ = bv[q] | |
861 | 858 | let bK = bv[r] | |
862 | 859 | let bL = bv[s] | |
863 | 860 | let bM = parseIntValue(bv[t]) | |
864 | 861 | let bN = parseIntValue(bv[u]) | |
865 | 862 | let bO = bv[p] | |
866 | 863 | let dx = aG() | |
867 | 864 | let dL = valueOrErrorMessage(addressFromString(dx[z]), "Wr sl addr") | |
868 | 865 | let dg = value(df.payments[0]) | |
869 | 866 | let dN = valueOrElse(getString(this, aa()), "") | |
870 | 867 | let bI = if ((dN == toString(df.caller))) | |
871 | 868 | then df.originCaller | |
872 | 869 | else df.caller | |
873 | 870 | let bF = toBase58String(df.transactionId) | |
874 | 871 | let bG = value(dg.assetId) | |
875 | 872 | let cl = dg.amount | |
876 | 873 | let dO = valueOrErrorMessage(addressFromString(valueOrErrorMessage(getString(aa()), "no addons")), "addon address in not valid") | |
877 | 874 | let dP = reentrantInvoke(dO, "ensureCanGetOneTkn", [toString(bI)], nil) | |
878 | 875 | if ((dP == dP)) | |
879 | 876 | then if ((1000000000 > cl)) | |
880 | 877 | then throw("Min pmt 10 LP") | |
881 | 878 | else if (if (if ((0 > be)) | |
882 | 879 | then true | |
883 | 880 | else (0 > em)) | |
884 | 881 | then true | |
885 | 882 | else (0 > eo)) | |
886 | 883 | then throw("Wrong params") | |
887 | 884 | else if ((bJ != toBase58String(bG))) | |
888 | 885 | then throw("Wrong LP") | |
889 | 886 | else { | |
890 | 887 | let cx = bE(toBase58String(df.transactionId), toBase58String(bG), cl, df.caller) | |
891 | 888 | let eq = cx._1 | |
892 | 889 | let er = cx._2 | |
893 | 890 | let bQ = aW(bK) | |
894 | 891 | let bS = aW(bL) | |
895 | 892 | let es = if ((ep == bK)) | |
896 | 893 | then $Tuple7((bQ - eq), (bS - er), em, er, 0, 0, (eq + em)) | |
897 | 894 | else if ((ep == bL)) | |
898 | 895 | then $Tuple7((bQ - eq), (bS - er), 0, 0, em, eq, (er + em)) | |
899 | 896 | else throw("wrong outAssetId") | |
900 | 897 | let dR = es._1 | |
901 | 898 | let dS = es._2 | |
902 | 899 | let dT = es._3 | |
903 | 900 | let dU = es._4 | |
904 | 901 | let dV = es._5 | |
905 | 902 | let dW = es._6 | |
906 | 903 | let et = es._7 | |
907 | 904 | if (if ((0 > dT)) | |
908 | 905 | then true | |
909 | 906 | else (0 > dV)) | |
910 | 907 | then throw("Wrong calc") | |
911 | 908 | else { | |
912 | 909 | let bj = invoke(dL, "calcD", [toString(dR), toString(dS), az, g, h], nil) | |
913 | 910 | let bi = invoke(dL, "calcD", [toString(((dR - dT) + dW)), toString(((dS + dU) - dV)), az, g, h], nil) | |
914 | 911 | let dX = bh(parseBigIntValue(ar(bi)), parseBigIntValue(ar(bj)), f) | |
915 | 912 | if ((dX == dX)) | |
916 | 913 | then { | |
917 | 914 | let eu = bb(toBigInt(et), toBigInt(eo), toBigInt(be)) | |
918 | 915 | if ((eu == eu)) | |
919 | 916 | then { | |
920 | 917 | let ev = if ((ep == bK)) | |
921 | 918 | then $Tuple2(toInt(eu._2), 0) | |
922 | 919 | else $Tuple2(0, toInt(eu._2)) | |
923 | 920 | let ew = ev._1 | |
924 | 921 | let ex = ev._2 | |
925 | 922 | let ey = aY(B(bS, bN), B(bQ, bM)) | |
926 | 923 | let ez = E(ey, a) | |
927 | 924 | let cc = [ScriptTransfer(bI, (ew + ex), if ((ep == "WAVES")) | |
928 | 925 | then unit | |
929 | 926 | else fromBase58String(ep)), StringEntry(W(toString(bI), bF), aS(ew, ex, cl, ez, height, lastBlock.timestamp)), IntegerEntry(P(), ez), IntegerEntry(Q(height, lastBlock.timestamp), ez)] | |
930 | 927 | if ((cc == cc)) | |
931 | 928 | then { | |
932 | 929 | let eA = invoke(ay, "burn", [cl], [AttachedPayment(bG, cl)]) | |
933 | 930 | if ((eA == eA)) | |
934 | 931 | then cc | |
935 | 932 | else throw("Strict value is not equal to itself.") | |
936 | 933 | } | |
937 | 934 | else throw("Strict value is not equal to itself.") | |
938 | 935 | } | |
939 | 936 | else throw("Strict value is not equal to itself.") | |
940 | 937 | } | |
941 | 938 | else throw("Strict value is not equal to itself.") | |
942 | 939 | } | |
943 | 940 | } | |
944 | 941 | else throw("Strict value is not equal to itself.") | |
945 | 942 | } | |
946 | 943 | ||
947 | 944 | ||
948 | 945 | ||
949 | 946 | @Callable(df) | |
950 | 947 | func getNoLess (eB,eC) = { | |
951 | 948 | let cx = de(df) | |
952 | 949 | let ca = cx._1 | |
953 | 950 | let cb = cx._2 | |
954 | 951 | let cl = cx._3 | |
955 | 952 | let bG = cx._4 | |
956 | 953 | let cc = cx._5 | |
957 | 954 | if ((eB > ca)) | |
958 | 955 | then throw(((("Failed: " + toString(ca)) + " < ") + toString(eB))) | |
959 | 956 | else if ((eC > cb)) | |
960 | 957 | then throw(((("Failed: " + toString(cb)) + " < ") + toString(eC))) | |
961 | 958 | else { | |
962 | 959 | let eD = invoke(ay, "burn", [cl], [AttachedPayment(bG, cl)]) | |
963 | 960 | if ((eD == eD)) | |
964 | 961 | then cc | |
965 | 962 | else throw("Strict value is not equal to itself.") | |
966 | 963 | } | |
967 | 964 | } | |
968 | 965 | ||
969 | 966 | ||
970 | 967 | ||
971 | 968 | @Callable(df) | |
972 | 969 | func unstakeAndGet (eE) = { | |
973 | 970 | let eF = if ((size(df.payments) != 0)) | |
974 | 971 | then throw("No pmnts expd") | |
975 | 972 | else true | |
976 | 973 | if ((eF == eF)) | |
977 | 974 | then { | |
978 | 975 | let bv = aC() | |
979 | 976 | let eG = aG() | |
980 | 977 | let dB = fromBase58String(bv[q]) | |
981 | 978 | let eH = valueOrErrorMessage(addressFromString(eG[x]), "Wr st addr") | |
982 | 979 | let eI = invoke(eH, "unstake", [toBase58String(dB), eE], nil) | |
983 | 980 | if ((eI == eI)) | |
984 | 981 | then { | |
985 | 982 | let cx = bE(toBase58String(df.transactionId), toBase58String(dB), eE, df.caller) | |
986 | 983 | let bO = parseIntValue(cx._9) | |
987 | 984 | let cc = cx._10 | |
988 | 985 | let eJ = if (if (aA()) | |
989 | 986 | then true | |
990 | 987 | else (bO == n)) | |
991 | 988 | then throw(("Blocked: " + toString(bO))) | |
992 | 989 | else true | |
993 | 990 | if ((eJ == eJ)) | |
994 | 991 | then { | |
995 | 992 | let eK = invoke(ay, "burn", [eE], [AttachedPayment(dB, eE)]) | |
996 | 993 | if ((eK == eK)) | |
997 | 994 | then cc | |
998 | 995 | else throw("Strict value is not equal to itself.") | |
999 | 996 | } | |
1000 | 997 | else throw("Strict value is not equal to itself.") | |
1001 | 998 | } | |
1002 | 999 | else throw("Strict value is not equal to itself.") | |
1003 | 1000 | } | |
1004 | 1001 | else throw("Strict value is not equal to itself.") | |
1005 | 1002 | } | |
1006 | 1003 | ||
1007 | 1004 | ||
1008 | 1005 | ||
1009 | 1006 | @Callable(df) | |
1010 | 1007 | func activate (eL,eM) = if ((toString(df.caller) != toString(ay))) | |
1011 | 1008 | then throw("denied") | |
1012 | 1009 | else $Tuple2([StringEntry(X(), eL), StringEntry(Y(), eM)], "success") | |
1013 | 1010 | ||
1014 | 1011 | ||
1015 | 1012 | ||
1016 | 1013 | @Callable(df) | |
1017 | 1014 | func setS (eN,eJ) = if ((toString(df.caller) != au(this, aa()))) | |
1018 | 1015 | then dn | |
1019 | 1016 | else [StringEntry(eN, eJ)] | |
1020 | 1017 | ||
1021 | 1018 | ||
1022 | 1019 | ||
1023 | 1020 | @Callable(df) | |
1024 | 1021 | func setI (eN,eJ) = if ((toString(df.caller) != au(this, aa()))) | |
1025 | 1022 | then dn | |
1026 | 1023 | else [IntegerEntry(eN, eJ)] | |
1027 | 1024 | ||
1028 | 1025 | ||
1029 | 1026 | ||
1030 | 1027 | @Callable(df) | |
1031 | 1028 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aC()) | |
1032 | 1029 | ||
1033 | 1030 | ||
1034 | 1031 | ||
1035 | 1032 | @Callable(df) | |
1036 | 1033 | func getAccBalanceWrapperREADONLY (aX) = $Tuple2(nil, aW(aX)) | |
1037 | 1034 | ||
1038 | 1035 | ||
1039 | 1036 | ||
1040 | 1037 | @Callable(df) | |
1041 | 1038 | func calcPricesWrapperREADONLY (bp,bq,bu) = { | |
1042 | 1039 | let eO = bt(bp, bq, bu) | |
1043 | 1040 | $Tuple2(nil, [toString(eO[0]), toString(eO[1]), toString(eO[2])]) | |
1044 | 1041 | } | |
1045 | 1042 | ||
1046 | 1043 | ||
1047 | 1044 | ||
1048 | 1045 | @Callable(df) | |
1049 | 1046 | func fromX18WrapperREADONLY (F,eP) = $Tuple2(nil, E(parseBigIntValue(F), eP)) | |
1050 | 1047 | ||
1051 | 1048 | ||
1052 | 1049 | ||
1053 | 1050 | @Callable(df) | |
1054 | 1051 | func toX18WrapperREADONLY (C,D) = $Tuple2(nil, toString(B(C, D))) | |
1055 | 1052 | ||
1056 | 1053 | ||
1057 | 1054 | ||
1058 | 1055 | @Callable(df) | |
1059 | 1056 | func calcPriceBigIntWrapperREADONLY (aZ,ba) = $Tuple2(nil, toString(aY(parseBigIntValue(aZ), parseBigIntValue(ba)))) | |
1060 | 1057 | ||
1061 | 1058 | ||
1062 | 1059 | ||
1063 | 1060 | @Callable(df) | |
1064 | 1061 | func estimatePutOperationWrapperREADONLY (bF,be,ce,cf,cg,ch,eQ,ci,cj) = $Tuple2(nil, cd(bF, be, ce, cf, cg, ch, eQ, ci, cj, false, 0, "")) | |
1065 | 1062 | ||
1066 | 1063 | ||
1067 | 1064 | ||
1068 | 1065 | @Callable(df) | |
1069 | 1066 | func estimateGetOperationWrapperREADONLY (bF,eR,bH,eQ) = { | |
1070 | 1067 | let cx = bE(bF, eR, bH, addressFromStringValue(eQ)) | |
1071 | 1068 | $Tuple2(nil, $Tuple10(cx._1, cx._2, cx._3, cx._4, cx._5, cx._6, cx._7, toString(cx._8), cx._9, cx._10)) | |
1072 | 1069 | } | |
1073 | 1070 | ||
1074 | 1071 | ||
1075 | 1072 | @Verifier(eS) | |
1076 | 1073 | func eT () = { | |
1077 | 1074 | let eU = { | |
1078 | 1075 | let as = dk() | |
1079 | 1076 | if ($isInstanceOf(as, "ByteVector")) | |
1080 | 1077 | then { | |
1081 | 1078 | let dp = as | |
1082 | 1079 | dp | |
1083 | 1080 | } | |
1084 | 1081 | else if ($isInstanceOf(as, "Unit")) | |
1085 | 1082 | then eS.senderPublicKey | |
1086 | 1083 | else throw("Match error") | |
1087 | 1084 | } | |
1088 | 1085 | let as = eS | |
1089 | 1086 | if ($isInstanceOf(as, "Order")) | |
1090 | 1087 | then { | |
1091 | 1088 | let cS = as | |
1092 | 1089 | let eV = aB() | |
1093 | 1090 | let eW = cR(cS) | |
1094 | 1091 | let eX = sigVerify(cS.bodyBytes, cS.proofs[0], cS.senderPublicKey) | |
1095 | 1092 | let eY = sigVerify(cS.bodyBytes, cS.proofs[1], eV) | |
1096 | 1093 | if (if (if (eW) | |
1097 | 1094 | then eX | |
1098 | 1095 | else false) | |
1099 | 1096 | then eY | |
1100 | 1097 | else false) | |
1101 | 1098 | then true | |
1102 | 1099 | else an(eW, eX, eY) | |
1103 | 1100 | } | |
1104 | 1101 | else if ($isInstanceOf(as, "SetScriptTransaction")) | |
1105 | 1102 | then { | |
1106 | 1103 | let dl = as | |
1107 | 1104 | let eZ = blake2b256(value(dl.script)) | |
1108 | 1105 | let fa = fromBase64String(value(getString(ay, am()))) | |
1109 | 1106 | let fb = scriptHash(this) | |
1110 | 1107 | if (if ((fa == eZ)) | |
1111 | 1108 | then (fb != eZ) | |
1112 | 1109 | else false) | |
1113 | 1110 | then true | |
1114 | 1111 | else sigVerify(eS.bodyBytes, eS.proofs[0], eU) | |
1115 | 1112 | } | |
1116 | 1113 | else sigVerify(eS.bodyBytes, eS.proofs[0], eU) | |
1117 | 1114 | } | |
1118 | 1115 |
github/deemru/w8io/169f3d6 126.15 ms ◑