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

import {
  ethers,
  EventFilter,
  Signer,
  BigNumber,
  BigNumberish,
  PopulatedTransaction,
  BaseContract,
  ContractTransaction,
  Overrides,
  CallOverrides,
} from "ethers";
import { BytesLike } from "@ethersproject/bytes";
import { Listener, Provider } from "@ethersproject/providers";
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";

interface OTAuctionPresetInterface extends ethers.utils.Interface {
  functions: {
    "_allowClaim()": FunctionFragment;
    "acceptedCoin(uint256)": FunctionFragment;
    "acceptedCoinBalance(address)": FunctionFragment;
    "acceptedCoinExist(address)": FunctionFragment;
    "allowClaim()": FunctionFragment;
    "bulkBuyOTPreset(address[],address[],uint256[])": FunctionFragment;
    "buyOT(address,uint256)": FunctionFragment;
    "claimOT()": FunctionFragment;
    "getAccountInfo(address)": FunctionFragment;
    "owner()": FunctionFragment;
    "renounceOwnership()": FunctionFragment;
    "saleInfo()": FunctionFragment;
    "setTokenDecimals(address,uint8)": FunctionFragment;
    "tokenDecimals(address)": FunctionFragment;
    "transferOwnership(address)": FunctionFragment;
    "userPosition(address)": FunctionFragment;
    "userPositonStable(address,address)": FunctionFragment;
    "withdrawERC20Token(address,address,uint256)": FunctionFragment;
    "withdrawProceeds(address)": FunctionFragment;
    "withdrawn()": FunctionFragment;
  };

  encodeFunctionData(
    functionFragment: "_allowClaim",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "acceptedCoin",
    values: [BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "acceptedCoinBalance",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "acceptedCoinExist",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "allowClaim",
    values?: undefined
  ): string;
  encodeFunctionData(
    functionFragment: "bulkBuyOTPreset",
    values: [string[], string[], BigNumberish[]]
  ): string;
  encodeFunctionData(
    functionFragment: "buyOT",
    values: [string, BigNumberish]
  ): string;
  encodeFunctionData(functionFragment: "claimOT", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "getAccountInfo",
    values: [string]
  ): string;
  encodeFunctionData(functionFragment: "owner", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "renounceOwnership",
    values?: undefined
  ): string;
  encodeFunctionData(functionFragment: "saleInfo", values?: undefined): string;
  encodeFunctionData(
    functionFragment: "setTokenDecimals",
    values: [string, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "tokenDecimals",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "transferOwnership",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "userPosition",
    values: [string]
  ): string;
  encodeFunctionData(
    functionFragment: "userPositonStable",
    values: [string, string]
  ): string;
  encodeFunctionData(
    functionFragment: "withdrawERC20Token",
    values: [string, string, BigNumberish]
  ): string;
  encodeFunctionData(
    functionFragment: "withdrawProceeds",
    values: [string]
  ): string;
  encodeFunctionData(functionFragment: "withdrawn", values?: undefined): string;

  decodeFunctionResult(
    functionFragment: "_allowClaim",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptedCoin",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptedCoinBalance",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "acceptedCoinExist",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "allowClaim", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "bulkBuyOTPreset",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "buyOT", data: BytesLike): Result;
  decodeFunctionResult(functionFragment: "claimOT", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "getAccountInfo",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "renounceOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "saleInfo", data: BytesLike): Result;
  decodeFunctionResult(
    functionFragment: "setTokenDecimals",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "tokenDecimals",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "transferOwnership",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "userPosition",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "userPositonStable",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "withdrawERC20Token",
    data: BytesLike
  ): Result;
  decodeFunctionResult(
    functionFragment: "withdrawProceeds",
    data: BytesLike
  ): Result;
  decodeFunctionResult(functionFragment: "withdrawn", data: BytesLike): Result;

  events: {
    "BuyOT(address,address,uint256,uint256,uint256,uint256,uint256)": EventFragment;
    "OwnershipTransferred(address,address)": EventFragment;
  };

  getEvent(nameOrSignatureOrTopic: "BuyOT"): EventFragment;
  getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}

export type BuyOTEvent = TypedEvent<
  [string, string, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
    account: string;
    token: string;
    tokenAmount: BigNumber;
    otSupply: BigNumber;
    floorValue: BigNumber;
    capMKTValue: BigNumber;
    totalReceived: BigNumber;
  }
>;

export type OwnershipTransferredEvent = TypedEvent<
  [string, string] & { previousOwner: string; newOwner: string }
>;

export class OTAuctionPreset extends BaseContract {
  connect(signerOrProvider: Signer | Provider | string): this;
  attach(addressOrName: string): this;
  deployed(): Promise<this>;

  listeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): Array<TypedListener<EventArgsArray, EventArgsObject>>;
  off<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  on<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  once<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
    listener: TypedListener<EventArgsArray, EventArgsObject>
  ): this;
  removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
    eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
  ): this;

  listeners(eventName?: string): Array<Listener>;
  off(eventName: string, listener: Listener): this;
  on(eventName: string, listener: Listener): this;
  once(eventName: string, listener: Listener): this;
  removeListener(eventName: string, listener: Listener): this;
  removeAllListeners(eventName?: string): this;

  queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(
    event: TypedEventFilter<EventArgsArray, EventArgsObject>,
    fromBlockOrBlockhash?: string | number | undefined,
    toBlock?: string | number | undefined
  ): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;

  interface: OTAuctionPresetInterface;

  functions: {
    _allowClaim(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    acceptedCoin(
      arg0: BigNumberish,
      overrides?: CallOverrides
    ): Promise<[string]>;

    acceptedCoinBalance(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    acceptedCoinExist(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[boolean]>;

    allowClaim(overrides?: CallOverrides): Promise<[boolean]>;

    bulkBuyOTPreset(
      _tokens: string[],
      _accounts: string[],
      _amounts: BigNumberish[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    buyOT(
      _address: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    claimOT(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    getAccountInfo(
      _account: string,
      overrides?: CallOverrides
    ): Promise<
      [
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        string[],
        BigNumber[],
        BigNumber[],
        number[]
      ] & {
        OTAddress: string;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
        boughtOTAmount: BigNumber;
        tokens: string[];
        contributedAmount: BigNumber[];
        globalContributedAmount: BigNumber[];
        tokensDecimals: number[];
      }
    >;

    owner(overrides?: CallOverrides): Promise<[string]>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    saleInfo(
      overrides?: CallOverrides
    ): Promise<
      [
        string,
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber
      ] & {
        OT: string;
        approver: string;
        startAt: BigNumber;
        endAt: BigNumber;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
      }
    >;

    setTokenDecimals(
      _token: string,
      _decimals: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    tokenDecimals(arg0: string, overrides?: CallOverrides): Promise<[number]>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    userPosition(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber, boolean] & { value: BigNumber; claimed: boolean }>;

    userPositonStable(
      arg0: string,
      arg1: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber]>;

    withdrawERC20Token(
      _token: string,
      _account: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    withdrawProceeds(
      to: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<ContractTransaction>;

    withdrawn(overrides?: CallOverrides): Promise<[boolean]>;
  };

  _allowClaim(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  acceptedCoin(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;

  acceptedCoinBalance(
    arg0: string,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  acceptedCoinExist(arg0: string, overrides?: CallOverrides): Promise<boolean>;

  allowClaim(overrides?: CallOverrides): Promise<boolean>;

  bulkBuyOTPreset(
    _tokens: string[],
    _accounts: string[],
    _amounts: BigNumberish[],
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  buyOT(
    _address: string,
    _amount: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  claimOT(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  getAccountInfo(
    _account: string,
    overrides?: CallOverrides
  ): Promise<
    [
      string,
      BigNumber,
      BigNumber,
      BigNumber,
      BigNumber,
      BigNumber,
      string[],
      BigNumber[],
      BigNumber[],
      number[]
    ] & {
      OTAddress: string;
      otSupply: BigNumber;
      floorValue: BigNumber;
      capMKTValue: BigNumber;
      totalReceived: BigNumber;
      boughtOTAmount: BigNumber;
      tokens: string[];
      contributedAmount: BigNumber[];
      globalContributedAmount: BigNumber[];
      tokensDecimals: number[];
    }
  >;

  owner(overrides?: CallOverrides): Promise<string>;

  renounceOwnership(
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  saleInfo(
    overrides?: CallOverrides
  ): Promise<
    [
      string,
      string,
      BigNumber,
      BigNumber,
      BigNumber,
      BigNumber,
      BigNumber,
      BigNumber
    ] & {
      OT: string;
      approver: string;
      startAt: BigNumber;
      endAt: BigNumber;
      otSupply: BigNumber;
      floorValue: BigNumber;
      capMKTValue: BigNumber;
      totalReceived: BigNumber;
    }
  >;

  setTokenDecimals(
    _token: string,
    _decimals: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  tokenDecimals(arg0: string, overrides?: CallOverrides): Promise<number>;

  transferOwnership(
    newOwner: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  userPosition(
    arg0: string,
    overrides?: CallOverrides
  ): Promise<[BigNumber, boolean] & { value: BigNumber; claimed: boolean }>;

  userPositonStable(
    arg0: string,
    arg1: string,
    overrides?: CallOverrides
  ): Promise<BigNumber>;

  withdrawERC20Token(
    _token: string,
    _account: string,
    _amount: BigNumberish,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  withdrawProceeds(
    to: string,
    overrides?: Overrides & { from?: string | Promise<string> }
  ): Promise<ContractTransaction>;

  withdrawn(overrides?: CallOverrides): Promise<boolean>;

  callStatic: {
    _allowClaim(overrides?: CallOverrides): Promise<void>;

    acceptedCoin(
      arg0: BigNumberish,
      overrides?: CallOverrides
    ): Promise<string>;

    acceptedCoinBalance(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    acceptedCoinExist(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<boolean>;

    allowClaim(overrides?: CallOverrides): Promise<boolean>;

    bulkBuyOTPreset(
      _tokens: string[],
      _accounts: string[],
      _amounts: BigNumberish[],
      overrides?: CallOverrides
    ): Promise<void>;

    buyOT(
      _address: string,
      _amount: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    claimOT(overrides?: CallOverrides): Promise<void>;

    getAccountInfo(
      _account: string,
      overrides?: CallOverrides
    ): Promise<
      [
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        string[],
        BigNumber[],
        BigNumber[],
        number[]
      ] & {
        OTAddress: string;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
        boughtOTAmount: BigNumber;
        tokens: string[];
        contributedAmount: BigNumber[];
        globalContributedAmount: BigNumber[];
        tokensDecimals: number[];
      }
    >;

    owner(overrides?: CallOverrides): Promise<string>;

    renounceOwnership(overrides?: CallOverrides): Promise<void>;

    saleInfo(
      overrides?: CallOverrides
    ): Promise<
      [
        string,
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber,
        BigNumber
      ] & {
        OT: string;
        approver: string;
        startAt: BigNumber;
        endAt: BigNumber;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
      }
    >;

    setTokenDecimals(
      _token: string,
      _decimals: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    tokenDecimals(arg0: string, overrides?: CallOverrides): Promise<number>;

    transferOwnership(
      newOwner: string,
      overrides?: CallOverrides
    ): Promise<void>;

    userPosition(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<[BigNumber, boolean] & { value: BigNumber; claimed: boolean }>;

    userPositonStable(
      arg0: string,
      arg1: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    withdrawERC20Token(
      _token: string,
      _account: string,
      _amount: BigNumberish,
      overrides?: CallOverrides
    ): Promise<void>;

    withdrawProceeds(to: string, overrides?: CallOverrides): Promise<void>;

    withdrawn(overrides?: CallOverrides): Promise<boolean>;
  };

  filters: {
    "BuyOT(address,address,uint256,uint256,uint256,uint256,uint256)"(
      account?: null,
      token?: null,
      tokenAmount?: null,
      otSupply?: null,
      floorValue?: null,
      capMKTValue?: null,
      totalReceived?: null
    ): TypedEventFilter<
      [string, string, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber],
      {
        account: string;
        token: string;
        tokenAmount: BigNumber;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
      }
    >;

    BuyOT(
      account?: null,
      token?: null,
      tokenAmount?: null,
      otSupply?: null,
      floorValue?: null,
      capMKTValue?: null,
      totalReceived?: null
    ): TypedEventFilter<
      [string, string, BigNumber, BigNumber, BigNumber, BigNumber, BigNumber],
      {
        account: string;
        token: string;
        tokenAmount: BigNumber;
        otSupply: BigNumber;
        floorValue: BigNumber;
        capMKTValue: BigNumber;
        totalReceived: BigNumber;
      }
    >;

    "OwnershipTransferred(address,address)"(
      previousOwner?: string | null,
      newOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { previousOwner: string; newOwner: string }
    >;

    OwnershipTransferred(
      previousOwner?: string | null,
      newOwner?: string | null
    ): TypedEventFilter<
      [string, string],
      { previousOwner: string; newOwner: string }
    >;
  };

  estimateGas: {
    _allowClaim(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    acceptedCoin(
      arg0: BigNumberish,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    acceptedCoinBalance(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    acceptedCoinExist(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    allowClaim(overrides?: CallOverrides): Promise<BigNumber>;

    bulkBuyOTPreset(
      _tokens: string[],
      _accounts: string[],
      _amounts: BigNumberish[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    buyOT(
      _address: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    claimOT(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    getAccountInfo(
      _account: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    owner(overrides?: CallOverrides): Promise<BigNumber>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    saleInfo(overrides?: CallOverrides): Promise<BigNumber>;

    setTokenDecimals(
      _token: string,
      _decimals: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    tokenDecimals(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    userPosition(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;

    userPositonStable(
      arg0: string,
      arg1: string,
      overrides?: CallOverrides
    ): Promise<BigNumber>;

    withdrawERC20Token(
      _token: string,
      _account: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    withdrawProceeds(
      to: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<BigNumber>;

    withdrawn(overrides?: CallOverrides): Promise<BigNumber>;
  };

  populateTransaction: {
    _allowClaim(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    acceptedCoin(
      arg0: BigNumberish,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    acceptedCoinBalance(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    acceptedCoinExist(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    allowClaim(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    bulkBuyOTPreset(
      _tokens: string[],
      _accounts: string[],
      _amounts: BigNumberish[],
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    buyOT(
      _address: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    claimOT(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    getAccountInfo(
      _account: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    renounceOwnership(
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    saleInfo(overrides?: CallOverrides): Promise<PopulatedTransaction>;

    setTokenDecimals(
      _token: string,
      _decimals: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    tokenDecimals(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    transferOwnership(
      newOwner: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    userPosition(
      arg0: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    userPositonStable(
      arg0: string,
      arg1: string,
      overrides?: CallOverrides
    ): Promise<PopulatedTransaction>;

    withdrawERC20Token(
      _token: string,
      _account: string,
      _amount: BigNumberish,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    withdrawProceeds(
      to: string,
      overrides?: Overrides & { from?: string | Promise<string> }
    ): Promise<PopulatedTransaction>;

    withdrawn(overrides?: CallOverrides): Promise<PopulatedTransaction>;
  };
}
