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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_bidId",
        type: "uint256",
      },
    ],
    name: "getRepaymentListenerForBid",
    outputs: [
      {
        internalType: "address",
        name: "",
        type: "address",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_bidId",
        type: "uint256",
      },
      {
        internalType: "address",
        name: "_listener",
        type: "address",
      },
    ],
    name: "setRepaymentListenerForBid",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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