Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wjthieme committed Aug 12, 2024
1 parent 10ce500 commit 5e2ecbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy-sdk/whirlpool/src/whirlpool-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface WhirlpoolClient {
* @param whirlpoolConfig the address of the whirlpool config
* @param tokenMintA the address of the token A
* @param tokenMintB the address of the token B
* @param initialPrice the initial price of the pool (as token A per token B)
* @param initialPrice the initial price of the pool (as x token B per 1 token A)
* @param funder the account to debit SOL from to fund the creation of the account(s)
* @return `poolKey`: The public key of the newly created whirlpool account. `tx`: The transaction containing instructions for the on-chain operations.
* @throws error when the tokens are not in the canonical byte-based ordering. To resolve this, invert the token order and the initialTick (see `TickUtil.invertTick()`, `PriceMath.invertSqrtPriceX64()`, or `PriceMath.invertPrice()`).
Expand Down

0 comments on commit 5e2ecbd

Please sign in to comment.