[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "pathHashes",
        "type": "bytes32[]",
        "internalType": "bytes32[]"
      },
      {
        "name": "contentTypes",
        "type": "string[]",
        "internalType": "string[]"
      },
      {
        "name": "chunks",
        "type": "address[][]",
        "internalType": "address[][]"
      },
      {
        "name": "lengths",
        "type": "uint256[]",
        "internalType": "uint256[]"
      },
      {
        "name": "expectedManifestHash",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "INDEX_PATH_HASH",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "manifestHash",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "request",
    "inputs": [
      {
        "name": "resource",
        "type": "string[]",
        "internalType": "string[]"
      },
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct KeyValue[]",
        "components": [
          {
            "name": "key",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "value",
            "type": "string",
            "internalType": "string"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "statusCode",
        "type": "uint16",
        "internalType": "uint16"
      },
      {
        "name": "body",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "headers",
        "type": "tuple[]",
        "internalType": "struct KeyValue[]",
        "components": [
          {
            "name": "key",
            "type": "string",
            "internalType": "string"
          },
          {
            "name": "value",
            "type": "string",
            "internalType": "string"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "resolveMode",
    "inputs": [],
    "outputs": [
      {
        "name": "mode",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ],
    "stateMutability": "pure"
  },
  {
    "type": "function",
    "name": "resourceInfo",
    "inputs": [
      {
        "name": "path",
        "type": "string",
        "internalType": "string"
      }
    ],
    "outputs": [
      {
        "name": "exists",
        "type": "bool",
        "internalType": "bool"
      },
      {
        "name": "contentType",
        "type": "string",
        "internalType": "string"
      },
      {
        "name": "length",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "chunks",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "error",
    "name": "ArrayLengthMismatch",
    "inputs": []
  },
  {
    "type": "error",
    "name": "DuplicatePath",
    "inputs": [
      {
        "name": "pathHash",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "EmptyResource",
    "inputs": [
      {
        "name": "pathHash",
        "type": "bytes32",
        "internalType": "bytes32"
      }
    ]
  },
  {
    "type": "error",
    "name": "InvalidChunk",
    "inputs": [
      {
        "name": "pathHash",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "chunk",
        "type": "address",
        "internalType": "address"
      }
    ]
  },
  {
    "type": "error",
    "name": "MissingIndex",
    "inputs": []
  },
  {
    "type": "error",
    "name": "ResourceLengthMismatch",
    "inputs": [
      {
        "name": "pathHash",
        "type": "bytes32",
        "internalType": "bytes32"
      },
      {
        "name": "expected",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "actual",
        "type": "uint256",
        "internalType": "uint256"
      }
    ]
  }
]

