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