Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

fix(trade): fix sortedInsert bug #14

Merged
merged 1 commit into from
Jul 27, 2022
Merged

Conversation

xiang-xx
Copy link
Contributor

[fix]

  • sortedInsert function bug

@xiang-xx
Copy link
Contributor Author

Official js sdk update items inplace, and return value is not used.

In this if branch, js sdk dident update items, so the go sdk should return items directly.

@daoleno daoleno merged commit a5931fe into daoleno:master Jul 27, 2022
ghost referenced this pull request in KyberNetwork/uniswapv3-sdk Dec 28, 2022
* Support EncodeRouteToPath

* Fix type error in selfpermit arguments, add test for selfpermit.

* Fix the tick index mismatch in GetTick(daoleno#4)

* Support SwapQuoter

* Add custom input to MinimumAmountIn/Out

* Upgrade sdk-core. Fix broken ether usage.

* [WIP] SwapRouter

* Applied core changes regarding currency abstraction (#8)

* Applied core changes regarding currency abstraction

* Updated core lib

* add example code (#10)

* upgrade go mod

* Broken link in samples (#13)

* Fixed broken link in samples

* fix(trade): fix sortedInsert bug (#14)

* test(swaprouter): SingleTradeInput & MultipleTradeInput unit test

* test(swaprouter): trade with multiple routes unit test

* feat(staker): uniswap v3 staker feature

* optimize tick math (#19)

* change module and add gitignore

* Revert "refactor: avoid using panic (it crashes the API) (#5)"

This reverts commit 47808c2.

* Revert "fix: handle case when a pool is added liquidity in full range (#4)"

This reverts commit 66e8ef2.

* Revert "refactor: Improve searching for next tick (#3)"

This reverts commit 54669aa.

* Revert "refactor: Change package organization"

This reverts commit 905a578.

* Revert "refactor: Remove Unused Code"

This reverts commit 3190335.

* Revert "refactor: Rename Package"

This reverts commit c249ea6.

* Revert "fix: GetTick Function"

This reverts commit f363610.

Co-authored-by: daoleno <[email protected]>
Co-authored-by: Vaulin Alexandr <[email protected]>
Co-authored-by: 李亚夫 <[email protected]>
Co-authored-by: Archil <[email protected]>
Co-authored-by: xiang <[email protected]>
Co-authored-by: Nathaniel Blakely <[email protected]>
Co-authored-by: DoanNamTruc <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants