github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/OptimismMintableERC721.json (about)

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