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