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

Incorrect tagging sandwitch as arbitrage #285

Open
hanli-msft opened this issue Mar 2, 2022 · 0 comments
Open

Incorrect tagging sandwitch as arbitrage #285

hanli-msft opened this issue Mar 2, 2022 · 0 comments

Comments

@hanli-msft
Copy link

One situation is the bot need to "borrow" some tokens from other pools to push the price in target pool

Thinking about a front run, targeting token T @ Uni V3 pool

  1. BOT sent WETH to Uni V2 pool and get enough token T
  2. BOT send these token T to Uni V3 pool, push T price higher and get part WETH back

This entirely match the pattern in _get_arbitrages_from_swaps, here is a sample sandwitch(frontrun, backrun)

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