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

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

const _abi = [
  {
    inputs: [
      {
        internalType: "address",
        name: "_tokenIn",
        type: "address",
      },
      {
        internalType: "address",
        name: "_collateralToken",
        type: "address",
      },
      {
        internalType: "address",
        name: "_indexToken",
        type: "address",
      },
      {
        internalType: "bool",
        name: "_isLong",
        type: "bool",
      },
      {
        internalType: "uint256",
        name: "_amountIn",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "_minOut",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "_notionalDelta",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "_collateralPrice",
        type: "uint256",
      },
      {
        internalType: "uint256",
        name: "_indexPrice",
        type: "uint256",
      },
    ],
    name: "increasePosition",
    outputs: [
      {
        internalType: "int256",
        name: "",
        type: "int256",
      },
      {
        internalType: "uint256",
        name: "",
        type: "uint256",
      },
    ],
    stateMutability: "nonpayable",
    type: "function",
  },
];

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