tx · BTYja6QxptZ1NwMXPkixQaRBk3FHwjxbY5y6bjBn3ojP 3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK: -0.02300000 Waves 2023.03.19 16:39 [2496967] smart account 3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK > SELF 0.00000000 Waves
{ "type": 13, "id": "BTYja6QxptZ1NwMXPkixQaRBk3FHwjxbY5y6bjBn3ojP", "fee": 2300000, "feeAssetId": null, "timestamp": 1679233118221, "version": 2, "chainId": 84, "sender": "3MpSqJhv64PR2m7Ywctv1Mp2Kjt3EUk3CSK", "senderPublicKey": "ErJhyueNNWWr8GEv71cFyhNnAtRC7sZt2TWFo89gdPo8", "proofs": [ "3H1dahVNu2FvHgb29PqvVhNLNXc3XVgRpRpgiizmHngLYcS8jtGKCPJUZZfM9iH3yWQojYUCsLZhr9LAyqGssCEz" ], "script": "base64:BgI6CAISCAoGAQEBCAEIEgYKBAEYAQgSBQoDAQEIEgcKBQEBCAgIEgUKAwEBCBIDCgEIEgMKAQESAwoBCHMACVNFUEFSQVRPUgICX18ACEtFWV9JTklUAgRJTklUAAxLRVlfTVVMVElTSUcCCE1VTFRJU0lHAApLRVlfU1RBVFVTAgZTVEFUVVMAEEtFWV9NSU5fU0VDX0RFUE8CDE1JTl9TRUNfREVQTwAOS0VZX1BVTklTSE1FTlQCClBVTklTSE1FTlQAFUtFWV9SRVNFVF9CTE9DS19ERUxUQQIRUkVTRVRfQkxPQ0tfREVMVEEADEtFWV9TRUNfREVQTwIIU0VDX0RFUE8AGEtFWV9SRVdBUkRfVE9LRU5fQUREUkVTUwIUUkVXQVJEX1RPS0VOX0FERFJFU1MAEUtFWV9SRVdBUkRfQU1PVU5UAg1SRVdBUkRfQU1PVU5UABNLRVlfV0lOVEVTU19BRERSRVNTAg9XSU5URVNTX0FERFJFU1MAEUtFWV9DVVJSRU5UX0VQT0NIAg1DVVJSRU5UX0VQT0NIABVLRVlfU0lHTkVSU19QRVJfRVBPQ0gC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 2496967, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3nAKnhSedMQtJqsJZrMeQWAwT8JhPG5Mw8XjQaGw5REq Next: EUzpt35SfJdGLyHGQ1sEzhjYJ3FJjbAVPc4CUEd6ye6i Diff:
Old | New | Differences | |
---|---|---|---|
343 | 343 | func aZ (aM,aP,R) = [IntegerEntry(makeString([p, toString(aM), toString(aP)], a), R)] | |
344 | 344 | ||
345 | 345 | ||
346 | - | func ba (aM,aT) = { | |
346 | + | func ba (aM,aP) = { | |
347 | + | let M = getString(makeString([z, toString(aM), toString(aP)], a)) | |
348 | + | if ($isInstanceOf(M, "String")) | |
349 | + | then { | |
350 | + | let N = M | |
351 | + | fromBase58String(N) | |
352 | + | } | |
353 | + | else base58'' | |
354 | + | } | |
355 | + | ||
356 | + | ||
357 | + | func bb (aM,aP,bc) = [StringEntry(makeString([z, toString(aM), toString(aP)], a), toBase58String(bc))] | |
358 | + | ||
359 | + | ||
360 | + | func bd (aM,aT) = { | |
347 | 361 | let M = getString(makeString([q, toString(aM), toString(aT)], a)) | |
348 | 362 | if ($isInstanceOf(M, "String")) | |
349 | 363 | then { | |
356 | 370 | } | |
357 | 371 | ||
358 | 372 | ||
359 | - | func | |
373 | + | func be (aM,aT,bf) = [StringEntry(makeString([q, toString(aM), toString(aT)], a), makeString(bf, a))] | |
360 | 374 | ||
361 | 375 | ||
362 | - | func | |
376 | + | func bg (aM,aT) = { | |
363 | 377 | let M = getString(makeString([r, toString(aM), toString(aT)], a)) | |
364 | 378 | if ($isInstanceOf(M, "String")) | |
365 | 379 | then { | |
372 | 386 | } | |
373 | 387 | ||
374 | 388 | ||
375 | - | func | |
389 | + | func bh (aM,aT,bi) = [StringEntry(makeString([r, toString(aM), toString(aT)], a), makeString(bi, a))] | |
376 | 390 | ||
377 | 391 | ||
378 | - | func | |
392 | + | func bj (aM,aT) = { | |
379 | 393 | let M = getString(makeString([u, toString(aM), toString(aT)], a)) | |
380 | 394 | if ($isInstanceOf(M, "String")) | |
381 | 395 | then { | |
386 | 400 | } | |
387 | 401 | ||
388 | 402 | ||
389 | - | func | |
403 | + | func bk (aM,aT,bl) = [StringEntry(makeString([u, toString(aM), toString(aT)], a), bl)] | |
390 | 404 | ||
391 | 405 | ||
392 | - | func | |
406 | + | func bm (aM,aT) = { | |
393 | 407 | let M = getString(makeString([v, toString(aM), toString(aT)], a)) | |
394 | 408 | if ($isInstanceOf(M, "String")) | |
395 | 409 | then { | |
400 | 414 | } | |
401 | 415 | ||
402 | 416 | ||
403 | - | func | |
417 | + | func bn (aM,aT,bo) = [StringEntry(makeString([v, toString(aM), toString(aT)], a), bo)] | |
404 | 418 | ||
405 | 419 | ||
406 | - | func | |
407 | - | let M = getString(makeString([q, toString(aM), toString(aT), | |
420 | + | func bp (aM,aT,bq) = { | |
421 | + | let M = getString(makeString([q, toString(aM), toString(aT), bq], a)) | |
408 | 422 | if ($isInstanceOf(M, "String")) | |
409 | 423 | then { | |
410 | 424 | let N = M | |
414 | 428 | } | |
415 | 429 | ||
416 | 430 | ||
417 | - | func | |
431 | + | func br (aM,aT,bq,bs) = [StringEntry(makeString([q, toString(aM), toString(aT), bq], a), bs)] | |
418 | 432 | ||
419 | 433 | ||
420 | - | func | |
421 | - | let M = getString(makeString([r, toString(aM), toString(aT), | |
434 | + | func bt (aM,aT,bq) = { | |
435 | + | let M = getString(makeString([r, toString(aM), toString(aT), bq], a)) | |
422 | 436 | if ($isInstanceOf(M, "String")) | |
423 | 437 | then { | |
424 | 438 | let N = M | |
428 | 442 | } | |
429 | 443 | ||
430 | 444 | ||
431 | - | func | |
445 | + | func bu (aM,aT,bq,bv) = [StringEntry(makeString([r, toString(aM), toString(aT), bq], a), bv)] | |
432 | 446 | ||
433 | 447 | ||
434 | - | func | |
448 | + | func bw (aM,aT) = { | |
435 | 449 | let M = getString(makeString([s, toString(aM), toString(aT)], a)) | |
436 | 450 | if ($isInstanceOf(M, "String")) | |
437 | 451 | then { | |
444 | 458 | } | |
445 | 459 | ||
446 | 460 | ||
447 | - | func | |
461 | + | func bx (aM,aT,bf) = [StringEntry(makeString([s, toString(aM), toString(aT)], a), makeString(bf, a))] | |
448 | 462 | ||
449 | 463 | ||
450 | - | func | |
464 | + | func by (aM,aT) = { | |
451 | 465 | let M = getString(makeString([w, toString(aM), toString(aT)], a)) | |
452 | 466 | if ($isInstanceOf(M, "String")) | |
453 | 467 | then { | |
460 | 474 | } | |
461 | 475 | ||
462 | 476 | ||
463 | - | func | |
477 | + | func bz (aM,aT,bi) = [StringEntry(makeString([w, toString(aM), toString(aT)], a), makeString(bi, a))] | |
464 | 478 | ||
465 | 479 | ||
466 | - | func | |
480 | + | func bA (aM,aT) = { | |
467 | 481 | let M = getInteger(makeString([t, toString(aM), toString(aT)], a)) | |
468 | 482 | if ($isInstanceOf(M, "Int")) | |
469 | 483 | then { | |
474 | 488 | } | |
475 | 489 | ||
476 | 490 | ||
477 | - | func | |
491 | + | func bB (aM,aT,R) = [IntegerEntry(makeString([t, toString(aM), toString(aT)], a), R)] | |
478 | 492 | ||
479 | 493 | ||
480 | - | func | |
481 | - | let M = getInteger(makeString([x, toString( | |
494 | + | func bC (bD) = { | |
495 | + | let M = getInteger(makeString([x, toString(bD), y], a)) | |
482 | 496 | if ($isInstanceOf(M, "Int")) | |
483 | 497 | then { | |
484 | 498 | let N = M | |
488 | 502 | } | |
489 | 503 | ||
490 | 504 | ||
491 | - | func | |
505 | + | func bE (bD,R) = [IntegerEntry(makeString([x, toString(bD), y], a), R)] | |
492 | 506 | ||
493 | 507 | ||
494 | - | func | |
495 | - | let M = getInteger(makeString([x, toString( | |
508 | + | func bF (bD,bG) = { | |
509 | + | let M = getInteger(makeString([x, toString(bD), toString(bG)], a)) | |
496 | 510 | if ($isInstanceOf(M, "Int")) | |
497 | 511 | then { | |
498 | 512 | let N = M | |
502 | 516 | } | |
503 | 517 | ||
504 | 518 | ||
505 | - | func | |
519 | + | func bH (bD,bG,R) = [IntegerEntry(makeString([x, toString(bD), toString(bG)], a), R)] | |
506 | 520 | ||
507 | 521 | ||
508 | - | func | |
522 | + | func bI (bJ) = if ((bJ != this)) | |
509 | 523 | then throw("_onlyThisContract: revert") | |
510 | 524 | else true | |
511 | 525 | ||
512 | 526 | ||
513 | - | func | |
527 | + | func bK () = if ((at() == Address(base58''))) | |
514 | 528 | then throw("_whenMultisigSet: revert") | |
515 | 529 | else true | |
516 | 530 | ||
517 | 531 | ||
518 | - | func | |
532 | + | func bL () = if (aq()) | |
519 | 533 | then throw("_whenNotInitialized: revert") | |
520 | 534 | else true | |
521 | 535 | ||
522 | 536 | ||
523 | - | func | |
537 | + | func bM () = if (!(aq())) | |
524 | 538 | then throw("_whenInitialized: revert") | |
525 | 539 | else true | |
526 | 540 | ||
527 | 541 | ||
528 | - | func | |
542 | + | func bN (aT,aM,L) = { | |
529 | 543 | let ai = invoke(aJ(), B, [aT, aM], nil) | |
530 | 544 | if ((ai == ai)) | |
531 | 545 | then { | |
543 | 557 | } | |
544 | 558 | ||
545 | 559 | ||
546 | - | func bL (ac,ae,L) = if (!(containsElement(ae, ac))) | |
560 | + | func bO (aT,aM) = { | |
561 | + | let ai = invoke(aJ(), C, [aT, aM], nil) | |
562 | + | if ((ai == ai)) | |
563 | + | then { | |
564 | + | let M = ai | |
565 | + | if ($isInstanceOf(M, "(String, ByteVector)")) | |
566 | + | then { | |
567 | + | let N = M | |
568 | + | N | |
569 | + | } | |
570 | + | else throw("_getRawEvent: revert") | |
571 | + | } | |
572 | + | else throw("Strict value is not equal to itself.") | |
573 | + | } | |
574 | + | ||
575 | + | ||
576 | + | func bP (ac,ae,L) = if (!(containsElement(ae, ac))) | |
547 | 577 | then throw(L) | |
548 | 578 | else true | |
549 | 579 | ||
550 | 580 | ||
551 | - | func | |
581 | + | func bQ (bq,L) = if ((aw() > ay(addressFromPublicKey(fromBase58String(bq))))) | |
552 | 582 | then throw(L) | |
553 | 583 | else true | |
554 | 584 | ||
555 | 585 | ||
556 | - | func | |
586 | + | func bR (aM,aT,L) = if ((aS(aM, aT) != F)) | |
557 | 587 | then throw(L) | |
558 | 588 | else true | |
559 | 589 | ||
560 | 590 | ||
561 | - | func | |
591 | + | func bS (aM,aT,L) = if ((aS(aM, aT) != G)) | |
562 | 592 | then throw(L) | |
563 | 593 | else true | |
564 | 594 | ||
565 | 595 | ||
566 | - | func | |
596 | + | func bT (aM,aT,L) = if (if ((aS(aM, aT) != G)) | |
567 | 597 | then true | |
568 | - | else (( | |
598 | + | else ((bA(aM, aT) + aD()) > height)) | |
569 | 599 | then throw(L) | |
570 | 600 | else true | |
571 | 601 | ||
572 | 602 | ||
573 | - | func | |
603 | + | func bU (aR) = { | |
574 | 604 | func af (ag,ah) = (ag ++ aX(ah, (aW(ah) + 1))) | |
575 | 605 | ||
576 | 606 | let aj = aR | |
588 | 618 | } | |
589 | 619 | ||
590 | 620 | ||
591 | - | func | |
621 | + | func bV (ac,L) = if ((aW(ac) > 0)) | |
592 | 622 | then throw(L) | |
593 | 623 | else true | |
594 | 624 | ||
595 | 625 | ||
596 | - | func | |
597 | - | let | |
598 | - | if (if (( | |
599 | - | then containsElement( | |
626 | + | func bW (aM,aT,bq,L) = { | |
627 | + | let bX = bp(aM, aT, bq) | |
628 | + | if (if ((bX != "")) | |
629 | + | then containsElement(bd(aM, aT), bX) | |
600 | 630 | else false) | |
601 | 631 | then throw(L) | |
602 | 632 | else true | |
603 | 633 | } | |
604 | 634 | ||
605 | 635 | ||
606 | - | func | |
607 | - | let | |
608 | - | if (if (( | |
609 | - | then containsElement( | |
636 | + | func bY (aM,aT,bq,L) = { | |
637 | + | let bZ = bt(aM, aT, bq) | |
638 | + | if (if ((bZ != "")) | |
639 | + | then containsElement(bg(aM, aT), bZ) | |
610 | 640 | else false) | |
611 | 641 | then throw(L) | |
612 | 642 | else true | |
613 | 643 | } | |
614 | 644 | ||
615 | 645 | ||
616 | - | func | |
617 | - | let | |
618 | - | if (if (( | |
646 | + | func ca (aM,aT,bq,L) = { | |
647 | + | let bX = bp(aM, aT, bq) | |
648 | + | if (if ((bX == "")) | |
619 | 649 | then true | |
620 | - | else !(containsElement( | |
650 | + | else !(containsElement(bd(aM, aT), bX))) | |
621 | 651 | then throw(L) | |
622 | 652 | else true | |
623 | 653 | } | |
624 | 654 | ||
625 | 655 | ||
626 | - | func | |
627 | - | let | |
628 | - | func af (ag,ah) = if (containsElement( | |
656 | + | func cb (cc,cd) = { | |
657 | + | let ce = aB() | |
658 | + | func af (ag,ah) = if (containsElement(cd, ah)) | |
629 | 659 | then $Tuple3(ag._1, (ag._2 :+ ah), ag._3) | |
630 | 660 | else { | |
631 | - | let | |
632 | - | $Tuple3((ag._1 ++ aA( | |
661 | + | let cf = addressFromPublicKey(fromBase58String(ah)) | |
662 | + | $Tuple3((ag._1 ++ aA(cf, (ay(cf) - ce))), ag._2, (ag._3 + ce)) | |
633 | 663 | } | |
634 | 664 | ||
635 | - | let aj = | |
665 | + | let aj = cc | |
636 | 666 | let ak = size(aj) | |
637 | 667 | let al = $Tuple3(nil, nil, 0) | |
638 | 668 | func am (an,ao) = if ((ao >= ak)) | |
647 | 677 | } | |
648 | 678 | ||
649 | 679 | ||
650 | - | func | |
651 | - | let | |
652 | - | func af (ag,ah) = (ag :+ ScriptTransfer(addressFromPublicKey(fromBase58String(ah)), | |
680 | + | func cg (aR,ch) = { | |
681 | + | let ci = (ch / size(aR)) | |
682 | + | func af (ag,ah) = (ag :+ ScriptTransfer(addressFromPublicKey(fromBase58String(ah)), ci, unit)) | |
653 | 683 | ||
654 | 684 | let aj = aR | |
655 | 685 | let ak = size(aj) | |
666 | 696 | } | |
667 | 697 | ||
668 | 698 | ||
669 | - | func cf (ae) = { | |
670 | - | func cg (ch,ci) = (ch :+ toString(addressFromPublicKey(fromBase58String(ci)))) | |
699 | + | func cj (aM,aP,aT,bl,bo,L) = { | |
700 | + | let ck = bO(aT, aM) | |
701 | + | let cl = ck._1 | |
702 | + | let cm = ck._2 | |
703 | + | let cn = ba(aM, aP) | |
704 | + | if ((cl == D)) | |
705 | + | then { | |
706 | + | let co = (fromBase58String(bl) + fromBase58String(bo)) | |
707 | + | if (!(sigVerify(cm, co, cn))) | |
708 | + | then throw(L) | |
709 | + | else true | |
710 | + | } | |
711 | + | else if ((cl == E)) | |
712 | + | then true | |
713 | + | else throw(L) | |
714 | + | } | |
715 | + | ||
716 | + | ||
717 | + | func cp (ae) = { | |
718 | + | func cq (cr,cs) = (cr :+ toString(addressFromPublicKey(fromBase58String(cs)))) | |
671 | 719 | ||
672 | 720 | let aj = ae | |
673 | 721 | let ak = size(aj) | |
674 | 722 | let al = nil | |
675 | 723 | func am (an,ao) = if ((ao >= ak)) | |
676 | 724 | then an | |
677 | - | else | |
725 | + | else cq(an, aj[ao]) | |
678 | 726 | ||
679 | 727 | func ap (an,ao) = if ((ao >= ak)) | |
680 | 728 | then an | |
684 | 732 | } | |
685 | 733 | ||
686 | 734 | ||
687 | - | @Callable( | |
688 | - | func init ( | |
689 | - | let | |
690 | - | then | |
735 | + | @Callable(ct) | |
736 | + | func init (cu,cv,cw,cx,cy,cz) = { | |
737 | + | let cA = if (if (if (if (if (if (if (if (bI(ct.caller)) | |
738 | + | then bL() | |
691 | 739 | else false) | |
692 | - | then | |
740 | + | then bK() | |
693 | 741 | else false) | |
694 | - | then Q( | |
742 | + | then Q(cu, cv, I, "init: invalid minSecDepo") | |
695 | 743 | else false) | |
696 | - | then Q( | |
744 | + | then Q(cv, 0, I, "init: invalid punishment") | |
697 | 745 | else false) | |
698 | - | then Q( | |
746 | + | then Q(cw, 0, I, "init: invalid resetBlockDelta") | |
699 | 747 | else false) | |
700 | - | then J( | |
748 | + | then J(cx, "init: invalid rewardTokenAddress") | |
701 | 749 | else false) | |
702 | - | then Q( | |
750 | + | then Q(cy, 0, I, "init: invalid rewardAmount") | |
703 | 751 | else false) | |
704 | - | then J( | |
752 | + | then J(cz, "init: invalid witnessAddress") | |
705 | 753 | else false | |
706 | - | if (( | |
707 | - | then $Tuple2(((((((ar(true) ++ ax( | |
754 | + | if ((cA == cA)) | |
755 | + | then $Tuple2(((((((ar(true) ++ ax(cu)) ++ aC(cv)) ++ aE(cw)) ++ aG(addressFromStringValue(cx))) ++ aI(cy)) ++ aK(addressFromStringValue(cz))), unit) | |
708 | 756 | else throw("Strict value is not equal to itself.") | |
709 | 757 | } | |
710 | 758 | ||
711 | 759 | ||
712 | 760 | ||
713 | - | @Callable( | |
714 | - | func setActiveSigners (aM,aR, | |
715 | - | let | |
716 | - | then | |
761 | + | @Callable(ct) | |
762 | + | func setActiveSigners (aM,aR,cB,bc) = { | |
763 | + | let cA = if (if (if (if (bI(ct.caller)) | |
764 | + | then bM() | |
717 | 765 | else false) | |
718 | 766 | then ad(aR, "setActiveSigners: invalid signers") | |
719 | 767 | else false) | |
720 | - | then Q(cr, 2, size(aR), "setActiveSigners: invalid T") | |
768 | + | then Q(cB, 2, size(aR), "setActiveSigners: invalid T") | |
769 | + | else false) | |
770 | + | then U(bc, "setActiveSigners: invalid signerGroupPublicKey") | |
721 | 771 | else false | |
722 | - | if (( | |
772 | + | if ((cA == cA)) | |
723 | 773 | then { | |
724 | - | let | |
725 | - | $Tuple2((((aN(aM, ( | |
774 | + | let cC = aL(aM) | |
775 | + | $Tuple2(((((aN(aM, (cC + 1)) ++ aZ(aM, (cC + 1), cB)) ++ aQ(aM, (cC + 1), aR)) ++ bb(aM, (cC + 1), fromBase58String(bc))) ++ bU(aR)), unit) | |
726 | 776 | } | |
727 | 777 | else throw("Strict value is not equal to itself.") | |
728 | 778 | } | |
729 | 779 | ||
730 | 780 | ||
731 | 781 | ||
732 | - | @Callable( | |
733 | - | func submitR (aT,aM, | |
734 | - | let | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
782 | + | @Callable(ct) | |
783 | + | func submitR (aT,aM,bs) = { | |
784 | + | let cD = toBase58String(ct.callerPublicKey) | |
785 | + | let cC = aL(aM) | |
786 | + | let cE = aY(aM, cC) | |
787 | + | let cA = if (if (if (if (if (if (if (if (bM()) | |
738 | 788 | then Q(aT, 0, I, "submitR: invalid eventId") | |
739 | 789 | else false) | |
740 | 790 | then Q(aM, 0, I, "submitR: invalid execChainId") | |
741 | 791 | else false) | |
742 | - | then U( | |
792 | + | then U(bs, "submitR: invalid r") | |
743 | 793 | else false) | |
744 | - | then | |
794 | + | then bN(aT, aM, "submitR: event not confirmed") | |
745 | 795 | else false) | |
746 | - | then | |
796 | + | then bP(cD, aO(aM, cC), "submitR: not active") | |
747 | 797 | else false) | |
748 | - | then | |
798 | + | then bQ(cD, "submitR: not enough security deposit") | |
749 | 799 | else false) | |
750 | - | then | |
800 | + | then bR(aM, aT, "submitR: invalid event status") | |
751 | 801 | else false) | |
752 | - | then | |
802 | + | then bW(aM, aT, cD, "submitR: already submitted") | |
753 | 803 | else false | |
754 | - | if (( | |
804 | + | if ((cA == cA)) | |
755 | 805 | then { | |
756 | - | let | |
757 | - | let | |
758 | - | let | |
759 | - | then (aU(aM, aT, G) ++ | |
806 | + | let cF = bd(aM, aT) | |
807 | + | let cG = bw(aM, aT) | |
808 | + | let cH = if (((size(cF) + 1) == cE)) | |
809 | + | then (aU(aM, aT, G) ++ bB(aM, aT, height)) | |
760 | 810 | else nil | |
761 | - | $Tuple2(((( | |
811 | + | $Tuple2((((be(aM, aT, (cF :+ bs)) ++ br(aM, aT, cD, bs)) ++ bx(aM, aT, (cG :+ cD))) ++ cH), unit) | |
762 | 812 | } | |
763 | 813 | else throw("Strict value is not equal to itself.") | |
764 | 814 | } | |
765 | 815 | ||
766 | 816 | ||
767 | 817 | ||
768 | - | @Callable( | |
769 | - | func submitS (aT,aM, | |
770 | - | let | |
771 | - | let | |
772 | - | let | |
773 | - | let | |
818 | + | @Callable(ct) | |
819 | + | func submitS (aT,aM,bl,bv,bo) = { | |
820 | + | let cD = toBase58String(ct.callerPublicKey) | |
821 | + | let cC = aL(aM) | |
822 | + | let cE = aY(aM, cC) | |
823 | + | let cA = if (if (if (if (if (if (if (if (if (bM()) | |
774 | 824 | then Q(aT, 0, I, "submitS: invalid eventId") | |
775 | 825 | else false) | |
776 | 826 | then Q(aM, 0, I, "submitS: invalid execChainId") | |
777 | 827 | else false) | |
778 | - | then U( | |
828 | + | then U(bl, "submitS: invalid r sigma") | |
779 | 829 | else false) | |
780 | - | then U( | |
830 | + | then U(bv, "submitS: invalid s") | |
781 | 831 | else false) | |
782 | - | then | |
832 | + | then bP(cD, aO(aM, cC), "submitS: not active") | |
783 | 833 | else false) | |
784 | - | then | |
834 | + | then bQ(cD, "submitS: not enough security deposit") | |
785 | 835 | else false) | |
786 | - | then | |
836 | + | then bS(aM, aT, "submitS: invalid event status") | |
787 | 837 | else false) | |
788 | - | then | |
838 | + | then bY(aM, aT, cD, "submitS: already submitted") | |
789 | 839 | else false) | |
790 | - | then | |
840 | + | then ca(aM, aT, cD, "submitS: R is not submitted") | |
791 | 841 | else false | |
792 | - | if (( | |
842 | + | if ((cA == cA)) | |
793 | 843 | then { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
844 | + | let cI = bg(aM, aT) | |
845 | + | let cG = by(aM, aT) | |
846 | + | let cH = if (((size(cI) + 1) == cE)) | |
797 | 847 | then { | |
798 | - | let cz = U(bl, "submitS: invalid s sigma") | |
799 | - | if ((cz == cz)) | |
848 | + | let cJ = if (U(bo, "submitS: invalid s sigma")) | |
849 | + | then cj(aM, cC, aT, bl, bo, "submitS: invalid signature") | |
850 | + | else false | |
851 | + | if ((cJ == cJ)) | |
800 | 852 | then { | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
804 | - | if (( | |
805 | - | then (((aU(aM, aT, H) ++ | |
853 | + | let cK = bC(aM) | |
854 | + | let cL = cp((cG :+ cD)) | |
855 | + | let cM = invoke(aF(), A, [aH(), cL], nil) | |
856 | + | if ((cM == cM)) | |
857 | + | then (((aU(aM, aT, H) ++ bH(aM, cK, aT)) ++ bE(aM, (cK + 1))) ++ bn(aM, aT, bo)) | |
806 | 858 | else throw("Strict value is not equal to itself.") | |
807 | 859 | } | |
808 | 860 | else throw("Strict value is not equal to itself.") | |
809 | 861 | } | |
810 | 862 | else nil | |
811 | - | $Tuple2((((( | |
863 | + | $Tuple2(((((bh(aM, aT, (cI :+ bv)) ++ bu(aM, aT, cD, bv)) ++ bz(aM, aT, (cG :+ cD))) ++ bk(aM, aT, bl)) ++ cH), unit) | |
812 | 864 | } | |
813 | 865 | else throw("Strict value is not equal to itself.") | |
814 | 866 | } | |
815 | 867 | ||
816 | 868 | ||
817 | 869 | ||
818 | - | @Callable( | |
819 | - | func reset (aT,aM, | |
820 | - | let | |
821 | - | let | |
822 | - | let | |
870 | + | @Callable(ct) | |
871 | + | func reset (aT,aM,bs) = { | |
872 | + | let cD = toBase58String(ct.callerPublicKey) | |
873 | + | let cC = aL(aM) | |
874 | + | let cA = if (if (if (if (if (if (bM()) | |
823 | 875 | then Q(aT, 0, I, "reset: invalid eventId") | |
824 | 876 | else false) | |
825 | 877 | then Q(aM, 0, I, "reset: invalid execChainId") | |
826 | 878 | else false) | |
827 | - | then U( | |
879 | + | then U(bs, "reset: invalid r") | |
828 | 880 | else false) | |
829 | - | then | |
881 | + | then bP(cD, aO(aM, cC), "reset: not active") | |
830 | 882 | else false) | |
831 | - | then | |
883 | + | then bQ(cD, "reset: not enough security deposit") | |
832 | 884 | else false) | |
833 | - | then | |
885 | + | then bT(aM, aT, "reset: invalid event status") | |
834 | 886 | else false | |
835 | - | if (( | |
887 | + | if ((cA == cA)) | |
836 | 888 | then { | |
837 | - | let | |
838 | - | let | |
839 | - | let | |
840 | - | let ai = | |
841 | - | let | |
842 | - | let | |
843 | - | let | |
844 | - | let | |
845 | - | $Tuple2((((((((((aU(aM, aT, F) ++ | |
889 | + | let cN = 0 | |
890 | + | let cO = bw(aM, aT) | |
891 | + | let cP = by(aM, aT) | |
892 | + | let ai = cb(cO, cP) | |
893 | + | let cQ = ai._1 | |
894 | + | let cR = ai._2 | |
895 | + | let cS = ai._3 | |
896 | + | let cT = cg(cR, cS) | |
897 | + | $Tuple2((((((((((aU(aM, aT, F) ++ be(aM, aT, [bs])) ++ br(aM, aT, cD, bs)) ++ bx(aM, aT, [cD])) ++ bk(aM, aT, "")) ++ bh(aM, aT, nil)) ++ bz(aM, aT, nil)) ++ bn(aM, aT, "")) ++ cQ) ++ cT), unit) | |
846 | 898 | } | |
847 | 899 | else throw("Strict value is not equal to itself.") | |
848 | 900 | } | |
849 | 901 | ||
850 | 902 | ||
851 | 903 | ||
852 | - | @Callable( | |
853 | - | func addSecurityDeposit ( | |
854 | - | let | |
855 | - | then toString( | |
856 | - | else | |
857 | - | let | |
858 | - | then V( | |
904 | + | @Callable(ct) | |
905 | + | func addSecurityDeposit (cU) = { | |
906 | + | let cV = if ((cU == "")) | |
907 | + | then toString(ct.caller) | |
908 | + | else cU | |
909 | + | let cA = if (if (J(cV, "addSecurityDeposit: invalid recipient")) | |
910 | + | then V(ct.payments, 1, "addSecurityDeposit: no payment") | |
859 | 911 | else false) | |
860 | - | then Y( | |
912 | + | then Y(ct.payments[0], unit, "addSecurityDeposit: invalid asset") | |
861 | 913 | else false | |
862 | - | if (( | |
914 | + | if ((cA == cA)) | |
863 | 915 | then { | |
864 | - | let | |
865 | - | let | |
866 | - | let | |
867 | - | $Tuple2(aA( | |
916 | + | let cW = addressFromStringValue(cV) | |
917 | + | let cX = ay(cW) | |
918 | + | let cY = (cX + ct.payments[0].amount) | |
919 | + | $Tuple2(aA(cW, cY), unit) | |
868 | 920 | } | |
869 | 921 | else throw("Strict value is not equal to itself.") | |
870 | 922 | } | |
871 | 923 | ||
872 | 924 | ||
873 | 925 | ||
874 | - | @Callable( | |
875 | - | func subSecurityDeposit ( | |
876 | - | let | |
877 | - | let | |
878 | - | then if (( | |
926 | + | @Callable(ct) | |
927 | + | func subSecurityDeposit (cZ) = { | |
928 | + | let cX = ay(ct.caller) | |
929 | + | let cA = if (bV(toBase58String(ct.callerPublicKey), "subSecurityDeposit: locked")) | |
930 | + | then if ((cZ > cX)) | |
879 | 931 | then throw("subSecurityDeposit: insufficient balance") | |
880 | 932 | else true | |
881 | 933 | else false | |
882 | - | if (( | |
883 | - | then $Tuple2((aA( | |
934 | + | if ((cA == cA)) | |
935 | + | then $Tuple2((aA(ct.caller, (cX - cZ)) ++ [ScriptTransfer(ct.caller, cZ, unit)]), unit) | |
884 | 936 | else throw("Strict value is not equal to itself.") | |
885 | 937 | } | |
886 | 938 | ||
887 | 939 | ||
888 | 940 | ||
889 | - | @Callable( | |
941 | + | @Callable(ct) | |
890 | 942 | func setMultisig (av) = { | |
891 | - | let | |
943 | + | let cA = if (bI(ct.caller)) | |
892 | 944 | then J(av, "setMultisig: invalid multisig address") | |
893 | 945 | else false | |
894 | - | if (( | |
946 | + | if ((cA == cA)) | |
895 | 947 | then $Tuple2(au(addressFromStringValue(av)), unit) | |
896 | 948 | else throw("Strict value is not equal to itself.") | |
897 | 949 | } | |
898 | 950 | ||
899 | 951 | ||
900 | - | @Verifier( | |
901 | - | func | |
952 | + | @Verifier(da) | |
953 | + | func db () = { | |
902 | 954 | let M = getString(c) | |
903 | 955 | if ($isInstanceOf(M, "String")) | |
904 | 956 | then { | |
905 | - | let | |
906 | - | valueOrElse(getBoolean(addressFromStringValue( | |
957 | + | let dc = M | |
958 | + | valueOrElse(getBoolean(addressFromStringValue(dc), makeString([d, toString(this), toBase58String(da.id)], a)), false) | |
907 | 959 | } | |
908 | - | else sigVerify( | |
960 | + | else sigVerify(da.bodyBytes, da.proofs[0], da.senderPublicKey) | |
909 | 961 | } | |
910 | 962 |
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 = "INIT" | |
7 | 7 | ||
8 | 8 | let c = "MULTISIG" | |
9 | 9 | ||
10 | 10 | let d = "STATUS" | |
11 | 11 | ||
12 | 12 | let e = "MIN_SEC_DEPO" | |
13 | 13 | ||
14 | 14 | let f = "PUNISHMENT" | |
15 | 15 | ||
16 | 16 | let g = "RESET_BLOCK_DELTA" | |
17 | 17 | ||
18 | 18 | let h = "SEC_DEPO" | |
19 | 19 | ||
20 | 20 | let i = "REWARD_TOKEN_ADDRESS" | |
21 | 21 | ||
22 | 22 | let j = "REWARD_AMOUNT" | |
23 | 23 | ||
24 | 24 | let k = "WINTESS_ADDRESS" | |
25 | 25 | ||
26 | 26 | let l = "CURRENT_EPOCH" | |
27 | 27 | ||
28 | 28 | let m = "SIGNERS_PER_EPOCH" | |
29 | 29 | ||
30 | 30 | let n = "EVENT_STATUS" | |
31 | 31 | ||
32 | 32 | let o = "LOCKS" | |
33 | 33 | ||
34 | 34 | let p = "T" | |
35 | 35 | ||
36 | 36 | let q = "R" | |
37 | 37 | ||
38 | 38 | let r = "S" | |
39 | 39 | ||
40 | 40 | let s = "R_SIGNERS" | |
41 | 41 | ||
42 | 42 | let t = "EVENT_START_BLOCK" | |
43 | 43 | ||
44 | 44 | let u = "R_SIGMA" | |
45 | 45 | ||
46 | 46 | let v = "S_SIGMA" | |
47 | 47 | ||
48 | 48 | let w = "S_SIGNERS" | |
49 | 49 | ||
50 | 50 | let x = "SIGNED_EVENT_EXECUTOR" | |
51 | 51 | ||
52 | 52 | let y = "SIZE" | |
53 | 53 | ||
54 | 54 | let z = "SIGNER_GROUP_PUBLIC_KEY" | |
55 | 55 | ||
56 | 56 | let A = "mintMany" | |
57 | 57 | ||
58 | 58 | let B = "isConfirmedEvent" | |
59 | 59 | ||
60 | 60 | let C = "getRawEvent" | |
61 | 61 | ||
62 | 62 | let D = "WAVES" | |
63 | 63 | ||
64 | 64 | let E = "EVM" | |
65 | 65 | ||
66 | 66 | let F = 1 | |
67 | 67 | ||
68 | 68 | let G = 2 | |
69 | 69 | ||
70 | 70 | let H = 3 | |
71 | 71 | ||
72 | 72 | let I = 9223372036854775807 | |
73 | 73 | ||
74 | 74 | func J (K,L) = { | |
75 | 75 | let M = addressFromString(K) | |
76 | 76 | if ($isInstanceOf(M, "Address")) | |
77 | 77 | then { | |
78 | 78 | let N = M | |
79 | 79 | true | |
80 | 80 | } | |
81 | 81 | else throw(L) | |
82 | 82 | } | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func O (P,L) = { | |
86 | 86 | let M = assetInfo(fromBase58String(P)) | |
87 | 87 | if ($isInstanceOf(M, "Asset")) | |
88 | 88 | then { | |
89 | 89 | let N = M | |
90 | 90 | true | |
91 | 91 | } | |
92 | 92 | else throw(L) | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | ||
96 | 96 | func Q (R,S,T,L) = if (if ((S > R)) | |
97 | 97 | then true | |
98 | 98 | else (R > T)) | |
99 | 99 | then throw(L) | |
100 | 100 | else true | |
101 | 101 | ||
102 | 102 | ||
103 | 103 | func U (R,L) = if (if ((0 >= size(R))) | |
104 | 104 | then true | |
105 | 105 | else contains(R, a)) | |
106 | 106 | then throw(L) | |
107 | 107 | else true | |
108 | 108 | ||
109 | 109 | ||
110 | 110 | func V (W,X,L) = if ((size(W) != X)) | |
111 | 111 | then throw(L) | |
112 | 112 | else true | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | func Y (Z,aa,L) = if ((Z.assetId != aa)) | |
116 | 116 | then throw(L) | |
117 | 117 | else true | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ab (ac,L) = if ((size(fromBase58String(ac)) != 32)) | |
121 | 121 | then throw(L) | |
122 | 122 | else true | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func ad (ae,L) = { | |
126 | 126 | func af (ag,ah) = $Tuple2(if (ag._1) | |
127 | 127 | then ab(ah, ag._2) | |
128 | 128 | else false, ag._2) | |
129 | 129 | ||
130 | 130 | let ai = { | |
131 | 131 | let aj = ae | |
132 | 132 | let ak = size(aj) | |
133 | 133 | let al = $Tuple2(true, L) | |
134 | 134 | func am (an,ao) = if ((ao >= ak)) | |
135 | 135 | then an | |
136 | 136 | else af(an, aj[ao]) | |
137 | 137 | ||
138 | 138 | func ap (an,ao) = if ((ao >= ak)) | |
139 | 139 | then an | |
140 | 140 | else throw("List size exceeds 10") | |
141 | 141 | ||
142 | 142 | ap(am(am(am(am(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
143 | 143 | } | |
144 | 144 | ai._1 | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | ||
148 | 148 | func aq () = { | |
149 | 149 | let M = getBoolean(b) | |
150 | 150 | if ($isInstanceOf(M, "Boolean")) | |
151 | 151 | then { | |
152 | 152 | let N = M | |
153 | 153 | N | |
154 | 154 | } | |
155 | 155 | else false | |
156 | 156 | } | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func ar (as) = [BooleanEntry(b, as)] | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func at () = { | |
163 | 163 | let M = getString(c) | |
164 | 164 | if ($isInstanceOf(M, "String")) | |
165 | 165 | then { | |
166 | 166 | let N = M | |
167 | 167 | addressFromStringValue(N) | |
168 | 168 | } | |
169 | 169 | else Address(base58'') | |
170 | 170 | } | |
171 | 171 | ||
172 | 172 | ||
173 | 173 | func au (av) = [StringEntry(c, toString(av))] | |
174 | 174 | ||
175 | 175 | ||
176 | 176 | func aw () = { | |
177 | 177 | let M = getInteger(e) | |
178 | 178 | if ($isInstanceOf(M, "Int")) | |
179 | 179 | then { | |
180 | 180 | let N = M | |
181 | 181 | N | |
182 | 182 | } | |
183 | 183 | else 0 | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func ax (R) = [IntegerEntry(e, R)] | |
188 | 188 | ||
189 | 189 | ||
190 | 190 | func ay (az) = { | |
191 | 191 | let M = getInteger(makeString([h, toString(az)], a)) | |
192 | 192 | if ($isInstanceOf(M, "Int")) | |
193 | 193 | then { | |
194 | 194 | let N = M | |
195 | 195 | N | |
196 | 196 | } | |
197 | 197 | else 0 | |
198 | 198 | } | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func aA (az,R) = [IntegerEntry(makeString([h, toString(az)], a), R)] | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func aB () = { | |
205 | 205 | let M = getInteger(f) | |
206 | 206 | if ($isInstanceOf(M, "Int")) | |
207 | 207 | then { | |
208 | 208 | let N = M | |
209 | 209 | N | |
210 | 210 | } | |
211 | 211 | else 0 | |
212 | 212 | } | |
213 | 213 | ||
214 | 214 | ||
215 | 215 | func aC (R) = [IntegerEntry(f, R)] | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aD () = { | |
219 | 219 | let M = getInteger(g) | |
220 | 220 | if ($isInstanceOf(M, "Int")) | |
221 | 221 | then { | |
222 | 222 | let N = M | |
223 | 223 | N | |
224 | 224 | } | |
225 | 225 | else 0 | |
226 | 226 | } | |
227 | 227 | ||
228 | 228 | ||
229 | 229 | func aE (R) = [IntegerEntry(g, R)] | |
230 | 230 | ||
231 | 231 | ||
232 | 232 | func aF () = { | |
233 | 233 | let M = getString(i) | |
234 | 234 | if ($isInstanceOf(M, "String")) | |
235 | 235 | then { | |
236 | 236 | let N = M | |
237 | 237 | addressFromStringValue(N) | |
238 | 238 | } | |
239 | 239 | else Address(base58'') | |
240 | 240 | } | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func aG (R) = [StringEntry(i, toString(R))] | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aH () = { | |
247 | 247 | let M = getInteger(j) | |
248 | 248 | if ($isInstanceOf(M, "Int")) | |
249 | 249 | then { | |
250 | 250 | let N = M | |
251 | 251 | N | |
252 | 252 | } | |
253 | 253 | else 0 | |
254 | 254 | } | |
255 | 255 | ||
256 | 256 | ||
257 | 257 | func aI (R) = [IntegerEntry(j, R)] | |
258 | 258 | ||
259 | 259 | ||
260 | 260 | func aJ () = { | |
261 | 261 | let M = getString(k) | |
262 | 262 | if ($isInstanceOf(M, "String")) | |
263 | 263 | then { | |
264 | 264 | let N = M | |
265 | 265 | addressFromStringValue(N) | |
266 | 266 | } | |
267 | 267 | else Address(base58'') | |
268 | 268 | } | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func aK (R) = [StringEntry(k, toString(R))] | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func aL (aM) = { | |
275 | 275 | let M = getInteger(makeString([l, toString(aM)], a)) | |
276 | 276 | if ($isInstanceOf(M, "Int")) | |
277 | 277 | then { | |
278 | 278 | let N = M | |
279 | 279 | N | |
280 | 280 | } | |
281 | 281 | else 0 | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 | ||
285 | 285 | func aN (aM,R) = [IntegerEntry(makeString([l, toString(aM)], a), R)] | |
286 | 286 | ||
287 | 287 | ||
288 | 288 | func aO (aM,aP) = { | |
289 | 289 | let M = getString(makeString([m, toString(aM), toString(aP)], a)) | |
290 | 290 | if ($isInstanceOf(M, "String")) | |
291 | 291 | then { | |
292 | 292 | let N = M | |
293 | 293 | if ((size(N) > 0)) | |
294 | 294 | then split(N, a) | |
295 | 295 | else nil | |
296 | 296 | } | |
297 | 297 | else nil | |
298 | 298 | } | |
299 | 299 | ||
300 | 300 | ||
301 | 301 | func aQ (aM,aP,aR) = [StringEntry(makeString([m, toString(aM), toString(aP)], a), makeString(aR, a))] | |
302 | 302 | ||
303 | 303 | ||
304 | 304 | func aS (aM,aT) = { | |
305 | 305 | let M = getInteger(makeString([n, toString(aM), toString(aT)], a)) | |
306 | 306 | if ($isInstanceOf(M, "Int")) | |
307 | 307 | then { | |
308 | 308 | let N = M | |
309 | 309 | N | |
310 | 310 | } | |
311 | 311 | else F | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | func aU (aM,aT,aV) = [IntegerEntry(makeString([n, toString(aM), toString(aT)], a), aV)] | |
316 | 316 | ||
317 | 317 | ||
318 | 318 | func aW (ac) = { | |
319 | 319 | let M = getInteger(makeString([o, ac], a)) | |
320 | 320 | if ($isInstanceOf(M, "Int")) | |
321 | 321 | then { | |
322 | 322 | let N = M | |
323 | 323 | N | |
324 | 324 | } | |
325 | 325 | else 0 | |
326 | 326 | } | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | func aX (ac,R) = [IntegerEntry(makeString([o, ac], a), R)] | |
330 | 330 | ||
331 | 331 | ||
332 | 332 | func aY (aM,aP) = { | |
333 | 333 | let M = getInteger(makeString([p, toString(aM), toString(aP)], a)) | |
334 | 334 | if ($isInstanceOf(M, "Int")) | |
335 | 335 | then { | |
336 | 336 | let N = M | |
337 | 337 | N | |
338 | 338 | } | |
339 | 339 | else 0 | |
340 | 340 | } | |
341 | 341 | ||
342 | 342 | ||
343 | 343 | func aZ (aM,aP,R) = [IntegerEntry(makeString([p, toString(aM), toString(aP)], a), R)] | |
344 | 344 | ||
345 | 345 | ||
346 | - | func ba (aM,aT) = { | |
346 | + | func ba (aM,aP) = { | |
347 | + | let M = getString(makeString([z, toString(aM), toString(aP)], a)) | |
348 | + | if ($isInstanceOf(M, "String")) | |
349 | + | then { | |
350 | + | let N = M | |
351 | + | fromBase58String(N) | |
352 | + | } | |
353 | + | else base58'' | |
354 | + | } | |
355 | + | ||
356 | + | ||
357 | + | func bb (aM,aP,bc) = [StringEntry(makeString([z, toString(aM), toString(aP)], a), toBase58String(bc))] | |
358 | + | ||
359 | + | ||
360 | + | func bd (aM,aT) = { | |
347 | 361 | let M = getString(makeString([q, toString(aM), toString(aT)], a)) | |
348 | 362 | if ($isInstanceOf(M, "String")) | |
349 | 363 | then { | |
350 | 364 | let N = M | |
351 | 365 | if ((size(N) > 0)) | |
352 | 366 | then split(N, a) | |
353 | 367 | else nil | |
354 | 368 | } | |
355 | 369 | else nil | |
356 | 370 | } | |
357 | 371 | ||
358 | 372 | ||
359 | - | func | |
373 | + | func be (aM,aT,bf) = [StringEntry(makeString([q, toString(aM), toString(aT)], a), makeString(bf, a))] | |
360 | 374 | ||
361 | 375 | ||
362 | - | func | |
376 | + | func bg (aM,aT) = { | |
363 | 377 | let M = getString(makeString([r, toString(aM), toString(aT)], a)) | |
364 | 378 | if ($isInstanceOf(M, "String")) | |
365 | 379 | then { | |
366 | 380 | let N = M | |
367 | 381 | if ((size(N) > 0)) | |
368 | 382 | then split(N, a) | |
369 | 383 | else nil | |
370 | 384 | } | |
371 | 385 | else nil | |
372 | 386 | } | |
373 | 387 | ||
374 | 388 | ||
375 | - | func | |
389 | + | func bh (aM,aT,bi) = [StringEntry(makeString([r, toString(aM), toString(aT)], a), makeString(bi, a))] | |
376 | 390 | ||
377 | 391 | ||
378 | - | func | |
392 | + | func bj (aM,aT) = { | |
379 | 393 | let M = getString(makeString([u, toString(aM), toString(aT)], a)) | |
380 | 394 | if ($isInstanceOf(M, "String")) | |
381 | 395 | then { | |
382 | 396 | let N = M | |
383 | 397 | N | |
384 | 398 | } | |
385 | 399 | else "" | |
386 | 400 | } | |
387 | 401 | ||
388 | 402 | ||
389 | - | func | |
403 | + | func bk (aM,aT,bl) = [StringEntry(makeString([u, toString(aM), toString(aT)], a), bl)] | |
390 | 404 | ||
391 | 405 | ||
392 | - | func | |
406 | + | func bm (aM,aT) = { | |
393 | 407 | let M = getString(makeString([v, toString(aM), toString(aT)], a)) | |
394 | 408 | if ($isInstanceOf(M, "String")) | |
395 | 409 | then { | |
396 | 410 | let N = M | |
397 | 411 | N | |
398 | 412 | } | |
399 | 413 | else "" | |
400 | 414 | } | |
401 | 415 | ||
402 | 416 | ||
403 | - | func | |
417 | + | func bn (aM,aT,bo) = [StringEntry(makeString([v, toString(aM), toString(aT)], a), bo)] | |
404 | 418 | ||
405 | 419 | ||
406 | - | func | |
407 | - | let M = getString(makeString([q, toString(aM), toString(aT), | |
420 | + | func bp (aM,aT,bq) = { | |
421 | + | let M = getString(makeString([q, toString(aM), toString(aT), bq], a)) | |
408 | 422 | if ($isInstanceOf(M, "String")) | |
409 | 423 | then { | |
410 | 424 | let N = M | |
411 | 425 | N | |
412 | 426 | } | |
413 | 427 | else "" | |
414 | 428 | } | |
415 | 429 | ||
416 | 430 | ||
417 | - | func | |
431 | + | func br (aM,aT,bq,bs) = [StringEntry(makeString([q, toString(aM), toString(aT), bq], a), bs)] | |
418 | 432 | ||
419 | 433 | ||
420 | - | func | |
421 | - | let M = getString(makeString([r, toString(aM), toString(aT), | |
434 | + | func bt (aM,aT,bq) = { | |
435 | + | let M = getString(makeString([r, toString(aM), toString(aT), bq], a)) | |
422 | 436 | if ($isInstanceOf(M, "String")) | |
423 | 437 | then { | |
424 | 438 | let N = M | |
425 | 439 | N | |
426 | 440 | } | |
427 | 441 | else "" | |
428 | 442 | } | |
429 | 443 | ||
430 | 444 | ||
431 | - | func | |
445 | + | func bu (aM,aT,bq,bv) = [StringEntry(makeString([r, toString(aM), toString(aT), bq], a), bv)] | |
432 | 446 | ||
433 | 447 | ||
434 | - | func | |
448 | + | func bw (aM,aT) = { | |
435 | 449 | let M = getString(makeString([s, toString(aM), toString(aT)], a)) | |
436 | 450 | if ($isInstanceOf(M, "String")) | |
437 | 451 | then { | |
438 | 452 | let N = M | |
439 | 453 | if ((size(N) > 0)) | |
440 | 454 | then split(N, a) | |
441 | 455 | else nil | |
442 | 456 | } | |
443 | 457 | else nil | |
444 | 458 | } | |
445 | 459 | ||
446 | 460 | ||
447 | - | func | |
461 | + | func bx (aM,aT,bf) = [StringEntry(makeString([s, toString(aM), toString(aT)], a), makeString(bf, a))] | |
448 | 462 | ||
449 | 463 | ||
450 | - | func | |
464 | + | func by (aM,aT) = { | |
451 | 465 | let M = getString(makeString([w, toString(aM), toString(aT)], a)) | |
452 | 466 | if ($isInstanceOf(M, "String")) | |
453 | 467 | then { | |
454 | 468 | let N = M | |
455 | 469 | if ((size(N) > 0)) | |
456 | 470 | then split(N, a) | |
457 | 471 | else nil | |
458 | 472 | } | |
459 | 473 | else nil | |
460 | 474 | } | |
461 | 475 | ||
462 | 476 | ||
463 | - | func | |
477 | + | func bz (aM,aT,bi) = [StringEntry(makeString([w, toString(aM), toString(aT)], a), makeString(bi, a))] | |
464 | 478 | ||
465 | 479 | ||
466 | - | func | |
480 | + | func bA (aM,aT) = { | |
467 | 481 | let M = getInteger(makeString([t, toString(aM), toString(aT)], a)) | |
468 | 482 | if ($isInstanceOf(M, "Int")) | |
469 | 483 | then { | |
470 | 484 | let N = M | |
471 | 485 | N | |
472 | 486 | } | |
473 | 487 | else 0 | |
474 | 488 | } | |
475 | 489 | ||
476 | 490 | ||
477 | - | func | |
491 | + | func bB (aM,aT,R) = [IntegerEntry(makeString([t, toString(aM), toString(aT)], a), R)] | |
478 | 492 | ||
479 | 493 | ||
480 | - | func | |
481 | - | let M = getInteger(makeString([x, toString( | |
494 | + | func bC (bD) = { | |
495 | + | let M = getInteger(makeString([x, toString(bD), y], a)) | |
482 | 496 | if ($isInstanceOf(M, "Int")) | |
483 | 497 | then { | |
484 | 498 | let N = M | |
485 | 499 | N | |
486 | 500 | } | |
487 | 501 | else 0 | |
488 | 502 | } | |
489 | 503 | ||
490 | 504 | ||
491 | - | func | |
505 | + | func bE (bD,R) = [IntegerEntry(makeString([x, toString(bD), y], a), R)] | |
492 | 506 | ||
493 | 507 | ||
494 | - | func | |
495 | - | let M = getInteger(makeString([x, toString( | |
508 | + | func bF (bD,bG) = { | |
509 | + | let M = getInteger(makeString([x, toString(bD), toString(bG)], a)) | |
496 | 510 | if ($isInstanceOf(M, "Int")) | |
497 | 511 | then { | |
498 | 512 | let N = M | |
499 | 513 | N | |
500 | 514 | } | |
501 | 515 | else 0 | |
502 | 516 | } | |
503 | 517 | ||
504 | 518 | ||
505 | - | func | |
519 | + | func bH (bD,bG,R) = [IntegerEntry(makeString([x, toString(bD), toString(bG)], a), R)] | |
506 | 520 | ||
507 | 521 | ||
508 | - | func | |
522 | + | func bI (bJ) = if ((bJ != this)) | |
509 | 523 | then throw("_onlyThisContract: revert") | |
510 | 524 | else true | |
511 | 525 | ||
512 | 526 | ||
513 | - | func | |
527 | + | func bK () = if ((at() == Address(base58''))) | |
514 | 528 | then throw("_whenMultisigSet: revert") | |
515 | 529 | else true | |
516 | 530 | ||
517 | 531 | ||
518 | - | func | |
532 | + | func bL () = if (aq()) | |
519 | 533 | then throw("_whenNotInitialized: revert") | |
520 | 534 | else true | |
521 | 535 | ||
522 | 536 | ||
523 | - | func | |
537 | + | func bM () = if (!(aq())) | |
524 | 538 | then throw("_whenInitialized: revert") | |
525 | 539 | else true | |
526 | 540 | ||
527 | 541 | ||
528 | - | func | |
542 | + | func bN (aT,aM,L) = { | |
529 | 543 | let ai = invoke(aJ(), B, [aT, aM], nil) | |
530 | 544 | if ((ai == ai)) | |
531 | 545 | then { | |
532 | 546 | let M = ai | |
533 | 547 | if ($isInstanceOf(M, "Boolean")) | |
534 | 548 | then { | |
535 | 549 | let N = M | |
536 | 550 | if (!(N)) | |
537 | 551 | then throw(L) | |
538 | 552 | else true | |
539 | 553 | } | |
540 | 554 | else throw(L) | |
541 | 555 | } | |
542 | 556 | else throw("Strict value is not equal to itself.") | |
543 | 557 | } | |
544 | 558 | ||
545 | 559 | ||
546 | - | func bL (ac,ae,L) = if (!(containsElement(ae, ac))) | |
560 | + | func bO (aT,aM) = { | |
561 | + | let ai = invoke(aJ(), C, [aT, aM], nil) | |
562 | + | if ((ai == ai)) | |
563 | + | then { | |
564 | + | let M = ai | |
565 | + | if ($isInstanceOf(M, "(String, ByteVector)")) | |
566 | + | then { | |
567 | + | let N = M | |
568 | + | N | |
569 | + | } | |
570 | + | else throw("_getRawEvent: revert") | |
571 | + | } | |
572 | + | else throw("Strict value is not equal to itself.") | |
573 | + | } | |
574 | + | ||
575 | + | ||
576 | + | func bP (ac,ae,L) = if (!(containsElement(ae, ac))) | |
547 | 577 | then throw(L) | |
548 | 578 | else true | |
549 | 579 | ||
550 | 580 | ||
551 | - | func | |
581 | + | func bQ (bq,L) = if ((aw() > ay(addressFromPublicKey(fromBase58String(bq))))) | |
552 | 582 | then throw(L) | |
553 | 583 | else true | |
554 | 584 | ||
555 | 585 | ||
556 | - | func | |
586 | + | func bR (aM,aT,L) = if ((aS(aM, aT) != F)) | |
557 | 587 | then throw(L) | |
558 | 588 | else true | |
559 | 589 | ||
560 | 590 | ||
561 | - | func | |
591 | + | func bS (aM,aT,L) = if ((aS(aM, aT) != G)) | |
562 | 592 | then throw(L) | |
563 | 593 | else true | |
564 | 594 | ||
565 | 595 | ||
566 | - | func | |
596 | + | func bT (aM,aT,L) = if (if ((aS(aM, aT) != G)) | |
567 | 597 | then true | |
568 | - | else (( | |
598 | + | else ((bA(aM, aT) + aD()) > height)) | |
569 | 599 | then throw(L) | |
570 | 600 | else true | |
571 | 601 | ||
572 | 602 | ||
573 | - | func | |
603 | + | func bU (aR) = { | |
574 | 604 | func af (ag,ah) = (ag ++ aX(ah, (aW(ah) + 1))) | |
575 | 605 | ||
576 | 606 | let aj = aR | |
577 | 607 | let ak = size(aj) | |
578 | 608 | let al = nil | |
579 | 609 | func am (an,ao) = if ((ao >= ak)) | |
580 | 610 | then an | |
581 | 611 | else af(an, aj[ao]) | |
582 | 612 | ||
583 | 613 | func ap (an,ao) = if ((ao >= ak)) | |
584 | 614 | then an | |
585 | 615 | else throw("List size exceeds 10") | |
586 | 616 | ||
587 | 617 | ap(am(am(am(am(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
588 | 618 | } | |
589 | 619 | ||
590 | 620 | ||
591 | - | func | |
621 | + | func bV (ac,L) = if ((aW(ac) > 0)) | |
592 | 622 | then throw(L) | |
593 | 623 | else true | |
594 | 624 | ||
595 | 625 | ||
596 | - | func | |
597 | - | let | |
598 | - | if (if (( | |
599 | - | then containsElement( | |
626 | + | func bW (aM,aT,bq,L) = { | |
627 | + | let bX = bp(aM, aT, bq) | |
628 | + | if (if ((bX != "")) | |
629 | + | then containsElement(bd(aM, aT), bX) | |
600 | 630 | else false) | |
601 | 631 | then throw(L) | |
602 | 632 | else true | |
603 | 633 | } | |
604 | 634 | ||
605 | 635 | ||
606 | - | func | |
607 | - | let | |
608 | - | if (if (( | |
609 | - | then containsElement( | |
636 | + | func bY (aM,aT,bq,L) = { | |
637 | + | let bZ = bt(aM, aT, bq) | |
638 | + | if (if ((bZ != "")) | |
639 | + | then containsElement(bg(aM, aT), bZ) | |
610 | 640 | else false) | |
611 | 641 | then throw(L) | |
612 | 642 | else true | |
613 | 643 | } | |
614 | 644 | ||
615 | 645 | ||
616 | - | func | |
617 | - | let | |
618 | - | if (if (( | |
646 | + | func ca (aM,aT,bq,L) = { | |
647 | + | let bX = bp(aM, aT, bq) | |
648 | + | if (if ((bX == "")) | |
619 | 649 | then true | |
620 | - | else !(containsElement( | |
650 | + | else !(containsElement(bd(aM, aT), bX))) | |
621 | 651 | then throw(L) | |
622 | 652 | else true | |
623 | 653 | } | |
624 | 654 | ||
625 | 655 | ||
626 | - | func | |
627 | - | let | |
628 | - | func af (ag,ah) = if (containsElement( | |
656 | + | func cb (cc,cd) = { | |
657 | + | let ce = aB() | |
658 | + | func af (ag,ah) = if (containsElement(cd, ah)) | |
629 | 659 | then $Tuple3(ag._1, (ag._2 :+ ah), ag._3) | |
630 | 660 | else { | |
631 | - | let | |
632 | - | $Tuple3((ag._1 ++ aA( | |
661 | + | let cf = addressFromPublicKey(fromBase58String(ah)) | |
662 | + | $Tuple3((ag._1 ++ aA(cf, (ay(cf) - ce))), ag._2, (ag._3 + ce)) | |
633 | 663 | } | |
634 | 664 | ||
635 | - | let aj = | |
665 | + | let aj = cc | |
636 | 666 | let ak = size(aj) | |
637 | 667 | let al = $Tuple3(nil, nil, 0) | |
638 | 668 | func am (an,ao) = if ((ao >= ak)) | |
639 | 669 | then an | |
640 | 670 | else af(an, aj[ao]) | |
641 | 671 | ||
642 | 672 | func ap (an,ao) = if ((ao >= ak)) | |
643 | 673 | then an | |
644 | 674 | else throw("List size exceeds 10") | |
645 | 675 | ||
646 | 676 | ap(am(am(am(am(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
647 | 677 | } | |
648 | 678 | ||
649 | 679 | ||
650 | - | func | |
651 | - | let | |
652 | - | func af (ag,ah) = (ag :+ ScriptTransfer(addressFromPublicKey(fromBase58String(ah)), | |
680 | + | func cg (aR,ch) = { | |
681 | + | let ci = (ch / size(aR)) | |
682 | + | func af (ag,ah) = (ag :+ ScriptTransfer(addressFromPublicKey(fromBase58String(ah)), ci, unit)) | |
653 | 683 | ||
654 | 684 | let aj = aR | |
655 | 685 | let ak = size(aj) | |
656 | 686 | let al = nil | |
657 | 687 | func am (an,ao) = if ((ao >= ak)) | |
658 | 688 | then an | |
659 | 689 | else af(an, aj[ao]) | |
660 | 690 | ||
661 | 691 | func ap (an,ao) = if ((ao >= ak)) | |
662 | 692 | then an | |
663 | 693 | else throw("List size exceeds 10") | |
664 | 694 | ||
665 | 695 | ap(am(am(am(am(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
666 | 696 | } | |
667 | 697 | ||
668 | 698 | ||
669 | - | func cf (ae) = { | |
670 | - | func cg (ch,ci) = (ch :+ toString(addressFromPublicKey(fromBase58String(ci)))) | |
699 | + | func cj (aM,aP,aT,bl,bo,L) = { | |
700 | + | let ck = bO(aT, aM) | |
701 | + | let cl = ck._1 | |
702 | + | let cm = ck._2 | |
703 | + | let cn = ba(aM, aP) | |
704 | + | if ((cl == D)) | |
705 | + | then { | |
706 | + | let co = (fromBase58String(bl) + fromBase58String(bo)) | |
707 | + | if (!(sigVerify(cm, co, cn))) | |
708 | + | then throw(L) | |
709 | + | else true | |
710 | + | } | |
711 | + | else if ((cl == E)) | |
712 | + | then true | |
713 | + | else throw(L) | |
714 | + | } | |
715 | + | ||
716 | + | ||
717 | + | func cp (ae) = { | |
718 | + | func cq (cr,cs) = (cr :+ toString(addressFromPublicKey(fromBase58String(cs)))) | |
671 | 719 | ||
672 | 720 | let aj = ae | |
673 | 721 | let ak = size(aj) | |
674 | 722 | let al = nil | |
675 | 723 | func am (an,ao) = if ((ao >= ak)) | |
676 | 724 | then an | |
677 | - | else | |
725 | + | else cq(an, aj[ao]) | |
678 | 726 | ||
679 | 727 | func ap (an,ao) = if ((ao >= ak)) | |
680 | 728 | then an | |
681 | 729 | else throw("List size exceeds 51") | |
682 | 730 | ||
683 | 731 | ap(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(am(al, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51) | |
684 | 732 | } | |
685 | 733 | ||
686 | 734 | ||
687 | - | @Callable( | |
688 | - | func init ( | |
689 | - | let | |
690 | - | then | |
735 | + | @Callable(ct) | |
736 | + | func init (cu,cv,cw,cx,cy,cz) = { | |
737 | + | let cA = if (if (if (if (if (if (if (if (bI(ct.caller)) | |
738 | + | then bL() | |
691 | 739 | else false) | |
692 | - | then | |
740 | + | then bK() | |
693 | 741 | else false) | |
694 | - | then Q( | |
742 | + | then Q(cu, cv, I, "init: invalid minSecDepo") | |
695 | 743 | else false) | |
696 | - | then Q( | |
744 | + | then Q(cv, 0, I, "init: invalid punishment") | |
697 | 745 | else false) | |
698 | - | then Q( | |
746 | + | then Q(cw, 0, I, "init: invalid resetBlockDelta") | |
699 | 747 | else false) | |
700 | - | then J( | |
748 | + | then J(cx, "init: invalid rewardTokenAddress") | |
701 | 749 | else false) | |
702 | - | then Q( | |
750 | + | then Q(cy, 0, I, "init: invalid rewardAmount") | |
703 | 751 | else false) | |
704 | - | then J( | |
752 | + | then J(cz, "init: invalid witnessAddress") | |
705 | 753 | else false | |
706 | - | if (( | |
707 | - | then $Tuple2(((((((ar(true) ++ ax( | |
754 | + | if ((cA == cA)) | |
755 | + | then $Tuple2(((((((ar(true) ++ ax(cu)) ++ aC(cv)) ++ aE(cw)) ++ aG(addressFromStringValue(cx))) ++ aI(cy)) ++ aK(addressFromStringValue(cz))), unit) | |
708 | 756 | else throw("Strict value is not equal to itself.") | |
709 | 757 | } | |
710 | 758 | ||
711 | 759 | ||
712 | 760 | ||
713 | - | @Callable( | |
714 | - | func setActiveSigners (aM,aR, | |
715 | - | let | |
716 | - | then | |
761 | + | @Callable(ct) | |
762 | + | func setActiveSigners (aM,aR,cB,bc) = { | |
763 | + | let cA = if (if (if (if (bI(ct.caller)) | |
764 | + | then bM() | |
717 | 765 | else false) | |
718 | 766 | then ad(aR, "setActiveSigners: invalid signers") | |
719 | 767 | else false) | |
720 | - | then Q(cr, 2, size(aR), "setActiveSigners: invalid T") | |
768 | + | then Q(cB, 2, size(aR), "setActiveSigners: invalid T") | |
769 | + | else false) | |
770 | + | then U(bc, "setActiveSigners: invalid signerGroupPublicKey") | |
721 | 771 | else false | |
722 | - | if (( | |
772 | + | if ((cA == cA)) | |
723 | 773 | then { | |
724 | - | let | |
725 | - | $Tuple2((((aN(aM, ( | |
774 | + | let cC = aL(aM) | |
775 | + | $Tuple2(((((aN(aM, (cC + 1)) ++ aZ(aM, (cC + 1), cB)) ++ aQ(aM, (cC + 1), aR)) ++ bb(aM, (cC + 1), fromBase58String(bc))) ++ bU(aR)), unit) | |
726 | 776 | } | |
727 | 777 | else throw("Strict value is not equal to itself.") | |
728 | 778 | } | |
729 | 779 | ||
730 | 780 | ||
731 | 781 | ||
732 | - | @Callable( | |
733 | - | func submitR (aT,aM, | |
734 | - | let | |
735 | - | let | |
736 | - | let | |
737 | - | let | |
782 | + | @Callable(ct) | |
783 | + | func submitR (aT,aM,bs) = { | |
784 | + | let cD = toBase58String(ct.callerPublicKey) | |
785 | + | let cC = aL(aM) | |
786 | + | let cE = aY(aM, cC) | |
787 | + | let cA = if (if (if (if (if (if (if (if (bM()) | |
738 | 788 | then Q(aT, 0, I, "submitR: invalid eventId") | |
739 | 789 | else false) | |
740 | 790 | then Q(aM, 0, I, "submitR: invalid execChainId") | |
741 | 791 | else false) | |
742 | - | then U( | |
792 | + | then U(bs, "submitR: invalid r") | |
743 | 793 | else false) | |
744 | - | then | |
794 | + | then bN(aT, aM, "submitR: event not confirmed") | |
745 | 795 | else false) | |
746 | - | then | |
796 | + | then bP(cD, aO(aM, cC), "submitR: not active") | |
747 | 797 | else false) | |
748 | - | then | |
798 | + | then bQ(cD, "submitR: not enough security deposit") | |
749 | 799 | else false) | |
750 | - | then | |
800 | + | then bR(aM, aT, "submitR: invalid event status") | |
751 | 801 | else false) | |
752 | - | then | |
802 | + | then bW(aM, aT, cD, "submitR: already submitted") | |
753 | 803 | else false | |
754 | - | if (( | |
804 | + | if ((cA == cA)) | |
755 | 805 | then { | |
756 | - | let | |
757 | - | let | |
758 | - | let | |
759 | - | then (aU(aM, aT, G) ++ | |
806 | + | let cF = bd(aM, aT) | |
807 | + | let cG = bw(aM, aT) | |
808 | + | let cH = if (((size(cF) + 1) == cE)) | |
809 | + | then (aU(aM, aT, G) ++ bB(aM, aT, height)) | |
760 | 810 | else nil | |
761 | - | $Tuple2(((( | |
811 | + | $Tuple2((((be(aM, aT, (cF :+ bs)) ++ br(aM, aT, cD, bs)) ++ bx(aM, aT, (cG :+ cD))) ++ cH), unit) | |
762 | 812 | } | |
763 | 813 | else throw("Strict value is not equal to itself.") | |
764 | 814 | } | |
765 | 815 | ||
766 | 816 | ||
767 | 817 | ||
768 | - | @Callable( | |
769 | - | func submitS (aT,aM, | |
770 | - | let | |
771 | - | let | |
772 | - | let | |
773 | - | let | |
818 | + | @Callable(ct) | |
819 | + | func submitS (aT,aM,bl,bv,bo) = { | |
820 | + | let cD = toBase58String(ct.callerPublicKey) | |
821 | + | let cC = aL(aM) | |
822 | + | let cE = aY(aM, cC) | |
823 | + | let cA = if (if (if (if (if (if (if (if (if (bM()) | |
774 | 824 | then Q(aT, 0, I, "submitS: invalid eventId") | |
775 | 825 | else false) | |
776 | 826 | then Q(aM, 0, I, "submitS: invalid execChainId") | |
777 | 827 | else false) | |
778 | - | then U( | |
828 | + | then U(bl, "submitS: invalid r sigma") | |
779 | 829 | else false) | |
780 | - | then U( | |
830 | + | then U(bv, "submitS: invalid s") | |
781 | 831 | else false) | |
782 | - | then | |
832 | + | then bP(cD, aO(aM, cC), "submitS: not active") | |
783 | 833 | else false) | |
784 | - | then | |
834 | + | then bQ(cD, "submitS: not enough security deposit") | |
785 | 835 | else false) | |
786 | - | then | |
836 | + | then bS(aM, aT, "submitS: invalid event status") | |
787 | 837 | else false) | |
788 | - | then | |
838 | + | then bY(aM, aT, cD, "submitS: already submitted") | |
789 | 839 | else false) | |
790 | - | then | |
840 | + | then ca(aM, aT, cD, "submitS: R is not submitted") | |
791 | 841 | else false | |
792 | - | if (( | |
842 | + | if ((cA == cA)) | |
793 | 843 | then { | |
794 | - | let | |
795 | - | let | |
796 | - | let | |
844 | + | let cI = bg(aM, aT) | |
845 | + | let cG = by(aM, aT) | |
846 | + | let cH = if (((size(cI) + 1) == cE)) | |
797 | 847 | then { | |
798 | - | let cz = U(bl, "submitS: invalid s sigma") | |
799 | - | if ((cz == cz)) | |
848 | + | let cJ = if (U(bo, "submitS: invalid s sigma")) | |
849 | + | then cj(aM, cC, aT, bl, bo, "submitS: invalid signature") | |
850 | + | else false | |
851 | + | if ((cJ == cJ)) | |
800 | 852 | then { | |
801 | - | let | |
802 | - | let | |
803 | - | let | |
804 | - | if (( | |
805 | - | then (((aU(aM, aT, H) ++ | |
853 | + | let cK = bC(aM) | |
854 | + | let cL = cp((cG :+ cD)) | |
855 | + | let cM = invoke(aF(), A, [aH(), cL], nil) | |
856 | + | if ((cM == cM)) | |
857 | + | then (((aU(aM, aT, H) ++ bH(aM, cK, aT)) ++ bE(aM, (cK + 1))) ++ bn(aM, aT, bo)) | |
806 | 858 | else throw("Strict value is not equal to itself.") | |
807 | 859 | } | |
808 | 860 | else throw("Strict value is not equal to itself.") | |
809 | 861 | } | |
810 | 862 | else nil | |
811 | - | $Tuple2((((( | |
863 | + | $Tuple2(((((bh(aM, aT, (cI :+ bv)) ++ bu(aM, aT, cD, bv)) ++ bz(aM, aT, (cG :+ cD))) ++ bk(aM, aT, bl)) ++ cH), unit) | |
812 | 864 | } | |
813 | 865 | else throw("Strict value is not equal to itself.") | |
814 | 866 | } | |
815 | 867 | ||
816 | 868 | ||
817 | 869 | ||
818 | - | @Callable( | |
819 | - | func reset (aT,aM, | |
820 | - | let | |
821 | - | let | |
822 | - | let | |
870 | + | @Callable(ct) | |
871 | + | func reset (aT,aM,bs) = { | |
872 | + | let cD = toBase58String(ct.callerPublicKey) | |
873 | + | let cC = aL(aM) | |
874 | + | let cA = if (if (if (if (if (if (bM()) | |
823 | 875 | then Q(aT, 0, I, "reset: invalid eventId") | |
824 | 876 | else false) | |
825 | 877 | then Q(aM, 0, I, "reset: invalid execChainId") | |
826 | 878 | else false) | |
827 | - | then U( | |
879 | + | then U(bs, "reset: invalid r") | |
828 | 880 | else false) | |
829 | - | then | |
881 | + | then bP(cD, aO(aM, cC), "reset: not active") | |
830 | 882 | else false) | |
831 | - | then | |
883 | + | then bQ(cD, "reset: not enough security deposit") | |
832 | 884 | else false) | |
833 | - | then | |
885 | + | then bT(aM, aT, "reset: invalid event status") | |
834 | 886 | else false | |
835 | - | if (( | |
887 | + | if ((cA == cA)) | |
836 | 888 | then { | |
837 | - | let | |
838 | - | let | |
839 | - | let | |
840 | - | let ai = | |
841 | - | let | |
842 | - | let | |
843 | - | let | |
844 | - | let | |
845 | - | $Tuple2((((((((((aU(aM, aT, F) ++ | |
889 | + | let cN = 0 | |
890 | + | let cO = bw(aM, aT) | |
891 | + | let cP = by(aM, aT) | |
892 | + | let ai = cb(cO, cP) | |
893 | + | let cQ = ai._1 | |
894 | + | let cR = ai._2 | |
895 | + | let cS = ai._3 | |
896 | + | let cT = cg(cR, cS) | |
897 | + | $Tuple2((((((((((aU(aM, aT, F) ++ be(aM, aT, [bs])) ++ br(aM, aT, cD, bs)) ++ bx(aM, aT, [cD])) ++ bk(aM, aT, "")) ++ bh(aM, aT, nil)) ++ bz(aM, aT, nil)) ++ bn(aM, aT, "")) ++ cQ) ++ cT), unit) | |
846 | 898 | } | |
847 | 899 | else throw("Strict value is not equal to itself.") | |
848 | 900 | } | |
849 | 901 | ||
850 | 902 | ||
851 | 903 | ||
852 | - | @Callable( | |
853 | - | func addSecurityDeposit ( | |
854 | - | let | |
855 | - | then toString( | |
856 | - | else | |
857 | - | let | |
858 | - | then V( | |
904 | + | @Callable(ct) | |
905 | + | func addSecurityDeposit (cU) = { | |
906 | + | let cV = if ((cU == "")) | |
907 | + | then toString(ct.caller) | |
908 | + | else cU | |
909 | + | let cA = if (if (J(cV, "addSecurityDeposit: invalid recipient")) | |
910 | + | then V(ct.payments, 1, "addSecurityDeposit: no payment") | |
859 | 911 | else false) | |
860 | - | then Y( | |
912 | + | then Y(ct.payments[0], unit, "addSecurityDeposit: invalid asset") | |
861 | 913 | else false | |
862 | - | if (( | |
914 | + | if ((cA == cA)) | |
863 | 915 | then { | |
864 | - | let | |
865 | - | let | |
866 | - | let | |
867 | - | $Tuple2(aA( | |
916 | + | let cW = addressFromStringValue(cV) | |
917 | + | let cX = ay(cW) | |
918 | + | let cY = (cX + ct.payments[0].amount) | |
919 | + | $Tuple2(aA(cW, cY), unit) | |
868 | 920 | } | |
869 | 921 | else throw("Strict value is not equal to itself.") | |
870 | 922 | } | |
871 | 923 | ||
872 | 924 | ||
873 | 925 | ||
874 | - | @Callable( | |
875 | - | func subSecurityDeposit ( | |
876 | - | let | |
877 | - | let | |
878 | - | then if (( | |
926 | + | @Callable(ct) | |
927 | + | func subSecurityDeposit (cZ) = { | |
928 | + | let cX = ay(ct.caller) | |
929 | + | let cA = if (bV(toBase58String(ct.callerPublicKey), "subSecurityDeposit: locked")) | |
930 | + | then if ((cZ > cX)) | |
879 | 931 | then throw("subSecurityDeposit: insufficient balance") | |
880 | 932 | else true | |
881 | 933 | else false | |
882 | - | if (( | |
883 | - | then $Tuple2((aA( | |
934 | + | if ((cA == cA)) | |
935 | + | then $Tuple2((aA(ct.caller, (cX - cZ)) ++ [ScriptTransfer(ct.caller, cZ, unit)]), unit) | |
884 | 936 | else throw("Strict value is not equal to itself.") | |
885 | 937 | } | |
886 | 938 | ||
887 | 939 | ||
888 | 940 | ||
889 | - | @Callable( | |
941 | + | @Callable(ct) | |
890 | 942 | func setMultisig (av) = { | |
891 | - | let | |
943 | + | let cA = if (bI(ct.caller)) | |
892 | 944 | then J(av, "setMultisig: invalid multisig address") | |
893 | 945 | else false | |
894 | - | if (( | |
946 | + | if ((cA == cA)) | |
895 | 947 | then $Tuple2(au(addressFromStringValue(av)), unit) | |
896 | 948 | else throw("Strict value is not equal to itself.") | |
897 | 949 | } | |
898 | 950 | ||
899 | 951 | ||
900 | - | @Verifier( | |
901 | - | func | |
952 | + | @Verifier(da) | |
953 | + | func db () = { | |
902 | 954 | let M = getString(c) | |
903 | 955 | if ($isInstanceOf(M, "String")) | |
904 | 956 | then { | |
905 | - | let | |
906 | - | valueOrElse(getBoolean(addressFromStringValue( | |
957 | + | let dc = M | |
958 | + | valueOrElse(getBoolean(addressFromStringValue(dc), makeString([d, toString(this), toBase58String(da.id)], a)), false) | |
907 | 959 | } | |
908 | - | else sigVerify( | |
960 | + | else sigVerify(da.bodyBytes, da.proofs[0], da.senderPublicKey) | |
909 | 961 | } | |
910 | 962 |
github/deemru/w8io/169f3d6 174.25 ms ◑