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