Documentation
    Preparing search index...
    • Derives the whirlpool PDA for the given mint pair and fee tier index under the supplied whirlpool deployment.

      Uses DEFAULT_WHIRLPOOL_DEPLOYMENT when whirlpoolDeployment is omitted.

      Parameters

      • tokenMintA: Address
      • tokenMintB: Address
      • feeTierIndex: number
      • whirlpoolDeployment: WhirlpoolDeployment = DEFAULT_WHIRLPOOL_DEPLOYMENT

      Returns Promise<readonly [Address<string>, ProgramDerivedAddressBump]>