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

     1  [
     2    {
     3      "inputs": [],
     4      "name": "checkpoint",
     5      "outputs": [
     6        {
     7          "internalType": "uint256",
     8          "name": "blockNumber_",
     9          "type": "uint256"
    10        }
    11      ],
    12      "stateMutability": "nonpayable",
    13      "type": "function"
    14    },
    15    {
    16      "inputs": [
    17        {
    18          "internalType": "uint256",
    19          "name": "_blockNumber",
    20          "type": "uint256"
    21        }
    22      ],
    23      "name": "load",
    24      "outputs": [
    25        {
    26          "components": [
    27            {
    28              "internalType": "Hash",
    29              "name": "hash",
    30              "type": "bytes32"
    31            },
    32            {
    33              "internalType": "Timestamp",
    34              "name": "childTimestamp",
    35              "type": "uint64"
    36            }
    37          ],
    38          "internalType": "struct BlockOracle.BlockInfo",
    39          "name": "blockInfo_",
    40          "type": "tuple"
    41        }
    42      ],
    43      "stateMutability": "view",
    44      "type": "function"
    45    },
    46    {
    47      "inputs": [],
    48      "name": "version",
    49      "outputs": [
    50        {
    51          "internalType": "string",
    52          "name": "",
    53          "type": "string"
    54        }
    55      ],
    56      "stateMutability": "view",
    57      "type": "function"
    58    },
    59    {
    60      "anonymous": false,
    61      "inputs": [
    62        {
    63          "indexed": true,
    64          "internalType": "uint256",
    65          "name": "blockNumber",
    66          "type": "uint256"
    67        },
    68        {
    69          "indexed": true,
    70          "internalType": "Hash",
    71          "name": "blockHash",
    72          "type": "bytes32"
    73        },
    74        {
    75          "indexed": true,
    76          "internalType": "Timestamp",
    77          "name": "childTimestamp",
    78          "type": "uint64"
    79        }
    80      ],
    81      "name": "Checkpoint",
    82      "type": "event"
    83    },
    84    {
    85      "inputs": [],
    86      "name": "BlockHashNotPresent",
    87      "type": "error"
    88    }
    89  ]