Type alias PerpMarketAccount
Perp
Market
Account
: { amm
: AMM; contractTier
: ContractTier; contractType
: ContractType; expiryPrice
: BN; expiryTs
: BN; feeAdjustment
: number; fuelBoostMaker
: number; fuelBoostPosition
: number; fuelBoostTaker
: number; ifLiquidationFee
: number; imfFactor
: number; insuranceClaim
: { lastRevenueWithdrawTs
: BN; maxRevenueWithdrawPerPeriod
: BN; quoteMaxInsurance
: BN; quoteSettledInsurance
: BN; revenueWithdrawSinceLastSettle
: BN; }; liquidatorFee
: number; marginRatioInitial
: number; marginRatioMaintenance
: number; marketIndex
: number; name
: number[]; nextCurveRecordId
: BN; nextFillRecordId
: BN; nextFundingRateRecordId
: BN; numberOfUsers
: number; numberOfUsersWithBase
: number; pausedOperations
: number; pnlPool
: PoolBalance; pubkey
: PublicKey; quoteSpotMarketIndex
: number; status
: MarketStatus; unrealizedPnlImfFactor
: number; unrealizedPnlInitialAssetWeight
: number; unrealizedPnlMaintenanceAssetWeight
: number; unrealizedPnlMaxImbalance
: BN; }
Type declaration
-
-
-
-
expiryPrice: BN
-
expiryTs: BN
-
feeAdjustment: number
-
fuelBoostMaker: number
-
fuelBoostPosition: number
-
fuelBoostTaker: number
-
ifLiquidationFee: number
-
imfFactor: number
-
insuranceClaim: {
lastRevenueWithdrawTs: BN;
maxRevenueWithdrawPerPeriod: BN;
quoteMaxInsurance: BN;
quoteSettledInsurance: BN;
revenueWithdrawSinceLastSettle: BN;
}
-
lastRevenueWithdrawTs: BN
-
maxRevenueWithdrawPerPeriod: BN
-
quoteMaxInsurance: BN
-
quoteSettledInsurance: BN
-
revenueWithdrawSinceLastSettle: BN
-
liquidatorFee: number
-
marginRatioInitial: number
-
marginRatioMaintenance: number
-
marketIndex: number
-
name: number[]
-
nextCurveRecordId: BN
-
nextFillRecordId: BN
-
nextFundingRateRecordId: BN
-
numberOfUsers: number
-
numberOfUsersWithBase: number
-
pausedOperations: number
-
-
-
quoteSpotMarketIndex: number
-
-
unrealizedPnlImfFactor: number
-
unrealizedPnlInitialAssetWeight: number
-
unrealizedPnlMaintenanceAssetWeight: number
-
unrealizedPnlMaxImbalance: BN