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

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

const _abi = [
  {
    type: "function",
    name: "withdraw",
    inputs: [
      {
        name: "token",
        type: "address",
        internalType: "contract IERC20",
      },
      {
        name: "amount",
        type: "uint256",
        internalType: "uint256",
      },
    ],
    outputs: [],
    stateMutability: "nonpayable",
  },
] as const;

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