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

     1  [
     2    {
     3      "inputs": [],
     4      "stateMutability": "nonpayable",
     5      "type": "constructor"
     6    },
     7    {
     8      "inputs": [],
     9      "name": "CHALLENGER",
    10      "outputs": [
    11        {
    12          "internalType": "address",
    13          "name": "",
    14          "type": "address"
    15        }
    16      ],
    17      "stateMutability": "view",
    18      "type": "function"
    19    },
    20    {
    21      "inputs": [],
    22      "name": "FINALIZATION_PERIOD_SECONDS",
    23      "outputs": [
    24        {
    25          "internalType": "uint256",
    26          "name": "",
    27          "type": "uint256"
    28        }
    29      ],
    30      "stateMutability": "view",
    31      "type": "function"
    32    },
    33    {
    34      "inputs": [],
    35      "name": "L2_BLOCK_TIME",
    36      "outputs": [
    37        {
    38          "internalType": "uint256",
    39          "name": "",
    40          "type": "uint256"
    41        }
    42      ],
    43      "stateMutability": "view",
    44      "type": "function"
    45    },
    46    {
    47      "inputs": [],
    48      "name": "PROPOSER",
    49      "outputs": [
    50        {
    51          "internalType": "address",
    52          "name": "",
    53          "type": "address"
    54        }
    55      ],
    56      "stateMutability": "view",
    57      "type": "function"
    58    },
    59    {
    60      "inputs": [],
    61      "name": "SUBMISSION_INTERVAL",
    62      "outputs": [
    63        {
    64          "internalType": "uint256",
    65          "name": "",
    66          "type": "uint256"
    67        }
    68      ],
    69      "stateMutability": "view",
    70      "type": "function"
    71    },
    72    {
    73      "inputs": [],
    74      "name": "challenger",
    75      "outputs": [
    76        {
    77          "internalType": "address",
    78          "name": "",
    79          "type": "address"
    80        }
    81      ],
    82      "stateMutability": "view",
    83      "type": "function"
    84    },
    85    {
    86      "inputs": [
    87        {
    88          "internalType": "uint256",
    89          "name": "_l2BlockNumber",
    90          "type": "uint256"
    91        }
    92      ],
    93      "name": "computeL2Timestamp",
    94      "outputs": [
    95        {
    96          "internalType": "uint256",
    97          "name": "",
    98          "type": "uint256"
    99        }
   100      ],
   101      "stateMutability": "view",
   102      "type": "function"
   103    },
   104    {
   105      "inputs": [
   106        {
   107          "internalType": "uint256",
   108          "name": "_l2OutputIndex",
   109          "type": "uint256"
   110        }
   111      ],
   112      "name": "deleteL2Outputs",
   113      "outputs": [],
   114      "stateMutability": "nonpayable",
   115      "type": "function"
   116    },
   117    {
   118      "inputs": [],
   119      "name": "finalizationPeriodSeconds",
   120      "outputs": [
   121        {
   122          "internalType": "uint256",
   123          "name": "",
   124          "type": "uint256"
   125        }
   126      ],
   127      "stateMutability": "view",
   128      "type": "function"
   129    },
   130    {
   131      "inputs": [
   132        {
   133          "internalType": "uint256",
   134          "name": "_l2OutputIndex",
   135          "type": "uint256"
   136        }
   137      ],
   138      "name": "getL2Output",
   139      "outputs": [
   140        {
   141          "components": [
   142            {
   143              "internalType": "bytes32",
   144              "name": "outputRoot",
   145              "type": "bytes32"
   146            },
   147            {
   148              "internalType": "uint128",
   149              "name": "timestamp",
   150              "type": "uint128"
   151            },
   152            {
   153              "internalType": "uint128",
   154              "name": "l2BlockNumber",
   155              "type": "uint128"
   156            }
   157          ],
   158          "internalType": "struct Types.OutputProposal",
   159          "name": "",
   160          "type": "tuple"
   161        }
   162      ],
   163      "stateMutability": "view",
   164      "type": "function"
   165    },
   166    {
   167      "inputs": [
   168        {
   169          "internalType": "uint256",
   170          "name": "_l2BlockNumber",
   171          "type": "uint256"
   172        }
   173      ],
   174      "name": "getL2OutputAfter",
   175      "outputs": [
   176        {
   177          "components": [
   178            {
   179              "internalType": "bytes32",
   180              "name": "outputRoot",
   181              "type": "bytes32"
   182            },
   183            {
   184              "internalType": "uint128",
   185              "name": "timestamp",
   186              "type": "uint128"
   187            },
   188            {
   189              "internalType": "uint128",
   190              "name": "l2BlockNumber",
   191              "type": "uint128"
   192            }
   193          ],
   194          "internalType": "struct Types.OutputProposal",
   195          "name": "",
   196          "type": "tuple"
   197        }
   198      ],
   199      "stateMutability": "view",
   200      "type": "function"
   201    },
   202    {
   203      "inputs": [
   204        {
   205          "internalType": "uint256",
   206          "name": "_l2BlockNumber",
   207          "type": "uint256"
   208        }
   209      ],
   210      "name": "getL2OutputIndexAfter",
   211      "outputs": [
   212        {
   213          "internalType": "uint256",
   214          "name": "",
   215          "type": "uint256"
   216        }
   217      ],
   218      "stateMutability": "view",
   219      "type": "function"
   220    },
   221    {
   222      "inputs": [
   223        {
   224          "internalType": "uint256",
   225          "name": "_submissionInterval",
   226          "type": "uint256"
   227        },
   228        {
   229          "internalType": "uint256",
   230          "name": "_l2BlockTime",
   231          "type": "uint256"
   232        },
   233        {
   234          "internalType": "uint256",
   235          "name": "_startingBlockNumber",
   236          "type": "uint256"
   237        },
   238        {
   239          "internalType": "uint256",
   240          "name": "_startingTimestamp",
   241          "type": "uint256"
   242        },
   243        {
   244          "internalType": "address",
   245          "name": "_proposer",
   246          "type": "address"
   247        },
   248        {
   249          "internalType": "address",
   250          "name": "_challenger",
   251          "type": "address"
   252        },
   253        {
   254          "internalType": "uint256",
   255          "name": "_finalizationPeriodSeconds",
   256          "type": "uint256"
   257        }
   258      ],
   259      "name": "initialize",
   260      "outputs": [],
   261      "stateMutability": "nonpayable",
   262      "type": "function"
   263    },
   264    {
   265      "inputs": [],
   266      "name": "l2BlockTime",
   267      "outputs": [
   268        {
   269          "internalType": "uint256",
   270          "name": "",
   271          "type": "uint256"
   272        }
   273      ],
   274      "stateMutability": "view",
   275      "type": "function"
   276    },
   277    {
   278      "inputs": [],
   279      "name": "latestBlockNumber",
   280      "outputs": [
   281        {
   282          "internalType": "uint256",
   283          "name": "",
   284          "type": "uint256"
   285        }
   286      ],
   287      "stateMutability": "view",
   288      "type": "function"
   289    },
   290    {
   291      "inputs": [],
   292      "name": "latestOutputIndex",
   293      "outputs": [
   294        {
   295          "internalType": "uint256",
   296          "name": "",
   297          "type": "uint256"
   298        }
   299      ],
   300      "stateMutability": "view",
   301      "type": "function"
   302    },
   303    {
   304      "inputs": [],
   305      "name": "nextBlockNumber",
   306      "outputs": [
   307        {
   308          "internalType": "uint256",
   309          "name": "",
   310          "type": "uint256"
   311        }
   312      ],
   313      "stateMutability": "view",
   314      "type": "function"
   315    },
   316    {
   317      "inputs": [],
   318      "name": "nextOutputIndex",
   319      "outputs": [
   320        {
   321          "internalType": "uint256",
   322          "name": "",
   323          "type": "uint256"
   324        }
   325      ],
   326      "stateMutability": "view",
   327      "type": "function"
   328    },
   329    {
   330      "inputs": [
   331        {
   332          "internalType": "bytes32",
   333          "name": "_outputRoot",
   334          "type": "bytes32"
   335        },
   336        {
   337          "internalType": "uint256",
   338          "name": "_l2BlockNumber",
   339          "type": "uint256"
   340        },
   341        {
   342          "internalType": "bytes32",
   343          "name": "_l1BlockHash",
   344          "type": "bytes32"
   345        },
   346        {
   347          "internalType": "uint256",
   348          "name": "_l1BlockNumber",
   349          "type": "uint256"
   350        }
   351      ],
   352      "name": "proposeL2Output",
   353      "outputs": [],
   354      "stateMutability": "payable",
   355      "type": "function"
   356    },
   357    {
   358      "inputs": [],
   359      "name": "proposer",
   360      "outputs": [
   361        {
   362          "internalType": "address",
   363          "name": "",
   364          "type": "address"
   365        }
   366      ],
   367      "stateMutability": "view",
   368      "type": "function"
   369    },
   370    {
   371      "inputs": [],
   372      "name": "startingBlockNumber",
   373      "outputs": [
   374        {
   375          "internalType": "uint256",
   376          "name": "",
   377          "type": "uint256"
   378        }
   379      ],
   380      "stateMutability": "view",
   381      "type": "function"
   382    },
   383    {
   384      "inputs": [],
   385      "name": "startingTimestamp",
   386      "outputs": [
   387        {
   388          "internalType": "uint256",
   389          "name": "",
   390          "type": "uint256"
   391        }
   392      ],
   393      "stateMutability": "view",
   394      "type": "function"
   395    },
   396    {
   397      "inputs": [],
   398      "name": "submissionInterval",
   399      "outputs": [
   400        {
   401          "internalType": "uint256",
   402          "name": "",
   403          "type": "uint256"
   404        }
   405      ],
   406      "stateMutability": "view",
   407      "type": "function"
   408    },
   409    {
   410      "inputs": [],
   411      "name": "version",
   412      "outputs": [
   413        {
   414          "internalType": "string",
   415          "name": "",
   416          "type": "string"
   417        }
   418      ],
   419      "stateMutability": "view",
   420      "type": "function"
   421    },
   422    {
   423      "anonymous": false,
   424      "inputs": [
   425        {
   426          "indexed": false,
   427          "internalType": "uint8",
   428          "name": "version",
   429          "type": "uint8"
   430        }
   431      ],
   432      "name": "Initialized",
   433      "type": "event"
   434    },
   435    {
   436      "anonymous": false,
   437      "inputs": [
   438        {
   439          "indexed": true,
   440          "internalType": "bytes32",
   441          "name": "outputRoot",
   442          "type": "bytes32"
   443        },
   444        {
   445          "indexed": true,
   446          "internalType": "uint256",
   447          "name": "l2OutputIndex",
   448          "type": "uint256"
   449        },
   450        {
   451          "indexed": true,
   452          "internalType": "uint256",
   453          "name": "l2BlockNumber",
   454          "type": "uint256"
   455        },
   456        {
   457          "indexed": false,
   458          "internalType": "uint256",
   459          "name": "l1Timestamp",
   460          "type": "uint256"
   461        }
   462      ],
   463      "name": "OutputProposed",
   464      "type": "event"
   465    },
   466    {
   467      "anonymous": false,
   468      "inputs": [
   469        {
   470          "indexed": true,
   471          "internalType": "uint256",
   472          "name": "prevNextOutputIndex",
   473          "type": "uint256"
   474        },
   475        {
   476          "indexed": true,
   477          "internalType": "uint256",
   478          "name": "newNextOutputIndex",
   479          "type": "uint256"
   480        }
   481      ],
   482      "name": "OutputsDeleted",
   483      "type": "event"
   484    }
   485  ]