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

bug: SQS might compute different route when inverting token in and out #2

Open
p0mvn opened this issue Jul 5, 2024 · 0 comments
Open

Comments

@p0mvn
Copy link
Member

p0mvn commented Jul 5, 2024

In one arb case, we end up re-getting the route with tokens inverted.

However, the way that SQS works is that it may give a completely different route for inverted tokens.

As a result, the arb price might become different and even unprofitable.

Proposal

Instead of re-getting the route here, we should invert manually via a loop the original one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant