Automate_Implementation.json 196 KB
Newer Older
vicotor's avatar
vicotor committed
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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962
{
  "address": "0xC97aBa1B6cf4d8aCa19dFba68e99befaDA9aeFE3",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address payable",
          "name": "_gelato",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": true,
          "internalType": "address",
          "name": "sponsor",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "target",
          "type": "address"
        },
        {
          "indexed": true,
          "internalType": "address",
          "name": "feeToken",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "oneBalanceChainId",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "nativeToFeeTokenXRateNumerator",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "nativeToFeeTokenXRateDenominator",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "bytes32",
          "name": "correlationId",
          "type": "bytes32"
        }
      ],
      "name": "LogUseGelato1Balance",
      "type": "event"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "_taskId",
          "type": "bytes32"
        }
      ],
      "name": "cancelTask",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "_execDataOrSelector",
          "type": "bytes"
        },
        {
          "components": [
            {
              "internalType": "enum LibDataTypes.Module[]",
              "name": "modules",
              "type": "uint8[]"
            },
            {
              "internalType": "bytes[]",
              "name": "args",
              "type": "bytes[]"
            }
          ],
          "internalType": "struct LibDataTypes.ModuleData",
          "name": "_moduleData",
          "type": "tuple"
        },
        {
          "internalType": "address",
          "name": "_feeToken",
          "type": "address"
        }
      ],
      "name": "createTask",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "taskId",
          "type": "bytes32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_taskCreator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "_execData",
          "type": "bytes"
        },
        {
          "components": [
            {
              "internalType": "enum LibDataTypes.Module[]",
              "name": "modules",
              "type": "uint8[]"
            },
            {
              "internalType": "bytes[]",
              "name": "args",
              "type": "bytes[]"
            }
          ],
          "internalType": "struct LibDataTypes.ModuleData",
          "name": "_moduleData",
          "type": "tuple"
        },
        {
          "internalType": "uint256",
          "name": "_txFee",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_feeToken",
          "type": "address"
        },
        {
          "internalType": "bool",
          "name": "_revertOnFailure",
          "type": "bool"
        }
      ],
      "name": "exec",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_taskCreator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "_execData",
          "type": "bytes"
        },
        {
          "components": [
            {
              "internalType": "enum LibDataTypes.Module[]",
              "name": "modules",
              "type": "uint8[]"
            },
            {
              "internalType": "bytes[]",
              "name": "args",
              "type": "bytes[]"
            }
          ],
          "internalType": "struct LibDataTypes.ModuleData",
          "name": "_moduleData",
          "type": "tuple"
        },
        {
          "components": [
            {
              "internalType": "address",
              "name": "sponsor",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "feeToken",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "oneBalanceChainId",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "nativeToFeeTokenXRateNumerator",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "nativeToFeeTokenXRateDenominator",
              "type": "uint256"
            },
            {
              "internalType": "bytes32",
              "name": "correlationId",
              "type": "bytes32"
            }
          ],
          "internalType": "struct IGelato1Balance.Gelato1BalanceParam",
          "name": "_oneBalanceParam",
          "type": "tuple"
        },
        {
          "internalType": "bool",
          "name": "_revertOnFailure",
          "type": "bool"
        }
      ],
      "name": "exec1Balance",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "execAddresses",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_taskCreator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_taskId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes32",
          "name": "_correlationId",
          "type": "bytes32"
        },
        {
          "internalType": "bytes",
          "name": "_execData",
          "type": "bytes"
        },
        {
          "internalType": "bool",
          "name": "_revertOnFailure",
          "type": "bool"
        },
        {
          "internalType": "bool",
          "name": "_singleExec",
          "type": "bool"
        }
      ],
      "name": "execBypassModule",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_taskCreator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "_taskId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "_txFee",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "_feeToken",
          "type": "address"
        },
        {
          "internalType": "bytes",
          "name": "_execData",
          "type": "bytes"
        },
        {
          "internalType": "bool",
          "name": "_revertOnFailure",
          "type": "bool"
        },
        {
          "internalType": "bool",
          "name": "_singleExec",
          "type": "bool"
        }
      ],
      "name": "execBypassModuleSyncFee",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "fee",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "feeToken",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "gelato",
      "outputs": [
        {
          "internalType": "address payable",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getFeeDetails",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "taskCreator",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "execAddress",
          "type": "address"
        },
        {
          "internalType": "bytes4",
          "name": "execSelector",
          "type": "bytes4"
        },
        {
          "components": [
            {
              "internalType": "enum LibDataTypes.Module[]",
              "name": "modules",
              "type": "uint8[]"
            },
            {
              "internalType": "bytes[]",
              "name": "args",
              "type": "bytes[]"
            }
          ],
          "internalType": "struct LibDataTypes.ModuleData",
          "name": "moduleData",
          "type": "tuple"
        },
        {
          "internalType": "address",
          "name": "feeToken",
          "type": "address"
        }
      ],
      "name": "getTaskId",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "taskId",
          "type": "bytes32"
        }
      ],
      "stateMutability": "pure",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_taskCreator",
          "type": "address"
        }
      ],
      "name": "getTaskIdsByUser",
      "outputs": [
        {
          "internalType": "bytes32[]",
          "name": "",
          "type": "bytes32[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "nonce1Balance",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "enum LibDataTypes.Module[]",
          "name": "_modules",
          "type": "uint8[]"
        },
        {
          "internalType": "address[]",
          "name": "_moduleAddresses",
          "type": "address[]"
        }
      ],
      "name": "setModule",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "taskCreator",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "enum LibDataTypes.Module",
          "name": "",
          "type": "uint8"
        }
      ],
      "name": "taskModuleAddresses",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "",
          "type": "bytes32"
        }
      ],
      "name": "timedTask",
      "outputs": [
        {
          "internalType": "uint128",
          "name": "nextExec",
          "type": "uint128"
        },
        {
          "internalType": "uint128",
          "name": "interval",
          "type": "uint128"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "version",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "transactionHash": "0xe0332c304ec17dbfa31d933d0ab30c0f8294dd7b274a4a2ed9db96ddc251a2ce",
  "receipt": {
    "to": null,
    "from": "0xD9BeF6C69B6CAB3d651534c46541d21cC2b36723",
    "contractAddress": "0xC97aBa1B6cf4d8aCa19dFba68e99befaDA9aeFE3",
    "transactionIndex": 1,
    "gasUsed": "4090889",
    "logsBloom": "0x00000000000000000000000000000000000000002000000000000000000004000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000800000000000000000000104000001000000000000000000100000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000004000000000000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000100000",
    "blockHash": "0x2e54b503819313bd2952ece6665b3e4ace46dbd8e61011b6cfe04ee7aa76c6c0",
    "transactionHash": "0xe0332c304ec17dbfa31d933d0ab30c0f8294dd7b274a4a2ed9db96ddc251a2ce",
    "logs": [
      {
        "transactionIndex": 1,
        "blockNumber": 6176383,
        "transactionHash": "0xe0332c304ec17dbfa31d933d0ab30c0f8294dd7b274a4a2ed9db96ddc251a2ce",
        "address": "0x0000000000000000000000000000000000001010",
        "topics": [
          "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
          "0x0000000000000000000000000000000000000000000000000000000000001010",
          "0x000000000000000000000000d9bef6c69b6cab3d651534c46541d21cc2b36723",
          "0x0000000000000000000000004631753190f2f5a15a7ba172bbac102b7d95fa22"
        ],
        "data": "0x000000000000000000000000000000000000000000000000001d1148a35234000000000000000000000000000000000000000000000000000425303f9919d1880000000000000000000000000000000000000000000000500055df6c81b5708500000000000000000000000000000000000000000000000004081ef6f5c79d880000000000000000000000000000000000000000000000500072f0b52507a485",
        "logIndex": 2,
        "blockHash": "0x2e54b503819313bd2952ece6665b3e4ace46dbd8e61011b6cfe04ee7aa76c6c0"
      }
    ],
    "blockNumber": 6176383,
    "cumulativeGasUsed": "4312669",
    "status": 1,
    "byzantium": true
  },
  "args": ["0x963F2BeF2e6ac7764576bF449011eCcc759C0324"],
  "numDeployments": 1,
  "solcInputHash": "cbdbea7c3520531d2f6235911ca6ac38",
  "metadata": "{\"compiler\":{\"version\":\"0.8.14+commit.80d49f37\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"_gelato\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sponsor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oneBalanceChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nativeToFeeTokenXRateNumerator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nativeToFeeTokenXRateDenominator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"correlationId\",\"type\":\"bytes32\"}],\"name\":\"LogUseGelato1Balance\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_taskId\",\"type\":\"bytes32\"}],\"name\":\"cancelTask\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_execDataOrSelector\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enum LibDataTypes.Module[]\",\"name\":\"modules\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes[]\",\"name\":\"args\",\"type\":\"bytes[]\"}],\"internalType\":\"struct LibDataTypes.ModuleData\",\"name\":\"_moduleData\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_feeToken\",\"type\":\"address\"}],\"name\":\"createTask\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"taskId\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_taskCreator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_execData\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enum LibDataTypes.Module[]\",\"name\":\"modules\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes[]\",\"name\":\"args\",\"type\":\"bytes[]\"}],\"internalType\":\"struct LibDataTypes.ModuleData\",\"name\":\"_moduleData\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"_txFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeToken\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_revertOnFailure\",\"type\":\"bool\"}],\"name\":\"exec\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_taskCreator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_execData\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"enum LibDataTypes.Module[]\",\"name\":\"modules\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes[]\",\"name\":\"args\",\"type\":\"bytes[]\"}],\"internalType\":\"struct LibDataTypes.ModuleData\",\"name\":\"_moduleData\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sponsor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"oneBalanceChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeToFeeTokenXRateNumerator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nativeToFeeTokenXRateDenominator\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"correlationId\",\"type\":\"bytes32\"}],\"internalType\":\"struct IGelato1Balance.Gelato1BalanceParam\",\"name\":\"_oneBalanceParam\",\"type\":\"tuple\"},{\"internalType\":\"bool\",\"name\":\"_revertOnFailure\",\"type\":\"bool\"}],\"name\":\"exec1Balance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"execAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_taskCreator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_taskId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_correlationId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"_execData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"_revertOnFailure\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_singleExec\",\"type\":\"bool\"}],\"name\":\"execBypassModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_taskCreator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_taskId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_txFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeToken\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_execData\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"_revertOnFailure\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_singleExec\",\"type\":\"bool\"}],\"name\":\"execBypassModuleSyncFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelato\",\"outputs\":[{\"internalType\":\"address payable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeDetails\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"taskCreator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"execAddress\",\"type\":\"address\"},{\"internalType\":\"bytes4\",\"name\":\"execSelector\",\"type\":\"bytes4\"},{\"components\":[{\"internalType\":\"enum LibDataTypes.Module[]\",\"name\":\"modules\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes[]\",\"name\":\"args\",\"type\":\"bytes[]\"}],\"internalType\":\"struct LibDataTypes.ModuleData\",\"name\":\"moduleData\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"}],\"name\":\"getTaskId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"taskId\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_taskCreator\",\"type\":\"address\"}],\"name\":\"getTaskIdsByUser\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"nonce1Balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum LibDataTypes.Module[]\",\"name\":\"_modules\",\"type\":\"uint8[]\"},{\"internalType\":\"address[]\",\"name\":\"_moduleAddresses\",\"type\":\"address[]\"}],\"name\":\"setModule\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"taskCreator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum LibDataTypes.Module\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"taskModuleAddresses\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"timedTask\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"nextExec\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"interval\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"cancelTask(bytes32)\":{\"params\":{\"taskId\":\"Unique hash of the task that is being cancelled. {See LibTaskId-getTaskId}\"}},\"createTask(address,bytes,(uint8[],bytes[]),address)\":{\"params\":{\"execAddress\":\"Address of contract that should be called by Gelato.\",\"execData\":\"Execution data to be called with / function selector if execution data is yet to be determined.\",\"feeToken\":\"Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.\",\"moduleData\":\"Conditional modules that will be used. {See LibDataTypes-ModuleData}\"},\"returns\":{\"taskId\":\"Unique hash of the task created.\"}},\"exec(address,address,bytes,(uint8[],bytes[]),uint256,address,bool)\":{\"params\":{\"execAddress\":\"Address of contract that should be called by Gelato.\",\"execData\":\"Execution data to be called with / function selector if execution data is yet to be determined.\",\"feeToken\":\"Token used to pay for the execution. ETH = 0xeeeeee...\",\"moduleData\":\"Conditional modules that will be used. {See LibDataTypes-ModuleData}\",\"revertOnFailure\":\"To revert or not if call to execAddress fails. (Used for off-chain simulations)\",\"taskCreator\":\"The address which created the task.\",\"txFee\":\"Fee paid to Gelato for execution, transfered to Gelato.feeCollector().\"}},\"exec1Balance(address,address,bytes,(uint8[],bytes[]),(address,address,uint256,uint256,uint256,bytes32),bool)\":{\"params\":{\"execAddress\":\"Address of contract that should be called by Gelato.\",\"execData\":\"Execution data to be called with / function selector if execution data is yet to be determined.\",\"moduleData\":\"Conditional modules that will be used. {See LibDataTypes-ModuleData}\",\"oneBalanceParam\":\"Parameters required for fee payment with Gelato 1Balance.\",\"revertOnFailure\":\"To revert or not if call to execAddress fails. (Used for off-chain simulations)\",\"taskCreator\":\"The address which created the task.\"}},\"execBypassModule(address,address,bytes32,bytes32,bytes,bool,bool)\":{\"params\":{\"correlationId\":\"Id of the execution to be used for 1Balance settlement.\",\"execAddress\":\"Address of contract that should be called by Gelato.\",\"execData\":\"Execution data to be called with / function selector if execution data is yet to be determined.\",\"revertOnFailure\":\"To revert or not if call to execAddress fails. (Used for off-chain simulations)\",\"singleExec\":\"If the task is a SingleExec task. If true, task will be cancelled after execution.\",\"taskCreator\":\"The address which created the task.\",\"taskId\":\"Unique hash of the task.\"}},\"getFeeDetails()\":{\"returns\":{\"_0\":\"uint256 Fee amount to be paid.\",\"_1\":\"address Token to be paid. (Determined and passed by taskCreator during createTask)\"}},\"getTaskId(address,address,bytes4,(uint8[],bytes[]),address)\":{\"params\":{\"execAddress\":\"Address of contract that will be called by Gelato.\",\"execSelector\":\"Signature of the function which will be called by Gelato.\",\"feeToken\":\"Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.\",\"moduleData\":\"Conditional modules that will be used. {See LibDataTypes-ModuleData}\",\"taskCreator\":\"The address which created the task.\"}},\"getTaskIdsByUser(address)\":{\"params\":{\"taskCreator\":\"Address of task creator to query.\"},\"returns\":{\"_0\":\"bytes32[] List of taskIds created.\"}},\"setModule(uint8[],address[])\":{\"params\":{\"moduleAddresses\":\"List of addresses for respective modules.\",\"modules\":\"List of modules to be set\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"cancelTask(bytes32)\":{\"notice\":\"Terminates a task that was created and Gelato can no longer execute it.\"},\"createTask(address,bytes,(uint8[],bytes[]),address)\":{\"notice\":\"Initiates a task with conditions which Gelato will monitor and execute when conditions are met.\"},\"exec(address,address,bytes,(uint8[],bytes[]),uint256,address,bool)\":{\"notice\":\"Execution API called by Gelato, using Sync Fee as fee payment method\"},\"exec1Balance(address,address,bytes,(uint8[],bytes[]),(address,address,uint256,uint256,uint256,bytes32),bool)\":{\"notice\":\"Execution API called by Gelato, using Gelato 1Balance as fee payment method.\"},\"execBypassModule(address,address,bytes32,bytes32,bytes,bool,bool)\":{\"notice\":\"Execution API called by Gelato, using Gelato 1Balance as fee payment method.\"},\"getFeeDetails()\":{\"notice\":\"Helper function to query fee and feeToken to be used for payment. (For executions which pays itself)\"},\"getTaskId(address,address,bytes4,(uint8[],bytes[]),address)\":{\"notice\":\"Helper function to compute task id with module arguments\"},\"getTaskIdsByUser(address)\":{\"notice\":\"Helper func to query all open tasks by a task creator.\"},\"setModule(uint8[],address[])\":{\"notice\":\"Sets the address of task modules. Only callable by proxy admin.\"}},\"notice\":\"Automate enables everyone to have Gelato monitor and execute transactions.ExecAddress refers to the contract that has the function which Gelato will call.Modules allow users to customise conditions and specifications when creating a task.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/Automate.sol\":\"Automate\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n */\\ninterface IERC20 {\\n    /**\\n     * @dev Returns the amount of tokens in existence.\\n     */\\n    function totalSupply() external view returns (uint256);\\n\\n    /**\\n     * @dev Returns the amount of tokens owned by `account`.\\n     */\\n    function balanceOf(address account) external view returns (uint256);\\n\\n    /**\\n     * @dev Moves `amount` tokens from the caller's account to `to`.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transfer(address to, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Returns the remaining number of tokens that `spender` will be\\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n     * zero by default.\\n     *\\n     * This value changes when {approve} or {transferFrom} are called.\\n     */\\n    function allowance(address owner, address spender) external view returns (uint256);\\n\\n    /**\\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n     * that someone may use both the old and the new allowance by unfortunate\\n     * transaction ordering. One possible solution to mitigate this race\\n     * condition is to first reduce the spender's allowance to 0 and set the\\n     * desired value afterwards:\\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n     *\\n     * Emits an {Approval} event.\\n     */\\n    function approve(address spender, uint256 amount) external returns (bool);\\n\\n    /**\\n     * @dev Moves `amount` tokens from `from` to `to` using the\\n     * allowance mechanism. `amount` is then deducted from the caller's\\n     * allowance.\\n     *\\n     * Returns a boolean value indicating whether the operation succeeded.\\n     *\\n     * Emits a {Transfer} event.\\n     */\\n    function transferFrom(\\n        address from,\\n        address to,\\n        uint256 amount\\n    ) external returns (bool);\\n\\n    /**\\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n     * another (`to`).\\n     *\\n     * Note that `value` may be zero.\\n     */\\n    event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n    /**\\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n     * a call to {approve}. `value` is the new allowance.\\n     */\\n    event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\"},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../IERC20.sol\\\";\\nimport \\\"../../../utils/Address.sol\\\";\\n\\n/**\\n * @title SafeERC20\\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\\n * contract returns false). Tokens that return no value (and instead revert or\\n * throw on failure) are also supported, non-reverting calls are assumed to be\\n * successful.\\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\\n */\\nlibrary SafeERC20 {\\n    using Address for address;\\n\\n    function safeTransfer(\\n        IERC20 token,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));\\n    }\\n\\n    function safeTransferFrom(\\n        IERC20 token,\\n        address from,\\n        address to,\\n        uint256 value\\n    ) internal {\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));\\n    }\\n\\n    /**\\n     * @dev Deprecated. This function has issues similar to the ones found in\\n     * {IERC20-approve}, and its usage is discouraged.\\n     *\\n     * Whenever possible, use {safeIncreaseAllowance} and\\n     * {safeDecreaseAllowance} instead.\\n     */\\n    function safeApprove(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        // safeApprove should only be called when setting an initial allowance,\\n        // or when resetting it to zero. To increase and decrease it, use\\n        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'\\n        require(\\n            (value == 0) || (token.allowance(address(this), spender) == 0),\\n            \\\"SafeERC20: approve from non-zero to non-zero allowance\\\"\\n        );\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));\\n    }\\n\\n    function safeIncreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        uint256 newAllowance = token.allowance(address(this), spender) + value;\\n        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n    }\\n\\n    function safeDecreaseAllowance(\\n        IERC20 token,\\n        address spender,\\n        uint256 value\\n    ) internal {\\n        unchecked {\\n            uint256 oldAllowance = token.allowance(address(this), spender);\\n            require(oldAllowance >= value, \\\"SafeERC20: decreased allowance below zero\\\");\\n            uint256 newAllowance = oldAllowance - value;\\n            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));\\n        }\\n    }\\n\\n    /**\\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\\n     * @param token The token targeted by the call.\\n     * @param data The call data (encoded using abi.encode or one of its variants).\\n     */\\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\\n        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that\\n        // the target address contains contract code and also asserts for success in the low-level call.\\n\\n        bytes memory returndata = address(token).functionCall(data, \\\"SafeERC20: low-level call failed\\\");\\n        if (returndata.length > 0) {\\n            // Return data is optional\\n            require(abi.decode(returndata, (bool)), \\\"SafeERC20: ERC20 operation did not succeed\\\");\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xc3d946432c0ddbb1f846a0d3985be71299df331b91d06732152117f62f0be2b5\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/Address.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary Address {\\n    /**\\n     * @dev Returns true if `account` is a contract.\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * It is unsafe to assume that an address for which this function returns\\n     * false is an externally-owned account (EOA) and not a contract.\\n     *\\n     * Among others, `isContract` will return false for the following\\n     * types of addresses:\\n     *\\n     *  - an externally-owned account\\n     *  - a contract in construction\\n     *  - an address where a contract will be created\\n     *  - an address where a contract lived, but was destroyed\\n     * ====\\n     *\\n     * [IMPORTANT]\\n     * ====\\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n     *\\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n     * constructor.\\n     * ====\\n     */\\n    function isContract(address account) internal view returns (bool) {\\n        // This method relies on extcodesize/address.code.length, which returns 0\\n        // for contracts in construction, since the code is only stored at the end\\n        // of the constructor execution.\\n\\n        return account.code.length > 0;\\n    }\\n\\n    /**\\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n     * `recipient`, forwarding all available gas and reverting on errors.\\n     *\\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n     * imposed by `transfer`, making them unable to receive funds via\\n     * `transfer`. {sendValue} removes this limitation.\\n     *\\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n     *\\n     * IMPORTANT: because control is transferred to `recipient`, care must be\\n     * taken to not create reentrancy vulnerabilities. Consider using\\n     * {ReentrancyGuard} or the\\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n     */\\n    function sendValue(address payable recipient, uint256 amount) internal {\\n        require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n        (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n        require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n    }\\n\\n    /**\\n     * @dev Performs a Solidity function call using a low level `call`. A\\n     * plain `call` is an unsafe replacement for a function call: use this\\n     * function instead.\\n     *\\n     * If `target` reverts with a revert reason, it is bubbled up by this\\n     * function (like regular Solidity function calls).\\n     *\\n     * Returns the raw returned data. To convert to the expected return value,\\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n     *\\n     * Requirements:\\n     *\\n     * - `target` must be a contract.\\n     * - calling `target` with `data` must not revert.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n     * `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, 0, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but also transferring `value` wei to `target`.\\n     *\\n     * Requirements:\\n     *\\n     * - the calling contract must have an ETH balance of at least `value`.\\n     * - the called Solidity function must be `payable`.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value\\n    ) internal returns (bytes memory) {\\n        return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\\n     *\\n     * _Available since v3.1._\\n     */\\n    function functionCallWithValue(\\n        address target,\\n        bytes memory data,\\n        uint256 value,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n        require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n        return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a static call.\\n     *\\n     * _Available since v3.3._\\n     */\\n    function functionStaticCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal view returns (bytes memory) {\\n        require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.staticcall(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\\n        return functionDelegateCall(target, data, \\\"Address: low-level delegate call failed\\\");\\n    }\\n\\n    /**\\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n     * but performing a delegate call.\\n     *\\n     * _Available since v3.4._\\n     */\\n    function functionDelegateCall(\\n        address target,\\n        bytes memory data,\\n        string memory errorMessage\\n    ) internal returns (bytes memory) {\\n        require(isContract(target), \\\"Address: delegate call to non-contract\\\");\\n\\n        (bool success, bytes memory returndata) = target.delegatecall(data);\\n        return verifyCallResult(success, returndata, errorMessage);\\n    }\\n\\n    /**\\n     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n     * revert reason using the provided one.\\n     *\\n     * _Available since v4.3._\\n     */\\n    function verifyCallResult(\\n        bool success,\\n        bytes memory returndata,\\n        string memory errorMessage\\n    ) internal pure returns (bytes memory) {\\n        if (success) {\\n            return returndata;\\n        } else {\\n            // Look for revert reason and bubble it up if present\\n            if (returndata.length > 0) {\\n                // The easiest way to bubble the revert reason is using memory via assembly\\n\\n                assembly {\\n                    let returndata_size := mload(returndata)\\n                    revert(add(32, returndata), returndata_size)\\n                }\\n            } else {\\n                revert(errorMessage);\\n            }\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x2ccf9d2313a313d41a791505f2b5abfdc62191b5d4334f7f7a82691c088a1c87\",\"license\":\"MIT\"},\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol)\\n\\npragma solidity ^0.8.0;\\n\\n/**\\n * @dev Library for managing\\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\\n * types.\\n *\\n * Sets have the following properties:\\n *\\n * - Elements are added, removed, and checked for existence in constant time\\n * (O(1)).\\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\\n *\\n * ```\\n * contract Example {\\n *     // Add the library methods\\n *     using EnumerableSet for EnumerableSet.AddressSet;\\n *\\n *     // Declare a set state variable\\n *     EnumerableSet.AddressSet private mySet;\\n * }\\n * ```\\n *\\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\\n * and `uint256` (`UintSet`) are supported.\\n */\\nlibrary EnumerableSet {\\n    // To implement this library for multiple types with as little code\\n    // repetition as possible, we write it in terms of a generic Set type with\\n    // bytes32 values.\\n    // The Set implementation uses private functions, and user-facing\\n    // implementations (such as AddressSet) are just wrappers around the\\n    // underlying Set.\\n    // This means that we can only create new EnumerableSets for types that fit\\n    // in bytes32.\\n\\n    struct Set {\\n        // Storage of set values\\n        bytes32[] _values;\\n        // Position of the value in the `values` array, plus 1 because index 0\\n        // means a value is not in the set.\\n        mapping(bytes32 => uint256) _indexes;\\n    }\\n\\n    /**\\n     * @dev Add a value to a set. O(1).\\n     *\\n     * Returns true if the value was added to the set, that is if it was not\\n     * already present.\\n     */\\n    function _add(Set storage set, bytes32 value) private returns (bool) {\\n        if (!_contains(set, value)) {\\n            set._values.push(value);\\n            // The value is stored at length-1, but we add 1 to all indexes\\n            // and use 0 as a sentinel value\\n            set._indexes[value] = set._values.length;\\n            return true;\\n        } else {\\n            return false;\\n        }\\n    }\\n\\n    /**\\n     * @dev Removes a value from a set. O(1).\\n     *\\n     * Returns true if the value was removed from the set, that is if it was\\n     * present.\\n     */\\n    function _remove(Set storage set, bytes32 value) private returns (bool) {\\n        // We read and store the value's index to prevent multiple reads from the same storage slot\\n        uint256 valueIndex = set._indexes[value];\\n\\n        if (valueIndex != 0) {\\n            // Equivalent to contains(set, value)\\n            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\\n            // the array, and then remove the last element (sometimes called as 'swap and pop').\\n            // This modifies the order of the array, as noted in {at}.\\n\\n            uint256 toDeleteIndex = valueIndex - 1;\\n            uint256 lastIndex = set._values.length - 1;\\n\\n            if (lastIndex != toDeleteIndex) {\\n                bytes32 lastvalue = set._values[lastIndex];\\n\\n                // Move the last value to the index where the value to delete is\\n                set._values[toDeleteIndex] = lastvalue;\\n                // Update the index for the moved value\\n                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex\\n            }\\n\\n            // Delete the slot where the moved value was stored\\n            set._values.pop();\\n\\n            // Delete the index for the deleted slot\\n            delete set._indexes[value];\\n\\n            return true;\\n        } else {\\n            return false;\\n        }\\n    }\\n\\n    /**\\n     * @dev Returns true if the value is in the set. O(1).\\n     */\\n    function _contains(Set storage set, bytes32 value) private view returns (bool) {\\n        return set._indexes[value] != 0;\\n    }\\n\\n    /**\\n     * @dev Returns the number of values on the set. O(1).\\n     */\\n    function _length(Set storage set) private view returns (uint256) {\\n        return set._values.length;\\n    }\\n\\n    /**\\n     * @dev Returns the value stored at position `index` in the set. O(1).\\n     *\\n     * Note that there are no guarantees on the ordering of values inside the\\n     * array, and it may change when more values are added or removed.\\n     *\\n     * Requirements:\\n     *\\n     * - `index` must be strictly less than {length}.\\n     */\\n    function _at(Set storage set, uint256 index) private view returns (bytes32) {\\n        return set._values[index];\\n    }\\n\\n    /**\\n     * @dev Return the entire set in an array\\n     *\\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n     */\\n    function _values(Set storage set) private view returns (bytes32[] memory) {\\n        return set._values;\\n    }\\n\\n    // Bytes32Set\\n\\n    struct Bytes32Set {\\n        Set _inner;\\n    }\\n\\n    /**\\n     * @dev Add a value to a set. O(1).\\n     *\\n     * Returns true if the value was added to the set, that is if it was not\\n     * already present.\\n     */\\n    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n        return _add(set._inner, value);\\n    }\\n\\n    /**\\n     * @dev Removes a value from a set. O(1).\\n     *\\n     * Returns true if the value was removed from the set, that is if it was\\n     * present.\\n     */\\n    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\\n        return _remove(set._inner, value);\\n    }\\n\\n    /**\\n     * @dev Returns true if the value is in the set. O(1).\\n     */\\n    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\\n        return _contains(set._inner, value);\\n    }\\n\\n    /**\\n     * @dev Returns the number of values in the set. O(1).\\n     */\\n    function length(Bytes32Set storage set) internal view returns (uint256) {\\n        return _length(set._inner);\\n    }\\n\\n    /**\\n     * @dev Returns the value stored at position `index` in the set. O(1).\\n     *\\n     * Note that there are no guarantees on the ordering of values inside the\\n     * array, and it may change when more values are added or removed.\\n     *\\n     * Requirements:\\n     *\\n     * - `index` must be strictly less than {length}.\\n     */\\n    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\\n        return _at(set._inner, index);\\n    }\\n\\n    /**\\n     * @dev Return the entire set in an array\\n     *\\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n     */\\n    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\\n        return _values(set._inner);\\n    }\\n\\n    // AddressSet\\n\\n    struct AddressSet {\\n        Set _inner;\\n    }\\n\\n    /**\\n     * @dev Add a value to a set. O(1).\\n     *\\n     * Returns true if the value was added to the set, that is if it was not\\n     * already present.\\n     */\\n    function add(AddressSet storage set, address value) internal returns (bool) {\\n        return _add(set._inner, bytes32(uint256(uint160(value))));\\n    }\\n\\n    /**\\n     * @dev Removes a value from a set. O(1).\\n     *\\n     * Returns true if the value was removed from the set, that is if it was\\n     * present.\\n     */\\n    function remove(AddressSet storage set, address value) internal returns (bool) {\\n        return _remove(set._inner, bytes32(uint256(uint160(value))));\\n    }\\n\\n    /**\\n     * @dev Returns true if the value is in the set. O(1).\\n     */\\n    function contains(AddressSet storage set, address value) internal view returns (bool) {\\n        return _contains(set._inner, bytes32(uint256(uint160(value))));\\n    }\\n\\n    /**\\n     * @dev Returns the number of values in the set. O(1).\\n     */\\n    function length(AddressSet storage set) internal view returns (uint256) {\\n        return _length(set._inner);\\n    }\\n\\n    /**\\n     * @dev Returns the value stored at position `index` in the set. O(1).\\n     *\\n     * Note that there are no guarantees on the ordering of values inside the\\n     * array, and it may change when more values are added or removed.\\n     *\\n     * Requirements:\\n     *\\n     * - `index` must be strictly less than {length}.\\n     */\\n    function at(AddressSet storage set, uint256 index) internal view returns (address) {\\n        return address(uint160(uint256(_at(set._inner, index))));\\n    }\\n\\n    /**\\n     * @dev Return the entire set in an array\\n     *\\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n     */\\n    function values(AddressSet storage set) internal view returns (address[] memory) {\\n        bytes32[] memory store = _values(set._inner);\\n        address[] memory result;\\n\\n        assembly {\\n            result := store\\n        }\\n\\n        return result;\\n    }\\n\\n    // UintSet\\n\\n    struct UintSet {\\n        Set _inner;\\n    }\\n\\n    /**\\n     * @dev Add a value to a set. O(1).\\n     *\\n     * Returns true if the value was added to the set, that is if it was not\\n     * already present.\\n     */\\n    function add(UintSet storage set, uint256 value) internal returns (bool) {\\n        return _add(set._inner, bytes32(value));\\n    }\\n\\n    /**\\n     * @dev Removes a value from a set. O(1).\\n     *\\n     * Returns true if the value was removed from the set, that is if it was\\n     * present.\\n     */\\n    function remove(UintSet storage set, uint256 value) internal returns (bool) {\\n        return _remove(set._inner, bytes32(value));\\n    }\\n\\n    /**\\n     * @dev Returns true if the value is in the set. O(1).\\n     */\\n    function contains(UintSet storage set, uint256 value) internal view returns (bool) {\\n        return _contains(set._inner, bytes32(value));\\n    }\\n\\n    /**\\n     * @dev Returns the number of values on the set. O(1).\\n     */\\n    function length(UintSet storage set) internal view returns (uint256) {\\n        return _length(set._inner);\\n    }\\n\\n    /**\\n     * @dev Returns the value stored at position `index` in the set. O(1).\\n     *\\n     * Note that there are no guarantees on the ordering of values inside the\\n     * array, and it may change when more values are added or removed.\\n     *\\n     * Requirements:\\n     *\\n     * - `index` must be strictly less than {length}.\\n     */\\n    function at(UintSet storage set, uint256 index) internal view returns (uint256) {\\n        return uint256(_at(set._inner, index));\\n    }\\n\\n    /**\\n     * @dev Return the entire set in an array\\n     *\\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\\n     */\\n    function values(UintSet storage set) internal view returns (uint256[] memory) {\\n        bytes32[] memory store = _values(set._inner);\\n        uint256[] memory result;\\n\\n        assembly {\\n            result := store\\n        }\\n\\n        return result;\\n    }\\n}\\n\",\"keccak256\":\"0x9772845c886f87a3aab315f8d6b68aa599027c20f441b131cd4afaf65b588900\",\"license\":\"MIT\"},\"contracts/Automate.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.14;\\n\\nimport {\\n    EnumerableSet\\n} from \\\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\\\";\\nimport {Gelatofied} from \\\"./vendor/gelato/Gelatofied.sol\\\";\\nimport {GelatoBytes} from \\\"./vendor/gelato/GelatoBytes.sol\\\";\\nimport {Proxied} from \\\"./vendor/proxy/EIP173/Proxied.sol\\\";\\nimport {AutomateStorage} from \\\"./AutomateStorage.sol\\\";\\nimport {LibDataTypes} from \\\"./libraries/LibDataTypes.sol\\\";\\nimport {LibEvents} from \\\"./libraries/LibEvents.sol\\\";\\nimport {LibTaskId} from \\\"./libraries/LibTaskId.sol\\\";\\nimport {LibTaskModule} from \\\"./libraries/LibTaskModule.sol\\\";\\nimport {LibBypassModule} from \\\"./libraries/LibBypassModule.sol\\\";\\nimport {IAutomate} from \\\"./interfaces/IAutomate.sol\\\";\\n\\n/**\\n * @notice Automate enables everyone to have Gelato monitor and execute transactions.\\n * @notice ExecAddress refers to the contract that has the function which Gelato will call.\\n * @notice Modules allow users to customise conditions and specifications when creating a task.\\n */\\n//solhint-disable function-max-lines\\n//solhint-disable no-empty-blocks\\ncontract Automate is Gelatofied, Proxied, AutomateStorage, IAutomate {\\n    using GelatoBytes for bytes;\\n    using EnumerableSet for EnumerableSet.Bytes32Set;\\n\\n    // solhint-disable const-name-snakecase\\n    string public constant version = \\\"7\\\";\\n\\n    constructor(address payable _gelato) Gelatofied(_gelato) {}\\n\\n    ///@inheritdoc IAutomate\\n    function createTask(\\n        address _execAddress,\\n        bytes calldata _execDataOrSelector,\\n        LibDataTypes.ModuleData calldata _moduleData,\\n        address _feeToken\\n    ) external override returns (bytes32 taskId) {\\n        address taskCreator;\\n\\n        (taskCreator, _execAddress) = LibTaskModule.preCreateTask(\\n            msg.sender,\\n            _execAddress,\\n            taskModuleAddresses\\n        );\\n\\n        taskId = _createTask(\\n            taskCreator,\\n            _execAddress,\\n            _execDataOrSelector,\\n            _moduleData,\\n            _feeToken\\n        );\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function cancelTask(bytes32 _taskId) external {\\n        address _taskCreator = LibTaskModule.preCancelTask(\\n            _taskId,\\n            msg.sender,\\n            taskModuleAddresses\\n        );\\n\\n        _cancelTask(_taskCreator, _taskId);\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function exec(\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.ModuleData calldata _moduleData,\\n        uint256 _txFee,\\n        address _feeToken,\\n        bool _revertOnFailure\\n    ) external onlyGelato {\\n        bytes32 taskId = LibTaskId.getTaskId(\\n            _taskCreator,\\n            _execAddress,\\n            _execData.memorySliceSelector(),\\n            _moduleData,\\n            _feeToken\\n        );\\n\\n        require(\\n            _createdTasks[_taskCreator].contains(taskId),\\n            \\\"Automate.exec: Task not found\\\"\\n        );\\n\\n        fee = _txFee;\\n        feeToken = _feeToken;\\n\\n        bool success = LibTaskModule.onExecTask(\\n            taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _moduleData.modules,\\n            _revertOnFailure,\\n            taskModuleAddresses\\n        );\\n\\n        delete fee;\\n        delete feeToken;\\n\\n        emit LibEvents.ExecSuccess(\\n            _txFee,\\n            _feeToken,\\n            _execAddress,\\n            _execData,\\n            taskId,\\n            success\\n        );\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function exec1Balance(\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.ModuleData calldata _moduleData,\\n        Gelato1BalanceParam calldata _oneBalanceParam,\\n        bool _revertOnFailure\\n    ) external onlyGelato {\\n        bytes32 taskId = LibTaskId.getTaskId(\\n            _taskCreator,\\n            _execAddress,\\n            _execData.memorySliceSelector(),\\n            _moduleData,\\n            address(0)\\n        );\\n\\n        require(\\n            _createdTasks[_taskCreator].contains(taskId),\\n            \\\"Automate.exec: Task not found\\\"\\n        );\\n\\n        bool success = LibTaskModule.onExecTask(\\n            taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _moduleData.modules,\\n            _revertOnFailure,\\n            taskModuleAddresses\\n        );\\n\\n        emit LibEvents.ExecSuccess(\\n            0,\\n            address(0),\\n            _execAddress,\\n            _execData,\\n            taskId,\\n            success\\n        );\\n\\n        emit LogUseGelato1Balance(\\n            _oneBalanceParam.sponsor,\\n            _execAddress,\\n            _oneBalanceParam.feeToken,\\n            _oneBalanceParam.oneBalanceChainId,\\n            _oneBalanceParam.nativeToFeeTokenXRateNumerator,\\n            _oneBalanceParam.nativeToFeeTokenXRateDenominator,\\n            _oneBalanceParam.correlationId\\n        );\\n    }\\n\\n    function execBypassModuleSyncFee(\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes32 _taskId,\\n        uint256 _txFee,\\n        address _feeToken,\\n        bytes memory _execData,\\n        bool _revertOnFailure,\\n        bool _singleExec\\n    ) external onlyGelato {\\n        require(\\n            _createdTasks[_taskCreator].contains(_taskId),\\n            \\\"Automate.exec: Task not found\\\"\\n        );\\n\\n        fee = _txFee;\\n        feeToken = _feeToken;\\n\\n        bool success = LibBypassModule.onExecTask(\\n            _taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _revertOnFailure,\\n            _singleExec,\\n            _createdTasks\\n        );\\n\\n        delete fee;\\n        delete feeToken;\\n\\n        emit LibEvents.ExecBypassModuleSyncFeeSuccess(\\n            _taskId,\\n            _txFee,\\n            _feeToken,\\n            success\\n        );\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function execBypassModule(\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes32 _taskId,\\n        bytes32 _correlationId,\\n        bytes memory _execData,\\n        bool _revertOnFailure,\\n        bool _singleExec\\n    ) external onlyGelato {\\n        require(\\n            _createdTasks[_taskCreator].contains(_taskId),\\n            \\\"Automate.exec: Task not found\\\"\\n        );\\n\\n        bool success = LibBypassModule.onExecTask(\\n            _taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _revertOnFailure,\\n            _singleExec,\\n            _createdTasks\\n        );\\n\\n        emit LibEvents.ExecBypassModuleSuccess(\\n            _taskId,\\n            _correlationId,\\n            success\\n        );\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function setModule(\\n        LibDataTypes.Module[] calldata _modules,\\n        address[] calldata _moduleAddresses\\n    ) external onlyProxyAdmin {\\n        uint256 length = _modules.length;\\n        for (uint256 i; i < length; i++) {\\n            taskModuleAddresses[_modules[i]] = _moduleAddresses[i];\\n        }\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function getFeeDetails() external view returns (uint256, address) {\\n        return (fee, feeToken);\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function getTaskIdsByUser(address _taskCreator)\\n        external\\n        view\\n        returns (bytes32[] memory)\\n    {\\n        bytes32[] memory taskIds = _createdTasks[_taskCreator].values();\\n\\n        return taskIds;\\n    }\\n\\n    ///@inheritdoc IAutomate\\n    function getTaskId(\\n        address taskCreator,\\n        address execAddress,\\n        bytes4 execSelector,\\n        LibDataTypes.ModuleData memory moduleData,\\n        address feeToken\\n    ) external pure returns (bytes32 taskId) {\\n        taskId = LibTaskId.getTaskId(\\n            taskCreator,\\n            execAddress,\\n            execSelector,\\n            moduleData,\\n            feeToken\\n        );\\n    }\\n\\n    function _createTask(\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execDataOrSelector,\\n        LibDataTypes.ModuleData memory _moduleData,\\n        address _feeToken\\n    ) private returns (bytes32 taskId) {\\n        taskId = LibTaskId.getTaskId(\\n            _taskCreator,\\n            _execAddress,\\n            _execDataOrSelector.memorySliceSelector(),\\n            _moduleData,\\n            _feeToken\\n        );\\n\\n        require(\\n            !_createdTasks[_taskCreator].contains(taskId),\\n            \\\"Automate.createTask: Duplicate task\\\"\\n        );\\n\\n        LibTaskModule.onCreateTask(\\n            taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execDataOrSelector,\\n            _moduleData,\\n            taskModuleAddresses\\n        );\\n\\n        _createdTasks[_taskCreator].add(taskId);\\n\\n        emit LibEvents.TaskCreated(\\n            _taskCreator,\\n            _execAddress,\\n            _execDataOrSelector,\\n            _moduleData,\\n            _feeToken,\\n            taskId\\n        );\\n    }\\n\\n    function _cancelTask(address _taskCreator, bytes32 _taskId) private {\\n        require(\\n            _createdTasks[_taskCreator].contains(_taskId),\\n            \\\"Automate.cancelTask: Task not found\\\"\\n        );\\n\\n        _createdTasks[_taskCreator].remove(_taskId);\\n\\n        emit LibEvents.TaskCancelled(_taskId, _taskCreator);\\n    }\\n}\\n\",\"keccak256\":\"0x08c794ce79fa02058b71a7ac8a583bcca9ccf0fe34a59e2960590de6664c8e03\",\"license\":\"UNLICENSED\"},\"contracts/AutomateStorage.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.12;\\nimport {\\n    EnumerableSet\\n} from \\\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\\\";\\nimport {LibDataTypes} from \\\"./libraries/LibDataTypes.sol\\\";\\n\\n/**\\n * @notice Storage layout of Automate smart contract.\\n */\\n// solhint-disable max-states-count\\nabstract contract AutomateStorage {\\n    mapping(bytes32 => address) public taskCreator; ///@dev Deprecated\\n    mapping(bytes32 => address) public execAddresses; ///@dev Deprecated\\n    mapping(address => EnumerableSet.Bytes32Set) internal _createdTasks;\\n\\n    uint256 public fee;\\n    address public feeToken;\\n\\n    ///@dev Appended State\\n    mapping(bytes32 => LibDataTypes.Time) public timedTask; ///@dev Deprecated\\n    mapping(LibDataTypes.Module => address) public taskModuleAddresses;\\n    mapping(bytes32 => uint256) public nonce1Balance; ///@dev Deprecated\\n}\\n\",\"keccak256\":\"0xdc7009675d6be9436f1223a82c64b80f8f2ef8c2a594298bf6d5db8b201d45f8\",\"license\":\"UNLICENSED\"},\"contracts/functions/FExec.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.12;\\n\\nimport {GelatoBytes} from \\\"../vendor/gelato/GelatoBytes.sol\\\";\\n\\n// solhint-disable private-vars-leading-underscore\\n// solhint-disable func-visibility\\n\\nfunction _call(\\n    address _add,\\n    bytes memory _data,\\n    uint256 _value,\\n    bool _revertOnFailure,\\n    string memory _tracingInfo\\n) returns (bool success, bytes memory returnData) {\\n    (success, returnData) = _add.call{value: _value}(_data);\\n\\n    if (!success && _revertOnFailure)\\n        GelatoBytes.revertWithError(returnData, _tracingInfo);\\n}\\n\\nfunction _delegateCall(\\n    address _add,\\n    bytes memory _data,\\n    string memory _tracingInfo\\n) returns (bool success, bytes memory returnData) {\\n    (success, returnData) = _add.delegatecall(_data);\\n\\n    if (!success) GelatoBytes.revertWithError(returnData, _tracingInfo);\\n}\\n\",\"keccak256\":\"0x48375d0645cf4dfe7d3f18dc727cbb2322a09233a2e9cce9352a73acc357bf07\",\"license\":\"MIT\"},\"contracts/functions/FUtils.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.12;\\n\\nimport {\\n    SafeERC20,\\n    IERC20\\n} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\n\\naddress constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\\n\\n// solhint-disable private-vars-leading-underscore\\n// solhint-disable func-visibility\\nfunction _transfer(\\n    address payable _to,\\n    address _paymentToken,\\n    uint256 _amount\\n) {\\n    if (_paymentToken == ETH) {\\n        (bool success, ) = _to.call{value: _amount}(\\\"\\\");\\n        require(success, \\\"_transfer: ETH transfer failed\\\");\\n    } else {\\n        SafeERC20.safeTransfer(IERC20(_paymentToken), _to, _amount);\\n    }\\n}\\n\",\"keccak256\":\"0xecf150c4e9030703ac85cd5192fb98eca2e68a8df00ca50efd99fc8813cfb4a2\",\"license\":\"UNLICENSED\"},\"contracts/interfaces/IAutomate.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\nimport {LibDataTypes} from \\\"../libraries/LibDataTypes.sol\\\";\\nimport {IGelato1Balance} from \\\"./IGelato1Balance.sol\\\";\\n\\n// solhint-disable max-line-length\\ninterface IAutomate is IGelato1Balance {\\n    /**\\n     * @notice Initiates a task with conditions which Gelato will monitor and execute when conditions are met.\\n     *\\n     * @param execAddress Address of contract that should be called by Gelato.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param moduleData Conditional modules that will be used. {See LibDataTypes-ModuleData}\\n     * @param feeToken Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.\\n     *\\n     * @return taskId Unique hash of the task created.\\n     */\\n    function createTask(\\n        address execAddress,\\n        bytes calldata execData,\\n        LibDataTypes.ModuleData calldata moduleData,\\n        address feeToken\\n    ) external returns (bytes32 taskId);\\n\\n    /**\\n     * @notice Terminates a task that was created and Gelato can no longer execute it.\\n     *\\n     * @param taskId Unique hash of the task that is being cancelled. {See LibTaskId-getTaskId}\\n     */\\n    function cancelTask(bytes32 taskId) external;\\n\\n    /**\\n     * @notice Execution API called by Gelato, using Sync Fee as fee payment method\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called by Gelato.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param moduleData Conditional modules that will be used. {See LibDataTypes-ModuleData}\\n     * @param txFee Fee paid to Gelato for execution, transfered to Gelato.feeCollector().\\n     * @param feeToken Token used to pay for the execution. ETH = 0xeeeeee...\\n     * @param revertOnFailure To revert or not if call to execAddress fails. (Used for off-chain simulations)\\n     */\\n    function exec(\\n        address taskCreator,\\n        address execAddress,\\n        bytes memory execData,\\n        LibDataTypes.ModuleData calldata moduleData,\\n        uint256 txFee,\\n        address feeToken,\\n        bool revertOnFailure\\n    ) external;\\n\\n    /**\\n     * @notice Execution API called by Gelato, using Gelato 1Balance as fee payment method.\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called by Gelato.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param moduleData Conditional modules that will be used. {See LibDataTypes-ModuleData}\\n     * @param oneBalanceParam Parameters required for fee payment with Gelato 1Balance.\\n     * @param revertOnFailure To revert or not if call to execAddress fails. (Used for off-chain simulations)\\n     */\\n    function exec1Balance(\\n        address taskCreator,\\n        address execAddress,\\n        bytes memory execData,\\n        LibDataTypes.ModuleData calldata moduleData,\\n        Gelato1BalanceParam calldata oneBalanceParam,\\n        bool revertOnFailure\\n    ) external;\\n\\n    /**\\n     * @notice Execution API called by Gelato, using Gelato 1Balance as fee payment method.\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called by Gelato.\\n     * @param taskId Unique hash of the task.\\n     * @param correlationId Id of the execution to be used for 1Balance settlement.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param revertOnFailure To revert or not if call to execAddress fails. (Used for off-chain simulations)\\n     * @param singleExec If the task is a SingleExec task. If true, task will be cancelled after execution.\\n     */\\n    function execBypassModule(\\n        address taskCreator,\\n        address execAddress,\\n        bytes32 taskId,\\n        bytes32 correlationId,\\n        bytes memory execData,\\n        bool revertOnFailure,\\n        bool singleExec\\n    ) external;\\n\\n    /**\\n     * @notice Execution API called by Gelato, using Gelato Sync fee as fee payment method.\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called by Gelato.\\n     * @param taskId Unique hash of the task.\\n     * @param txFee Fee paid to Gelato for execution, transfered to Gelato.feeCollector().\\n     * @param feeToken Token used to pay for the execution. ETH = 0xeeeeee...\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param revertOnFailure To revert or not if call to execAddress fails. (Used for off-chain simulations)\\n     * @param singleExec If the task is a SingleExec task. If true, task will be cancelled after execution.\\n     */\\n    function execBypassModuleSyncFee(\\n        address taskCreator,\\n        address execAddress,\\n        bytes32 taskId,\\n        uint256 txFee,\\n        address feeToken,\\n        bytes memory execData,\\n        bool revertOnFailure,\\n        bool singleExec\\n    ) external;\\n\\n    /**\\n     * @notice Sets the address of task modules. Only callable by proxy admin.\\n     *\\n     * @param modules List of modules to be set\\n     * @param moduleAddresses List of addresses for respective modules.\\n     */\\n    function setModule(\\n        LibDataTypes.Module[] calldata modules,\\n        address[] calldata moduleAddresses\\n    ) external;\\n\\n    /**\\n     * @notice Helper function to query fee and feeToken to be used for payment. (For executions which pays itself)\\n     *\\n     * @return uint256 Fee amount to be paid.\\n     * @return address Token to be paid. (Determined and passed by taskCreator during createTask)\\n     */\\n    function getFeeDetails() external view returns (uint256, address);\\n\\n    /**\\n     * @notice Helper func to query all open tasks by a task creator.\\n     *\\n     * @param taskCreator Address of task creator to query.\\n     *\\n     * @return bytes32[] List of taskIds created.\\n     */\\n    function getTaskIdsByUser(address taskCreator)\\n        external\\n        view\\n        returns (bytes32[] memory);\\n\\n    /**\\n     * @notice Helper function to compute task id with module arguments\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that will be called by Gelato.\\n     * @param execSelector Signature of the function which will be called by Gelato.\\n     * @param moduleData  Conditional modules that will be used. {See LibDataTypes-ModuleData}\\n     * @param feeToken Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.\\n     */\\n    function getTaskId(\\n        address taskCreator,\\n        address execAddress,\\n        bytes4 execSelector,\\n        LibDataTypes.ModuleData memory moduleData,\\n        address feeToken\\n    ) external pure returns (bytes32 taskId);\\n}\\n\",\"keccak256\":\"0x3b8418bf4df5b5b4fa137b34f857e8d088f785d41f6c7e1e86bf64b6bb3df323\",\"license\":\"MIT\"},\"contracts/interfaces/IGelato1Balance.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity ^0.8.0;\\n\\ninterface IGelato1Balance {\\n    struct Gelato1BalanceParam {\\n        address sponsor;\\n        address feeToken;\\n        uint256 oneBalanceChainId;\\n        uint256 nativeToFeeTokenXRateNumerator;\\n        uint256 nativeToFeeTokenXRateDenominator;\\n        bytes32 correlationId;\\n    }\\n\\n    event LogUseGelato1Balance(\\n        address indexed sponsor,\\n        address indexed target,\\n        address indexed feeToken,\\n        uint256 oneBalanceChainId,\\n        uint256 nativeToFeeTokenXRateNumerator,\\n        uint256 nativeToFeeTokenXRateDenominator,\\n        bytes32 correlationId\\n    );\\n}\\n\",\"keccak256\":\"0xbe0b342ff2bd982b3461f95d6410b0c385f883a5e6b9ba8ed9fb4e11da0d3dee\",\"license\":\"MIT\"},\"contracts/interfaces/ITaskModule.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\n// solhint-disable max-line-length\\ninterface ITaskModule {\\n    /**\\n     * @notice Called before generating taskId.\\n     * @dev Modules can override execAddress or taskCreator. {See ProxyModule-preCreateTask}\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called.\\n     *\\n     * @return address Overriden or original taskCreator.\\n     * @return address Overriden or original execAddress.\\n     */\\n    function preCreateTask(address taskCreator, address execAddress)\\n        external\\n        returns (address, address);\\n\\n    /**\\n     * @notice Initiates task module whenever `createTask` is being called.\\n     *\\n     * @param taskId Unique hash of the task created.\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     * @param initModuleArg Encoded arguments for module if any.\\n     */\\n    function onCreateTask(\\n        bytes32 taskId,\\n        address taskCreator,\\n        address execAddress,\\n        bytes calldata execData,\\n        bytes calldata initModuleArg\\n    ) external;\\n\\n    /**\\n     * @notice Called before taskId is removed from _createdTasks[].\\n     * @dev Modules can override taskCreator.\\n     *\\n     * @param taskId Unique hash of the task created.\\n     * @param taskCreator The address which created the task.\\n     *\\n     * @return address Overriden or original taskCreator.\\n     */\\n    function preCancelTask(bytes32 taskId, address taskCreator)\\n        external\\n        returns (address);\\n\\n    /**\\n     * @notice Called during `exec` and before execAddress is called.\\n     *\\n     * @param taskId Unique hash of the task created.\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     *\\n     * @return address Overriden or original execution address.\\n     * @return bytes Overriden or original execution data.\\n     */\\n    function preExecCall(\\n        bytes32 taskId,\\n        address taskCreator,\\n        address execAddress,\\n        bytes calldata execData\\n    ) external returns (address, bytes memory);\\n\\n    /**\\n     * @notice Called during `exec` and after execAddress is called.\\n     *\\n     * @param taskId Unique hash of the task created.\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that should be called.\\n     * @param execData Execution data to be called with / function selector if execution data is yet to be determined.\\n     */\\n    function postExecCall(\\n        bytes32 taskId,\\n        address taskCreator,\\n        address execAddress,\\n        bytes calldata execData\\n    ) external;\\n}\\n\",\"keccak256\":\"0xd537257852c23ce7d0bc392b03aba1efd750be372d64a01edf1c726ef7c4274d\",\"license\":\"MIT\"},\"contracts/libraries/LibBypassModule.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\nimport {\\n    EnumerableSet\\n} from \\\"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\\\";\\nimport {_call, _delegateCall} from \\\"../functions/FExec.sol\\\";\\nimport {LibDataTypes} from \\\"./LibDataTypes.sol\\\";\\nimport {LibEvents} from \\\"./LibEvents.sol\\\";\\nimport {LibTaskModule} from \\\"./LibTaskModule.sol\\\";\\nimport {LibTaskModuleConfig} from \\\"./LibTaskModuleConfig.sol\\\";\\nimport {ITaskModule} from \\\"../interfaces/ITaskModule.sol\\\";\\n\\n// solhint-disable function-max-lines\\n/// @notice Simplified library for task executions\\nlibrary LibBypassModule {\\n    using EnumerableSet for EnumerableSet.Bytes32Set;\\n    using LibTaskModuleConfig for LibDataTypes.Module;\\n\\n    /**\\n     * @notice Delegate calls SingleExecModule on exec for single exec tasks.\\n     *\\n     * @param _taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param _taskCreator Address which created the task.\\n     * @param _execAddress Address of contract that will be called by Gelato.\\n     * @param _execData Execution data to be called with / function selector.\\n     * @param _revertOnFailure To revert or not if call to execAddress fails.\\n     * @param _singleExec If task is a single exec task.\\n     * @param _createdTasks The storage reference of owner to the taskIds created mapping.\\n     */\\n    function onExecTask(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        bool _revertOnFailure,\\n        bool _singleExec,\\n        mapping(address => EnumerableSet.Bytes32Set) storage _createdTasks\\n    ) internal returns (bool callSuccess) {\\n        (callSuccess, ) = _call(\\n            _execAddress,\\n            abi.encodePacked(_execData, _taskCreator),\\n            0,\\n            _revertOnFailure,\\n            \\\"Automate.exec: \\\"\\n        );\\n\\n        if (_singleExec) {\\n            _createdTasks[_taskCreator].remove(_taskId);\\n            emit LibEvents.TaskCancelled(_taskId, _taskCreator);\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0xb6c9143d267faf8faa834fa772098fd79b1b62eb626c816e66a0866540d2adea\",\"license\":\"MIT\"},\"contracts/libraries/LibDataTypes.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\n// solhint-disable max-line-length\\nlibrary LibDataTypes {\\n    /**\\n     * @notice Whitelisted modules that are available for users to customise conditions and specifications of their tasks.\\n     *\\n     * @param RESOLVER Use dynamic condition & input data for execution. {See ResolverModule.sol}\\n     * @param DEPRECATED_TIME deprecated\\n     * @param PROXY Creates a dedicated caller (msg.sender) to be used when executing the task. {See ProxyModule.sol}\\n     * @param SINGLE_EXEC Task is cancelled after one execution. {See SingleExecModule.sol}\\n     * @param WEB3_FUNCTION Use off-chain condition & input data for execution. {See Web3FunctionModule.sol}\\n     * @param TRIGGER Repeated execution of task ata a specified timing and interval or cron. {See TriggerModule.sol}\\n     */\\n    enum Module {\\n        RESOLVER,\\n        DEPRECATED_TIME, // @deprecated\\n        PROXY,\\n        SINGLE_EXEC,\\n        WEB3_FUNCTION,\\n        TRIGGER\\n    }\\n\\n    /**\\n     * @notice Struct to contain modules and their relative arguments that are used for task creation.\\n     *\\n     * @param modules List of selected modules.\\n     * @param args Arguments of modules if any. Pass \\\"0x\\\" for modules which does not require args {See encodeModuleArg}\\n     */\\n    struct ModuleData {\\n        Module[] modules;\\n        bytes[] args;\\n    }\\n\\n    /**\\n     * @notice Struct for time module.\\n     *\\n     * @param nextExec Time when the next execution should occur.\\n     * @param interval Time interval between each execution.\\n     */\\n    struct Time {\\n        uint128 nextExec;\\n        uint128 interval;\\n    }\\n\\n    /**\\n     * @notice Types of trigger\\n     *\\n     * @param TIME Time triggered tasks, starting at a specific time and triggered intervally\\n     * @param CRON Cron triggered tasks, triggered according to the cron conditions\\n     */\\n    enum TriggerType {\\n        TIME,\\n        CRON,\\n        EVENT,\\n        BLOCK\\n    }\\n\\n    /**\\n     * @notice Struct for trigger module\\n     *\\n     * @param triggerType Type of the trigger\\n     * @param triggerConfig Trigger configuration that shuold be parsed according to triggerType\\n     */\\n    struct TriggerModuleData {\\n        TriggerType triggerType;\\n        bytes triggerConfig;\\n    }\\n}\\n\",\"keccak256\":\"0x7307461a03c5bb31eef8b01b029fd898d45a495349498466c6238a6474c4edc2\",\"license\":\"MIT\"},\"contracts/libraries/LibEvents.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\nimport {LibDataTypes} from \\\"./LibDataTypes.sol\\\";\\n\\nlibrary LibEvents {\\n    /**\\n     * @notice Emitted when `createTask` is called.\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that is called by Gelato.\\n     * @param execDataOrSelector Execution data / function selector.\\n     * @param moduleData Conditional modules used. {See LibDataTypes-ModuleData}\\n     * @param feeToken Token used to pay for the execution. ETH = 0xeeeeee...\\n     * @param taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     */\\n    event TaskCreated(\\n        address indexed taskCreator,\\n        address indexed execAddress,\\n        bytes execDataOrSelector,\\n        LibDataTypes.ModuleData moduleData,\\n        address feeToken,\\n        bytes32 indexed taskId\\n    );\\n\\n    /**\\n     * @notice Emitted when `cancelTask` is called.\\n     *\\n     * @param taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param taskCreator The address which owned the task.\\n     */\\n    event TaskCancelled(bytes32 taskId, address taskCreator);\\n\\n    /**\\n     * @notice Emitted when `exec` is called.\\n     *\\n     * @param txFee Fee paid to Gelato for execution\\n     * @param feeToken Token used to pay for the execution. ETH = 0xeeeeee...\\n     * @param execAddress Address of contract that will be called by Gelato.\\n     * @param execData Execution data / function selector.\\n     * @param taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param callSuccess Status of the call to execAddress.\\n     */\\n    event ExecSuccess(\\n        uint256 indexed txFee,\\n        address indexed feeToken,\\n        address indexed execAddress,\\n        bytes execData,\\n        bytes32 taskId,\\n        bool callSuccess\\n    );\\n\\n    /**\\n     * @notice Emitted when `execBypassModule` is called.\\n     *\\n     * @param taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param correlationId Id of the execution to be used for 1Balance settlement.\\n     * @param callSuccess Status of the call to execAddress.\\n     */\\n    event ExecBypassModuleSuccess(\\n        bytes32 taskId,\\n        bytes32 correlationId,\\n        bool callSuccess\\n    );\\n\\n    /**\\n     * @notice Emitted when `execBypassModuleSyncFee` is called.\\n     *\\n     * @param taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param txFee Fee paid to Gelato for execution\\n     * @param feeToken Token used to pay for the execution. ETH = 0xeeeeee...\\n     * @param callSuccess Status of the call to execAddress.\\n     */\\n    event ExecBypassModuleSyncFeeSuccess(\\n        bytes32 taskId,\\n        uint256 txFee,\\n        address feeToken,\\n        bool callSuccess\\n    );\\n}\\n\",\"keccak256\":\"0x0842beedaddcfe70d7a17591e387e2e6dbad8e62530202d66978ebfd97445349\",\"license\":\"MIT\"},\"contracts/libraries/LibTaskId.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\nimport {LibDataTypes} from \\\"./LibDataTypes.sol\\\";\\n\\n/**\\n * @notice Library to compute taskId of tasks.\\n */\\n// solhint-disable max-line-length\\nlibrary LibTaskId {\\n    /**\\n     * @notice Returns taskId of taskCreator.\\n     *\\n     * @param taskCreator The address which created the task.\\n     * @param execAddress Address of contract that will be called by Gelato.\\n     * @param execSelector Signature of the function which will be called by Gelato.\\n     * @param moduleData  Conditional modules that will be used. {See LibDataTypes-ModuleData}\\n     * @param feeToken Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.\\n     */\\n    function getTaskId(\\n        address taskCreator,\\n        address execAddress,\\n        bytes4 execSelector,\\n        LibDataTypes.ModuleData memory moduleData,\\n        address feeToken\\n    ) internal pure returns (bytes32 taskId) {\\n        taskId = keccak256(\\n            abi.encode(\\n                taskCreator,\\n                execAddress,\\n                execSelector,\\n                moduleData,\\n                feeToken\\n            )\\n        );\\n    }\\n}\\n\",\"keccak256\":\"0xf4ac05463cdeac121b21724ea65d563caebbc4c2eb8b4ca39f6391639a1f794e\",\"license\":\"UNLICENSED\"},\"contracts/libraries/LibTaskModule.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\nimport {_call, _delegateCall} from \\\"../functions/FExec.sol\\\";\\nimport {LibDataTypes} from \\\"./LibDataTypes.sol\\\";\\nimport {LibTaskModuleConfig} from \\\"./LibTaskModuleConfig.sol\\\";\\nimport {ITaskModule} from \\\"../interfaces/ITaskModule.sol\\\";\\n\\n// solhint-disable function-max-lines\\n/// @notice Library to call task modules on task creation and execution.\\nlibrary LibTaskModule {\\n    using LibTaskModuleConfig for LibDataTypes.Module;\\n\\n    /**\\n     * @notice Delegate calls task modules before generating taskId.\\n     *\\n     * @param _execAddress Address of contract that will be called by Gelato.\\n     * @param _taskCreator The address which created the task.\\n     * @param taskModuleAddresses The storage reference to the mapping of modules to their address.\\n     */\\n    function preCreateTask(\\n        address _taskCreator,\\n        address _execAddress,\\n        mapping(LibDataTypes.Module => address) storage taskModuleAddresses\\n    ) internal returns (address, address) {\\n        uint256 length = uint256(type(LibDataTypes.Module).max) + 1;\\n\\n        for (uint256 i; i < length; i++) {\\n            LibDataTypes.Module module = LibDataTypes.Module(i);\\n            if (!module.requirePreCreate()) continue;\\n\\n            address moduleAddress = taskModuleAddresses[module];\\n            _moduleInitialised(moduleAddress);\\n\\n            bytes memory delegatecallData = abi.encodeWithSelector(\\n                ITaskModule.preCreateTask.selector,\\n                _taskCreator,\\n                _execAddress\\n            );\\n\\n            (, bytes memory returnData) = _delegateCall(\\n                moduleAddress,\\n                delegatecallData,\\n                \\\"Automate.preCreateTask: \\\"\\n            );\\n\\n            (_taskCreator, _execAddress) = abi.decode(\\n                returnData,\\n                (address, address)\\n            );\\n        }\\n\\n        return (_taskCreator, _execAddress);\\n    }\\n\\n    /**\\n     * @notice Delegate calls task modules on create task to initialise them.\\n     *\\n     * @param _taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param _taskCreator The address which created the task.\\n     * @param _execAddress Address of contract that will be called by Gelato.\\n     * @param _execData Execution data to be called with / function selector.\\n     * @param _moduleData Modules that will be used for the task. {See LibDataTypes-ModuleData}\\n     * @param taskModuleAddresses The storage reference to the mapping of modules to their address.\\n     */\\n    function onCreateTask(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.ModuleData memory _moduleData,\\n        mapping(LibDataTypes.Module => address) storage taskModuleAddresses\\n    ) internal {\\n        uint256 length = _moduleData.modules.length;\\n\\n        _validModules(_moduleData.modules);\\n\\n        for (uint256 i; i < length; i++) {\\n            LibDataTypes.Module module = _moduleData.modules[i];\\n            if (!module.requireOnCreate()) continue;\\n\\n            address moduleAddress = taskModuleAddresses[module];\\n            _moduleInitialised(moduleAddress);\\n\\n            bytes memory delegatecallData = abi.encodeWithSelector(\\n                ITaskModule.onCreateTask.selector,\\n                _taskId,\\n                _taskCreator,\\n                _execAddress,\\n                _execData,\\n                _moduleData.args[i]\\n            );\\n\\n            _delegateCall(\\n                moduleAddress,\\n                delegatecallData,\\n                \\\"Automate.onCreateTask: \\\"\\n            );\\n        }\\n    }\\n\\n    /**\\n     * @notice Delegate calls task modules before removing task.\\n     *\\n     * @param _taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param _taskCreator The address which created the task.\\n     * @param taskModuleAddresses The storage reference to the mapping of modules to their address.\\n     */\\n    function preCancelTask(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        mapping(LibDataTypes.Module => address) storage taskModuleAddresses\\n    ) internal returns (address) {\\n        uint256 length = uint256(type(LibDataTypes.Module).max);\\n\\n        for (uint256 i; i <= length; i++) {\\n            LibDataTypes.Module module = LibDataTypes.Module(i);\\n\\n            if (!module.requirePreCancel()) continue;\\n\\n            address moduleAddress = taskModuleAddresses[module];\\n            _moduleInitialised(moduleAddress);\\n\\n            bytes memory delegatecallData = abi.encodeWithSelector(\\n                ITaskModule.preCancelTask.selector,\\n                _taskId,\\n                _taskCreator\\n            );\\n\\n            (, bytes memory returnData) = _delegateCall(\\n                moduleAddress,\\n                delegatecallData,\\n                \\\"Automate.preCancelTask: \\\"\\n            );\\n\\n            (_taskCreator) = abi.decode(returnData, (address));\\n        }\\n\\n        return _taskCreator;\\n    }\\n\\n    /**\\n     * @notice Delegate calls task modules on exec.\\n     *\\n     * @param _taskId Unique hash of the task. {See LibTaskId-getTaskId}\\n     * @param _taskCreator Address which created the task.\\n     * @param _execAddress Address of contract that will be called by Gelato.\\n     * @param _execData Execution data to be called with / function selector.\\n     * @param _modules Modules that is used for the task. {See LibDataTypes-Module}\\n     * @param _revertOnFailure To revert or not if call to execAddress fails.\\n     * @param taskModuleAddresses The storage reference to the mapping of modules to their address.\\n     */\\n    function onExecTask(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.Module[] memory _modules,\\n        bool _revertOnFailure,\\n        mapping(LibDataTypes.Module => address) storage taskModuleAddresses\\n    ) internal returns (bool callSuccess) {\\n        address[] memory moduleAddresses = _getModuleAddresses(\\n            _modules,\\n            taskModuleAddresses\\n        );\\n\\n        (_execAddress, _execData) = preExecCall(\\n            _taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _modules,\\n            moduleAddresses\\n        );\\n\\n        (callSuccess, ) = _call(\\n            _execAddress,\\n            abi.encodePacked(_execData, _taskCreator),\\n            0,\\n            _revertOnFailure,\\n            \\\"Automate.exec: \\\"\\n        );\\n\\n        postExecCall(\\n            _taskId,\\n            _taskCreator,\\n            _execAddress,\\n            _execData,\\n            _modules,\\n            moduleAddresses\\n        );\\n    }\\n\\n    function preExecCall(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.Module[] memory _modules,\\n        address[] memory _moduleAddresses\\n    ) internal returns (address, bytes memory) {\\n        uint256 length = _modules.length;\\n\\n        for (uint256 i; i < length; i++) {\\n            if (!_modules[i].requirePreExec()) continue;\\n\\n            bytes memory delegatecallData = abi.encodeWithSelector(\\n                ITaskModule.preExecCall.selector,\\n                _taskId,\\n                _taskCreator,\\n                _execAddress,\\n                _execData\\n            );\\n\\n            (, bytes memory returnData) = _delegateCall(\\n                _moduleAddresses[i],\\n                delegatecallData,\\n                \\\"Automate.preExecCall: \\\"\\n            );\\n\\n            (_execAddress, _execData) = abi.decode(\\n                returnData,\\n                (address, bytes)\\n            );\\n        }\\n        return (_execAddress, _execData);\\n    }\\n\\n    function postExecCall(\\n        bytes32 _taskId,\\n        address _taskCreator,\\n        address _execAddress,\\n        bytes memory _execData,\\n        LibDataTypes.Module[] memory _modules,\\n        address[] memory _moduleAddresses\\n    ) internal {\\n        uint256 length = _moduleAddresses.length;\\n\\n        for (uint256 i; i < length; i++) {\\n            if (!_modules[i].requirePostExec()) continue;\\n\\n            bytes memory delegatecallData = abi.encodeWithSelector(\\n                ITaskModule.postExecCall.selector,\\n                _taskId,\\n                _taskCreator,\\n                _execAddress,\\n                _execData\\n            );\\n\\n            _delegateCall(\\n                _moduleAddresses[i],\\n                delegatecallData,\\n                \\\"Automate.postExecCall: \\\"\\n            );\\n        }\\n    }\\n\\n    function _getModuleAddresses(\\n        LibDataTypes.Module[] memory _modules,\\n        mapping(LibDataTypes.Module => address) storage taskModuleAddresses\\n    ) private view returns (address[] memory) {\\n        uint256 length = _modules.length;\\n        address[] memory moduleAddresses = new address[](length);\\n\\n        for (uint256 i; i < length; i++) {\\n            moduleAddresses[i] = taskModuleAddresses[_modules[i]];\\n        }\\n\\n        return moduleAddresses;\\n    }\\n\\n    function _moduleInitialised(address _moduleAddress) private pure {\\n        require(\\n            _moduleAddress != address(0),\\n            \\\"Automate._moduleInitialised: Not init\\\"\\n        );\\n    }\\n\\n    /**\\n     * @dev\\n     * - No duplicate modules\\n     * - No deprecated TIME\\n     * - No RESOLVER && WEB3_FUNCTION\\n     * - PROXY is required\\n     */\\n    function _validModules(LibDataTypes.Module[] memory _modules) private pure {\\n        uint256 length = _modules.length;\\n\\n        uint256 existsLength = uint256(type(LibDataTypes.Module).max) + 1;\\n        bool[] memory exists = new bool[](existsLength);\\n\\n        for (uint256 i = 0; i < length; i++) {\\n            if (i > 0) {\\n                require(\\n                    _modules[i] > _modules[i - 1],\\n                    \\\"Automate._validModules: Asc only\\\"\\n                );\\n            }\\n\\n            exists[uint256(_modules[i])] = true;\\n        }\\n\\n        require(\\n            !exists[uint256(LibDataTypes.Module.DEPRECATED_TIME)],\\n            \\\"Automate._validModules: TIME is deprecated\\\"\\n        );\\n\\n        require(\\n            !(exists[uint256(LibDataTypes.Module.RESOLVER)] &&\\n                exists[uint256(LibDataTypes.Module.WEB3_FUNCTION)]),\\n            \\\"Automate._validModules: Only RESOLVER or WEB3_FUNCTION\\\"\\n        );\\n\\n        require(\\n            exists[uint256(LibDataTypes.Module.PROXY)],\\n            \\\"Automate._validModules: PROXY is required\\\"\\n        );\\n    }\\n}\\n\",\"keccak256\":\"0x84e6a981700f6a9e60f54e9b6e7dc70cac1f6b8b57bb1aabf9ef819ded0e7bda\",\"license\":\"MIT\"},\"contracts/libraries/LibTaskModuleConfig.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n\\npragma solidity ^0.8.12;\\n\\nimport {LibDataTypes} from \\\"./LibDataTypes.sol\\\";\\n\\n/**\\n * @notice Library to determine wether to call task modules to reduce unnecessary calls.\\n */\\nlibrary LibTaskModuleConfig {\\n    function requirePreCreate(LibDataTypes.Module _module)\\n        internal\\n        pure\\n        returns (bool)\\n    {\\n        if (_module == LibDataTypes.Module.PROXY) return true;\\n\\n        return false;\\n    }\\n\\n    function requirePreCancel(LibDataTypes.Module _module)\\n        internal\\n        pure\\n        returns (bool)\\n    {\\n        if (_module == LibDataTypes.Module.PROXY) return true;\\n\\n        return false;\\n    }\\n\\n    function requireOnCreate(LibDataTypes.Module _module)\\n        internal\\n        pure\\n        returns (bool)\\n    {\\n        if (_module == LibDataTypes.Module.PROXY) return true;\\n\\n        return false;\\n    }\\n\\n    function requirePreExec(LibDataTypes.Module _module)\\n        internal\\n        pure\\n        returns (bool)\\n    {\\n        if (_module == LibDataTypes.Module.PROXY) return true;\\n\\n        return false;\\n    }\\n\\n    function requirePostExec(LibDataTypes.Module _module)\\n        internal\\n        pure\\n        returns (bool)\\n    {\\n        if (_module == LibDataTypes.Module.SINGLE_EXEC) return true;\\n\\n        return false;\\n    }\\n}\\n\",\"keccak256\":\"0x71520494c231850933897b878f4e719a8f8177f0b3d33a356184b8c426c4442a\",\"license\":\"MIT\"},\"contracts/vendor/gelato/GelatoBytes.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.12;\\n\\nlibrary GelatoBytes {\\n    function calldataSliceSelector(bytes calldata _bytes)\\n        internal\\n        pure\\n        returns (bytes4 selector)\\n    {\\n        selector =\\n            _bytes[0] |\\n            (bytes4(_bytes[1]) >> 8) |\\n            (bytes4(_bytes[2]) >> 16) |\\n            (bytes4(_bytes[3]) >> 24);\\n    }\\n\\n    function memorySliceSelector(bytes memory _bytes)\\n        internal\\n        pure\\n        returns (bytes4 selector)\\n    {\\n        selector =\\n            _bytes[0] |\\n            (bytes4(_bytes[1]) >> 8) |\\n            (bytes4(_bytes[2]) >> 16) |\\n            (bytes4(_bytes[3]) >> 24);\\n    }\\n\\n    function revertWithError(bytes memory _bytes, string memory _tracingInfo)\\n        internal\\n        pure\\n    {\\n        // 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err\\n        if (_bytes.length % 32 == 4) {\\n            bytes4 selector;\\n            assembly {\\n                selector := mload(add(0x20, _bytes))\\n            }\\n            if (selector == 0x08c379a0) {\\n                // Function selector for Error(string)\\n                assembly {\\n                    _bytes := add(_bytes, 68)\\n                }\\n                revert(string(abi.encodePacked(_tracingInfo, string(_bytes))));\\n            } else {\\n                revert(\\n                    string(abi.encodePacked(_tracingInfo, \\\"NoErrorSelector\\\"))\\n                );\\n            }\\n        } else {\\n            revert(\\n                string(abi.encodePacked(_tracingInfo, \\\"UnexpectedReturndata\\\"))\\n            );\\n        }\\n    }\\n\\n    function returnError(bytes memory _bytes, string memory _tracingInfo)\\n        internal\\n        pure\\n        returns (string memory)\\n    {\\n        // 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err\\n        if (_bytes.length % 32 == 4) {\\n            bytes4 selector;\\n            assembly {\\n                selector := mload(add(0x20, _bytes))\\n            }\\n            if (selector == 0x08c379a0) {\\n                // Function selector for Error(string)\\n                assembly {\\n                    _bytes := add(_bytes, 68)\\n                }\\n                return string(abi.encodePacked(_tracingInfo, string(_bytes)));\\n            } else {\\n                return\\n                    string(abi.encodePacked(_tracingInfo, \\\"NoErrorSelector\\\"));\\n            }\\n        } else {\\n            return\\n                string(abi.encodePacked(_tracingInfo, \\\"UnexpectedReturndata\\\"));\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x6ec59b2c6f678f3bbe186677e5970e59e46a40d22881dc813c49ffb18e417951\",\"license\":\"UNLICENSED\"},\"contracts/vendor/gelato/Gelatofied.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.12;\\n\\nimport {\\n    SafeERC20,\\n    IERC20\\n} from \\\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\\\";\\nimport {_transfer, ETH} from \\\"../../functions/FUtils.sol\\\";\\n\\nabstract contract Gelatofied {\\n    address payable public immutable gelato;\\n\\n    modifier gelatofy(uint256 _amount, address _paymentToken) {\\n        require(msg.sender == gelato, \\\"Gelatofied: Only gelato\\\");\\n        _;\\n        _transfer(gelato, _paymentToken, _amount);\\n    }\\n\\n    modifier onlyGelato() {\\n        require(msg.sender == gelato, \\\"Gelatofied: Only gelato\\\");\\n        _;\\n    }\\n\\n    constructor(address payable _gelato) {\\n        gelato = _gelato;\\n    }\\n}\\n\",\"keccak256\":\"0x61ed0699b2adf55087ddccc22c2ac91cffb92048af40a491ef5b6ac798c60cc1\",\"license\":\"UNLICENSED\"},\"contracts/vendor/proxy/EIP173/Proxied.sol\":{\"content\":\"// SPDX-License-Identifier: GPL-3.0\\npragma solidity ^0.8.12;\\n\\nabstract contract Proxied {\\n    /// @notice to be used by initialisation / postUpgrade function so that only the proxy's admin can execute them\\n    /// It also allows these functions to be called inside a contructor\\n    /// even if the contract is meant to be used without proxy\\n    modifier proxied() {\\n        address proxyAdminAddress = _proxyAdmin();\\n        // With hardhat-deploy proxies\\n        // the proxyAdminAddress is zero only for the implementation contract\\n        // if the implementation contract want to be used as a standalone/immutable contract\\n        // it simply has to execute the `proxied` function\\n        // This ensure the proxyAdminAddress is never zero post deployment\\n        // And allow you to keep the same code for both proxied contract and immutable contract\\n        if (proxyAdminAddress == address(0)) {\\n            // ensure can not be called twice when used outside of proxy : no admin\\n            // solhint-disable-next-line security/no-inline-assembly\\n            assembly {\\n                sstore(\\n                    0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103,\\n                    0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\\n                )\\n            }\\n        } else {\\n            require(msg.sender == proxyAdminAddress);\\n        }\\n        _;\\n    }\\n\\n    modifier onlyProxyAdmin() {\\n        require(msg.sender == _proxyAdmin(), \\\"NOT_AUTHORIZED\\\");\\n        _;\\n    }\\n\\n    function _proxyAdmin() internal view returns (address adminAddress) {\\n        // solhint-disable-next-line security/no-inline-assembly\\n        assembly {\\n            adminAddress := sload(\\n                0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103\\n            )\\n        }\\n    }\\n}\\n\",\"keccak256\":\"0x428ced1961d42c505a3e49d90498f92f4b0df8537e5ffa59f14ba375d99150a1\",\"license\":\"GPL-3.0\"}},\"version\":1}",
  "bytecode": "0x60a06040523480156200001157600080fd5b5060405162004a7938038062004a798339818101604052810190620000379190620000de565b808073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505062000110565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620000a68262000079565b9050919050565b620000b88162000099565b8114620000c457600080fd5b50565b600081519050620000d881620000ad565b92915050565b600060208284031215620000f757620000f662000074565b5b60006200010784828501620000c7565b91505092915050565b60805161493162000148600039600081816104710152818161072e015281816107ab01528181610a890152610e3701526149316000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806380381407116100ad578063b81cd86611610071578063b81cd8661461032f578063cd3d4fb914610360578063ddca3f4314610390578063e1d173a9146103ae578063ee8ca3b5146103ca57610121565b8063803814071461028c578063813785e6146102a8578063abf26d55146102c4578063ac21631a146102e0578063b810c6361461031057610121565b80633323b467116100f45780633323b467146101d257806354fd4d5014610202578063573ea57514610220578063647846a51461023e5780636d2dd29f1461025c57610121565b80630407145c146101265780632e6e0bd01461015657806330a9fe6a146101865780633140576e146101a2575b600080fd5b610140600480360381019061013b9190612a90565b6103e6565b60405161014d9190612b85565b60405180910390f35b610170600480360381019061016b9190612bd3565b61043c565b60405161017d9190612c0f565b60405180910390f35b6101a0600480360381019061019b9190612dde565b61046f565b005b6101bc60048036038101906101b79190613168565b61065c565b6040516101c9919061320e565b60405180910390f35b6101ec60048036038101906101e791906132a8565b610676565b6040516101f9919061320e565b60405180910390f35b61020a6106f3565b60405161021791906133d4565b60405180910390f35b61022861072c565b6040516102359190613417565b60405180910390f35b610246610750565b6040516102539190612c0f565b60405180910390f35b61027660048036038101906102719190612bd3565b610776565b6040516102839190612c0f565b60405180910390f35b6102a660048036038101906102a19190613432565b6107a9565b005b6102c260048036038101906102bd919061359c565b610920565b005b6102de60048036038101906102d9919061363c565b610a87565b005b6102fa60048036038101906102f59190612bd3565b610d57565b6040516103079190613712565b60405180910390f35b610318610d6f565b60405161032692919061372d565b60405180910390f35b61034960048036038101906103449190612bd3565b610da0565b604051610357929190613781565b60405180910390f35b61037a600480360381019061037591906137aa565b610dfc565b6040516103879190612c0f565b60405180910390f35b610398610e2f565b6040516103a59190613712565b60405180910390f35b6103c860048036038101906103c391906137d7565b610e35565b005b6103e460048036038101906103df9190612bd3565b6110c0565b005b60606000610431600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110de565b905080915050919050565b60006020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f4906138fd565b60405180910390fd5b61054e86600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b61058d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058490613969565b60405180910390fd5b8460038190555083600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006105e7878a8a878787600261110a565b9050600360009055600460006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690557f668a2c70c9e33b13c143eac02a389bb5ff706c9939aab9ef9edbbc11216b7b4d878787846040516106499493929190613998565b60405180910390a1505050505050505050565b600061066b8686868686611211565b905095945050505050565b6000806106853388600661124d565b80985081925050506106e7818888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050876106e1906139dd565b87611423565b91505095945050505050565b6040518060400160405280600181526020017f370000000000000000000000000000000000000000000000000000000000000081525081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e906138fd565b60405180910390fd5b61088885600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b6108c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108be90613969565b60405180910390fd5b60006108d9868989878787600261110a565b90507f6bc93adab97dd835bee818087939b726558bc8d9177650a0018dd05eb00e56c886868360405161090e939291906139f0565b60405180910390a15050505050505050565b6109286115a1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90613a73565b60405180910390fd5b600084849050905060005b81811015610a7f578383828181106109bb576109ba613a93565b5b90506020020160208101906109d09190612a90565b600660008888858181106109e7576109e6613a93565b5b90506020020160208101906109fc91906137aa565b6005811115610a0e57610a0d613ac2565b5b6005811115610a2057610a1f613ac2565b5b815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610a7790613b20565b9150506109a0565b505050505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906138fd565b60405180910390fd5b6000610b368787610b25886115ca565b87610b2f906139dd565b6000611211565b9050610b8981600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613969565b60405180910390fd5b6000610c2982898989898060000190610be19190613b77565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050886006611743565b90508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1660007fa458375b1282695a972870cbfbc4891a9d856b79d563d17667d171d87e0c527a898686604051610c8f93929190613c2f565b60405180910390a4836020016020810190610caa9190612a90565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16856000016020810190610cea9190612a90565b73ffffffffffffffffffffffffffffffffffffffff167f116bfd46451bbd23e7a5f5b7420b28e3d98d4c477f173da513aaaeac3c4baada8760400135886060013589608001358a60a00135604051610d459493929190613c6d565b60405180910390a45050505050505050565b60076020528060005260406000206000915090505481565b600080600354600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915091509091565b60056020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba906138fd565b60405180910390fd5b6000610ee38888610ed3896115ca565b88610edd906139dd565b87611211565b9050610f3681600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90613969565b60405180910390fd5b8360038190555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600061101e828a8a8a8a8060000190610fd69190613b77565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050886006611743565b9050600360009055600460006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16867fa458375b1282695a972870cbfbc4891a9d856b79d563d17667d171d87e0c527a8a86866040516110ad93929190613c2f565b60405180910390a4505050505050505050565b60006110ce823360066117eb565b90506110da81836119a8565b5050565b60606110ec82600001611ac7565b9050919050565b60006111028360000183611b23565b905092915050565b6000611170868689604051602001611123929190613d36565b6040516020818303038152906040526000876040518060400160405280600f81526020017f4175746f6d6174652e657865633a200000000000000000000000000000000000815250611b46565b50809150508215611206576111cb888360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611be090919063ffffffff16565b507f44d83729a43f9c6046446df014d073dd242e0ad672071e9b292f31b669c25b0988886040516111fd929190613d5e565b60405180910390a15b979650505050505050565b6000858585858560405160200161122c959493929190613fdd565b60405160208183030381529060405280519060200120905095945050505050565b6000806000600160058081111561126757611266613ac2565b5b6112719190614037565b905060005b8181101561141357600081600581111561129357611292613ac2565b5b90506112b08160058111156112ab576112aa613ac2565b5b611bf7565b6112ba5750611400565b60008660008360058111156112d2576112d1613ac2565b5b60058111156112e4576112e3613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061131e81611c38565b60006376474e6a60e01b8a8a60405160240161133b92919061408d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006113dc83836040518060400160405280601881526020017f4175746f6d6174652e7072654372656174655461736b3a200000000000000000815250611caa565b915050808060200190518101906113f391906140e2565b809b50819c505050505050505b808061140b90613b20565b915050611276565b5085859250925050935093915050565b600061143a8686611433876115ca565b8686611211565b905061148d81600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b156114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c490614194565b60405180910390fd5b6114dc81878787876006611d34565b61152d81600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f0590919063ffffffff16565b50808573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f73f079427211e7b93db86024054de0b3c4a076a36cf0f86d2c4bf0d112eb7f1d878787604051611590939291906141b4565b60405180910390a495945050505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354905090565b60006018826003815181106115e2576115e1613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60108360028151811061164657611645613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c6008846001815181106116aa576116a9613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c8460008151811061170c5761170b613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161717179050919050565b6000806117508584611f1c565b9050611760898989898986612059565b80975081985050506117cc87878a60405160200161177f929190613d36565b6040516020818303038152906040526000876040518060400160405280600f81526020017f4175746f6d6174652e657865633a200000000000000000000000000000000000815250611b46565b50809250506117df8989898989866121cc565b50979650505050505050565b60008060058081111561180157611800613ac2565b5b905060005b81811161199c57600081600581111561182257611821613ac2565b5b905061183f81600581111561183a57611839613ac2565b5b612312565b6118495750611989565b600085600083600581111561186157611860613ac2565b5b600581111561187357611872613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506118ad81611c38565b60006314ae992660e01b89896040516024016118ca929190613d5e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600061196b83836040518060400160405280601881526020017f4175746f6d6174652e70726543616e63656c5461736b3a200000000000000000815250611caa565b9150508080602001905181019061198291906141f9565b9850505050505b808061199490613b20565b915050611806565b50839150509392505050565b6119f981600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f90614298565b60405180910390fd5b611a8981600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611be090919063ffffffff16565b507f44d83729a43f9c6046446df014d073dd242e0ad672071e9b292f31b669c25b098183604051611abb929190613d5e565b60405180910390a15050565b606081600001805480602002602001604051908101604052809291908181526020018280548015611b1757602002820191906000526020600020905b815481526020019060010190808311611b03575b50505050509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051611b7091906142b8565b60006040518083038185875af1925050503d8060008114611bad576040519150601f19603f3d011682016040523d82523d6000602084013e611bb2565b606091505b50809250819350505081158015611bc65750835b15611bd657611bd58184612353565b5b9550959350505050565b6000611bef83600001836124ba565b905092915050565b600060026005811115611c0d57611c0c613ac2565b5b826005811115611c2057611c1f613ac2565b5b03611c2e5760019050611c33565b600090505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90614341565b60405180910390fd5b50565b600060608473ffffffffffffffffffffffffffffffffffffffff1684604051611cd391906142b8565b600060405180830381855af49150503d8060008114611d0e576040519150601f19603f3d011682016040523d82523d6000602084013e611d13565b606091505b50809250819350505081611d2c57611d2b8184612353565b5b935093915050565b60008260000151519050611d4b83600001516125ce565b60005b81811015611efb57600084600001518281518110611d6f57611d6e613a93565b5b60200260200101519050611d94816005811115611d8f57611d8e613ac2565b5b6128eb565b611d9e5750611ee8565b6000846000836005811115611db657611db5613ac2565b5b6005811115611dc857611dc7613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611e0281611c38565b600063b0ccbdf060e01b8b8b8b8b8b602001518981518110611e2757611e26613a93565b5b6020026020010151604051602401611e43959493929190614361565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050611ee282826040518060400160405280601781526020017f4175746f6d6174652e6f6e4372656174655461736b3a20000000000000000000815250611caa565b50505050505b8080611ef390613b20565b915050611d4e565b5050505050505050565b6000611f14836000018361292c565b905092915050565b606060008351905060008167ffffffffffffffff811115611f4057611f3f612c7b565b5b604051908082528060200260200182016040528015611f6e5781602001602082028036833780820191505090505b50905060005b8281101561204d57846000878381518110611f9257611f91613a93565b5b60200260200101516005811115611fac57611fab613ac2565b5b6005811115611fbe57611fbd613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061200057611fff613a93565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061204590613b20565b915050611f74565b50809250505092915050565b6000606060008451905060005b818110156121b9576120a386828151811061208457612083613a93565b5b6020026020010151600581111561209e5761209d613ac2565b5b61299c565b156121a657600063c10304f760e01b8b8b8b8b6040516024016120c994939291906143c2565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006121848784815181106121405761213f613a93565b5b6020026020010151836040518060400160405280601681526020017f4175746f6d6174652e7072654578656343616c6c3a2000000000000000000000815250611caa565b9150508080602001905181019061219b919061447e565b809a50819b50505050505b80806121b190613b20565b915050612066565b5086869250925050965096945050505050565b60008151905060005b81811015612308576122128482815181106121f3576121f2613a93565b5b6020026020010151600581111561220d5761220c613ac2565b5b6129dd565b156122f557600063b2db0b4160e01b8989898960405160240161223894939291906143c2565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506122f18483815181106122ad576122ac613a93565b5b6020026020010151826040518060400160405280601781526020017f4175746f6d6174652e706f73744578656343616c6c3a20000000000000000000815250611caa565b5050505b808061230090613b20565b9150506121d5565b5050505050505050565b60006002600581111561232857612327613ac2565b5b82600581111561233b5761233a613ac2565b5b03612349576001905061234e565b600090505b919050565b6004602083516123639190614509565b0361245e576000826020015190506308c379a060e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036124025760448301925081836040516020016123b7929190614576565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f991906133d4565b60405180910390fd5b8160405160200161241391906145e6565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245591906133d4565b60405180910390fd5b8060405160200161246f9190614654565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b191906133d4565b60405180910390fd5b600080836001016000848152602001908152602001600020549050600081146125c25760006001826124ec9190614676565b90506000600186600001805490506125049190614676565b905081811461257357600086600001828154811061252557612524613a93565b5b906000526020600020015490508087600001848154811061254957612548613a93565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612587576125866146aa565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506125c8565b60009150505b92915050565b600081519050600060016005808111156125eb576125ea613ac2565b5b6125f59190614037565b905060008167ffffffffffffffff81111561261357612612612c7b565b5b6040519080825280602002602001820160405280156126415781602001602082028036833780820191505090505b50905060005b838110156127655760008111156126ff57846001826126669190614676565b8151811061267757612676613a93565b5b6020026020010151600581111561269157612690613ac2565b5b8582815181106126a4576126a3613a93565b5b602002602001015160058111156126be576126bd613ac2565b5b116126fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f590614725565b60405180910390fd5b5b60018286838151811061271557612714613a93565b5b6020026020010151600581111561272f5761272e613ac2565b5b815181106127405761273f613a93565b5b602002602001019015159081151581525050808061275d90613b20565b915050612647565b50806001600581111561277b5761277a613ac2565b5b8151811061278c5761278b613a93565b5b6020026020010151156127d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb906147b7565b60405180910390fd5b80600060058111156127e9576127e8613ac2565b5b815181106127fa576127f9613a93565b5b602002602001015180156128385750806004600581111561281e5761281d613ac2565b5b8151811061282f5761282e613a93565b5b60200260200101515b15612878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286f90614849565b60405180910390fd5b806002600581111561288d5761288c613ac2565b5b8151811061289e5761289d613a93565b5b60200260200101516128e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128dc906148db565b60405180910390fd5b50505050565b60006002600581111561290157612900613ac2565b5b82600581111561291457612913613ac2565b5b036129225760019050612927565b600090505b919050565b60006129388383611b23565b612991578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612996565b600090505b92915050565b6000600260058111156129b2576129b1613ac2565b5b8260058111156129c5576129c4613ac2565b5b036129d357600190506129d8565b600090505b919050565b6000600360058111156129f3576129f2613ac2565b5b826005811115612a0657612a05613ac2565b5b03612a145760019050612a19565b600090505b919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5d82612a32565b9050919050565b612a6d81612a52565b8114612a7857600080fd5b50565b600081359050612a8a81612a64565b92915050565b600060208284031215612aa657612aa5612a28565b5b6000612ab484828501612a7b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b612afc81612ae9565b82525050565b6000612b0e8383612af3565b60208301905092915050565b6000602082019050919050565b6000612b3282612abd565b612b3c8185612ac8565b9350612b4783612ad9565b8060005b83811015612b78578151612b5f8882612b02565b9750612b6a83612b1a565b925050600181019050612b4b565b5085935050505092915050565b60006020820190508181036000830152612b9f8184612b27565b905092915050565b612bb081612ae9565b8114612bbb57600080fd5b50565b600081359050612bcd81612ba7565b92915050565b600060208284031215612be957612be8612a28565b5b6000612bf784828501612bbe565b91505092915050565b612c0981612a52565b82525050565b6000602082019050612c246000830184612c00565b92915050565b6000819050919050565b612c3d81612c2a565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cb382612c6a565b810181811067ffffffffffffffff82111715612cd257612cd1612c7b565b5b80604052505050565b6000612ce5612a1e565b9050612cf18282612caa565b919050565b600067ffffffffffffffff821115612d1157612d10612c7b565b5b612d1a82612c6a565b9050602081019050919050565b82818337600083830152505050565b6000612d49612d4484612cf6565b612cdb565b905082815260208101848484011115612d6557612d64612c65565b5b612d70848285612d27565b509392505050565b600082601f830112612d8d57612d8c612c60565b5b8135612d9d848260208601612d36565b91505092915050565b60008115159050919050565b612dbb81612da6565b8114612dc657600080fd5b50565b600081359050612dd881612db2565b92915050565b600080600080600080600080610100898b031215612dff57612dfe612a28565b5b6000612e0d8b828c01612a7b565b9850506020612e1e8b828c01612a7b565b9750506040612e2f8b828c01612bbe565b9650506060612e408b828c01612c4b565b9550506080612e518b828c01612a7b565b94505060a089013567ffffffffffffffff811115612e7257612e71612a2d565b5b612e7e8b828c01612d78565b93505060c0612e8f8b828c01612dc9565b92505060e0612ea08b828c01612dc9565b9150509295985092959890939650565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ee581612eb0565b8114612ef057600080fd5b50565b600081359050612f0281612edc565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff821115612f2d57612f2c612c7b565b5b602082029050602081019050919050565b600080fd5b60068110612f5057600080fd5b50565b600081359050612f6281612f43565b92915050565b6000612f7b612f7684612f12565b612cdb565b90508083825260208201905060208402830185811115612f9e57612f9d612f3e565b5b835b81811015612fc75780612fb38882612f53565b845260208401935050602081019050612fa0565b5050509392505050565b600082601f830112612fe657612fe5612c60565b5b8135612ff6848260208601612f68565b91505092915050565b600067ffffffffffffffff82111561301a57613019612c7b565b5b602082029050602081019050919050565b600061303e61303984612fff565b612cdb565b9050808382526020820190506020840283018581111561306157613060612f3e565b5b835b818110156130a857803567ffffffffffffffff81111561308657613085612c60565b5b8086016130938982612d78565b85526020850194505050602081019050613063565b5050509392505050565b600082601f8301126130c7576130c6612c60565b5b81356130d784826020860161302b565b91505092915050565b6000604082840312156130f6576130f5612f08565b5b6131006040612cdb565b9050600082013567ffffffffffffffff8111156131205761311f612f0d565b5b61312c84828501612fd1565b600083015250602082013567ffffffffffffffff8111156131505761314f612f0d565b5b61315c848285016130b2565b60208301525092915050565b600080600080600060a0868803121561318457613183612a28565b5b600061319288828901612a7b565b95505060206131a388828901612a7b565b94505060406131b488828901612ef3565b935050606086013567ffffffffffffffff8111156131d5576131d4612a2d565b5b6131e1888289016130e0565b92505060806131f288828901612a7b565b9150509295509295909350565b61320881612ae9565b82525050565b600060208201905061322360008301846131ff565b92915050565b600080fd5b60008083601f84011261324457613243612c60565b5b8235905067ffffffffffffffff81111561326157613260613229565b5b60208301915083600182028301111561327d5761327c612f3e565b5b9250929050565b600080fd5b60006040828403121561329f5761329e613284565b5b81905092915050565b6000806000806000608086880312156132c4576132c3612a28565b5b60006132d288828901612a7b565b955050602086013567ffffffffffffffff8111156132f3576132f2612a2d565b5b6132ff8882890161322e565b9450945050604086013567ffffffffffffffff81111561332257613321612a2d565b5b61332e88828901613289565b925050606061333f88828901612a7b565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b8381101561338657808201518184015260208101905061336b565b83811115613395576000848401525b50505050565b60006133a68261334c565b6133b08185613357565b93506133c0818560208601613368565b6133c981612c6a565b840191505092915050565b600060208201905081810360008301526133ee818461339b565b905092915050565b600061340182612a32565b9050919050565b613411816133f6565b82525050565b600060208201905061342c6000830184613408565b92915050565b600080600080600080600060e0888a03121561345157613450612a28565b5b600061345f8a828b01612a7b565b97505060206134708a828b01612a7b565b96505060406134818a828b01612bbe565b95505060606134928a828b01612bbe565b945050608088013567ffffffffffffffff8111156134b3576134b2612a2d565b5b6134bf8a828b01612d78565b93505060a06134d08a828b01612dc9565b92505060c06134e18a828b01612dc9565b91505092959891949750929550565b60008083601f84011261350657613505612c60565b5b8235905067ffffffffffffffff81111561352357613522613229565b5b60208301915083602082028301111561353f5761353e612f3e565b5b9250929050565b60008083601f84011261355c5761355b612c60565b5b8235905067ffffffffffffffff81111561357957613578613229565b5b60208301915083602082028301111561359557613594612f3e565b5b9250929050565b600080600080604085870312156135b6576135b5612a28565b5b600085013567ffffffffffffffff8111156135d4576135d3612a2d565b5b6135e0878288016134f0565b9450945050602085013567ffffffffffffffff81111561360357613602612a2d565b5b61360f87828801613546565b925092505092959194509250565b600060c0828403121561363357613632613284565b5b81905092915050565b600080600080600080610160878903121561365a57613659612a28565b5b600061366889828a01612a7b565b965050602061367989828a01612a7b565b955050604087013567ffffffffffffffff81111561369a57613699612a2d565b5b6136a689828a01612d78565b945050606087013567ffffffffffffffff8111156136c7576136c6612a2d565b5b6136d389828a01613289565b93505060806136e489828a0161361d565b9250506101406136f689828a01612dc9565b9150509295509295509295565b61370c81612c2a565b82525050565b60006020820190506137276000830184613703565b92915050565b60006040820190506137426000830185613703565b61374f6020830184612c00565b9392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b61377b81613756565b82525050565b60006040820190506137966000830185613772565b6137a36020830184613772565b9392505050565b6000602082840312156137c0576137bf612a28565b5b60006137ce84828501612f53565b91505092915050565b600080600080600080600060e0888a0312156137f6576137f5612a28565b5b60006138048a828b01612a7b565b97505060206138158a828b01612a7b565b965050604088013567ffffffffffffffff81111561383657613835612a2d565b5b6138428a828b01612d78565b955050606088013567ffffffffffffffff81111561386357613862612a2d565b5b61386f8a828b01613289565b94505060806138808a828b01612c4b565b93505060a06138918a828b01612a7b565b92505060c06138a28a828b01612dc9565b91505092959891949750929550565b7f47656c61746f666965643a204f6e6c792067656c61746f000000000000000000600082015250565b60006138e7601783613357565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f4175746f6d6174652e657865633a205461736b206e6f7420666f756e64000000600082015250565b6000613953601d83613357565b915061395e8261391d565b602082019050919050565b6000602082019050818103600083015261398281613946565b9050919050565b61399281612da6565b82525050565b60006080820190506139ad60008301876131ff565b6139ba6020830186613703565b6139c76040830185612c00565b6139d46060830184613989565b95945050505050565b60006139e936836130e0565b9050919050565b6000606082019050613a0560008301866131ff565b613a1260208301856131ff565b613a1f6040830184613989565b949350505050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000613a5d600e83613357565b9150613a6882613a27565b602082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2b82612c2a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b5d57613b5c613af1565b5b600182019050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112613b9457613b93613b68565b5b80840192508235915067ffffffffffffffff821115613bb657613bb5613b6d565b5b602083019250602082023603831315613bd257613bd1613b72565b5b509250929050565b600081519050919050565b600082825260208201905092915050565b6000613c0182613bda565b613c0b8185613be5565b9350613c1b818560208601613368565b613c2481612c6a565b840191505092915050565b60006060820190508181036000830152613c498186613bf6565b9050613c5860208301856131ff565b613c656040830184613989565b949350505050565b6000608082019050613c826000830187613703565b613c8f6020830186613703565b613c9c6040830185613703565b613ca960608301846131ff565b95945050505050565b600081905092915050565b6000613cc882613bda565b613cd28185613cb2565b9350613ce2818560208601613368565b80840191505092915050565b60008160601b9050919050565b6000613d0682613cee565b9050919050565b6000613d1882613cfb565b9050919050565b613d30613d2b82612a52565b613d0d565b82525050565b6000613d428285613cbd565b9150613d4e8284613d1f565b6014820191508190509392505050565b6000604082019050613d7360008301856131ff565b613d806020830184612c00565b9392505050565b613d9081612eb0565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60068110613dd357613dd2613ac2565b5b50565b6000819050613de482613dc2565b919050565b6000613df482613dd6565b9050919050565b613e0481613de9565b82525050565b6000613e168383613dfb565b60208301905092915050565b6000602082019050919050565b6000613e3a82613d96565b613e448185613da1565b9350613e4f83613db2565b8060005b83811015613e80578151613e678882613e0a565b9750613e7283613e22565b925050600181019050613e53565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000613ed582613bda565b613edf8185613eb9565b9350613eef818560208601613368565b613ef881612c6a565b840191505092915050565b6000613f0f8383613eca565b905092915050565b6000602082019050919050565b6000613f2f82613e8d565b613f398185613e98565b935083602082028501613f4b85613ea9565b8060005b85811015613f875784840389528151613f688582613f03565b9450613f7383613f17565b925060208a01995050600181019050613f4f565b50829750879550505050505092915050565b60006040830160008301518482036000860152613fb68282613e2f565b91505060208301518482036020860152613fd08282613f24565b9150508091505092915050565b600060a082019050613ff26000830188612c00565b613fff6020830187612c00565b61400c6040830186613d87565b818103606083015261401e8185613f99565b905061402d6080830184612c00565b9695505050505050565b600061404282612c2a565b915061404d83612c2a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561408257614081613af1565b5b828201905092915050565b60006040820190506140a26000830185612c00565b6140af6020830184612c00565b9392505050565b6140bf816133f6565b81146140ca57600080fd5b50565b6000815190506140dc816140b6565b92915050565b600080604083850312156140f9576140f8612a28565b5b6000614107858286016140cd565b9250506020614118858286016140cd565b9150509250929050565b7f4175746f6d6174652e6372656174655461736b3a204475706c6963617465207460008201527f61736b0000000000000000000000000000000000000000000000000000000000602082015250565b600061417e602383613357565b915061418982614122565b604082019050919050565b600060208201905081810360008301526141ad81614171565b9050919050565b600060608201905081810360008301526141ce8186613bf6565b905081810360208301526141e28185613f99565b90506141f16040830184612c00565b949350505050565b60006020828403121561420f5761420e612a28565b5b600061421d848285016140cd565b91505092915050565b7f4175746f6d6174652e63616e63656c5461736b3a205461736b206e6f7420666f60008201527f756e640000000000000000000000000000000000000000000000000000000000602082015250565b6000614282602383613357565b915061428d82614226565b604082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b60006142c48284613cbd565b915081905092915050565b7f4175746f6d6174652e5f6d6f64756c65496e697469616c697365643a204e6f7460008201527f20696e6974000000000000000000000000000000000000000000000000000000602082015250565b600061432b602583613357565b9150614336826142cf565b604082019050919050565b6000602082019050818103600083015261435a8161431e565b9050919050565b600060a08201905061437660008301886131ff565b6143836020830187612c00565b6143906040830186612c00565b81810360608301526143a28185613bf6565b905081810360808301526143b68184613bf6565b90509695505050505050565b60006080820190506143d760008301876131ff565b6143e46020830186612c00565b6143f16040830185612c00565b81810360608301526144038184613bf6565b905095945050505050565b600061442161441c84612cf6565b612cdb565b90508281526020810184848401111561443d5761443c612c65565b5b614448848285613368565b509392505050565b600082601f83011261446557614464612c60565b5b815161447584826020860161440e565b91505092915050565b6000806040838503121561449557614494612a28565b5b60006144a3858286016140cd565b925050602083015167ffffffffffffffff8111156144c4576144c3612a2d565b5b6144d085828601614450565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061451482612c2a565b915061451f83612c2a565b92508261452f5761452e6144da565b5b828206905092915050565b600081905092915050565b60006145508261334c565b61455a818561453a565b935061456a818560208601613368565b80840191505092915050565b60006145828285614545565b915061458e8284614545565b91508190509392505050565b7f4e6f4572726f7253656c6563746f720000000000000000000000000000000000600082015250565b60006145d0600f8361453a565b91506145db8261459a565b600f82019050919050565b60006145f28284614545565b91506145fd826145c3565b915081905092915050565b7f556e657870656374656452657475726e64617461000000000000000000000000600082015250565b600061463e60148361453a565b915061464982614608565b601482019050919050565b60006146608284614545565b915061466b82614631565b915081905092915050565b600061468182612c2a565b915061468c83612c2a565b92508282101561469f5761469e613af1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4175746f6d6174652e5f76616c69644d6f64756c65733a20417363206f6e6c79600082015250565b600061470f602083613357565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a2054494d452069732060008201527f6465707265636174656400000000000000000000000000000000000000000000602082015250565b60006147a1602a83613357565b91506147ac82614745565b604082019050919050565b600060208201905081810360008301526147d081614794565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a204f6e6c792052455360008201527f4f4c564552206f7220574542335f46554e4354494f4e00000000000000000000602082015250565b6000614833603683613357565b915061483e826147d7565b604082019050919050565b6000602082019050818103600083015261486281614826565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a2050524f585920697360008201527f2072657175697265640000000000000000000000000000000000000000000000602082015250565b60006148c5602983613357565b91506148d082614869565b604082019050919050565b600060208201905081810360008301526148f4816148b8565b905091905056fea26469706673582212201ea424cb154f91a78d903ce21fbd9aaea3001808fcb97341b656af505713ed9864736f6c634300080e0033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806380381407116100ad578063b81cd86611610071578063b81cd8661461032f578063cd3d4fb914610360578063ddca3f4314610390578063e1d173a9146103ae578063ee8ca3b5146103ca57610121565b8063803814071461028c578063813785e6146102a8578063abf26d55146102c4578063ac21631a146102e0578063b810c6361461031057610121565b80633323b467116100f45780633323b467146101d257806354fd4d5014610202578063573ea57514610220578063647846a51461023e5780636d2dd29f1461025c57610121565b80630407145c146101265780632e6e0bd01461015657806330a9fe6a146101865780633140576e146101a2575b600080fd5b610140600480360381019061013b9190612a90565b6103e6565b60405161014d9190612b85565b60405180910390f35b610170600480360381019061016b9190612bd3565b61043c565b60405161017d9190612c0f565b60405180910390f35b6101a0600480360381019061019b9190612dde565b61046f565b005b6101bc60048036038101906101b79190613168565b61065c565b6040516101c9919061320e565b60405180910390f35b6101ec60048036038101906101e791906132a8565b610676565b6040516101f9919061320e565b60405180910390f35b61020a6106f3565b60405161021791906133d4565b60405180910390f35b61022861072c565b6040516102359190613417565b60405180910390f35b610246610750565b6040516102539190612c0f565b60405180910390f35b61027660048036038101906102719190612bd3565b610776565b6040516102839190612c0f565b60405180910390f35b6102a660048036038101906102a19190613432565b6107a9565b005b6102c260048036038101906102bd919061359c565b610920565b005b6102de60048036038101906102d9919061363c565b610a87565b005b6102fa60048036038101906102f59190612bd3565b610d57565b6040516103079190613712565b60405180910390f35b610318610d6f565b60405161032692919061372d565b60405180910390f35b61034960048036038101906103449190612bd3565b610da0565b604051610357929190613781565b60405180910390f35b61037a600480360381019061037591906137aa565b610dfc565b6040516103879190612c0f565b60405180910390f35b610398610e2f565b6040516103a59190613712565b60405180910390f35b6103c860048036038101906103c391906137d7565b610e35565b005b6103e460048036038101906103df9190612bd3565b6110c0565b005b60606000610431600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110de565b905080915050919050565b60006020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f4906138fd565b60405180910390fd5b61054e86600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b61058d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058490613969565b60405180910390fd5b8460038190555083600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006105e7878a8a878787600261110a565b9050600360009055600460006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690557f668a2c70c9e33b13c143eac02a389bb5ff706c9939aab9ef9edbbc11216b7b4d878787846040516106499493929190613998565b60405180910390a1505050505050505050565b600061066b8686868686611211565b905095945050505050565b6000806106853388600661124d565b80985081925050506106e7818888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050876106e1906139dd565b87611423565b91505095945050505050565b6040518060400160405280600181526020017f370000000000000000000000000000000000000000000000000000000000000081525081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e906138fd565b60405180910390fd5b61088885600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b6108c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108be90613969565b60405180910390fd5b60006108d9868989878787600261110a565b90507f6bc93adab97dd835bee818087939b726558bc8d9177650a0018dd05eb00e56c886868360405161090e939291906139f0565b60405180910390a15050505050505050565b6109286115a1565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90613a73565b60405180910390fd5b600084849050905060005b81811015610a7f578383828181106109bb576109ba613a93565b5b90506020020160208101906109d09190612a90565b600660008888858181106109e7576109e6613a93565b5b90506020020160208101906109fc91906137aa565b6005811115610a0e57610a0d613ac2565b5b6005811115610a2057610a1f613ac2565b5b815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080610a7790613b20565b9150506109a0565b505050505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c906138fd565b60405180910390fd5b6000610b368787610b25886115ca565b87610b2f906139dd565b6000611211565b9050610b8981600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b610bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbf90613969565b60405180910390fd5b6000610c2982898989898060000190610be19190613b77565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050886006611743565b90508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1660007fa458375b1282695a972870cbfbc4891a9d856b79d563d17667d171d87e0c527a898686604051610c8f93929190613c2f565b60405180910390a4836020016020810190610caa9190612a90565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16856000016020810190610cea9190612a90565b73ffffffffffffffffffffffffffffffffffffffff167f116bfd46451bbd23e7a5f5b7420b28e3d98d4c477f173da513aaaeac3c4baada8760400135886060013589608001358a60a00135604051610d459493929190613c6d565b60405180910390a45050505050505050565b60076020528060005260406000206000915090505481565b600080600354600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915091509091565b60056020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b60066020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ec3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eba906138fd565b60405180910390fd5b6000610ee38888610ed3896115ca565b88610edd906139dd565b87611211565b9050610f3681600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90613969565b60405180910390fd5b8360038190555082600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600061101e828a8a8a8a8060000190610fd69190613b77565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050886006611743565b9050600360009055600460006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558773ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16867fa458375b1282695a972870cbfbc4891a9d856b79d563d17667d171d87e0c527a8a86866040516110ad93929190613c2f565b60405180910390a4505050505050505050565b60006110ce823360066117eb565b90506110da81836119a8565b5050565b60606110ec82600001611ac7565b9050919050565b60006111028360000183611b23565b905092915050565b6000611170868689604051602001611123929190613d36565b6040516020818303038152906040526000876040518060400160405280600f81526020017f4175746f6d6174652e657865633a200000000000000000000000000000000000815250611b46565b50809150508215611206576111cb888360008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611be090919063ffffffff16565b507f44d83729a43f9c6046446df014d073dd242e0ad672071e9b292f31b669c25b0988886040516111fd929190613d5e565b60405180910390a15b979650505050505050565b6000858585858560405160200161122c959493929190613fdd565b60405160208183030381529060405280519060200120905095945050505050565b6000806000600160058081111561126757611266613ac2565b5b6112719190614037565b905060005b8181101561141357600081600581111561129357611292613ac2565b5b90506112b08160058111156112ab576112aa613ac2565b5b611bf7565b6112ba5750611400565b60008660008360058111156112d2576112d1613ac2565b5b60058111156112e4576112e3613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905061131e81611c38565b60006376474e6a60e01b8a8a60405160240161133b92919061408d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006113dc83836040518060400160405280601881526020017f4175746f6d6174652e7072654372656174655461736b3a200000000000000000815250611caa565b915050808060200190518101906113f391906140e2565b809b50819c505050505050505b808061140b90613b20565b915050611276565b5085859250925050935093915050565b600061143a8686611433876115ca565b8686611211565b905061148d81600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b156114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c490614194565b60405180910390fd5b6114dc81878787876006611d34565b61152d81600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f0590919063ffffffff16565b50808573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167f73f079427211e7b93db86024054de0b3c4a076a36cf0f86d2c4bf0d112eb7f1d878787604051611590939291906141b4565b60405180910390a495945050505050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610354905090565b60006018826003815181106115e2576115e1613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60108360028151811061164657611645613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c6008846001815181106116aa576116a9613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c8460008151811061170c5761170b613a93565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161717179050919050565b6000806117508584611f1c565b9050611760898989898986612059565b80975081985050506117cc87878a60405160200161177f929190613d36565b6040516020818303038152906040526000876040518060400160405280600f81526020017f4175746f6d6174652e657865633a200000000000000000000000000000000000815250611b46565b50809250506117df8989898989866121cc565b50979650505050505050565b60008060058081111561180157611800613ac2565b5b905060005b81811161199c57600081600581111561182257611821613ac2565b5b905061183f81600581111561183a57611839613ac2565b5b612312565b6118495750611989565b600085600083600581111561186157611860613ac2565b5b600581111561187357611872613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506118ad81611c38565b60006314ae992660e01b89896040516024016118ca929190613d5e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050600061196b83836040518060400160405280601881526020017f4175746f6d6174652e70726543616e63656c5461736b3a200000000000000000815250611caa565b9150508080602001905181019061198291906141f9565b9850505050505b808061199490613b20565b915050611806565b50839150509392505050565b6119f981600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206110f390919063ffffffff16565b611a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2f90614298565b60405180910390fd5b611a8981600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611be090919063ffffffff16565b507f44d83729a43f9c6046446df014d073dd242e0ad672071e9b292f31b669c25b098183604051611abb929190613d5e565b60405180910390a15050565b606081600001805480602002602001604051908101604052809291908181526020018280548015611b1757602002820191906000526020600020905b815481526020019060010190808311611b03575b50505050509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051611b7091906142b8565b60006040518083038185875af1925050503d8060008114611bad576040519150601f19603f3d011682016040523d82523d6000602084013e611bb2565b606091505b50809250819350505081158015611bc65750835b15611bd657611bd58184612353565b5b9550959350505050565b6000611bef83600001836124ba565b905092915050565b600060026005811115611c0d57611c0c613ac2565b5b826005811115611c2057611c1f613ac2565b5b03611c2e5760019050611c33565b600090505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9e90614341565b60405180910390fd5b50565b600060608473ffffffffffffffffffffffffffffffffffffffff1684604051611cd391906142b8565b600060405180830381855af49150503d8060008114611d0e576040519150601f19603f3d011682016040523d82523d6000602084013e611d13565b606091505b50809250819350505081611d2c57611d2b8184612353565b5b935093915050565b60008260000151519050611d4b83600001516125ce565b60005b81811015611efb57600084600001518281518110611d6f57611d6e613a93565b5b60200260200101519050611d94816005811115611d8f57611d8e613ac2565b5b6128eb565b611d9e5750611ee8565b6000846000836005811115611db657611db5613ac2565b5b6005811115611dc857611dc7613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611e0281611c38565b600063b0ccbdf060e01b8b8b8b8b8b602001518981518110611e2757611e26613a93565b5b6020026020010151604051602401611e43959493929190614361565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050509050611ee282826040518060400160405280601781526020017f4175746f6d6174652e6f6e4372656174655461736b3a20000000000000000000815250611caa565b50505050505b8080611ef390613b20565b915050611d4e565b5050505050505050565b6000611f14836000018361292c565b905092915050565b606060008351905060008167ffffffffffffffff811115611f4057611f3f612c7b565b5b604051908082528060200260200182016040528015611f6e5781602001602082028036833780820191505090505b50905060005b8281101561204d57846000878381518110611f9257611f91613a93565b5b60200260200101516005811115611fac57611fab613ac2565b5b6005811115611fbe57611fbd613ac2565b5b815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061200057611fff613a93565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061204590613b20565b915050611f74565b50809250505092915050565b6000606060008451905060005b818110156121b9576120a386828151811061208457612083613a93565b5b6020026020010151600581111561209e5761209d613ac2565b5b61299c565b156121a657600063c10304f760e01b8b8b8b8b6040516024016120c994939291906143c2565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050905060006121848784815181106121405761213f613a93565b5b6020026020010151836040518060400160405280601681526020017f4175746f6d6174652e7072654578656343616c6c3a2000000000000000000000815250611caa565b9150508080602001905181019061219b919061447e565b809a50819b50505050505b80806121b190613b20565b915050612066565b5086869250925050965096945050505050565b60008151905060005b81811015612308576122128482815181106121f3576121f2613a93565b5b6020026020010151600581111561220d5761220c613ac2565b5b6129dd565b156122f557600063b2db0b4160e01b8989898960405160240161223894939291906143c2565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506122f18483815181106122ad576122ac613a93565b5b6020026020010151826040518060400160405280601781526020017f4175746f6d6174652e706f73744578656343616c6c3a20000000000000000000815250611caa565b5050505b808061230090613b20565b9150506121d5565b5050505050505050565b60006002600581111561232857612327613ac2565b5b82600581111561233b5761233a613ac2565b5b03612349576001905061234e565b600090505b919050565b6004602083516123639190614509565b0361245e576000826020015190506308c379a060e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036124025760448301925081836040516020016123b7929190614576565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f991906133d4565b60405180910390fd5b8160405160200161241391906145e6565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245591906133d4565b60405180910390fd5b8060405160200161246f9190614654565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b191906133d4565b60405180910390fd5b600080836001016000848152602001908152602001600020549050600081146125c25760006001826124ec9190614676565b90506000600186600001805490506125049190614676565b905081811461257357600086600001828154811061252557612524613a93565b5b906000526020600020015490508087600001848154811061254957612548613a93565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612587576125866146aa565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506125c8565b60009150505b92915050565b600081519050600060016005808111156125eb576125ea613ac2565b5b6125f59190614037565b905060008167ffffffffffffffff81111561261357612612612c7b565b5b6040519080825280602002602001820160405280156126415781602001602082028036833780820191505090505b50905060005b838110156127655760008111156126ff57846001826126669190614676565b8151811061267757612676613a93565b5b6020026020010151600581111561269157612690613ac2565b5b8582815181106126a4576126a3613a93565b5b602002602001015160058111156126be576126bd613ac2565b5b116126fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f590614725565b60405180910390fd5b5b60018286838151811061271557612714613a93565b5b6020026020010151600581111561272f5761272e613ac2565b5b815181106127405761273f613a93565b5b602002602001019015159081151581525050808061275d90613b20565b915050612647565b50806001600581111561277b5761277a613ac2565b5b8151811061278c5761278b613a93565b5b6020026020010151156127d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cb906147b7565b60405180910390fd5b80600060058111156127e9576127e8613ac2565b5b815181106127fa576127f9613a93565b5b602002602001015180156128385750806004600581111561281e5761281d613ac2565b5b8151811061282f5761282e613a93565b5b60200260200101515b15612878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286f90614849565b60405180910390fd5b806002600581111561288d5761288c613ac2565b5b8151811061289e5761289d613a93565b5b60200260200101516128e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128dc906148db565b60405180910390fd5b50505050565b60006002600581111561290157612900613ac2565b5b82600581111561291457612913613ac2565b5b036129225760019050612927565b600090505b919050565b60006129388383611b23565b612991578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612996565b600090505b92915050565b6000600260058111156129b2576129b1613ac2565b5b8260058111156129c5576129c4613ac2565b5b036129d357600190506129d8565b600090505b919050565b6000600360058111156129f3576129f2613ac2565b5b826005811115612a0657612a05613ac2565b5b03612a145760019050612a19565b600090505b919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a5d82612a32565b9050919050565b612a6d81612a52565b8114612a7857600080fd5b50565b600081359050612a8a81612a64565b92915050565b600060208284031215612aa657612aa5612a28565b5b6000612ab484828501612a7b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000819050919050565b612afc81612ae9565b82525050565b6000612b0e8383612af3565b60208301905092915050565b6000602082019050919050565b6000612b3282612abd565b612b3c8185612ac8565b9350612b4783612ad9565b8060005b83811015612b78578151612b5f8882612b02565b9750612b6a83612b1a565b925050600181019050612b4b565b5085935050505092915050565b60006020820190508181036000830152612b9f8184612b27565b905092915050565b612bb081612ae9565b8114612bbb57600080fd5b50565b600081359050612bcd81612ba7565b92915050565b600060208284031215612be957612be8612a28565b5b6000612bf784828501612bbe565b91505092915050565b612c0981612a52565b82525050565b6000602082019050612c246000830184612c00565b92915050565b6000819050919050565b612c3d81612c2a565b8114612c4857600080fd5b50565b600081359050612c5a81612c34565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612cb382612c6a565b810181811067ffffffffffffffff82111715612cd257612cd1612c7b565b5b80604052505050565b6000612ce5612a1e565b9050612cf18282612caa565b919050565b600067ffffffffffffffff821115612d1157612d10612c7b565b5b612d1a82612c6a565b9050602081019050919050565b82818337600083830152505050565b6000612d49612d4484612cf6565b612cdb565b905082815260208101848484011115612d6557612d64612c65565b5b612d70848285612d27565b509392505050565b600082601f830112612d8d57612d8c612c60565b5b8135612d9d848260208601612d36565b91505092915050565b60008115159050919050565b612dbb81612da6565b8114612dc657600080fd5b50565b600081359050612dd881612db2565b92915050565b600080600080600080600080610100898b031215612dff57612dfe612a28565b5b6000612e0d8b828c01612a7b565b9850506020612e1e8b828c01612a7b565b9750506040612e2f8b828c01612bbe565b9650506060612e408b828c01612c4b565b9550506080612e518b828c01612a7b565b94505060a089013567ffffffffffffffff811115612e7257612e71612a2d565b5b612e7e8b828c01612d78565b93505060c0612e8f8b828c01612dc9565b92505060e0612ea08b828c01612dc9565b9150509295985092959890939650565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ee581612eb0565b8114612ef057600080fd5b50565b600081359050612f0281612edc565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff821115612f2d57612f2c612c7b565b5b602082029050602081019050919050565b600080fd5b60068110612f5057600080fd5b50565b600081359050612f6281612f43565b92915050565b6000612f7b612f7684612f12565b612cdb565b90508083825260208201905060208402830185811115612f9e57612f9d612f3e565b5b835b81811015612fc75780612fb38882612f53565b845260208401935050602081019050612fa0565b5050509392505050565b600082601f830112612fe657612fe5612c60565b5b8135612ff6848260208601612f68565b91505092915050565b600067ffffffffffffffff82111561301a57613019612c7b565b5b602082029050602081019050919050565b600061303e61303984612fff565b612cdb565b9050808382526020820190506020840283018581111561306157613060612f3e565b5b835b818110156130a857803567ffffffffffffffff81111561308657613085612c60565b5b8086016130938982612d78565b85526020850194505050602081019050613063565b5050509392505050565b600082601f8301126130c7576130c6612c60565b5b81356130d784826020860161302b565b91505092915050565b6000604082840312156130f6576130f5612f08565b5b6131006040612cdb565b9050600082013567ffffffffffffffff8111156131205761311f612f0d565b5b61312c84828501612fd1565b600083015250602082013567ffffffffffffffff8111156131505761314f612f0d565b5b61315c848285016130b2565b60208301525092915050565b600080600080600060a0868803121561318457613183612a28565b5b600061319288828901612a7b565b95505060206131a388828901612a7b565b94505060406131b488828901612ef3565b935050606086013567ffffffffffffffff8111156131d5576131d4612a2d565b5b6131e1888289016130e0565b92505060806131f288828901612a7b565b9150509295509295909350565b61320881612ae9565b82525050565b600060208201905061322360008301846131ff565b92915050565b600080fd5b60008083601f84011261324457613243612c60565b5b8235905067ffffffffffffffff81111561326157613260613229565b5b60208301915083600182028301111561327d5761327c612f3e565b5b9250929050565b600080fd5b60006040828403121561329f5761329e613284565b5b81905092915050565b6000806000806000608086880312156132c4576132c3612a28565b5b60006132d288828901612a7b565b955050602086013567ffffffffffffffff8111156132f3576132f2612a2d565b5b6132ff8882890161322e565b9450945050604086013567ffffffffffffffff81111561332257613321612a2d565b5b61332e88828901613289565b925050606061333f88828901612a7b565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b8381101561338657808201518184015260208101905061336b565b83811115613395576000848401525b50505050565b60006133a68261334c565b6133b08185613357565b93506133c0818560208601613368565b6133c981612c6a565b840191505092915050565b600060208201905081810360008301526133ee818461339b565b905092915050565b600061340182612a32565b9050919050565b613411816133f6565b82525050565b600060208201905061342c6000830184613408565b92915050565b600080600080600080600060e0888a03121561345157613450612a28565b5b600061345f8a828b01612a7b565b97505060206134708a828b01612a7b565b96505060406134818a828b01612bbe565b95505060606134928a828b01612bbe565b945050608088013567ffffffffffffffff8111156134b3576134b2612a2d565b5b6134bf8a828b01612d78565b93505060a06134d08a828b01612dc9565b92505060c06134e18a828b01612dc9565b91505092959891949750929550565b60008083601f84011261350657613505612c60565b5b8235905067ffffffffffffffff81111561352357613522613229565b5b60208301915083602082028301111561353f5761353e612f3e565b5b9250929050565b60008083601f84011261355c5761355b612c60565b5b8235905067ffffffffffffffff81111561357957613578613229565b5b60208301915083602082028301111561359557613594612f3e565b5b9250929050565b600080600080604085870312156135b6576135b5612a28565b5b600085013567ffffffffffffffff8111156135d4576135d3612a2d565b5b6135e0878288016134f0565b9450945050602085013567ffffffffffffffff81111561360357613602612a2d565b5b61360f87828801613546565b925092505092959194509250565b600060c0828403121561363357613632613284565b5b81905092915050565b600080600080600080610160878903121561365a57613659612a28565b5b600061366889828a01612a7b565b965050602061367989828a01612a7b565b955050604087013567ffffffffffffffff81111561369a57613699612a2d565b5b6136a689828a01612d78565b945050606087013567ffffffffffffffff8111156136c7576136c6612a2d565b5b6136d389828a01613289565b93505060806136e489828a0161361d565b9250506101406136f689828a01612dc9565b9150509295509295509295565b61370c81612c2a565b82525050565b60006020820190506137276000830184613703565b92915050565b60006040820190506137426000830185613703565b61374f6020830184612c00565b9392505050565b60006fffffffffffffffffffffffffffffffff82169050919050565b61377b81613756565b82525050565b60006040820190506137966000830185613772565b6137a36020830184613772565b9392505050565b6000602082840312156137c0576137bf612a28565b5b60006137ce84828501612f53565b91505092915050565b600080600080600080600060e0888a0312156137f6576137f5612a28565b5b60006138048a828b01612a7b565b97505060206138158a828b01612a7b565b965050604088013567ffffffffffffffff81111561383657613835612a2d565b5b6138428a828b01612d78565b955050606088013567ffffffffffffffff81111561386357613862612a2d565b5b61386f8a828b01613289565b94505060806138808a828b01612c4b565b93505060a06138918a828b01612a7b565b92505060c06138a28a828b01612dc9565b91505092959891949750929550565b7f47656c61746f666965643a204f6e6c792067656c61746f000000000000000000600082015250565b60006138e7601783613357565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f4175746f6d6174652e657865633a205461736b206e6f7420666f756e64000000600082015250565b6000613953601d83613357565b915061395e8261391d565b602082019050919050565b6000602082019050818103600083015261398281613946565b9050919050565b61399281612da6565b82525050565b60006080820190506139ad60008301876131ff565b6139ba6020830186613703565b6139c76040830185612c00565b6139d46060830184613989565b95945050505050565b60006139e936836130e0565b9050919050565b6000606082019050613a0560008301866131ff565b613a1260208301856131ff565b613a1f6040830184613989565b949350505050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000613a5d600e83613357565b9150613a6882613a27565b602082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2b82612c2a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b5d57613b5c613af1565b5b600182019050919050565b600080fd5b600080fd5b600080fd5b60008083356001602003843603038112613b9457613b93613b68565b5b80840192508235915067ffffffffffffffff821115613bb657613bb5613b6d565b5b602083019250602082023603831315613bd257613bd1613b72565b5b509250929050565b600081519050919050565b600082825260208201905092915050565b6000613c0182613bda565b613c0b8185613be5565b9350613c1b818560208601613368565b613c2481612c6a565b840191505092915050565b60006060820190508181036000830152613c498186613bf6565b9050613c5860208301856131ff565b613c656040830184613989565b949350505050565b6000608082019050613c826000830187613703565b613c8f6020830186613703565b613c9c6040830185613703565b613ca960608301846131ff565b95945050505050565b600081905092915050565b6000613cc882613bda565b613cd28185613cb2565b9350613ce2818560208601613368565b80840191505092915050565b60008160601b9050919050565b6000613d0682613cee565b9050919050565b6000613d1882613cfb565b9050919050565b613d30613d2b82612a52565b613d0d565b82525050565b6000613d428285613cbd565b9150613d4e8284613d1f565b6014820191508190509392505050565b6000604082019050613d7360008301856131ff565b613d806020830184612c00565b9392505050565b613d9081612eb0565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60068110613dd357613dd2613ac2565b5b50565b6000819050613de482613dc2565b919050565b6000613df482613dd6565b9050919050565b613e0481613de9565b82525050565b6000613e168383613dfb565b60208301905092915050565b6000602082019050919050565b6000613e3a82613d96565b613e448185613da1565b9350613e4f83613db2565b8060005b83811015613e80578151613e678882613e0a565b9750613e7283613e22565b925050600181019050613e53565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000613ed582613bda565b613edf8185613eb9565b9350613eef818560208601613368565b613ef881612c6a565b840191505092915050565b6000613f0f8383613eca565b905092915050565b6000602082019050919050565b6000613f2f82613e8d565b613f398185613e98565b935083602082028501613f4b85613ea9565b8060005b85811015613f875784840389528151613f688582613f03565b9450613f7383613f17565b925060208a01995050600181019050613f4f565b50829750879550505050505092915050565b60006040830160008301518482036000860152613fb68282613e2f565b91505060208301518482036020860152613fd08282613f24565b9150508091505092915050565b600060a082019050613ff26000830188612c00565b613fff6020830187612c00565b61400c6040830186613d87565b818103606083015261401e8185613f99565b905061402d6080830184612c00565b9695505050505050565b600061404282612c2a565b915061404d83612c2a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561408257614081613af1565b5b828201905092915050565b60006040820190506140a26000830185612c00565b6140af6020830184612c00565b9392505050565b6140bf816133f6565b81146140ca57600080fd5b50565b6000815190506140dc816140b6565b92915050565b600080604083850312156140f9576140f8612a28565b5b6000614107858286016140cd565b9250506020614118858286016140cd565b9150509250929050565b7f4175746f6d6174652e6372656174655461736b3a204475706c6963617465207460008201527f61736b0000000000000000000000000000000000000000000000000000000000602082015250565b600061417e602383613357565b915061418982614122565b604082019050919050565b600060208201905081810360008301526141ad81614171565b9050919050565b600060608201905081810360008301526141ce8186613bf6565b905081810360208301526141e28185613f99565b90506141f16040830184612c00565b949350505050565b60006020828403121561420f5761420e612a28565b5b600061421d848285016140cd565b91505092915050565b7f4175746f6d6174652e63616e63656c5461736b3a205461736b206e6f7420666f60008201527f756e640000000000000000000000000000000000000000000000000000000000602082015250565b6000614282602383613357565b915061428d82614226565b604082019050919050565b600060208201905081810360008301526142b181614275565b9050919050565b60006142c48284613cbd565b915081905092915050565b7f4175746f6d6174652e5f6d6f64756c65496e697469616c697365643a204e6f7460008201527f20696e6974000000000000000000000000000000000000000000000000000000602082015250565b600061432b602583613357565b9150614336826142cf565b604082019050919050565b6000602082019050818103600083015261435a8161431e565b9050919050565b600060a08201905061437660008301886131ff565b6143836020830187612c00565b6143906040830186612c00565b81810360608301526143a28185613bf6565b905081810360808301526143b68184613bf6565b90509695505050505050565b60006080820190506143d760008301876131ff565b6143e46020830186612c00565b6143f16040830185612c00565b81810360608301526144038184613bf6565b905095945050505050565b600061442161441c84612cf6565b612cdb565b90508281526020810184848401111561443d5761443c612c65565b5b614448848285613368565b509392505050565b600082601f83011261446557614464612c60565b5b815161447584826020860161440e565b91505092915050565b6000806040838503121561449557614494612a28565b5b60006144a3858286016140cd565b925050602083015167ffffffffffffffff8111156144c4576144c3612a2d565b5b6144d085828601614450565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061451482612c2a565b915061451f83612c2a565b92508261452f5761452e6144da565b5b828206905092915050565b600081905092915050565b60006145508261334c565b61455a818561453a565b935061456a818560208601613368565b80840191505092915050565b60006145828285614545565b915061458e8284614545565b91508190509392505050565b7f4e6f4572726f7253656c6563746f720000000000000000000000000000000000600082015250565b60006145d0600f8361453a565b91506145db8261459a565b600f82019050919050565b60006145f28284614545565b91506145fd826145c3565b915081905092915050565b7f556e657870656374656452657475726e64617461000000000000000000000000600082015250565b600061463e60148361453a565b915061464982614608565b601482019050919050565b60006146608284614545565b915061466b82614631565b915081905092915050565b600061468182612c2a565b915061468c83612c2a565b92508282101561469f5761469e613af1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4175746f6d6174652e5f76616c69644d6f64756c65733a20417363206f6e6c79600082015250565b600061470f602083613357565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a2054494d452069732060008201527f6465707265636174656400000000000000000000000000000000000000000000602082015250565b60006147a1602a83613357565b91506147ac82614745565b604082019050919050565b600060208201905081810360008301526147d081614794565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a204f6e6c792052455360008201527f4f4c564552206f7220574542335f46554e4354494f4e00000000000000000000602082015250565b6000614833603683613357565b915061483e826147d7565b604082019050919050565b6000602082019050818103600083015261486281614826565b9050919050565b7f4175746f6d6174652e5f76616c69644d6f64756c65733a2050524f585920697360008201527f2072657175697265640000000000000000000000000000000000000000000000602082015250565b60006148c5602983613357565b91506148d082614869565b604082019050919050565b600060208201905081810360008301526148f4816148b8565b905091905056fea26469706673582212201ea424cb154f91a78d903ce21fbd9aaea3001808fcb97341b656af505713ed9864736f6c634300080e0033",
  "devdoc": {
    "kind": "dev",
    "methods": {
      "cancelTask(bytes32)": {
        "params": {
          "taskId": "Unique hash of the task that is being cancelled. {See LibTaskId-getTaskId}"
        }
      },
      "createTask(address,bytes,(uint8[],bytes[]),address)": {
        "params": {
          "execAddress": "Address of contract that should be called by Gelato.",
          "execData": "Execution data to be called with / function selector if execution data is yet to be determined.",
          "feeToken": "Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.",
          "moduleData": "Conditional modules that will be used. {See LibDataTypes-ModuleData}"
        },
        "returns": {
          "taskId": "Unique hash of the task created."
        }
      },
      "exec(address,address,bytes,(uint8[],bytes[]),uint256,address,bool)": {
        "params": {
          "execAddress": "Address of contract that should be called by Gelato.",
          "execData": "Execution data to be called with / function selector if execution data is yet to be determined.",
          "feeToken": "Token used to pay for the execution. ETH = 0xeeeeee...",
          "moduleData": "Conditional modules that will be used. {See LibDataTypes-ModuleData}",
          "revertOnFailure": "To revert or not if call to execAddress fails. (Used for off-chain simulations)",
          "taskCreator": "The address which created the task.",
          "txFee": "Fee paid to Gelato for execution, transfered to Gelato.feeCollector()."
        }
      },
      "exec1Balance(address,address,bytes,(uint8[],bytes[]),(address,address,uint256,uint256,uint256,bytes32),bool)": {
        "params": {
          "execAddress": "Address of contract that should be called by Gelato.",
          "execData": "Execution data to be called with / function selector if execution data is yet to be determined.",
          "moduleData": "Conditional modules that will be used. {See LibDataTypes-ModuleData}",
          "oneBalanceParam": "Parameters required for fee payment with Gelato 1Balance.",
          "revertOnFailure": "To revert or not if call to execAddress fails. (Used for off-chain simulations)",
          "taskCreator": "The address which created the task."
        }
      },
      "execBypassModule(address,address,bytes32,bytes32,bytes,bool,bool)": {
        "params": {
          "correlationId": "Id of the execution to be used for 1Balance settlement.",
          "execAddress": "Address of contract that should be called by Gelato.",
          "execData": "Execution data to be called with / function selector if execution data is yet to be determined.",
          "revertOnFailure": "To revert or not if call to execAddress fails. (Used for off-chain simulations)",
          "singleExec": "If the task is a SingleExec task. If true, task will be cancelled after execution.",
          "taskCreator": "The address which created the task.",
          "taskId": "Unique hash of the task."
        }
      },
      "getFeeDetails()": {
        "returns": {
          "_0": "uint256 Fee amount to be paid.",
          "_1": "address Token to be paid. (Determined and passed by taskCreator during createTask)"
        }
      },
      "getTaskId(address,address,bytes4,(uint8[],bytes[]),address)": {
        "params": {
          "execAddress": "Address of contract that will be called by Gelato.",
          "execSelector": "Signature of the function which will be called by Gelato.",
          "feeToken": "Address of token to be used as payment. Use address(0) if Gelato 1Balance is being used, 0xeeeeee... for ETH or native tokens.",
          "moduleData": "Conditional modules that will be used. {See LibDataTypes-ModuleData}",
          "taskCreator": "The address which created the task."
        }
      },
      "getTaskIdsByUser(address)": {
        "params": {
          "taskCreator": "Address of task creator to query."
        },
        "returns": {
          "_0": "bytes32[] List of taskIds created."
        }
      },
      "setModule(uint8[],address[])": {
        "params": {
          "moduleAddresses": "List of addresses for respective modules.",
          "modules": "List of modules to be set"
        }
      }
    },
    "version": 1
  },
  "userdoc": {
    "kind": "user",
    "methods": {
      "cancelTask(bytes32)": {
        "notice": "Terminates a task that was created and Gelato can no longer execute it."
      },
      "createTask(address,bytes,(uint8[],bytes[]),address)": {
        "notice": "Initiates a task with conditions which Gelato will monitor and execute when conditions are met."
      },
      "exec(address,address,bytes,(uint8[],bytes[]),uint256,address,bool)": {
        "notice": "Execution API called by Gelato, using Sync Fee as fee payment method"
      },
      "exec1Balance(address,address,bytes,(uint8[],bytes[]),(address,address,uint256,uint256,uint256,bytes32),bool)": {
        "notice": "Execution API called by Gelato, using Gelato 1Balance as fee payment method."
      },
      "execBypassModule(address,address,bytes32,bytes32,bytes,bool,bool)": {
        "notice": "Execution API called by Gelato, using Gelato 1Balance as fee payment method."
      },
      "getFeeDetails()": {
        "notice": "Helper function to query fee and feeToken to be used for payment. (For executions which pays itself)"
      },
      "getTaskId(address,address,bytes4,(uint8[],bytes[]),address)": {
        "notice": "Helper function to compute task id with module arguments"
      },
      "getTaskIdsByUser(address)": {
        "notice": "Helper func to query all open tasks by a task creator."
      },
      "setModule(uint8[],address[])": {
        "notice": "Sets the address of task modules. Only callable by proxy admin."
      }
    },
    "notice": "Automate enables everyone to have Gelato monitor and execute transactions.ExecAddress refers to the contract that has the function which Gelato will call.Modules allow users to customise conditions and specifications when creating a task.",
    "version": 1
  },
  "storageLayout": {
    "storage": [
      {
        "astId": 2271,
        "contract": "contracts/Automate.sol:Automate",
        "label": "taskCreator",
        "offset": 0,
        "slot": "0",
        "type": "t_mapping(t_bytes32,t_address)"
      },
      {
        "astId": 2276,
        "contract": "contracts/Automate.sol:Automate",
        "label": "execAddresses",
        "offset": 0,
        "slot": "1",
        "type": "t_mapping(t_bytes32,t_address)"
      },
      {
        "astId": 2282,
        "contract": "contracts/Automate.sol:Automate",
        "label": "_createdTasks",
        "offset": 0,
        "slot": "2",
        "type": "t_mapping(t_address,t_struct(Bytes32Set)1247_storage)"
      },
      {
        "astId": 2284,
        "contract": "contracts/Automate.sol:Automate",
        "label": "fee",
        "offset": 0,
        "slot": "3",
        "type": "t_uint256"
      },
      {
        "astId": 2286,
        "contract": "contracts/Automate.sol:Automate",
        "label": "feeToken",
        "offset": 0,
        "slot": "4",
        "type": "t_address"
      },
      {
        "astId": 2292,
        "contract": "contracts/Automate.sol:Automate",
        "label": "timedTask",
        "offset": 0,
        "slot": "5",
        "type": "t_mapping(t_bytes32,t_struct(Time)5500_storage)"
      },
      {
        "astId": 2298,
        "contract": "contracts/Automate.sol:Automate",
        "label": "taskModuleAddresses",
        "offset": 0,
        "slot": "6",
        "type": "t_mapping(t_enum(Module)5487,t_address)"
      },
      {
        "astId": 2302,
        "contract": "contracts/Automate.sol:Automate",
        "label": "nonce1Balance",
        "offset": 0,
        "slot": "7",
        "type": "t_mapping(t_bytes32,t_uint256)"
      }
    ],
    "types": {
      "t_address": {
        "encoding": "inplace",
        "label": "address",
        "numberOfBytes": "20"
      },
      "t_array(t_bytes32)dyn_storage": {
        "base": "t_bytes32",
        "encoding": "dynamic_array",
        "label": "bytes32[]",
        "numberOfBytes": "32"
      },
      "t_bytes32": {
        "encoding": "inplace",
        "label": "bytes32",
        "numberOfBytes": "32"
      },
      "t_enum(Module)5487": {
        "encoding": "inplace",
        "label": "enum LibDataTypes.Module",
        "numberOfBytes": "1"
      },
      "t_mapping(t_address,t_struct(Bytes32Set)1247_storage)": {
        "encoding": "mapping",
        "key": "t_address",
        "label": "mapping(address => struct EnumerableSet.Bytes32Set)",
        "numberOfBytes": "32",
        "value": "t_struct(Bytes32Set)1247_storage"
      },
      "t_mapping(t_bytes32,t_address)": {
        "encoding": "mapping",
        "key": "t_bytes32",
        "label": "mapping(bytes32 => address)",
        "numberOfBytes": "32",
        "value": "t_address"
      },
      "t_mapping(t_bytes32,t_struct(Time)5500_storage)": {
        "encoding": "mapping",
        "key": "t_bytes32",
        "label": "mapping(bytes32 => struct LibDataTypes.Time)",
        "numberOfBytes": "32",
        "value": "t_struct(Time)5500_storage"
      },
      "t_mapping(t_bytes32,t_uint256)": {
        "encoding": "mapping",
        "key": "t_bytes32",
        "label": "mapping(bytes32 => uint256)",
        "numberOfBytes": "32",
        "value": "t_uint256"
      },
      "t_mapping(t_enum(Module)5487,t_address)": {
        "encoding": "mapping",
        "key": "t_enum(Module)5487",
        "label": "mapping(enum LibDataTypes.Module => address)",
        "numberOfBytes": "32",
        "value": "t_address"
      },
      "t_struct(Bytes32Set)1247_storage": {
        "encoding": "inplace",
        "label": "struct EnumerableSet.Bytes32Set",
        "members": [
          {
            "astId": 1246,
            "contract": "contracts/Automate.sol:Automate",
            "label": "_inner",
            "offset": 0,
            "slot": "0",
            "type": "t_struct(Set)1053_storage"
          }
        ],
        "numberOfBytes": "64"
      },
      "t_struct(Set)1053_storage": {
        "encoding": "inplace",
        "label": "struct EnumerableSet.Set",
        "members": [
          {
            "astId": 1048,
            "contract": "contracts/Automate.sol:Automate",
            "label": "_values",
            "offset": 0,
            "slot": "0",
            "type": "t_array(t_bytes32)dyn_storage"
          },
          {
            "astId": 1052,
            "contract": "contracts/Automate.sol:Automate",
            "label": "_indexes",
            "offset": 0,
            "slot": "1",
            "type": "t_mapping(t_bytes32,t_uint256)"
          }
        ],
        "numberOfBytes": "64"
      },
      "t_struct(Time)5500_storage": {
        "encoding": "inplace",
        "label": "struct LibDataTypes.Time",
        "members": [
          {
            "astId": 5497,
            "contract": "contracts/Automate.sol:Automate",
            "label": "nextExec",
            "offset": 0,
            "slot": "0",
            "type": "t_uint128"
          },
          {
            "astId": 5499,
            "contract": "contracts/Automate.sol:Automate",
            "label": "interval",
            "offset": 16,
            "slot": "0",
            "type": "t_uint128"
          }
        ],
        "numberOfBytes": "32"
      },
      "t_uint128": {
        "encoding": "inplace",
        "label": "uint128",
        "numberOfBytes": "16"
      },
      "t_uint256": {
        "encoding": "inplace",
        "label": "uint256",
        "numberOfBytes": "32"
      }
    }
  }
}