Commit Graph

122 Commits (482cbfe9296476952e2502d04007fba336e9a3a5)

Author SHA1 Message Date
Daniel 135f0bb4f0
Add validation for the `fee` property from the `/trades` API response (#10836) 4 years ago
MetaMask Bot 14b5c389ed
Version v9.3.0 RC (#10739) 4 years ago
Brad Decker 1e44c34e1e
upgrade eslint deps (#10789) 4 years ago
Dan J Miller f7a328a9d9
Ensure that priceSlippage fiat amounts are always shown in view-quote.js (#10762) 4 years ago
Dan J Miller be0b8a11d8
Ensure that the approval fee in the swaps custom gas modal is in network specific currency (#10763) 4 years ago
Dan J Miller 76f4e93eb2
Ensure that the correct default currency symbols are used for fees on the view quote screen (#10753) 4 years ago
Dan J Miller d8fd4b8271
Use correct block explorer name and link in swaps when on custom network (#10743) 4 years ago
Dan J Miller cc19d250e8
Ensure swaps gas prices are fetched from the correct chain specific endpoint (#10744) 4 years ago
Dan J Miller 480512d14f
Swaps support for local testnet (#10658) 4 years ago
Brad Decker 5a233e4634
colocate tests in flat structure (#10655) 4 years ago
Dan J Miller 60514c12b0
Fix: ETH 'token' now only appears once in the swaps to and from dropdowns. (#10650) 4 years ago
David Walsh 3e6b2e7f0a
Ensure swaps detail height doesn't create jump in vertical height (#10644) 4 years ago
Dan J Miller 153bbc6053
Move swaps constants to the shared constants directory (#10614) 4 years ago
Brad Decker 38fe75b7d9
prefer chainId when building block explorer urls (#10587) 4 years ago
Dan J Miller 21868e08e6
Move the METASWAP_API_HOST constant to the swaps constant file (#10612) 4 years ago
Dan J Miller b441dcec6a
Convert useSwapsEthToken hook to a selector (#10568) 4 years ago
Dan J Miller 325215fb5f
Remove dead code related to the selectedFromToken variable in swaps/index.js (#10570) 4 years ago
Dan J Miller 46ecf70741
Update swaps failure copy to help users get support (#10525) 4 years ago
David Walsh 8013e85c20
Accommodate for 0 sources verifying swap token (#10521) 4 years ago
Dan J Miller e7a0ca134b
Replace use of 'destinationAmountInEth' property with 'destinationAmountInETH' (#10500) 4 years ago
Dan J Miller 75a81c605a
Eliminate artificial delay in swaps loading screen after request loading is complete (#10496) 4 years ago
David Walsh 3d579dfcef
Remove react-select and SimpleDropdown, use Dropdown (#10468) 4 years ago
Dan J Miller b056867c33
Correct use of useTokenTracker in viewQuote to ensure token data is not disrupted by faulty token in user account (#10456) 4 years ago
David Walsh 531c35bc96
Ensure users reacknowledge price slippage risks when it changes (#10376) 4 years ago
Dan J Miller 27d6c6e0df
Make action elements in actionable message component accessible (#10386) 4 years ago
Dan J Miller 33ab480fbe
Swaps token sources/verification messaging update (#10346) 4 years ago
Erik Marks 76a2a9bb8b
@metamask/eslint config@5.0.0 (#10358) 4 years ago
Dan J Miller e82ab94699
Change copy of submit button on swaps screen (#10373) 4 years ago
David Walsh eeca0af5b9
Implement price impact acknowledgement button (#10347) 4 years ago
Erik Marks 7077ee68dc
Add NETWORK_TYPE_RPC constant (#10203) 4 years ago
Erik Marks 90289ec22a
Further improve organization of constants (#10200) 4 years ago
Dan J Miller 36ef9a228a
Disable the swaps submit button after the first time it is clicked (#10162) 4 years ago
Dan J Miller 5b6e524c90
Remove default to 18 decimals in quotesToRenderableData method (#10212) 4 years ago
Dan J Miller 3539885ec2 Disable swaps based on chainId, instead of network id (#10155) 4 years ago
Dan J Miller 9a1e83cf4b
Disable swaps based on chainId, instead of network id (#10155) 4 years ago
David Walsh d4d3d6a52a
Remove unnecessary swaps footer space when in dropdown mode (#10100) 4 years ago
David Walsh c4aa0b3c9a Fetch swap quote refresh time from API (#10069) 4 years ago
David Walsh b801ccdb35 Fix 9874 - Improve gas maximum estimation (#10043) 4 years ago
David Walsh 88525ec392
Fetch swap quote refresh time from API (#10069) 4 years ago
David Walsh 1b19f5e7ad
Fix 9874 - Improve gas maximum estimation (#10043) 4 years ago
David Walsh 9a1548368f
Use Boolean for filters (#10066) 4 years ago
David Walsh b16737454e
Prevent metaMaskFee prop error in FeeCard (#10047) 4 years ago
David Walsh 55d3802b46 Prevent props error in swaps gas modal (#10001) 4 years ago
David Walsh b9cb0014ab Fix 9988 - Don't allow more than 15% slippage (#9991) 4 years ago
Dan J Miller da5e5cd8b6
Reapply view quote screen designs (#9905) 4 years ago
David Walsh 33b15b5c6f
Prevent props error in swaps gas modal (#10001) 4 years ago
David Walsh 56f80ae9a9
Fix 9988 - Don't allow more than 15% slippage (#9991) 4 years ago
David Walsh 42fd8b0ff0
Use strict equality in unit tests (#9966) 4 years ago
Dan J Miller 97d268c8ee
Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 4 years ago
David Walsh 673371d013
Fix #9872 - Show price difference warning on swaps price quote (#9899) 4 years ago