Type alias AMM

AMM: {
    ammJitIntensity: number;
    askBaseAssetReserve: BN;
    askQuoteAssetReserve: BN;
    baseAssetAmountLong: BN;
    baseAssetAmountPerLp: BN;
    baseAssetAmountShort: BN;
    baseAssetAmountWithAmm: BN;
    baseAssetAmountWithUnsettledLp: BN;
    baseAssetReserve: BN;
    baseSpread: number;
    bidBaseAssetReserve: BN;
    bidQuoteAssetReserve: BN;
    concentrationCoef: BN;
    cumulativeFundingRate: BN;
    cumulativeFundingRateLong: BN;
    cumulativeFundingRateShort: BN;
    curveUpdateIntensity: number;
    feePool: PoolBalance;
    fundingPeriod: BN;
    historicalOracleData: HistoricalOracleData;
    last24HAvgFundingRate: BN;
    lastAskPriceTwap: BN;
    lastBidPriceTwap: BN;
    lastFundingRate: BN;
    lastFundingRateLong: BN;
    lastFundingRateShort: BN;
    lastFundingRateTs: BN;
    lastMarkPriceTwap: BN;
    lastMarkPriceTwap5Min: BN;
    lastMarkPriceTwapTs: BN;
    lastOracleConfPct: BN;
    lastOracleNormalisedPrice: BN;
    lastOracleReservePriceSpreadPct: BN;
    lastOracleValid: boolean;
    lastTradeTs: BN;
    lastUpdateSlot: BN;
    longIntensityCount: number;
    longIntensityVolume: BN;
    longSpread: number;
    markStd: BN;
    maxBaseAssetReserve: BN;
    maxFillReserveFraction: number;
    maxOpenInterest: BN;
    maxPositionSize: BN;
    maxSlippageRatio: number;
    maxSpread: number;
    minBaseAssetReserve: BN;
    minOrderSize: BN;
    netRevenueSinceLastFunding: BN;
    netUnsettledFundingPnl: BN;
    oracle: PublicKey;
    oracleSource: OracleSource;
    oracleStd: BN;
    orderStepSize: BN;
    orderTickSize: BN;
    pegMultiplier: BN;
    perLpBase: number;
    quoteAssetAmount: BN;
    quoteAssetAmountPerLp: BN;
    quoteAssetAmountWithUnsettledLp: BN;
    quoteAssetReserve: BN;
    quoteBreakEvenAmountLong: BN;
    quoteBreakEvenAmountShort: BN;
    quoteEntryAmountLong: BN;
    quoteEntryAmountShort: BN;
    referencePriceOffset: number;
    shortIntensityCount: number;
    shortIntensityVolume: BN;
    shortSpread: number;
    sqrtK: BN;
    targetBaseAssetAmountPerLp: number;
    terminalQuoteAssetReserve: BN;
    totalExchangeFee: BN;
    totalFee: BN;
    totalFeeEarnedPerLp: BN;
    totalFeeMinusDistributions: BN;
    totalFeeWithdrawn: BN;
    totalLiquidationFee: BN;
    totalMmFee: BN;
    totalSocialLoss: BN;
    userLpShares: BN;
    volume24H: BN;
}

Type declaration

  • ammJitIntensity: number
  • askBaseAssetReserve: BN
  • askQuoteAssetReserve: BN
  • baseAssetAmountLong: BN
  • baseAssetAmountPerLp: BN
  • baseAssetAmountShort: BN
  • baseAssetAmountWithAmm: BN
  • baseAssetAmountWithUnsettledLp: BN
  • baseAssetReserve: BN
  • baseSpread: number
  • bidBaseAssetReserve: BN
  • bidQuoteAssetReserve: BN
  • concentrationCoef: BN
  • cumulativeFundingRate: BN
  • cumulativeFundingRateLong: BN
  • cumulativeFundingRateShort: BN
  • curveUpdateIntensity: number
  • feePool: PoolBalance
  • fundingPeriod: BN
  • historicalOracleData: HistoricalOracleData
  • last24HAvgFundingRate: BN
  • lastAskPriceTwap: BN
  • lastBidPriceTwap: BN
  • lastFundingRate: BN
  • lastFundingRateLong: BN
  • lastFundingRateShort: BN
  • lastFundingRateTs: BN
  • lastMarkPriceTwap: BN
  • lastMarkPriceTwap5Min: BN
  • lastMarkPriceTwapTs: BN
  • lastOracleConfPct: BN
  • lastOracleNormalisedPrice: BN
  • lastOracleReservePriceSpreadPct: BN
  • lastOracleValid: boolean
  • lastTradeTs: BN
  • lastUpdateSlot: BN
  • longIntensityCount: number
  • longIntensityVolume: BN
  • longSpread: number
  • markStd: BN
  • maxBaseAssetReserve: BN
  • maxFillReserveFraction: number
  • maxOpenInterest: BN
  • maxPositionSize: BN
  • maxSlippageRatio: number
  • maxSpread: number
  • minBaseAssetReserve: BN
  • minOrderSize: BN
  • netRevenueSinceLastFunding: BN
  • netUnsettledFundingPnl: BN
  • oracle: PublicKey
  • oracleSource: OracleSource
  • oracleStd: BN
  • orderStepSize: BN
  • orderTickSize: BN
  • pegMultiplier: BN
  • perLpBase: number
  • quoteAssetAmount: BN
  • quoteAssetAmountPerLp: BN
  • quoteAssetAmountWithUnsettledLp: BN
  • quoteAssetReserve: BN
  • quoteBreakEvenAmountLong: BN
  • quoteBreakEvenAmountShort: BN
  • quoteEntryAmountLong: BN
  • quoteEntryAmountShort: BN
  • referencePriceOffset: number
  • shortIntensityCount: number
  • shortIntensityVolume: BN
  • shortSpread: number
  • sqrtK: BN
  • targetBaseAssetAmountPerLp: number
  • terminalQuoteAssetReserve: BN
  • totalExchangeFee: BN
  • totalFee: BN
  • totalFeeEarnedPerLp: BN
  • totalFeeMinusDistributions: BN
  • totalFeeWithdrawn: BN
  • totalLiquidationFee: BN
  • totalMmFee: BN
  • totalSocialLoss: BN
  • userLpShares: BN
  • volume24H: BN

Generated using TypeDoc