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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "sharesSubject",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "amount",
        type: "uint256",
      },
    ],
    name: "getBuyPrice",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
];

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