Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search entire UniswapV3 fee range for longtail swaps #5878

Closed
0xApotheosis opened this issue Dec 17, 2023 · 0 comments · Fixed by #5870
Closed

Search entire UniswapV3 fee range for longtail swaps #5878

0xApotheosis opened this issue Dec 17, 2023 · 0 comments · Fixed by #5870
Assignees

Comments

@0xApotheosis
Copy link
Member

0xApotheosis commented Dec 17, 2023

We currently have the 3000 fee range as the hardcoded route for swaps from longtail assets.

This means that:

  1. We are not always getting the best rate if there are pools with lower fee ranges for the same assets pair with sufficient liquidity
  2. We are missing asset pairs that only have pools outside the 3000 fee range.

Add logic to search all of the fee ranges and select the best one for the trade.

@0xApotheosis 0xApotheosis self-assigned this Dec 17, 2023
@0xApotheosis 0xApotheosis converted this from a draft issue Dec 17, 2023
@0xApotheosis 0xApotheosis changed the title Select best fee range on UniswapV3 longtail Search entire UniswapV3 fee range for longtail swaps Dec 17, 2023
@0xean 0xean moved this from In progress to In review in ShapeShift Dashboard Dec 18, 2023
@github-project-automation github-project-automation bot moved this from In review to Done in ShapeShift Dashboard Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant