Commit Graph

8 Commits

Author SHA1 Message Date
yugure-orca 6f7277c2f7
Fix PositionUtil.getPositionStatus bug (#133)
* fix PositionUtil.getPositionStatus bug

* bump to 0.12.2

* update docs
2024-02-13 00:13:17 +09:00
Fuzzy Yeti 3a15880bd6
bump sdk version (#123) 2023-11-15 00:46:31 +09:00
yugure-orca 728586cc70
Add 256 to ORCA_SUPPORTED_TICK_SPACINGS (#118)
* add 256 ts

* update typedoc only
2023-11-08 13:37:50 +09:00
yugure-orca 71ed7d5432
Remove lodash.combinations (#114)
* remove lodash.combinations

* fix test cases for PR104(increase fee rate limit)

https://github.com/orca-so/whirlpools/pull/104

* add newly supported tickspacing

* bump v0.11.5

* build docs only
2023-09-21 01:25:20 +09:00
meep 7f7ee90b25
Add getAllWhirlpoolAccounts util method and fetcher.populatePools (#111)
- Add back the old listPoolsWithParams method that was missed in the previous refactor
- Add populatePools method to the fetcher to allow users to populate the cache with getAllWhirlpoolAccounts
2023-07-27 15:28:06 +08:00
yugure-orca f54632fce8
(v0.11.3) Add account resolver options (#110)
* add AccountResolverOpts

* fix invalid import statement

* use WrappedSolAccountCreateMethod from common-sdk

* update getAssociatedTokenAddressSync

* update resolveOrCreateATA(s)

* update createWrappedNativeAccountInstruction

* update createSendTokensToWalletInstruction

* bump version

* rename opts to options

* add maxTransactionSize on RouteSelectOptions

* bugfix: findBestRoute / expand selectionOpts

* address review comment

* bump to v0.11.3

* fix common-sdk version

* refactor: remove commas

* update docs
2023-07-24 13:34:30 +09:00
meep 0fdf8e5dc6
Replace AccountFetcher with WhirlpoolAccountFetcher (#107)
- Replace AccountFetcher with WhirlpoolAccountFetcher. 
- Modify fetcher references to an interface
- Update PriceModuleUtils to only take in fetcher instead of ctx
2023-06-27 13:39:37 +08:00
meep 04abca9ef0
Implement Smart Router API (#96) (#101)
- swap on routes with up to 2-hops
- swap on routes that is split into multiple smaller routes
- route selection
- Support VersionedTransaction & lookup tables
2023-05-13 11:15:27 +10:00