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