|
| 1 | +[ |
| 2 | + { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" }, |
| 3 | + { |
| 4 | + "inputs": [ |
| 5 | + { "internalType": "address", "name": "account", "type": "address" }, |
| 6 | + { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" } |
| 7 | + ], |
| 8 | + "name": "AccessControlUnauthorizedAccount", |
| 9 | + "type": "error" |
| 10 | + }, |
| 11 | + { |
| 12 | + "inputs": [{ "internalType": "string", "name": "addressStr", "type": "string" }], |
| 13 | + "name": "AddressAlreadyExists", |
| 14 | + "type": "error" |
| 15 | + }, |
| 16 | + { |
| 17 | + "inputs": [{ "internalType": "string", "name": "addressStr", "type": "string" }], |
| 18 | + "name": "AddressDoesNotExist", |
| 19 | + "type": "error" |
| 20 | + }, |
| 21 | + { "inputs": [], "name": "ArrayLengthMismatch", "type": "error" }, |
| 22 | + { "inputs": [], "name": "InvalidInitialization", "type": "error" }, |
| 23 | + { |
| 24 | + "inputs": [ |
| 25 | + { "internalType": "string", "name": "addressStr", "type": "string" }, |
| 26 | + { "internalType": "string", "name": "messageOrPath", "type": "string" }, |
| 27 | + { "internalType": "bytes", "name": "signature", "type": "bytes" } |
| 28 | + ], |
| 29 | + "name": "InvalidMessageSignature", |
| 30 | + "type": "error" |
| 31 | + }, |
| 32 | + { "inputs": [], "name": "InvalidRootPubkey", "type": "error" }, |
| 33 | + { |
| 34 | + "inputs": [{ "internalType": "bytes32", "name": "id", "type": "bytes32" }], |
| 35 | + "name": "InvalidRootPubkeyId", |
| 36 | + "type": "error" |
| 37 | + }, |
| 38 | + { "inputs": [], "name": "NotInitializing", "type": "error" }, |
| 39 | + { |
| 40 | + "inputs": [{ "internalType": "bytes", "name": "pubkey", "type": "bytes" }], |
| 41 | + "name": "RootPubkeyAlreadyExists", |
| 42 | + "type": "error" |
| 43 | + }, |
| 44 | + { "inputs": [], "name": "RootPubkeyCannotBeDeleted", "type": "error" }, |
| 45 | + { |
| 46 | + "inputs": [{ "internalType": "bytes", "name": "pubkey", "type": "bytes" }], |
| 47 | + "name": "RootPubkeyDoesNotExist", |
| 48 | + "type": "error" |
| 49 | + }, |
| 50 | + { |
| 51 | + "anonymous": false, |
| 52 | + "inputs": [{ "indexed": false, "internalType": "uint64", "name": "version", "type": "uint64" }], |
| 53 | + "name": "Initialized", |
| 54 | + "type": "event" |
| 55 | + }, |
| 56 | + { |
| 57 | + "anonymous": false, |
| 58 | + "inputs": [ |
| 59 | + { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 60 | + { |
| 61 | + "indexed": true, |
| 62 | + "internalType": "bytes32", |
| 63 | + "name": "previousAdminRole", |
| 64 | + "type": "bytes32" |
| 65 | + }, |
| 66 | + { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } |
| 67 | + ], |
| 68 | + "name": "RoleAdminChanged", |
| 69 | + "type": "event" |
| 70 | + }, |
| 71 | + { |
| 72 | + "anonymous": false, |
| 73 | + "inputs": [ |
| 74 | + { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 75 | + { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, |
| 76 | + { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } |
| 77 | + ], |
| 78 | + "name": "RoleGranted", |
| 79 | + "type": "event" |
| 80 | + }, |
| 81 | + { |
| 82 | + "anonymous": false, |
| 83 | + "inputs": [ |
| 84 | + { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 85 | + { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, |
| 86 | + { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } |
| 87 | + ], |
| 88 | + "name": "RoleRevoked", |
| 89 | + "type": "event" |
| 90 | + }, |
| 91 | + { |
| 92 | + "inputs": [], |
| 93 | + "name": "DEFAULT_ADMIN_ROLE", |
| 94 | + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], |
| 95 | + "stateMutability": "view", |
| 96 | + "type": "function" |
| 97 | + }, |
| 98 | + { |
| 99 | + "inputs": [], |
| 100 | + "name": "OPERATOR_ROLE", |
| 101 | + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], |
| 102 | + "stateMutability": "view", |
| 103 | + "type": "function" |
| 104 | + }, |
| 105 | + { |
| 106 | + "inputs": [ |
| 107 | + { "internalType": "string[]", "name": "_addresses", "type": "string[]" }, |
| 108 | + { "internalType": "bytes32[]", "name": "_rootPkIds", "type": "bytes32[]" }, |
| 109 | + { "internalType": "string[]", "name": "_messagesOrDerivationData", "type": "string[]" }, |
| 110 | + { "internalType": "bytes[]", "name": "_signatures", "type": "bytes[]" } |
| 111 | + ], |
| 112 | + "name": "addAddresses", |
| 113 | + "outputs": [], |
| 114 | + "stateMutability": "nonpayable", |
| 115 | + "type": "function" |
| 116 | + }, |
| 117 | + { |
| 118 | + "inputs": [{ "internalType": "bytes", "name": "_pubkey", "type": "bytes" }], |
| 119 | + "name": "addRootPubkey", |
| 120 | + "outputs": [], |
| 121 | + "stateMutability": "nonpayable", |
| 122 | + "type": "function" |
| 123 | + }, |
| 124 | + { |
| 125 | + "inputs": [{ "internalType": "string[]", "name": "_addresses", "type": "string[]" }], |
| 126 | + "name": "deleteAddresses", |
| 127 | + "outputs": [], |
| 128 | + "stateMutability": "nonpayable", |
| 129 | + "type": "function" |
| 130 | + }, |
| 131 | + { |
| 132 | + "inputs": [{ "internalType": "bytes", "name": "_pubkey", "type": "bytes" }], |
| 133 | + "name": "deleteRootPubkey", |
| 134 | + "outputs": [], |
| 135 | + "stateMutability": "nonpayable", |
| 136 | + "type": "function" |
| 137 | + }, |
| 138 | + { |
| 139 | + "inputs": [], |
| 140 | + "name": "getPoRAddressListLength", |
| 141 | + "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], |
| 142 | + "stateMutability": "view", |
| 143 | + "type": "function" |
| 144 | + }, |
| 145 | + { |
| 146 | + "inputs": [ |
| 147 | + { "internalType": "uint256", "name": "_start", "type": "uint256" }, |
| 148 | + { "internalType": "uint256", "name": "_end", "type": "uint256" } |
| 149 | + ], |
| 150 | + "name": "getPoRAddressSignatureMessages", |
| 151 | + "outputs": [ |
| 152 | + { "internalType": "string[]", "name": "", "type": "string[]" }, |
| 153 | + { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }, |
| 154 | + { "internalType": "string[]", "name": "", "type": "string[]" }, |
| 155 | + { "internalType": "bytes[]", "name": "", "type": "bytes[]" } |
| 156 | + ], |
| 157 | + "stateMutability": "view", |
| 158 | + "type": "function" |
| 159 | + }, |
| 160 | + { |
| 161 | + "inputs": [{ "internalType": "string[]", "name": "_addresses", "type": "string[]" }], |
| 162 | + "name": "getPoRSignatureMessages", |
| 163 | + "outputs": [ |
| 164 | + { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" }, |
| 165 | + { "internalType": "string[]", "name": "", "type": "string[]" }, |
| 166 | + { "internalType": "bytes[]", "name": "", "type": "bytes[]" } |
| 167 | + ], |
| 168 | + "stateMutability": "view", |
| 169 | + "type": "function" |
| 170 | + }, |
| 171 | + { |
| 172 | + "inputs": [{ "internalType": "bytes32", "name": "role", "type": "bytes32" }], |
| 173 | + "name": "getRoleAdmin", |
| 174 | + "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], |
| 175 | + "stateMutability": "view", |
| 176 | + "type": "function" |
| 177 | + }, |
| 178 | + { |
| 179 | + "inputs": [{ "internalType": "bytes32", "name": "_id", "type": "bytes32" }], |
| 180 | + "name": "getRootPubkey", |
| 181 | + "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], |
| 182 | + "stateMutability": "view", |
| 183 | + "type": "function" |
| 184 | + }, |
| 185 | + { |
| 186 | + "inputs": [ |
| 187 | + { "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 188 | + { "internalType": "address", "name": "account", "type": "address" } |
| 189 | + ], |
| 190 | + "name": "grantRole", |
| 191 | + "outputs": [], |
| 192 | + "stateMutability": "nonpayable", |
| 193 | + "type": "function" |
| 194 | + }, |
| 195 | + { |
| 196 | + "inputs": [ |
| 197 | + { "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 198 | + { "internalType": "address", "name": "account", "type": "address" } |
| 199 | + ], |
| 200 | + "name": "hasRole", |
| 201 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], |
| 202 | + "stateMutability": "view", |
| 203 | + "type": "function" |
| 204 | + }, |
| 205 | + { |
| 206 | + "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], |
| 207 | + "name": "initialize", |
| 208 | + "outputs": [], |
| 209 | + "stateMutability": "nonpayable", |
| 210 | + "type": "function" |
| 211 | + }, |
| 212 | + { |
| 213 | + "inputs": [ |
| 214 | + { "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 215 | + { "internalType": "address", "name": "callerConfirmation", "type": "address" } |
| 216 | + ], |
| 217 | + "name": "renounceRole", |
| 218 | + "outputs": [], |
| 219 | + "stateMutability": "nonpayable", |
| 220 | + "type": "function" |
| 221 | + }, |
| 222 | + { |
| 223 | + "inputs": [ |
| 224 | + { "internalType": "bytes32", "name": "role", "type": "bytes32" }, |
| 225 | + { "internalType": "address", "name": "account", "type": "address" } |
| 226 | + ], |
| 227 | + "name": "revokeRole", |
| 228 | + "outputs": [], |
| 229 | + "stateMutability": "nonpayable", |
| 230 | + "type": "function" |
| 231 | + }, |
| 232 | + { |
| 233 | + "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }], |
| 234 | + "name": "supportsInterface", |
| 235 | + "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], |
| 236 | + "stateMutability": "view", |
| 237 | + "type": "function" |
| 238 | + }, |
| 239 | + { |
| 240 | + "inputs": [ |
| 241 | + { "internalType": "string[]", "name": "_addresses", "type": "string[]" }, |
| 242 | + { "internalType": "string[]", "name": "_messages", "type": "string[]" }, |
| 243 | + { "internalType": "bytes[]", "name": "_signatures", "type": "bytes[]" } |
| 244 | + ], |
| 245 | + "name": "updateMessageSignature", |
| 246 | + "outputs": [], |
| 247 | + "stateMutability": "nonpayable", |
| 248 | + "type": "function" |
| 249 | + } |
| 250 | +] |
0 commit comments