Dan J Miller
a9d156e611
Fix and simplify account switching in Swaps ( #9549 )
...
* Ensure rendered swap from token balance updates when token balance changes
* Disable account switching on all swaps routes other than build quote
2020-10-12 14:21:01 -02:30
Dan J Miller
436b01387c
Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps ( #9537 )
...
* Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps
* Remove rawEthTokens param from useTokensToSearch calls
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
2020-10-09 12:17:56 -07:00
Dan J Miller
549140f6f5
Remove max mode for eth feature from swaps ( #9531 )
...
* Remove max mode for eth feature from swaps
* Fix unit tests after removing maxMode from swaps
2020-10-09 12:26:23 -02:30
Dan J Miller
a939853989
Ensure all of a token is swapped when clicking max in swaps ( #9507 )
2020-10-07 18:38:34 -07:00
Dan J Miller
30d13422b5
Add MetaMask Swaps ( #9482 )
2020-10-06 15:58:38 -02:30