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

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

const _abi = [
  {
    type: "function",
    name: "deposit",
    inputs: [
      {
        name: "spokePool",
        type: "address",
        internalType: "contract V3SpokePoolInterface",
      },
      {
        name: "recipient",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "inputToken",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "inputAmount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "outputToken",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "outputAmount",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "destinationChainId",
        type: "uint256",
        internalType: "uint256",
      },
      {
        name: "exclusiveRelayer",
        type: "bytes32",
        internalType: "bytes32",
      },
      {
        name: "quoteTimestamp",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "fillDeadline",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "exclusivityDeadline",
        type: "uint32",
        internalType: "uint32",
      },
      {
        name: "message",
        type: "bytes",
        internalType: "bytes",
      },
    ],
    outputs: [],
    stateMutability: "payable",
  },
  {
    type: "error",
    name: "InvalidMsgValue",
    inputs: [],
  },
  {
    type: "error",
    name: "InvalidSpokePool",
    inputs: [],
  },
] as const;

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