/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */

import { Contract, Signer, utils } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type {
  ISP1VerifierWithHash,
  ISP1VerifierWithHashInterface,
} from "../ISP1VerifierWithHash";

const _abi = [
  {
    type: "function",
    name: "VERIFIER_HASH",
    inputs: [],
    outputs: [
      {
        name: "",
        type: "bytes32",
        internalType: "bytes32",
      },
    ],
    stateMutability: "pure",
  },
  {
    type: "function",
    name: "verifyProof",
    inputs: [
      {
        name: "programVKey",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "publicValues",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "proofBytes",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "view",
  },
] as const;

export class ISP1VerifierWithHash__factory {
  static readonly abi = _abi;
  static createInterface(): ISP1VerifierWithHashInterface {
    return new utils.Interface(_abi) as ISP1VerifierWithHashInterface;
  }
  static connect(
    address: string,
    signerOrProvider: Signer | Provider
  ): ISP1VerifierWithHash {
    return new Contract(
      address,
      _abi,
      signerOrProvider
    ) as ISP1VerifierWithHash;
  }
}
