tx · B1qir18zKW7EBdUZCJtnYn6vrFm49pZSrhY3PGTu8bPe 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA: -0.04200000 Waves 2023.03.22 18:59 [2501424] smart account 3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA > SELF 0.00000000 Waves
{ "type": 13, "id": "B1qir18zKW7EBdUZCJtnYn6vrFm49pZSrhY3PGTu8bPe", "fee": 4200000, "feeAssetId": null, "timestamp": 1679500806225, "version": 2, "chainId": 84, "sender": "3MzKSdTH2jFbypLsoNfrH7QgkzSbx3EYwCA", "senderPublicKey": "35yd3qw1gxKDxKwGAykHN9fANbXNWwseaUwbWDj24o3x", "proofs": [ "RhWtWHUTV4nXxTorQguYvCA1FoiTk8kF1Ju8YAKWccpxtux4AYGW5it64xMvhpZ5zkYyr3WZKmdiSTt4HJDpHjL" ], "script": "base64:BgK7LAgCEgUKAwEEARIHCgUBBAEIARIDCgEIEgMKAQgSABIECgIBBBIECgIBBBIDCgEBEgASBAoCCAESABIECgIIARIECgIIARIECgIBARIDCgEBEgUKAwEBARIFCgMBCAESBAoCAQgSBAoCAQgSBAoCCAgSBAoCCAgSBAoCCAESABIDCgEIEgUKAwEBARIECgIIARIECgIBARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAIgZzY2FsZTgiDHNjYWxlOEJpZ0ludCIHc2NhbGUxOCIKemVyb0JpZ0ludCIEYmlnMCIEYmlnMSIEYmlnMiIEYmlnMyIEYmlnNCIKc2xpcHBhZ2U0RCILd2F2ZXNTdHJpbmciBUFtdWx0IgVEY29udiIDU0VQIgVFTVBUWSIKUG9vbEFjdGl2ZSIKUG9vbFB1dERpcyIOUG9vbE1hdGNoZXJEaXMiDFBvb2xTaHV0ZG93biIOaWR4UG9vbEFkZHJlc3MiCWlkeFBvb2xTdCIJaWR4TFBBc0lkIglpZHhBbUFzSWQiCWlkeFByQXNJZCILaWR4QW10QXNEY20iDWlkeFByaWNlQXNEY20iC2lkeElBbXRBc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XJyb3IEAmdxBQJpegMJAAECBQJncQIFT3JkZXIEAmZlBQJncQQCaUMJAQJiYgAEAmlEAwkBAmdCAAkAlAoCBgIACQECZmQBBQJmZQQCYUsIBQJpRAJfMQQCYUwIBQJpRAJfMgQCYU0JAPQDAwgFAmZlCWJvZHlCeXRlcwkAkQMCCAUCZmUGcHJvb2ZzAAAIBQJmZQ9zZW5kZXJQdWJsaWNLZXkEAmFOCQD0AwMIBQJmZQlib2R5Qnl0ZXMJAJEDAggFAmZlBnByb29mcwABBQJpQwMDAwUCYUsFAmFNBwUCYU4HBgkBAmFKBAUCYUsFAmFMBQJhTQUCYU4DCQABAgUCZ3ECFFNldFNjcmlwdFRyYW5zYWN0aW9uBAJjSAUCZ3EDCQD0AwMIBQJpeglib2R5Qnl0ZXMJAJEDAggFAml6BnByb29mcwAABQJpQgYEAmlFCQD2AwEJAQV2YWx1ZQEIBQJjSAZzY3JpcHQEAmlGCQDbBAEJAQV2YWx1ZQEJAJ0IAgUCYVYJAQJhRgAEAmlHCQDxBwEFBHRoaXMDCQAAAgUCaUYFAmlFCQECIT0CBQJpRwUCaUUHCQD0AwMIBQJpeglib2R5Qnl0ZXMJAJEDAggFAml6BnByb29mcwAABQJpQlilDec=", "height": 2501424, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GRFjJ4HrqSJ2JAK2XfwoRGCeHtGZe5miK1DRtKZSVrua Next: BwPgYgDckfGy3ZZvbEC84B2Y6NWXz8zaZRTTmu6oDFQh Diff:
Old | New | Differences | |
---|---|---|---|
1758 | 1758 | let gq = "1__2__3" | |
1759 | 1759 | if ($isInstanceOf(gq, "String")) | |
1760 | 1760 | then { | |
1761 | - | let ip = gq | |
1762 | - | let iq = split(ip, n) | |
1763 | - | if ((iq == iq)) | |
1764 | - | then { | |
1765 | - | let ir = parseIntValue(iq[0]) | |
1766 | - | if ((ir == ir)) | |
1767 | - | then { | |
1768 | - | let is = parseIntValue(iq[1]) | |
1769 | - | if ((is == is)) | |
1770 | - | then { | |
1771 | - | let it = parseIntValue(iq[2]) | |
1772 | - | if ((it == it)) | |
1773 | - | then $Tuple3(ir, is, it) | |
1774 | - | else throw("Strict value is not equal to itself.") | |
1775 | - | } | |
1776 | - | else throw("Strict value is not equal to itself.") | |
1777 | - | } | |
1778 | - | else throw("Strict value is not equal to itself.") | |
1779 | - | } | |
1780 | - | else throw("Strict value is not equal to itself.") | |
1761 | + | let cH = gq | |
1762 | + | cH | |
1781 | 1763 | } | |
1782 | 1764 | else throw("invalid entry type") | |
1783 | 1765 | } | |
1784 | 1766 | if ((io == io)) | |
1785 | 1767 | then { | |
1786 | - | let iu = io._3 | |
1787 | - | let iv = io._2 | |
1788 | - | let iw = io._1 | |
1789 | - | let ix = parseIntValue(getStringValue(al())) | |
1790 | - | if ((ix == ix)) | |
1768 | + | let ip = split(io, n) | |
1769 | + | if ((ip == ip)) | |
1791 | 1770 | then { | |
1792 | - | let | |
1793 | - | if (( | |
1771 | + | let iq = parseIntValue(ip[0]) | |
1772 | + | if ((iq == iq)) | |
1794 | 1773 | then { | |
1795 | - | let | |
1796 | - | if (( | |
1774 | + | let ir = parseIntValue(ip[1]) | |
1775 | + | if ((ir == ir)) | |
1797 | 1776 | then { | |
1798 | - | let iA = if ((0 > iv)) | |
1799 | - | then if ((iu > iz)) | |
1800 | - | then iu | |
1801 | - | else iz | |
1802 | - | else if ((iz > iu)) | |
1803 | - | then iu | |
1804 | - | else iz | |
1805 | - | if ((iA == iA)) | |
1777 | + | let is = parseIntValue(ip[2]) | |
1778 | + | if ((is == is)) | |
1806 | 1779 | then { | |
1807 | - | let | |
1808 | - | if (( | |
1780 | + | let it = parseIntValue(getStringValue(al())) | |
1781 | + | if ((it == it)) | |
1809 | 1782 | then { | |
1810 | - | let gN = [if ((an > iB)) | |
1811 | - | then true | |
1812 | - | else aS("try again in few blocks"), if ((ix != iA)) | |
1813 | - | then true | |
1814 | - | else aS("already reached target")] | |
1815 | - | if ((gN == gN)) | |
1783 | + | let iu = valueOrElse(getInteger(ap()), 0) | |
1784 | + | if ((iu == iu)) | |
1816 | 1785 | then { | |
1817 | - | let iC = throw("6") | |
1818 | - | if ((iC == iC)) | |
1819 | - | then [IntegerEntry(ap(), an), StringEntry(al(), toString(iA)), StringEntry(am(an), toString(iA))] | |
1786 | + | let iv = (it + ir) | |
1787 | + | if ((iv == iv)) | |
1788 | + | then { | |
1789 | + | let iw = if ((0 > ir)) | |
1790 | + | then if ((is > iv)) | |
1791 | + | then is | |
1792 | + | else iv | |
1793 | + | else if ((iv > is)) | |
1794 | + | then is | |
1795 | + | else iv | |
1796 | + | if ((iw == iw)) | |
1797 | + | then { | |
1798 | + | let ix = (iu + iq) | |
1799 | + | if ((ix == ix)) | |
1800 | + | then { | |
1801 | + | let gN = [if ((it != iw)) | |
1802 | + | then true | |
1803 | + | else aS("already reached target")] | |
1804 | + | if ((gN == gN)) | |
1805 | + | then { | |
1806 | + | let iy = throw("6") | |
1807 | + | if ((iy == iy)) | |
1808 | + | then [IntegerEntry(ap(), an), StringEntry(al(), toString(iw)), StringEntry(am(an), toString(iw))] | |
1809 | + | else throw("Strict value is not equal to itself.") | |
1810 | + | } | |
1811 | + | else throw("Strict value is not equal to itself.") | |
1812 | + | } | |
1813 | + | else throw("Strict value is not equal to itself.") | |
1814 | + | } | |
1815 | + | else throw("Strict value is not equal to itself.") | |
1816 | + | } | |
1820 | 1817 | else throw("Strict value is not equal to itself.") | |
1821 | 1818 | } | |
1822 | 1819 | else throw("Strict value is not equal to itself.") | |
1835 | 1832 | } | |
1836 | 1833 | ||
1837 | 1834 | ||
1838 | - | @Verifier( | |
1839 | - | func | |
1840 | - | let | |
1835 | + | @Verifier(iz) | |
1836 | + | func iA () = { | |
1837 | + | let iB = { | |
1841 | 1838 | let gq = gp() | |
1842 | 1839 | if ($isInstanceOf(gq, "ByteVector")) | |
1843 | 1840 | then { | |
1845 | 1842 | gu | |
1846 | 1843 | } | |
1847 | 1844 | else if ($isInstanceOf(gq, "Unit")) | |
1848 | - | then | |
1845 | + | then iz.senderPublicKey | |
1849 | 1846 | else throw("Match error") | |
1850 | 1847 | } | |
1851 | - | let gq = | |
1848 | + | let gq = iz | |
1852 | 1849 | if ($isInstanceOf(gq, "Order")) | |
1853 | 1850 | then { | |
1854 | 1851 | let fe = gq | |
1855 | - | let | |
1856 | - | let | |
1852 | + | let iC = bb() | |
1853 | + | let iD = if (gB()) | |
1857 | 1854 | then $Tuple2(true, "") | |
1858 | 1855 | else fd(fe) | |
1859 | - | let aK = | |
1860 | - | let aL = | |
1856 | + | let aK = iD._1 | |
1857 | + | let aL = iD._2 | |
1861 | 1858 | let aM = sigVerify(fe.bodyBytes, fe.proofs[0], fe.senderPublicKey) | |
1862 | - | let aN = sigVerify(fe.bodyBytes, fe.proofs[1], | |
1859 | + | let aN = sigVerify(fe.bodyBytes, fe.proofs[1], iC) | |
1863 | 1860 | if (if (if (aK) | |
1864 | 1861 | then aM | |
1865 | 1862 | else false) | |
1871 | 1868 | else if ($isInstanceOf(gq, "SetScriptTransaction")) | |
1872 | 1869 | then { | |
1873 | 1870 | let cH = gq | |
1874 | - | if (sigVerify( | |
1871 | + | if (sigVerify(iz.bodyBytes, iz.proofs[0], iB)) | |
1875 | 1872 | then true | |
1876 | 1873 | else { | |
1877 | - | let | |
1878 | - | let | |
1879 | - | let | |
1880 | - | if (( | |
1881 | - | then ( | |
1874 | + | let iE = blake2b256(value(cH.script)) | |
1875 | + | let iF = fromBase64String(value(getString(aV, aF()))) | |
1876 | + | let iG = scriptHash(this) | |
1877 | + | if ((iF == iE)) | |
1878 | + | then (iG != iE) | |
1882 | 1879 | else false | |
1883 | 1880 | } | |
1884 | 1881 | } | |
1885 | - | else sigVerify( | |
1882 | + | else sigVerify(iz.bodyBytes, iz.proofs[0], iB) | |
1886 | 1883 | } | |
1887 | 1884 |
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(0) | |
13 | 13 | ||
14 | 14 | let f = toBigInt(1) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(2) | |
17 | 17 | ||
18 | 18 | let h = toBigInt(3) | |
19 | 19 | ||
20 | 20 | let i = toBigInt(4) | |
21 | 21 | ||
22 | 22 | let j = toBigInt((a - ((a * 1) / a))) | |
23 | 23 | ||
24 | 24 | let k = "WAVES" | |
25 | 25 | ||
26 | 26 | let l = "100" | |
27 | 27 | ||
28 | 28 | let m = "1" | |
29 | 29 | ||
30 | 30 | let n = "__" | |
31 | 31 | ||
32 | 32 | let o = "" | |
33 | 33 | ||
34 | 34 | let p = 1 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 3 | |
39 | 39 | ||
40 | 40 | let s = 4 | |
41 | 41 | ||
42 | 42 | let t = 1 | |
43 | 43 | ||
44 | 44 | let u = 2 | |
45 | 45 | ||
46 | 46 | let v = 3 | |
47 | 47 | ||
48 | 48 | let w = 4 | |
49 | 49 | ||
50 | 50 | let x = 5 | |
51 | 51 | ||
52 | 52 | let y = 6 | |
53 | 53 | ||
54 | 54 | let z = 7 | |
55 | 55 | ||
56 | 56 | let A = 8 | |
57 | 57 | ||
58 | 58 | let B = 9 | |
59 | 59 | ||
60 | 60 | let C = 1 | |
61 | 61 | ||
62 | 62 | let D = 6 | |
63 | 63 | ||
64 | 64 | let E = 7 | |
65 | 65 | ||
66 | 66 | let F = 10 | |
67 | 67 | ||
68 | 68 | let G = fraction(10, a, 10000) | |
69 | 69 | ||
70 | 70 | func H (I,J) = fraction(toBigInt(I), c, toBigInt(J)) | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func K (I,J) = fraction(I, c, J) | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func L (M,N) = toInt(fraction(M, toBigInt(N), c)) | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func O (M,N,P) = toInt(fraction(M, toBigInt(N), c, P)) | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func Q (I,J) = fraction(I, c, toBigInt(J)) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func R (M,N) = fraction(M, toBigInt(N), c) | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func S (T,U,V) = fraction(T, U, V) | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func W (M) = if ((d > M)) | |
92 | 92 | then -(M) | |
93 | 93 | else M | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func X (M) = if ((d > M)) | |
97 | 97 | then -(M) | |
98 | 98 | else M | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func Y () = "%s__factoryContract" | |
102 | 102 | ||
103 | 103 | ||
104 | 104 | func Z () = "%s__managerPublicKey" | |
105 | 105 | ||
106 | 106 | ||
107 | 107 | func aa () = "%s__pendingManagerPublicKey" | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func ab () = "%s%s__price__last" | |
111 | 111 | ||
112 | 112 | ||
113 | 113 | func ac (ad,ae) = makeString(["%s%s%d%d__price__history", toString(ad), toString(ae)], n) | |
114 | 114 | ||
115 | 115 | ||
116 | 116 | func af (ag,ah) = ((("%s%s%s__P__" + ag) + "__") + ah) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func ai (ag,ah) = ((("%s%s%s__G__" + ag) + "__") + ah) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func aj () = "%s__amountAsset" | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ak () = "%s__priceAsset" | |
126 | 126 | ||
127 | 127 | ||
128 | 128 | func al () = "%s__amp" | |
129 | 129 | ||
130 | 130 | ||
131 | 131 | func am (an) = ("%s%d__amp__" + toString(an)) | |
132 | 132 | ||
133 | 133 | ||
134 | 134 | func ao () = "%s__addonAddr" | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ap () = "%s__changeAmpLastCall" | |
138 | 138 | ||
139 | 139 | ||
140 | 140 | let aq = "%s__fee" | |
141 | 141 | ||
142 | 142 | let ar = valueOrElse(getInteger(this, aq), G) | |
143 | 143 | ||
144 | 144 | let as = makeString(["%s", "dLp"], n) | |
145 | 145 | ||
146 | 146 | let at = makeString(["%s", "dLpRefreshedHeight"], n) | |
147 | 147 | ||
148 | 148 | let au = makeString(["%s", "refreshDLpDelay"], n) | |
149 | 149 | ||
150 | 150 | let av = 30 | |
151 | 151 | ||
152 | 152 | let aw = valueOrElse(getInteger(this, au), av) | |
153 | 153 | ||
154 | 154 | func ax () = "%s__factoryConfig" | |
155 | 155 | ||
156 | 156 | ||
157 | 157 | func ay () = "%s%s__matcher__publicKey" | |
158 | 158 | ||
159 | 159 | ||
160 | 160 | func az (aA,aB) = (((("%d%d%s__" + aA) + "__") + aB) + "__config") | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func aC (aD) = ("%s%s%s__mappings__baseAsset2internalId__" + aD) | |
164 | 164 | ||
165 | 165 | ||
166 | 166 | func aE () = "%s__shutdown" | |
167 | 167 | ||
168 | 168 | ||
169 | 169 | func aF () = "%s__allowedLpStableScriptHash" | |
170 | 170 | ||
171 | 171 | ||
172 | 172 | func aG () = "%s__feeCollectorAddress" | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func aH (aI) = ("%s%s__skipOrderValidation__" + aI) | |
176 | 176 | ||
177 | 177 | ||
178 | 178 | func aJ (aK,aL,aM,aN) = throw((((((((("order validation failed: orderValid=" + toString(aK)) + " (") + aL) + ")") + " senderValid=") + toString(aM)) + " matcherValid=") + toString(aN))) | |
179 | 179 | ||
180 | 180 | ||
181 | 181 | func aO (aP,aQ) = valueOrErrorMessage(getString(aP, aQ), makeString(["mandatory ", toString(aP), ".", aQ, " not defined"], "")) | |
182 | 182 | ||
183 | 183 | ||
184 | 184 | func aR (aP,aQ) = valueOrErrorMessage(getInteger(aP, aQ), makeString(["mandatory ", toString(aP), ".", aQ, " not defined"], "")) | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func aS (aT) = throw(makeString(["lp_stable.ride:", aT], " ")) | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func aU (aT) = makeString(["lp_stable.ride:", aT], " ") | |
191 | 191 | ||
192 | 192 | ||
193 | 193 | let aV = addressFromStringValue(aO(this, Y())) | |
194 | 194 | ||
195 | 195 | let aW = { | |
196 | 196 | let aX = invoke(aV, "getInFeeREADONLY", [toString(this)], nil) | |
197 | 197 | if ($isInstanceOf(aX, "Int")) | |
198 | 198 | then aX | |
199 | 199 | else throw(($getType(aX) + " couldn't be cast to Int")) | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | let aY = { | |
203 | 203 | let aX = invoke(aV, "getOutFeeREADONLY", [toString(this)], nil) | |
204 | 204 | if ($isInstanceOf(aX, "Int")) | |
205 | 205 | then aX | |
206 | 206 | else throw(($getType(aX) + " couldn't be cast to Int")) | |
207 | 207 | } | |
208 | 208 | ||
209 | 209 | let aZ = aO(this, al()) | |
210 | 210 | ||
211 | 211 | func ba () = valueOrElse(getBoolean(aV, aE()), false) | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func bb () = fromBase58String(aO(aV, ay())) | |
215 | 215 | ||
216 | 216 | ||
217 | 217 | let bc = addressFromStringValue(aO(aV, aG())) | |
218 | 218 | ||
219 | 219 | func bd () = { | |
220 | 220 | let be = aO(this, aj()) | |
221 | 221 | let bf = aO(this, ak()) | |
222 | 222 | let bg = aR(aV, aC(bf)) | |
223 | 223 | let aA = aR(aV, aC(be)) | |
224 | 224 | split(aO(aV, az(toString(aA), toString(bg))), n) | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func bh (bi) = if ((bi == k)) | |
229 | 229 | then unit | |
230 | 230 | else fromBase58String(bi) | |
231 | 231 | ||
232 | 232 | ||
233 | 233 | func bj (bi) = if ((bi == unit)) | |
234 | 234 | then k | |
235 | 235 | else toBase58String(value(bi)) | |
236 | 236 | ||
237 | 237 | ||
238 | 238 | func bk (bl) = $Tuple9(addressFromStringValue(bl[t]), parseIntValue(bl[u]), fromBase58String(bl[v]), bh(bl[w]), bh(bl[x]), parseIntValue(bl[y]), parseIntValue(bl[z]), fromBase58String(bl[A]), fromBase58String(bl[B])) | |
239 | 239 | ||
240 | 240 | ||
241 | 241 | let bm = bk(bd()) | |
242 | 242 | ||
243 | 243 | let bn = bm | |
244 | 244 | ||
245 | 245 | let bo = bn._1 | |
246 | 246 | ||
247 | 247 | let bp = bn._2 | |
248 | 248 | ||
249 | 249 | let bq = bn._3 | |
250 | 250 | ||
251 | 251 | let br = bn._4 | |
252 | 252 | ||
253 | 253 | let bs = bn._5 | |
254 | 254 | ||
255 | 255 | let bt = bn._6 | |
256 | 256 | ||
257 | 257 | let bu = bn._7 | |
258 | 258 | ||
259 | 259 | let bv = bn._8 | |
260 | 260 | ||
261 | 261 | let bw = bn._9 | |
262 | 262 | ||
263 | 263 | func bx () = split(aO(aV, ax()), n) | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | let by = bx() | |
267 | 267 | ||
268 | 268 | let bz = valueOrErrorMessage(addressFromString(by[C]), "Invalid staking contract address") | |
269 | 269 | ||
270 | 270 | let bA = valueOrErrorMessage(addressFromString(by[E]), "Invalid slipage contract address") | |
271 | 271 | ||
272 | 272 | let bB = valueOrErrorMessage(addressFromString(by[F]), "Invalid gwx contract address") | |
273 | 273 | ||
274 | 274 | let bC = valueOrErrorMessage(addressFromString(by[D]), "Invalid gwx contract address") | |
275 | 275 | ||
276 | 276 | func bD (bE,bF,bG,bH,bI,bJ,bK,bL,bM,bN) = makeString(["%d%d%d%d%d%d%d%d%d%d", toString(bE), toString(bF), toString(bG), toString(bH), toString(bI), toString(bJ), toString(bK), toString(bL), toString(bM), toString(bN)], n) | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func bO (bP,bQ,bR,bH,bK,bL) = makeString(["%d%d%d%d%d%d", toString(bP), toString(bQ), toString(bR), toString(bH), toString(bK), toString(bL)], n) | |
280 | 280 | ||
281 | 281 | ||
282 | 282 | func bS (bT) = if ((bT == "WAVES")) | |
283 | 283 | then wavesBalance(this).available | |
284 | 284 | else assetBalance(this, fromBase58String(bT)) | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func bU (bV,bW) = fraction(bV, c, bW) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bX (bV,bW,P) = fraction(bV, c, bW, P) | |
291 | 291 | ||
292 | 292 | ||
293 | 293 | func bY (bZ,ca,cb) = { | |
294 | 294 | let cc = fraction((bZ - ca), b, ca) | |
295 | 295 | let cd = ((cb - W(cc)) > d) | |
296 | 296 | if (!(cd)) | |
297 | 297 | then throw(("Big slpg: " + toString(cc))) | |
298 | 298 | else $Tuple2(cd, min([bZ, ca])) | |
299 | 299 | } | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func ce (cf,cg,ch) = { | |
303 | 303 | let cc = fraction(cg, b, cf) | |
304 | 304 | let ci = (ch > cc) | |
305 | 305 | if (if (ci) | |
306 | 306 | then true | |
307 | 307 | else (cg > cf)) | |
308 | 308 | then throw(((((((toString(cg) + " ") + toString(cf)) + " ") + toString(cc)) + " ") + toString(ch))) | |
309 | 309 | else ci | |
310 | 310 | } | |
311 | 311 | ||
312 | 312 | ||
313 | 313 | func cj (ck,cl,cm,cn) = { | |
314 | 314 | let co = H(cm, ck) | |
315 | 315 | let cp = H(cn, cl) | |
316 | 316 | bU(cp, co) | |
317 | 317 | } | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func cq (cm,cn,cr) = { | |
321 | 321 | let cs = bt | |
322 | 322 | let ct = bu | |
323 | 323 | let cu = cj(cs, ct, cm, cn) | |
324 | 324 | let bW = H(cm, cs) | |
325 | 325 | let bV = H(cn, ct) | |
326 | 326 | let cv = H(cr, a) | |
327 | 327 | let cw = bU(bW, cv) | |
328 | 328 | let cx = bU(bV, cv) | |
329 | 329 | [cu, cw, cx] | |
330 | 330 | } | |
331 | 331 | ||
332 | 332 | ||
333 | 333 | func cy (cm,cn,cr) = { | |
334 | 334 | let cz = cq(cm, cn, cr) | |
335 | 335 | [L(cz[0], a), L(cz[1], a), L(cz[2], a)] | |
336 | 336 | } | |
337 | 337 | ||
338 | 338 | ||
339 | 339 | func cA (cB,ar) = { | |
340 | 340 | let cC = if ((ar == 0)) | |
341 | 341 | then 0 | |
342 | 342 | else fraction(cB, ar, a) | |
343 | 343 | $Tuple2((cB - cC), cC) | |
344 | 344 | } | |
345 | 345 | ||
346 | 346 | ||
347 | 347 | func cD (cE) = { | |
348 | 348 | let cF = cE[0] | |
349 | 349 | let cG = cE[1] | |
350 | 350 | let cH = (cF + cG) | |
351 | 351 | if ((cH == e)) | |
352 | 352 | then e | |
353 | 353 | else { | |
354 | 354 | let cI = parseIntValue(aZ) | |
355 | 355 | let cJ = (cI * 2) | |
356 | 356 | let cz = fraction(cF, cG, f) | |
357 | 357 | let cK = fraction(cz, i, f) | |
358 | 358 | let cL = fraction(toBigInt(cJ), cH, f) | |
359 | 359 | let cM = toBigInt((cJ - 1)) | |
360 | 360 | func cN (cO) = { | |
361 | 361 | let cP = fraction(cO, cO, f) | |
362 | 362 | let cQ = fraction(cP, cO, f) | |
363 | 363 | let cR = fraction(cQ, f, cK) | |
364 | 364 | fraction((cL + fraction(cR, g, f)), cO, (fraction(cM, cO, f) + fraction(h, cR, f))) | |
365 | 365 | } | |
366 | 366 | ||
367 | 367 | func cS (cT,cU) = if (cT._2) | |
368 | 368 | then cT | |
369 | 369 | else { | |
370 | 370 | let cO = cT._1 | |
371 | 371 | let cV = cN(cO) | |
372 | 372 | let cW = (cV - value(cO)) | |
373 | 373 | let cX = if ((e > cW)) | |
374 | 374 | then -(cW) | |
375 | 375 | else cW | |
376 | 376 | if ((f >= cX)) | |
377 | 377 | then $Tuple2(cV, true) | |
378 | 378 | else $Tuple2(cV, false) | |
379 | 379 | } | |
380 | 380 | ||
381 | 381 | let cY = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] | |
382 | 382 | let cZ = { | |
383 | 383 | let da = cY | |
384 | 384 | let db = size(da) | |
385 | 385 | let dc = $Tuple2(cH, false) | |
386 | 386 | func dd (de,df) = if ((df >= db)) | |
387 | 387 | then de | |
388 | 388 | else cS(de, da[df]) | |
389 | 389 | ||
390 | 390 | func dg (de,df) = if ((df >= db)) | |
391 | 391 | then de | |
392 | 392 | else throw("List size exceeds 17") | |
393 | 393 | ||
394 | 394 | dg(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17) | |
395 | 395 | } | |
396 | 396 | let cO = cZ._1 | |
397 | 397 | let dh = cZ._2 | |
398 | 398 | if (dh) | |
399 | 399 | then cO | |
400 | 400 | else throw(("D calculation error, D = " + toString(cO))) | |
401 | 401 | } | |
402 | 402 | } | |
403 | 403 | ||
404 | 404 | ||
405 | 405 | func di (dj,dk,dl,dm) = { | |
406 | 406 | let dn = bq | |
407 | 407 | let do = toBase58String(value(br)) | |
408 | 408 | let dp = toBase58String(value(bs)) | |
409 | 409 | let dq = bt | |
410 | 410 | let dr = bu | |
411 | 411 | let ds = toString(bp) | |
412 | 412 | let dt = valueOrErrorMessage(assetInfo(dn), "Wrong LP id").quantity | |
413 | 413 | if ((toBase58String(dn) != dk)) | |
414 | 414 | then throw("Wrong pmt asset") | |
415 | 415 | else { | |
416 | 416 | let du = bS(do) | |
417 | 417 | let dv = H(du, dq) | |
418 | 418 | let dw = bS(dp) | |
419 | 419 | let dx = H(dw, dr) | |
420 | 420 | let dy = bU(dx, dv) | |
421 | 421 | let dz = L(dy, a) | |
422 | 422 | let dA = H(dl, a) | |
423 | 423 | let dB = H(dt, a) | |
424 | 424 | let dC = fraction(dv, dA, dB) | |
425 | 425 | let dD = fraction(dx, dA, dB) | |
426 | 426 | let dE = O(dC, dq, FLOOR) | |
427 | 427 | let dF = O(dD, dr, FLOOR) | |
428 | 428 | let dG = if ((dj == "")) | |
429 | 429 | then nil | |
430 | 430 | else [ScriptTransfer(dm, dE, if ((do == "WAVES")) | |
431 | 431 | then unit | |
432 | 432 | else fromBase58String(do)), ScriptTransfer(dm, dF, if ((dp == "WAVES")) | |
433 | 433 | then unit | |
434 | 434 | else fromBase58String(dp)), StringEntry(ai(toString(dm), dj), bO(dE, dF, dl, dz, an, lastBlock.timestamp)), IntegerEntry(ab(), dz), IntegerEntry(ac(an, lastBlock.timestamp), dz)] | |
435 | 435 | $Tuple10(dE, dF, do, dp, du, dw, dt, dy, ds, dG) | |
436 | 436 | } | |
437 | 437 | } | |
438 | 438 | ||
439 | 439 | ||
440 | 440 | func dH (dj,cb,dI,dJ,dK,dL,dm,dM,dN,dO,dP,dQ,dR) = { | |
441 | 441 | let dn = bq | |
442 | 442 | let dS = toBase58String(value(br)) | |
443 | 443 | let dT = toBase58String(value(bs)) | |
444 | 444 | let dU = bv | |
445 | 445 | let dV = bw | |
446 | 446 | let dW = bt | |
447 | 447 | let dX = bu | |
448 | 448 | let ds = toString(bp) | |
449 | 449 | let dY = valueOrErrorMessage(assetInfo(dn), "Wr lp as").quantity | |
450 | 450 | let du = if (dM) | |
451 | 451 | then bS(dS) | |
452 | 452 | else if (if (dO) | |
453 | 453 | then (dR == dS) | |
454 | 454 | else false) | |
455 | 455 | then (bS(dS) - dQ) | |
456 | 456 | else if (dO) | |
457 | 457 | then bS(dS) | |
458 | 458 | else (bS(dS) - dI) | |
459 | 459 | let dw = if (dM) | |
460 | 460 | then bS(dT) | |
461 | 461 | else if (if (dO) | |
462 | 462 | then (dR == dT) | |
463 | 463 | else false) | |
464 | 464 | then (bS(dT) - dQ) | |
465 | 465 | else if (dO) | |
466 | 466 | then bS(dT) | |
467 | 467 | else (bS(dT) - dK) | |
468 | 468 | let dZ = H(dI, dW) | |
469 | 469 | let ea = H(dK, dX) | |
470 | 470 | let eb = bU(ea, dZ) | |
471 | 471 | let dv = H(du, dW) | |
472 | 472 | let dx = H(dw, dX) | |
473 | 473 | let cg = cD([dv, dx]) | |
474 | 474 | let ec = if ((dY == 0)) | |
475 | 475 | then { | |
476 | 476 | let cf = cD([(dv + dZ), (dx + ea)]) | |
477 | 477 | let ed = if ((cf > cg)) | |
478 | 478 | then true | |
479 | 479 | else throw("D1 should be greater than D0") | |
480 | 480 | if ((ed == ed)) | |
481 | 481 | then { | |
482 | 482 | let dy = d | |
483 | 483 | let ee = d | |
484 | 484 | let cv = cf | |
485 | 485 | $Tuple5(L(cv, a), L(dZ, dW), L(ea, dX), bU((dx + ea), (dv + dZ)), ee) | |
486 | 486 | } | |
487 | 487 | else throw("Strict value is not equal to itself.") | |
488 | 488 | } | |
489 | 489 | else { | |
490 | 490 | let dy = bU(dx, dv) | |
491 | 491 | let ef = fraction(W((dy - eb)), c, dy) | |
492 | 492 | let ee = H(cb, a) | |
493 | 493 | if (if (if (dP) | |
494 | 494 | then (dy != d) | |
495 | 495 | else false) | |
496 | 496 | then (ef > ee) | |
497 | 497 | else false) | |
498 | 498 | then throw(((("Price slippage " + toString(ef)) + " > ") + toString(ee))) | |
499 | 499 | else { | |
500 | 500 | let eg = H(dY, a) | |
501 | 501 | let eh = fraction(dZ, bX(dx, dv, CEILING), c, CEILING) | |
502 | 502 | let ei = fraction(ea, c, bX(dx, dv, FLOOR), CEILING) | |
503 | 503 | let ej = if ((eh > ea)) | |
504 | 504 | then $Tuple2(ei, ea) | |
505 | 505 | else $Tuple2(dZ, eh) | |
506 | 506 | let ek = ej._1 | |
507 | 507 | let el = ej._2 | |
508 | 508 | let cf = cD([(dv + ek), (dx + el)]) | |
509 | 509 | let ed = if ((cf > cg)) | |
510 | 510 | then true | |
511 | 511 | else throw("D1 should be greater than D0") | |
512 | 512 | if ((ed == ed)) | |
513 | 513 | then { | |
514 | 514 | let cv = fraction(eg, (cf - cg), cg) | |
515 | 515 | $Tuple5(O(cv, a, FLOOR), O(ek, dW, CEILING), O(el, dX, CEILING), dy, ee) | |
516 | 516 | } | |
517 | 517 | else throw("Strict value is not equal to itself.") | |
518 | 518 | } | |
519 | 519 | } | |
520 | 520 | let em = ec._1 | |
521 | 521 | let en = ec._2 | |
522 | 522 | let eo = ec._3 | |
523 | 523 | let dz = L(ec._4, a) | |
524 | 524 | let ep = L(ec._5, a) | |
525 | 525 | if ((0 >= em)) | |
526 | 526 | then throw("LP <= 0") | |
527 | 527 | else { | |
528 | 528 | let eq = if (!(dN)) | |
529 | 529 | then 0 | |
530 | 530 | else em | |
531 | 531 | let er = (dI - en) | |
532 | 532 | let es = (dK - eo) | |
533 | 533 | let et = if (if (dO) | |
534 | 534 | then (dR == dS) | |
535 | 535 | else false) | |
536 | 536 | then $Tuple2(dQ, 0) | |
537 | 537 | else if (if (dO) | |
538 | 538 | then (dR == dT) | |
539 | 539 | else false) | |
540 | 540 | then $Tuple2(0, dQ) | |
541 | 541 | else $Tuple2(en, eo) | |
542 | 542 | let eu = et._1 | |
543 | 543 | let ev = et._2 | |
544 | 544 | let ew = [IntegerEntry(ab(), dz), IntegerEntry(ac(an, lastBlock.timestamp), dz), StringEntry(af(dm, dj), bD(eu, ev, eq, dz, cb, ep, an, lastBlock.timestamp, er, es))] | |
545 | 545 | $Tuple13(em, eq, dz, du, dw, dY, dn, ds, ew, er, es, dJ, dL) | |
546 | 546 | } | |
547 | 547 | } | |
548 | 548 | ||
549 | 549 | ||
550 | 550 | func ex (cE,cU,ey) = { | |
551 | 551 | let ez = g | |
552 | 552 | let eA = cE[if ((cU == 0)) | |
553 | 553 | then 1 | |
554 | 554 | else 0] | |
555 | 555 | let eB = parseBigIntValue(l) | |
556 | 556 | let cI = (parseBigIntValue(aZ) * eB) | |
557 | 557 | let cH = eA | |
558 | 558 | let cJ = (cI * ez) | |
559 | 559 | let eC = (((((ey * ey) / (eA * ez)) * ey) * eB) / (cJ * ez)) | |
560 | 560 | let eD = ((cH + ((ey * eB) / cJ)) - ey) | |
561 | 561 | func cS (cT,eE) = { | |
562 | 562 | let eF = cT | |
563 | 563 | let eG = eF._1 | |
564 | 564 | let dh = eF._2 | |
565 | 565 | if ((dh != unit)) | |
566 | 566 | then cT | |
567 | 567 | else { | |
568 | 568 | let eH = (((eG * eG) + eC) / ((g * eG) + eD)) | |
569 | 569 | let eI = X((eH - value(eG))) | |
570 | 570 | if ((f >= eI)) | |
571 | 571 | then $Tuple2(eH, eE) | |
572 | 572 | else $Tuple2(eH, unit) | |
573 | 573 | } | |
574 | 574 | } | |
575 | 575 | ||
576 | 576 | let cY = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
577 | 577 | let eJ = { | |
578 | 578 | let da = cY | |
579 | 579 | let db = size(da) | |
580 | 580 | let dc = $Tuple2(ey, unit) | |
581 | 581 | func dd (de,df) = if ((df >= db)) | |
582 | 582 | then de | |
583 | 583 | else cS(de, da[df]) | |
584 | 584 | ||
585 | 585 | func dg (de,df) = if ((df >= db)) | |
586 | 586 | then de | |
587 | 587 | else throw("List size exceeds 15") | |
588 | 588 | ||
589 | 589 | dg(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
590 | 590 | } | |
591 | 591 | let eG = eJ._1 | |
592 | 592 | let dh = eJ._2 | |
593 | 593 | if ((dh != unit)) | |
594 | 594 | then eG | |
595 | 595 | else throw(("Y calculation error, Y = " + toString(eG))) | |
596 | 596 | } | |
597 | 597 | ||
598 | 598 | ||
599 | 599 | func eK (eL,eM,eN) = { | |
600 | 600 | let eO = fraction(cD([K(eL, toBigInt(bt)), K(eM, toBigInt(bu))]), c, eN) | |
601 | 601 | if ((eN == e)) | |
602 | 602 | then e | |
603 | 603 | else eO | |
604 | 604 | } | |
605 | 605 | ||
606 | 606 | ||
607 | 607 | func eP (eQ,eR,eS) = { | |
608 | 608 | let eT = (toBigInt(bS(bj(br))) - eQ) | |
609 | 609 | let eU = (toBigInt(bS(bj(bs))) - eR) | |
610 | 610 | let eV = (toBigInt(value(assetInfo(bq)).quantity) - eS) | |
611 | 611 | let eW = eK(eT, eU, eV) | |
612 | 612 | eW | |
613 | 613 | } | |
614 | 614 | ||
615 | 615 | ||
616 | 616 | func eX (eY,eZ,eS) = { | |
617 | 617 | let eT = (bS(bj(br)) + eY) | |
618 | 618 | let eU = (bS(bj(bs)) + eZ) | |
619 | 619 | let eV = (value(assetInfo(bq)).quantity + eS) | |
620 | 620 | let eO = eK(toBigInt(eT), toBigInt(eU), toBigInt(eV)) | |
621 | 621 | let fa = [IntegerEntry(at, an), StringEntry(as, toString(eO))] | |
622 | 622 | $Tuple2(fa, eO) | |
623 | 623 | } | |
624 | 624 | ||
625 | 625 | ||
626 | 626 | func fb (fc,eO) = if ((eO >= fc)) | |
627 | 627 | then true | |
628 | 628 | else aS("updated DLp lower than current DLp") | |
629 | 629 | ||
630 | 630 | ||
631 | 631 | func fd (fe) = { | |
632 | 632 | let eT = bS(bj(br)) | |
633 | 633 | let eU = bS(bj(bs)) | |
634 | 634 | let ff = fe.amount | |
635 | 635 | let fg = fraction(fe.amount, fe.price, a, FLOOR) | |
636 | 636 | let fh = if ((fe.orderType == Buy)) | |
637 | 637 | then $Tuple2(ff, -(fg)) | |
638 | 638 | else $Tuple2(-(ff), fg) | |
639 | 639 | let eY = fh._1 | |
640 | 640 | let eZ = fh._2 | |
641 | 641 | if (if (if (ba()) | |
642 | 642 | then true | |
643 | 643 | else (bp == r)) | |
644 | 644 | then true | |
645 | 645 | else (bp == s)) | |
646 | 646 | then throw("Admin blocked") | |
647 | 647 | else if (if ((fe.assetPair.amountAsset != br)) | |
648 | 648 | then true | |
649 | 649 | else (fe.assetPair.priceAsset != bs)) | |
650 | 650 | then throw("Wr assets") | |
651 | 651 | else { | |
652 | 652 | let fi = parseBigIntValue(valueOrElse(getString(this, as), "0")) | |
653 | 653 | let fj = eX(eY, eZ, 0) | |
654 | 654 | let fk = fj._1 | |
655 | 655 | let fl = fj._2 | |
656 | 656 | let fm = (fl >= fi) | |
657 | 657 | let fn = makeString(["dLp=", toString(fi), " dLpNew=", toString(fl), " amountAssetBalance=", toString(eT), " priceAssetBalance=", toString(eU), " amountAssetBalanceDelta=", toString(eY), " priceAssetBalanceDelta=", toString(eZ), " height=", toString(an)], "") | |
658 | 658 | $Tuple2(fm, fn) | |
659 | 659 | } | |
660 | 660 | } | |
661 | 661 | ||
662 | 662 | ||
663 | 663 | func fo (cU) = if ((size(cU.payments) != 1)) | |
664 | 664 | then throw("1 pmnt exp") | |
665 | 665 | else { | |
666 | 666 | let fp = value(cU.payments[0]) | |
667 | 667 | let dk = value(fp.assetId) | |
668 | 668 | let dQ = fp.amount | |
669 | 669 | let ec = di(toBase58String(cU.transactionId), toBase58String(dk), dQ, cU.caller) | |
670 | 670 | let dE = ec._1 | |
671 | 671 | let dF = ec._2 | |
672 | 672 | let ds = parseIntValue(ec._9) | |
673 | 673 | let dG = ec._10 | |
674 | 674 | if (if (ba()) | |
675 | 675 | then true | |
676 | 676 | else (ds == s)) | |
677 | 677 | then throw(("Admin blocked: " + toString(ds))) | |
678 | 678 | else $Tuple5(dE, dF, dQ, dk, dG) | |
679 | 679 | } | |
680 | 680 | ||
681 | 681 | ||
682 | 682 | func fq (fr,ah,fs,ft,cb,dN,dO,dP,dQ,dR) = { | |
683 | 683 | let ec = dH(ah, cb, value(fs).amount, value(fs).assetId, value(ft).amount, value(ft).assetId, fr, (ah == ""), dN, dO, dP, dQ, dR) | |
684 | 684 | let ds = parseIntValue(ec._8) | |
685 | 685 | if (if (if (ba()) | |
686 | 686 | then true | |
687 | 687 | else (ds == q)) | |
688 | 688 | then true | |
689 | 689 | else (ds == s)) | |
690 | 690 | then throw(("Blocked:" + toString(ds))) | |
691 | 691 | else ec | |
692 | 692 | } | |
693 | 693 | ||
694 | 694 | ||
695 | 695 | func fu (fv,dk,dm,ah,fw) = { | |
696 | 696 | let do = toBase58String(value(br)) | |
697 | 697 | let dp = toBase58String(value(bs)) | |
698 | 698 | let dn = bq | |
699 | 699 | let dW = bt | |
700 | 700 | let dX = bu | |
701 | 701 | let eV = toBigInt(valueOrErrorMessage(assetInfo(dn), "invalid lp asset").quantity) | |
702 | 702 | let fx = if ((eV > e)) | |
703 | 703 | then true | |
704 | 704 | else throw("initial deposit requires all coins") | |
705 | 705 | if ((fx == fx)) | |
706 | 706 | then { | |
707 | 707 | let du = bS(do) | |
708 | 708 | let dw = bS(dp) | |
709 | 709 | let fy = if ((ah == "")) | |
710 | 710 | then $Tuple2(du, dw) | |
711 | 711 | else if ((dk == do)) | |
712 | 712 | then if ((fv > du)) | |
713 | 713 | then throw("invalid payment amount") | |
714 | 714 | else $Tuple2((du - fv), dw) | |
715 | 715 | else if ((dk == dp)) | |
716 | 716 | then if ((fv > dw)) | |
717 | 717 | then throw("invalid payment amount") | |
718 | 718 | else $Tuple2(du, (dw - fv)) | |
719 | 719 | else throw("wrong pmtAssetId") | |
720 | 720 | let fz = fy._1 | |
721 | 721 | let fA = fy._2 | |
722 | 722 | let fB = if ((dk == do)) | |
723 | 723 | then $Tuple2(fv, 0) | |
724 | 724 | else if ((dk == dp)) | |
725 | 725 | then $Tuple2(0, fv) | |
726 | 726 | else throw("invalid payment") | |
727 | 727 | let fC = fB._1 | |
728 | 728 | let fD = fB._2 | |
729 | 729 | let fE = if (fw) | |
730 | 730 | then $Tuple3(cA(fC, aW)._1, cA(fD, aW)._1, cA(fv, aW)._2) | |
731 | 731 | else $Tuple3(fC, fD, 0) | |
732 | 732 | let fF = fE._1 | |
733 | 733 | let fG = fE._2 | |
734 | 734 | let cC = fE._3 | |
735 | 735 | let fH = (fz + fF) | |
736 | 736 | let fI = (fA + fG) | |
737 | 737 | let cg = cD([H(fz, bt), H(fA, bu)]) | |
738 | 738 | let cf = cD([H(fH, bt), H(fI, bu)]) | |
739 | 739 | let ed = if ((cf > cg)) | |
740 | 740 | then true | |
741 | 741 | else throw() | |
742 | 742 | if ((ed == ed)) | |
743 | 743 | then { | |
744 | 744 | let fJ = fraction(eV, (cf - cg), cg, FLOOR) | |
745 | 745 | let dz = L(bU(H(fI, dX), H(fH, dW)), a) | |
746 | 746 | let ew = [IntegerEntry(ab(), dz), IntegerEntry(ac(an, lastBlock.timestamp), dz), StringEntry(af(dm, ah), bD(fC, fD, toInt(fJ), dz, 0, 0, an, lastBlock.timestamp, 0, 0))] | |
747 | 747 | let fK = fraction(fA, a, fz) | |
748 | 748 | let fL = fraction(fv, a, (fK + a)) | |
749 | 749 | let fM = (fv - fL) | |
750 | 750 | let fN = fraction(eV, toBigInt(fM), toBigInt(fA)) | |
751 | 751 | let fO = toInt(fraction((fJ - fN), b, fN)) | |
752 | 752 | $Tuple4(toInt(fJ), ew, cC, fO) | |
753 | 753 | } | |
754 | 754 | else throw("Strict value is not equal to itself.") | |
755 | 755 | } | |
756 | 756 | else throw("Strict value is not equal to itself.") | |
757 | 757 | } | |
758 | 758 | ||
759 | 759 | ||
760 | 760 | func fP (fQ,fR,fS,fr,fT,fU) = { | |
761 | 761 | let dn = toBase58String(value(bq)) | |
762 | 762 | let do = toBase58String(value(br)) | |
763 | 763 | let dp = toBase58String(value(bs)) | |
764 | 764 | let fV = bt | |
765 | 765 | let fW = bu | |
766 | 766 | let fX = bp | |
767 | 767 | let dm = if ((fr == bC)) | |
768 | 768 | then fT | |
769 | 769 | else fr | |
770 | 770 | let fp = value(fS[0]) | |
771 | 771 | let dk = value(fp.assetId) | |
772 | 772 | let dQ = fp.amount | |
773 | 773 | let eW = eP(e, e, e) | |
774 | 774 | if ((eW == eW)) | |
775 | 775 | then { | |
776 | 776 | let dj = toBase58String(fU) | |
777 | 777 | if ((dn != toBase58String(dk))) | |
778 | 778 | then throw("Wrong LP") | |
779 | 779 | else { | |
780 | 780 | let du = bS(do) | |
781 | 781 | let dw = bS(dp) | |
782 | 782 | let fY = { | |
783 | 783 | let aX = invoke(this, "getOneTknV2READONLY", [fQ, dQ], nil) | |
784 | 784 | if ($isInstanceOf(aX, "(Int, Int)")) | |
785 | 785 | then aX | |
786 | 786 | else throw(($getType(aX) + " couldn't be cast to (Int, Int)")) | |
787 | 787 | } | |
788 | 788 | if ((fY == fY)) | |
789 | 789 | then { | |
790 | 790 | let cC = fY._2 | |
791 | 791 | let fZ = fY._1 | |
792 | 792 | let ga = if (if ((fR > 0)) | |
793 | 793 | then (fR > fZ) | |
794 | 794 | else false) | |
795 | 795 | then aS(makeString(["amount to receive is less than ", toString(fR)], "")) | |
796 | 796 | else fZ | |
797 | 797 | let gb = if ((fQ == do)) | |
798 | 798 | then $Tuple4(ga, 0, ((du - ga) - cC), dw) | |
799 | 799 | else if ((fQ == dp)) | |
800 | 800 | then $Tuple4(0, ga, du, ((dw - ga) - cC)) | |
801 | 801 | else throw("invalid out asset id") | |
802 | 802 | let gc = gb._1 | |
803 | 803 | let gd = gb._2 | |
804 | 804 | let fH = gb._3 | |
805 | 805 | let fI = gb._4 | |
806 | 806 | let ge = bU(H(fI, fW), H(fH, fV)) | |
807 | 807 | let gf = L(ge, a) | |
808 | 808 | let gg = if ((fQ == "WAVES")) | |
809 | 809 | then unit | |
810 | 810 | else fromBase58String(fQ) | |
811 | 811 | let gh = if ((cC > 0)) | |
812 | 812 | then [ScriptTransfer(bc, cC, gg)] | |
813 | 813 | else nil | |
814 | 814 | let dG = ([ScriptTransfer(dm, ga, gg), StringEntry(ai(toString(dm), dj), bO(gc, gd, dQ, gf, an, lastBlock.timestamp)), IntegerEntry(ab(), gf), IntegerEntry(ac(an, lastBlock.timestamp), gf)] ++ gh) | |
815 | 815 | if ((dG == dG)) | |
816 | 816 | then { | |
817 | 817 | let gi = invoke(aV, "burn", [dQ], [AttachedPayment(dk, dQ)]) | |
818 | 818 | if ((gi == gi)) | |
819 | 819 | then { | |
820 | 820 | let gj = { | |
821 | 821 | let gk = if ((this == bc)) | |
822 | 822 | then 0 | |
823 | 823 | else cC | |
824 | 824 | let gl = if ((bh(fQ) == br)) | |
825 | 825 | then true | |
826 | 826 | else false | |
827 | 827 | if (gl) | |
828 | 828 | then $Tuple2(-((fZ + gk)), 0) | |
829 | 829 | else $Tuple2(0, -((fZ + gk))) | |
830 | 830 | } | |
831 | 831 | let eY = gj._1 | |
832 | 832 | let eZ = gj._2 | |
833 | 833 | let gm = eX(eY, eZ, 0) | |
834 | 834 | let gn = gm._1 | |
835 | 835 | let eO = gm._2 | |
836 | 836 | let go = fb(eW, eO) | |
837 | 837 | if ((go == go)) | |
838 | 838 | then $Tuple2((dG ++ gn), ga) | |
839 | 839 | else throw("Strict value is not equal to itself.") | |
840 | 840 | } | |
841 | 841 | else throw("Strict value is not equal to itself.") | |
842 | 842 | } | |
843 | 843 | else throw("Strict value is not equal to itself.") | |
844 | 844 | } | |
845 | 845 | else throw("Strict value is not equal to itself.") | |
846 | 846 | } | |
847 | 847 | } | |
848 | 848 | else throw("Strict value is not equal to itself.") | |
849 | 849 | } | |
850 | 850 | ||
851 | 851 | ||
852 | 852 | func gp () = { | |
853 | 853 | let gq = getString(Z()) | |
854 | 854 | if ($isInstanceOf(gq, "String")) | |
855 | 855 | then { | |
856 | 856 | let cH = gq | |
857 | 857 | fromBase58String(cH) | |
858 | 858 | } | |
859 | 859 | else if ($isInstanceOf(gq, "Unit")) | |
860 | 860 | then unit | |
861 | 861 | else throw("Match error") | |
862 | 862 | } | |
863 | 863 | ||
864 | 864 | ||
865 | 865 | func gr () = { | |
866 | 866 | let gq = getString(aa()) | |
867 | 867 | if ($isInstanceOf(gq, "String")) | |
868 | 868 | then { | |
869 | 869 | let cH = gq | |
870 | 870 | fromBase58String(cH) | |
871 | 871 | } | |
872 | 872 | else if ($isInstanceOf(gq, "Unit")) | |
873 | 873 | then unit | |
874 | 874 | else throw("Match error") | |
875 | 875 | } | |
876 | 876 | ||
877 | 877 | ||
878 | 878 | let gs = throw("Permission denied") | |
879 | 879 | ||
880 | 880 | func gt (cU) = { | |
881 | 881 | let gq = gp() | |
882 | 882 | if ($isInstanceOf(gq, "ByteVector")) | |
883 | 883 | then { | |
884 | 884 | let gu = gq | |
885 | 885 | (cU.callerPublicKey == gu) | |
886 | 886 | } | |
887 | 887 | else if ($isInstanceOf(gq, "Unit")) | |
888 | 888 | then (cU.caller == this) | |
889 | 889 | else throw("Match error") | |
890 | 890 | } | |
891 | 891 | ||
892 | 892 | ||
893 | 893 | func gv (cU) = { | |
894 | 894 | let gq = gp() | |
895 | 895 | if ($isInstanceOf(gq, "ByteVector")) | |
896 | 896 | then { | |
897 | 897 | let gu = gq | |
898 | 898 | if ((cU.callerPublicKey == gu)) | |
899 | 899 | then true | |
900 | 900 | else gs | |
901 | 901 | } | |
902 | 902 | else if ($isInstanceOf(gq, "Unit")) | |
903 | 903 | then if ((cU.caller == this)) | |
904 | 904 | then true | |
905 | 905 | else gs | |
906 | 906 | else throw("Match error") | |
907 | 907 | } | |
908 | 908 | ||
909 | 909 | ||
910 | 910 | func gw (gx,ey,gy) = { | |
911 | 911 | let bl = bd() | |
912 | 912 | let do = bl[w] | |
913 | 913 | let dp = bl[x] | |
914 | 914 | let ez = g | |
915 | 915 | let eB = parseBigIntValue(l) | |
916 | 916 | let cI = (parseBigIntValue(aZ) * eB) | |
917 | 917 | let cE = if ((gx == false)) | |
918 | 918 | then [(toBigInt(bS(do)) + gy), toBigInt(bS(dp))] | |
919 | 919 | else [(toBigInt(bS(dp)) + gy), toBigInt(bS(do))] | |
920 | 920 | let eA = cE[0] | |
921 | 921 | let cH = eA | |
922 | 922 | let cJ = (cI * ez) | |
923 | 923 | let eC = (((((ey * ey) / (eA * ez)) * ey) * eB) / (cJ * ez)) | |
924 | 924 | let eD = ((cH + ((ey * eB) / cJ)) - ey) | |
925 | 925 | func cS (cT,eE) = { | |
926 | 926 | let gz = cT | |
927 | 927 | let eG = gz._1 | |
928 | 928 | let dh = gz._2 | |
929 | 929 | if ((dh != unit)) | |
930 | 930 | then cT | |
931 | 931 | else { | |
932 | 932 | let eH = (((eG * eG) + eC) / ((g * eG) + eD)) | |
933 | 933 | let eI = X((eH - value(eG))) | |
934 | 934 | if ((f >= eI)) | |
935 | 935 | then $Tuple2(eH, eE) | |
936 | 936 | else $Tuple2(eH, unit) | |
937 | 937 | } | |
938 | 938 | } | |
939 | 939 | ||
940 | 940 | let cY = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
941 | 941 | let gA = { | |
942 | 942 | let da = cY | |
943 | 943 | let db = size(da) | |
944 | 944 | let dc = $Tuple2(ey, unit) | |
945 | 945 | func dd (de,df) = if ((df >= db)) | |
946 | 946 | then de | |
947 | 947 | else cS(de, da[df]) | |
948 | 948 | ||
949 | 949 | func dg (de,df) = if ((df >= db)) | |
950 | 950 | then de | |
951 | 951 | else throw("List size exceeds 15") | |
952 | 952 | ||
953 | 953 | dg(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dd(dc, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
954 | 954 | } | |
955 | 955 | let eG = gA._1 | |
956 | 956 | let dh = gA._2 | |
957 | 957 | if ((dh != unit)) | |
958 | 958 | then eG | |
959 | 959 | else throw(("Y calculation error, Y = " + toString(eG))) | |
960 | 960 | } | |
961 | 961 | ||
962 | 962 | ||
963 | 963 | func gB () = valueOrElse(getBoolean(aV, aH(toString(this))), false) | |
964 | 964 | ||
965 | 965 | ||
966 | 966 | @Callable(cU) | |
967 | 967 | func calculateAmountOutForSwapREADONLY (gC,gx,gD) = { | |
968 | 968 | let gE = if ((gx == false)) | |
969 | 969 | then { | |
970 | 970 | let gF = aO(this, ak()) | |
971 | 971 | let gy = (toBigInt(bS(aO(this, aj()))) + toBigInt(gC)) | |
972 | 972 | $Tuple2(gF, gy) | |
973 | 973 | } | |
974 | 974 | else { | |
975 | 975 | let gF = aO(this, aj()) | |
976 | 976 | let gy = (toBigInt(bS(aO(this, ak()))) + toBigInt(gC)) | |
977 | 977 | $Tuple2(gF, gy) | |
978 | 978 | } | |
979 | 979 | let gF = gE._1 | |
980 | 980 | let gy = gE._2 | |
981 | 981 | let bl = bd() | |
982 | 982 | let do = bl[w] | |
983 | 983 | let dp = bl[x] | |
984 | 984 | let cE = [toBigInt(bS(do)), toBigInt(bS(dp))] | |
985 | 985 | let ey = cD(cE) | |
986 | 986 | let eG = gw(gx, ey, toBigInt(gC)) | |
987 | 987 | let gG = ((toBigInt(bS(gF)) - eG) - toBigInt(1)) | |
988 | 988 | let gH = max([0, toInt(gG)]) | |
989 | 989 | let gI = if ((gx == false)) | |
990 | 990 | then [((toBigInt(bS(do)) + toBigInt(gC)) + toBigInt(gD)), (toBigInt(bS(dp)) - gG)] | |
991 | 991 | else [(toBigInt(bS(do)) - gG), ((toBigInt(bS(dp)) + toBigInt(gC)) + toBigInt(gD))] | |
992 | 992 | let gJ = cD(gI) | |
993 | 993 | let ed = if ((gJ >= ey)) | |
994 | 994 | then true | |
995 | 995 | else throw(makeString(["new D is fewer error", toString(ey), toString(gJ)], "__")) | |
996 | 996 | if ((ed == ed)) | |
997 | 997 | then $Tuple2(nil, gH) | |
998 | 998 | else throw("Strict value is not equal to itself.") | |
999 | 999 | } | |
1000 | 1000 | ||
1001 | 1001 | ||
1002 | 1002 | ||
1003 | 1003 | @Callable(cU) | |
1004 | 1004 | func calculateAmountOutForSwapAndSendTokens (gC,gx,gK,gL,gD) = { | |
1005 | 1005 | let gM = { | |
1006 | 1006 | let aX = invoke(aV, "getSwapContractREADONLY", nil, nil) | |
1007 | 1007 | if ($isInstanceOf(aX, "String")) | |
1008 | 1008 | then aX | |
1009 | 1009 | else throw(($getType(aX) + " couldn't be cast to String")) | |
1010 | 1010 | } | |
1011 | 1011 | let gN = [if ((value(cU.payments[0]).amount >= gC)) | |
1012 | 1012 | then true | |
1013 | 1013 | else aS("Wrong amount"), if ((cU.caller == addressFromStringValue(gM))) | |
1014 | 1014 | then true | |
1015 | 1015 | else aS("Permission denied")] | |
1016 | 1016 | if ((gN == gN)) | |
1017 | 1017 | then { | |
1018 | 1018 | let fp = value(cU.payments[0]) | |
1019 | 1019 | let gO = bj(fp.assetId) | |
1020 | 1020 | let gP = if ((gx == false)) | |
1021 | 1021 | then { | |
1022 | 1022 | let gF = aO(this, ak()) | |
1023 | 1023 | let gy = (bS(gO) - value(cU.payments[0]).amount) | |
1024 | 1024 | $Tuple2(gF, gy) | |
1025 | 1025 | } | |
1026 | 1026 | else { | |
1027 | 1027 | let gF = aO(this, aj()) | |
1028 | 1028 | let gy = (bS(gO) - value(cU.payments[0]).amount) | |
1029 | 1029 | $Tuple2(gF, gy) | |
1030 | 1030 | } | |
1031 | 1031 | let gF = gP._1 | |
1032 | 1032 | let gy = gP._2 | |
1033 | 1033 | let bl = bd() | |
1034 | 1034 | let do = bl[w] | |
1035 | 1035 | let dp = bl[x] | |
1036 | 1036 | let cE = if ((gx == false)) | |
1037 | 1037 | then [(toBigInt(bS(do)) - toBigInt(value(cU.payments[0]).amount)), toBigInt(bS(dp))] | |
1038 | 1038 | else [toBigInt(bS(do)), (toBigInt(bS(dp)) - toBigInt(value(cU.payments[0]).amount))] | |
1039 | 1039 | let ey = cD(cE) | |
1040 | 1040 | let eG = gw(gx, ey, toBigInt(0)) | |
1041 | 1041 | let gG = ((toBigInt(bS(gF)) - eG) - toBigInt(1)) | |
1042 | 1042 | let gH = max([0, toInt(gG)]) | |
1043 | 1043 | let gQ = if ((gH >= gK)) | |
1044 | 1044 | then true | |
1045 | 1045 | else throw("Exchange result is fewer coins than expected") | |
1046 | 1046 | if ((gQ == gQ)) | |
1047 | 1047 | then { | |
1048 | 1048 | let gI = if ((gx == false)) | |
1049 | 1049 | then [(toBigInt(bS(do)) + toBigInt(gD)), (toBigInt(bS(dp)) - gG)] | |
1050 | 1050 | else [(toBigInt(bS(do)) - gG), (toBigInt(bS(dp)) + toBigInt(gD))] | |
1051 | 1051 | let gJ = cD(gI) | |
1052 | 1052 | let ed = if ((gJ >= ey)) | |
1053 | 1053 | then true | |
1054 | 1054 | else throw("new D is fewer error") | |
1055 | 1055 | if ((ed == ed)) | |
1056 | 1056 | then $Tuple2([ScriptTransfer(addressFromStringValue(gL), gH, bh(gF))], gH) | |
1057 | 1057 | else throw("Strict value is not equal to itself.") | |
1058 | 1058 | } | |
1059 | 1059 | else throw("Strict value is not equal to itself.") | |
1060 | 1060 | } | |
1061 | 1061 | else throw("Strict value is not equal to itself.") | |
1062 | 1062 | } | |
1063 | 1063 | ||
1064 | 1064 | ||
1065 | 1065 | ||
1066 | 1066 | @Callable(cU) | |
1067 | 1067 | func constructor (Y) = { | |
1068 | 1068 | let eC = gv(cU) | |
1069 | 1069 | if ((eC == eC)) | |
1070 | 1070 | then [StringEntry(Y(), Y)] | |
1071 | 1071 | else throw("Strict value is not equal to itself.") | |
1072 | 1072 | } | |
1073 | 1073 | ||
1074 | 1074 | ||
1075 | 1075 | ||
1076 | 1076 | @Callable(cU) | |
1077 | 1077 | func setManager (gR) = { | |
1078 | 1078 | let eC = gv(cU) | |
1079 | 1079 | if ((eC == eC)) | |
1080 | 1080 | then { | |
1081 | 1081 | let gS = fromBase58String(gR) | |
1082 | 1082 | if ((gS == gS)) | |
1083 | 1083 | then [StringEntry(aa(), gR)] | |
1084 | 1084 | else throw("Strict value is not equal to itself.") | |
1085 | 1085 | } | |
1086 | 1086 | else throw("Strict value is not equal to itself.") | |
1087 | 1087 | } | |
1088 | 1088 | ||
1089 | 1089 | ||
1090 | 1090 | ||
1091 | 1091 | @Callable(cU) | |
1092 | 1092 | func confirmManager () = { | |
1093 | 1093 | let cz = gr() | |
1094 | 1094 | let gT = if (isDefined(cz)) | |
1095 | 1095 | then true | |
1096 | 1096 | else throw("No pending manager") | |
1097 | 1097 | if ((gT == gT)) | |
1098 | 1098 | then { | |
1099 | 1099 | let gU = if ((cU.callerPublicKey == value(cz))) | |
1100 | 1100 | then true | |
1101 | 1101 | else throw("You are not pending manager") | |
1102 | 1102 | if ((gU == gU)) | |
1103 | 1103 | then [StringEntry(Z(), toBase58String(value(cz))), DeleteEntry(aa())] | |
1104 | 1104 | else throw("Strict value is not equal to itself.") | |
1105 | 1105 | } | |
1106 | 1106 | else throw("Strict value is not equal to itself.") | |
1107 | 1107 | } | |
1108 | 1108 | ||
1109 | 1109 | ||
1110 | 1110 | ||
1111 | 1111 | @Callable(cU) | |
1112 | 1112 | func put (gV,gW) = { | |
1113 | 1113 | let gX = bx() | |
1114 | 1114 | let gY = valueOrErrorMessage(addressFromString(gX[C]), "Wr st addr") | |
1115 | 1115 | let gZ = valueOrErrorMessage(addressFromString(gX[E]), "Wr sl addr") | |
1116 | 1116 | if ((0 > gV)) | |
1117 | 1117 | then throw("Wrong slippage") | |
1118 | 1118 | else if ((size(cU.payments) != 2)) | |
1119 | 1119 | then throw("2 pmnts expd") | |
1120 | 1120 | else { | |
1121 | 1121 | let ha = toBigInt(value(cU.payments[0]).amount) | |
1122 | 1122 | let hb = toBigInt(value(cU.payments[1]).amount) | |
1123 | 1123 | let eT = (toBigInt(bS(bj(br))) - ha) | |
1124 | 1124 | if ((eT == eT)) | |
1125 | 1125 | then { | |
1126 | 1126 | let eU = (toBigInt(bS(bj(bs))) - hb) | |
1127 | 1127 | if ((eU == eU)) | |
1128 | 1128 | then { | |
1129 | 1129 | let eV = toBigInt(value(assetInfo(bq)).quantity) | |
1130 | 1130 | if ((eV == eV)) | |
1131 | 1131 | then { | |
1132 | 1132 | let eW = eP(ha, hb, toBigInt(0)) | |
1133 | 1133 | if ((eW == eW)) | |
1134 | 1134 | then { | |
1135 | 1135 | let hc = fq(toString(cU.caller), toBase58String(cU.transactionId), AttachedPayment(value(cU.payments[0]).assetId, value(cU.payments[0]).amount), cU.payments[1], gV, true, false, true, 0, "") | |
1136 | 1136 | let eq = hc._2 | |
1137 | 1137 | let hd = hc._7 | |
1138 | 1138 | let dG = hc._9 | |
1139 | 1139 | let er = hc._10 | |
1140 | 1140 | let es = hc._11 | |
1141 | 1141 | let do = hc._12 | |
1142 | 1142 | let dp = hc._13 | |
1143 | 1143 | let ec = invoke(aV, "emit", [eq], nil) | |
1144 | 1144 | if ((ec == ec)) | |
1145 | 1145 | then { | |
1146 | 1146 | let he = { | |
1147 | 1147 | let gq = ec | |
1148 | 1148 | if ($isInstanceOf(gq, "Address")) | |
1149 | 1149 | then { | |
1150 | 1150 | let hf = gq | |
1151 | 1151 | invoke(hf, "emit", [eq], nil) | |
1152 | 1152 | } | |
1153 | 1153 | else unit | |
1154 | 1154 | } | |
1155 | 1155 | if ((he == he)) | |
1156 | 1156 | then { | |
1157 | 1157 | let hg = if ((er > 0)) | |
1158 | 1158 | then invoke(gZ, "put", nil, [AttachedPayment(do, er)]) | |
1159 | 1159 | else nil | |
1160 | 1160 | if ((hg == hg)) | |
1161 | 1161 | then { | |
1162 | 1162 | let hh = if ((es > 0)) | |
1163 | 1163 | then invoke(gZ, "put", nil, [AttachedPayment(dp, es)]) | |
1164 | 1164 | else nil | |
1165 | 1165 | if ((hh == hh)) | |
1166 | 1166 | then { | |
1167 | 1167 | let hi = if (gW) | |
1168 | 1168 | then { | |
1169 | 1169 | let hj = invoke(gY, "stake", nil, [AttachedPayment(hd, eq)]) | |
1170 | 1170 | if ((hj == hj)) | |
1171 | 1171 | then nil | |
1172 | 1172 | else throw("Strict value is not equal to itself.") | |
1173 | 1173 | } | |
1174 | 1174 | else [ScriptTransfer(cU.caller, eq, hd)] | |
1175 | 1175 | let hk = eX(0, 0, 0) | |
1176 | 1176 | let gn = hk._1 | |
1177 | 1177 | let eO = hk._2 | |
1178 | 1178 | let hl = if ((eO >= eW)) | |
1179 | 1179 | then true | |
1180 | 1180 | else aS(makeString(["updated DLp lower than current DLp", toString(eT), toString(eU), toString(eV), toString(eW), toString(eO), toString(er), toString(es)], " ")) | |
1181 | 1181 | if ((hl == hl)) | |
1182 | 1182 | then { | |
1183 | 1183 | let hm = value(assetInfo(bq)).quantity | |
1184 | 1184 | if ((hm == hm)) | |
1185 | 1185 | then ((dG ++ hi) ++ gn) | |
1186 | 1186 | else throw("Strict value is not equal to itself.") | |
1187 | 1187 | } | |
1188 | 1188 | else throw("Strict value is not equal to itself.") | |
1189 | 1189 | } | |
1190 | 1190 | else throw("Strict value is not equal to itself.") | |
1191 | 1191 | } | |
1192 | 1192 | else throw("Strict value is not equal to itself.") | |
1193 | 1193 | } | |
1194 | 1194 | else throw("Strict value is not equal to itself.") | |
1195 | 1195 | } | |
1196 | 1196 | else throw("Strict value is not equal to itself.") | |
1197 | 1197 | } | |
1198 | 1198 | else throw("Strict value is not equal to itself.") | |
1199 | 1199 | } | |
1200 | 1200 | else throw("Strict value is not equal to itself.") | |
1201 | 1201 | } | |
1202 | 1202 | else throw("Strict value is not equal to itself.") | |
1203 | 1203 | } | |
1204 | 1204 | else throw("Strict value is not equal to itself.") | |
1205 | 1205 | } | |
1206 | 1206 | } | |
1207 | 1207 | ||
1208 | 1208 | ||
1209 | 1209 | ||
1210 | 1210 | @Callable(cU) | |
1211 | 1211 | func putOneTknV2 (fR,gW) = { | |
1212 | 1212 | let hn = { | |
1213 | 1213 | let aX = invoke(aV, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1214 | 1214 | if ($isInstanceOf(aX, "Boolean")) | |
1215 | 1215 | then aX | |
1216 | 1216 | else throw(($getType(aX) + " couldn't be cast to Boolean")) | |
1217 | 1217 | } | |
1218 | 1218 | let ho = if (if (if (ba()) | |
1219 | 1219 | then true | |
1220 | 1220 | else (bp == q)) | |
1221 | 1221 | then true | |
1222 | 1222 | else (bp == s)) | |
1223 | 1223 | then true | |
1224 | 1224 | else hn | |
1225 | 1225 | let gN = [if (if (!(ho)) | |
1226 | 1226 | then true | |
1227 | 1227 | else gt(cU)) | |
1228 | 1228 | then true | |
1229 | 1229 | else aS("put operation is blocked by admin"), if ((size(cU.payments) == 1)) | |
1230 | 1230 | then true | |
1231 | 1231 | else aS("exactly 1 payment are expected")] | |
1232 | 1232 | if ((gN == gN)) | |
1233 | 1233 | then { | |
1234 | 1234 | let do = toBase58String(value(br)) | |
1235 | 1235 | let dp = toBase58String(value(bs)) | |
1236 | 1236 | let dn = bq | |
1237 | 1237 | let fV = bt | |
1238 | 1238 | let fW = bu | |
1239 | 1239 | let dm = if ((cU.caller == this)) | |
1240 | 1240 | then cU.originCaller | |
1241 | 1241 | else cU.caller | |
1242 | 1242 | let fp = value(cU.payments[0]) | |
1243 | 1243 | let dk = toBase58String(value(fp.assetId)) | |
1244 | 1244 | let dQ = fp.amount | |
1245 | 1245 | let eW = if ((fp.assetId == br)) | |
1246 | 1246 | then eP(toBigInt(dQ), toBigInt(0), toBigInt(0)) | |
1247 | 1247 | else eP(toBigInt(0), toBigInt(dQ), toBigInt(0)) | |
1248 | 1248 | if ((eW == eW)) | |
1249 | 1249 | then { | |
1250 | 1250 | let hp = fu(dQ, dk, toString(dm), toBase58String(cU.transactionId), true) | |
1251 | 1251 | if ((hp == hp)) | |
1252 | 1252 | then { | |
1253 | 1253 | let cC = hp._3 | |
1254 | 1254 | let dG = hp._2 | |
1255 | 1255 | let hq = hp._1 | |
1256 | 1256 | let eq = if (if ((fR > 0)) | |
1257 | 1257 | then (fR > hq) | |
1258 | 1258 | else false) | |
1259 | 1259 | then aS(makeString(["amount to receive is less than ", toString(fR)], "")) | |
1260 | 1260 | else hq | |
1261 | 1261 | let hc = invoke(aV, "emit", [eq], nil) | |
1262 | 1262 | if ((hc == hc)) | |
1263 | 1263 | then { | |
1264 | 1264 | let he = { | |
1265 | 1265 | let gq = hc | |
1266 | 1266 | if ($isInstanceOf(gq, "Address")) | |
1267 | 1267 | then { | |
1268 | 1268 | let hf = gq | |
1269 | 1269 | invoke(hf, "emit", [eq], nil) | |
1270 | 1270 | } | |
1271 | 1271 | else unit | |
1272 | 1272 | } | |
1273 | 1273 | if ((he == he)) | |
1274 | 1274 | then { | |
1275 | 1275 | let hi = if (gW) | |
1276 | 1276 | then { | |
1277 | 1277 | let hj = invoke(bz, "stakeFor", [toString(cU.caller)], [AttachedPayment(dn, eq)]) | |
1278 | 1278 | if ((hj == hj)) | |
1279 | 1279 | then nil | |
1280 | 1280 | else throw("Strict value is not equal to itself.") | |
1281 | 1281 | } | |
1282 | 1282 | else [ScriptTransfer(cU.caller, eq, dn)] | |
1283 | 1283 | let gh = if ((cC > 0)) | |
1284 | 1284 | then [ScriptTransfer(bc, cC, fromBase58String(dk))] | |
1285 | 1285 | else nil | |
1286 | 1286 | let hr = if ((this == bc)) | |
1287 | 1287 | then $Tuple2(0, 0) | |
1288 | 1288 | else { | |
1289 | 1289 | let hs = if ((fp.assetId == br)) | |
1290 | 1290 | then true | |
1291 | 1291 | else false | |
1292 | 1292 | if (hs) | |
1293 | 1293 | then $Tuple2(-(cC), 0) | |
1294 | 1294 | else $Tuple2(0, -(cC)) | |
1295 | 1295 | } | |
1296 | 1296 | let eY = hr._1 | |
1297 | 1297 | let eZ = hr._2 | |
1298 | 1298 | let ht = eX(eY, eZ, 0) | |
1299 | 1299 | let gn = ht._1 | |
1300 | 1300 | let eO = ht._2 | |
1301 | 1301 | let go = fb(eW, eO) | |
1302 | 1302 | if ((go == go)) | |
1303 | 1303 | then $Tuple2((((dG ++ hi) ++ gh) ++ gn), eq) | |
1304 | 1304 | else throw("Strict value is not equal to itself.") | |
1305 | 1305 | } | |
1306 | 1306 | else throw("Strict value is not equal to itself.") | |
1307 | 1307 | } | |
1308 | 1308 | else throw("Strict value is not equal to itself.") | |
1309 | 1309 | } | |
1310 | 1310 | else throw("Strict value is not equal to itself.") | |
1311 | 1311 | } | |
1312 | 1312 | else throw("Strict value is not equal to itself.") | |
1313 | 1313 | } | |
1314 | 1314 | else throw("Strict value is not equal to itself.") | |
1315 | 1315 | } | |
1316 | 1316 | ||
1317 | 1317 | ||
1318 | 1318 | ||
1319 | 1319 | @Callable(cU) | |
1320 | 1320 | func putForFree (hu) = if ((0 > hu)) | |
1321 | 1321 | then throw("Wrong slpg") | |
1322 | 1322 | else if ((size(cU.payments) != 2)) | |
1323 | 1323 | then throw("2 pmnts expd") | |
1324 | 1324 | else { | |
1325 | 1325 | let hv = fq(toString(cU.caller), toBase58String(cU.transactionId), AttachedPayment(value(cU.payments[0]).assetId, value(cU.payments[0]).amount), cU.payments[1], hu, false, false, true, 0, "") | |
1326 | 1326 | let dG = hv._9 | |
1327 | 1327 | let ha = toBigInt(value(cU.payments[0]).amount) | |
1328 | 1328 | let hb = toBigInt(value(cU.payments[1]).amount) | |
1329 | 1329 | let eW = eP(ha, hb, toBigInt(0)) | |
1330 | 1330 | if ((eW == eW)) | |
1331 | 1331 | then { | |
1332 | 1332 | let hw = eX(0, 0, 0) | |
1333 | 1333 | let gn = hw._1 | |
1334 | 1334 | let eO = hw._2 | |
1335 | 1335 | let go = fb(eW, eO) | |
1336 | 1336 | if ((go == go)) | |
1337 | 1337 | then (dG ++ gn) | |
1338 | 1338 | else throw("Strict value is not equal to itself.") | |
1339 | 1339 | } | |
1340 | 1340 | else throw("Strict value is not equal to itself.") | |
1341 | 1341 | } | |
1342 | 1342 | ||
1343 | 1343 | ||
1344 | 1344 | ||
1345 | 1345 | @Callable(cU) | |
1346 | 1346 | func get () = { | |
1347 | 1347 | let eW = eP(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1348 | 1348 | if ((eW == eW)) | |
1349 | 1349 | then { | |
1350 | 1350 | let ec = fo(cU) | |
1351 | 1351 | let hx = ec._1 | |
1352 | 1352 | let dF = ec._2 | |
1353 | 1353 | let dQ = ec._3 | |
1354 | 1354 | let dk = ec._4 | |
1355 | 1355 | let dG = ec._5 | |
1356 | 1356 | let eD = invoke(aV, "burn", [dQ], [AttachedPayment(dk, dQ)]) | |
1357 | 1357 | if ((eD == eD)) | |
1358 | 1358 | then { | |
1359 | 1359 | let hy = eX(-(hx), -(dF), 0) | |
1360 | 1360 | let gn = hy._1 | |
1361 | 1361 | let eO = hy._2 | |
1362 | 1362 | let go = fb(eW, eO) | |
1363 | 1363 | if ((go == go)) | |
1364 | 1364 | then (dG ++ gn) | |
1365 | 1365 | else throw("Strict value is not equal to itself.") | |
1366 | 1366 | } | |
1367 | 1367 | else throw("Strict value is not equal to itself.") | |
1368 | 1368 | } | |
1369 | 1369 | else throw("Strict value is not equal to itself.") | |
1370 | 1370 | } | |
1371 | 1371 | ||
1372 | 1372 | ||
1373 | 1373 | ||
1374 | 1374 | @Callable(cU) | |
1375 | 1375 | func getOneTknV2 (fQ,fR) = { | |
1376 | 1376 | let hn = { | |
1377 | 1377 | let aX = invoke(aV, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1378 | 1378 | if ($isInstanceOf(aX, "Boolean")) | |
1379 | 1379 | then aX | |
1380 | 1380 | else throw(($getType(aX) + " couldn't be cast to Boolean")) | |
1381 | 1381 | } | |
1382 | 1382 | let hz = if (if (ba()) | |
1383 | 1383 | then true | |
1384 | 1384 | else (bp == s)) | |
1385 | 1385 | then true | |
1386 | 1386 | else hn | |
1387 | 1387 | let gN = [if (if (!(hz)) | |
1388 | 1388 | then true | |
1389 | 1389 | else gt(cU)) | |
1390 | 1390 | then true | |
1391 | 1391 | else aS("get operation is blocked by admin"), if ((size(cU.payments) == 1)) | |
1392 | 1392 | then true | |
1393 | 1393 | else aS("exactly 1 payment are expected")] | |
1394 | 1394 | if ((gN == gN)) | |
1395 | 1395 | then { | |
1396 | 1396 | let hA = fP(fQ, fR, cU.payments, cU.caller, cU.originCaller, cU.transactionId) | |
1397 | 1397 | let dG = hA._1 | |
1398 | 1398 | let ga = hA._2 | |
1399 | 1399 | $Tuple2(dG, ga) | |
1400 | 1400 | } | |
1401 | 1401 | else throw("Strict value is not equal to itself.") | |
1402 | 1402 | } | |
1403 | 1403 | ||
1404 | 1404 | ||
1405 | 1405 | ||
1406 | 1406 | @Callable(cU) | |
1407 | 1407 | func refreshDLp () = { | |
1408 | 1408 | let hB = valueOrElse(getInteger(at), 0) | |
1409 | 1409 | let hC = if (((an - hB) >= aw)) | |
1410 | 1410 | then unit | |
1411 | 1411 | else aS(makeString([toString(aw), " blocks have not passed since the previous call"], "")) | |
1412 | 1412 | if ((hC == hC)) | |
1413 | 1413 | then { | |
1414 | 1414 | let fi = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, as), "0")), aU("invalid dLp")) | |
1415 | 1415 | let hD = eX(0, 0, 0) | |
1416 | 1416 | let hE = hD._1 | |
1417 | 1417 | let eO = hD._2 | |
1418 | 1418 | let fa = if ((fi != eO)) | |
1419 | 1419 | then hE | |
1420 | 1420 | else aS("nothing to refresh") | |
1421 | 1421 | $Tuple2(fa, toString(eO)) | |
1422 | 1422 | } | |
1423 | 1423 | else throw("Strict value is not equal to itself.") | |
1424 | 1424 | } | |
1425 | 1425 | ||
1426 | 1426 | ||
1427 | 1427 | ||
1428 | 1428 | @Callable(cU) | |
1429 | 1429 | func getOneTknV2READONLY (fQ,hF) = { | |
1430 | 1430 | let do = toBase58String(value(br)) | |
1431 | 1431 | let dp = toBase58String(value(bs)) | |
1432 | 1432 | let dn = toBase58String(value(bq)) | |
1433 | 1433 | let cE = [toBigInt(bS(do)), toBigInt(bS(dp))] | |
1434 | 1434 | let eN = toBigInt(valueOrErrorMessage(assetInfo(fromBase58String(dn)), "invalid lp asset").quantity) | |
1435 | 1435 | let cg = cD(cE) | |
1436 | 1436 | let cf = (cg - fraction(toBigInt(hF), cg, eN)) | |
1437 | 1437 | let hG = if ((fQ == do)) | |
1438 | 1438 | then 0 | |
1439 | 1439 | else if ((fQ == dp)) | |
1440 | 1440 | then 1 | |
1441 | 1441 | else throw("invalid out asset id") | |
1442 | 1442 | let hH = ex(cE, hG, cf) | |
1443 | 1443 | let gG = (cE[hG] - hH) | |
1444 | 1444 | let gH = max([0, toInt((gG - f))]) | |
1445 | 1445 | let hI = cA(gH, aY) | |
1446 | 1446 | let fZ = hI._1 | |
1447 | 1447 | let cC = hI._2 | |
1448 | 1448 | $Tuple2(nil, $Tuple2(fZ, cC)) | |
1449 | 1449 | } | |
1450 | 1450 | ||
1451 | 1451 | ||
1452 | 1452 | ||
1453 | 1453 | @Callable(cU) | |
1454 | 1454 | func getOneTknV2WithBonusREADONLY (fQ,hF) = { | |
1455 | 1455 | let do = toBase58String(value(br)) | |
1456 | 1456 | let dp = toBase58String(value(bs)) | |
1457 | 1457 | let dn = toBase58String(value(bq)) | |
1458 | 1458 | let du = bS(do) | |
1459 | 1459 | let dw = bS(dp) | |
1460 | 1460 | let hJ = { | |
1461 | 1461 | let aX = invoke(this, "getOneTknV2READONLY", [fQ, hF], nil) | |
1462 | 1462 | if ($isInstanceOf(aX, "(Int, Int)")) | |
1463 | 1463 | then aX | |
1464 | 1464 | else throw(($getType(aX) + " couldn't be cast to (Int, Int)")) | |
1465 | 1465 | } | |
1466 | 1466 | let fZ = hJ._1 | |
1467 | 1467 | let cC = hJ._2 | |
1468 | 1468 | let ec = di("", dn, hF, this) | |
1469 | 1469 | let dE = ec._1 | |
1470 | 1470 | let dF = ec._2 | |
1471 | 1471 | let hK = (dE + dF) | |
1472 | 1472 | let fO = if ((hK == 0)) | |
1473 | 1473 | then if ((fZ == 0)) | |
1474 | 1474 | then 0 | |
1475 | 1475 | else throw("bonus calculation error") | |
1476 | 1476 | else fraction((fZ - hK), a, hK) | |
1477 | 1477 | $Tuple2(nil, $Tuple3(fZ, cC, fO)) | |
1478 | 1478 | } | |
1479 | 1479 | ||
1480 | 1480 | ||
1481 | 1481 | ||
1482 | 1482 | @Callable(cU) | |
1483 | 1483 | func getNoLess (hL,hM) = { | |
1484 | 1484 | let ec = fo(cU) | |
1485 | 1485 | let dE = ec._1 | |
1486 | 1486 | let dF = ec._2 | |
1487 | 1487 | let dQ = ec._3 | |
1488 | 1488 | let dk = ec._4 | |
1489 | 1489 | let dG = ec._5 | |
1490 | 1490 | if ((hL > dE)) | |
1491 | 1491 | then throw(((("Failed: " + toString(dE)) + " < ") + toString(hL))) | |
1492 | 1492 | else if ((hM > dF)) | |
1493 | 1493 | then throw(((("Failed: " + toString(dF)) + " < ") + toString(hM))) | |
1494 | 1494 | else { | |
1495 | 1495 | let eW = eP(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1496 | 1496 | if ((eW == eW)) | |
1497 | 1497 | then { | |
1498 | 1498 | let hN = invoke(aV, "burn", [dQ], [AttachedPayment(dk, dQ)]) | |
1499 | 1499 | if ((hN == hN)) | |
1500 | 1500 | then { | |
1501 | 1501 | let hO = eX(-(dE), -(dF), 0) | |
1502 | 1502 | let gn = hO._1 | |
1503 | 1503 | let eO = hO._2 | |
1504 | 1504 | let go = fb(eW, eO) | |
1505 | 1505 | if ((go == go)) | |
1506 | 1506 | then (dG ++ gn) | |
1507 | 1507 | else throw("Strict value is not equal to itself.") | |
1508 | 1508 | } | |
1509 | 1509 | else throw("Strict value is not equal to itself.") | |
1510 | 1510 | } | |
1511 | 1511 | else throw("Strict value is not equal to itself.") | |
1512 | 1512 | } | |
1513 | 1513 | } | |
1514 | 1514 | ||
1515 | 1515 | ||
1516 | 1516 | ||
1517 | 1517 | @Callable(cU) | |
1518 | 1518 | func unstakeAndGet (cB) = { | |
1519 | 1519 | let hP = if ((size(cU.payments) != 0)) | |
1520 | 1520 | then throw("No pmnts expd") | |
1521 | 1521 | else true | |
1522 | 1522 | if ((hP == hP)) | |
1523 | 1523 | then { | |
1524 | 1524 | let hQ = bx() | |
1525 | 1525 | let hd = bq | |
1526 | 1526 | let hR = valueOrErrorMessage(addressFromString(hQ[C]), "Wr st addr") | |
1527 | 1527 | let eW = eP(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1528 | 1528 | if ((eW == eW)) | |
1529 | 1529 | then { | |
1530 | 1530 | let hS = invoke(hR, "unstake", [toBase58String(hd), cB], nil) | |
1531 | 1531 | if ((hS == hS)) | |
1532 | 1532 | then { | |
1533 | 1533 | let ec = di(toBase58String(cU.transactionId), toBase58String(hd), cB, cU.caller) | |
1534 | 1534 | let dE = ec._1 | |
1535 | 1535 | let dF = ec._2 | |
1536 | 1536 | let ds = parseIntValue(ec._9) | |
1537 | 1537 | let dG = ec._10 | |
1538 | 1538 | let hT = if (if (ba()) | |
1539 | 1539 | then true | |
1540 | 1540 | else (ds == s)) | |
1541 | 1541 | then throw(("Blocked: " + toString(ds))) | |
1542 | 1542 | else true | |
1543 | 1543 | if ((hT == hT)) | |
1544 | 1544 | then { | |
1545 | 1545 | let hU = invoke(aV, "burn", [cB], [AttachedPayment(hd, cB)]) | |
1546 | 1546 | if ((hU == hU)) | |
1547 | 1547 | then { | |
1548 | 1548 | let hV = eX(-(dE), -(dF), 0) | |
1549 | 1549 | let gn = hV._1 | |
1550 | 1550 | let eO = hV._2 | |
1551 | 1551 | let go = fb(eW, eO) | |
1552 | 1552 | if ((go == go)) | |
1553 | 1553 | then (dG ++ gn) | |
1554 | 1554 | else throw("Strict value is not equal to itself.") | |
1555 | 1555 | } | |
1556 | 1556 | else throw("Strict value is not equal to itself.") | |
1557 | 1557 | } | |
1558 | 1558 | else throw("Strict value is not equal to itself.") | |
1559 | 1559 | } | |
1560 | 1560 | else throw("Strict value is not equal to itself.") | |
1561 | 1561 | } | |
1562 | 1562 | else throw("Strict value is not equal to itself.") | |
1563 | 1563 | } | |
1564 | 1564 | else throw("Strict value is not equal to itself.") | |
1565 | 1565 | } | |
1566 | 1566 | ||
1567 | 1567 | ||
1568 | 1568 | ||
1569 | 1569 | @Callable(cU) | |
1570 | 1570 | func unstakeAndGetNoLess (hW,hX,hM) = { | |
1571 | 1571 | let hz = if (ba()) | |
1572 | 1572 | then true | |
1573 | 1573 | else (bp == s) | |
1574 | 1574 | let gN = [if (!(hz)) | |
1575 | 1575 | then true | |
1576 | 1576 | else throw("get operation is blocked by admin"), if ((size(cU.payments) == 0)) | |
1577 | 1577 | then true | |
1578 | 1578 | else throw("no payments are expected")] | |
1579 | 1579 | if ((gN == gN)) | |
1580 | 1580 | then { | |
1581 | 1581 | let eW = eP(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1582 | 1582 | if ((eW == eW)) | |
1583 | 1583 | then { | |
1584 | 1584 | let hS = invoke(bz, "unstake", [toBase58String(bq), hW], nil) | |
1585 | 1585 | if ((hS == hS)) | |
1586 | 1586 | then { | |
1587 | 1587 | let hY = di(toBase58String(cU.transactionId), toBase58String(bq), hW, cU.caller) | |
1588 | 1588 | let dE = hY._1 | |
1589 | 1589 | let dF = hY._2 | |
1590 | 1590 | let dG = hY._10 | |
1591 | 1591 | let hZ = [if ((dE >= hX)) | |
1592 | 1592 | then true | |
1593 | 1593 | else throw(makeString(["amount asset amount to receive is less than ", toString(hX)], "")), if ((dF >= hM)) | |
1594 | 1594 | then true | |
1595 | 1595 | else throw(makeString(["price asset amount to receive is less than ", toString(hM)], ""))] | |
1596 | 1596 | if ((hZ == hZ)) | |
1597 | 1597 | then { | |
1598 | 1598 | let hN = invoke(aV, "burn", [hW], [AttachedPayment(bq, hW)]) | |
1599 | 1599 | if ((hN == hN)) | |
1600 | 1600 | then { | |
1601 | 1601 | let ia = eX(-(dE), -(dF), 0) | |
1602 | 1602 | let gn = ia._1 | |
1603 | 1603 | let eO = ia._2 | |
1604 | 1604 | let go = fb(eW, eO) | |
1605 | 1605 | if ((go == go)) | |
1606 | 1606 | then (dG ++ gn) | |
1607 | 1607 | else throw("Strict value is not equal to itself.") | |
1608 | 1608 | } | |
1609 | 1609 | else throw("Strict value is not equal to itself.") | |
1610 | 1610 | } | |
1611 | 1611 | else throw("Strict value is not equal to itself.") | |
1612 | 1612 | } | |
1613 | 1613 | else throw("Strict value is not equal to itself.") | |
1614 | 1614 | } | |
1615 | 1615 | else throw("Strict value is not equal to itself.") | |
1616 | 1616 | } | |
1617 | 1617 | else throw("Strict value is not equal to itself.") | |
1618 | 1618 | } | |
1619 | 1619 | ||
1620 | 1620 | ||
1621 | 1621 | ||
1622 | 1622 | @Callable(cU) | |
1623 | 1623 | func unstakeAndGetOneTknV2 (hW,fQ,fR) = { | |
1624 | 1624 | let hn = { | |
1625 | 1625 | let aX = invoke(aV, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
1626 | 1626 | if ($isInstanceOf(aX, "Boolean")) | |
1627 | 1627 | then aX | |
1628 | 1628 | else throw(($getType(aX) + " couldn't be cast to Boolean")) | |
1629 | 1629 | } | |
1630 | 1630 | let hz = if (if (ba()) | |
1631 | 1631 | then true | |
1632 | 1632 | else (bp == s)) | |
1633 | 1633 | then true | |
1634 | 1634 | else hn | |
1635 | 1635 | let gN = [if (if (!(hz)) | |
1636 | 1636 | then true | |
1637 | 1637 | else gt(cU)) | |
1638 | 1638 | then true | |
1639 | 1639 | else aS("get operation is blocked by admin"), if ((size(cU.payments) == 0)) | |
1640 | 1640 | then true | |
1641 | 1641 | else aS("no payments are expected")] | |
1642 | 1642 | if ((gN == gN)) | |
1643 | 1643 | then { | |
1644 | 1644 | let hQ = bx() | |
1645 | 1645 | let hd = bq | |
1646 | 1646 | let hR = valueOrErrorMessage(addressFromString(hQ[C]), "Wr st addr") | |
1647 | 1647 | let dm = cU.caller | |
1648 | 1648 | let ib = this | |
1649 | 1649 | let hS = invoke(hR, "unstakeINTERNAL", [hd, hW, dm.bytes, ib.bytes], nil) | |
1650 | 1650 | if ((hS == hS)) | |
1651 | 1651 | then { | |
1652 | 1652 | let ic = fP(fQ, fR, [AttachedPayment(hd, hW)], cU.caller, cU.originCaller, cU.transactionId) | |
1653 | 1653 | let dG = ic._1 | |
1654 | 1654 | let ga = ic._2 | |
1655 | 1655 | $Tuple2(dG, ga) | |
1656 | 1656 | } | |
1657 | 1657 | else throw("Strict value is not equal to itself.") | |
1658 | 1658 | } | |
1659 | 1659 | else throw("Strict value is not equal to itself.") | |
1660 | 1660 | } | |
1661 | 1661 | ||
1662 | 1662 | ||
1663 | 1663 | ||
1664 | 1664 | @Callable(cU) | |
1665 | 1665 | func putOneTknV2WithBonusREADONLY (id,ie) = { | |
1666 | 1666 | let if = fu(id, ie, "", "", true) | |
1667 | 1667 | let fJ = if._1 | |
1668 | 1668 | let dG = if._2 | |
1669 | 1669 | let cC = if._3 | |
1670 | 1670 | let fO = if._4 | |
1671 | 1671 | $Tuple2(nil, $Tuple3(fJ, cC, fO)) | |
1672 | 1672 | } | |
1673 | 1673 | ||
1674 | 1674 | ||
1675 | 1675 | ||
1676 | 1676 | @Callable(cU) | |
1677 | 1677 | func putOneTknV2WithoutTakeFeeREADONLY (id,ie) = { | |
1678 | 1678 | let ig = fu(id, ie, "", "", false) | |
1679 | 1679 | let fJ = ig._1 | |
1680 | 1680 | let dG = ig._2 | |
1681 | 1681 | let cC = ig._3 | |
1682 | 1682 | let fO = ig._4 | |
1683 | 1683 | $Tuple2(nil, $Tuple3(fJ, cC, fO)) | |
1684 | 1684 | } | |
1685 | 1685 | ||
1686 | 1686 | ||
1687 | 1687 | ||
1688 | 1688 | @Callable(cU) | |
1689 | 1689 | func activate (ih,ii) = if ((toString(cU.caller) != toString(aV))) | |
1690 | 1690 | then throw("denied") | |
1691 | 1691 | else $Tuple2([StringEntry(aj(), ih), StringEntry(ak(), ii)], "success") | |
1692 | 1692 | ||
1693 | 1693 | ||
1694 | 1694 | ||
1695 | 1695 | @Callable(cU) | |
1696 | 1696 | func setS (ij,hT) = if ((toString(cU.caller) != aO(this, ao()))) | |
1697 | 1697 | then gs | |
1698 | 1698 | else [StringEntry(ij, hT)] | |
1699 | 1699 | ||
1700 | 1700 | ||
1701 | 1701 | ||
1702 | 1702 | @Callable(cU) | |
1703 | 1703 | func setI (ij,hT) = if ((toString(cU.caller) != aO(this, ao()))) | |
1704 | 1704 | then gs | |
1705 | 1705 | else [IntegerEntry(ij, hT)] | |
1706 | 1706 | ||
1707 | 1707 | ||
1708 | 1708 | ||
1709 | 1709 | @Callable(cU) | |
1710 | 1710 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, bd()) | |
1711 | 1711 | ||
1712 | 1712 | ||
1713 | 1713 | ||
1714 | 1714 | @Callable(cU) | |
1715 | 1715 | func getAccBalanceWrapperREADONLY (bT) = $Tuple2(nil, bS(bT)) | |
1716 | 1716 | ||
1717 | 1717 | ||
1718 | 1718 | ||
1719 | 1719 | @Callable(cU) | |
1720 | 1720 | func calcPricesWrapperREADONLY (cm,cn,cr) = { | |
1721 | 1721 | let ik = cq(cm, cn, cr) | |
1722 | 1722 | $Tuple2(nil, [toString(ik[0]), toString(ik[1]), toString(ik[2])]) | |
1723 | 1723 | } | |
1724 | 1724 | ||
1725 | 1725 | ||
1726 | 1726 | ||
1727 | 1727 | @Callable(cU) | |
1728 | 1728 | func fromX18WrapperREADONLY (M,il) = $Tuple2(nil, L(parseBigIntValue(M), il)) | |
1729 | 1729 | ||
1730 | 1730 | ||
1731 | 1731 | ||
1732 | 1732 | @Callable(cU) | |
1733 | 1733 | func toX18WrapperREADONLY (I,J) = $Tuple2(nil, toString(H(I, J))) | |
1734 | 1734 | ||
1735 | 1735 | ||
1736 | 1736 | ||
1737 | 1737 | @Callable(cU) | |
1738 | 1738 | func calcPriceBigIntWrapperREADONLY (bV,bW) = $Tuple2(nil, toString(bU(parseBigIntValue(bV), parseBigIntValue(bW)))) | |
1739 | 1739 | ||
1740 | 1740 | ||
1741 | 1741 | ||
1742 | 1742 | @Callable(cU) | |
1743 | 1743 | func estimatePutOperationWrapperREADONLY (dj,cb,dI,dJ,dK,dL,im,dM,dN) = $Tuple2(nil, dH(dj, cb, dI, dJ, dK, dL, im, dM, dN, true, false, 0, "")) | |
1744 | 1744 | ||
1745 | 1745 | ||
1746 | 1746 | ||
1747 | 1747 | @Callable(cU) | |
1748 | 1748 | func estimateGetOperationWrapperREADONLY (dj,in,dl,im) = { | |
1749 | 1749 | let ec = di(dj, in, dl, addressFromStringValue(im)) | |
1750 | 1750 | $Tuple2(nil, $Tuple10(ec._1, ec._2, ec._3, ec._4, ec._5, ec._6, ec._7, toString(ec._8), ec._9, ec._10)) | |
1751 | 1751 | } | |
1752 | 1752 | ||
1753 | 1753 | ||
1754 | 1754 | ||
1755 | 1755 | @Callable(cU) | |
1756 | 1756 | func changeAmp () = { | |
1757 | 1757 | let io = { | |
1758 | 1758 | let gq = "1__2__3" | |
1759 | 1759 | if ($isInstanceOf(gq, "String")) | |
1760 | 1760 | then { | |
1761 | - | let ip = gq | |
1762 | - | let iq = split(ip, n) | |
1763 | - | if ((iq == iq)) | |
1764 | - | then { | |
1765 | - | let ir = parseIntValue(iq[0]) | |
1766 | - | if ((ir == ir)) | |
1767 | - | then { | |
1768 | - | let is = parseIntValue(iq[1]) | |
1769 | - | if ((is == is)) | |
1770 | - | then { | |
1771 | - | let it = parseIntValue(iq[2]) | |
1772 | - | if ((it == it)) | |
1773 | - | then $Tuple3(ir, is, it) | |
1774 | - | else throw("Strict value is not equal to itself.") | |
1775 | - | } | |
1776 | - | else throw("Strict value is not equal to itself.") | |
1777 | - | } | |
1778 | - | else throw("Strict value is not equal to itself.") | |
1779 | - | } | |
1780 | - | else throw("Strict value is not equal to itself.") | |
1761 | + | let cH = gq | |
1762 | + | cH | |
1781 | 1763 | } | |
1782 | 1764 | else throw("invalid entry type") | |
1783 | 1765 | } | |
1784 | 1766 | if ((io == io)) | |
1785 | 1767 | then { | |
1786 | - | let iu = io._3 | |
1787 | - | let iv = io._2 | |
1788 | - | let iw = io._1 | |
1789 | - | let ix = parseIntValue(getStringValue(al())) | |
1790 | - | if ((ix == ix)) | |
1768 | + | let ip = split(io, n) | |
1769 | + | if ((ip == ip)) | |
1791 | 1770 | then { | |
1792 | - | let | |
1793 | - | if (( | |
1771 | + | let iq = parseIntValue(ip[0]) | |
1772 | + | if ((iq == iq)) | |
1794 | 1773 | then { | |
1795 | - | let | |
1796 | - | if (( | |
1774 | + | let ir = parseIntValue(ip[1]) | |
1775 | + | if ((ir == ir)) | |
1797 | 1776 | then { | |
1798 | - | let iA = if ((0 > iv)) | |
1799 | - | then if ((iu > iz)) | |
1800 | - | then iu | |
1801 | - | else iz | |
1802 | - | else if ((iz > iu)) | |
1803 | - | then iu | |
1804 | - | else iz | |
1805 | - | if ((iA == iA)) | |
1777 | + | let is = parseIntValue(ip[2]) | |
1778 | + | if ((is == is)) | |
1806 | 1779 | then { | |
1807 | - | let | |
1808 | - | if (( | |
1780 | + | let it = parseIntValue(getStringValue(al())) | |
1781 | + | if ((it == it)) | |
1809 | 1782 | then { | |
1810 | - | let gN = [if ((an > iB)) | |
1811 | - | then true | |
1812 | - | else aS("try again in few blocks"), if ((ix != iA)) | |
1813 | - | then true | |
1814 | - | else aS("already reached target")] | |
1815 | - | if ((gN == gN)) | |
1783 | + | let iu = valueOrElse(getInteger(ap()), 0) | |
1784 | + | if ((iu == iu)) | |
1816 | 1785 | then { | |
1817 | - | let iC = throw("6") | |
1818 | - | if ((iC == iC)) | |
1819 | - | then [IntegerEntry(ap(), an), StringEntry(al(), toString(iA)), StringEntry(am(an), toString(iA))] | |
1786 | + | let iv = (it + ir) | |
1787 | + | if ((iv == iv)) | |
1788 | + | then { | |
1789 | + | let iw = if ((0 > ir)) | |
1790 | + | then if ((is > iv)) | |
1791 | + | then is | |
1792 | + | else iv | |
1793 | + | else if ((iv > is)) | |
1794 | + | then is | |
1795 | + | else iv | |
1796 | + | if ((iw == iw)) | |
1797 | + | then { | |
1798 | + | let ix = (iu + iq) | |
1799 | + | if ((ix == ix)) | |
1800 | + | then { | |
1801 | + | let gN = [if ((it != iw)) | |
1802 | + | then true | |
1803 | + | else aS("already reached target")] | |
1804 | + | if ((gN == gN)) | |
1805 | + | then { | |
1806 | + | let iy = throw("6") | |
1807 | + | if ((iy == iy)) | |
1808 | + | then [IntegerEntry(ap(), an), StringEntry(al(), toString(iw)), StringEntry(am(an), toString(iw))] | |
1809 | + | else throw("Strict value is not equal to itself.") | |
1810 | + | } | |
1811 | + | else throw("Strict value is not equal to itself.") | |
1812 | + | } | |
1813 | + | else throw("Strict value is not equal to itself.") | |
1814 | + | } | |
1815 | + | else throw("Strict value is not equal to itself.") | |
1816 | + | } | |
1820 | 1817 | else throw("Strict value is not equal to itself.") | |
1821 | 1818 | } | |
1822 | 1819 | else throw("Strict value is not equal to itself.") | |
1823 | 1820 | } | |
1824 | 1821 | else throw("Strict value is not equal to itself.") | |
1825 | 1822 | } | |
1826 | 1823 | else throw("Strict value is not equal to itself.") | |
1827 | 1824 | } | |
1828 | 1825 | else throw("Strict value is not equal to itself.") | |
1829 | 1826 | } | |
1830 | 1827 | else throw("Strict value is not equal to itself.") | |
1831 | 1828 | } | |
1832 | 1829 | else throw("Strict value is not equal to itself.") | |
1833 | 1830 | } | |
1834 | 1831 | else throw("Strict value is not equal to itself.") | |
1835 | 1832 | } | |
1836 | 1833 | ||
1837 | 1834 | ||
1838 | - | @Verifier( | |
1839 | - | func | |
1840 | - | let | |
1835 | + | @Verifier(iz) | |
1836 | + | func iA () = { | |
1837 | + | let iB = { | |
1841 | 1838 | let gq = gp() | |
1842 | 1839 | if ($isInstanceOf(gq, "ByteVector")) | |
1843 | 1840 | then { | |
1844 | 1841 | let gu = gq | |
1845 | 1842 | gu | |
1846 | 1843 | } | |
1847 | 1844 | else if ($isInstanceOf(gq, "Unit")) | |
1848 | - | then | |
1845 | + | then iz.senderPublicKey | |
1849 | 1846 | else throw("Match error") | |
1850 | 1847 | } | |
1851 | - | let gq = | |
1848 | + | let gq = iz | |
1852 | 1849 | if ($isInstanceOf(gq, "Order")) | |
1853 | 1850 | then { | |
1854 | 1851 | let fe = gq | |
1855 | - | let | |
1856 | - | let | |
1852 | + | let iC = bb() | |
1853 | + | let iD = if (gB()) | |
1857 | 1854 | then $Tuple2(true, "") | |
1858 | 1855 | else fd(fe) | |
1859 | - | let aK = | |
1860 | - | let aL = | |
1856 | + | let aK = iD._1 | |
1857 | + | let aL = iD._2 | |
1861 | 1858 | let aM = sigVerify(fe.bodyBytes, fe.proofs[0], fe.senderPublicKey) | |
1862 | - | let aN = sigVerify(fe.bodyBytes, fe.proofs[1], | |
1859 | + | let aN = sigVerify(fe.bodyBytes, fe.proofs[1], iC) | |
1863 | 1860 | if (if (if (aK) | |
1864 | 1861 | then aM | |
1865 | 1862 | else false) | |
1866 | 1863 | then aN | |
1867 | 1864 | else false) | |
1868 | 1865 | then true | |
1869 | 1866 | else aJ(aK, aL, aM, aN) | |
1870 | 1867 | } | |
1871 | 1868 | else if ($isInstanceOf(gq, "SetScriptTransaction")) | |
1872 | 1869 | then { | |
1873 | 1870 | let cH = gq | |
1874 | - | if (sigVerify( | |
1871 | + | if (sigVerify(iz.bodyBytes, iz.proofs[0], iB)) | |
1875 | 1872 | then true | |
1876 | 1873 | else { | |
1877 | - | let | |
1878 | - | let | |
1879 | - | let | |
1880 | - | if (( | |
1881 | - | then ( | |
1874 | + | let iE = blake2b256(value(cH.script)) | |
1875 | + | let iF = fromBase64String(value(getString(aV, aF()))) | |
1876 | + | let iG = scriptHash(this) | |
1877 | + | if ((iF == iE)) | |
1878 | + | then (iG != iE) | |
1882 | 1879 | else false | |
1883 | 1880 | } | |
1884 | 1881 | } | |
1885 | - | else sigVerify( | |
1882 | + | else sigVerify(iz.bodyBytes, iz.proofs[0], iB) | |
1886 | 1883 | } | |
1887 | 1884 |
github/deemru/w8io/026f985 165.86 ms ◑