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