DEX pricing level in Ethernaut

@PatrickAlphaC, What do you think about my proposed "evil token attack" for the Dex level?

I still like the idea of adding:
require((from == token1 && to == token2) || (from == token2 && to == token1 )
to Dex.swap and having a separate level without that check.

1 Like