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

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