Commit Graph

18 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
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
meep d4d1842086
Update yarn docs & bump to 0.8.0 (#80) 2023-01-14 22:03:45 +08:00
meep 6f4be811fc
Update typedocs & env setup for 0.7.2 (#71) 2022-12-21 17:28:10 +07:00
meep 4e72234a76
v0.5.3 (#49)
* v0.5.3
* Update yarn docs for new dev fee swap functions
2022-09-22 00:20:15 -07:00
meep 025fbffdf0
Update typedocs and comments for swap refactor (#37) 2022-07-15 10:10:49 -04:00
meep 5798af2e51
Update comments and re-run yarn docs (#33) 2022-06-29 17:16:01 -04:00
meep 5e800f24fb
Expose toTx function and rerun docs (#6)
- expose helper fn toTx function to help convert ix to transaction-builder
2022-05-12 10:47:00 -07:00
meep 2aabeb2595
Fix TypeDoc reference links (#4) 2022-05-11 09:22:12 -07:00
meep 8ab2e92313
Open Source Package Readiness (#3)
- License change to Apache 2.0
- Typedoc generation & path modification
- Add Typedoc & missing documentation on public methods
- Update package name to "@orca-so/whirlpools-sdk" and "0.1.0"
2022-05-09 11:09:52 -07:00