Documentation
    Preparing search index...

    Function getBundledPositionAddress

    • Derives the bundled position PDA for the given position bundle address and bundle index under the supplied whirlpool deployment.

      Uses DEFAULT_WHIRLPOOL_DEPLOYMENT when whirlpoolDeployment is omitted.

      Parameters

      • positionBundleAddress: Address
      • bundleIndex: number
      • programAddress: Address = DEFAULT_WHIRLPOOL_DEPLOYMENT.programId

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