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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ITellerV2Autopay,
  ITellerV2AutopayInterface,
} from "../../../contracts/interfaces/ITellerV2Autopay";

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_bidId",
        type: "uint256",
      },
    ],
    name: "autoPayLoanMinimum",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint16",
        name: "_newFee",
        type: "uint16",
      },
      {
        internalType: "address",
        name: "_newOwner",
        type: "address",
      },
    ],
    name: "initialize",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_bidId",
        type: "uint256",
      },
      {
        internalType: "bool",
        name: "_autoPayEnabled",
        type: "bool",
      },
    ],
    name: "setAutoPayEnabled",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint16",
        name: "_newFee",
        type: "uint16",
      },
    ],
    name: "setAutopayFee",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

export class ITellerV2Autopay__factory {
  static readonly abi = _abi;
  static createInterface(): ITellerV2AutopayInterface {
    return new Interface(_abi) as ITellerV2AutopayInterface;
  }
  static connect(
    address: string,
    runner?: ContractRunner | null
  ): ITellerV2Autopay {
    return new Contract(address, _abi, runner) as unknown as ITellerV2Autopay;
  }
}
