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

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

const _abi = [
  {
    type: "receive",
    stateMutability: "payable",
  },
  {
    type: "function",
    name: "execute",
    inputs: [
      {
        name: "implementation",
        type: "address",
        internalType: "address",
      },
      {
        name: "params",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "submitterData",
        type: "bytes",
        internalType: "bytes",
      },
      {
        name: "proof",
        type: "bytes32[]",
        internalType: "bytes32[]",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "error",
    name: "InvalidProof",
    inputs: [],
  },
] as const;

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