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