Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant