tx · 3LgE7R4w5wEhwTjRbtCKAPTMBiFBrLTSVD9dsXg3nULF 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi: -0.02000000 Waves 2023.03.01 18:18 [2471169] smart account 3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi > SELF 0.00000000 Waves
{ "type": 13, "id": "3LgE7R4w5wEhwTjRbtCKAPTMBiFBrLTSVD9dsXg3nULF", "fee": 2000000, "feeAssetId": null, "timestamp": 1677683925717, "version": 2, "chainId": 84, "sender": "3N7LYefWk1WhvCsY5A9nTq244SbVPmhCypi", "senderPublicKey": "4qGVXRFATZNzo2RZZ5UYHXojGyJgSRBwtgJcCU8rJe5A", "proofs": [ "2995Fmrx3YJLXS4qYT4x9jsQtngqvA8pLPTVN69cfZgRwtLrzi3MiX5mJQPWr8qMo3vqza5feRGK2TXXjaRPqjm6", "wWtuaASW4QxikyGfWVrEDmEgpYuJVpeGkHwu6RZzpSUhiRnvmxRcRngurzNaWaAwwFWaFzttBU9kHkXAagxMzwS", "55xp5VfST3Gn76atKtXt4JzULyDeNYMFQvv3wEwG6PQhRj5Zkqa9P9t4ynhiT8zwzxbx2RVPF6A2j9Am1mTuBMMT" ], "script": "base64:BgI5CAISBQoDCAgBEgMKAQESBwoFAQEBAQESAwoBARIECgIBAhIDCgEBEgASBQoDAQEBEgcKBQEBAQEBdQALcmV2aXNpb25OdW0CAAAJTVVMVFNDQUxFAAgAB1NDQUxFMTYAEAADU0VQAgJfXwAFSEFMRjgAgOHrFwAIRVVMRVJYMTYJALYCAQD0quOekdSkMAAEVFdPWAkAtgIBAAIABU1VTFQ2AMCEPQAGTVVMVFg2CQC2AgEAwIQ9AAVNVUxUOACAwtcvAAZNVUxUWDgJALYCAQCAwtcvAAdNVUxUWDEwCQC2AgEAgMivoCUAB01VTFRYMTYJALYCAQCAgIT+pt7hEQAHV0FWRVNJRAkA2QQBAgVXQVZFUwALa1Jlc3VsdElkeEEAAAAPa1Jlc3VsdElkeFBhdWxCAAEA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icationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 6G2CLdNyFLGjnGEAwZzNXWWqxS8BbkBpYTRctnuYkUFf Next: oQ7kKpj284T27xovAnJBjUfevnCFzL1KJLA59sr6aK9 Diff:
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "" | |
228 | 228 | func aU () = "%s__controlConfig" | |
229 | 229 | ||
230 | 230 | ||
231 | - | func aV (aW) = split(af(aW, aU()), d) | |
231 | + | func aV (aW) = split_4C(af(aW, aU()), d) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aX (aY,aZ) = valueOrErrorMessage(addressFromString(aY[aZ]), ("Control cfg doesn't contain address at index " + toString(aZ))) |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
1 | + | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "" | |
5 | 5 | ||
6 | 6 | let b = 8 | |
7 | 7 | ||
8 | 8 | let c = 16 | |
9 | 9 | ||
10 | 10 | let d = "__" | |
11 | 11 | ||
12 | 12 | let e = 50000000 | |
13 | 13 | ||
14 | 14 | let f = toBigInt(27182818284590452) | |
15 | 15 | ||
16 | 16 | let g = toBigInt(2) | |
17 | 17 | ||
18 | 18 | let h = 1000000 | |
19 | 19 | ||
20 | 20 | let i = toBigInt(1000000) | |
21 | 21 | ||
22 | 22 | let j = 100000000 | |
23 | 23 | ||
24 | 24 | let k = toBigInt(100000000) | |
25 | 25 | ||
26 | 26 | let l = toBigInt(10000000000) | |
27 | 27 | ||
28 | 28 | let m = toBigInt(10000000000000000) | |
29 | 29 | ||
30 | 30 | let n = fromBase58String("WAVES") | |
31 | 31 | ||
32 | 32 | let o = 0 | |
33 | 33 | ||
34 | 34 | let p = 1 | |
35 | 35 | ||
36 | 36 | let q = 2 | |
37 | 37 | ||
38 | 38 | let r = 3 | |
39 | 39 | ||
40 | 40 | let s = 4 | |
41 | 41 | ||
42 | 42 | let t = 5 | |
43 | 43 | ||
44 | 44 | let u = 6 | |
45 | 45 | ||
46 | 46 | let v = 0 | |
47 | 47 | ||
48 | 48 | let w = 1 | |
49 | 49 | ||
50 | 50 | let x = 2 | |
51 | 51 | ||
52 | 52 | let y = 3 | |
53 | 53 | ||
54 | 54 | let z = 4 | |
55 | 55 | ||
56 | 56 | let A = 5 | |
57 | 57 | ||
58 | 58 | let B = 6 | |
59 | 59 | ||
60 | 60 | let C = 7 | |
61 | 61 | ||
62 | 62 | let D = 8 | |
63 | 63 | ||
64 | 64 | let E = 9 | |
65 | 65 | ||
66 | 66 | let F = 10 | |
67 | 67 | ||
68 | 68 | let G = 11 | |
69 | 69 | ||
70 | 70 | let H = 12 | |
71 | 71 | ||
72 | 72 | let I = 13 | |
73 | 73 | ||
74 | 74 | let J = 14 | |
75 | 75 | ||
76 | 76 | func K () = "%s%s__config__neutrinoAddress" | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func L () = "%s%s__config__swapAParam" | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func M () = "%s%s__config__swapBParam" | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func N () = "%s%s__config__usdnSwapAParam" | |
86 | 86 | ||
87 | 87 | ||
88 | 88 | func O () = "%s%s__config__usdnSwapBParam" | |
89 | 89 | ||
90 | 90 | ||
91 | 91 | func P () = "%s%s__priceAdj__minCoefficient" | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func Q () = "%s%s__priceAdj__arbRegulator" | |
95 | 95 | ||
96 | 96 | ||
97 | 97 | func R () = "neutrino_asset_id" | |
98 | 98 | ||
99 | 99 | ||
100 | 100 | func S () = "bond_asset_id" | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func T () = "surf_asset_id" | |
104 | 104 | ||
105 | 105 | ||
106 | 106 | func U () = "swaps_timeframe" | |
107 | 107 | ||
108 | 108 | ||
109 | 109 | func V (W) = makeString(["%s%s", "userLastQuickSwapHeight", W], d) | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func X (W) = makeString(["%s%s", "quickSwapUserSpentInPeriod", W], d) | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func Y () = "%s%s__common__basketAssets" | |
116 | 116 | ||
117 | 117 | ||
118 | 118 | func Z () = "price" | |
119 | 119 | ||
120 | 120 | ||
121 | 121 | func aa (ab) = ("%s%s%s__common__priceByAsset__" + ab) | |
122 | 122 | ||
123 | 123 | ||
124 | 124 | let ac = "rpd_balance" | |
125 | 125 | ||
126 | 126 | func ad (ae,ab) = makeString([ac, ab, ae], "_") | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func af (ag,ah) = valueOrErrorMessage(getString(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], "")) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ai (ag,ah) = valueOrErrorMessage(getInteger(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], "")) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func aj (ag,ah) = valueOrElse(getInteger(ag, ah), 0) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ak (ag,ah) = valueOrErrorMessage(getBoolean(ag, ah), makeString(["mandatory ", toString(ag), ".", ah, " is not defined"], "")) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func al (am,an) = fraction(am, j, an) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ao (am,an) = fraction(am, an, j) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ap (aq,ar) = fraction(toBigInt(aq), m, toBigInt(ar)) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func as (at,au) = toInt(fraction(at, toBigInt(au), m)) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func av (at) = { | |
154 | 154 | let aw = at | |
155 | 155 | if ($isInstanceOf(aw, "List[Any]")) | |
156 | 156 | then { | |
157 | 157 | let ax = aw | |
158 | 158 | ax | |
159 | 159 | } | |
160 | 160 | else throw("fail to cast into List[Any]") | |
161 | 161 | } | |
162 | 162 | ||
163 | 163 | ||
164 | 164 | func ay (at) = { | |
165 | 165 | let aw = at | |
166 | 166 | if ($isInstanceOf(aw, "Int")) | |
167 | 167 | then { | |
168 | 168 | let az = aw | |
169 | 169 | az | |
170 | 170 | } | |
171 | 171 | else throw("fail to cast into Int") | |
172 | 172 | } | |
173 | 173 | ||
174 | 174 | ||
175 | 175 | func aA (at) = { | |
176 | 176 | let aw = at | |
177 | 177 | if ($isInstanceOf(aw, "String")) | |
178 | 178 | then { | |
179 | 179 | let aB = aw | |
180 | 180 | aB | |
181 | 181 | } | |
182 | 182 | else throw("fail to cast into String") | |
183 | 183 | } | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func aC (aD) = { | |
187 | 187 | let aw = aD | |
188 | 188 | if ($isInstanceOf(aw, "(Int, Int, Int, Int)")) | |
189 | 189 | then { | |
190 | 190 | let aE = aw | |
191 | 191 | aE | |
192 | 192 | } | |
193 | 193 | else throw("fail to cast into PriceSTRUCT") | |
194 | 194 | } | |
195 | 195 | ||
196 | 196 | ||
197 | 197 | let aF = 1 | |
198 | 198 | ||
199 | 199 | let aG = 2 | |
200 | 200 | ||
201 | 201 | let aH = 3 | |
202 | 202 | ||
203 | 203 | let aI = 4 | |
204 | 204 | ||
205 | 205 | let aJ = 5 | |
206 | 206 | ||
207 | 207 | let aK = 6 | |
208 | 208 | ||
209 | 209 | let aL = 7 | |
210 | 210 | ||
211 | 211 | let aM = 8 | |
212 | 212 | ||
213 | 213 | let aN = 9 | |
214 | 214 | ||
215 | 215 | let aO = 10 | |
216 | 216 | ||
217 | 217 | let aP = 11 | |
218 | 218 | ||
219 | 219 | let aQ = 12 | |
220 | 220 | ||
221 | 221 | let aR = 13 | |
222 | 222 | ||
223 | 223 | let aS = 14 | |
224 | 224 | ||
225 | 225 | func aT () = "%s%s__config__controlAddress" | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aU () = "%s__controlConfig" | |
229 | 229 | ||
230 | 230 | ||
231 | - | func aV (aW) = split(af(aW, aU()), d) | |
231 | + | func aV (aW) = split_4C(af(aW, aU()), d) | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aX (aY,aZ) = valueOrErrorMessage(addressFromString(aY[aZ]), ("Control cfg doesn't contain address at index " + toString(aZ))) | |
235 | 235 | ||
236 | 236 | ||
237 | 237 | let ba = addressFromStringValue(valueOrElse(getString(this, aT()), "3N4NS7d4Jo9a6F14LiFUKKYVdUkkf2eP4Zx")) | |
238 | 238 | ||
239 | 239 | let aY = aV(ba) | |
240 | 240 | ||
241 | 241 | let bb = aX(aY, aF) | |
242 | 242 | ||
243 | 243 | let bc = aX(aY, aG) | |
244 | 244 | ||
245 | 245 | let bd = aX(aY, aJ) | |
246 | 246 | ||
247 | 247 | let be = aX(aY, aH) | |
248 | 248 | ||
249 | 249 | let bf = aX(aY, aS) | |
250 | 250 | ||
251 | 251 | let bg = af(bb, R()) | |
252 | 252 | ||
253 | 253 | let bh = fromBase58String(bg) | |
254 | 254 | ||
255 | 255 | let bi = fromBase58String(getStringValue(bb, S())) | |
256 | 256 | ||
257 | 257 | let bj = fromBase58String(getStringValue(bc, T())) | |
258 | 258 | ||
259 | 259 | func bk () = "balance_lock_" | |
260 | 260 | ||
261 | 261 | ||
262 | 262 | func bl (bm,ab) = makeString(["%s%s%s", "balanceLock", bm, ab], d) | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func bn (ab) = bl("outNeutrino", ab) | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func bo () = bl("outMulti", bg) | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bp () = (bk() + "neutrino") | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func bq () = (bk() + "waves") | |
275 | 275 | ||
276 | 276 | ||
277 | 277 | func br () = { | |
278 | 278 | let bs = valueOrElse(getString(ba, "%s%s__control__outOfMarketAddressList"), "") | |
279 | 279 | if ((bs == "")) | |
280 | 280 | then 0 | |
281 | 281 | else { | |
282 | 282 | func bt (bu,bv) = ((bu + valueOrElse(getInteger(be, ad(bv, bg)), 0)) + assetBalance(addressFromStringValue(bv), bh)) | |
283 | 283 | ||
284 | 284 | let bw = split(bs, d) | |
285 | 285 | let bx = size(bw) | |
286 | 286 | let by = 0 | |
287 | 287 | func bz (bA,bB) = if ((bB >= bx)) | |
288 | 288 | then bA | |
289 | 289 | else bt(bA, bw[bB]) | |
290 | 290 | ||
291 | 291 | func bC (bA,bB) = if ((bB >= bx)) | |
292 | 292 | then bA | |
293 | 293 | else throw("List size exceeds 7") | |
294 | 294 | ||
295 | 295 | bC(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7) | |
296 | 296 | } | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | ||
300 | 300 | func bD () = aC(invoke(bf, "price", [4], nil))._2 | |
301 | 301 | ||
302 | 302 | ||
303 | 303 | func bE (bF,bG) = { | |
304 | 304 | let bH = valueOrElse(getInteger(this, P()), 600000) | |
305 | 305 | let bI = valueOrElse(getInteger(this, Q()), 150000) | |
306 | 306 | let bJ = max([bH, fraction((h + bI), bG, h)]) | |
307 | 307 | let bK = min([bJ, h]) | |
308 | 308 | fraction(bF, h, bK) | |
309 | 309 | } | |
310 | 310 | ||
311 | 311 | ||
312 | 312 | let bL = getIntegerValue(ba, Z()) | |
313 | 313 | ||
314 | 314 | let bG = bD() | |
315 | 315 | ||
316 | 316 | let bM = bE(bL, bG) | |
317 | 317 | ||
318 | 318 | let bN = (valueOrElse(getInteger(bb, bp()), 0) + valueOrElse(getInteger(bb, bo()), 0)) | |
319 | 319 | ||
320 | 320 | let bO = (valueOrElse(getInteger(bb, bq()), 0) + valueOrElse(getInteger(bb, bn("WAVES")), 0)) | |
321 | 321 | ||
322 | 322 | func bP (ab) = { | |
323 | 323 | let bQ = fromBase58String(ab) | |
324 | 324 | if ((bQ == n)) | |
325 | 325 | then (wavesBalance(bb).regular - bO) | |
326 | 326 | else (assetBalance(bb, bQ) - valueOrElse(getInteger(bb, bn(ab)), 0)) | |
327 | 327 | } | |
328 | 328 | ||
329 | 329 | ||
330 | 330 | func bR (ab) = { | |
331 | 331 | let bS = bP(ab) | |
332 | 332 | let bT = value(getInteger(ba, aa(ab))) | |
333 | 333 | fraction(bS, bT, j) | |
334 | 334 | } | |
335 | 335 | ||
336 | 336 | ||
337 | 337 | let bU = br() | |
338 | 338 | ||
339 | 339 | let bV = (((bN + value(assetInfo(bh)).quantity) - assetBalance(bb, bh)) - assetBalance(bd, bh)) | |
340 | 340 | ||
341 | 341 | let bW = (bV - bU) | |
342 | 342 | ||
343 | 343 | func bX () = { | |
344 | 344 | let bY = split(value(getString(bb, Y())), d) | |
345 | 345 | func bZ (ca,ab) = (ca + bR(ab)) | |
346 | 346 | ||
347 | 347 | let cb = { | |
348 | 348 | let bw = bY | |
349 | 349 | let bx = size(bw) | |
350 | 350 | let by = 0 | |
351 | 351 | func bz (bA,bB) = if ((bB >= bx)) | |
352 | 352 | then bA | |
353 | 353 | else bZ(bA, bw[bB]) | |
354 | 354 | ||
355 | 355 | func bC (bA,bB) = if ((bB >= bx)) | |
356 | 356 | then bA | |
357 | 357 | else throw("List size exceeds 10") | |
358 | 358 | ||
359 | 359 | bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
360 | 360 | } | |
361 | 361 | fraction(cb, h, bW) | |
362 | 362 | } | |
363 | 363 | ||
364 | 364 | ||
365 | 365 | let cc = if ((bW == 0)) | |
366 | 366 | then 0 | |
367 | 367 | else bX() | |
368 | 368 | ||
369 | 369 | func cd () = { | |
370 | 370 | let ce = value(getString(bb, Y())) | |
371 | 371 | let bY = split(ce, d) | |
372 | 372 | func cf (ca,ab) = { | |
373 | 373 | let bS = bP(ab) | |
374 | 374 | let bT = value(getInteger(ba, aa(ab))) | |
375 | 375 | let cg = fraction(bS, bT, j) | |
376 | 376 | $Tuple2((ca._1 :+ $Tuple4(ab, bS, cg, bT)), (ca._2 + cg)) | |
377 | 377 | } | |
378 | 378 | ||
379 | 379 | let ch = { | |
380 | 380 | let bw = bY | |
381 | 381 | let bx = size(bw) | |
382 | 382 | let by = $Tuple2(nil, 0) | |
383 | 383 | func bz (bA,bB) = if ((bB >= bx)) | |
384 | 384 | then bA | |
385 | 385 | else cf(bA, bw[bB]) | |
386 | 386 | ||
387 | 387 | func bC (bA,bB) = if ((bB >= bx)) | |
388 | 388 | then bA | |
389 | 389 | else throw("List size exceeds 10") | |
390 | 390 | ||
391 | 391 | bC(bz(bz(bz(bz(bz(bz(bz(bz(bz(bz(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
392 | 392 | } | |
393 | 393 | func ci (ca,cj) = { | |
394 | 394 | let ck = if ((ch._2 == 0)) | |
395 | 395 | then h | |
396 | 396 | else fraction(cj._3, h, ch._2) | |
397 | 397 | (ca :+ makeString([cj._1, toString(ck), toString(cj._4), toString(cj._2)], ":")) | |
398 | 398 | } | |
399 | 399 | ||
400 | 400 | let cl = if ((bW == 0)) | |
401 | 401 | then 0 | |
402 | 402 | else fraction(ch._2, h, bW) | |
403 | 403 | $Tuple3(makeString({ | |
404 | 404 | let bw = ch._1 | |
405 | 405 | let bx = size(bw) | |
406 | 406 | let by = nil | |
407 | 407 | func cm (bA,bB) = if ((bB >= bx)) | |
408 | 408 | then bA | |
409 | 409 | else ci(bA, bw[bB]) | |
410 | 410 | ||
411 | 411 | func cn (bA,bB) = if ((bB >= bx)) | |
412 | 412 | then bA | |
413 | 413 | else throw("List size exceeds 10") | |
414 | 414 | ||
415 | 415 | cn(cm(cm(cm(cm(cm(cm(cm(cm(cm(cm(by, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
416 | 416 | }, "_"), cl, ch._2) | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | @Callable(co) | |
421 | 421 | func constructorV1 (cp,cq,cr) = if ((co.caller != this)) | |
422 | 422 | then throw("not authorized") | |
423 | 423 | else [StringEntry(K(), cp), IntegerEntry(L(), cr)] | |
424 | 424 | ||
425 | 425 | ||
426 | 426 | ||
427 | 427 | @Callable(co) | |
428 | 428 | func calcSwapLimitREADONLY (cs) = { | |
429 | 429 | let ct = if ((0 >= cs)) | |
430 | 430 | then 0 | |
431 | 431 | else { | |
432 | 432 | let cu = toBigInt(ai(this, L())) | |
433 | 433 | let cv = toBigInt(ai(this, M())) | |
434 | 434 | let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING) | |
435 | 435 | toInt(fraction(cu, cw, l)) | |
436 | 436 | } | |
437 | 437 | let cx = if ((0 >= cs)) | |
438 | 438 | then 0 | |
439 | 439 | else { | |
440 | 440 | let cu = toBigInt(ai(this, N())) | |
441 | 441 | let cv = toBigInt(ai(this, O())) | |
442 | 442 | let cy = toBigInt(cc) | |
443 | 443 | let cw = pow(toBigInt(cs), 6, cv, 16, 8, CEILING) | |
444 | 444 | toInt(fraction(fraction(cu, cw, l), cy, i)) | |
445 | 445 | } | |
446 | 446 | $Tuple2(nil, [ct, 0, cx]) | |
447 | 447 | } | |
448 | 448 | ||
449 | 449 | ||
450 | 450 | ||
451 | 451 | @Callable(co) | |
452 | 452 | func calculateKREADONLY (cz,cA,an,cB,cC) = { | |
453 | 453 | let cD = toBigInt(2718281) | |
454 | 454 | let cE = 6 | |
455 | 455 | let cF = valueOrElse(getInteger(bc, "nsbtCurveParam_a"), 3) | |
456 | 456 | let cG = valueOrElse(getInteger(bc, "nsbtCurveParam_b"), ((3 * h) / 10)) | |
457 | 457 | let cH = ao(cz, an) | |
458 | 458 | let cI = fraction(cH, j, cA) | |
459 | 459 | if ((cI > 10678564816)) | |
460 | 460 | then throw((("BR=" + toString(cI)) + " > 10678.564816% will overflow exponent")) | |
461 | 461 | else { | |
462 | 462 | let cJ = (cF * (cI - j)) | |
463 | 463 | let cK = pow(cD, cE, toBigInt(cJ), b, c, DOWN) | |
464 | 464 | let cL = fraction(toBigInt(cG), cK, i) | |
465 | 465 | $Tuple2(nil, [cF, cG, cH, cI, cJ, toString(cK), toString(cL)]) | |
466 | 466 | } | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | ||
471 | 471 | @Callable(co) | |
472 | 472 | func curveFunctionREADONLY (cM) = { | |
473 | 473 | let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil)) | |
474 | 474 | let an = ay(cN[v]) | |
475 | 475 | let cz = ay(cN[y]) | |
476 | 476 | let cA = ay(cN[A]) | |
477 | 477 | let cC = ay(cN[E]) | |
478 | 478 | let cB = ay(cN[F]) | |
479 | 479 | let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil)) | |
480 | 480 | let cL = parseBigIntValue(aA(cO[u])) | |
481 | 481 | let cP = ao(cM, an) | |
482 | 482 | let cQ = toBigInt(cB) | |
483 | 483 | let cR = toBigInt((cB - cC)) | |
484 | 484 | let cS = fraction(toBigInt(cP), m, cL) | |
485 | 485 | let cT = fraction(cS, cR, cQ) | |
486 | 486 | let cU = toInt(fraction(cR, cQ, (cT + cQ))) | |
487 | 487 | let cV = ((cB - cC) - cU) | |
488 | 488 | $Tuple2(nil, [cV, cP, cz, cA, cB, cC, ay(cO[o]), ay(cO[p]), ay(cO[q]), an, ay(cO[r]), ay(cO[s]), cO[t], cO[u], toString(cS), toString(cT), cU]) | |
489 | 489 | } | |
490 | 490 | ||
491 | 491 | ||
492 | 492 | ||
493 | 493 | @Callable(co) | |
494 | 494 | func surfFunctionREADONLY (am,ab) = if ((0 > am)) | |
495 | 495 | then throw("amount should be positive") | |
496 | 496 | else { | |
497 | 497 | let an = bL | |
498 | 498 | let cW = toBigInt(an) | |
499 | 499 | let cX = bP("WAVES") | |
500 | 500 | let cY = toBigInt(cX) | |
501 | 501 | let cZ = bW | |
502 | 502 | let da = toBigInt(cZ) | |
503 | 503 | if ((cc >= h)) | |
504 | 504 | then throw((("BR = " + toString(cc)) + ", cannot buy SURF")) | |
505 | 505 | else { | |
506 | 506 | let db = (fraction(cZ, j, an) - cX) | |
507 | 507 | let dc = (cZ - fraction(cX, an, j)) | |
508 | 508 | let dd = if ((ab == bh)) | |
509 | 509 | then if ((am > dc)) | |
510 | 510 | then dc | |
511 | 511 | else am | |
512 | 512 | else if ((ab == n)) | |
513 | 513 | then if ((am > db)) | |
514 | 514 | then db | |
515 | 515 | else am | |
516 | 516 | else 0 | |
517 | 517 | let de = toBigInt(dd) | |
518 | 518 | if ((ab == bh)) | |
519 | 519 | then $Tuple2(nil, [toInt(fraction(fraction(de, k, cW), (da - (de / g)), cY)), 0, dd, cX, cZ, cc, cX, (cZ - dd), fraction(ao(cX, an), h, (cZ - dd)), (am - dd), an]) | |
520 | 520 | else if ((ab == n)) | |
521 | 521 | then $Tuple2(nil, [toInt(fraction(da, log(fraction((cY + de), m, cY), 16, f, 16, 16, HALFUP), m)), dd, 0, cX, cZ, cc, (cX + dd), cZ, fraction(ao((cX + dd), an), h, cZ), (am - dd), an]) | |
522 | 522 | else throw("Unsupported asset") | |
523 | 523 | } | |
524 | 524 | } | |
525 | 525 | ||
526 | 526 | ||
527 | 527 | ||
528 | 528 | @Callable(co) | |
529 | 529 | func calcContractNsbtPriceSYSREADONLY (df) = { | |
530 | 530 | let cN = av(invoke(this, "calcNeutinoMetricsREADONLY", nil, nil)) | |
531 | 531 | let an = ay(cN[v]) | |
532 | 532 | let cz = ay(cN[y]) | |
533 | 533 | let cA = (ay(cN[A]) - df) | |
534 | 534 | let cC = (ay(cN[E]) + df) | |
535 | 535 | let cB = ay(cN[F]) | |
536 | 536 | let cO = av(invoke(this, "calculateKREADONLY", [cz, cA, an, cB, cC], nil)) | |
537 | 537 | let dg = parseBigIntValue(aA(cO[u])) | |
538 | 538 | let dh = fraction(toBigInt(cB), m, toBigInt((cB - cC))) | |
539 | 539 | let di = fraction(dh, dh, m) | |
540 | 540 | let dj = fraction(dg, di, m) | |
541 | 541 | let dk = toInt(fraction(dj, toBigInt(h), m)) | |
542 | 542 | let dl = fraction(dk, h, an) | |
543 | 543 | $Tuple2(nil, [dk, dl]) | |
544 | 544 | } | |
545 | 545 | ||
546 | 546 | ||
547 | 547 | ||
548 | 548 | @Callable(co) | |
549 | 549 | func calcNeutinoMetricsREADONLY () = { | |
550 | 550 | let dm = value(assetInfo(bi)).quantity | |
551 | 551 | let dn = (dm - assetBalance(bc, bi)) | |
552 | 552 | let do = value(assetInfo(bj)).quantity | |
553 | 553 | let dp = cd() | |
554 | 554 | $Tuple2(nil, [bL, bN, bO, bP("WAVES"), bR("WAVES"), bW, bU, bV, cc, dn, dm, do, bG, bM, dp._1, dp._2, dp._3]) | |
555 | 555 | } | |
556 | 556 | ||
557 | 557 | ||
558 | 558 | ||
559 | 559 | @Callable(co) | |
560 | 560 | func getUnstakeComissionAmountREADONLY (am,dq,dr) = $Tuple2(nil, fraction(am, pow(2, 0, fraction(-((height - dq)), j, dr), 8, 8, HALFUP), j)) | |
561 | 561 | ||
562 | 562 | ||
563 | 563 | ||
564 | 564 | @Callable(co) | |
565 | 565 | func mergeStakesREADONLY (ds,dt,du,dv,dr) = { | |
566 | 566 | let dw = fraction(du, pow(2, 0, fraction((dv - dt), j, dr), 8, 8, HALFUP), j) | |
567 | 567 | let aD = fraction((ds + du), j, (ds + dw)) | |
568 | 568 | $Tuple2(nil, (dt + ((e - (dr * log(aD, 8, 2, 0, 8, HALFUP))) / j))) | |
569 | 569 | } | |
570 | 570 | ||
571 | 571 | ||
572 | 572 | @Verifier(dx) | |
573 | 573 | func dy () = { | |
574 | 574 | let dz = makeString(["ExtEEK19nmKj9mCpnWyvEEJFYATLMcVEMvohhUHkyHNm", "Ev5py5FfBQX9cZpYKnfQrTB49Byf8QmpZWeDVRim4yV7", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR", "DUuuLjXu98nBwZc7fqwCTjtA3nnRwgTbkMSr5SU2NmDR"], d) | |
575 | 575 | let dA = split(valueOrElse(getString(ba, "%s__multisig"), dz), d) | |
576 | 576 | let dB = ((((if (sigVerify(dx.bodyBytes, dx.proofs[0], fromBase58String(dA[0]))) | |
577 | 577 | then 1 | |
578 | 578 | else 0) + (if (sigVerify(dx.bodyBytes, dx.proofs[1], fromBase58String(dA[1]))) | |
579 | 579 | then 1 | |
580 | 580 | else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[2], fromBase58String(dA[2]))) | |
581 | 581 | then 1 | |
582 | 582 | else 0)) + (if (sigVerify(dx.bodyBytes, dx.proofs[3], fromBase58String(dA[3]))) | |
583 | 583 | then 2 | |
584 | 584 | else 0)) | |
585 | 585 | (dB >= 3) | |
586 | 586 | } | |
587 | 587 |
github/deemru/w8io/026f985 60.17 ms ◑