import {ESide} from "@utils/contractRules";

export interface AdjustingMarginModalProps {
  /**
   * show
   * */
  open: boolean;
  /**
   * onConfirm
   * */
  onConfirm: (v: any) => void;
  /**
   * maxIncreaseMargin
   * */
  maxIncreaseMargin: string | number;
  /**
   * posMargin
   * */
  posMargin: string | number;
  /**
   * positionAmt
   * */
  positionAmt: string | number;
  /**
   * averagePosPrice
   * */
  averagePosPrice: string | number;
  /**
   * marginRatio
   * */
  marginRatio: string | number;
  /**
   * amtRate
   * */
  amtRate: string | number;
  /**
   * takerRate
   * */
  takerRate: string | number;
  side: ESide;
  liquidationPriceScale: string | number;
}
