Commit Graph

42 Commits (07c03e362e1d87a614b53898deb8c8147d7d0a85)

Author SHA1 Message Date
Dan J Miller 07c03e362e
Get swaps fee from api (#9677) 4 years ago
Mark Stacey 5789bd86c0
Fix sorting Quote Source column of quote sort list (#9658) 4 years ago
Mark Stacey 7f1bbbc9a3
Fix `message` PropType of `ActionableMessage` (#9653) 4 years ago
Mark Stacey d43738448c
Fix React warning about missing key in `AwaitingSwap` (#9655) 4 years ago
Mark Stacey f4838194d6
Remove unused `customGasLimit` parameter (#9656) 4 years ago
Mark Stacey 97450cd8fd
Remove non-existent `metaMaskFee` property (#9657) 4 years ago
Erik Marks edefdc4ede
Fix estimated network fee line split (#9648) 4 years ago
Mark Stacey 4cab30eae1
Remove duplicate percent sign from MetaMask fee (#9647) 4 years ago
David Walsh a6fd1266aa Fix 9638 - Prevent excessive overflow from swap dropdowns 4 years ago
Dan J Miller 43d97ebe4f
getStatusKey to return an empty string when passed a falsy value (#9640) 4 years ago
Dan J Miller c8526bc687
Update view-quote designs to better represent the metamask fee (#9633) 4 years ago
Dan J Miller b1adc0d1e8
Fix use transaction time remaining (#9630) 4 years ago
Dan J Miller 7925a767b8
Add a minimumGasLimit to the original gas customization modal (#9623) 4 years ago
Dan J Miller 397e3a2c7f
Update swaps network fee tooltip (#9614) 4 years ago
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