popfendi / suckerpunch

MIT License
1 stars 0 forks source link

any reason why it's for native token only? #1

Open AndreiD opened 1 month ago

AndreiD commented 1 month ago

because the same logic seems to work for 2 tokens too, not just token-eth pair

popfendi commented 1 month ago

Been a while since I worked on this, but if I remember correctly there needed to be a way to determine if the swap was a buy or a sell. Native in = buy. Native out = sell.