Commit Graph

9 Commits

Author SHA1 Message Date
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
meep 1121065324
Rename PoolGraph API to use graph terminology (#94) 2023-03-22 16:21:03 +08:00
meep 3fe9cad66e
Add PoolGraph API and AdjacencyListGraph implementation (#90)
- Add PoolGraph API to allow trade route path finding with max hop of 2
- Add tests to verify behavior
- Update docs for PoolGraph API
- bump common-sdk to v0.1.12
2023-03-21 11:28:40 +08:00