tx · GV5ontZhDSXmP5CqvEcwS6TyPSV7aNdx4tHC9hgx88Ri 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.02900000 Waves 2022.09.21 15:59 [2238926] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "GV5ontZhDSXmP5CqvEcwS6TyPSV7aNdx4tHC9hgx88Ri", "fee": 2900000, "feeAssetId": null, "timestamp": 1663765152917, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "kS7FHFPscWGPdYooiniQemiFz2RzQA6Q7stoPjcfqwRdwoQ4oXWX8mPVf2i3i4fKTft94zaNQSWGHsc3BZiuyuh" ], "script": "base64:BgJfCAISAwoBCBIDCgEIEgQKAggIEgkKBwEREREYCBgSBwoFERERGAgSBwoFAQEBCAgSABIDCgEIEgQKAggBEgQKAggBEgQKAggBEgMKAQgSCQoHCAEBAQEIARIDCgEIEgBcAAZTQ0FMRTgACAAFTVVMVDgAgMLXLwAHU0NBTEUxOAASAAZNVUxUMTgJALYCAQCAgJC7utat8A0AA1NFUAICX18ADlBPT0xXRUlHSFRNVUxUBQVNVUxUOAAKemVyb0JpZ0ludAkAtgIBAAAADmlkeFBvb2xBZGRyZXNzAAEADWlkeFBvb2xTdGF0dXMAAgAQaWR4UG9vbExQQXNzZXRJZAADAA1pZHhBbXRBc3NldElkAAQAD2lkeFByaWNlQXNzZXRJZAAFAA5pZHhBbXRBc3NldERjbQAGABBpZHhQcmljZUFzc2V0RGNtAAcADmlkeElBbXRBc3NldElkAAgAEGlkeElQcmljZUFzc2V0SWQACQANaWR4TFBBc3NldERjbQAKAQ9nZXRTdHJpbmdPckZhaWwBA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCiCAEFA2tleQkArAICCQCsAgICD21hbmRhdG9yeSB0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gdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4BAnR4AQZ2ZXJpZnkABA90YXJnZXRQdWJsaWNLZXkEByRtYXRjaDAJARZtYW5hZ2VyUHVibGljS2V5T3JVbml0AAMJAAECBQckbWF0Y2gwAgpCeXRlVmVjdG9yBAJwawUHJG1hdGNoMAUCcGsDCQABAgUHJG1hdGNoMAIEVW5pdAgFAnR4D3NlbmRlclB1YmxpY0tleQkAAgECC01hdGNoIGVycm9yCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXnxnT5w", "chainId": 84, "height": 2238926, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8L5xYatP92rrPfJdt9J6ELtbnxv2aWVjTemYeMiehqpN Next: GAz5qJeexwtxMn3XVi1oWXmh7oEPwHwR4db9rnxCt9Kg Diff:
Old | New | Differences | |
---|---|---|---|
234 | 234 | func aR () = "%s%s__emission__endBlock" | |
235 | 235 | ||
236 | 236 | ||
237 | - | func aS () = "%s__addonAddr" | |
237 | + | let aS = fraction(5, a, 10000) | |
238 | + | ||
239 | + | func aT () = "%s__addonAddr" | |
238 | 240 | ||
239 | 241 | ||
240 | - | func | |
242 | + | func aU () = "%s__fee" | |
241 | 243 | ||
242 | 244 | ||
243 | - | let | |
245 | + | let aV = X() | |
244 | 246 | ||
245 | - | let | |
247 | + | let aW = Z(aV) | |
246 | 248 | ||
247 | - | let | |
249 | + | let aX = ad(aW) | |
248 | 250 | ||
249 | - | let aM = ae( | |
251 | + | let aM = ae(aW) | |
250 | 252 | ||
251 | - | let | |
253 | + | let aY = af(aW) | |
252 | 254 | ||
253 | - | let | |
255 | + | let aZ = ab(aW) | |
254 | 256 | ||
255 | - | func | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | let | |
266 | - | [ | |
257 | + | func ba (bb) = { | |
258 | + | let bc = t(aV, U(bb)) | |
259 | + | let bd = b | |
260 | + | let be = getIntegerValue(aV, V(bc)) | |
261 | + | let bf = w(aX, aN()) | |
262 | + | let bg = w(aX, aO()) | |
263 | + | let bh = 3 | |
264 | + | let bi = (fraction(bf, be, bd) / bh) | |
265 | + | let bj = fraction(bg, be, bd) | |
266 | + | let bk = (bh * b) | |
267 | + | let bl = v(aM, aH(bb)) | |
268 | + | [bi, bk, bl] | |
267 | 269 | } | |
268 | 270 | ||
269 | 271 | ||
270 | - | func | |
271 | - | let | |
272 | - | let | |
273 | - | [ | |
272 | + | func bm (bn,bo,bp) = { | |
273 | + | let bq = fraction(bo, b, bp) | |
274 | + | let br = fraction(bn, bq, b) | |
275 | + | [br] | |
274 | 276 | } | |
275 | 277 | ||
276 | 278 | ||
277 | - | func | |
279 | + | func bs () = { | |
278 | 280 | let z = getString(G()) | |
279 | 281 | if ($isInstanceOf(z, "String")) | |
280 | 282 | then { | |
281 | - | let | |
282 | - | fromBase58String( | |
283 | + | let bt = z | |
284 | + | fromBase58String(bt) | |
283 | 285 | } | |
284 | 286 | else if ($isInstanceOf(z, "Unit")) | |
285 | 287 | then unit | |
287 | 289 | } | |
288 | 290 | ||
289 | 291 | ||
290 | - | func | |
292 | + | func bu () = { | |
291 | 293 | let z = getString(H()) | |
292 | 294 | if ($isInstanceOf(z, "String")) | |
293 | 295 | then { | |
294 | - | let | |
295 | - | fromBase58String( | |
296 | + | let bt = z | |
297 | + | fromBase58String(bt) | |
296 | 298 | } | |
297 | 299 | else if ($isInstanceOf(z, "Unit")) | |
298 | 300 | then unit | |
300 | 302 | } | |
301 | 303 | ||
302 | 304 | ||
303 | - | func | |
304 | - | let | |
305 | - | let z = | |
305 | + | func bv (bw) = { | |
306 | + | let bx = throw("Permission denied") | |
307 | + | let z = bs() | |
306 | 308 | if ($isInstanceOf(z, "ByteVector")) | |
307 | 309 | then { | |
308 | - | let | |
309 | - | if (( | |
310 | + | let by = z | |
311 | + | if ((bw.callerPublicKey == by)) | |
310 | 312 | then true | |
311 | - | else | |
313 | + | else bx | |
312 | 314 | } | |
313 | 315 | else if ($isInstanceOf(z, "Unit")) | |
314 | - | then if (( | |
316 | + | then if ((bw.caller == this)) | |
315 | 317 | then true | |
316 | - | else | |
318 | + | else bx | |
317 | 319 | else throw("Match error") | |
318 | 320 | } | |
319 | 321 | ||
320 | 322 | ||
321 | - | @Callable( | |
322 | - | func constructor ( | |
323 | - | let | |
324 | - | if (( | |
325 | - | then [StringEntry(F(), | |
323 | + | @Callable(bw) | |
324 | + | func constructor (bz) = { | |
325 | + | let bA = bv(bw) | |
326 | + | if ((bA == bA)) | |
327 | + | then [StringEntry(F(), bz)] | |
326 | 328 | else throw("Strict value is not equal to itself.") | |
327 | 329 | } | |
328 | 330 | ||
329 | 331 | ||
330 | 332 | ||
331 | - | @Callable( | |
332 | - | func currentRewardRateREADONLY ( | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | $Tuple2(nil, makeString(["%d%d%d", toString( | |
333 | + | @Callable(bw) | |
334 | + | func currentRewardRateREADONLY (bb) = { | |
335 | + | let bB = ba(bb) | |
336 | + | let bf = bB[0] | |
337 | + | let bk = bB[1] | |
338 | + | let bl = bB[2] | |
339 | + | $Tuple2(nil, makeString(["%d%d%d", toString(bf), toString(bk), toString(bl)], e)) | |
338 | 340 | } | |
339 | 341 | ||
340 | 342 | ||
341 | 343 | ||
342 | - | @Callable( | |
343 | - | func currentUserRewardRateREADONLY ( | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
344 | + | @Callable(bw) | |
345 | + | func currentUserRewardRateREADONLY (bb,am) = { | |
346 | + | let bB = ba(bb) | |
347 | + | let bf = bB[0] | |
348 | + | let bk = bB[1] | |
349 | + | let bl = bB[2] | |
350 | + | let bC = v(aM, aE(am, bb)) | |
351 | + | let bD = split(D(invoke(aM, "claimWxREADONLY", [bb, am], nil)), e) | |
352 | + | let bE = valueOrErrorMessage(parseInt(bD[5]), "couldn't parse minRewardPart") | |
353 | + | let bF = valueOrErrorMessage(parseInt(bD[6]), "couldn't parse boostRewardPart") | |
354 | + | let bG = bD[7] | |
355 | + | let bH = if ((bF == 0)) | |
354 | 356 | then (1 * b) | |
355 | - | else fraction(( | |
356 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString( | |
357 | + | else fraction((bE + bF), b, bE) | |
358 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bf), toString(bk), toString(bl), toString(bC), toString(bH), bG], e)) | |
357 | 359 | } | |
358 | 360 | ||
359 | 361 | ||
360 | 362 | ||
361 | - | @Callable( | |
362 | - | func calcBoostBulkInternalREADONLY ( | |
363 | - | then $Tuple2(nil, | |
363 | + | @Callable(bw) | |
364 | + | func calcBoostBulkInternalREADONLY (bI,bJ,bK,bL,bM,bN,bO) = if ((bI == size(bJ))) | |
365 | + | then $Tuple2(nil, bO) | |
364 | 366 | else { | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | if ($isInstanceOf( | |
372 | - | then | |
373 | - | else throw(($getType(invoke(this, "calcBoostREADONLY", [ | |
367 | + | let bP = bJ[bI] | |
368 | + | let bQ = bK[bI] | |
369 | + | let bR = bL[bI] | |
370 | + | let bS = bM[bI] | |
371 | + | let bT = { | |
372 | + | let bU = invoke(this, "calcBoostREADONLY", [bP, bQ, bR, bS, bN], nil) | |
373 | + | if ($isInstanceOf(bU, "String")) | |
374 | + | then bU | |
375 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [bP, bQ, bR, bS, bN], nil)) + " couldn't be cast to String")) | |
374 | 376 | } | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | if ($isInstanceOf( | |
379 | - | then | |
380 | - | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [( | |
377 | + | let bV = (bO :+ bT) | |
378 | + | let bW = { | |
379 | + | let bU = invoke(this, "calcBoostBulkInternalREADONLY", [(bI + 1), bJ, bK, bL, bM, bN, bV], nil) | |
380 | + | if ($isInstanceOf(bU, "List[Any]")) | |
381 | + | then bU | |
382 | + | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(bI + 1), bJ, bK, bL, bM, bN, bV], nil)) + " couldn't be cast to List[Any]")) | |
381 | 383 | } | |
382 | - | if (( | |
383 | - | then $Tuple2(nil, | |
384 | + | if ((bW == bW)) | |
385 | + | then $Tuple2(nil, bW) | |
384 | 386 | else throw("Strict value is not equal to itself.") | |
385 | 387 | } | |
386 | 388 | ||
387 | 389 | ||
388 | 390 | ||
389 | - | @Callable( | |
390 | - | func calcBoostBulkREADONLY ( | |
391 | - | let | |
392 | - | $Tuple2(nil, | |
391 | + | @Callable(bw) | |
392 | + | func calcBoostBulkREADONLY (bP,bQ,bR,bS,bN) = { | |
393 | + | let bV = invoke(this, "calcBoostBulkInternalREADONLY", [0, bP, bQ, bR, bS, bN, nil], nil) | |
394 | + | $Tuple2(nil, bV) | |
393 | 395 | } | |
394 | 396 | ||
395 | 397 | ||
396 | 398 | ||
397 | - | @Callable(bv) | |
398 | - | func calcBoostREADONLY (bO,bP,bQ,bR,bM) = { | |
399 | - | let bW = aX | |
400 | - | let bX = "empty" | |
401 | - | let bY = parseIntValue(split(t(aY, ag()), e)[4]) | |
402 | - | let aG = if ((bR == "")) | |
403 | - | then bX | |
404 | - | else bR | |
405 | - | let aF = if ((bM == "")) | |
406 | - | then bX | |
407 | - | else bM | |
408 | - | let bZ = valueOrElse(getString(aY, al(bM)), bX) | |
409 | - | let ca = valueOrElse(getInteger(aY, ap(bZ)), 0) | |
410 | - | let cb = valueOrElse(getInteger(aY, ar(bZ)), height) | |
411 | - | let bn = valueOrElse(getInteger(aY, as(bZ)), 0) | |
412 | - | let cc = (cb + bn) | |
413 | - | let cd = max([(cc - height), 0]) | |
414 | - | let ce = (ca + bO) | |
415 | - | let cf = min([(cd + bP), bY]) | |
416 | - | let cg = B(x(invoke(aY, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
417 | - | let ch = bl(ce, cf, bY)[0] | |
418 | - | let ci = x(invoke(bW, "calcGwxParamsREADONLY", [ch, height, cf], nil)) | |
419 | - | let cj = (ch - cg) | |
420 | - | let ck = B(ci[0]) | |
421 | - | let cl = B(ci[1]) | |
422 | - | let aw = toString(B(ci[2])) | |
423 | - | let cm = aA() | |
424 | - | let cn = aD() | |
425 | - | let co = ((ch * cf) / 2) | |
426 | - | let cp = v(aY, cm) | |
427 | - | let cq = valueOrElse(getInteger(aY, cn), 0) | |
428 | - | let cr = 1000 | |
429 | - | let cs = (w(aW, aN()) * cr) | |
430 | - | let ct = aE(aF, aG) | |
431 | - | let cu = aH(aG) | |
432 | - | let cv = aL(aM, ct) | |
399 | + | @Callable(bw) | |
400 | + | func calcBoostREADONLY (bP,bQ,bR,bS,bN) = { | |
401 | + | let bX = aY | |
402 | + | let bY = "empty" | |
403 | + | let bZ = parseIntValue(split(t(aZ, ag()), e)[4]) | |
404 | + | let aG = if ((bS == "")) | |
405 | + | then bY | |
406 | + | else bS | |
407 | + | let aF = if ((bN == "")) | |
408 | + | then bY | |
409 | + | else bN | |
410 | + | let ca = valueOrElse(getString(aZ, al(bN)), bY) | |
411 | + | let cb = valueOrElse(getInteger(aZ, ap(ca)), 0) | |
412 | + | let cc = valueOrElse(getInteger(aZ, ar(ca)), height) | |
413 | + | let bo = valueOrElse(getInteger(aZ, as(ca)), 0) | |
414 | + | let cd = (cc + bo) | |
415 | + | let ce = max([(cd - height), 0]) | |
416 | + | let cf = (cb + bP) | |
417 | + | let cg = min([(ce + bQ), bZ]) | |
418 | + | let ch = B(x(invoke(aZ, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
419 | + | let ci = bm(cf, cg, bZ)[0] | |
420 | + | let cj = x(invoke(bX, "calcGwxParamsREADONLY", [ci, height, cg], nil)) | |
421 | + | let ck = (ci - ch) | |
422 | + | let cl = B(cj[0]) | |
423 | + | let cm = B(cj[1]) | |
424 | + | let aw = toString(B(cj[2])) | |
425 | + | let cn = aA() | |
426 | + | let co = aD() | |
427 | + | let cp = ((ci * cg) / 2) | |
428 | + | let cq = v(aZ, cn) | |
429 | + | let cr = valueOrElse(getInteger(aZ, co), 0) | |
430 | + | let cs = 1000 | |
431 | + | let ct = (w(aX, aN()) * cs) | |
432 | + | let cu = aE(aF, aG) | |
433 | + | let cv = aH(aG) | |
433 | 434 | let cw = aL(aM, cu) | |
434 | - | let cx = (cv + bQ) | |
435 | - | let cy = (cw + bQ) | |
436 | - | let bd = if ((aG != bX)) | |
435 | + | let cx = aL(aM, cv) | |
436 | + | let cy = (cw + bR) | |
437 | + | let cz = (cx + bR) | |
438 | + | let be = if ((aG != bY)) | |
437 | 439 | then { | |
438 | - | let | |
439 | - | getIntegerValue( | |
440 | + | let bc = valueOrErrorMessage(getString(aV, R(aG)), ("unsupported lp asset " + aG)) | |
441 | + | getIntegerValue(aV, V(bc)) | |
440 | 442 | } | |
441 | 443 | else 0 | |
442 | - | let | |
443 | - | let | |
444 | - | then fraction( | |
444 | + | let cA = fraction(ct, be, (f * 3)) | |
445 | + | let cB = if ((cz != 0)) | |
446 | + | then fraction(cA, b, cz) | |
445 | 447 | else 0 | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
448 | + | let cC = fraction(cB, cy, b) | |
449 | + | let cD = (cA * 2) | |
450 | + | let cE = fraction(ci, cD, (cr + ck)) | |
451 | + | let cF = min([cE, (cC * 2)]) | |
452 | + | let cG = if ((cC == 0)) | |
451 | 453 | then (1 * b) | |
452 | - | else fraction(( | |
453 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
454 | + | else fraction((cF + cC), b, cC) | |
455 | + | $Tuple2(nil, makeString(["%d%d%s", toString(ci), toString(cG), "d"], e)) | |
454 | 456 | } | |
455 | 457 | ||
456 | 458 | ||
457 | 459 | ||
458 | - | @Callable( | |
460 | + | @Callable(bw) | |
459 | 461 | func wxEmissionStatsREADONLY () = { | |
460 | - | let | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
462 | + | let cH = toString(b) | |
463 | + | let cI = "1" | |
464 | + | let bf = w(aX, aN()) | |
465 | + | let cJ = w(aX, aP()) | |
466 | + | let cK = if ((cJ > height)) | |
465 | 467 | then 0 | |
466 | - | else (height - | |
467 | - | let | |
468 | - | let | |
469 | - | let | |
470 | - | then | |
471 | - | else fraction( | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
468 | + | else (height - cJ) | |
469 | + | let cL = (1440 * 365) | |
470 | + | let cM = (201000000 * b) | |
471 | + | let cN = if ((cK > cL)) | |
472 | + | then cM | |
473 | + | else fraction(cM, cK, cL) | |
474 | + | let cO = ((bf * cK) + cN) | |
475 | + | let cP = v(aZ, ah()) | |
476 | + | let cQ = v(aZ, ai()) | |
477 | + | let cR = v(aZ, aj()) | |
478 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(cO), toString(cP), toString(cQ), toString(cR)], e)) | |
477 | 479 | } | |
478 | 480 | ||
479 | 481 | ||
480 | 482 | ||
481 | - | @Callable( | |
482 | - | func poolStatsREADONLY ( | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
483 | + | @Callable(bw) | |
484 | + | func poolStatsREADONLY (cS) = { | |
485 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
486 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
487 | + | let bb = fromBase58String(D(cU[j])) | |
488 | + | let cV = D(cU[k]) | |
489 | + | let cW = D(cU[l]) | |
490 | + | let cX = D(cU[o]) | |
491 | + | let cY = D(cU[p]) | |
492 | + | let cZ = parseIntValue(D(cU[m])) | |
493 | + | let da = parseIntValue(D(cU[n])) | |
494 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
495 | + | let dc = B(invoke(cT, "getAccBalanceWrapperREADONLY", [cV], nil)) | |
496 | + | let dd = B(invoke(cT, "getAccBalanceWrapperREADONLY", [cW], nil)) | |
497 | + | let de = if ((db == 0)) | |
496 | 498 | then [toString(g), toString(g), toString(g)] | |
497 | - | else x(invoke( | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
499 | + | else x(invoke(cT, "calcPricesWrapperREADONLY", [dc, dd, db], nil)) | |
500 | + | let df = 0 | |
501 | + | let dg = B(invoke(cT, "fromX18WrapperREADONLY", [de[1], b], nil)) | |
502 | + | let dh = B(invoke(cT, "fromX18WrapperREADONLY", [de[2], b], nil)) | |
503 | + | let be = getIntegerValue(aV, V(toString(cT))) | |
504 | + | let di = valueOrElse(getInteger(cT, aU()), aS) | |
505 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dc), toString(dd), toString(db), toString(df), toString(dg), toString(dh), toString(be), toString(di)], e)) | |
504 | 506 | } | |
505 | 507 | ||
506 | 508 | ||
507 | 509 | ||
508 | - | @Callable( | |
509 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
510 | + | @Callable(bw) | |
511 | + | func poolEvaluatePutByAmountAssetREADONLY (cS,dj) = { | |
512 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
513 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
514 | + | let bb = fromBase58String(D(cU[j])) | |
515 | + | let dk = D(cU[k]) | |
516 | + | let dl = fromBase58String(dk) | |
517 | + | let dm = D(cU[l]) | |
518 | + | let dn = fromBase58String(dm) | |
519 | + | let cZ = parseIntValue(D(cU[m])) | |
520 | + | let da = parseIntValue(D(cU[n])) | |
521 | + | let do = D(cU[i]) | |
522 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
523 | + | let dc = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dk], nil)) | |
524 | + | let dd = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
525 | + | let dp = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dc, cZ], nil))) | |
526 | + | let dq = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dd, da], nil))) | |
527 | + | let dr = if ((db == 0)) | |
526 | 528 | then g | |
527 | - | else parseBigIntValue(D(invoke( | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let z = | |
529 | + | else parseBigIntValue(D(invoke(cT, "calcPriceBigIntWrapperREADONLY", [toString(dq), toString(dp)], nil))) | |
530 | + | let df = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dr), b], nil)) | |
531 | + | let ds = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dj, cZ], nil))) | |
532 | + | let dt = fraction(ds, dr, d) | |
533 | + | let du = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dt), da], nil)) | |
534 | + | let bV = invoke(cT, "estimatePutOperationWrapperREADONLY", ["", 500000, dj, dl, du, dn, "", true, false], nil) | |
535 | + | let dv = { | |
536 | + | let z = bV | |
535 | 537 | if (if (if ($isInstanceOf(z._1, "Int")) | |
536 | 538 | then if ($isInstanceOf(z._3, "Int")) | |
537 | 539 | then if ($isInstanceOf(z._4, "Int")) | |
544 | 546 | then (size(z) == 13) | |
545 | 547 | else false) | |
546 | 548 | then { | |
547 | - | let | |
548 | - | let | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | $Tuple5( | |
549 | + | let dw = z._1 | |
550 | + | let dx = z._3 | |
551 | + | let dy = z._4 | |
552 | + | let dz = z._5 | |
553 | + | let dA = z._6 | |
554 | + | $Tuple5(dw, dx, dy, dz, dA) | |
553 | 555 | } | |
554 | 556 | else throw("Couldn't cast types") | |
555 | 557 | } | |
556 | - | let | |
557 | - | let | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
558 | + | let dw = dv._1 | |
559 | + | let dx = dv._2 | |
560 | + | let dy = dv._3 | |
561 | + | let dz = dv._4 | |
562 | + | let dA = dv._5 | |
563 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dw), toString(df), toString(dy), toString(dz), toString(dA), do, toString(dj), toString(du)], e)) | |
562 | 564 | } | |
563 | 565 | ||
564 | 566 | ||
565 | 567 | ||
566 | - | @Callable( | |
567 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
568 | + | @Callable(bw) | |
569 | + | func poolEvaluatePutByPriceAssetREADONLY (cS,du) = { | |
570 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
571 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
572 | + | let bb = fromBase58String(D(cU[j])) | |
573 | + | let dk = D(cU[k]) | |
574 | + | let dl = fromBase58String(dk) | |
575 | + | let dm = D(cU[l]) | |
576 | + | let dn = fromBase58String(dm) | |
577 | + | let cZ = parseIntValue(D(cU[m])) | |
578 | + | let da = parseIntValue(D(cU[n])) | |
579 | + | let do = D(cU[i]) | |
580 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
581 | + | let dB = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dk], nil)) | |
582 | + | let dC = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
583 | + | let dD = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dB, cZ], nil))) | |
584 | + | let dE = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dC, da], nil))) | |
585 | + | let dr = if ((db == 0)) | |
584 | 586 | then g | |
585 | - | else parseBigIntValue(D(invoke( | |
586 | - | let | |
587 | - | let | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let z = | |
587 | + | else parseBigIntValue(D(invoke(cT, "calcPriceBigIntWrapperREADONLY", [toString(dE), toString(dD)], nil))) | |
588 | + | let df = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dr), b], nil)) | |
589 | + | let dt = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [du, da], nil))) | |
590 | + | let ds = fraction(dt, d, dr) | |
591 | + | let dj = B(invoke(cT, "fromX18WrapperREADONLY", [toString(ds), cZ], nil)) | |
592 | + | let bV = invoke(cT, "estimatePutOperationWrapperREADONLY", ["", 500000, dj, dl, du, dn, "", true, false], nil) | |
593 | + | let dF = { | |
594 | + | let z = bV | |
593 | 595 | if (if (if ($isInstanceOf(z._1, "Int")) | |
594 | 596 | then if ($isInstanceOf(z._3, "Int")) | |
595 | 597 | then if ($isInstanceOf(z._4, "Int")) | |
602 | 604 | then (size(z) == 13) | |
603 | 605 | else false) | |
604 | 606 | then { | |
605 | - | let | |
606 | - | let | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | $Tuple5( | |
607 | + | let dw = z._1 | |
608 | + | let dx = z._3 | |
609 | + | let dy = z._4 | |
610 | + | let dz = z._5 | |
611 | + | let dA = z._6 | |
612 | + | $Tuple5(dw, dx, dy, dz, dA) | |
611 | 613 | } | |
612 | 614 | else throw("Couldn't cast types") | |
613 | 615 | } | |
614 | - | let | |
615 | - | let | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
616 | + | let dw = dF._1 | |
617 | + | let dx = dF._2 | |
618 | + | let dy = dF._3 | |
619 | + | let dz = dF._4 | |
620 | + | let dA = dF._5 | |
621 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dw), toString(df), toString(dy), toString(dz), toString(dA), do, toString(dj), toString(du)], e)) | |
620 | 622 | } | |
621 | 623 | ||
622 | 624 | ||
623 | 625 | ||
624 | - | @Callable( | |
625 | - | func poolEvaluateGetREADONLY ( | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let z = | |
626 | + | @Callable(bw) | |
627 | + | func poolEvaluateGetREADONLY (dG,dH) = { | |
628 | + | let cT = addressFromStringValue(t(aV, U(dG))) | |
629 | + | let bV = invoke(cT, "estimateGetOperationWrapperREADONLY", ["", dG, dH, toString(cT)], nil) | |
630 | + | let dI = { | |
631 | + | let z = bV | |
630 | 632 | if (if (if ($isInstanceOf(z._1, "Int")) | |
631 | 633 | then if ($isInstanceOf(z._2, "Int")) | |
632 | 634 | then if ($isInstanceOf(z._5, "Int")) | |
643 | 645 | then (size(z) == 10) | |
644 | 646 | else false) | |
645 | 647 | then { | |
646 | - | let | |
647 | - | let | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | $Tuple7( | |
648 | + | let dJ = z._1 | |
649 | + | let dK = z._2 | |
650 | + | let dy = z._5 | |
651 | + | let dz = z._6 | |
652 | + | let dA = z._7 | |
653 | + | let df = z._8 | |
654 | + | let do = z._9 | |
655 | + | $Tuple7(dJ, dK, dy, dz, dA, df, do) | |
654 | 656 | } | |
655 | 657 | else throw("Couldn't cast types") | |
656 | 658 | } | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
659 | + | let dJ = dI._1 | |
660 | + | let dK = dI._2 | |
661 | + | let dy = dI._3 | |
662 | + | let dz = dI._4 | |
663 | + | let dA = dI._5 | |
664 | + | let df = dI._6 | |
665 | + | let do = dI._7 | |
666 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dJ), toString(dK), toString(dy), toString(dz), toString(dA), df, do], e)) | |
665 | 667 | } | |
666 | 668 | ||
667 | 669 | ||
668 | 670 | ||
669 | - | @Callable( | |
671 | + | @Callable(bw) | |
670 | 672 | func gwxUserInfoREADONLY (am) = { | |
671 | - | let | |
672 | - | let | |
673 | - | $Tuple2(nil, makeString(["%d", toString( | |
673 | + | let dL = x(invoke(aZ, "gwxUserInfoREADONLY", [am], nil)) | |
674 | + | let dM = B(dL[0]) | |
675 | + | $Tuple2(nil, makeString(["%d", toString(dM)], e)) | |
674 | 676 | } | |
675 | 677 | ||
676 | 678 | ||
677 | 679 | ||
678 | - | @Callable( | |
679 | - | func unstakeAndGetOneTkn ( | |
680 | - | let | |
681 | - | if (( | |
680 | + | @Callable(bw) | |
681 | + | func unstakeAndGetOneTkn (cT,dN,dO,dP,dQ,dR,dS) = { | |
682 | + | let bW = invoke(addressFromStringValue(value(getString(addressFromStringValue(cT), aT()))), "unstakeAndGetOneTkn", [dN, dO, dP, dQ, dR, dS], nil) | |
683 | + | if ((bW == bW)) | |
682 | 684 | then $Tuple2(nil, unit) | |
683 | 685 | else throw("Strict value is not equal to itself.") | |
684 | 686 | } | |
685 | 687 | ||
686 | 688 | ||
687 | 689 | ||
688 | - | @Callable( | |
689 | - | func setManager ( | |
690 | - | let | |
691 | - | if (( | |
690 | + | @Callable(bw) | |
691 | + | func setManager (dT) = { | |
692 | + | let bA = bv(bw) | |
693 | + | if ((bA == bA)) | |
692 | 694 | then { | |
693 | - | let | |
694 | - | if (( | |
695 | - | then [StringEntry(H(), | |
695 | + | let dU = fromBase58String(dT) | |
696 | + | if ((dU == dU)) | |
697 | + | then [StringEntry(H(), dT)] | |
696 | 698 | else throw("Strict value is not equal to itself.") | |
697 | 699 | } | |
698 | 700 | else throw("Strict value is not equal to itself.") | |
700 | 702 | ||
701 | 703 | ||
702 | 704 | ||
703 | - | @Callable( | |
705 | + | @Callable(bw) | |
704 | 706 | func confirmManager () = { | |
705 | - | let | |
706 | - | let | |
707 | + | let dV = bu() | |
708 | + | let dW = if (isDefined(dV)) | |
707 | 709 | then true | |
708 | 710 | else throw("No pending manager") | |
709 | - | if (( | |
711 | + | if ((dW == dW)) | |
710 | 712 | then { | |
711 | - | let | |
713 | + | let dX = if ((bw.callerPublicKey == value(dV))) | |
712 | 714 | then true | |
713 | 715 | else throw("You are not pending manager") | |
714 | - | if (( | |
715 | - | then [StringEntry(G(), toBase58String(value( | |
716 | + | if ((dX == dX)) | |
717 | + | then [StringEntry(G(), toBase58String(value(dV))), DeleteEntry(H())] | |
716 | 718 | else throw("Strict value is not equal to itself.") | |
717 | 719 | } | |
718 | 720 | else throw("Strict value is not equal to itself.") | |
719 | 721 | } | |
720 | 722 | ||
721 | 723 | ||
722 | - | @Verifier( | |
723 | - | func | |
724 | - | let | |
725 | - | let z = | |
724 | + | @Verifier(dY) | |
725 | + | func dZ () = { | |
726 | + | let ea = { | |
727 | + | let z = bs() | |
726 | 728 | if ($isInstanceOf(z, "ByteVector")) | |
727 | 729 | then { | |
728 | - | let | |
729 | - | | |
730 | + | let by = z | |
731 | + | by | |
730 | 732 | } | |
731 | 733 | else if ($isInstanceOf(z, "Unit")) | |
732 | - | then | |
734 | + | then dY.senderPublicKey | |
733 | 735 | else throw("Match error") | |
734 | 736 | } | |
735 | - | sigVerify( | |
737 | + | sigVerify(dY.bodyBytes, dY.proofs[0], ea) | |
736 | 738 | } | |
737 | 739 |
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 = 18 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(1000000000000000000) | |
11 | 11 | ||
12 | 12 | let e = "__" | |
13 | 13 | ||
14 | 14 | let f = b | |
15 | 15 | ||
16 | 16 | let g = toBigInt(0) | |
17 | 17 | ||
18 | 18 | let h = 1 | |
19 | 19 | ||
20 | 20 | let i = 2 | |
21 | 21 | ||
22 | 22 | let j = 3 | |
23 | 23 | ||
24 | 24 | let k = 4 | |
25 | 25 | ||
26 | 26 | let l = 5 | |
27 | 27 | ||
28 | 28 | let m = 6 | |
29 | 29 | ||
30 | 30 | let n = 7 | |
31 | 31 | ||
32 | 32 | let o = 8 | |
33 | 33 | ||
34 | 34 | let p = 9 | |
35 | 35 | ||
36 | 36 | let q = 10 | |
37 | 37 | ||
38 | 38 | func r (s) = valueOrErrorMessage(getString(s), (("mandatory this." + s) + " is not defined")) | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func t (u,s) = valueOrErrorMessage(getString(u, s), (((("mandatory " + toString(u)) + ".") + s) + " is not defined")) | |
42 | 42 | ||
43 | 43 | ||
44 | 44 | func v (u,s) = valueOrElse(getInteger(u, s), 0) | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | func w (u,s) = valueOrErrorMessage(getInteger(u, s), (("mandatory this." + s) + " is not defined")) | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func x (y) = { | |
51 | 51 | let z = y | |
52 | 52 | if ($isInstanceOf(z, "List[Any]")) | |
53 | 53 | then { | |
54 | 54 | let A = z | |
55 | 55 | A | |
56 | 56 | } | |
57 | 57 | else throw("fail to cast into List[Any]") | |
58 | 58 | } | |
59 | 59 | ||
60 | 60 | ||
61 | 61 | func B (y) = { | |
62 | 62 | let z = y | |
63 | 63 | if ($isInstanceOf(z, "Int")) | |
64 | 64 | then { | |
65 | 65 | let C = z | |
66 | 66 | C | |
67 | 67 | } | |
68 | 68 | else throw("fail to cast into Int") | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func D (y) = { | |
73 | 73 | let z = y | |
74 | 74 | if ($isInstanceOf(z, "String")) | |
75 | 75 | then { | |
76 | 76 | let E = z | |
77 | 77 | E | |
78 | 78 | } | |
79 | 79 | else throw("fail to cast into String") | |
80 | 80 | } | |
81 | 81 | ||
82 | 82 | ||
83 | 83 | func F () = "%s%s__config__factoryAddress" | |
84 | 84 | ||
85 | 85 | ||
86 | 86 | func G () = "%s__managerPublicKey" | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func H () = "%s__pendingManagerPublicKey" | |
90 | 90 | ||
91 | 91 | ||
92 | 92 | let I = 1 | |
93 | 93 | ||
94 | 94 | let J = 2 | |
95 | 95 | ||
96 | 96 | let K = 3 | |
97 | 97 | ||
98 | 98 | let L = 4 | |
99 | 99 | ||
100 | 100 | let M = 5 | |
101 | 101 | ||
102 | 102 | let N = 6 | |
103 | 103 | ||
104 | 104 | let O = 7 | |
105 | 105 | ||
106 | 106 | let P = 8 | |
107 | 107 | ||
108 | 108 | func Q () = "%s__factoryConfig" | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | func R (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func T () = "%s__lpTokensList" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func U (S) = makeString(["%s%s%s", S, "mappings__lpAsset2PoolContract"], e) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func V (W) = makeString(["%s%s", "poolWeight", W], e) | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func X () = addressFromStringValue(r(F())) | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func Y () = split(valueOrElse(getString(X(), T()), ""), e) | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func Z (aa) = split(t(aa, Q()), e) | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ab (ac) = addressFromStringValue(ac[J]) | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func ad (ac) = addressFromStringValue(ac[M]) | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ae (ac) = addressFromStringValue(ac[I]) | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func af (ac) = addressFromStringValue(ac[P]) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func ag () = "%s__config" | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ah () = "%s%s__stats__activeTotalLocked" | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ai () = "%s%s__stats__locksDurationSumInBlocks" | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func aj () = "%s%s__stats__locksCount" | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ak () = "%s%s__stats__activeUsersCount" | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func al (am) = makeString(["%s%s%s__mapping__user2num", am], e) | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func an (ao) = makeString(["%s%s%s__mapping__num2user", ao], e) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ap (aq) = makeString(["%s%d%s__paramByUserNum", aq, "amount"], e) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ar (aq) = makeString(["%s%d%s__paramByUserNum", aq, "start"], e) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func as (aq) = makeString(["%s%d%s__paramByUserNum", aq, "duration"], e) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func at (aq) = makeString(["%s%d%s__paramByUserNum", aq, "k"], e) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func au (aq) = makeString(["%s%d%s__paramByUserNum", aq, "b"], e) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func av (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "k", aw], e) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | func ax (aq,aw) = makeString(["%s%d%s%d__paramByPeriod", aq, "b", aw], e) | |
184 | 184 | ||
185 | 185 | ||
186 | 186 | func ay (aq) = makeString(["%s%d__userBoostEmissionLastInt", aq], e) | |
187 | 187 | ||
188 | 188 | ||
189 | 189 | func az (aq) = makeString(["%s%d__maxBoostInt", aq], e) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aA () = "%s%s__maxBoostInt__total" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aB (aq) = makeString(["%s%d__userBoostAvaliableToClaimTotal", aq], e) | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aC (aq) = makeString(["%s%d__userBoostClaimed", aq], e) | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aD () = "%s%s__gwxCached__total" | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aE (aF,aG) = makeString(["%s%s%s__staked", aF, aG], e) | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func aH (aG) = ("%s%s%s__staked__total__" + aG) | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func aI (aG,aF) = makeString(["%s%s%s__claimed", aF, aG], e) | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func aJ (aG,aF) = makeString(["%s%s%s__claimedMinReward", aF, aG], e) | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func aK (aG,aF) = makeString(["%s%s%s__claimedBoostReward", aF, aG], e) | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func aL (aM,s) = valueOrElse(getInteger(aM, s), 0) | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func aN () = "%s%s__ratePerBlock__current" | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func aO () = "%s%s__ratePerBlockMax__current" | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func aP () = "%s%s__emission__startBlock" | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func aQ () = "%s%s__emission__duration" | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func aR () = "%s%s__emission__endBlock" | |
235 | 235 | ||
236 | 236 | ||
237 | - | func aS () = "%s__addonAddr" | |
237 | + | let aS = fraction(5, a, 10000) | |
238 | + | ||
239 | + | func aT () = "%s__addonAddr" | |
238 | 240 | ||
239 | 241 | ||
240 | - | func | |
242 | + | func aU () = "%s__fee" | |
241 | 243 | ||
242 | 244 | ||
243 | - | let | |
245 | + | let aV = X() | |
244 | 246 | ||
245 | - | let | |
247 | + | let aW = Z(aV) | |
246 | 248 | ||
247 | - | let | |
249 | + | let aX = ad(aW) | |
248 | 250 | ||
249 | - | let aM = ae( | |
251 | + | let aM = ae(aW) | |
250 | 252 | ||
251 | - | let | |
253 | + | let aY = af(aW) | |
252 | 254 | ||
253 | - | let | |
255 | + | let aZ = ab(aW) | |
254 | 256 | ||
255 | - | func | |
256 | - | let | |
257 | - | let | |
258 | - | let | |
259 | - | let | |
260 | - | let | |
261 | - | let | |
262 | - | let | |
263 | - | let | |
264 | - | let | |
265 | - | let | |
266 | - | [ | |
257 | + | func ba (bb) = { | |
258 | + | let bc = t(aV, U(bb)) | |
259 | + | let bd = b | |
260 | + | let be = getIntegerValue(aV, V(bc)) | |
261 | + | let bf = w(aX, aN()) | |
262 | + | let bg = w(aX, aO()) | |
263 | + | let bh = 3 | |
264 | + | let bi = (fraction(bf, be, bd) / bh) | |
265 | + | let bj = fraction(bg, be, bd) | |
266 | + | let bk = (bh * b) | |
267 | + | let bl = v(aM, aH(bb)) | |
268 | + | [bi, bk, bl] | |
267 | 269 | } | |
268 | 270 | ||
269 | 271 | ||
270 | - | func | |
271 | - | let | |
272 | - | let | |
273 | - | [ | |
272 | + | func bm (bn,bo,bp) = { | |
273 | + | let bq = fraction(bo, b, bp) | |
274 | + | let br = fraction(bn, bq, b) | |
275 | + | [br] | |
274 | 276 | } | |
275 | 277 | ||
276 | 278 | ||
277 | - | func | |
279 | + | func bs () = { | |
278 | 280 | let z = getString(G()) | |
279 | 281 | if ($isInstanceOf(z, "String")) | |
280 | 282 | then { | |
281 | - | let | |
282 | - | fromBase58String( | |
283 | + | let bt = z | |
284 | + | fromBase58String(bt) | |
283 | 285 | } | |
284 | 286 | else if ($isInstanceOf(z, "Unit")) | |
285 | 287 | then unit | |
286 | 288 | else throw("Match error") | |
287 | 289 | } | |
288 | 290 | ||
289 | 291 | ||
290 | - | func | |
292 | + | func bu () = { | |
291 | 293 | let z = getString(H()) | |
292 | 294 | if ($isInstanceOf(z, "String")) | |
293 | 295 | then { | |
294 | - | let | |
295 | - | fromBase58String( | |
296 | + | let bt = z | |
297 | + | fromBase58String(bt) | |
296 | 298 | } | |
297 | 299 | else if ($isInstanceOf(z, "Unit")) | |
298 | 300 | then unit | |
299 | 301 | else throw("Match error") | |
300 | 302 | } | |
301 | 303 | ||
302 | 304 | ||
303 | - | func | |
304 | - | let | |
305 | - | let z = | |
305 | + | func bv (bw) = { | |
306 | + | let bx = throw("Permission denied") | |
307 | + | let z = bs() | |
306 | 308 | if ($isInstanceOf(z, "ByteVector")) | |
307 | 309 | then { | |
308 | - | let | |
309 | - | if (( | |
310 | + | let by = z | |
311 | + | if ((bw.callerPublicKey == by)) | |
310 | 312 | then true | |
311 | - | else | |
313 | + | else bx | |
312 | 314 | } | |
313 | 315 | else if ($isInstanceOf(z, "Unit")) | |
314 | - | then if (( | |
316 | + | then if ((bw.caller == this)) | |
315 | 317 | then true | |
316 | - | else | |
318 | + | else bx | |
317 | 319 | else throw("Match error") | |
318 | 320 | } | |
319 | 321 | ||
320 | 322 | ||
321 | - | @Callable( | |
322 | - | func constructor ( | |
323 | - | let | |
324 | - | if (( | |
325 | - | then [StringEntry(F(), | |
323 | + | @Callable(bw) | |
324 | + | func constructor (bz) = { | |
325 | + | let bA = bv(bw) | |
326 | + | if ((bA == bA)) | |
327 | + | then [StringEntry(F(), bz)] | |
326 | 328 | else throw("Strict value is not equal to itself.") | |
327 | 329 | } | |
328 | 330 | ||
329 | 331 | ||
330 | 332 | ||
331 | - | @Callable( | |
332 | - | func currentRewardRateREADONLY ( | |
333 | - | let | |
334 | - | let | |
335 | - | let | |
336 | - | let | |
337 | - | $Tuple2(nil, makeString(["%d%d%d", toString( | |
333 | + | @Callable(bw) | |
334 | + | func currentRewardRateREADONLY (bb) = { | |
335 | + | let bB = ba(bb) | |
336 | + | let bf = bB[0] | |
337 | + | let bk = bB[1] | |
338 | + | let bl = bB[2] | |
339 | + | $Tuple2(nil, makeString(["%d%d%d", toString(bf), toString(bk), toString(bl)], e)) | |
338 | 340 | } | |
339 | 341 | ||
340 | 342 | ||
341 | 343 | ||
342 | - | @Callable( | |
343 | - | func currentUserRewardRateREADONLY ( | |
344 | - | let | |
345 | - | let | |
346 | - | let | |
347 | - | let | |
348 | - | let | |
349 | - | let | |
350 | - | let | |
351 | - | let | |
352 | - | let | |
353 | - | let | |
344 | + | @Callable(bw) | |
345 | + | func currentUserRewardRateREADONLY (bb,am) = { | |
346 | + | let bB = ba(bb) | |
347 | + | let bf = bB[0] | |
348 | + | let bk = bB[1] | |
349 | + | let bl = bB[2] | |
350 | + | let bC = v(aM, aE(am, bb)) | |
351 | + | let bD = split(D(invoke(aM, "claimWxREADONLY", [bb, am], nil)), e) | |
352 | + | let bE = valueOrErrorMessage(parseInt(bD[5]), "couldn't parse minRewardPart") | |
353 | + | let bF = valueOrErrorMessage(parseInt(bD[6]), "couldn't parse boostRewardPart") | |
354 | + | let bG = bD[7] | |
355 | + | let bH = if ((bF == 0)) | |
354 | 356 | then (1 * b) | |
355 | - | else fraction(( | |
356 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString( | |
357 | + | else fraction((bE + bF), b, bE) | |
358 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bf), toString(bk), toString(bl), toString(bC), toString(bH), bG], e)) | |
357 | 359 | } | |
358 | 360 | ||
359 | 361 | ||
360 | 362 | ||
361 | - | @Callable( | |
362 | - | func calcBoostBulkInternalREADONLY ( | |
363 | - | then $Tuple2(nil, | |
363 | + | @Callable(bw) | |
364 | + | func calcBoostBulkInternalREADONLY (bI,bJ,bK,bL,bM,bN,bO) = if ((bI == size(bJ))) | |
365 | + | then $Tuple2(nil, bO) | |
364 | 366 | else { | |
365 | - | let | |
366 | - | let | |
367 | - | let | |
368 | - | let | |
369 | - | let | |
370 | - | let | |
371 | - | if ($isInstanceOf( | |
372 | - | then | |
373 | - | else throw(($getType(invoke(this, "calcBoostREADONLY", [ | |
367 | + | let bP = bJ[bI] | |
368 | + | let bQ = bK[bI] | |
369 | + | let bR = bL[bI] | |
370 | + | let bS = bM[bI] | |
371 | + | let bT = { | |
372 | + | let bU = invoke(this, "calcBoostREADONLY", [bP, bQ, bR, bS, bN], nil) | |
373 | + | if ($isInstanceOf(bU, "String")) | |
374 | + | then bU | |
375 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [bP, bQ, bR, bS, bN], nil)) + " couldn't be cast to String")) | |
374 | 376 | } | |
375 | - | let | |
376 | - | let | |
377 | - | let | |
378 | - | if ($isInstanceOf( | |
379 | - | then | |
380 | - | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [( | |
377 | + | let bV = (bO :+ bT) | |
378 | + | let bW = { | |
379 | + | let bU = invoke(this, "calcBoostBulkInternalREADONLY", [(bI + 1), bJ, bK, bL, bM, bN, bV], nil) | |
380 | + | if ($isInstanceOf(bU, "List[Any]")) | |
381 | + | then bU | |
382 | + | else throw(($getType(invoke(this, "calcBoostBulkInternalREADONLY", [(bI + 1), bJ, bK, bL, bM, bN, bV], nil)) + " couldn't be cast to List[Any]")) | |
381 | 383 | } | |
382 | - | if (( | |
383 | - | then $Tuple2(nil, | |
384 | + | if ((bW == bW)) | |
385 | + | then $Tuple2(nil, bW) | |
384 | 386 | else throw("Strict value is not equal to itself.") | |
385 | 387 | } | |
386 | 388 | ||
387 | 389 | ||
388 | 390 | ||
389 | - | @Callable( | |
390 | - | func calcBoostBulkREADONLY ( | |
391 | - | let | |
392 | - | $Tuple2(nil, | |
391 | + | @Callable(bw) | |
392 | + | func calcBoostBulkREADONLY (bP,bQ,bR,bS,bN) = { | |
393 | + | let bV = invoke(this, "calcBoostBulkInternalREADONLY", [0, bP, bQ, bR, bS, bN, nil], nil) | |
394 | + | $Tuple2(nil, bV) | |
393 | 395 | } | |
394 | 396 | ||
395 | 397 | ||
396 | 398 | ||
397 | - | @Callable(bv) | |
398 | - | func calcBoostREADONLY (bO,bP,bQ,bR,bM) = { | |
399 | - | let bW = aX | |
400 | - | let bX = "empty" | |
401 | - | let bY = parseIntValue(split(t(aY, ag()), e)[4]) | |
402 | - | let aG = if ((bR == "")) | |
403 | - | then bX | |
404 | - | else bR | |
405 | - | let aF = if ((bM == "")) | |
406 | - | then bX | |
407 | - | else bM | |
408 | - | let bZ = valueOrElse(getString(aY, al(bM)), bX) | |
409 | - | let ca = valueOrElse(getInteger(aY, ap(bZ)), 0) | |
410 | - | let cb = valueOrElse(getInteger(aY, ar(bZ)), height) | |
411 | - | let bn = valueOrElse(getInteger(aY, as(bZ)), 0) | |
412 | - | let cc = (cb + bn) | |
413 | - | let cd = max([(cc - height), 0]) | |
414 | - | let ce = (ca + bO) | |
415 | - | let cf = min([(cd + bP), bY]) | |
416 | - | let cg = B(x(invoke(aY, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
417 | - | let ch = bl(ce, cf, bY)[0] | |
418 | - | let ci = x(invoke(bW, "calcGwxParamsREADONLY", [ch, height, cf], nil)) | |
419 | - | let cj = (ch - cg) | |
420 | - | let ck = B(ci[0]) | |
421 | - | let cl = B(ci[1]) | |
422 | - | let aw = toString(B(ci[2])) | |
423 | - | let cm = aA() | |
424 | - | let cn = aD() | |
425 | - | let co = ((ch * cf) / 2) | |
426 | - | let cp = v(aY, cm) | |
427 | - | let cq = valueOrElse(getInteger(aY, cn), 0) | |
428 | - | let cr = 1000 | |
429 | - | let cs = (w(aW, aN()) * cr) | |
430 | - | let ct = aE(aF, aG) | |
431 | - | let cu = aH(aG) | |
432 | - | let cv = aL(aM, ct) | |
399 | + | @Callable(bw) | |
400 | + | func calcBoostREADONLY (bP,bQ,bR,bS,bN) = { | |
401 | + | let bX = aY | |
402 | + | let bY = "empty" | |
403 | + | let bZ = parseIntValue(split(t(aZ, ag()), e)[4]) | |
404 | + | let aG = if ((bS == "")) | |
405 | + | then bY | |
406 | + | else bS | |
407 | + | let aF = if ((bN == "")) | |
408 | + | then bY | |
409 | + | else bN | |
410 | + | let ca = valueOrElse(getString(aZ, al(bN)), bY) | |
411 | + | let cb = valueOrElse(getInteger(aZ, ap(ca)), 0) | |
412 | + | let cc = valueOrElse(getInteger(aZ, ar(ca)), height) | |
413 | + | let bo = valueOrElse(getInteger(aZ, as(ca)), 0) | |
414 | + | let cd = (cc + bo) | |
415 | + | let ce = max([(cd - height), 0]) | |
416 | + | let cf = (cb + bP) | |
417 | + | let cg = min([(ce + bQ), bZ]) | |
418 | + | let ch = B(x(invoke(aZ, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
419 | + | let ci = bm(cf, cg, bZ)[0] | |
420 | + | let cj = x(invoke(bX, "calcGwxParamsREADONLY", [ci, height, cg], nil)) | |
421 | + | let ck = (ci - ch) | |
422 | + | let cl = B(cj[0]) | |
423 | + | let cm = B(cj[1]) | |
424 | + | let aw = toString(B(cj[2])) | |
425 | + | let cn = aA() | |
426 | + | let co = aD() | |
427 | + | let cp = ((ci * cg) / 2) | |
428 | + | let cq = v(aZ, cn) | |
429 | + | let cr = valueOrElse(getInteger(aZ, co), 0) | |
430 | + | let cs = 1000 | |
431 | + | let ct = (w(aX, aN()) * cs) | |
432 | + | let cu = aE(aF, aG) | |
433 | + | let cv = aH(aG) | |
433 | 434 | let cw = aL(aM, cu) | |
434 | - | let cx = (cv + bQ) | |
435 | - | let cy = (cw + bQ) | |
436 | - | let bd = if ((aG != bX)) | |
435 | + | let cx = aL(aM, cv) | |
436 | + | let cy = (cw + bR) | |
437 | + | let cz = (cx + bR) | |
438 | + | let be = if ((aG != bY)) | |
437 | 439 | then { | |
438 | - | let | |
439 | - | getIntegerValue( | |
440 | + | let bc = valueOrErrorMessage(getString(aV, R(aG)), ("unsupported lp asset " + aG)) | |
441 | + | getIntegerValue(aV, V(bc)) | |
440 | 442 | } | |
441 | 443 | else 0 | |
442 | - | let | |
443 | - | let | |
444 | - | then fraction( | |
444 | + | let cA = fraction(ct, be, (f * 3)) | |
445 | + | let cB = if ((cz != 0)) | |
446 | + | then fraction(cA, b, cz) | |
445 | 447 | else 0 | |
446 | - | let | |
447 | - | let | |
448 | - | let | |
449 | - | let | |
450 | - | let | |
448 | + | let cC = fraction(cB, cy, b) | |
449 | + | let cD = (cA * 2) | |
450 | + | let cE = fraction(ci, cD, (cr + ck)) | |
451 | + | let cF = min([cE, (cC * 2)]) | |
452 | + | let cG = if ((cC == 0)) | |
451 | 453 | then (1 * b) | |
452 | - | else fraction(( | |
453 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
454 | + | else fraction((cF + cC), b, cC) | |
455 | + | $Tuple2(nil, makeString(["%d%d%s", toString(ci), toString(cG), "d"], e)) | |
454 | 456 | } | |
455 | 457 | ||
456 | 458 | ||
457 | 459 | ||
458 | - | @Callable( | |
460 | + | @Callable(bw) | |
459 | 461 | func wxEmissionStatsREADONLY () = { | |
460 | - | let | |
461 | - | let | |
462 | - | let | |
463 | - | let | |
464 | - | let | |
462 | + | let cH = toString(b) | |
463 | + | let cI = "1" | |
464 | + | let bf = w(aX, aN()) | |
465 | + | let cJ = w(aX, aP()) | |
466 | + | let cK = if ((cJ > height)) | |
465 | 467 | then 0 | |
466 | - | else (height - | |
467 | - | let | |
468 | - | let | |
469 | - | let | |
470 | - | then | |
471 | - | else fraction( | |
472 | - | let | |
473 | - | let | |
474 | - | let | |
475 | - | let | |
476 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
468 | + | else (height - cJ) | |
469 | + | let cL = (1440 * 365) | |
470 | + | let cM = (201000000 * b) | |
471 | + | let cN = if ((cK > cL)) | |
472 | + | then cM | |
473 | + | else fraction(cM, cK, cL) | |
474 | + | let cO = ((bf * cK) + cN) | |
475 | + | let cP = v(aZ, ah()) | |
476 | + | let cQ = v(aZ, ai()) | |
477 | + | let cR = v(aZ, aj()) | |
478 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(cO), toString(cP), toString(cQ), toString(cR)], e)) | |
477 | 479 | } | |
478 | 480 | ||
479 | 481 | ||
480 | 482 | ||
481 | - | @Callable( | |
482 | - | func poolStatsREADONLY ( | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
487 | - | let | |
488 | - | let | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let | |
493 | - | let | |
494 | - | let | |
495 | - | let | |
483 | + | @Callable(bw) | |
484 | + | func poolStatsREADONLY (cS) = { | |
485 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
486 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
487 | + | let bb = fromBase58String(D(cU[j])) | |
488 | + | let cV = D(cU[k]) | |
489 | + | let cW = D(cU[l]) | |
490 | + | let cX = D(cU[o]) | |
491 | + | let cY = D(cU[p]) | |
492 | + | let cZ = parseIntValue(D(cU[m])) | |
493 | + | let da = parseIntValue(D(cU[n])) | |
494 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
495 | + | let dc = B(invoke(cT, "getAccBalanceWrapperREADONLY", [cV], nil)) | |
496 | + | let dd = B(invoke(cT, "getAccBalanceWrapperREADONLY", [cW], nil)) | |
497 | + | let de = if ((db == 0)) | |
496 | 498 | then [toString(g), toString(g), toString(g)] | |
497 | - | else x(invoke( | |
498 | - | let | |
499 | - | let | |
500 | - | let | |
501 | - | let | |
502 | - | let | |
503 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
499 | + | else x(invoke(cT, "calcPricesWrapperREADONLY", [dc, dd, db], nil)) | |
500 | + | let df = 0 | |
501 | + | let dg = B(invoke(cT, "fromX18WrapperREADONLY", [de[1], b], nil)) | |
502 | + | let dh = B(invoke(cT, "fromX18WrapperREADONLY", [de[2], b], nil)) | |
503 | + | let be = getIntegerValue(aV, V(toString(cT))) | |
504 | + | let di = valueOrElse(getInteger(cT, aU()), aS) | |
505 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dc), toString(dd), toString(db), toString(df), toString(dg), toString(dh), toString(be), toString(di)], e)) | |
504 | 506 | } | |
505 | 507 | ||
506 | 508 | ||
507 | 509 | ||
508 | - | @Callable( | |
509 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
516 | - | let | |
517 | - | let | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let | |
525 | - | let | |
510 | + | @Callable(bw) | |
511 | + | func poolEvaluatePutByAmountAssetREADONLY (cS,dj) = { | |
512 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
513 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
514 | + | let bb = fromBase58String(D(cU[j])) | |
515 | + | let dk = D(cU[k]) | |
516 | + | let dl = fromBase58String(dk) | |
517 | + | let dm = D(cU[l]) | |
518 | + | let dn = fromBase58String(dm) | |
519 | + | let cZ = parseIntValue(D(cU[m])) | |
520 | + | let da = parseIntValue(D(cU[n])) | |
521 | + | let do = D(cU[i]) | |
522 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
523 | + | let dc = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dk], nil)) | |
524 | + | let dd = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
525 | + | let dp = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dc, cZ], nil))) | |
526 | + | let dq = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dd, da], nil))) | |
527 | + | let dr = if ((db == 0)) | |
526 | 528 | then g | |
527 | - | else parseBigIntValue(D(invoke( | |
528 | - | let | |
529 | - | let | |
530 | - | let | |
531 | - | let | |
532 | - | let | |
533 | - | let | |
534 | - | let z = | |
529 | + | else parseBigIntValue(D(invoke(cT, "calcPriceBigIntWrapperREADONLY", [toString(dq), toString(dp)], nil))) | |
530 | + | let df = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dr), b], nil)) | |
531 | + | let ds = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dj, cZ], nil))) | |
532 | + | let dt = fraction(ds, dr, d) | |
533 | + | let du = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dt), da], nil)) | |
534 | + | let bV = invoke(cT, "estimatePutOperationWrapperREADONLY", ["", 500000, dj, dl, du, dn, "", true, false], nil) | |
535 | + | let dv = { | |
536 | + | let z = bV | |
535 | 537 | if (if (if ($isInstanceOf(z._1, "Int")) | |
536 | 538 | then if ($isInstanceOf(z._3, "Int")) | |
537 | 539 | then if ($isInstanceOf(z._4, "Int")) | |
538 | 540 | then if ($isInstanceOf(z._5, "Int")) | |
539 | 541 | then $isInstanceOf(z._6, "Int") | |
540 | 542 | else false | |
541 | 543 | else false | |
542 | 544 | else false | |
543 | 545 | else false) | |
544 | 546 | then (size(z) == 13) | |
545 | 547 | else false) | |
546 | 548 | then { | |
547 | - | let | |
548 | - | let | |
549 | - | let | |
550 | - | let | |
551 | - | let | |
552 | - | $Tuple5( | |
549 | + | let dw = z._1 | |
550 | + | let dx = z._3 | |
551 | + | let dy = z._4 | |
552 | + | let dz = z._5 | |
553 | + | let dA = z._6 | |
554 | + | $Tuple5(dw, dx, dy, dz, dA) | |
553 | 555 | } | |
554 | 556 | else throw("Couldn't cast types") | |
555 | 557 | } | |
556 | - | let | |
557 | - | let | |
558 | - | let | |
559 | - | let | |
560 | - | let | |
561 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
558 | + | let dw = dv._1 | |
559 | + | let dx = dv._2 | |
560 | + | let dy = dv._3 | |
561 | + | let dz = dv._4 | |
562 | + | let dA = dv._5 | |
563 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dw), toString(df), toString(dy), toString(dz), toString(dA), do, toString(dj), toString(du)], e)) | |
562 | 564 | } | |
563 | 565 | ||
564 | 566 | ||
565 | 567 | ||
566 | - | @Callable( | |
567 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
572 | - | let | |
573 | - | let | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let | |
581 | - | let | |
582 | - | let | |
583 | - | let | |
568 | + | @Callable(bw) | |
569 | + | func poolEvaluatePutByPriceAssetREADONLY (cS,du) = { | |
570 | + | let cT = addressFromStringValue(t(aV, U(cS))) | |
571 | + | let cU = x(invoke(cT, "getPoolConfigWrapperREADONLY", nil, nil)) | |
572 | + | let bb = fromBase58String(D(cU[j])) | |
573 | + | let dk = D(cU[k]) | |
574 | + | let dl = fromBase58String(dk) | |
575 | + | let dm = D(cU[l]) | |
576 | + | let dn = fromBase58String(dm) | |
577 | + | let cZ = parseIntValue(D(cU[m])) | |
578 | + | let da = parseIntValue(D(cU[n])) | |
579 | + | let do = D(cU[i]) | |
580 | + | let db = valueOrErrorMessage(assetInfo(bb), (("Asset " + toBase58String(bb)) + " doesn't exist")).quantity | |
581 | + | let dB = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dk], nil)) | |
582 | + | let dC = B(invoke(cT, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
583 | + | let dD = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dB, cZ], nil))) | |
584 | + | let dE = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [dC, da], nil))) | |
585 | + | let dr = if ((db == 0)) | |
584 | 586 | then g | |
585 | - | else parseBigIntValue(D(invoke( | |
586 | - | let | |
587 | - | let | |
588 | - | let | |
589 | - | let | |
590 | - | let | |
591 | - | let | |
592 | - | let z = | |
587 | + | else parseBigIntValue(D(invoke(cT, "calcPriceBigIntWrapperREADONLY", [toString(dE), toString(dD)], nil))) | |
588 | + | let df = B(invoke(cT, "fromX18WrapperREADONLY", [toString(dr), b], nil)) | |
589 | + | let dt = parseBigIntValue(D(invoke(cT, "toX18WrapperREADONLY", [du, da], nil))) | |
590 | + | let ds = fraction(dt, d, dr) | |
591 | + | let dj = B(invoke(cT, "fromX18WrapperREADONLY", [toString(ds), cZ], nil)) | |
592 | + | let bV = invoke(cT, "estimatePutOperationWrapperREADONLY", ["", 500000, dj, dl, du, dn, "", true, false], nil) | |
593 | + | let dF = { | |
594 | + | let z = bV | |
593 | 595 | if (if (if ($isInstanceOf(z._1, "Int")) | |
594 | 596 | then if ($isInstanceOf(z._3, "Int")) | |
595 | 597 | then if ($isInstanceOf(z._4, "Int")) | |
596 | 598 | then if ($isInstanceOf(z._5, "Int")) | |
597 | 599 | then $isInstanceOf(z._6, "Int") | |
598 | 600 | else false | |
599 | 601 | else false | |
600 | 602 | else false | |
601 | 603 | else false) | |
602 | 604 | then (size(z) == 13) | |
603 | 605 | else false) | |
604 | 606 | then { | |
605 | - | let | |
606 | - | let | |
607 | - | let | |
608 | - | let | |
609 | - | let | |
610 | - | $Tuple5( | |
607 | + | let dw = z._1 | |
608 | + | let dx = z._3 | |
609 | + | let dy = z._4 | |
610 | + | let dz = z._5 | |
611 | + | let dA = z._6 | |
612 | + | $Tuple5(dw, dx, dy, dz, dA) | |
611 | 613 | } | |
612 | 614 | else throw("Couldn't cast types") | |
613 | 615 | } | |
614 | - | let | |
615 | - | let | |
616 | - | let | |
617 | - | let | |
618 | - | let | |
619 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
616 | + | let dw = dF._1 | |
617 | + | let dx = dF._2 | |
618 | + | let dy = dF._3 | |
619 | + | let dz = dF._4 | |
620 | + | let dA = dF._5 | |
621 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dw), toString(df), toString(dy), toString(dz), toString(dA), do, toString(dj), toString(du)], e)) | |
620 | 622 | } | |
621 | 623 | ||
622 | 624 | ||
623 | 625 | ||
624 | - | @Callable( | |
625 | - | func poolEvaluateGetREADONLY ( | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let z = | |
626 | + | @Callable(bw) | |
627 | + | func poolEvaluateGetREADONLY (dG,dH) = { | |
628 | + | let cT = addressFromStringValue(t(aV, U(dG))) | |
629 | + | let bV = invoke(cT, "estimateGetOperationWrapperREADONLY", ["", dG, dH, toString(cT)], nil) | |
630 | + | let dI = { | |
631 | + | let z = bV | |
630 | 632 | if (if (if ($isInstanceOf(z._1, "Int")) | |
631 | 633 | then if ($isInstanceOf(z._2, "Int")) | |
632 | 634 | then if ($isInstanceOf(z._5, "Int")) | |
633 | 635 | then if ($isInstanceOf(z._6, "Int")) | |
634 | 636 | then if ($isInstanceOf(z._7, "Int")) | |
635 | 637 | then if ($isInstanceOf(z._8, "String")) | |
636 | 638 | then $isInstanceOf(z._9, "String") | |
637 | 639 | else false | |
638 | 640 | else false | |
639 | 641 | else false | |
640 | 642 | else false | |
641 | 643 | else false | |
642 | 644 | else false) | |
643 | 645 | then (size(z) == 10) | |
644 | 646 | else false) | |
645 | 647 | then { | |
646 | - | let | |
647 | - | let | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | let | |
653 | - | $Tuple7( | |
648 | + | let dJ = z._1 | |
649 | + | let dK = z._2 | |
650 | + | let dy = z._5 | |
651 | + | let dz = z._6 | |
652 | + | let dA = z._7 | |
653 | + | let df = z._8 | |
654 | + | let do = z._9 | |
655 | + | $Tuple7(dJ, dK, dy, dz, dA, df, do) | |
654 | 656 | } | |
655 | 657 | else throw("Couldn't cast types") | |
656 | 658 | } | |
657 | - | let | |
658 | - | let | |
659 | - | let | |
660 | - | let | |
661 | - | let | |
662 | - | let | |
663 | - | let | |
664 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
659 | + | let dJ = dI._1 | |
660 | + | let dK = dI._2 | |
661 | + | let dy = dI._3 | |
662 | + | let dz = dI._4 | |
663 | + | let dA = dI._5 | |
664 | + | let df = dI._6 | |
665 | + | let do = dI._7 | |
666 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dJ), toString(dK), toString(dy), toString(dz), toString(dA), df, do], e)) | |
665 | 667 | } | |
666 | 668 | ||
667 | 669 | ||
668 | 670 | ||
669 | - | @Callable( | |
671 | + | @Callable(bw) | |
670 | 672 | func gwxUserInfoREADONLY (am) = { | |
671 | - | let | |
672 | - | let | |
673 | - | $Tuple2(nil, makeString(["%d", toString( | |
673 | + | let dL = x(invoke(aZ, "gwxUserInfoREADONLY", [am], nil)) | |
674 | + | let dM = B(dL[0]) | |
675 | + | $Tuple2(nil, makeString(["%d", toString(dM)], e)) | |
674 | 676 | } | |
675 | 677 | ||
676 | 678 | ||
677 | 679 | ||
678 | - | @Callable( | |
679 | - | func unstakeAndGetOneTkn ( | |
680 | - | let | |
681 | - | if (( | |
680 | + | @Callable(bw) | |
681 | + | func unstakeAndGetOneTkn (cT,dN,dO,dP,dQ,dR,dS) = { | |
682 | + | let bW = invoke(addressFromStringValue(value(getString(addressFromStringValue(cT), aT()))), "unstakeAndGetOneTkn", [dN, dO, dP, dQ, dR, dS], nil) | |
683 | + | if ((bW == bW)) | |
682 | 684 | then $Tuple2(nil, unit) | |
683 | 685 | else throw("Strict value is not equal to itself.") | |
684 | 686 | } | |
685 | 687 | ||
686 | 688 | ||
687 | 689 | ||
688 | - | @Callable( | |
689 | - | func setManager ( | |
690 | - | let | |
691 | - | if (( | |
690 | + | @Callable(bw) | |
691 | + | func setManager (dT) = { | |
692 | + | let bA = bv(bw) | |
693 | + | if ((bA == bA)) | |
692 | 694 | then { | |
693 | - | let | |
694 | - | if (( | |
695 | - | then [StringEntry(H(), | |
695 | + | let dU = fromBase58String(dT) | |
696 | + | if ((dU == dU)) | |
697 | + | then [StringEntry(H(), dT)] | |
696 | 698 | else throw("Strict value is not equal to itself.") | |
697 | 699 | } | |
698 | 700 | else throw("Strict value is not equal to itself.") | |
699 | 701 | } | |
700 | 702 | ||
701 | 703 | ||
702 | 704 | ||
703 | - | @Callable( | |
705 | + | @Callable(bw) | |
704 | 706 | func confirmManager () = { | |
705 | - | let | |
706 | - | let | |
707 | + | let dV = bu() | |
708 | + | let dW = if (isDefined(dV)) | |
707 | 709 | then true | |
708 | 710 | else throw("No pending manager") | |
709 | - | if (( | |
711 | + | if ((dW == dW)) | |
710 | 712 | then { | |
711 | - | let | |
713 | + | let dX = if ((bw.callerPublicKey == value(dV))) | |
712 | 714 | then true | |
713 | 715 | else throw("You are not pending manager") | |
714 | - | if (( | |
715 | - | then [StringEntry(G(), toBase58String(value( | |
716 | + | if ((dX == dX)) | |
717 | + | then [StringEntry(G(), toBase58String(value(dV))), DeleteEntry(H())] | |
716 | 718 | else throw("Strict value is not equal to itself.") | |
717 | 719 | } | |
718 | 720 | else throw("Strict value is not equal to itself.") | |
719 | 721 | } | |
720 | 722 | ||
721 | 723 | ||
722 | - | @Verifier( | |
723 | - | func | |
724 | - | let | |
725 | - | let z = | |
724 | + | @Verifier(dY) | |
725 | + | func dZ () = { | |
726 | + | let ea = { | |
727 | + | let z = bs() | |
726 | 728 | if ($isInstanceOf(z, "ByteVector")) | |
727 | 729 | then { | |
728 | - | let | |
729 | - | | |
730 | + | let by = z | |
731 | + | by | |
730 | 732 | } | |
731 | 733 | else if ($isInstanceOf(z, "Unit")) | |
732 | - | then | |
734 | + | then dY.senderPublicKey | |
733 | 735 | else throw("Match error") | |
734 | 736 | } | |
735 | - | sigVerify( | |
737 | + | sigVerify(dY.bodyBytes, dY.proofs[0], ea) | |
736 | 738 | } | |
737 | 739 |
github/deemru/w8io/169f3d6 207.40 ms ◑