tx · J2dhRbbbMqxsE3E7B7uk4ujMXXzsBqS3UarQuKZMHNED 3N4QGDfS4vvoHKhvdHfkuDJNsKKNxCENLQr: -0.03500000 Waves 2022.12.07 16:22 [2349974] smart account 3N4QGDfS4vvoHKhvdHfkuDJNsKKNxCENLQr > SELF 0.00000000 Waves
{ "type": 13, "id": "J2dhRbbbMqxsE3E7B7uk4ujMXXzsBqS3UarQuKZMHNED", "fee": 3500000, "feeAssetId": null, "timestamp": 1670419437428, "version": 1, "sender": "3N4QGDfS4vvoHKhvdHfkuDJNsKKNxCENLQr", "senderPublicKey": "DhAqmjsoMwhQsiukeaSEovbX7JT9WMRRtqvrcmJLtxXs", "proofs": [ "3DzwhBYP8ShsyEtZnMwkhUFM6pU2uik8EBimavqyANDBeBVUAptfkRq5u2vAu92HGL34qcvXfs4nJETkYMgJpCAe" ], "script": "base64:BgLYLAgCEgMKAQgSABIECgIBBBIDCgEBEgQKAgEEEgQKAggBEgQKAggBEgQKAggBEgUKAwEIARIAEgQKAgEBEgMKAQESBQoDAQEBEgQKAggIEgASABIDCgEIEgUKAwEBARIECgIBARIECgIIARIECgIICBILCgkIAQECAQIIBAQSBgoECAgBCBIAEgMKAQESAwoBARIECgIIASIKbFBkZWNpbWFscyIGc2NhbGU4IgxzY2FsZThCaWdJbnQiB3NjYWxlMTgiCnplcm9CaWdJbnQiBGJpZzAiBGJpZzEiBGJpZzIiC3dhdmVzU3RyaW5nIgNTRVAiClBvb2xBY3RpdmUiD1Bvb2xQdXREaXNhYmxlZCITUG9vbE1hdGNoZXJEaXNhYmxlZCIMUG9vbFNodXRkb3duIg5pZHhQb29sQWRkcmVzcyINaWR4UG9vbFN0YXR1cyIQaWR4UG9vbExQQXNzZXRJZCINaWR4QW10QXNzZXRJZCIPaWR4UHJpY2VBc3NldElkIg5pZHhBbXRBc3NldERjbSIQaWR4UHJpY2VBc3NldERjbSIOaWR4SUFtdEFzc2V0SWQiEGlkeElQcmljZUFzc2V0SWQiDWlkeExQQXNz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hQgMJAAECBQJkSwIUU2V0U2NyaXB0VHJhbnNhY3Rpb24EAmVOBQJkSwQCZ0IJAPYDAQkBBXZhbHVlAQgFAmVOBnNjcmlwdAQCZ0MJANsEAQkBBXZhbHVlAQkAnQgCBQJhSgkBAmF3AAQCZ0QJAPEHAQUEdGhpcwMDCQAAAgUCZ0MFAmdCCQECIT0CBQJnRAUCZ0IHBgkA9AMDCAUCZ3gJYm9keUJ5dGVzCQCRAwIIBQJneAZwcm9vZnMAAAUCZ3oJAPQDAwgFAmd4CWJvZHlCeXRlcwkAkQMCCAUCZ3gGcHJvb2ZzAAAFAmd6mxUTAw==", "chainId": 84, "height": 2349974, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DQUzkPsFwreLNeakrYfLn18kdd8XmCKc2mfdoxZyGPAf Next: GrtKhUx9qxLkr4Vu7fwXz21QvYEm19Lfi8r5pgCW9XpK Diff:
Old | New | Differences | |
---|---|---|---|
230 | 230 | else assetBalance(this, fromBase58String(bx)) | |
231 | 231 | ||
232 | 232 | ||
233 | - | func by (bz,bA) = fraction(bz, d, bA | |
233 | + | func by (bz,bA) = fraction(bz, d, bA) | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func bB (bC,bD,bE,bF) = { |
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 | - | func by (bz,bA) = fraction(bz, d, bA | |
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, CEILING) | |
346 | 346 | let cK = fraction(cE, d, cg, CEILING) | |
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,cY,cb) = { | |
377 | 377 | let cZ = fraction(pow((cX * cY), 0, toBigInt(5), 1, 18, DOWN), g, cb) | |
378 | 378 | if ((cb == f)) | |
379 | 379 | then f | |
380 | 380 | else cZ | |
381 | 381 | } | |
382 | 382 | ||
383 | 383 | ||
384 | 384 | func da (db,dc,dd) = { | |
385 | 385 | let de = (toBigInt(bw(aS(ba))) - db) | |
386 | 386 | let df = (toBigInt(bw(aS(bb))) - dc) | |
387 | 387 | let dg = (toBigInt(value(assetInfo(aZ)).quantity) - dd) | |
388 | 388 | let dh = cW(de, df, dg) | |
389 | 389 | dh | |
390 | 390 | } | |
391 | 391 | ||
392 | 392 | ||
393 | 393 | func di (dj,dk,dd) = { | |
394 | 394 | let de = (bw(aS(ba)) + dj) | |
395 | 395 | let df = (bw(aS(bb)) + dk) | |
396 | 396 | let dg = (value(assetInfo(aZ)).quantity + dd) | |
397 | 397 | let cZ = cW(toBigInt(de), toBigInt(df), toBigInt(dg)) | |
398 | 398 | let dl = [IntegerEntry(ag, height), StringEntry(af, toString(cZ))] | |
399 | 399 | $Tuple2(dl, cZ) | |
400 | 400 | } | |
401 | 401 | ||
402 | 402 | ||
403 | 403 | func dm (dn,cZ) = if ((cZ >= dn)) | |
404 | 404 | then true | |
405 | 405 | else aG(makeString(["updated KLp lower than current KLp", toString(dn), toString(cZ)], " ")) | |
406 | 406 | ||
407 | 407 | ||
408 | 408 | func do (dp) = { | |
409 | 409 | let dq = dp.amount | |
410 | 410 | let dr = fraction(dp.amount, dp.price, b, FLOOR) | |
411 | 411 | let ds = if ((dp.orderType == Buy)) | |
412 | 412 | then $Tuple2(dq, -(dr)) | |
413 | 413 | else $Tuple2(-(dq), dr) | |
414 | 414 | let dj = ds._1 | |
415 | 415 | let dk = ds._2 | |
416 | 416 | if (if (if (aL()) | |
417 | 417 | then true | |
418 | 418 | else (aY == m)) | |
419 | 419 | then true | |
420 | 420 | else (aY == n)) | |
421 | 421 | then throw("Exchange operations disabled") | |
422 | 422 | else if (if ((dp.assetPair.amountAsset != ba)) | |
423 | 423 | then true | |
424 | 424 | else (dp.assetPair.priceAsset != bb)) | |
425 | 425 | then throw("Wrong order assets.") | |
426 | 426 | else { | |
427 | 427 | let dt = valueOrErrorMessage(parseBigInt(valueOrErrorMessage(getString(this, af), aI("kLp is required"))), aI("invalid kLp")) | |
428 | 428 | let du = di(dj, dk, 0) | |
429 | 429 | let dv = du._1 | |
430 | 430 | let dw = du._2 | |
431 | 431 | let dx = (dw >= dt) | |
432 | 432 | dx | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | ||
436 | 436 | ||
437 | 437 | func dy (dz) = if ((size(dz.payments) != 1)) | |
438 | 438 | then throw("exactly 1 payment is expected") | |
439 | 439 | else { | |
440 | 440 | let dA = value(dz.payments[0]) | |
441 | 441 | let bV = value(dA.assetId) | |
442 | 442 | let dB = dA.amount | |
443 | 443 | let cG = bT(toBase58String(dz.transactionId), toBase58String(bV), dB, dz.caller) | |
444 | 444 | let cm = cG._1 | |
445 | 445 | let cn = cG._2 | |
446 | 446 | let ca = parseIntValue(cG._9) | |
447 | 447 | let co = cG._10 | |
448 | 448 | if (if (aL()) | |
449 | 449 | then true | |
450 | 450 | else (ca == n)) | |
451 | 451 | then throw(("Get operation is blocked by admin. Status = " + toString(ca))) | |
452 | 452 | else $Tuple5(cm, cn, dB, bV, co) | |
453 | 453 | } | |
454 | 454 | ||
455 | 455 | ||
456 | 456 | func dC (dz,cq,cw) = if ((size(dz.payments) != 2)) | |
457 | 457 | then throw("exactly 2 payments are expected") | |
458 | 458 | else { | |
459 | 459 | let dD = value(dz.payments[0]) | |
460 | 460 | let dE = value(dz.payments[1]) | |
461 | 461 | let dF = cp(toBase58String(dz.transactionId), cq, dD.amount, dD.assetId, dE.amount, dE.assetId, toString(dz.caller), false, cw) | |
462 | 462 | let ca = parseIntValue(dF._8) | |
463 | 463 | if (if (if (aL()) | |
464 | 464 | then true | |
465 | 465 | else (ca == l)) | |
466 | 466 | then true | |
467 | 467 | else (ca == n)) | |
468 | 468 | then throw(("Put operation is blocked by admin. Status = " + toString(ca))) | |
469 | 469 | else dF | |
470 | 470 | } | |
471 | 471 | ||
472 | 472 | ||
473 | 473 | func dG (dH) = { | |
474 | 474 | let dI = invoke(aJ, "emit", [dH], nil) | |
475 | 475 | if ((dI == dI)) | |
476 | 476 | then { | |
477 | 477 | let dJ = { | |
478 | 478 | let dK = dI | |
479 | 479 | if ($isInstanceOf(dK, "Address")) | |
480 | 480 | then { | |
481 | 481 | let dL = dK | |
482 | 482 | invoke(dL, "emit", [dH], nil) | |
483 | 483 | } | |
484 | 484 | else unit | |
485 | 485 | } | |
486 | 486 | if ((dJ == dJ)) | |
487 | 487 | then dH | |
488 | 488 | else throw("Strict value is not equal to itself.") | |
489 | 489 | } | |
490 | 490 | else throw("Strict value is not equal to itself.") | |
491 | 491 | } | |
492 | 492 | ||
493 | 493 | ||
494 | 494 | func dM (dH) = { | |
495 | 495 | let dN = fraction(dH, ae, b) | |
496 | 496 | $Tuple2((dH - dN), dN) | |
497 | 497 | } | |
498 | 498 | ||
499 | 499 | ||
500 | 500 | func dO (dP,dQ,X,Y) = { | |
501 | 501 | let dR = (Y == unit) | |
502 | 502 | let dS = bw(aS(ba)) | |
503 | 503 | let dT = bw(aS(bb)) | |
504 | 504 | let dU = if ((dQ == ba)) | |
505 | 505 | then true | |
506 | 506 | else if ((dQ == bb)) | |
507 | 507 | then false | |
508 | 508 | else aG("invalid asset") | |
509 | 509 | let dV = if (dR) | |
510 | 510 | then $Tuple2(dS, dT) | |
511 | 511 | else if (dU) | |
512 | 512 | then $Tuple2((dS - dP), dT) | |
513 | 513 | else $Tuple2(dS, (dT - dP)) | |
514 | 514 | let dW = dV._1 | |
515 | 515 | let dX = dV._2 | |
516 | 516 | let dY = if (dU) | |
517 | 517 | then $Tuple2(dP, 0) | |
518 | 518 | else $Tuple2(0, dP) | |
519 | 519 | let dZ = dY._1 | |
520 | 520 | let ea = dY._2 | |
521 | 521 | let dq = dM(dZ)._1 | |
522 | 522 | let dr = dM(ea)._1 | |
523 | 523 | let eb = dM(dP) | |
524 | 524 | let ec = eb._1 | |
525 | 525 | let dN = eb._2 | |
526 | 526 | let ed = (dW + dq) | |
527 | 527 | let ee = (dX + dr) | |
528 | 528 | let ef = by(D(ee, bd), D(ed, bc)) | |
529 | 529 | let eg = G(ef, b) | |
530 | 530 | let eh = if (dU) | |
531 | 531 | then dW | |
532 | 532 | else dX | |
533 | 533 | let ei = toBigInt(eh) | |
534 | 534 | let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity) | |
535 | 535 | let ek = if ((ej > f)) | |
536 | 536 | then true | |
537 | 537 | else aG("initial deposit requires all coins") | |
538 | 538 | if ((ek == ek)) | |
539 | 539 | then { | |
540 | 540 | let el = toBigInt(ec) | |
541 | 541 | let em = max([0, toInt(((ej * (sqrtBigInt((d + ((el * d) / ei)), 18, 18, DOWN) - d)) / d))]) | |
542 | 542 | let cV = if (dR) | |
543 | 543 | then nil | |
544 | 544 | else [IntegerEntry(S(), eg), IntegerEntry(T(height, lastBlock.timestamp), eg), StringEntry(W(toString(value(X)), toBase58String(value(Y))), bh(dZ, ea, em, eg, 0, 0, height, lastBlock.timestamp, 0, 0))] | |
545 | 545 | let en = by(D(dX, bd), D(dW, bc)) | |
546 | 546 | let eo = G(en, b) | |
547 | 547 | let ep = { | |
548 | 548 | let eq = if (dU) | |
549 | 549 | then $Tuple2(dZ, dW) | |
550 | 550 | else $Tuple2(ea, dX) | |
551 | 551 | let dH = eq._1 | |
552 | 552 | let er = eq._2 | |
553 | 553 | let es = toInt(fraction(ej, toBigInt((dH / 2)), toBigInt(er))) | |
554 | 554 | fraction((em - es), b, es) | |
555 | 555 | } | |
556 | 556 | $Tuple5(em, cV, dN, ep, dU) | |
557 | 557 | } | |
558 | 558 | else throw("Strict value is not equal to itself.") | |
559 | 559 | } | |
560 | 560 | ||
561 | 561 | ||
562 | 562 | func et (eu,ec,dQ,X,Y) = { | |
563 | 563 | let dR = (Y == unit) | |
564 | 564 | let ev = [if ((dQ == aZ)) | |
565 | 565 | then true | |
566 | 566 | else aG("invalid lp asset")] | |
567 | 567 | if ((ev == ev)) | |
568 | 568 | then { | |
569 | 569 | let ew = if ((eu == ba)) | |
570 | 570 | then true | |
571 | 571 | else if ((eu == bb)) | |
572 | 572 | then false | |
573 | 573 | else aG("invalid asset") | |
574 | 574 | let ex = if (ew) | |
575 | 575 | then toBigInt(bw(aS(ba))) | |
576 | 576 | else toBigInt(bw(aS(bb))) | |
577 | 577 | let ey = bw(aS(ba)) | |
578 | 578 | let ez = bw(aS(bb)) | |
579 | 579 | let eA = if (ew) | |
580 | 580 | then ey | |
581 | 581 | else ez | |
582 | 582 | let eB = toBigInt(eA) | |
583 | 583 | let ej = toBigInt(valueOrErrorMessage(assetInfo(aZ), (("asset " + toBase58String(aZ)) + " doesn't exist")).quantity) | |
584 | 584 | let eC = toBigInt(ec) | |
585 | 585 | let eD = max([0, toInt(((ex * (d - pow((d - ((eC * d) / ej)), 18, h, 0, 18, DOWN))) / d))]) | |
586 | 586 | let eE = dM(eD) | |
587 | 587 | let eF = eE._1 | |
588 | 588 | let dN = eE._2 | |
589 | 589 | let eG = if (ew) | |
590 | 590 | then $Tuple4(eF, 0, (ey - eD), ez) | |
591 | 591 | else $Tuple4(0, eF, ey, (ez - eD)) | |
592 | 592 | let eH = eG._1 | |
593 | 593 | let eI = eG._2 | |
594 | 594 | let eJ = eG._3 | |
595 | 595 | let eK = eG._4 | |
596 | 596 | let ef = by(D(eK, bd), D(eJ, bc)) | |
597 | 597 | let eg = G(ef, b) | |
598 | 598 | let cV = if (dR) | |
599 | 599 | then nil | |
600 | 600 | else [StringEntry(Z(toString(value(X)), toBase58String(value(Y))), bs(eH, eI, ec, eg, height, lastBlock.timestamp)), IntegerEntry(S(), eg), IntegerEntry(T(height, lastBlock.timestamp), eg)] | |
601 | 601 | let en = by(D(ez, bd), D(ey, bc)) | |
602 | 602 | let eo = G(en, b) | |
603 | 603 | let ep = { | |
604 | 604 | let eL = (toInt(fraction(ex, eC, ej)) * 2) | |
605 | 605 | fraction((eF - eL), b, eL) | |
606 | 606 | } | |
607 | 607 | $Tuple5(eF, cV, dN, ep, ew) | |
608 | 608 | } | |
609 | 609 | else throw("Strict value is not equal to itself.") | |
610 | 610 | } | |
611 | 611 | ||
612 | 612 | ||
613 | 613 | func eM () = { | |
614 | 614 | let dK = getString(Q()) | |
615 | 615 | if ($isInstanceOf(dK, "String")) | |
616 | 616 | then { | |
617 | 617 | let eN = dK | |
618 | 618 | fromBase58String(eN) | |
619 | 619 | } | |
620 | 620 | else if ($isInstanceOf(dK, "Unit")) | |
621 | 621 | then unit | |
622 | 622 | else throw("Match error") | |
623 | 623 | } | |
624 | 624 | ||
625 | 625 | ||
626 | 626 | func eO () = { | |
627 | 627 | let dK = getString(R()) | |
628 | 628 | if ($isInstanceOf(dK, "String")) | |
629 | 629 | then { | |
630 | 630 | let eN = dK | |
631 | 631 | fromBase58String(eN) | |
632 | 632 | } | |
633 | 633 | else if ($isInstanceOf(dK, "Unit")) | |
634 | 634 | then unit | |
635 | 635 | else throw("Match error") | |
636 | 636 | } | |
637 | 637 | ||
638 | 638 | ||
639 | 639 | func eP (dz) = { | |
640 | 640 | let dK = eM() | |
641 | 641 | if ($isInstanceOf(dK, "ByteVector")) | |
642 | 642 | then { | |
643 | 643 | let eQ = dK | |
644 | 644 | (dz.callerPublicKey == eQ) | |
645 | 645 | } | |
646 | 646 | else if ($isInstanceOf(dK, "Unit")) | |
647 | 647 | then (dz.caller == this) | |
648 | 648 | else throw("Match error") | |
649 | 649 | } | |
650 | 650 | ||
651 | 651 | ||
652 | 652 | func eR (dz) = { | |
653 | 653 | let eS = throw("Permission denied") | |
654 | 654 | let dK = eM() | |
655 | 655 | if ($isInstanceOf(dK, "ByteVector")) | |
656 | 656 | then { | |
657 | 657 | let eQ = dK | |
658 | 658 | if ((dz.callerPublicKey == eQ)) | |
659 | 659 | then true | |
660 | 660 | else eS | |
661 | 661 | } | |
662 | 662 | else if ($isInstanceOf(dK, "Unit")) | |
663 | 663 | then if ((dz.caller == this)) | |
664 | 664 | then true | |
665 | 665 | else eS | |
666 | 666 | else throw("Match error") | |
667 | 667 | } | |
668 | 668 | ||
669 | 669 | ||
670 | 670 | @Callable(dz) | |
671 | 671 | func setManager (eT) = { | |
672 | 672 | let eU = eR(dz) | |
673 | 673 | if ((eU == eU)) | |
674 | 674 | then { | |
675 | 675 | let eV = fromBase58String(eT) | |
676 | 676 | if ((eV == eV)) | |
677 | 677 | then [StringEntry(R(), eT)] | |
678 | 678 | else throw("Strict value is not equal to itself.") | |
679 | 679 | } | |
680 | 680 | else throw("Strict value is not equal to itself.") | |
681 | 681 | } | |
682 | 682 | ||
683 | 683 | ||
684 | 684 | ||
685 | 685 | @Callable(dz) | |
686 | 686 | func confirmManager () = { | |
687 | 687 | let eW = eO() | |
688 | 688 | let eX = if (isDefined(eW)) | |
689 | 689 | then true | |
690 | 690 | else throw("No pending manager") | |
691 | 691 | if ((eX == eX)) | |
692 | 692 | then { | |
693 | 693 | let eY = if ((dz.callerPublicKey == value(eW))) | |
694 | 694 | then true | |
695 | 695 | else throw("You are not pending manager") | |
696 | 696 | if ((eY == eY)) | |
697 | 697 | then [StringEntry(Q(), toBase58String(value(eW))), DeleteEntry(R())] | |
698 | 698 | else throw("Strict value is not equal to itself.") | |
699 | 699 | } | |
700 | 700 | else throw("Strict value is not equal to itself.") | |
701 | 701 | } | |
702 | 702 | ||
703 | 703 | ||
704 | 704 | ||
705 | 705 | @Callable(dz) | |
706 | 706 | func put (cq,eZ) = if ((0 > cq)) | |
707 | 707 | then throw("Invalid slippageTolerance passed") | |
708 | 708 | else { | |
709 | 709 | let dF = dC(dz, cq, true) | |
710 | 710 | let cS = dF._2 | |
711 | 711 | let bX = dF._7 | |
712 | 712 | let co = dF._9 | |
713 | 713 | let cT = dF._10 | |
714 | 714 | let cU = dF._11 | |
715 | 715 | let fa = dF._12 | |
716 | 716 | let fb = dF._13 | |
717 | 717 | let dD = toBigInt(value(dz.payments[0]).amount) | |
718 | 718 | let dE = toBigInt(value(dz.payments[1]).amount) | |
719 | 719 | let dh = da(dD, dE, toBigInt(0)) | |
720 | 720 | if ((dh == dh)) | |
721 | 721 | then { | |
722 | 722 | let dI = invoke(aJ, "emit", [cS], nil) | |
723 | 723 | if ((dI == dI)) | |
724 | 724 | then { | |
725 | 725 | let dJ = { | |
726 | 726 | let dK = dI | |
727 | 727 | if ($isInstanceOf(dK, "Address")) | |
728 | 728 | then { | |
729 | 729 | let dL = dK | |
730 | 730 | invoke(dL, "emit", [cS], nil) | |
731 | 731 | } | |
732 | 732 | else unit | |
733 | 733 | } | |
734 | 734 | if ((dJ == dJ)) | |
735 | 735 | then { | |
736 | 736 | let fc = if ((cT > 0)) | |
737 | 737 | then invoke(bg, "put", nil, [AttachedPayment(fa, cT)]) | |
738 | 738 | else nil | |
739 | 739 | if ((fc == fc)) | |
740 | 740 | then { | |
741 | 741 | let fd = if ((cU > 0)) | |
742 | 742 | then invoke(bg, "put", nil, [AttachedPayment(fb, cU)]) | |
743 | 743 | else nil | |
744 | 744 | if ((fd == fd)) | |
745 | 745 | then { | |
746 | 746 | let fe = if (eZ) | |
747 | 747 | then { | |
748 | 748 | let ff = invoke(bf, "stake", nil, [AttachedPayment(bX, cS)]) | |
749 | 749 | if ((ff == ff)) | |
750 | 750 | then nil | |
751 | 751 | else throw("Strict value is not equal to itself.") | |
752 | 752 | } | |
753 | 753 | else [ScriptTransfer(dz.caller, cS, bX)] | |
754 | 754 | let fg = di(0, 0, 0) | |
755 | 755 | if ((fg == fg)) | |
756 | 756 | then { | |
757 | 757 | let cZ = fg._2 | |
758 | 758 | let fh = fg._1 | |
759 | 759 | let fi = dm(dh, cZ) | |
760 | 760 | if ((fi == fi)) | |
761 | 761 | then ((co ++ fe) ++ fh) | |
762 | 762 | else throw("Strict value is not equal to itself.") | |
763 | 763 | } | |
764 | 764 | else throw("Strict value is not equal to itself.") | |
765 | 765 | } | |
766 | 766 | else throw("Strict value is not equal to itself.") | |
767 | 767 | } | |
768 | 768 | else throw("Strict value is not equal to itself.") | |
769 | 769 | } | |
770 | 770 | else throw("Strict value is not equal to itself.") | |
771 | 771 | } | |
772 | 772 | else throw("Strict value is not equal to itself.") | |
773 | 773 | } | |
774 | 774 | else throw("Strict value is not equal to itself.") | |
775 | 775 | } | |
776 | 776 | ||
777 | 777 | ||
778 | 778 | ||
779 | 779 | @Callable(dz) | |
780 | 780 | func putForFree (fj) = if ((0 > fj)) | |
781 | 781 | then throw("Invalid value passed") | |
782 | 782 | else { | |
783 | 783 | let dF = dC(dz, fj, false) | |
784 | 784 | let co = dF._9 | |
785 | 785 | let dD = toBigInt(value(dz.payments[0]).amount) | |
786 | 786 | let dE = toBigInt(value(dz.payments[1]).amount) | |
787 | 787 | let dh = da(dD, dE, toBigInt(0)) | |
788 | 788 | if ((dh == dh)) | |
789 | 789 | then { | |
790 | 790 | let fk = di(0, 0, 0) | |
791 | 791 | let fh = fk._1 | |
792 | 792 | let cZ = fk._2 | |
793 | 793 | let fi = dm(dh, cZ) | |
794 | 794 | if ((fi == fi)) | |
795 | 795 | then (co ++ fh) | |
796 | 796 | else throw("Strict value is not equal to itself.") | |
797 | 797 | } | |
798 | 798 | else throw("Strict value is not equal to itself.") | |
799 | 799 | } | |
800 | 800 | ||
801 | 801 | ||
802 | 802 | ||
803 | 803 | @Callable(dz) | |
804 | 804 | func putOneTkn (fl,fm) = { | |
805 | 805 | let fn = { | |
806 | 806 | let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
807 | 807 | if ($isInstanceOf(fo, "Boolean")) | |
808 | 808 | then fo | |
809 | 809 | else throw(($getType(fo) + " couldn't be cast to Boolean")) | |
810 | 810 | } | |
811 | 811 | let fp = if (if (if (aL()) | |
812 | 812 | then true | |
813 | 813 | else (aY == l)) | |
814 | 814 | then true | |
815 | 815 | else (aY == n)) | |
816 | 816 | then true | |
817 | 817 | else fn | |
818 | 818 | let ev = [if (if (!(fp)) | |
819 | 819 | then true | |
820 | 820 | else eP(dz)) | |
821 | 821 | then true | |
822 | 822 | else aG("put operation is blocked by admin"), if ((size(dz.payments) == 1)) | |
823 | 823 | then true | |
824 | 824 | else aG("exactly 1 payment are expected")] | |
825 | 825 | if ((ev == ev)) | |
826 | 826 | then { | |
827 | 827 | let fq = dz.payments[0] | |
828 | 828 | let dQ = fq.assetId | |
829 | 829 | let dP = fq.amount | |
830 | 830 | let dh = if ((dQ == ba)) | |
831 | 831 | then da(toBigInt(dP), toBigInt(0), toBigInt(0)) | |
832 | 832 | else if ((dQ == bb)) | |
833 | 833 | then da(toBigInt(0), toBigInt(dP), toBigInt(0)) | |
834 | 834 | else aG("payment asset is not supported") | |
835 | 835 | let X = dz.caller | |
836 | 836 | let Y = dz.transactionId | |
837 | 837 | let fr = dO(dP, dQ, X, Y) | |
838 | 838 | if ((fr == fr)) | |
839 | 839 | then { | |
840 | 840 | let dU = fr._5 | |
841 | 841 | let fs = fr._4 | |
842 | 842 | let dN = fr._3 | |
843 | 843 | let cV = fr._2 | |
844 | 844 | let ft = fr._1 | |
845 | 845 | let fu = if (if ((fl > 0)) | |
846 | 846 | then (fl > ft) | |
847 | 847 | else false) | |
848 | 848 | then aG(makeString(["amount to receive is less than ", toString(fl)], "")) | |
849 | 849 | else ft | |
850 | 850 | let dI = dG(fu) | |
851 | 851 | if ((dI == dI)) | |
852 | 852 | then { | |
853 | 853 | let fe = if (fm) | |
854 | 854 | then { | |
855 | 855 | let fv = invoke(bf, "stake", nil, [AttachedPayment(aZ, fu)]) | |
856 | 856 | if ((fv == fv)) | |
857 | 857 | then nil | |
858 | 858 | else throw("Strict value is not equal to itself.") | |
859 | 859 | } | |
860 | 860 | else [ScriptTransfer(dz.caller, fu, aZ)] | |
861 | 861 | let fw = if ((dN > 0)) | |
862 | 862 | then [ScriptTransfer(aK, dN, dQ)] | |
863 | 863 | else nil | |
864 | 864 | let fx = if ((this == aK)) | |
865 | 865 | then $Tuple2(0, 0) | |
866 | 866 | else if (dU) | |
867 | 867 | then $Tuple2(-(dN), 0) | |
868 | 868 | else $Tuple2(0, -(dN)) | |
869 | 869 | let dj = fx._1 | |
870 | 870 | let dk = fx._2 | |
871 | 871 | let fy = di(dj, dk, 0) | |
872 | 872 | let fh = fy._1 | |
873 | 873 | let cZ = fy._2 | |
874 | 874 | let dt = value(getString(af)) | |
875 | 875 | let fi = dm(dh, cZ) | |
876 | 876 | if ((fi == fi)) | |
877 | 877 | then $Tuple2((((cV ++ fe) ++ fw) ++ fh), fu) | |
878 | 878 | else throw("Strict value is not equal to itself.") | |
879 | 879 | } | |
880 | 880 | else throw("Strict value is not equal to itself.") | |
881 | 881 | } | |
882 | 882 | else throw("Strict value is not equal to itself.") | |
883 | 883 | } | |
884 | 884 | else throw("Strict value is not equal to itself.") | |
885 | 885 | } | |
886 | 886 | ||
887 | 887 | ||
888 | 888 | ||
889 | 889 | @Callable(dz) | |
890 | 890 | func putOneTknREADONLY (dQ,dP) = { | |
891 | 891 | let fz = dO(dP, aQ(dQ), unit, unit) | |
892 | 892 | let ft = fz._1 | |
893 | 893 | let cV = fz._2 | |
894 | 894 | let dN = fz._3 | |
895 | 895 | let fs = fz._4 | |
896 | 896 | let dU = fz._5 | |
897 | 897 | $Tuple2(nil, $Tuple3(ft, dN, fs)) | |
898 | 898 | } | |
899 | 899 | ||
900 | 900 | ||
901 | 901 | ||
902 | 902 | @Callable(dz) | |
903 | 903 | func getOneTkn (fA,fl) = { | |
904 | 904 | let fn = { | |
905 | 905 | let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
906 | 906 | if ($isInstanceOf(fo, "Boolean")) | |
907 | 907 | then fo | |
908 | 908 | else throw(($getType(fo) + " couldn't be cast to Boolean")) | |
909 | 909 | } | |
910 | 910 | let fB = if (if (aL()) | |
911 | 911 | then true | |
912 | 912 | else (aY == n)) | |
913 | 913 | then true | |
914 | 914 | else fn | |
915 | 915 | let ev = [if (if (!(fB)) | |
916 | 916 | then true | |
917 | 917 | else eP(dz)) | |
918 | 918 | then true | |
919 | 919 | else aG("get operation is blocked by admin"), if ((size(dz.payments) == 1)) | |
920 | 920 | then true | |
921 | 921 | else aG("exactly 1 payment are expected")] | |
922 | 922 | if ((ev == ev)) | |
923 | 923 | then { | |
924 | 924 | let eu = aQ(fA) | |
925 | 925 | let fq = dz.payments[0] | |
926 | 926 | let dQ = fq.assetId | |
927 | 927 | let ec = fq.amount | |
928 | 928 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(ec)) | |
929 | 929 | let X = dz.caller | |
930 | 930 | let Y = dz.transactionId | |
931 | 931 | let fC = et(eu, ec, dQ, X, Y) | |
932 | 932 | if ((fC == fC)) | |
933 | 933 | then { | |
934 | 934 | let ew = fC._5 | |
935 | 935 | let fs = fC._4 | |
936 | 936 | let dN = fC._3 | |
937 | 937 | let cV = fC._2 | |
938 | 938 | let fD = fC._1 | |
939 | 939 | let dH = if (if ((fl > 0)) | |
940 | 940 | then (fl > fD) | |
941 | 941 | else false) | |
942 | 942 | then aG(makeString(["amount to receive is less than ", toString(fl)], "")) | |
943 | 943 | else fD | |
944 | 944 | let fE = invoke(aJ, "burn", [ec], [AttachedPayment(dQ, ec)]) | |
945 | 945 | if ((fE == fE)) | |
946 | 946 | then { | |
947 | 947 | let fF = [ScriptTransfer(X, dH, eu)] | |
948 | 948 | let fw = if ((dN > 0)) | |
949 | 949 | then [ScriptTransfer(aK, dN, eu)] | |
950 | 950 | else nil | |
951 | 951 | let fG = { | |
952 | 952 | let fH = if ((this == aK)) | |
953 | 953 | then 0 | |
954 | 954 | else dN | |
955 | 955 | if (ew) | |
956 | 956 | then $Tuple2(-((dH + fH)), 0) | |
957 | 957 | else $Tuple2(0, -((dH + fH))) | |
958 | 958 | } | |
959 | 959 | let dj = fG._1 | |
960 | 960 | let dk = fG._2 | |
961 | 961 | let fI = di(dj, dk, 0) | |
962 | 962 | let fh = fI._1 | |
963 | 963 | let cZ = fI._2 | |
964 | 964 | let fi = dm(dh, cZ) | |
965 | 965 | if ((fi == fi)) | |
966 | 966 | then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH) | |
967 | 967 | else throw("Strict value is not equal to itself.") | |
968 | 968 | } | |
969 | 969 | else throw("Strict value is not equal to itself.") | |
970 | 970 | } | |
971 | 971 | else throw("Strict value is not equal to itself.") | |
972 | 972 | } | |
973 | 973 | else throw("Strict value is not equal to itself.") | |
974 | 974 | } | |
975 | 975 | ||
976 | 976 | ||
977 | 977 | ||
978 | 978 | @Callable(dz) | |
979 | 979 | func getOneTknREADONLY (eu,ec) = { | |
980 | 980 | let fJ = et(aQ(eu), ec, aZ, unit, unit) | |
981 | 981 | let fD = fJ._1 | |
982 | 982 | let cV = fJ._2 | |
983 | 983 | let dN = fJ._3 | |
984 | 984 | let fs = fJ._4 | |
985 | 985 | let ew = fJ._5 | |
986 | 986 | $Tuple2(nil, $Tuple3(fD, dN, fs)) | |
987 | 987 | } | |
988 | 988 | ||
989 | 989 | ||
990 | 990 | ||
991 | 991 | @Callable(dz) | |
992 | 992 | func unstakeAndGetOneTkn (fK,fA,fl) = { | |
993 | 993 | let fn = { | |
994 | 994 | let fo = invoke(aJ, "isPoolOneTokenOperationsDisabledREADONLY", [toString(this)], nil) | |
995 | 995 | if ($isInstanceOf(fo, "Boolean")) | |
996 | 996 | then fo | |
997 | 997 | else throw(($getType(fo) + " couldn't be cast to Boolean")) | |
998 | 998 | } | |
999 | 999 | let fB = if (if (aL()) | |
1000 | 1000 | then true | |
1001 | 1001 | else (aY == n)) | |
1002 | 1002 | then true | |
1003 | 1003 | else fn | |
1004 | 1004 | let ev = [if (if (!(fB)) | |
1005 | 1005 | then true | |
1006 | 1006 | else eP(dz)) | |
1007 | 1007 | then true | |
1008 | 1008 | else aG("get operation is blocked by admin"), if ((size(dz.payments) == 0)) | |
1009 | 1009 | then true | |
1010 | 1010 | else aG("no payments are expected")] | |
1011 | 1011 | if ((ev == ev)) | |
1012 | 1012 | then { | |
1013 | 1013 | let eu = aQ(fA) | |
1014 | 1014 | let X = dz.caller | |
1015 | 1015 | let Y = dz.transactionId | |
1016 | 1016 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1017 | 1017 | let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil) | |
1018 | 1018 | if ((fL == fL)) | |
1019 | 1019 | then { | |
1020 | 1020 | let fM = et(eu, fK, aZ, X, Y) | |
1021 | 1021 | if ((fM == fM)) | |
1022 | 1022 | then { | |
1023 | 1023 | let ew = fM._5 | |
1024 | 1024 | let fs = fM._4 | |
1025 | 1025 | let dN = fM._3 | |
1026 | 1026 | let cV = fM._2 | |
1027 | 1027 | let fD = fM._1 | |
1028 | 1028 | let dH = if (if ((fl > 0)) | |
1029 | 1029 | then (fl > fD) | |
1030 | 1030 | else false) | |
1031 | 1031 | then aG(makeString(["amount to receive is less than ", toString(fl)], "")) | |
1032 | 1032 | else fD | |
1033 | 1033 | let fE = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)]) | |
1034 | 1034 | if ((fE == fE)) | |
1035 | 1035 | then { | |
1036 | 1036 | let fF = [ScriptTransfer(dz.caller, dH, eu)] | |
1037 | 1037 | let fw = if ((dN > 0)) | |
1038 | 1038 | then [ScriptTransfer(aK, dN, eu)] | |
1039 | 1039 | else nil | |
1040 | 1040 | let fN = { | |
1041 | 1041 | let fH = if ((this == aK)) | |
1042 | 1042 | then 0 | |
1043 | 1043 | else dN | |
1044 | 1044 | if (ew) | |
1045 | 1045 | then $Tuple2(-((dH + fH)), 0) | |
1046 | 1046 | else $Tuple2(0, -((dH + fH))) | |
1047 | 1047 | } | |
1048 | 1048 | let dj = fN._1 | |
1049 | 1049 | let dk = fN._2 | |
1050 | 1050 | let fO = di(dj, dk, 0) | |
1051 | 1051 | let fh = fO._1 | |
1052 | 1052 | let cZ = fO._2 | |
1053 | 1053 | let fi = dm(dh, cZ) | |
1054 | 1054 | if ((fi == fi)) | |
1055 | 1055 | then $Tuple2((((cV ++ fF) ++ fw) ++ fh), dH) | |
1056 | 1056 | else throw("Strict value is not equal to itself.") | |
1057 | 1057 | } | |
1058 | 1058 | else throw("Strict value is not equal to itself.") | |
1059 | 1059 | } | |
1060 | 1060 | else throw("Strict value is not equal to itself.") | |
1061 | 1061 | } | |
1062 | 1062 | else throw("Strict value is not equal to itself.") | |
1063 | 1063 | } | |
1064 | 1064 | else throw("Strict value is not equal to itself.") | |
1065 | 1065 | } | |
1066 | 1066 | ||
1067 | 1067 | ||
1068 | 1068 | ||
1069 | 1069 | @Callable(dz) | |
1070 | 1070 | func get () = { | |
1071 | 1071 | let cG = dy(dz) | |
1072 | 1072 | let fP = cG._1 | |
1073 | 1073 | let cn = cG._2 | |
1074 | 1074 | let dB = cG._3 | |
1075 | 1075 | let bV = cG._4 | |
1076 | 1076 | let co = cG._5 | |
1077 | 1077 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB)) | |
1078 | 1078 | let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)]) | |
1079 | 1079 | if ((fQ == fQ)) | |
1080 | 1080 | then { | |
1081 | 1081 | let fR = di(-(fP), -(cn), 0) | |
1082 | 1082 | let fh = fR._1 | |
1083 | 1083 | let cZ = fR._2 | |
1084 | 1084 | let fi = dm(dh, cZ) | |
1085 | 1085 | if ((fi == fi)) | |
1086 | 1086 | then (co ++ fh) | |
1087 | 1087 | else throw("Strict value is not equal to itself.") | |
1088 | 1088 | } | |
1089 | 1089 | else throw("Strict value is not equal to itself.") | |
1090 | 1090 | } | |
1091 | 1091 | ||
1092 | 1092 | ||
1093 | 1093 | ||
1094 | 1094 | @Callable(dz) | |
1095 | 1095 | func getNoLess (fS,fT) = { | |
1096 | 1096 | let cG = dy(dz) | |
1097 | 1097 | let cm = cG._1 | |
1098 | 1098 | let cn = cG._2 | |
1099 | 1099 | let dB = cG._3 | |
1100 | 1100 | let bV = cG._4 | |
1101 | 1101 | let co = cG._5 | |
1102 | 1102 | if ((fS > cm)) | |
1103 | 1103 | then throw(((("noLessThenAmtAsset failed: " + toString(cm)) + " < ") + toString(fS))) | |
1104 | 1104 | else if ((fT > cn)) | |
1105 | 1105 | then throw(((("noLessThenPriceAsset failed: " + toString(cn)) + " < ") + toString(fT))) | |
1106 | 1106 | else { | |
1107 | 1107 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(dB)) | |
1108 | 1108 | let fQ = invoke(aJ, "burn", [dB], [AttachedPayment(bV, dB)]) | |
1109 | 1109 | if ((fQ == fQ)) | |
1110 | 1110 | then { | |
1111 | 1111 | let fU = di(-(cm), -(cn), 0) | |
1112 | 1112 | let fh = fU._1 | |
1113 | 1113 | let cZ = fU._2 | |
1114 | 1114 | let fi = dm(dh, cZ) | |
1115 | 1115 | if ((fi == fi)) | |
1116 | 1116 | then (co ++ fh) | |
1117 | 1117 | else throw("Strict value is not equal to itself.") | |
1118 | 1118 | } | |
1119 | 1119 | else throw("Strict value is not equal to itself.") | |
1120 | 1120 | } | |
1121 | 1121 | } | |
1122 | 1122 | ||
1123 | 1123 | ||
1124 | 1124 | ||
1125 | 1125 | @Callable(dz) | |
1126 | 1126 | func unstakeAndGet (dH) = { | |
1127 | 1127 | let fV = if ((size(dz.payments) != 0)) | |
1128 | 1128 | then throw("No payments are expected") | |
1129 | 1129 | else true | |
1130 | 1130 | if ((fV == fV)) | |
1131 | 1131 | then { | |
1132 | 1132 | let bK = aN() | |
1133 | 1133 | let bX = fromBase58String(bK[q]) | |
1134 | 1134 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1135 | 1135 | let fL = invoke(bf, "unstake", [toBase58String(bX), dH], nil) | |
1136 | 1136 | if ((fL == fL)) | |
1137 | 1137 | then { | |
1138 | 1138 | let cG = bT(toBase58String(dz.transactionId), toBase58String(bX), dH, dz.caller) | |
1139 | 1139 | let cm = cG._1 | |
1140 | 1140 | let cn = cG._2 | |
1141 | 1141 | let ca = parseIntValue(cG._9) | |
1142 | 1142 | let co = cG._10 | |
1143 | 1143 | let fW = if (if (aL()) | |
1144 | 1144 | then true | |
1145 | 1145 | else (ca == n)) | |
1146 | 1146 | then throw(("Get operation is blocked by admin. Status = " + toString(ca))) | |
1147 | 1147 | else true | |
1148 | 1148 | if ((fW == fW)) | |
1149 | 1149 | then { | |
1150 | 1150 | let fQ = invoke(aJ, "burn", [dH], [AttachedPayment(bX, dH)]) | |
1151 | 1151 | if ((fQ == fQ)) | |
1152 | 1152 | then { | |
1153 | 1153 | let fX = di(-(cm), -(cn), 0) | |
1154 | 1154 | let fh = fX._1 | |
1155 | 1155 | let cZ = fX._2 | |
1156 | 1156 | let fi = dm(dh, cZ) | |
1157 | 1157 | if ((fi == fi)) | |
1158 | 1158 | then (co ++ fh) | |
1159 | 1159 | else throw("Strict value is not equal to itself.") | |
1160 | 1160 | } | |
1161 | 1161 | else throw("Strict value is not equal to itself.") | |
1162 | 1162 | } | |
1163 | 1163 | else throw("Strict value is not equal to itself.") | |
1164 | 1164 | } | |
1165 | 1165 | else throw("Strict value is not equal to itself.") | |
1166 | 1166 | } | |
1167 | 1167 | else throw("Strict value is not equal to itself.") | |
1168 | 1168 | } | |
1169 | 1169 | ||
1170 | 1170 | ||
1171 | 1171 | ||
1172 | 1172 | @Callable(dz) | |
1173 | 1173 | func unstakeAndGetNoLess (fK,fY,fT) = { | |
1174 | 1174 | let fB = if (aL()) | |
1175 | 1175 | then true | |
1176 | 1176 | else (aY == n) | |
1177 | 1177 | let ev = [if (!(fB)) | |
1178 | 1178 | then true | |
1179 | 1179 | else throw("get operation is blocked by admin"), if ((size(dz.payments) == 0)) | |
1180 | 1180 | then true | |
1181 | 1181 | else throw("no payments are expected")] | |
1182 | 1182 | if ((ev == ev)) | |
1183 | 1183 | then { | |
1184 | 1184 | let dh = da(toBigInt(0), toBigInt(0), toBigInt(0)) | |
1185 | 1185 | let fL = invoke(bf, "unstake", [toBase58String(aZ), fK], nil) | |
1186 | 1186 | if ((fL == fL)) | |
1187 | 1187 | then { | |
1188 | 1188 | let cG = bT(toBase58String(dz.transactionId), toBase58String(aZ), fK, dz.caller) | |
1189 | 1189 | let cm = cG._1 | |
1190 | 1190 | let cn = cG._2 | |
1191 | 1191 | let co = cG._10 | |
1192 | 1192 | let fZ = [if ((cm >= fY)) | |
1193 | 1193 | then true | |
1194 | 1194 | else throw(makeString(["amount asset amount to receive is less than ", toString(fY)], "")), if ((cn >= fT)) | |
1195 | 1195 | then true | |
1196 | 1196 | else throw(makeString(["price asset amount to receive is less than ", toString(fT)], ""))] | |
1197 | 1197 | if ((fZ == fZ)) | |
1198 | 1198 | then { | |
1199 | 1199 | let fQ = invoke(aJ, "burn", [fK], [AttachedPayment(aZ, fK)]) | |
1200 | 1200 | if ((fQ == fQ)) | |
1201 | 1201 | then { | |
1202 | 1202 | let ga = di(-(cm), -(cn), 0) | |
1203 | 1203 | let fh = ga._1 | |
1204 | 1204 | let cZ = ga._2 | |
1205 | 1205 | let fi = dm(dh, cZ) | |
1206 | 1206 | if ((fi == fi)) | |
1207 | 1207 | then (co ++ fh) | |
1208 | 1208 | else throw("Strict value is not equal to itself.") | |
1209 | 1209 | } | |
1210 | 1210 | else throw("Strict value is not equal to itself.") | |
1211 | 1211 | } | |
1212 | 1212 | else throw("Strict value is not equal to itself.") | |
1213 | 1213 | } | |
1214 | 1214 | else throw("Strict value is not equal to itself.") | |
1215 | 1215 | } | |
1216 | 1216 | else throw("Strict value is not equal to itself.") | |
1217 | 1217 | } | |
1218 | 1218 | ||
1219 | 1219 | ||
1220 | 1220 | ||
1221 | 1221 | @Callable(dz) | |
1222 | 1222 | func activate (gb,gc) = if ((toString(dz.caller) != toString(aJ))) | |
1223 | 1223 | then throw("permissions denied") | |
1224 | 1224 | else $Tuple2([StringEntry(aa(), gb), StringEntry(ab(), gc)], "success") | |
1225 | 1225 | ||
1226 | 1226 | ||
1227 | 1227 | ||
1228 | 1228 | @Callable(dz) | |
1229 | 1229 | func refreshKLp () = { | |
1230 | 1230 | let gd = valueOrElse(getInteger(ag), 0) | |
1231 | 1231 | let ge = if (((height - gd) >= aj)) | |
1232 | 1232 | then unit | |
1233 | 1233 | else aG(makeString([toString(aj), " blocks have not passed since the previous call"], "")) | |
1234 | 1234 | if ((ge == ge)) | |
1235 | 1235 | then { | |
1236 | 1236 | let dt = valueOrErrorMessage(parseBigInt(valueOrElse(getString(this, af), "0")), aI("invalid kLp")) | |
1237 | 1237 | let gf = di(0, 0, 0) | |
1238 | 1238 | let gg = gf._1 | |
1239 | 1239 | let cZ = gf._2 | |
1240 | 1240 | let dl = if ((dt != cZ)) | |
1241 | 1241 | then gg | |
1242 | 1242 | else aG("nothing to refresh") | |
1243 | 1243 | $Tuple2(dl, toString(cZ)) | |
1244 | 1244 | } | |
1245 | 1245 | else throw("Strict value is not equal to itself.") | |
1246 | 1246 | } | |
1247 | 1247 | ||
1248 | 1248 | ||
1249 | 1249 | ||
1250 | 1250 | @Callable(dz) | |
1251 | 1251 | func getPoolConfigWrapperREADONLY () = $Tuple2(nil, aN()) | |
1252 | 1252 | ||
1253 | 1253 | ||
1254 | 1254 | ||
1255 | 1255 | @Callable(dz) | |
1256 | 1256 | func getAccBalanceWrapperREADONLY (bx) = $Tuple2(nil, bw(bx)) | |
1257 | 1257 | ||
1258 | 1258 | ||
1259 | 1259 | ||
1260 | 1260 | @Callable(dz) | |
1261 | 1261 | func calcPricesWrapperREADONLY (bE,bF,bJ) = { | |
1262 | 1262 | let bS = bI(bE, bF, bJ) | |
1263 | 1263 | $Tuple2(nil, [toString(bS[0]), toString(bS[1]), toString(bS[2])]) | |
1264 | 1264 | } | |
1265 | 1265 | ||
1266 | 1266 | ||
1267 | 1267 | ||
1268 | 1268 | @Callable(dz) | |
1269 | 1269 | func toX18WrapperREADONLY (E,F) = $Tuple2(nil, toString(D(E, F))) | |
1270 | 1270 | ||
1271 | 1271 | ||
1272 | 1272 | ||
1273 | 1273 | @Callable(dz) | |
1274 | 1274 | func fromX18WrapperREADONLY (H,I) = $Tuple2(nil, G(parseBigIntValue(H), I)) | |
1275 | 1275 | ||
1276 | 1276 | ||
1277 | 1277 | ||
1278 | 1278 | @Callable(dz) | |
1279 | 1279 | func calcPriceBigIntWrapperREADONLY (bz,bA) = $Tuple2(nil, toString(by(parseBigIntValue(bz), parseBigIntValue(bA)))) | |
1280 | 1280 | ||
1281 | 1281 | ||
1282 | 1282 | ||
1283 | 1283 | @Callable(dz) | |
1284 | 1284 | func estimatePutOperationWrapperREADONLY (bU,cq,cr,cs,ct,cu,X,cv,cw) = $Tuple2(nil, cp(bU, cq, cr, cs, ct, cu, X, cv, cw)) | |
1285 | 1285 | ||
1286 | 1286 | ||
1287 | 1287 | ||
1288 | 1288 | @Callable(dz) | |
1289 | 1289 | func estimateGetOperationWrapperREADONLY (bU,bV,bW,X) = { | |
1290 | 1290 | let cG = bT(bU, bV, bW, addressFromStringValue(X)) | |
1291 | 1291 | $Tuple2(nil, $Tuple10(cG._1, cG._2, cG._3, cG._4, cG._5, cG._6, cG._7, toString(cG._8), cG._9, cG._10)) | |
1292 | 1292 | } | |
1293 | 1293 | ||
1294 | 1294 | ||
1295 | 1295 | ||
1296 | 1296 | @Callable(dz) | |
1297 | 1297 | func statsREADONLY () = { | |
1298 | 1298 | let bK = aN() | |
1299 | 1299 | let bX = fromBase58String(bK[q]) | |
1300 | 1300 | let gh = bK[r] | |
1301 | 1301 | let gi = bK[s] | |
1302 | 1302 | let cz = bK[v] | |
1303 | 1303 | let cA = bK[w] | |
1304 | 1304 | let bL = parseIntValue(bK[t]) | |
1305 | 1305 | let bM = parseIntValue(bK[u]) | |
1306 | 1306 | let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity | |
1307 | 1307 | let gk = bw(gh) | |
1308 | 1308 | let gl = bw(gi) | |
1309 | 1309 | let gm = if ((gj == 0)) | |
1310 | 1310 | then [e, e, e] | |
1311 | 1311 | else bI(gk, gl, gj) | |
1312 | 1312 | let ch = 0 | |
1313 | 1313 | let gn = G(gm[1], b) | |
1314 | 1314 | let go = G(gm[2], b) | |
1315 | 1315 | let gp = value(getInteger(aJ, au(toString(this)))) | |
1316 | 1316 | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(gk), toString(gl), toString(gj), toString(ch), toString(gn), toString(go), toString(gp)], j)) | |
1317 | 1317 | } | |
1318 | 1318 | ||
1319 | 1319 | ||
1320 | 1320 | ||
1321 | 1321 | @Callable(dz) | |
1322 | 1322 | func evaluatePutByAmountAssetREADONLY (cr) = { | |
1323 | 1323 | let bK = aN() | |
1324 | 1324 | let bX = fromBase58String(bK[q]) | |
1325 | 1325 | let cx = bK[r] | |
1326 | 1326 | let bY = fromBase58String(cx) | |
1327 | 1327 | let cy = bK[s] | |
1328 | 1328 | let bZ = fromBase58String(cy) | |
1329 | 1329 | let bL = parseIntValue(bK[t]) | |
1330 | 1330 | let bM = parseIntValue(bK[u]) | |
1331 | 1331 | let ca = bK[p] | |
1332 | 1332 | let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity | |
1333 | 1333 | let gk = bw(cx) | |
1334 | 1334 | let gl = bw(cy) | |
1335 | 1335 | let bG = D(gk, bL) | |
1336 | 1336 | let bH = D(gl, bM) | |
1337 | 1337 | let cg = if ((gj == 0)) | |
1338 | 1338 | then e | |
1339 | 1339 | else by(bH, bG) | |
1340 | 1340 | let cD = D(cr, bL) | |
1341 | 1341 | let cE = fraction(cD, cg, d) | |
1342 | 1342 | let ct = G(cE, bM) | |
1343 | 1343 | let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false) | |
1344 | 1344 | let cO = dF._1 | |
1345 | 1345 | let gq = dF._3 | |
1346 | 1346 | let cc = dF._4 | |
1347 | 1347 | let ce = dF._5 | |
1348 | 1348 | let cb = dF._6 | |
1349 | 1349 | $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)) | |
1350 | 1350 | } | |
1351 | 1351 | ||
1352 | 1352 | ||
1353 | 1353 | ||
1354 | 1354 | @Callable(dz) | |
1355 | 1355 | func evaluatePutByPriceAssetREADONLY (ct) = { | |
1356 | 1356 | let bK = aN() | |
1357 | 1357 | let bX = fromBase58String(bK[q]) | |
1358 | 1358 | let cx = bK[r] | |
1359 | 1359 | let bY = fromBase58String(cx) | |
1360 | 1360 | let cy = bK[s] | |
1361 | 1361 | let bZ = fromBase58String(cy) | |
1362 | 1362 | let bL = parseIntValue(bK[t]) | |
1363 | 1363 | let bM = parseIntValue(bK[u]) | |
1364 | 1364 | let ca = bK[p] | |
1365 | 1365 | let gj = valueOrErrorMessage(assetInfo(bX), (("Asset " + toBase58String(bX)) + " doesn't exist")).quantity | |
1366 | 1366 | let gr = bw(cx) | |
1367 | 1367 | let gs = bw(cy) | |
1368 | 1368 | let gt = D(gr, bL) | |
1369 | 1369 | let gu = D(gs, bM) | |
1370 | 1370 | let cg = if ((gj == 0)) | |
1371 | 1371 | then e | |
1372 | 1372 | else by(gu, gt) | |
1373 | 1373 | let cE = D(ct, bM) | |
1374 | 1374 | let cD = fraction(cE, d, cg) | |
1375 | 1375 | let cr = G(cD, bL) | |
1376 | 1376 | let dF = cp("", 500000, cr, bY, ct, bZ, "", true, false) | |
1377 | 1377 | let cO = dF._1 | |
1378 | 1378 | let gq = dF._3 | |
1379 | 1379 | let cc = dF._4 | |
1380 | 1380 | let ce = dF._5 | |
1381 | 1381 | let cb = dF._6 | |
1382 | 1382 | $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)) | |
1383 | 1383 | } | |
1384 | 1384 | ||
1385 | 1385 | ||
1386 | 1386 | ||
1387 | 1387 | @Callable(dz) | |
1388 | 1388 | func evaluateGetREADONLY (gv,gw) = { | |
1389 | 1389 | let cG = bT("", gv, gw, this) | |
1390 | 1390 | let cm = cG._1 | |
1391 | 1391 | let cn = cG._2 | |
1392 | 1392 | let cc = cG._5 | |
1393 | 1393 | let ce = cG._6 | |
1394 | 1394 | let cb = cG._7 | |
1395 | 1395 | let ch = cG._8 | |
1396 | 1396 | let ca = parseIntValue(cG._9) | |
1397 | 1397 | $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)) | |
1398 | 1398 | } | |
1399 | 1399 | ||
1400 | 1400 | ||
1401 | 1401 | @Verifier(gx) | |
1402 | 1402 | func gy () = { | |
1403 | 1403 | let gz = { | |
1404 | 1404 | let dK = eM() | |
1405 | 1405 | if ($isInstanceOf(dK, "ByteVector")) | |
1406 | 1406 | then { | |
1407 | 1407 | let eQ = dK | |
1408 | 1408 | eQ | |
1409 | 1409 | } | |
1410 | 1410 | else if ($isInstanceOf(dK, "Unit")) | |
1411 | 1411 | then gx.senderPublicKey | |
1412 | 1412 | else throw("Match error") | |
1413 | 1413 | } | |
1414 | 1414 | let dK = gx | |
1415 | 1415 | if ($isInstanceOf(dK, "Order")) | |
1416 | 1416 | then { | |
1417 | 1417 | let dp = dK | |
1418 | 1418 | let gA = aM() | |
1419 | 1419 | let az = do(dp) | |
1420 | 1420 | let aA = sigVerify(dp.bodyBytes, dp.proofs[0], dp.senderPublicKey) | |
1421 | 1421 | let aB = sigVerify(dp.bodyBytes, dp.proofs[1], gA) | |
1422 | 1422 | if (if (if (az) | |
1423 | 1423 | then aA | |
1424 | 1424 | else false) | |
1425 | 1425 | then aB | |
1426 | 1426 | else false) | |
1427 | 1427 | then true | |
1428 | 1428 | else ay(az, aA, aB) | |
1429 | 1429 | } | |
1430 | 1430 | else if ($isInstanceOf(dK, "SetScriptTransaction")) | |
1431 | 1431 | then { | |
1432 | 1432 | let eN = dK | |
1433 | 1433 | let gB = blake2b256(value(eN.script)) | |
1434 | 1434 | let gC = fromBase64String(value(getString(aJ, aw()))) | |
1435 | 1435 | let gD = scriptHash(this) | |
1436 | 1436 | if (if ((gC == gB)) | |
1437 | 1437 | then (gD != gB) | |
1438 | 1438 | else false) | |
1439 | 1439 | then true | |
1440 | 1440 | else sigVerify(gx.bodyBytes, gx.proofs[0], gz) | |
1441 | 1441 | } | |
1442 | 1442 | else sigVerify(gx.bodyBytes, gx.proofs[0], gz) | |
1443 | 1443 | } | |
1444 | 1444 |
github/deemru/w8io/026f985 120.89 ms ◑