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