Disable swap button if the swap would provide zero `to` tokens
armaniferrante opened this issue · 0 comments
armaniferrante commented
It's possible to get a 0x66 error, which means that the swap executed gave the user zero to
tokens.
We should estimate the amount of to
tokens one would receive int he UI and disable the button if this error occurs so that the user doesn't get confused..