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

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "address",
     6          "name": "_l2Bridge",
     7          "type": "address"
     8        },
     9        {
    10          "internalType": "address",
    11          "name": "_l1Token",
    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      "stateMutability": "nonpayable",
    26      "type": "constructor"
    27    },
    28    {
    29      "inputs": [
    30        {
    31          "internalType": "address",
    32          "name": "owner",
    33          "type": "address"
    34        },
    35        {
    36          "internalType": "address",
    37          "name": "spender",
    38          "type": "address"
    39        }
    40      ],
    41      "name": "allowance",
    42      "outputs": [
    43        {
    44          "internalType": "uint256",
    45          "name": "",
    46          "type": "uint256"
    47        }
    48      ],
    49      "stateMutability": "view",
    50      "type": "function"
    51    },
    52    {
    53      "inputs": [
    54        {
    55          "internalType": "address",
    56          "name": "spender",
    57          "type": "address"
    58        },
    59        {
    60          "internalType": "uint256",
    61          "name": "amount",
    62          "type": "uint256"
    63        }
    64      ],
    65      "name": "approve",
    66      "outputs": [
    67        {
    68          "internalType": "bool",
    69          "name": "",
    70          "type": "bool"
    71        }
    72      ],
    73      "stateMutability": "nonpayable",
    74      "type": "function"
    75    },
    76    {
    77      "inputs": [
    78        {
    79          "internalType": "address",
    80          "name": "account",
    81          "type": "address"
    82        }
    83      ],
    84      "name": "balanceOf",
    85      "outputs": [
    86        {
    87          "internalType": "uint256",
    88          "name": "",
    89          "type": "uint256"
    90        }
    91      ],
    92      "stateMutability": "view",
    93      "type": "function"
    94    },
    95    {
    96      "inputs": [
    97        {
    98          "internalType": "address",
    99          "name": "_from",
   100          "type": "address"
   101        },
   102        {
   103          "internalType": "uint256",
   104          "name": "_amount",
   105          "type": "uint256"
   106        }
   107      ],
   108      "name": "burn",
   109      "outputs": [],
   110      "stateMutability": "nonpayable",
   111      "type": "function"
   112    },
   113    {
   114      "inputs": [],
   115      "name": "decimals",
   116      "outputs": [
   117        {
   118          "internalType": "uint8",
   119          "name": "",
   120          "type": "uint8"
   121        }
   122      ],
   123      "stateMutability": "view",
   124      "type": "function"
   125    },
   126    {
   127      "inputs": [
   128        {
   129          "internalType": "address",
   130          "name": "spender",
   131          "type": "address"
   132        },
   133        {
   134          "internalType": "uint256",
   135          "name": "subtractedValue",
   136          "type": "uint256"
   137        }
   138      ],
   139      "name": "decreaseAllowance",
   140      "outputs": [
   141        {
   142          "internalType": "bool",
   143          "name": "",
   144          "type": "bool"
   145        }
   146      ],
   147      "stateMutability": "nonpayable",
   148      "type": "function"
   149    },
   150    {
   151      "inputs": [
   152        {
   153          "internalType": "address",
   154          "name": "spender",
   155          "type": "address"
   156        },
   157        {
   158          "internalType": "uint256",
   159          "name": "addedValue",
   160          "type": "uint256"
   161        }
   162      ],
   163      "name": "increaseAllowance",
   164      "outputs": [
   165        {
   166          "internalType": "bool",
   167          "name": "",
   168          "type": "bool"
   169        }
   170      ],
   171      "stateMutability": "nonpayable",
   172      "type": "function"
   173    },
   174    {
   175      "inputs": [],
   176      "name": "l1Token",
   177      "outputs": [
   178        {
   179          "internalType": "address",
   180          "name": "",
   181          "type": "address"
   182        }
   183      ],
   184      "stateMutability": "view",
   185      "type": "function"
   186    },
   187    {
   188      "inputs": [],
   189      "name": "l2Bridge",
   190      "outputs": [
   191        {
   192          "internalType": "address",
   193          "name": "",
   194          "type": "address"
   195        }
   196      ],
   197      "stateMutability": "view",
   198      "type": "function"
   199    },
   200    {
   201      "inputs": [
   202        {
   203          "internalType": "address",
   204          "name": "_to",
   205          "type": "address"
   206        },
   207        {
   208          "internalType": "uint256",
   209          "name": "_amount",
   210          "type": "uint256"
   211        }
   212      ],
   213      "name": "mint",
   214      "outputs": [],
   215      "stateMutability": "nonpayable",
   216      "type": "function"
   217    },
   218    {
   219      "inputs": [],
   220      "name": "name",
   221      "outputs": [
   222        {
   223          "internalType": "string",
   224          "name": "",
   225          "type": "string"
   226        }
   227      ],
   228      "stateMutability": "view",
   229      "type": "function"
   230    },
   231    {
   232      "inputs": [
   233        {
   234          "internalType": "bytes4",
   235          "name": "_interfaceId",
   236          "type": "bytes4"
   237        }
   238      ],
   239      "name": "supportsInterface",
   240      "outputs": [
   241        {
   242          "internalType": "bool",
   243          "name": "",
   244          "type": "bool"
   245        }
   246      ],
   247      "stateMutability": "pure",
   248      "type": "function"
   249    },
   250    {
   251      "inputs": [],
   252      "name": "symbol",
   253      "outputs": [
   254        {
   255          "internalType": "string",
   256          "name": "",
   257          "type": "string"
   258        }
   259      ],
   260      "stateMutability": "view",
   261      "type": "function"
   262    },
   263    {
   264      "inputs": [],
   265      "name": "totalSupply",
   266      "outputs": [
   267        {
   268          "internalType": "uint256",
   269          "name": "",
   270          "type": "uint256"
   271        }
   272      ],
   273      "stateMutability": "view",
   274      "type": "function"
   275    },
   276    {
   277      "inputs": [
   278        {
   279          "internalType": "address",
   280          "name": "to",
   281          "type": "address"
   282        },
   283        {
   284          "internalType": "uint256",
   285          "name": "amount",
   286          "type": "uint256"
   287        }
   288      ],
   289      "name": "transfer",
   290      "outputs": [
   291        {
   292          "internalType": "bool",
   293          "name": "",
   294          "type": "bool"
   295        }
   296      ],
   297      "stateMutability": "nonpayable",
   298      "type": "function"
   299    },
   300    {
   301      "inputs": [
   302        {
   303          "internalType": "address",
   304          "name": "from",
   305          "type": "address"
   306        },
   307        {
   308          "internalType": "address",
   309          "name": "to",
   310          "type": "address"
   311        },
   312        {
   313          "internalType": "uint256",
   314          "name": "amount",
   315          "type": "uint256"
   316        }
   317      ],
   318      "name": "transferFrom",
   319      "outputs": [
   320        {
   321          "internalType": "bool",
   322          "name": "",
   323          "type": "bool"
   324        }
   325      ],
   326      "stateMutability": "nonpayable",
   327      "type": "function"
   328    },
   329    {
   330      "anonymous": false,
   331      "inputs": [
   332        {
   333          "indexed": true,
   334          "internalType": "address",
   335          "name": "owner",
   336          "type": "address"
   337        },
   338        {
   339          "indexed": true,
   340          "internalType": "address",
   341          "name": "spender",
   342          "type": "address"
   343        },
   344        {
   345          "indexed": false,
   346          "internalType": "uint256",
   347          "name": "value",
   348          "type": "uint256"
   349        }
   350      ],
   351      "name": "Approval",
   352      "type": "event"
   353    },
   354    {
   355      "anonymous": false,
   356      "inputs": [
   357        {
   358          "indexed": true,
   359          "internalType": "address",
   360          "name": "_account",
   361          "type": "address"
   362        },
   363        {
   364          "indexed": false,
   365          "internalType": "uint256",
   366          "name": "_amount",
   367          "type": "uint256"
   368        }
   369      ],
   370      "name": "Burn",
   371      "type": "event"
   372    },
   373    {
   374      "anonymous": false,
   375      "inputs": [
   376        {
   377          "indexed": true,
   378          "internalType": "address",
   379          "name": "_account",
   380          "type": "address"
   381        },
   382        {
   383          "indexed": false,
   384          "internalType": "uint256",
   385          "name": "_amount",
   386          "type": "uint256"
   387        }
   388      ],
   389      "name": "Mint",
   390      "type": "event"
   391    },
   392    {
   393      "anonymous": false,
   394      "inputs": [
   395        {
   396          "indexed": true,
   397          "internalType": "address",
   398          "name": "from",
   399          "type": "address"
   400        },
   401        {
   402          "indexed": true,
   403          "internalType": "address",
   404          "name": "to",
   405          "type": "address"
   406        },
   407        {
   408          "indexed": false,
   409          "internalType": "uint256",
   410          "name": "value",
   411          "type": "uint256"
   412        }
   413      ],
   414      "name": "Transfer",
   415      "type": "event"
   416    }
   417  ]