Documentation
    Preparing search index...
    • Derives the lock config PDA for the given position under the supplied whirlpool deployment.

      Uses DEFAULT_WHIRLPOOL_DEPLOYMENT when whirlpoolDeployment is omitted.

      Parameters

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

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