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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "addr",
        type: "address",
      },
    ],
    name: "collateralInsuranceFunds",
    outputs: [
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "view",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_collateralToken",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "_amount",
        type: "uint256",
      },
      {
        internalType: "address",
        name: "_receiver",
        type: "address",
      },
    ],
    name: "decreaseInsuranceFund",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
  {
    inputs: [
      {
        internalType: "address",
        name: "_collateralToken",
        type: "address",
      },
      {
        internalType: "uint256",
        name: "_insuranceInAmount",
        type: "uint256",
      },
    ],
    name: "increaseInsuranceFund",
    outputs: [],
    stateMutability: "nonpayable",
    type: "function",
  },
];

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