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