[
  {
    "inputs": [],
    "name": "PartOffsetOOB",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_partOffset",
        "type": "uint256"
      },
      {
        "internalType": "bytes",
        "name": "_preimage",
        "type": "bytes"
      }
    ],
    "name": "loadKeccak256PreimagePart",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_ident",
        "type": "uint256"
      },
      {
        "internalType": "bytes32",
        "name": "_localContext",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "_word",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "_size",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "_partOffset",
        "type": "uint256"
      }
    ],
    "name": "loadLocalData",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "key_",
        "type": "bytes32"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "name": "preimageLengths",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "name": "preimagePartOk",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "name": "preimageParts",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "_key",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "_offset",
        "type": "uint256"
      }
    ],
    "name": "readPreimage",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "dat_",
        "type": "bytes32"
      },
      {
        "internalType": "uint256",
        "name": "datLen_",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]