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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "uint256",
        name: "bidId",
        type: "uint256",
      },
      {
        internalType: "address",
        name: "repayer",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "principalAmount",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "interestAmount",
        type: "uint256",
      },
    ],
    name: "repayLoanCallback",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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