Type alias PerpMarketExtendedInfo

PerpMarketExtendedInfo: {
    availableInsurance: BN;
    contractTier: ContractTier;
    marginMaintenance: number;
    marketIndex: number;
    minOrderSize: BN;
    pnlPoolValue: BN;
}

Type declaration

  • availableInsurance: BN

    Max insurance available, measured in quote asset, using quote preicision

  • contractTier: ContractTier
  • marginMaintenance: number

    Margin maintenance percentage, using margin precision (1e4)

  • marketIndex: number
  • minOrderSize: BN

    Min order size measured in base asset, using base precision

  • pnlPoolValue: BN

    Pnl pool available, this is measured in quote asset, using quote precision. Should be generated by using getTokenAmount and passing in the scaled balance of the base asset + quote spot account

Generated using TypeDoc