Type Alias WhirlpoolData

WhirlpoolData: {
    feeGrowthGlobalA: BN;
    feeGrowthGlobalB: BN;
    feeRate: number;
    liquidity: BN;
    protocolFeeOwedA: BN;
    protocolFeeOwedB: BN;
    protocolFeeRate: number;
    rewardInfos: WhirlpoolRewardInfoData[];
    rewardLastUpdatedTimestamp: BN;
    sqrtPrice: BN;
    tickCurrentIndex: number;
    tickSpacing: number;
    tokenMintA: PublicKey;
    tokenMintB: PublicKey;
    tokenVaultA: PublicKey;
    tokenVaultB: PublicKey;
    whirlpoolBump: number[];
    whirlpoolsConfig: PublicKey;
}

Type declaration

  • feeGrowthGlobalA: BN
  • feeGrowthGlobalB: BN
  • feeRate: number
  • liquidity: BN
  • protocolFeeOwedA: BN
  • protocolFeeOwedB: BN
  • protocolFeeRate: number
  • rewardInfos: WhirlpoolRewardInfoData[]
  • rewardLastUpdatedTimestamp: BN
  • sqrtPrice: BN
  • tickCurrentIndex: number
  • tickSpacing: number
  • tokenMintA: PublicKey
  • tokenMintB: PublicKey
  • tokenVaultA: PublicKey
  • tokenVaultB: PublicKey
  • whirlpoolBump: number[]
  • whirlpoolsConfig: PublicKey