whirlpools-client/sdk/tests
yugure-orca 8fc92ea1af
Change data type for liquidity and sqrtPrice to BN (#40)
* Changing variable type to BN to handle liquidity
- Change type of variables handling liquidity from u64 to BN
- Fix: removing "async" from describe. must be defined synchronously.
- Fix: using BN to calculate the max value of u64 (test-constants.ts)
- Fix: adding "await" to wait transaction completion(swap-test-utils.ts)

* Changing variable type to BN to handle sqrtPrice
- Change type of variables handling sqrtPrice from u64 to BN
- Refactor: changing argument name of getTokenAmountsFromLiquidity
  to clarify required price is sqrtPrice

Co-authored-by: yugure <98769788+everlastingsong@users.noreply.github.com>
2022-08-01 20:49:52 +09:00
..
integration Change data type for liquidity and sqrtPrice to BN (#40) 2022-08-01 20:49:52 +09:00
sdk/whirlpools Change data type for liquidity and sqrtPrice to BN (#40) 2022-08-01 20:49:52 +09:00
utils Change data type for liquidity and sqrtPrice to BN (#40) 2022-08-01 20:49:52 +09:00
tsconfig.json Open Source commit for Orca Whirlpools (#1) 2022-05-02 20:32:00 -07:00