eas-abi.ts
1 export default [ 2 { 3 inputs: [ 4 { 5 internalType: 'contract ISchemaRegistry', 6 name: 'registry', 7 type: 'address', 8 }, 9 ], 10 stateMutability: 'nonpayable', 11 type: 'constructor', 12 }, 13 { 14 inputs: [], 15 name: 'AccessDenied', 16 type: 'error', 17 }, 18 { 19 inputs: [], 20 name: 'AlreadyRevoked', 21 type: 'error', 22 }, 23 { 24 inputs: [], 25 name: 'AlreadyRevokedOffchain', 26 type: 'error', 27 }, 28 { 29 inputs: [], 30 name: 'AlreadyTimestamped', 31 type: 'error', 32 }, 33 { 34 inputs: [], 35 name: 'DeadlineExpired', 36 type: 'error', 37 }, 38 { 39 inputs: [], 40 name: 'InsufficientValue', 41 type: 'error', 42 }, 43 { 44 inputs: [], 45 name: 'InvalidAttestation', 46 type: 'error', 47 }, 48 { 49 inputs: [], 50 name: 'InvalidAttestations', 51 type: 'error', 52 }, 53 { 54 inputs: [], 55 name: 'InvalidExpirationTime', 56 type: 'error', 57 }, 58 { 59 inputs: [], 60 name: 'InvalidLength', 61 type: 'error', 62 }, 63 { 64 inputs: [], 65 name: 'InvalidNonce', 66 type: 'error', 67 }, 68 { 69 inputs: [], 70 name: 'InvalidOffset', 71 type: 'error', 72 }, 73 { 74 inputs: [], 75 name: 'InvalidRegistry', 76 type: 'error', 77 }, 78 { 79 inputs: [], 80 name: 'InvalidRevocation', 81 type: 'error', 82 }, 83 { 84 inputs: [], 85 name: 'InvalidRevocations', 86 type: 'error', 87 }, 88 { 89 inputs: [], 90 name: 'InvalidSchema', 91 type: 'error', 92 }, 93 { 94 inputs: [], 95 name: 'InvalidShortString', 96 type: 'error', 97 }, 98 { 99 inputs: [], 100 name: 'InvalidSignature', 101 type: 'error', 102 }, 103 { 104 inputs: [], 105 name: 'InvalidVerifier', 106 type: 'error', 107 }, 108 { 109 inputs: [], 110 name: 'Irrevocable', 111 type: 'error', 112 }, 113 { 114 inputs: [], 115 name: 'NotFound', 116 type: 'error', 117 }, 118 { 119 inputs: [], 120 name: 'NotPayable', 121 type: 'error', 122 }, 123 { 124 inputs: [ 125 { 126 internalType: 'string', 127 name: 'str', 128 type: 'string', 129 }, 130 ], 131 name: 'StringTooLong', 132 type: 'error', 133 }, 134 { 135 inputs: [], 136 name: 'WrongSchema', 137 type: 'error', 138 }, 139 { 140 anonymous: false, 141 inputs: [ 142 { 143 indexed: true, 144 internalType: 'address', 145 name: 'recipient', 146 type: 'address', 147 }, 148 { 149 indexed: true, 150 internalType: 'address', 151 name: 'attester', 152 type: 'address', 153 }, 154 { 155 indexed: false, 156 internalType: 'bytes32', 157 name: 'uid', 158 type: 'bytes32', 159 }, 160 { 161 indexed: true, 162 internalType: 'bytes32', 163 name: 'schemaUID', 164 type: 'bytes32', 165 }, 166 ], 167 name: 'Attested', 168 type: 'event', 169 }, 170 { 171 anonymous: false, 172 inputs: [], 173 name: 'EIP712DomainChanged', 174 type: 'event', 175 }, 176 { 177 anonymous: false, 178 inputs: [ 179 { 180 indexed: false, 181 internalType: 'uint256', 182 name: 'oldNonce', 183 type: 'uint256', 184 }, 185 { 186 indexed: false, 187 internalType: 'uint256', 188 name: 'newNonce', 189 type: 'uint256', 190 }, 191 ], 192 name: 'NonceIncreased', 193 type: 'event', 194 }, 195 { 196 anonymous: false, 197 inputs: [ 198 { 199 indexed: true, 200 internalType: 'address', 201 name: 'recipient', 202 type: 'address', 203 }, 204 { 205 indexed: true, 206 internalType: 'address', 207 name: 'attester', 208 type: 'address', 209 }, 210 { 211 indexed: false, 212 internalType: 'bytes32', 213 name: 'uid', 214 type: 'bytes32', 215 }, 216 { 217 indexed: true, 218 internalType: 'bytes32', 219 name: 'schemaUID', 220 type: 'bytes32', 221 }, 222 ], 223 name: 'Revoked', 224 type: 'event', 225 }, 226 { 227 anonymous: false, 228 inputs: [ 229 { 230 indexed: true, 231 internalType: 'address', 232 name: 'revoker', 233 type: 'address', 234 }, 235 { 236 indexed: true, 237 internalType: 'bytes32', 238 name: 'data', 239 type: 'bytes32', 240 }, 241 { 242 indexed: true, 243 internalType: 'uint64', 244 name: 'timestamp', 245 type: 'uint64', 246 }, 247 ], 248 name: 'RevokedOffchain', 249 type: 'event', 250 }, 251 { 252 anonymous: false, 253 inputs: [ 254 { 255 indexed: true, 256 internalType: 'bytes32', 257 name: 'data', 258 type: 'bytes32', 259 }, 260 { 261 indexed: true, 262 internalType: 'uint64', 263 name: 'timestamp', 264 type: 'uint64', 265 }, 266 ], 267 name: 'Timestamped', 268 type: 'event', 269 }, 270 { 271 inputs: [ 272 { 273 components: [ 274 { 275 internalType: 'bytes32', 276 name: 'schema', 277 type: 'bytes32', 278 }, 279 { 280 components: [ 281 { 282 internalType: 'address', 283 name: 'recipient', 284 type: 'address', 285 }, 286 { 287 internalType: 'uint64', 288 name: 'expirationTime', 289 type: 'uint64', 290 }, 291 { 292 internalType: 'bool', 293 name: 'revocable', 294 type: 'bool', 295 }, 296 { 297 internalType: 'bytes32', 298 name: 'refUID', 299 type: 'bytes32', 300 }, 301 { 302 internalType: 'bytes', 303 name: 'data', 304 type: 'bytes', 305 }, 306 { 307 internalType: 'uint256', 308 name: 'value', 309 type: 'uint256', 310 }, 311 ], 312 internalType: 'struct AttestationRequestData', 313 name: 'data', 314 type: 'tuple', 315 }, 316 ], 317 internalType: 'struct AttestationRequest', 318 name: 'request', 319 type: 'tuple', 320 }, 321 ], 322 name: 'attest', 323 outputs: [ 324 { 325 internalType: 'bytes32', 326 name: '', 327 type: 'bytes32', 328 }, 329 ], 330 stateMutability: 'payable', 331 type: 'function', 332 }, 333 { 334 inputs: [ 335 { 336 components: [ 337 { 338 internalType: 'bytes32', 339 name: 'schema', 340 type: 'bytes32', 341 }, 342 { 343 components: [ 344 { 345 internalType: 'address', 346 name: 'recipient', 347 type: 'address', 348 }, 349 { 350 internalType: 'uint64', 351 name: 'expirationTime', 352 type: 'uint64', 353 }, 354 { 355 internalType: 'bool', 356 name: 'revocable', 357 type: 'bool', 358 }, 359 { 360 internalType: 'bytes32', 361 name: 'refUID', 362 type: 'bytes32', 363 }, 364 { 365 internalType: 'bytes', 366 name: 'data', 367 type: 'bytes', 368 }, 369 { 370 internalType: 'uint256', 371 name: 'value', 372 type: 'uint256', 373 }, 374 ], 375 internalType: 'struct AttestationRequestData', 376 name: 'data', 377 type: 'tuple', 378 }, 379 { 380 components: [ 381 { 382 internalType: 'uint8', 383 name: 'v', 384 type: 'uint8', 385 }, 386 { 387 internalType: 'bytes32', 388 name: 'r', 389 type: 'bytes32', 390 }, 391 { 392 internalType: 'bytes32', 393 name: 's', 394 type: 'bytes32', 395 }, 396 ], 397 internalType: 'struct Signature', 398 name: 'signature', 399 type: 'tuple', 400 }, 401 { 402 internalType: 'address', 403 name: 'attester', 404 type: 'address', 405 }, 406 { 407 internalType: 'uint64', 408 name: 'deadline', 409 type: 'uint64', 410 }, 411 ], 412 internalType: 'struct DelegatedAttestationRequest', 413 name: 'delegatedRequest', 414 type: 'tuple', 415 }, 416 ], 417 name: 'attestByDelegation', 418 outputs: [ 419 { 420 internalType: 'bytes32', 421 name: '', 422 type: 'bytes32', 423 }, 424 ], 425 stateMutability: 'payable', 426 type: 'function', 427 }, 428 { 429 inputs: [], 430 name: 'eip712Domain', 431 outputs: [ 432 { 433 internalType: 'bytes1', 434 name: 'fields', 435 type: 'bytes1', 436 }, 437 { 438 internalType: 'string', 439 name: 'name', 440 type: 'string', 441 }, 442 { 443 internalType: 'string', 444 name: 'version', 445 type: 'string', 446 }, 447 { 448 internalType: 'uint256', 449 name: 'chainId', 450 type: 'uint256', 451 }, 452 { 453 internalType: 'address', 454 name: 'verifyingContract', 455 type: 'address', 456 }, 457 { 458 internalType: 'bytes32', 459 name: 'salt', 460 type: 'bytes32', 461 }, 462 { 463 internalType: 'uint256[]', 464 name: 'extensions', 465 type: 'uint256[]', 466 }, 467 ], 468 stateMutability: 'view', 469 type: 'function', 470 }, 471 { 472 inputs: [], 473 name: 'getAttestTypeHash', 474 outputs: [ 475 { 476 internalType: 'bytes32', 477 name: '', 478 type: 'bytes32', 479 }, 480 ], 481 stateMutability: 'pure', 482 type: 'function', 483 }, 484 { 485 inputs: [ 486 { 487 internalType: 'bytes32', 488 name: 'uid', 489 type: 'bytes32', 490 }, 491 ], 492 name: 'getAttestation', 493 outputs: [ 494 { 495 components: [ 496 { 497 internalType: 'bytes32', 498 name: 'uid', 499 type: 'bytes32', 500 }, 501 { 502 internalType: 'bytes32', 503 name: 'schema', 504 type: 'bytes32', 505 }, 506 { 507 internalType: 'uint64', 508 name: 'time', 509 type: 'uint64', 510 }, 511 { 512 internalType: 'uint64', 513 name: 'expirationTime', 514 type: 'uint64', 515 }, 516 { 517 internalType: 'uint64', 518 name: 'revocationTime', 519 type: 'uint64', 520 }, 521 { 522 internalType: 'bytes32', 523 name: 'refUID', 524 type: 'bytes32', 525 }, 526 { 527 internalType: 'address', 528 name: 'recipient', 529 type: 'address', 530 }, 531 { 532 internalType: 'address', 533 name: 'attester', 534 type: 'address', 535 }, 536 { 537 internalType: 'bool', 538 name: 'revocable', 539 type: 'bool', 540 }, 541 { 542 internalType: 'bytes', 543 name: 'data', 544 type: 'bytes', 545 }, 546 ], 547 internalType: 'struct Attestation', 548 name: '', 549 type: 'tuple', 550 }, 551 ], 552 stateMutability: 'view', 553 type: 'function', 554 }, 555 { 556 inputs: [], 557 name: 'getDomainSeparator', 558 outputs: [ 559 { 560 internalType: 'bytes32', 561 name: '', 562 type: 'bytes32', 563 }, 564 ], 565 stateMutability: 'view', 566 type: 'function', 567 }, 568 { 569 inputs: [], 570 name: 'getName', 571 outputs: [ 572 { 573 internalType: 'string', 574 name: '', 575 type: 'string', 576 }, 577 ], 578 stateMutability: 'view', 579 type: 'function', 580 }, 581 { 582 inputs: [ 583 { 584 internalType: 'address', 585 name: 'account', 586 type: 'address', 587 }, 588 ], 589 name: 'getNonce', 590 outputs: [ 591 { 592 internalType: 'uint256', 593 name: '', 594 type: 'uint256', 595 }, 596 ], 597 stateMutability: 'view', 598 type: 'function', 599 }, 600 { 601 inputs: [ 602 { 603 internalType: 'address', 604 name: 'revoker', 605 type: 'address', 606 }, 607 { 608 internalType: 'bytes32', 609 name: 'data', 610 type: 'bytes32', 611 }, 612 ], 613 name: 'getRevokeOffchain', 614 outputs: [ 615 { 616 internalType: 'uint64', 617 name: '', 618 type: 'uint64', 619 }, 620 ], 621 stateMutability: 'view', 622 type: 'function', 623 }, 624 { 625 inputs: [], 626 name: 'getRevokeTypeHash', 627 outputs: [ 628 { 629 internalType: 'bytes32', 630 name: '', 631 type: 'bytes32', 632 }, 633 ], 634 stateMutability: 'pure', 635 type: 'function', 636 }, 637 { 638 inputs: [], 639 name: 'getSchemaRegistry', 640 outputs: [ 641 { 642 internalType: 'contract ISchemaRegistry', 643 name: '', 644 type: 'address', 645 }, 646 ], 647 stateMutability: 'view', 648 type: 'function', 649 }, 650 { 651 inputs: [ 652 { 653 internalType: 'bytes32', 654 name: 'data', 655 type: 'bytes32', 656 }, 657 ], 658 name: 'getTimestamp', 659 outputs: [ 660 { 661 internalType: 'uint64', 662 name: '', 663 type: 'uint64', 664 }, 665 ], 666 stateMutability: 'view', 667 type: 'function', 668 }, 669 { 670 inputs: [ 671 { 672 internalType: 'uint256', 673 name: 'newNonce', 674 type: 'uint256', 675 }, 676 ], 677 name: 'increaseNonce', 678 outputs: [], 679 stateMutability: 'nonpayable', 680 type: 'function', 681 }, 682 { 683 inputs: [ 684 { 685 internalType: 'bytes32', 686 name: 'uid', 687 type: 'bytes32', 688 }, 689 ], 690 name: 'isAttestationValid', 691 outputs: [ 692 { 693 internalType: 'bool', 694 name: '', 695 type: 'bool', 696 }, 697 ], 698 stateMutability: 'view', 699 type: 'function', 700 }, 701 { 702 inputs: [ 703 { 704 components: [ 705 { 706 internalType: 'bytes32', 707 name: 'schema', 708 type: 'bytes32', 709 }, 710 { 711 components: [ 712 { 713 internalType: 'address', 714 name: 'recipient', 715 type: 'address', 716 }, 717 { 718 internalType: 'uint64', 719 name: 'expirationTime', 720 type: 'uint64', 721 }, 722 { 723 internalType: 'bool', 724 name: 'revocable', 725 type: 'bool', 726 }, 727 { 728 internalType: 'bytes32', 729 name: 'refUID', 730 type: 'bytes32', 731 }, 732 { 733 internalType: 'bytes', 734 name: 'data', 735 type: 'bytes', 736 }, 737 { 738 internalType: 'uint256', 739 name: 'value', 740 type: 'uint256', 741 }, 742 ], 743 internalType: 'struct AttestationRequestData[]', 744 name: 'data', 745 type: 'tuple[]', 746 }, 747 ], 748 internalType: 'struct MultiAttestationRequest[]', 749 name: 'multiRequests', 750 type: 'tuple[]', 751 }, 752 ], 753 name: 'multiAttest', 754 outputs: [ 755 { 756 internalType: 'bytes32[]', 757 name: '', 758 type: 'bytes32[]', 759 }, 760 ], 761 stateMutability: 'payable', 762 type: 'function', 763 }, 764 { 765 inputs: [ 766 { 767 components: [ 768 { 769 internalType: 'bytes32', 770 name: 'schema', 771 type: 'bytes32', 772 }, 773 { 774 components: [ 775 { 776 internalType: 'address', 777 name: 'recipient', 778 type: 'address', 779 }, 780 { 781 internalType: 'uint64', 782 name: 'expirationTime', 783 type: 'uint64', 784 }, 785 { 786 internalType: 'bool', 787 name: 'revocable', 788 type: 'bool', 789 }, 790 { 791 internalType: 'bytes32', 792 name: 'refUID', 793 type: 'bytes32', 794 }, 795 { 796 internalType: 'bytes', 797 name: 'data', 798 type: 'bytes', 799 }, 800 { 801 internalType: 'uint256', 802 name: 'value', 803 type: 'uint256', 804 }, 805 ], 806 internalType: 'struct AttestationRequestData[]', 807 name: 'data', 808 type: 'tuple[]', 809 }, 810 { 811 components: [ 812 { 813 internalType: 'uint8', 814 name: 'v', 815 type: 'uint8', 816 }, 817 { 818 internalType: 'bytes32', 819 name: 'r', 820 type: 'bytes32', 821 }, 822 { 823 internalType: 'bytes32', 824 name: 's', 825 type: 'bytes32', 826 }, 827 ], 828 internalType: 'struct Signature[]', 829 name: 'signatures', 830 type: 'tuple[]', 831 }, 832 { 833 internalType: 'address', 834 name: 'attester', 835 type: 'address', 836 }, 837 { 838 internalType: 'uint64', 839 name: 'deadline', 840 type: 'uint64', 841 }, 842 ], 843 internalType: 'struct MultiDelegatedAttestationRequest[]', 844 name: 'multiDelegatedRequests', 845 type: 'tuple[]', 846 }, 847 ], 848 name: 'multiAttestByDelegation', 849 outputs: [ 850 { 851 internalType: 'bytes32[]', 852 name: '', 853 type: 'bytes32[]', 854 }, 855 ], 856 stateMutability: 'payable', 857 type: 'function', 858 }, 859 { 860 inputs: [ 861 { 862 components: [ 863 { 864 internalType: 'bytes32', 865 name: 'schema', 866 type: 'bytes32', 867 }, 868 { 869 components: [ 870 { 871 internalType: 'bytes32', 872 name: 'uid', 873 type: 'bytes32', 874 }, 875 { 876 internalType: 'uint256', 877 name: 'value', 878 type: 'uint256', 879 }, 880 ], 881 internalType: 'struct RevocationRequestData[]', 882 name: 'data', 883 type: 'tuple[]', 884 }, 885 ], 886 internalType: 'struct MultiRevocationRequest[]', 887 name: 'multiRequests', 888 type: 'tuple[]', 889 }, 890 ], 891 name: 'multiRevoke', 892 outputs: [], 893 stateMutability: 'payable', 894 type: 'function', 895 }, 896 { 897 inputs: [ 898 { 899 components: [ 900 { 901 internalType: 'bytes32', 902 name: 'schema', 903 type: 'bytes32', 904 }, 905 { 906 components: [ 907 { 908 internalType: 'bytes32', 909 name: 'uid', 910 type: 'bytes32', 911 }, 912 { 913 internalType: 'uint256', 914 name: 'value', 915 type: 'uint256', 916 }, 917 ], 918 internalType: 'struct RevocationRequestData[]', 919 name: 'data', 920 type: 'tuple[]', 921 }, 922 { 923 components: [ 924 { 925 internalType: 'uint8', 926 name: 'v', 927 type: 'uint8', 928 }, 929 { 930 internalType: 'bytes32', 931 name: 'r', 932 type: 'bytes32', 933 }, 934 { 935 internalType: 'bytes32', 936 name: 's', 937 type: 'bytes32', 938 }, 939 ], 940 internalType: 'struct Signature[]', 941 name: 'signatures', 942 type: 'tuple[]', 943 }, 944 { 945 internalType: 'address', 946 name: 'revoker', 947 type: 'address', 948 }, 949 { 950 internalType: 'uint64', 951 name: 'deadline', 952 type: 'uint64', 953 }, 954 ], 955 internalType: 'struct MultiDelegatedRevocationRequest[]', 956 name: 'multiDelegatedRequests', 957 type: 'tuple[]', 958 }, 959 ], 960 name: 'multiRevokeByDelegation', 961 outputs: [], 962 stateMutability: 'payable', 963 type: 'function', 964 }, 965 { 966 inputs: [ 967 { 968 internalType: 'bytes32[]', 969 name: 'data', 970 type: 'bytes32[]', 971 }, 972 ], 973 name: 'multiRevokeOffchain', 974 outputs: [ 975 { 976 internalType: 'uint64', 977 name: '', 978 type: 'uint64', 979 }, 980 ], 981 stateMutability: 'nonpayable', 982 type: 'function', 983 }, 984 { 985 inputs: [ 986 { 987 internalType: 'bytes32[]', 988 name: 'data', 989 type: 'bytes32[]', 990 }, 991 ], 992 name: 'multiTimestamp', 993 outputs: [ 994 { 995 internalType: 'uint64', 996 name: '', 997 type: 'uint64', 998 }, 999 ], 1000 stateMutability: 'nonpayable', 1001 type: 'function', 1002 }, 1003 { 1004 inputs: [ 1005 { 1006 components: [ 1007 { 1008 internalType: 'bytes32', 1009 name: 'schema', 1010 type: 'bytes32', 1011 }, 1012 { 1013 components: [ 1014 { 1015 internalType: 'bytes32', 1016 name: 'uid', 1017 type: 'bytes32', 1018 }, 1019 { 1020 internalType: 'uint256', 1021 name: 'value', 1022 type: 'uint256', 1023 }, 1024 ], 1025 internalType: 'struct RevocationRequestData', 1026 name: 'data', 1027 type: 'tuple', 1028 }, 1029 ], 1030 internalType: 'struct RevocationRequest', 1031 name: 'request', 1032 type: 'tuple', 1033 }, 1034 ], 1035 name: 'revoke', 1036 outputs: [], 1037 stateMutability: 'payable', 1038 type: 'function', 1039 }, 1040 { 1041 inputs: [ 1042 { 1043 components: [ 1044 { 1045 internalType: 'bytes32', 1046 name: 'schema', 1047 type: 'bytes32', 1048 }, 1049 { 1050 components: [ 1051 { 1052 internalType: 'bytes32', 1053 name: 'uid', 1054 type: 'bytes32', 1055 }, 1056 { 1057 internalType: 'uint256', 1058 name: 'value', 1059 type: 'uint256', 1060 }, 1061 ], 1062 internalType: 'struct RevocationRequestData', 1063 name: 'data', 1064 type: 'tuple', 1065 }, 1066 { 1067 components: [ 1068 { 1069 internalType: 'uint8', 1070 name: 'v', 1071 type: 'uint8', 1072 }, 1073 { 1074 internalType: 'bytes32', 1075 name: 'r', 1076 type: 'bytes32', 1077 }, 1078 { 1079 internalType: 'bytes32', 1080 name: 's', 1081 type: 'bytes32', 1082 }, 1083 ], 1084 internalType: 'struct Signature', 1085 name: 'signature', 1086 type: 'tuple', 1087 }, 1088 { 1089 internalType: 'address', 1090 name: 'revoker', 1091 type: 'address', 1092 }, 1093 { 1094 internalType: 'uint64', 1095 name: 'deadline', 1096 type: 'uint64', 1097 }, 1098 ], 1099 internalType: 'struct DelegatedRevocationRequest', 1100 name: 'delegatedRequest', 1101 type: 'tuple', 1102 }, 1103 ], 1104 name: 'revokeByDelegation', 1105 outputs: [], 1106 stateMutability: 'payable', 1107 type: 'function', 1108 }, 1109 { 1110 inputs: [ 1111 { 1112 internalType: 'bytes32', 1113 name: 'data', 1114 type: 'bytes32', 1115 }, 1116 ], 1117 name: 'revokeOffchain', 1118 outputs: [ 1119 { 1120 internalType: 'uint64', 1121 name: '', 1122 type: 'uint64', 1123 }, 1124 ], 1125 stateMutability: 'nonpayable', 1126 type: 'function', 1127 }, 1128 { 1129 inputs: [ 1130 { 1131 internalType: 'bytes32', 1132 name: 'data', 1133 type: 'bytes32', 1134 }, 1135 ], 1136 name: 'timestamp', 1137 outputs: [ 1138 { 1139 internalType: 'uint64', 1140 name: '', 1141 type: 'uint64', 1142 }, 1143 ], 1144 stateMutability: 'nonpayable', 1145 type: 'function', 1146 }, 1147 { 1148 inputs: [], 1149 name: 'version', 1150 outputs: [ 1151 { 1152 internalType: 'string', 1153 name: '', 1154 type: 'string', 1155 }, 1156 ], 1157 stateMutability: 'view', 1158 type: 'function', 1159 }, 1160 ];