github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/Optimist.json (about) 1 [ 2 { 3 "inputs": [ 4 { 5 "internalType": "string", 6 "name": "_name", 7 "type": "string" 8 }, 9 { 10 "internalType": "string", 11 "name": "_symbol", 12 "type": "string" 13 }, 14 { 15 "internalType": "address", 16 "name": "_baseURIAttestor", 17 "type": "address" 18 }, 19 { 20 "internalType": "contract AttestationStation", 21 "name": "_attestationStation", 22 "type": "address" 23 }, 24 { 25 "internalType": "contract OptimistAllowlist", 26 "name": "_optimistAllowlist", 27 "type": "address" 28 } 29 ], 30 "stateMutability": "nonpayable", 31 "type": "constructor" 32 }, 33 { 34 "inputs": [], 35 "name": "ATTESTATION_STATION", 36 "outputs": [ 37 { 38 "internalType": "contract AttestationStation", 39 "name": "", 40 "type": "address" 41 } 42 ], 43 "stateMutability": "view", 44 "type": "function" 45 }, 46 { 47 "inputs": [], 48 "name": "BASE_URI_ATTESTATION_KEY", 49 "outputs": [ 50 { 51 "internalType": "bytes32", 52 "name": "", 53 "type": "bytes32" 54 } 55 ], 56 "stateMutability": "view", 57 "type": "function" 58 }, 59 { 60 "inputs": [], 61 "name": "BASE_URI_ATTESTOR", 62 "outputs": [ 63 { 64 "internalType": "address", 65 "name": "", 66 "type": "address" 67 } 68 ], 69 "stateMutability": "view", 70 "type": "function" 71 }, 72 { 73 "inputs": [], 74 "name": "OPTIMIST_ALLOWLIST", 75 "outputs": [ 76 { 77 "internalType": "contract OptimistAllowlist", 78 "name": "", 79 "type": "address" 80 } 81 ], 82 "stateMutability": "view", 83 "type": "function" 84 }, 85 { 86 "inputs": [ 87 { 88 "internalType": "address", 89 "name": "", 90 "type": "address" 91 }, 92 { 93 "internalType": "uint256", 94 "name": "", 95 "type": "uint256" 96 } 97 ], 98 "name": "approve", 99 "outputs": [], 100 "stateMutability": "pure", 101 "type": "function" 102 }, 103 { 104 "inputs": [ 105 { 106 "internalType": "address", 107 "name": "owner", 108 "type": "address" 109 } 110 ], 111 "name": "balanceOf", 112 "outputs": [ 113 { 114 "internalType": "uint256", 115 "name": "", 116 "type": "uint256" 117 } 118 ], 119 "stateMutability": "view", 120 "type": "function" 121 }, 122 { 123 "inputs": [], 124 "name": "baseURI", 125 "outputs": [ 126 { 127 "internalType": "string", 128 "name": "uri_", 129 "type": "string" 130 } 131 ], 132 "stateMutability": "view", 133 "type": "function" 134 }, 135 { 136 "inputs": [ 137 { 138 "internalType": "uint256", 139 "name": "tokenId", 140 "type": "uint256" 141 } 142 ], 143 "name": "burn", 144 "outputs": [], 145 "stateMutability": "nonpayable", 146 "type": "function" 147 }, 148 { 149 "inputs": [ 150 { 151 "internalType": "uint256", 152 "name": "tokenId", 153 "type": "uint256" 154 } 155 ], 156 "name": "getApproved", 157 "outputs": [ 158 { 159 "internalType": "address", 160 "name": "", 161 "type": "address" 162 } 163 ], 164 "stateMutability": "view", 165 "type": "function" 166 }, 167 { 168 "inputs": [ 169 { 170 "internalType": "string", 171 "name": "_name", 172 "type": "string" 173 }, 174 { 175 "internalType": "string", 176 "name": "_symbol", 177 "type": "string" 178 } 179 ], 180 "name": "initialize", 181 "outputs": [], 182 "stateMutability": "nonpayable", 183 "type": "function" 184 }, 185 { 186 "inputs": [ 187 { 188 "internalType": "address", 189 "name": "owner", 190 "type": "address" 191 }, 192 { 193 "internalType": "address", 194 "name": "operator", 195 "type": "address" 196 } 197 ], 198 "name": "isApprovedForAll", 199 "outputs": [ 200 { 201 "internalType": "bool", 202 "name": "", 203 "type": "bool" 204 } 205 ], 206 "stateMutability": "view", 207 "type": "function" 208 }, 209 { 210 "inputs": [ 211 { 212 "internalType": "address", 213 "name": "_recipient", 214 "type": "address" 215 } 216 ], 217 "name": "isOnAllowList", 218 "outputs": [ 219 { 220 "internalType": "bool", 221 "name": "allowed_", 222 "type": "bool" 223 } 224 ], 225 "stateMutability": "view", 226 "type": "function" 227 }, 228 { 229 "inputs": [ 230 { 231 "internalType": "address", 232 "name": "_recipient", 233 "type": "address" 234 } 235 ], 236 "name": "mint", 237 "outputs": [], 238 "stateMutability": "nonpayable", 239 "type": "function" 240 }, 241 { 242 "inputs": [], 243 "name": "name", 244 "outputs": [ 245 { 246 "internalType": "string", 247 "name": "", 248 "type": "string" 249 } 250 ], 251 "stateMutability": "view", 252 "type": "function" 253 }, 254 { 255 "inputs": [ 256 { 257 "internalType": "uint256", 258 "name": "tokenId", 259 "type": "uint256" 260 } 261 ], 262 "name": "ownerOf", 263 "outputs": [ 264 { 265 "internalType": "address", 266 "name": "", 267 "type": "address" 268 } 269 ], 270 "stateMutability": "view", 271 "type": "function" 272 }, 273 { 274 "inputs": [ 275 { 276 "internalType": "address", 277 "name": "from", 278 "type": "address" 279 }, 280 { 281 "internalType": "address", 282 "name": "to", 283 "type": "address" 284 }, 285 { 286 "internalType": "uint256", 287 "name": "tokenId", 288 "type": "uint256" 289 } 290 ], 291 "name": "safeTransferFrom", 292 "outputs": [], 293 "stateMutability": "nonpayable", 294 "type": "function" 295 }, 296 { 297 "inputs": [ 298 { 299 "internalType": "address", 300 "name": "from", 301 "type": "address" 302 }, 303 { 304 "internalType": "address", 305 "name": "to", 306 "type": "address" 307 }, 308 { 309 "internalType": "uint256", 310 "name": "tokenId", 311 "type": "uint256" 312 }, 313 { 314 "internalType": "bytes", 315 "name": "data", 316 "type": "bytes" 317 } 318 ], 319 "name": "safeTransferFrom", 320 "outputs": [], 321 "stateMutability": "nonpayable", 322 "type": "function" 323 }, 324 { 325 "inputs": [ 326 { 327 "internalType": "address", 328 "name": "", 329 "type": "address" 330 }, 331 { 332 "internalType": "bool", 333 "name": "", 334 "type": "bool" 335 } 336 ], 337 "name": "setApprovalForAll", 338 "outputs": [], 339 "stateMutability": "nonpayable", 340 "type": "function" 341 }, 342 { 343 "inputs": [ 344 { 345 "internalType": "bytes4", 346 "name": "interfaceId", 347 "type": "bytes4" 348 } 349 ], 350 "name": "supportsInterface", 351 "outputs": [ 352 { 353 "internalType": "bool", 354 "name": "", 355 "type": "bool" 356 } 357 ], 358 "stateMutability": "view", 359 "type": "function" 360 }, 361 { 362 "inputs": [], 363 "name": "symbol", 364 "outputs": [ 365 { 366 "internalType": "string", 367 "name": "", 368 "type": "string" 369 } 370 ], 371 "stateMutability": "view", 372 "type": "function" 373 }, 374 { 375 "inputs": [ 376 { 377 "internalType": "address", 378 "name": "_owner", 379 "type": "address" 380 } 381 ], 382 "name": "tokenIdOfAddress", 383 "outputs": [ 384 { 385 "internalType": "uint256", 386 "name": "", 387 "type": "uint256" 388 } 389 ], 390 "stateMutability": "pure", 391 "type": "function" 392 }, 393 { 394 "inputs": [ 395 { 396 "internalType": "uint256", 397 "name": "_tokenId", 398 "type": "uint256" 399 } 400 ], 401 "name": "tokenURI", 402 "outputs": [ 403 { 404 "internalType": "string", 405 "name": "uri_", 406 "type": "string" 407 } 408 ], 409 "stateMutability": "view", 410 "type": "function" 411 }, 412 { 413 "inputs": [ 414 { 415 "internalType": "address", 416 "name": "from", 417 "type": "address" 418 }, 419 { 420 "internalType": "address", 421 "name": "to", 422 "type": "address" 423 }, 424 { 425 "internalType": "uint256", 426 "name": "tokenId", 427 "type": "uint256" 428 } 429 ], 430 "name": "transferFrom", 431 "outputs": [], 432 "stateMutability": "nonpayable", 433 "type": "function" 434 }, 435 { 436 "inputs": [], 437 "name": "version", 438 "outputs": [ 439 { 440 "internalType": "string", 441 "name": "", 442 "type": "string" 443 } 444 ], 445 "stateMutability": "view", 446 "type": "function" 447 }, 448 { 449 "anonymous": false, 450 "inputs": [ 451 { 452 "indexed": true, 453 "internalType": "address", 454 "name": "owner", 455 "type": "address" 456 }, 457 { 458 "indexed": true, 459 "internalType": "address", 460 "name": "approved", 461 "type": "address" 462 }, 463 { 464 "indexed": true, 465 "internalType": "uint256", 466 "name": "tokenId", 467 "type": "uint256" 468 } 469 ], 470 "name": "Approval", 471 "type": "event" 472 }, 473 { 474 "anonymous": false, 475 "inputs": [ 476 { 477 "indexed": true, 478 "internalType": "address", 479 "name": "owner", 480 "type": "address" 481 }, 482 { 483 "indexed": true, 484 "internalType": "address", 485 "name": "operator", 486 "type": "address" 487 }, 488 { 489 "indexed": false, 490 "internalType": "bool", 491 "name": "approved", 492 "type": "bool" 493 } 494 ], 495 "name": "ApprovalForAll", 496 "type": "event" 497 }, 498 { 499 "anonymous": false, 500 "inputs": [ 501 { 502 "indexed": false, 503 "internalType": "uint8", 504 "name": "version", 505 "type": "uint8" 506 } 507 ], 508 "name": "Initialized", 509 "type": "event" 510 }, 511 { 512 "anonymous": false, 513 "inputs": [ 514 { 515 "indexed": true, 516 "internalType": "address", 517 "name": "from", 518 "type": "address" 519 }, 520 { 521 "indexed": true, 522 "internalType": "address", 523 "name": "to", 524 "type": "address" 525 }, 526 { 527 "indexed": true, 528 "internalType": "uint256", 529 "name": "tokenId", 530 "type": "uint256" 531 } 532 ], 533 "name": "Transfer", 534 "type": "event" 535 } 536 ]