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

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "address",
     6          "name": "_bridge",
     7          "type": "address"
     8        },
     9        {
    10          "internalType": "address",
    11          "name": "_remoteToken",
    12          "type": "address"
    13        },
    14        {
    15          "internalType": "string",
    16          "name": "_name",
    17          "type": "string"
    18        },
    19        {
    20          "internalType": "string",
    21          "name": "_symbol",
    22          "type": "string"
    23        },
    24        {
    25          "internalType": "uint8",
    26          "name": "_decimals",
    27          "type": "uint8"
    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_TOKEN",
    49      "outputs": [
    50        {
    51          "internalType": "address",
    52          "name": "",
    53          "type": "address"
    54        }
    55      ],
    56      "stateMutability": "view",
    57      "type": "function"
    58    },
    59    {
    60      "inputs": [
    61        {
    62          "internalType": "address",
    63          "name": "owner",
    64          "type": "address"
    65        },
    66        {
    67          "internalType": "address",
    68          "name": "spender",
    69          "type": "address"
    70        }
    71      ],
    72      "name": "allowance",
    73      "outputs": [
    74        {
    75          "internalType": "uint256",
    76          "name": "",
    77          "type": "uint256"
    78        }
    79      ],
    80      "stateMutability": "view",
    81      "type": "function"
    82    },
    83    {
    84      "inputs": [
    85        {
    86          "internalType": "address",
    87          "name": "spender",
    88          "type": "address"
    89        },
    90        {
    91          "internalType": "uint256",
    92          "name": "amount",
    93          "type": "uint256"
    94        }
    95      ],
    96      "name": "approve",
    97      "outputs": [
    98        {
    99          "internalType": "bool",
   100          "name": "",
   101          "type": "bool"
   102        }
   103      ],
   104      "stateMutability": "nonpayable",
   105      "type": "function"
   106    },
   107    {
   108      "inputs": [
   109        {
   110          "internalType": "address",
   111          "name": "account",
   112          "type": "address"
   113        }
   114      ],
   115      "name": "balanceOf",
   116      "outputs": [
   117        {
   118          "internalType": "uint256",
   119          "name": "",
   120          "type": "uint256"
   121        }
   122      ],
   123      "stateMutability": "view",
   124      "type": "function"
   125    },
   126    {
   127      "inputs": [],
   128      "name": "bridge",
   129      "outputs": [
   130        {
   131          "internalType": "address",
   132          "name": "",
   133          "type": "address"
   134        }
   135      ],
   136      "stateMutability": "view",
   137      "type": "function"
   138    },
   139    {
   140      "inputs": [
   141        {
   142          "internalType": "address",
   143          "name": "_from",
   144          "type": "address"
   145        },
   146        {
   147          "internalType": "uint256",
   148          "name": "_amount",
   149          "type": "uint256"
   150        }
   151      ],
   152      "name": "burn",
   153      "outputs": [],
   154      "stateMutability": "nonpayable",
   155      "type": "function"
   156    },
   157    {
   158      "inputs": [],
   159      "name": "decimals",
   160      "outputs": [
   161        {
   162          "internalType": "uint8",
   163          "name": "",
   164          "type": "uint8"
   165        }
   166      ],
   167      "stateMutability": "view",
   168      "type": "function"
   169    },
   170    {
   171      "inputs": [
   172        {
   173          "internalType": "address",
   174          "name": "spender",
   175          "type": "address"
   176        },
   177        {
   178          "internalType": "uint256",
   179          "name": "subtractedValue",
   180          "type": "uint256"
   181        }
   182      ],
   183      "name": "decreaseAllowance",
   184      "outputs": [
   185        {
   186          "internalType": "bool",
   187          "name": "",
   188          "type": "bool"
   189        }
   190      ],
   191      "stateMutability": "nonpayable",
   192      "type": "function"
   193    },
   194    {
   195      "inputs": [
   196        {
   197          "internalType": "address",
   198          "name": "spender",
   199          "type": "address"
   200        },
   201        {
   202          "internalType": "uint256",
   203          "name": "addedValue",
   204          "type": "uint256"
   205        }
   206      ],
   207      "name": "increaseAllowance",
   208      "outputs": [
   209        {
   210          "internalType": "bool",
   211          "name": "",
   212          "type": "bool"
   213        }
   214      ],
   215      "stateMutability": "nonpayable",
   216      "type": "function"
   217    },
   218    {
   219      "inputs": [],
   220      "name": "l1Token",
   221      "outputs": [
   222        {
   223          "internalType": "address",
   224          "name": "",
   225          "type": "address"
   226        }
   227      ],
   228      "stateMutability": "view",
   229      "type": "function"
   230    },
   231    {
   232      "inputs": [],
   233      "name": "l2Bridge",
   234      "outputs": [
   235        {
   236          "internalType": "address",
   237          "name": "",
   238          "type": "address"
   239        }
   240      ],
   241      "stateMutability": "view",
   242      "type": "function"
   243    },
   244    {
   245      "inputs": [
   246        {
   247          "internalType": "address",
   248          "name": "_to",
   249          "type": "address"
   250        },
   251        {
   252          "internalType": "uint256",
   253          "name": "_amount",
   254          "type": "uint256"
   255        }
   256      ],
   257      "name": "mint",
   258      "outputs": [],
   259      "stateMutability": "nonpayable",
   260      "type": "function"
   261    },
   262    {
   263      "inputs": [],
   264      "name": "name",
   265      "outputs": [
   266        {
   267          "internalType": "string",
   268          "name": "",
   269          "type": "string"
   270        }
   271      ],
   272      "stateMutability": "view",
   273      "type": "function"
   274    },
   275    {
   276      "inputs": [],
   277      "name": "remoteToken",
   278      "outputs": [
   279        {
   280          "internalType": "address",
   281          "name": "",
   282          "type": "address"
   283        }
   284      ],
   285      "stateMutability": "view",
   286      "type": "function"
   287    },
   288    {
   289      "inputs": [
   290        {
   291          "internalType": "bytes4",
   292          "name": "_interfaceId",
   293          "type": "bytes4"
   294        }
   295      ],
   296      "name": "supportsInterface",
   297      "outputs": [
   298        {
   299          "internalType": "bool",
   300          "name": "",
   301          "type": "bool"
   302        }
   303      ],
   304      "stateMutability": "pure",
   305      "type": "function"
   306    },
   307    {
   308      "inputs": [],
   309      "name": "symbol",
   310      "outputs": [
   311        {
   312          "internalType": "string",
   313          "name": "",
   314          "type": "string"
   315        }
   316      ],
   317      "stateMutability": "view",
   318      "type": "function"
   319    },
   320    {
   321      "inputs": [],
   322      "name": "totalSupply",
   323      "outputs": [
   324        {
   325          "internalType": "uint256",
   326          "name": "",
   327          "type": "uint256"
   328        }
   329      ],
   330      "stateMutability": "view",
   331      "type": "function"
   332    },
   333    {
   334      "inputs": [
   335        {
   336          "internalType": "address",
   337          "name": "to",
   338          "type": "address"
   339        },
   340        {
   341          "internalType": "uint256",
   342          "name": "amount",
   343          "type": "uint256"
   344        }
   345      ],
   346      "name": "transfer",
   347      "outputs": [
   348        {
   349          "internalType": "bool",
   350          "name": "",
   351          "type": "bool"
   352        }
   353      ],
   354      "stateMutability": "nonpayable",
   355      "type": "function"
   356    },
   357    {
   358      "inputs": [
   359        {
   360          "internalType": "address",
   361          "name": "from",
   362          "type": "address"
   363        },
   364        {
   365          "internalType": "address",
   366          "name": "to",
   367          "type": "address"
   368        },
   369        {
   370          "internalType": "uint256",
   371          "name": "amount",
   372          "type": "uint256"
   373        }
   374      ],
   375      "name": "transferFrom",
   376      "outputs": [
   377        {
   378          "internalType": "bool",
   379          "name": "",
   380          "type": "bool"
   381        }
   382      ],
   383      "stateMutability": "nonpayable",
   384      "type": "function"
   385    },
   386    {
   387      "inputs": [],
   388      "name": "version",
   389      "outputs": [
   390        {
   391          "internalType": "string",
   392          "name": "",
   393          "type": "string"
   394        }
   395      ],
   396      "stateMutability": "view",
   397      "type": "function"
   398    },
   399    {
   400      "anonymous": false,
   401      "inputs": [
   402        {
   403          "indexed": true,
   404          "internalType": "address",
   405          "name": "owner",
   406          "type": "address"
   407        },
   408        {
   409          "indexed": true,
   410          "internalType": "address",
   411          "name": "spender",
   412          "type": "address"
   413        },
   414        {
   415          "indexed": false,
   416          "internalType": "uint256",
   417          "name": "value",
   418          "type": "uint256"
   419        }
   420      ],
   421      "name": "Approval",
   422      "type": "event"
   423    },
   424    {
   425      "anonymous": false,
   426      "inputs": [
   427        {
   428          "indexed": true,
   429          "internalType": "address",
   430          "name": "account",
   431          "type": "address"
   432        },
   433        {
   434          "indexed": false,
   435          "internalType": "uint256",
   436          "name": "amount",
   437          "type": "uint256"
   438        }
   439      ],
   440      "name": "Burn",
   441      "type": "event"
   442    },
   443    {
   444      "anonymous": false,
   445      "inputs": [
   446        {
   447          "indexed": true,
   448          "internalType": "address",
   449          "name": "account",
   450          "type": "address"
   451        },
   452        {
   453          "indexed": false,
   454          "internalType": "uint256",
   455          "name": "amount",
   456          "type": "uint256"
   457        }
   458      ],
   459      "name": "Mint",
   460      "type": "event"
   461    },
   462    {
   463      "anonymous": false,
   464      "inputs": [
   465        {
   466          "indexed": true,
   467          "internalType": "address",
   468          "name": "from",
   469          "type": "address"
   470        },
   471        {
   472          "indexed": true,
   473          "internalType": "address",
   474          "name": "to",
   475          "type": "address"
   476        },
   477        {
   478          "indexed": false,
   479          "internalType": "uint256",
   480          "name": "value",
   481          "type": "uint256"
   482        }
   483      ],
   484      "name": "Transfer",
   485      "type": "event"
   486    }
   487  ]