tx · 5fmoB7AY8GH5rNgays2T8Ffs8HtCMXcSc3GztBTbif6V 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp: -0.03100000 Waves 2022.07.19 13:55 [2146538] smart account 3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp > SELF 0.00000000 Waves
{ "type": 13, "id": "5fmoB7AY8GH5rNgays2T8Ffs8HtCMXcSc3GztBTbif6V", "fee": 3100000, "feeAssetId": null, "timestamp": 1658228158050, "version": 1, "sender": "3MsNhK6uve98J6DeqbuwGFBRh9GoHPGUFgp", "senderPublicKey": "86RHVxKovtU7yKnepY8wKsd8niDxGAsiwuA1XA1DNqrS", "proofs": [ "Q3AAWhiX4S22nbn5LxCxDns4V2BZQHno2Bq2RSf4mz9UUGC3EMyYF42FzMmN4gHmvFR4U9NTnFYDhzthzcqrPYZ" ], "script": "base64:BgJZCAISAwoBCBIDCgEIEgQKAggIEgMKAQgSCQoHARERERgYGBIHCgUREREYGBIHCgUBAQEICBIAEgMKAQgSBAoCCAESBAoCCAESBAoCCAESAwoBCBIDCgEIEgBZAAZTQ0FMRTgACAAFTVVMVDgAgMLXLwAHU0NBTEUxOAASAAZNVUxUMTgJALYCAQCAgJC7utat8A0AA1NFUAICX18ADlBPT0xXRUlHSFRNVUxUBQVNVUxUOAAKemVyb0JpZ0ludAkAtgIBAAAADmlkeFBvb2xBZGRyZXNzAAEADWlkeFBvb2xTdGF0dXMAAgAQaWR4UG9vbExQQXNzZXRJZAADAA1pZHhBbXRBc3NldElkAAQAD2lkeFByaWNlQXNzZXRJZAAFAA5pZHhBbXRBc3NldERjbQAGABBpZHhQcmljZUFzc2V0RGNtAAcADmlkeElBbXRBc3NldElkAAgAEGlkeElQcmljZUFzc2V0SWQACQANaWR4TFBBc3NldERjbQAKAQ9nZXRTdHJpbmdPckZhaWwBA2tleQkBE3ZhbHVlT3JFcnJvck1lc3NhZ2UCCQCiCAEFA2tleQkArAICCQCsAgICD21hbmRhdG9yeSB0aGlzLgUD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4BnByb29mcwAABQ90YXJnZXRQdWJsaWNLZXm9Pge/", "chainId": 84, "height": 2146538, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FDjmRK3XcGTcnCMxxTnc69PdUm7exPHepxHPdBS8a6Jj Next: 87p7LY8D2oC3M9Wv1eg3epQQwovFv4GrBaxK5LfrwPCZ 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 = 8 | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(bt) | |
388 | - | func calcBoostREADONLY (bX,bY,bZ,ca,cb) = { | |
389 | - | let cc = aV | |
390 | - | let cd = "empty" | |
391 | - | let ce = parseIntValue(split(t(aW, ag()), e)[4]) | |
392 | - | let aG = if ((ca == "")) | |
393 | - | then cd | |
394 | - | else ca | |
395 | - | let aF = if ((cb == "")) | |
396 | - | then cd | |
397 | - | else cb | |
398 | - | let cf = valueOrElse(getString(aW, al(cb)), cd) | |
399 | - | let cg = valueOrElse(getInteger(aW, ap(cf)), 0) | |
400 | - | let ch = valueOrElse(getInteger(aW, ar(cf)), height) | |
401 | - | let bl = valueOrElse(getInteger(aW, as(cf)), 0) | |
402 | - | let ci = (ch + bl) | |
403 | - | let cj = max([(ci - height), 0]) | |
404 | - | let ck = (cg + bX) | |
405 | - | let cl = min([(cj + bY), ce]) | |
406 | - | let cm = B(x(invoke(aW, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
407 | - | let cn = bj(ck, cl, ce)[0] | |
408 | - | let co = x(invoke(cc, "calcGwxParamsREADONLY", [cn, height, cl], nil)) | |
409 | - | let cp = (cn - cm) | |
410 | - | let cq = B(co[0]) | |
411 | - | let cr = B(co[1]) | |
412 | - | let aw = toString(B(co[2])) | |
413 | - | let cs = aA() | |
414 | - | let ct = aD() | |
415 | - | let cu = ((cn * cl) / 2) | |
416 | - | let cv = v(aW, cs) | |
417 | - | let cw = valueOrElse(getInteger(aW, ct), 0) | |
418 | - | let cx = 1000 | |
419 | - | let cy = (w(aU, aN()) * cx) | |
420 | - | let cz = aE(aF, aG) | |
421 | - | let cA = aH(aG) | |
422 | - | let cB = aL(aM, cz) | |
423 | - | let cC = aL(aM, cA) | |
424 | - | let cD = (cB + bZ) | |
425 | - | let cE = (cC + bZ) | |
426 | - | let bb = if ((aG != cd)) | |
388 | + | func calcBoostBulkInternalREADONLY (bX,bY,bZ,ca,cb,cc,cd) = if ((bX == size(bY))) | |
389 | + | then $Tuple2(nil, cd) | |
390 | + | else { | |
391 | + | let ce = bY[bX] | |
392 | + | let cf = bZ[bX] | |
393 | + | let cg = ca[bX] | |
394 | + | let ch = cb[bX] | |
395 | + | let ci = cc[bX] | |
396 | + | let cj = split({ | |
397 | + | let ck = invoke(this, "calcBoostREADONLY", [ce, cf, cg, ch, ci], nil) | |
398 | + | if ($isInstanceOf(ck, "String")) | |
399 | + | then ck | |
400 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [ce, cf, cg, ch, ci], nil)) + " couldn't be cast to String")) | |
401 | + | }, e) | |
402 | + | let cl = (cd :+ cj) | |
403 | + | let cm = { | |
404 | + | let ck = invoke(this, "claimWxBulkInternalREADONLY", [(bX + 1), bY, bZ, ca, cb, cc, cl], nil) | |
405 | + | if ($isInstanceOf(ck, "List[Any]")) | |
406 | + | then ck | |
407 | + | else throw(($getType(invoke(this, "claimWxBulkInternalREADONLY", [(bX + 1), bY, bZ, ca, cb, cc, cl], nil)) + " couldn't be cast to List[Any]")) | |
408 | + | } | |
409 | + | if ((cm == cm)) | |
410 | + | then $Tuple2(nil, cm) | |
411 | + | else throw("Strict value is not equal to itself.") | |
412 | + | } | |
413 | + | ||
414 | + | ||
415 | + | ||
416 | + | @Callable(bt) | |
417 | + | func calcBoostBulkREADONLY (ce,cf,cg,ch,ci) = { | |
418 | + | let cl = invoke(this, "calcBoostBulkInternalREADONLY", [0, ce, cf, cg, ch, ci, nil], nil) | |
419 | + | $Tuple2(nil, cl) | |
420 | + | } | |
421 | + | ||
422 | + | ||
423 | + | ||
424 | + | @Callable(bt) | |
425 | + | func calcBoostREADONLY (ce,cf,cg,ch,ci) = { | |
426 | + | let cn = aV | |
427 | + | let co = "empty" | |
428 | + | let cp = parseIntValue(split(t(aW, ag()), e)[4]) | |
429 | + | let aG = if ((ch == "")) | |
430 | + | then co | |
431 | + | else ch | |
432 | + | let aF = if ((ci == "")) | |
433 | + | then co | |
434 | + | else ci | |
435 | + | let cq = valueOrElse(getString(aW, al(ci)), co) | |
436 | + | let cr = valueOrElse(getInteger(aW, ap(cq)), 0) | |
437 | + | let cs = valueOrElse(getInteger(aW, ar(cq)), height) | |
438 | + | let bl = valueOrElse(getInteger(aW, as(cq)), 0) | |
439 | + | let ct = (cs + bl) | |
440 | + | let cu = max([(ct - height), 0]) | |
441 | + | let cv = (cr + ce) | |
442 | + | let cw = min([(cu + cf), cp]) | |
443 | + | let cx = B(x(invoke(aW, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
444 | + | let cy = bj(cv, cw, cp)[0] | |
445 | + | let cz = x(invoke(cn, "calcGwxParamsREADONLY", [cy, height, cw], nil)) | |
446 | + | let cA = (cy - cx) | |
447 | + | let cB = B(cz[0]) | |
448 | + | let cC = B(cz[1]) | |
449 | + | let aw = toString(B(cz[2])) | |
450 | + | let cD = aA() | |
451 | + | let cE = aD() | |
452 | + | let cF = ((cy * cw) / 2) | |
453 | + | let cG = v(aW, cD) | |
454 | + | let cH = valueOrElse(getInteger(aW, cE), 0) | |
455 | + | let cI = 1000 | |
456 | + | let cJ = (w(aU, aN()) * cI) | |
457 | + | let cK = aE(aF, aG) | |
458 | + | let cL = aH(aG) | |
459 | + | let cM = aL(aM, cK) | |
460 | + | let cN = aL(aM, cL) | |
461 | + | let cO = (cM + cg) | |
462 | + | let cP = (cN + cg) | |
463 | + | let bb = if ((aG != co)) | |
427 | 464 | then { | |
428 | 465 | let aZ = valueOrErrorMessage(getString(aS, R(aG)), ("unsupported lp asset " + aG)) | |
429 | 466 | getIntegerValue(aS, V(aZ)) | |
430 | 467 | } | |
431 | 468 | else 0 | |
432 | - | let | |
433 | - | let | |
434 | - | then fraction( | |
469 | + | let cQ = fraction(cJ, bb, (f * 3)) | |
470 | + | let cR = if ((cP != 0)) | |
471 | + | then fraction(cQ, b, cP) | |
435 | 472 | else 0 | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | let | |
440 | - | let | |
473 | + | let cS = fraction(cR, cO, b) | |
474 | + | let cT = (cQ * 2) | |
475 | + | let cU = fraction(cy, cT, (cH + cA)) | |
476 | + | let cV = min([cU, (cS * 2)]) | |
477 | + | let cW = if ((cS == 0)) | |
441 | 478 | then (1 * b) | |
442 | - | else fraction(( | |
443 | - | let bD = makeString([("lpAssetIdStr=" + aG), ("userAddressStr=" + aF), ("userNumStr=" + | |
444 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
479 | + | else fraction((cV + cS), b, cS) | |
480 | + | let bD = makeString([("lpAssetIdStr=" + aG), ("userAddressStr=" + aF), ("userNumStr=" + cq), ("userAmount=" + toString(cr)), ("userAmountNew=" + toString(cv)), ("lockDurationNew=" + toString(cw)), ("gWxAmountStart=" + toString(cy)), ("tmpUserBoostPerBlockX3=" + toString(cU)), ("stakedByUserNew=" + toString(cO)), ("stakedTotalNew=" + toString(cP)), ("poolWeight=" + toString(bb)), ("wxPerLpX3=" + toString(cR)), ("poolWxEmissionPerBlockX3=" + toString(cQ)), ("userWxPerBlockX3=" + toString(cS)), ("gWxAmountDiff=" + toString(cA)), ("totalCachedGwx=" + toString(cH)), ("userCurrgWxAmount=" + toString(cx))], "::") | |
481 | + | $Tuple2(nil, makeString(["%d%d%s", toString(cy), toString(cW), bD], e)) | |
445 | 482 | } | |
446 | 483 | ||
447 | 484 | ||
448 | 485 | ||
449 | 486 | @Callable(bt) | |
450 | 487 | func wxEmissionStatsREADONLY () = { | |
451 | - | let | |
452 | - | let | |
488 | + | let cX = toString(b) | |
489 | + | let cY = "1" | |
453 | 490 | let bc = w(aU, aN()) | |
454 | - | let | |
455 | - | let | |
491 | + | let cZ = w(aU, aP()) | |
492 | + | let da = if ((cZ > height)) | |
456 | 493 | then 0 | |
457 | - | else (height - | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | then | |
462 | - | else fraction( | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
494 | + | else (height - cZ) | |
495 | + | let db = (1440 * 365) | |
496 | + | let dc = (201000000 * b) | |
497 | + | let dd = if ((da > db)) | |
498 | + | then dc | |
499 | + | else fraction(dc, da, db) | |
500 | + | let de = ((bc * da) + dd) | |
501 | + | let df = v(aW, ah()) | |
502 | + | let dg = v(aW, ai()) | |
503 | + | let dh = v(aW, aj()) | |
504 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(de), toString(df), toString(dg), toString(dh)], e)) | |
468 | 505 | } | |
469 | 506 | ||
470 | 507 | ||
471 | 508 | ||
472 | 509 | @Callable(bt) | |
473 | - | func poolStatsREADONLY ( | |
474 | - | let | |
475 | - | let | |
476 | - | let aY = fromBase58String(D( | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
510 | + | func poolStatsREADONLY (di) = { | |
511 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
512 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
513 | + | let aY = fromBase58String(D(dk[j])) | |
514 | + | let dl = D(dk[k]) | |
515 | + | let dm = D(dk[l]) | |
516 | + | let dn = D(dk[o]) | |
517 | + | let do = D(dk[p]) | |
518 | + | let dp = parseIntValue(D(dk[m])) | |
519 | + | let dq = parseIntValue(D(dk[n])) | |
520 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
521 | + | let ds = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
522 | + | let dt = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
523 | + | let du = if ((dr == 0)) | |
487 | 524 | then [toString(g), toString(g), toString(g)] | |
488 | - | else x(invoke( | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let bb = getIntegerValue(aS, V(toString( | |
493 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
525 | + | else x(invoke(dj, "calcPricesWrapperREADONLY", [ds, dt, dr], nil)) | |
526 | + | let dv = 0 | |
527 | + | let dw = B(invoke(dj, "fromX18WrapperREADONLY", [du[1], b], nil)) | |
528 | + | let dx = B(invoke(dj, "fromX18WrapperREADONLY", [du[2], b], nil)) | |
529 | + | let bb = getIntegerValue(aS, V(toString(dj))) | |
530 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(ds), toString(dt), toString(dr), toString(dv), toString(dw), toString(dx), toString(bb)], e)) | |
494 | 531 | } | |
495 | 532 | ||
496 | 533 | ||
497 | 534 | ||
498 | 535 | @Callable(bt) | |
499 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
500 | - | let | |
501 | - | let | |
502 | - | let aY = fromBase58String(D( | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
536 | + | func poolEvaluatePutByAmountAssetREADONLY (di,dy) = { | |
537 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
538 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
539 | + | let aY = fromBase58String(D(dk[j])) | |
540 | + | let dz = D(dk[k]) | |
541 | + | let dA = fromBase58String(dz) | |
542 | + | let dB = D(dk[l]) | |
543 | + | let dC = fromBase58String(dB) | |
544 | + | let dp = parseIntValue(D(dk[m])) | |
545 | + | let dq = parseIntValue(D(dk[n])) | |
546 | + | let dD = D(dk[i]) | |
547 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
548 | + | let ds = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dz], nil)) | |
549 | + | let dt = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dB], nil)) | |
550 | + | let dE = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [ds, dp], nil))) | |
551 | + | let dF = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dt, dq], nil))) | |
552 | + | let dG = if ((dr == 0)) | |
516 | 553 | then g | |
517 | - | else parseBigIntValue(D(invoke( | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let z = | |
525 | - | if (if ($isInstanceOf(z._1, "Int")) | |
554 | + | else parseBigIntValue(D(invoke(dj, "calcPriceBigIntWrapperREADONLY", [toString(dF), toString(dE)], nil))) | |
555 | + | let dv = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dG), b], nil)) | |
556 | + | let dH = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dy, dp], nil))) | |
557 | + | let dI = fraction(dH, dG, d) | |
558 | + | let dJ = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dI), dq], nil)) | |
559 | + | let cl = invoke(dj, "estimatePutOperationWrapperREADONLY", ["", 500000, dy, dA, dJ, dC, "", true, false], nil) | |
560 | + | let dK = { | |
561 | + | let z = cl | |
562 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
526 | 563 | then if ($isInstanceOf(z._3, "Int")) | |
527 | 564 | then if ($isInstanceOf(z._4, "Int")) | |
528 | 565 | then if ($isInstanceOf(z._5, "Int")) | |
531 | 568 | else false | |
532 | 569 | else false | |
533 | 570 | else false) | |
571 | + | then (size(z) == 13) | |
572 | + | else false) | |
534 | 573 | then { | |
535 | - | let | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | $Tuple5( | |
574 | + | let dL = z._1 | |
575 | + | let dM = z._3 | |
576 | + | let dN = z._4 | |
577 | + | let dO = z._5 | |
578 | + | let dP = z._6 | |
579 | + | $Tuple5(dL, dM, dN, dO, dP) | |
541 | 580 | } | |
542 | 581 | else throw("Couldn't cast types") | |
543 | 582 | } | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
583 | + | let dL = dK._1 | |
584 | + | let dM = dK._2 | |
585 | + | let dN = dK._3 | |
586 | + | let dO = dK._4 | |
587 | + | let dP = dK._5 | |
588 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dL), toString(dv), toString(dN), toString(dO), toString(dP), dD, toString(dy), toString(dJ)], e)) | |
550 | 589 | } | |
551 | 590 | ||
552 | 591 | ||
553 | 592 | ||
554 | 593 | @Callable(bt) | |
555 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
556 | - | let | |
557 | - | let | |
558 | - | let aY = fromBase58String(D( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
594 | + | func poolEvaluatePutByPriceAssetREADONLY (di,dJ) = { | |
595 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
596 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
597 | + | let aY = fromBase58String(D(dk[j])) | |
598 | + | let dz = D(dk[k]) | |
599 | + | let dA = fromBase58String(dz) | |
600 | + | let dB = D(dk[l]) | |
601 | + | let dC = fromBase58String(dB) | |
602 | + | let dp = parseIntValue(D(dk[m])) | |
603 | + | let dq = parseIntValue(D(dk[n])) | |
604 | + | let dD = D(dk[i]) | |
605 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
606 | + | let dQ = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dz], nil)) | |
607 | + | let dR = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dB], nil)) | |
608 | + | let dS = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dQ, dp], nil))) | |
609 | + | let dT = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dR, dq], nil))) | |
610 | + | let dG = if ((dr == 0)) | |
572 | 611 | then g | |
573 | - | else parseBigIntValue(D(invoke( | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let z = | |
581 | - | if (if ($isInstanceOf(z._1, "Int")) | |
612 | + | else parseBigIntValue(D(invoke(dj, "calcPriceBigIntWrapperREADONLY", [toString(dT), toString(dS)], nil))) | |
613 | + | let dv = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dG), b], nil)) | |
614 | + | let dI = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dJ, dq], nil))) | |
615 | + | let dH = fraction(dI, d, dG) | |
616 | + | let dy = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dH), dp], nil)) | |
617 | + | let cl = invoke(dj, "estimatePutOperationWrapperREADONLY", ["", 500000, dy, dA, dJ, dC, "", true, false], nil) | |
618 | + | let dU = { | |
619 | + | let z = cl | |
620 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
582 | 621 | then if ($isInstanceOf(z._3, "Int")) | |
583 | 622 | then if ($isInstanceOf(z._4, "Int")) | |
584 | 623 | then if ($isInstanceOf(z._5, "Int")) | |
587 | 626 | else false | |
588 | 627 | else false | |
589 | 628 | else false) | |
629 | + | then (size(z) == 13) | |
630 | + | else false) | |
590 | 631 | then { | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | $Tuple5( | |
632 | + | let dL = z._1 | |
633 | + | let dM = z._3 | |
634 | + | let dN = z._4 | |
635 | + | let dO = z._5 | |
636 | + | let dP = z._6 | |
637 | + | $Tuple5(dL, dM, dN, dO, dP) | |
597 | 638 | } | |
598 | 639 | else throw("Couldn't cast types") | |
599 | 640 | } | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | let | |
605 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
641 | + | let dL = dU._1 | |
642 | + | let dM = dU._2 | |
643 | + | let dN = dU._3 | |
644 | + | let dO = dU._4 | |
645 | + | let dP = dU._5 | |
646 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dL), toString(dv), toString(dN), toString(dO), toString(dP), dD, toString(dy), toString(dJ)], e)) | |
606 | 647 | } | |
607 | 648 | ||
608 | 649 | ||
609 | 650 | ||
610 | 651 | @Callable(bt) | |
611 | - | func poolEvaluateGetREADONLY ( | |
612 | - | let | |
613 | - | let | |
614 | - | let | |
615 | - | let z = | |
616 | - | if (if ($isInstanceOf(z._1, "Int")) | |
652 | + | func poolEvaluateGetREADONLY (dV,dW) = { | |
653 | + | let dj = addressFromStringValue(t(aS, U(dV))) | |
654 | + | let cl = invoke(dj, "estimateGetOperationWrapperREADONLY", ["", dV, dW, toString(dj)], nil) | |
655 | + | let dX = { | |
656 | + | let z = cl | |
657 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
617 | 658 | then if ($isInstanceOf(z._2, "Int")) | |
618 | 659 | then if ($isInstanceOf(z._5, "Int")) | |
619 | 660 | then if ($isInstanceOf(z._6, "Int")) | |
626 | 667 | else false | |
627 | 668 | else false | |
628 | 669 | else false) | |
670 | + | then (size(z) == 10) | |
671 | + | else false) | |
629 | 672 | then { | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | let | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | $Tuple7(dO, dP, | |
673 | + | let dY = z._1 | |
674 | + | let dZ = z._2 | |
675 | + | let dN = z._5 | |
676 | + | let dO = z._6 | |
677 | + | let dP = z._7 | |
678 | + | let dv = z._8 | |
679 | + | let dD = z._9 | |
680 | + | $Tuple7(dY, dZ, dN, dO, dP, dv, dD) | |
638 | 681 | } | |
639 | 682 | else throw("Couldn't cast types") | |
640 | 683 | } | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dO), toString(dP), | |
684 | + | let dY = dX._1 | |
685 | + | let dZ = dX._2 | |
686 | + | let dN = dX._3 | |
687 | + | let dO = dX._4 | |
688 | + | let dP = dX._5 | |
689 | + | let dv = dX._6 | |
690 | + | let dD = dX._7 | |
691 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dY), toString(dZ), toString(dN), toString(dO), toString(dP), dv, dD], e)) | |
649 | 692 | } | |
650 | 693 | ||
651 | 694 | ||
652 | 695 | ||
653 | 696 | @Callable(bt) | |
654 | 697 | func gwxUserInfoREADONLY (am) = { | |
655 | - | let | |
656 | - | let | |
657 | - | $Tuple2(nil, makeString(["%d", toString( | |
698 | + | let ea = x(invoke(aW, "gwxUserInfoREADONLY", [am], nil)) | |
699 | + | let eb = B(ea[0]) | |
700 | + | $Tuple2(nil, makeString(["%d", toString(eb)], e)) | |
658 | 701 | } | |
659 | 702 | ||
660 | 703 | ||
661 | 704 | ||
662 | 705 | @Callable(bt) | |
663 | - | func setManager ( | |
706 | + | func setManager (ec) = { | |
664 | 707 | let bx = bs(bt) | |
665 | 708 | if ((bx == bx)) | |
666 | 709 | then { | |
667 | - | let | |
668 | - | if (( | |
669 | - | then [StringEntry(H(), | |
710 | + | let ed = fromBase58String(ec) | |
711 | + | if ((ed == ed)) | |
712 | + | then [StringEntry(H(), ec)] | |
670 | 713 | else throw("Strict value is not equal to itself.") | |
671 | 714 | } | |
672 | 715 | else throw("Strict value is not equal to itself.") | |
676 | 719 | ||
677 | 720 | @Callable(bt) | |
678 | 721 | func confirmManager () = { | |
679 | - | let | |
680 | - | let | |
722 | + | let ee = br() | |
723 | + | let ef = if (isDefined(ee)) | |
681 | 724 | then true | |
682 | 725 | else throw("No pending manager") | |
683 | - | if (( | |
726 | + | if ((ef == ef)) | |
684 | 727 | then { | |
685 | - | let | |
728 | + | let eg = if ((bt.callerPublicKey == value(ee))) | |
686 | 729 | then true | |
687 | 730 | else throw("You are not pending manager") | |
688 | - | if (( | |
689 | - | then [StringEntry(G(), toBase58String(value( | |
731 | + | if ((eg == eg)) | |
732 | + | then [StringEntry(G(), toBase58String(value(ee))), DeleteEntry(H())] | |
690 | 733 | else throw("Strict value is not equal to itself.") | |
691 | 734 | } | |
692 | 735 | else throw("Strict value is not equal to itself.") | |
693 | 736 | } | |
694 | 737 | ||
695 | 738 | ||
696 | - | @Verifier( | |
697 | - | func | |
698 | - | let | |
739 | + | @Verifier(eh) | |
740 | + | func ei () = { | |
741 | + | let ej = { | |
699 | 742 | let z = bp() | |
700 | 743 | if ($isInstanceOf(z, "ByteVector")) | |
701 | 744 | then { | |
703 | 746 | bv | |
704 | 747 | } | |
705 | 748 | else if ($isInstanceOf(z, "Unit")) | |
706 | - | then | |
749 | + | then eh.senderPublicKey | |
707 | 750 | else throw("Match error") | |
708 | 751 | } | |
709 | - | sigVerify( | |
752 | + | sigVerify(eh.bodyBytes, eh.proofs[0], ej) | |
710 | 753 | } | |
711 | 754 |
Old | New | Differences | |
---|---|---|---|
1 | - | {-# STDLIB_VERSION | |
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 | 237 | let aS = X() | |
238 | 238 | ||
239 | 239 | let aT = Z(aS) | |
240 | 240 | ||
241 | 241 | let aU = ad(aT) | |
242 | 242 | ||
243 | 243 | let aM = ae(aT) | |
244 | 244 | ||
245 | 245 | let aV = af(aT) | |
246 | 246 | ||
247 | 247 | let aW = ab(aT) | |
248 | 248 | ||
249 | 249 | func aX (aY) = { | |
250 | 250 | let aZ = t(aS, U(aY)) | |
251 | 251 | let ba = b | |
252 | 252 | let bb = getIntegerValue(aS, V(aZ)) | |
253 | 253 | let bc = w(aU, aN()) | |
254 | 254 | let bd = w(aU, aO()) | |
255 | 255 | let be = 3 | |
256 | 256 | let bf = (fraction(bc, bb, ba) / be) | |
257 | 257 | let bg = fraction(bd, bb, ba) | |
258 | 258 | let bh = (be * b) | |
259 | 259 | let bi = v(aM, aH(aY)) | |
260 | 260 | [bf, bh, bi] | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func bj (bk,bl,bm) = { | |
265 | 265 | let bn = fraction(bl, b, bm) | |
266 | 266 | let bo = fraction(bk, bn, b) | |
267 | 267 | [bo] | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func bp () = { | |
272 | 272 | let z = getString(G()) | |
273 | 273 | if ($isInstanceOf(z, "String")) | |
274 | 274 | then { | |
275 | 275 | let bq = z | |
276 | 276 | fromBase58String(bq) | |
277 | 277 | } | |
278 | 278 | else if ($isInstanceOf(z, "Unit")) | |
279 | 279 | then unit | |
280 | 280 | else throw("Match error") | |
281 | 281 | } | |
282 | 282 | ||
283 | 283 | ||
284 | 284 | func br () = { | |
285 | 285 | let z = getString(H()) | |
286 | 286 | if ($isInstanceOf(z, "String")) | |
287 | 287 | then { | |
288 | 288 | let bq = z | |
289 | 289 | fromBase58String(bq) | |
290 | 290 | } | |
291 | 291 | else if ($isInstanceOf(z, "Unit")) | |
292 | 292 | then unit | |
293 | 293 | else throw("Match error") | |
294 | 294 | } | |
295 | 295 | ||
296 | 296 | ||
297 | 297 | func bs (bt) = { | |
298 | 298 | let bu = throw("Permission denied") | |
299 | 299 | let z = bp() | |
300 | 300 | if ($isInstanceOf(z, "ByteVector")) | |
301 | 301 | then { | |
302 | 302 | let bv = z | |
303 | 303 | if ((bt.callerPublicKey == bv)) | |
304 | 304 | then true | |
305 | 305 | else bu | |
306 | 306 | } | |
307 | 307 | else if ($isInstanceOf(z, "Unit")) | |
308 | 308 | then if ((bt.caller == this)) | |
309 | 309 | then true | |
310 | 310 | else bu | |
311 | 311 | else throw("Match error") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(bt) | |
316 | 316 | func constructor (bw) = { | |
317 | 317 | let bx = bs(bt) | |
318 | 318 | if ((bx == bx)) | |
319 | 319 | then [StringEntry(F(), bw)] | |
320 | 320 | else throw("Strict value is not equal to itself.") | |
321 | 321 | } | |
322 | 322 | ||
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(bt) | |
326 | 326 | func currentRewardRateREADONLY (aY) = { | |
327 | 327 | let by = aX(aY) | |
328 | 328 | let bc = by[0] | |
329 | 329 | let bh = by[1] | |
330 | 330 | let bi = by[2] | |
331 | 331 | $Tuple2(nil, makeString(["%d%d%d", toString(bc), toString(bh), toString(bi)], e)) | |
332 | 332 | } | |
333 | 333 | ||
334 | 334 | ||
335 | 335 | ||
336 | 336 | @Callable(bt) | |
337 | 337 | func currentUserRewardRateREADONLY (aY,am) = { | |
338 | 338 | let by = aX(aY) | |
339 | 339 | let bc = by[0] | |
340 | 340 | let bh = by[1] | |
341 | 341 | let bi = by[2] | |
342 | 342 | let bz = v(aM, aE(am, aY)) | |
343 | 343 | let bA = split(D(invoke(aM, "claimWxREADONLY", [aY, am], nil)), e) | |
344 | 344 | let bB = valueOrErrorMessage(parseInt(bA[5]), "couldn't parse minRewardPart") | |
345 | 345 | let bC = valueOrErrorMessage(parseInt(bA[6]), "couldn't parse boostRewardPart") | |
346 | 346 | let bD = bA[7] | |
347 | 347 | let bE = if ((bC == 0)) | |
348 | 348 | then (1 * b) | |
349 | 349 | else fraction((bB + bC), b, bB) | |
350 | 350 | $Tuple2(nil, makeString(["%d%d%d%d%d%s", toString(bc), toString(bh), toString(bi), toString(bz), toString(bE), bD], e)) | |
351 | 351 | } | |
352 | 352 | ||
353 | 353 | ||
354 | 354 | ||
355 | 355 | @Callable(bt) | |
356 | 356 | func claimedRewardREADONLY (am) = { | |
357 | 357 | let bF = Y() | |
358 | 358 | let bG = "%s%d%d%d%s" | |
359 | 359 | func bH (bI,bJ) = { | |
360 | 360 | let bK = aJ(bJ, am) | |
361 | 361 | let bL = aK(bJ, am) | |
362 | 362 | let bM = valueOrElse(getInteger(aM, bK), 0) | |
363 | 363 | let bN = valueOrElse(getInteger(aM, bL), 0) | |
364 | 364 | let bO = 0 | |
365 | 365 | makeString([(bG + bI), bJ, toString(bM), toString(bN), toString(bO), "end"], e) | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | let bP = { | |
369 | 369 | let bQ = bF | |
370 | 370 | let bR = size(bQ) | |
371 | 371 | let bS = "%s" | |
372 | 372 | func bT (bU,bV) = if ((bV >= bR)) | |
373 | 373 | then bU | |
374 | 374 | else bH(bU, bQ[bV]) | |
375 | 375 | ||
376 | 376 | func bW (bU,bV) = if ((bV >= bR)) | |
377 | 377 | then bU | |
378 | 378 | else throw("List size exceeds 10") | |
379 | 379 | ||
380 | 380 | bW(bT(bT(bT(bT(bT(bT(bT(bT(bT(bT(bS, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
381 | 381 | } | |
382 | 382 | $Tuple2(nil, ((bP + e) + am)) | |
383 | 383 | } | |
384 | 384 | ||
385 | 385 | ||
386 | 386 | ||
387 | 387 | @Callable(bt) | |
388 | - | func calcBoostREADONLY (bX,bY,bZ,ca,cb) = { | |
389 | - | let cc = aV | |
390 | - | let cd = "empty" | |
391 | - | let ce = parseIntValue(split(t(aW, ag()), e)[4]) | |
392 | - | let aG = if ((ca == "")) | |
393 | - | then cd | |
394 | - | else ca | |
395 | - | let aF = if ((cb == "")) | |
396 | - | then cd | |
397 | - | else cb | |
398 | - | let cf = valueOrElse(getString(aW, al(cb)), cd) | |
399 | - | let cg = valueOrElse(getInteger(aW, ap(cf)), 0) | |
400 | - | let ch = valueOrElse(getInteger(aW, ar(cf)), height) | |
401 | - | let bl = valueOrElse(getInteger(aW, as(cf)), 0) | |
402 | - | let ci = (ch + bl) | |
403 | - | let cj = max([(ci - height), 0]) | |
404 | - | let ck = (cg + bX) | |
405 | - | let cl = min([(cj + bY), ce]) | |
406 | - | let cm = B(x(invoke(aW, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
407 | - | let cn = bj(ck, cl, ce)[0] | |
408 | - | let co = x(invoke(cc, "calcGwxParamsREADONLY", [cn, height, cl], nil)) | |
409 | - | let cp = (cn - cm) | |
410 | - | let cq = B(co[0]) | |
411 | - | let cr = B(co[1]) | |
412 | - | let aw = toString(B(co[2])) | |
413 | - | let cs = aA() | |
414 | - | let ct = aD() | |
415 | - | let cu = ((cn * cl) / 2) | |
416 | - | let cv = v(aW, cs) | |
417 | - | let cw = valueOrElse(getInteger(aW, ct), 0) | |
418 | - | let cx = 1000 | |
419 | - | let cy = (w(aU, aN()) * cx) | |
420 | - | let cz = aE(aF, aG) | |
421 | - | let cA = aH(aG) | |
422 | - | let cB = aL(aM, cz) | |
423 | - | let cC = aL(aM, cA) | |
424 | - | let cD = (cB + bZ) | |
425 | - | let cE = (cC + bZ) | |
426 | - | let bb = if ((aG != cd)) | |
388 | + | func calcBoostBulkInternalREADONLY (bX,bY,bZ,ca,cb,cc,cd) = if ((bX == size(bY))) | |
389 | + | then $Tuple2(nil, cd) | |
390 | + | else { | |
391 | + | let ce = bY[bX] | |
392 | + | let cf = bZ[bX] | |
393 | + | let cg = ca[bX] | |
394 | + | let ch = cb[bX] | |
395 | + | let ci = cc[bX] | |
396 | + | let cj = split({ | |
397 | + | let ck = invoke(this, "calcBoostREADONLY", [ce, cf, cg, ch, ci], nil) | |
398 | + | if ($isInstanceOf(ck, "String")) | |
399 | + | then ck | |
400 | + | else throw(($getType(invoke(this, "calcBoostREADONLY", [ce, cf, cg, ch, ci], nil)) + " couldn't be cast to String")) | |
401 | + | }, e) | |
402 | + | let cl = (cd :+ cj) | |
403 | + | let cm = { | |
404 | + | let ck = invoke(this, "claimWxBulkInternalREADONLY", [(bX + 1), bY, bZ, ca, cb, cc, cl], nil) | |
405 | + | if ($isInstanceOf(ck, "List[Any]")) | |
406 | + | then ck | |
407 | + | else throw(($getType(invoke(this, "claimWxBulkInternalREADONLY", [(bX + 1), bY, bZ, ca, cb, cc, cl], nil)) + " couldn't be cast to List[Any]")) | |
408 | + | } | |
409 | + | if ((cm == cm)) | |
410 | + | then $Tuple2(nil, cm) | |
411 | + | else throw("Strict value is not equal to itself.") | |
412 | + | } | |
413 | + | ||
414 | + | ||
415 | + | ||
416 | + | @Callable(bt) | |
417 | + | func calcBoostBulkREADONLY (ce,cf,cg,ch,ci) = { | |
418 | + | let cl = invoke(this, "calcBoostBulkInternalREADONLY", [0, ce, cf, cg, ch, ci, nil], nil) | |
419 | + | $Tuple2(nil, cl) | |
420 | + | } | |
421 | + | ||
422 | + | ||
423 | + | ||
424 | + | @Callable(bt) | |
425 | + | func calcBoostREADONLY (ce,cf,cg,ch,ci) = { | |
426 | + | let cn = aV | |
427 | + | let co = "empty" | |
428 | + | let cp = parseIntValue(split(t(aW, ag()), e)[4]) | |
429 | + | let aG = if ((ch == "")) | |
430 | + | then co | |
431 | + | else ch | |
432 | + | let aF = if ((ci == "")) | |
433 | + | then co | |
434 | + | else ci | |
435 | + | let cq = valueOrElse(getString(aW, al(ci)), co) | |
436 | + | let cr = valueOrElse(getInteger(aW, ap(cq)), 0) | |
437 | + | let cs = valueOrElse(getInteger(aW, ar(cq)), height) | |
438 | + | let bl = valueOrElse(getInteger(aW, as(cq)), 0) | |
439 | + | let ct = (cs + bl) | |
440 | + | let cu = max([(ct - height), 0]) | |
441 | + | let cv = (cr + ce) | |
442 | + | let cw = min([(cu + cf), cp]) | |
443 | + | let cx = B(x(invoke(aW, "gwxUserInfoREADONLY", [aF], nil))[0]) | |
444 | + | let cy = bj(cv, cw, cp)[0] | |
445 | + | let cz = x(invoke(cn, "calcGwxParamsREADONLY", [cy, height, cw], nil)) | |
446 | + | let cA = (cy - cx) | |
447 | + | let cB = B(cz[0]) | |
448 | + | let cC = B(cz[1]) | |
449 | + | let aw = toString(B(cz[2])) | |
450 | + | let cD = aA() | |
451 | + | let cE = aD() | |
452 | + | let cF = ((cy * cw) / 2) | |
453 | + | let cG = v(aW, cD) | |
454 | + | let cH = valueOrElse(getInteger(aW, cE), 0) | |
455 | + | let cI = 1000 | |
456 | + | let cJ = (w(aU, aN()) * cI) | |
457 | + | let cK = aE(aF, aG) | |
458 | + | let cL = aH(aG) | |
459 | + | let cM = aL(aM, cK) | |
460 | + | let cN = aL(aM, cL) | |
461 | + | let cO = (cM + cg) | |
462 | + | let cP = (cN + cg) | |
463 | + | let bb = if ((aG != co)) | |
427 | 464 | then { | |
428 | 465 | let aZ = valueOrErrorMessage(getString(aS, R(aG)), ("unsupported lp asset " + aG)) | |
429 | 466 | getIntegerValue(aS, V(aZ)) | |
430 | 467 | } | |
431 | 468 | else 0 | |
432 | - | let | |
433 | - | let | |
434 | - | then fraction( | |
469 | + | let cQ = fraction(cJ, bb, (f * 3)) | |
470 | + | let cR = if ((cP != 0)) | |
471 | + | then fraction(cQ, b, cP) | |
435 | 472 | else 0 | |
436 | - | let | |
437 | - | let | |
438 | - | let | |
439 | - | let | |
440 | - | let | |
473 | + | let cS = fraction(cR, cO, b) | |
474 | + | let cT = (cQ * 2) | |
475 | + | let cU = fraction(cy, cT, (cH + cA)) | |
476 | + | let cV = min([cU, (cS * 2)]) | |
477 | + | let cW = if ((cS == 0)) | |
441 | 478 | then (1 * b) | |
442 | - | else fraction(( | |
443 | - | let bD = makeString([("lpAssetIdStr=" + aG), ("userAddressStr=" + aF), ("userNumStr=" + | |
444 | - | $Tuple2(nil, makeString(["%d%d%s", toString( | |
479 | + | else fraction((cV + cS), b, cS) | |
480 | + | let bD = makeString([("lpAssetIdStr=" + aG), ("userAddressStr=" + aF), ("userNumStr=" + cq), ("userAmount=" + toString(cr)), ("userAmountNew=" + toString(cv)), ("lockDurationNew=" + toString(cw)), ("gWxAmountStart=" + toString(cy)), ("tmpUserBoostPerBlockX3=" + toString(cU)), ("stakedByUserNew=" + toString(cO)), ("stakedTotalNew=" + toString(cP)), ("poolWeight=" + toString(bb)), ("wxPerLpX3=" + toString(cR)), ("poolWxEmissionPerBlockX3=" + toString(cQ)), ("userWxPerBlockX3=" + toString(cS)), ("gWxAmountDiff=" + toString(cA)), ("totalCachedGwx=" + toString(cH)), ("userCurrgWxAmount=" + toString(cx))], "::") | |
481 | + | $Tuple2(nil, makeString(["%d%d%s", toString(cy), toString(cW), bD], e)) | |
445 | 482 | } | |
446 | 483 | ||
447 | 484 | ||
448 | 485 | ||
449 | 486 | @Callable(bt) | |
450 | 487 | func wxEmissionStatsREADONLY () = { | |
451 | - | let | |
452 | - | let | |
488 | + | let cX = toString(b) | |
489 | + | let cY = "1" | |
453 | 490 | let bc = w(aU, aN()) | |
454 | - | let | |
455 | - | let | |
491 | + | let cZ = w(aU, aP()) | |
492 | + | let da = if ((cZ > height)) | |
456 | 493 | then 0 | |
457 | - | else (height - | |
458 | - | let | |
459 | - | let | |
460 | - | let | |
461 | - | then | |
462 | - | else fraction( | |
463 | - | let | |
464 | - | let | |
465 | - | let | |
466 | - | let | |
467 | - | $Tuple2(nil, makeString(["%d%d%d%d", toString( | |
494 | + | else (height - cZ) | |
495 | + | let db = (1440 * 365) | |
496 | + | let dc = (201000000 * b) | |
497 | + | let dd = if ((da > db)) | |
498 | + | then dc | |
499 | + | else fraction(dc, da, db) | |
500 | + | let de = ((bc * da) + dd) | |
501 | + | let df = v(aW, ah()) | |
502 | + | let dg = v(aW, ai()) | |
503 | + | let dh = v(aW, aj()) | |
504 | + | $Tuple2(nil, makeString(["%d%d%d%d", toString(de), toString(df), toString(dg), toString(dh)], e)) | |
468 | 505 | } | |
469 | 506 | ||
470 | 507 | ||
471 | 508 | ||
472 | 509 | @Callable(bt) | |
473 | - | func poolStatsREADONLY ( | |
474 | - | let | |
475 | - | let | |
476 | - | let aY = fromBase58String(D( | |
477 | - | let | |
478 | - | let | |
479 | - | let | |
480 | - | let | |
481 | - | let | |
482 | - | let | |
483 | - | let | |
484 | - | let | |
485 | - | let | |
486 | - | let | |
510 | + | func poolStatsREADONLY (di) = { | |
511 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
512 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
513 | + | let aY = fromBase58String(D(dk[j])) | |
514 | + | let dl = D(dk[k]) | |
515 | + | let dm = D(dk[l]) | |
516 | + | let dn = D(dk[o]) | |
517 | + | let do = D(dk[p]) | |
518 | + | let dp = parseIntValue(D(dk[m])) | |
519 | + | let dq = parseIntValue(D(dk[n])) | |
520 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
521 | + | let ds = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dl], nil)) | |
522 | + | let dt = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dm], nil)) | |
523 | + | let du = if ((dr == 0)) | |
487 | 524 | then [toString(g), toString(g), toString(g)] | |
488 | - | else x(invoke( | |
489 | - | let | |
490 | - | let | |
491 | - | let | |
492 | - | let bb = getIntegerValue(aS, V(toString( | |
493 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString( | |
525 | + | else x(invoke(dj, "calcPricesWrapperREADONLY", [ds, dt, dr], nil)) | |
526 | + | let dv = 0 | |
527 | + | let dw = B(invoke(dj, "fromX18WrapperREADONLY", [du[1], b], nil)) | |
528 | + | let dx = B(invoke(dj, "fromX18WrapperREADONLY", [du[2], b], nil)) | |
529 | + | let bb = getIntegerValue(aS, V(toString(dj))) | |
530 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(ds), toString(dt), toString(dr), toString(dv), toString(dw), toString(dx), toString(bb)], e)) | |
494 | 531 | } | |
495 | 532 | ||
496 | 533 | ||
497 | 534 | ||
498 | 535 | @Callable(bt) | |
499 | - | func poolEvaluatePutByAmountAssetREADONLY ( | |
500 | - | let | |
501 | - | let | |
502 | - | let aY = fromBase58String(D( | |
503 | - | let | |
504 | - | let | |
505 | - | let | |
506 | - | let | |
507 | - | let | |
508 | - | let | |
509 | - | let | |
510 | - | let | |
511 | - | let | |
512 | - | let | |
513 | - | let | |
514 | - | let | |
515 | - | let | |
536 | + | func poolEvaluatePutByAmountAssetREADONLY (di,dy) = { | |
537 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
538 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
539 | + | let aY = fromBase58String(D(dk[j])) | |
540 | + | let dz = D(dk[k]) | |
541 | + | let dA = fromBase58String(dz) | |
542 | + | let dB = D(dk[l]) | |
543 | + | let dC = fromBase58String(dB) | |
544 | + | let dp = parseIntValue(D(dk[m])) | |
545 | + | let dq = parseIntValue(D(dk[n])) | |
546 | + | let dD = D(dk[i]) | |
547 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
548 | + | let ds = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dz], nil)) | |
549 | + | let dt = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dB], nil)) | |
550 | + | let dE = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [ds, dp], nil))) | |
551 | + | let dF = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dt, dq], nil))) | |
552 | + | let dG = if ((dr == 0)) | |
516 | 553 | then g | |
517 | - | else parseBigIntValue(D(invoke( | |
518 | - | let | |
519 | - | let | |
520 | - | let | |
521 | - | let | |
522 | - | let | |
523 | - | let | |
524 | - | let z = | |
525 | - | if (if ($isInstanceOf(z._1, "Int")) | |
554 | + | else parseBigIntValue(D(invoke(dj, "calcPriceBigIntWrapperREADONLY", [toString(dF), toString(dE)], nil))) | |
555 | + | let dv = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dG), b], nil)) | |
556 | + | let dH = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dy, dp], nil))) | |
557 | + | let dI = fraction(dH, dG, d) | |
558 | + | let dJ = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dI), dq], nil)) | |
559 | + | let cl = invoke(dj, "estimatePutOperationWrapperREADONLY", ["", 500000, dy, dA, dJ, dC, "", true, false], nil) | |
560 | + | let dK = { | |
561 | + | let z = cl | |
562 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
526 | 563 | then if ($isInstanceOf(z._3, "Int")) | |
527 | 564 | then if ($isInstanceOf(z._4, "Int")) | |
528 | 565 | then if ($isInstanceOf(z._5, "Int")) | |
529 | 566 | then $isInstanceOf(z._6, "Int") | |
530 | 567 | else false | |
531 | 568 | else false | |
532 | 569 | else false | |
533 | 570 | else false) | |
571 | + | then (size(z) == 13) | |
572 | + | else false) | |
534 | 573 | then { | |
535 | - | let | |
536 | - | let | |
537 | - | let | |
538 | - | let | |
539 | - | let | |
540 | - | $Tuple5( | |
574 | + | let dL = z._1 | |
575 | + | let dM = z._3 | |
576 | + | let dN = z._4 | |
577 | + | let dO = z._5 | |
578 | + | let dP = z._6 | |
579 | + | $Tuple5(dL, dM, dN, dO, dP) | |
541 | 580 | } | |
542 | 581 | else throw("Couldn't cast types") | |
543 | 582 | } | |
544 | - | let | |
545 | - | let | |
546 | - | let | |
547 | - | let | |
548 | - | let | |
549 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
583 | + | let dL = dK._1 | |
584 | + | let dM = dK._2 | |
585 | + | let dN = dK._3 | |
586 | + | let dO = dK._4 | |
587 | + | let dP = dK._5 | |
588 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dL), toString(dv), toString(dN), toString(dO), toString(dP), dD, toString(dy), toString(dJ)], e)) | |
550 | 589 | } | |
551 | 590 | ||
552 | 591 | ||
553 | 592 | ||
554 | 593 | @Callable(bt) | |
555 | - | func poolEvaluatePutByPriceAssetREADONLY ( | |
556 | - | let | |
557 | - | let | |
558 | - | let aY = fromBase58String(D( | |
559 | - | let | |
560 | - | let | |
561 | - | let | |
562 | - | let | |
563 | - | let | |
564 | - | let | |
565 | - | let | |
566 | - | let | |
567 | - | let | |
568 | - | let | |
569 | - | let | |
570 | - | let | |
571 | - | let | |
594 | + | func poolEvaluatePutByPriceAssetREADONLY (di,dJ) = { | |
595 | + | let dj = addressFromStringValue(t(aS, U(di))) | |
596 | + | let dk = x(invoke(dj, "getPoolConfigWrapperREADONLY", nil, nil)) | |
597 | + | let aY = fromBase58String(D(dk[j])) | |
598 | + | let dz = D(dk[k]) | |
599 | + | let dA = fromBase58String(dz) | |
600 | + | let dB = D(dk[l]) | |
601 | + | let dC = fromBase58String(dB) | |
602 | + | let dp = parseIntValue(D(dk[m])) | |
603 | + | let dq = parseIntValue(D(dk[n])) | |
604 | + | let dD = D(dk[i]) | |
605 | + | let dr = valueOrErrorMessage(assetInfo(aY), (("Asset " + toBase58String(aY)) + " doesn't exist")).quantity | |
606 | + | let dQ = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dz], nil)) | |
607 | + | let dR = B(invoke(dj, "getAccBalanceWrapperREADONLY", [dB], nil)) | |
608 | + | let dS = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dQ, dp], nil))) | |
609 | + | let dT = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dR, dq], nil))) | |
610 | + | let dG = if ((dr == 0)) | |
572 | 611 | then g | |
573 | - | else parseBigIntValue(D(invoke( | |
574 | - | let | |
575 | - | let | |
576 | - | let | |
577 | - | let | |
578 | - | let | |
579 | - | let | |
580 | - | let z = | |
581 | - | if (if ($isInstanceOf(z._1, "Int")) | |
612 | + | else parseBigIntValue(D(invoke(dj, "calcPriceBigIntWrapperREADONLY", [toString(dT), toString(dS)], nil))) | |
613 | + | let dv = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dG), b], nil)) | |
614 | + | let dI = parseBigIntValue(D(invoke(dj, "toX18WrapperREADONLY", [dJ, dq], nil))) | |
615 | + | let dH = fraction(dI, d, dG) | |
616 | + | let dy = B(invoke(dj, "fromX18WrapperREADONLY", [toString(dH), dp], nil)) | |
617 | + | let cl = invoke(dj, "estimatePutOperationWrapperREADONLY", ["", 500000, dy, dA, dJ, dC, "", true, false], nil) | |
618 | + | let dU = { | |
619 | + | let z = cl | |
620 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
582 | 621 | then if ($isInstanceOf(z._3, "Int")) | |
583 | 622 | then if ($isInstanceOf(z._4, "Int")) | |
584 | 623 | then if ($isInstanceOf(z._5, "Int")) | |
585 | 624 | then $isInstanceOf(z._6, "Int") | |
586 | 625 | else false | |
587 | 626 | else false | |
588 | 627 | else false | |
589 | 628 | else false) | |
629 | + | then (size(z) == 13) | |
630 | + | else false) | |
590 | 631 | then { | |
591 | - | let | |
592 | - | let | |
593 | - | let | |
594 | - | let | |
595 | - | let | |
596 | - | $Tuple5( | |
632 | + | let dL = z._1 | |
633 | + | let dM = z._3 | |
634 | + | let dN = z._4 | |
635 | + | let dO = z._5 | |
636 | + | let dP = z._6 | |
637 | + | $Tuple5(dL, dM, dN, dO, dP) | |
597 | 638 | } | |
598 | 639 | else throw("Couldn't cast types") | |
599 | 640 | } | |
600 | - | let | |
601 | - | let | |
602 | - | let | |
603 | - | let | |
604 | - | let | |
605 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString( | |
641 | + | let dL = dU._1 | |
642 | + | let dM = dU._2 | |
643 | + | let dN = dU._3 | |
644 | + | let dO = dU._4 | |
645 | + | let dP = dU._5 | |
646 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d%d", toString(dL), toString(dv), toString(dN), toString(dO), toString(dP), dD, toString(dy), toString(dJ)], e)) | |
606 | 647 | } | |
607 | 648 | ||
608 | 649 | ||
609 | 650 | ||
610 | 651 | @Callable(bt) | |
611 | - | func poolEvaluateGetREADONLY ( | |
612 | - | let | |
613 | - | let | |
614 | - | let | |
615 | - | let z = | |
616 | - | if (if ($isInstanceOf(z._1, "Int")) | |
652 | + | func poolEvaluateGetREADONLY (dV,dW) = { | |
653 | + | let dj = addressFromStringValue(t(aS, U(dV))) | |
654 | + | let cl = invoke(dj, "estimateGetOperationWrapperREADONLY", ["", dV, dW, toString(dj)], nil) | |
655 | + | let dX = { | |
656 | + | let z = cl | |
657 | + | if (if (if ($isInstanceOf(z._1, "Int")) | |
617 | 658 | then if ($isInstanceOf(z._2, "Int")) | |
618 | 659 | then if ($isInstanceOf(z._5, "Int")) | |
619 | 660 | then if ($isInstanceOf(z._6, "Int")) | |
620 | 661 | then if ($isInstanceOf(z._7, "Int")) | |
621 | 662 | then if ($isInstanceOf(z._8, "String")) | |
622 | 663 | then $isInstanceOf(z._9, "String") | |
623 | 664 | else false | |
624 | 665 | else false | |
625 | 666 | else false | |
626 | 667 | else false | |
627 | 668 | else false | |
628 | 669 | else false) | |
670 | + | then (size(z) == 10) | |
671 | + | else false) | |
629 | 672 | then { | |
630 | - | let | |
631 | - | let | |
632 | - | let | |
633 | - | let | |
634 | - | let | |
635 | - | let | |
636 | - | let | |
637 | - | $Tuple7(dO, dP, | |
673 | + | let dY = z._1 | |
674 | + | let dZ = z._2 | |
675 | + | let dN = z._5 | |
676 | + | let dO = z._6 | |
677 | + | let dP = z._7 | |
678 | + | let dv = z._8 | |
679 | + | let dD = z._9 | |
680 | + | $Tuple7(dY, dZ, dN, dO, dP, dv, dD) | |
638 | 681 | } | |
639 | 682 | else throw("Couldn't cast types") | |
640 | 683 | } | |
641 | - | let | |
642 | - | let | |
643 | - | let | |
644 | - | let | |
645 | - | let | |
646 | - | let | |
647 | - | let | |
648 | - | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dO), toString(dP), | |
684 | + | let dY = dX._1 | |
685 | + | let dZ = dX._2 | |
686 | + | let dN = dX._3 | |
687 | + | let dO = dX._4 | |
688 | + | let dP = dX._5 | |
689 | + | let dv = dX._6 | |
690 | + | let dD = dX._7 | |
691 | + | $Tuple2(nil, makeString(["%d%d%d%d%d%d%d", toString(dY), toString(dZ), toString(dN), toString(dO), toString(dP), dv, dD], e)) | |
649 | 692 | } | |
650 | 693 | ||
651 | 694 | ||
652 | 695 | ||
653 | 696 | @Callable(bt) | |
654 | 697 | func gwxUserInfoREADONLY (am) = { | |
655 | - | let | |
656 | - | let | |
657 | - | $Tuple2(nil, makeString(["%d", toString( | |
698 | + | let ea = x(invoke(aW, "gwxUserInfoREADONLY", [am], nil)) | |
699 | + | let eb = B(ea[0]) | |
700 | + | $Tuple2(nil, makeString(["%d", toString(eb)], e)) | |
658 | 701 | } | |
659 | 702 | ||
660 | 703 | ||
661 | 704 | ||
662 | 705 | @Callable(bt) | |
663 | - | func setManager ( | |
706 | + | func setManager (ec) = { | |
664 | 707 | let bx = bs(bt) | |
665 | 708 | if ((bx == bx)) | |
666 | 709 | then { | |
667 | - | let | |
668 | - | if (( | |
669 | - | then [StringEntry(H(), | |
710 | + | let ed = fromBase58String(ec) | |
711 | + | if ((ed == ed)) | |
712 | + | then [StringEntry(H(), ec)] | |
670 | 713 | else throw("Strict value is not equal to itself.") | |
671 | 714 | } | |
672 | 715 | else throw("Strict value is not equal to itself.") | |
673 | 716 | } | |
674 | 717 | ||
675 | 718 | ||
676 | 719 | ||
677 | 720 | @Callable(bt) | |
678 | 721 | func confirmManager () = { | |
679 | - | let | |
680 | - | let | |
722 | + | let ee = br() | |
723 | + | let ef = if (isDefined(ee)) | |
681 | 724 | then true | |
682 | 725 | else throw("No pending manager") | |
683 | - | if (( | |
726 | + | if ((ef == ef)) | |
684 | 727 | then { | |
685 | - | let | |
728 | + | let eg = if ((bt.callerPublicKey == value(ee))) | |
686 | 729 | then true | |
687 | 730 | else throw("You are not pending manager") | |
688 | - | if (( | |
689 | - | then [StringEntry(G(), toBase58String(value( | |
731 | + | if ((eg == eg)) | |
732 | + | then [StringEntry(G(), toBase58String(value(ee))), DeleteEntry(H())] | |
690 | 733 | else throw("Strict value is not equal to itself.") | |
691 | 734 | } | |
692 | 735 | else throw("Strict value is not equal to itself.") | |
693 | 736 | } | |
694 | 737 | ||
695 | 738 | ||
696 | - | @Verifier( | |
697 | - | func | |
698 | - | let | |
739 | + | @Verifier(eh) | |
740 | + | func ei () = { | |
741 | + | let ej = { | |
699 | 742 | let z = bp() | |
700 | 743 | if ($isInstanceOf(z, "ByteVector")) | |
701 | 744 | then { | |
702 | 745 | let bv = z | |
703 | 746 | bv | |
704 | 747 | } | |
705 | 748 | else if ($isInstanceOf(z, "Unit")) | |
706 | - | then | |
749 | + | then eh.senderPublicKey | |
707 | 750 | else throw("Match error") | |
708 | 751 | } | |
709 | - | sigVerify( | |
752 | + | sigVerify(eh.bodyBytes, eh.proofs[0], ej) | |
710 | 753 | } | |
711 | 754 |
github/deemru/w8io/169f3d6 167.09 ms ◑