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

     1  [
     2    {
     3      "stateMutability": "payable",
     4      "type": "receive"
     5    },
     6    {
     7      "inputs": [
     8        {
     9          "internalType": "address",
    10          "name": "",
    11          "type": "address"
    12        },
    13        {
    14          "internalType": "address",
    15          "name": "",
    16          "type": "address"
    17        }
    18      ],
    19      "name": "allowance",
    20      "outputs": [
    21        {
    22          "internalType": "uint256",
    23          "name": "",
    24          "type": "uint256"
    25        }
    26      ],
    27      "stateMutability": "view",
    28      "type": "function"
    29    },
    30    {
    31      "inputs": [
    32        {
    33          "internalType": "address",
    34          "name": "guy",
    35          "type": "address"
    36        },
    37        {
    38          "internalType": "uint256",
    39          "name": "wad",
    40          "type": "uint256"
    41        }
    42      ],
    43      "name": "approve",
    44      "outputs": [
    45        {
    46          "internalType": "bool",
    47          "name": "",
    48          "type": "bool"
    49        }
    50      ],
    51      "stateMutability": "nonpayable",
    52      "type": "function"
    53    },
    54    {
    55      "inputs": [
    56        {
    57          "internalType": "address",
    58          "name": "",
    59          "type": "address"
    60        }
    61      ],
    62      "name": "balanceOf",
    63      "outputs": [
    64        {
    65          "internalType": "uint256",
    66          "name": "",
    67          "type": "uint256"
    68        }
    69      ],
    70      "stateMutability": "view",
    71      "type": "function"
    72    },
    73    {
    74      "inputs": [],
    75      "name": "decimals",
    76      "outputs": [
    77        {
    78          "internalType": "uint8",
    79          "name": "",
    80          "type": "uint8"
    81        }
    82      ],
    83      "stateMutability": "view",
    84      "type": "function"
    85    },
    86    {
    87      "inputs": [],
    88      "name": "deposit",
    89      "outputs": [],
    90      "stateMutability": "payable",
    91      "type": "function"
    92    },
    93    {
    94      "inputs": [],
    95      "name": "name",
    96      "outputs": [
    97        {
    98          "internalType": "string",
    99          "name": "",
   100          "type": "string"
   101        }
   102      ],
   103      "stateMutability": "view",
   104      "type": "function"
   105    },
   106    {
   107      "inputs": [],
   108      "name": "symbol",
   109      "outputs": [
   110        {
   111          "internalType": "string",
   112          "name": "",
   113          "type": "string"
   114        }
   115      ],
   116      "stateMutability": "view",
   117      "type": "function"
   118    },
   119    {
   120      "inputs": [],
   121      "name": "totalSupply",
   122      "outputs": [
   123        {
   124          "internalType": "uint256",
   125          "name": "",
   126          "type": "uint256"
   127        }
   128      ],
   129      "stateMutability": "view",
   130      "type": "function"
   131    },
   132    {
   133      "inputs": [
   134        {
   135          "internalType": "address",
   136          "name": "dst",
   137          "type": "address"
   138        },
   139        {
   140          "internalType": "uint256",
   141          "name": "wad",
   142          "type": "uint256"
   143        }
   144      ],
   145      "name": "transfer",
   146      "outputs": [
   147        {
   148          "internalType": "bool",
   149          "name": "",
   150          "type": "bool"
   151        }
   152      ],
   153      "stateMutability": "nonpayable",
   154      "type": "function"
   155    },
   156    {
   157      "inputs": [
   158        {
   159          "internalType": "address",
   160          "name": "src",
   161          "type": "address"
   162        },
   163        {
   164          "internalType": "address",
   165          "name": "dst",
   166          "type": "address"
   167        },
   168        {
   169          "internalType": "uint256",
   170          "name": "wad",
   171          "type": "uint256"
   172        }
   173      ],
   174      "name": "transferFrom",
   175      "outputs": [
   176        {
   177          "internalType": "bool",
   178          "name": "",
   179          "type": "bool"
   180        }
   181      ],
   182      "stateMutability": "nonpayable",
   183      "type": "function"
   184    },
   185    {
   186      "inputs": [
   187        {
   188          "internalType": "uint256",
   189          "name": "wad",
   190          "type": "uint256"
   191        }
   192      ],
   193      "name": "withdraw",
   194      "outputs": [],
   195      "stateMutability": "nonpayable",
   196      "type": "function"
   197    },
   198    {
   199      "anonymous": false,
   200      "inputs": [
   201        {
   202          "indexed": true,
   203          "internalType": "address",
   204          "name": "src",
   205          "type": "address"
   206        },
   207        {
   208          "indexed": true,
   209          "internalType": "address",
   210          "name": "guy",
   211          "type": "address"
   212        },
   213        {
   214          "indexed": false,
   215          "internalType": "uint256",
   216          "name": "wad",
   217          "type": "uint256"
   218        }
   219      ],
   220      "name": "Approval",
   221      "type": "event"
   222    },
   223    {
   224      "anonymous": false,
   225      "inputs": [
   226        {
   227          "indexed": true,
   228          "internalType": "address",
   229          "name": "dst",
   230          "type": "address"
   231        },
   232        {
   233          "indexed": false,
   234          "internalType": "uint256",
   235          "name": "wad",
   236          "type": "uint256"
   237        }
   238      ],
   239      "name": "Deposit",
   240      "type": "event"
   241    },
   242    {
   243      "anonymous": false,
   244      "inputs": [
   245        {
   246          "indexed": true,
   247          "internalType": "address",
   248          "name": "src",
   249          "type": "address"
   250        },
   251        {
   252          "indexed": true,
   253          "internalType": "address",
   254          "name": "dst",
   255          "type": "address"
   256        },
   257        {
   258          "indexed": false,
   259          "internalType": "uint256",
   260          "name": "wad",
   261          "type": "uint256"
   262        }
   263      ],
   264      "name": "Transfer",
   265      "type": "event"
   266    },
   267    {
   268      "anonymous": false,
   269      "inputs": [
   270        {
   271          "indexed": true,
   272          "internalType": "address",
   273          "name": "src",
   274          "type": "address"
   275        },
   276        {
   277          "indexed": false,
   278          "internalType": "uint256",
   279          "name": "wad",
   280          "type": "uint256"
   281        }
   282      ],
   283      "name": "Withdrawal",
   284      "type": "event"
   285    }
   286  ]