Documentation
    Preparing search index...
    • Derives the oracle PDA for the given whirlpool under the supplied whirlpool deployment.

      Uses DEFAULT_WHIRLPOOL_DEPLOYMENT when whirlpoolDeployment is omitted.

      Parameters

      • whirlpool: Address
      • programAddress: Address = DEFAULT_WHIRLPOOL_DEPLOYMENT.programId

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