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

import { Contract, Interface, type ContractRunner } from "ethers";
import type {
  ICollateralEscrowV1,
  ICollateralEscrowV1Interface,
} from "../../../../contracts/interfaces/escrow/ICollateralEscrowV1";

const _abi = [
  {
    inputs: [
      {
        internalType: "enum CollateralType",
        name: "_collateralType",
        type: "uint8",
      },
      {
        internalType: "address",
        name: "_collateralAddress",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "_amount",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "_tokenId",
        type: "uint256",
      },
    ],
    name: "depositAsset",
    outputs: [],
    stateMutability: "payable",
    type: "function",
  },
  {
    inputs: [],
    name: "getBid",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "uint256",
        name: "_bidId",
        type: "uint256",
      },
    ],
    name: "initialize",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_collateralAddress",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "_amount",
        type: "uint256",
      },
      {
        internalType: "address",
        name: "_recipient",
        type: "address",
      },
    ],
    name: "withdraw",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
] as const;

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