Commit Graph

27 Commits (3191d9e01454fa01415256efeeb9d0d48b52cbd7)

Author SHA1 Message Date
Dan J Miller e546314e3f
Update fee card storybook to utilize latest fee-card api (#9613) 4 years ago
Dan J Miller af018a2d74
Clear all gas slice state on entering and leaving swaps (#9609) 4 years ago
Dan J Miller 0558689636
Compare convert ethBalance to decimal before comparing to fromTokenBalance in useEffect for eth token balance update (#9607) 4 years ago
Erik Marks a0d7aa56aa Loosen isBestQuote PropType 4 years ago
Erik Marks 799df99bd0 Rename some props 4 years ago
Erik Marks b31816d6f7 Make FeeCard component specific to swaps 4 years ago
David Walsh d0152aad51
Use localizations for placeholders in Swap (#9587) 4 years ago
David Walsh 48dd3fe069
AutoFocus the from input on swaps screen (#9581) 4 years ago
Dan J Miller 2563180a88
Data consistency swaps token balance (#9588) 4 years ago
Erik Marks 59212f7a2b
Remove dead gas estimation functions, rename function (#9579) 4 years ago
Dan J Miller dfb722b6ed
Hex prefix newly fetched token balances in build-quote (#9586) 4 years ago
Dan J Miller f3bd717184
Account for approval gas costs in eth received (#9559) 4 years ago
Dan J Miller 0e37904692
Add useFastestButtons options to gas-customization modal and utilize it in swaps. (#9548) 4 years ago
Dan J Miller a9d156e611
Fix and simplify account switching in Swaps (#9549) 4 years ago
Dan J Miller dc5edb5431
Fix calculation and display of eth received amounts in swaps (#9546) 4 years ago
Dan J Miller 436b01387c
Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 4 years ago
Mark Stacey d8818a47c4
Add margins between quote list columns (#9528) 4 years ago
Dan J Miller 0ebc465221
Fix swap prop type errors (#9532) 4 years ago
Dan J Miller 89a0f75942
Corrects the copy in the amount receiving tooltip of the swaps sort-list (#9533) 4 years ago
Dan J Miller 549140f6f5
Remove max mode for eth feature from swaps (#9531) 4 years ago
David Walsh 25e5ac24b2
Prevent swaps value input placeholder from jumping when focused (#9520) 4 years ago
Dan J Miller a939853989
Ensure all of a token is swapped when clicking max in swaps (#9507) 4 years ago
Dan J Miller 7a28783924
Prevent user from submitting swap if they do not have enough for the max gas fee (#9500) 4 years ago
Brad Decker 1ba4061f46
format quotes consistently on main-view and list-view (#9495) 4 years ago
Dan J Miller 534ac25a93
Ensure gas costs are accounted for when calculating the amount of eth received in a swap (#9494) 4 years ago
Dan J Miller 30d13422b5
Add MetaMask Swaps (#9482) 4 years ago