Dan J Miller
153bbc6053
Move swaps constants to the shared constants directory ( #10614 )
4 years ago
Brad Decker
3d4dfc74a8
prefer chainId over networkId in most cases ( #10594 )
4 years ago
Shane
b21cc5660f
fix: speedup cancellation ( #10579 )
...
fixes #7305
4 years ago
David Walsh
bcd04cdd93
Hide zero balance tokens at useTokenTracker layer ( #10630 )
4 years ago
David Walsh
90bfaf6ac2
Hide zero balance tokens at useTokenTracker layer ( #10630 )
4 years ago
ryanml
7aaf1c4eb3
Removing double click bug from delete custom network modal ( #10628 )
...
Fixes MetaMask/metamask-extension#10626
4 years ago
Brad Decker
2ed5bafa11
remove transactionCategory in favor of more types ( #10615 )
...
* remove transactionCategory in favor of more types
* remove reference to STANDARD in stubs
4 years ago
Dan J Miller
9339278d3c
Replace logic for eth swap token in fetchQuotesAndSetQuoteState with getSwapsEthToken call ( #10624 )
4 years ago
Mark Stacey
669ab187a1
add trezor HD path for ledger wallets ( #10616 )
...
Co-authored-by: Barry Gitarts <bgitarts@gmail.com>
4 years ago
Brad Decker
aa37e30c08
use etherscan-link for account-link ( #10590 )
4 years ago
Brad Decker
38fe75b7d9
prefer chainId when building block explorer urls ( #10587 )
4 years ago
David Walsh
92680cf56f
Add support for multiple Ledger & Trezor hardware accounts ( #10505 )
4 years ago
David Walsh
444d8dd51a
Fix #10081 - Use fetchWithCache to retrieve and store basic gas estimates ( #10384 )
4 years ago
David Walsh
aeffe176b3
Hide zero balance tokens with preference ( #10486 )
4 years ago
ryanml
083a795a30
Converting ListItem container from button to div ( #10611 )
...
Fixes MetaMask/metamask-extension#10610
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
c86ceacfd9
Standard reference to ETH_SWAPS_TOKEN_ADDRESS via ETH_SWAPS_TOKEN_OBJECT.address ( #10613 )
4 years ago
Niranjana Binoy
85181aaff4
adding condition check to verify token data is loaded before rendering approve screen ( #10606 )
4 years ago
ryanml
d68466f0b8
Fixing activity title text truncation ( #10601 )
...
Fixes MetaMask/metamask-extension#9997
4 years ago
ryanml
45c076e232
Adding warnings for excessive custom gas input ( #10582 )
...
Fixes MetaMask/metamask-extension#9811
4 years ago
Brad Decker
3840a58e82
use metamask/etherscan-link ( #10580 )
4 years ago
Dan J Miller
b441dcec6a
Convert useSwapsEthToken hook to a selector ( #10568 )
...
* Convert useSwapsEthToken hook to a selector
* Code cleanup
4 years ago
Shane
d034adfb24
Fix/handle safe low undefined ( #10561 )
...
* fix: handle safeLow undefined
fixes #10558
* fix: add tests for isCustomGasPriceSafe selector
4 years ago
Brad Decker
615f87e12e
handle undefined network ( #10560 )
4 years ago
ryanml
a8b1653566
Updating references to MetaMask support ( #10563 )
...
* Updating references to support email
Fixes MetaMask/metamask-extension#10188
* Removing UniqueImage component
* Removing unused UniqueImage locales
4 years ago
Dan J Miller
325215fb5f
Remove dead code related to the selectedFromToken variable in swaps/index.js ( #10570 )
4 years ago
ryanml
3c6cdef074
Adding a warning when sending a token to its own contract address ( #10546 )
...
Fixes MetaMask/metamask-extension#9437
4 years ago
Brad Decker
eef92d0d5a
handle undefined network ( #10560 )
4 years ago
Brad Decker
e42658b590
cache balances by chain id ( #10545 )
4 years ago
Shane
d44c4d3747
Fix/handle safe low undefined ( #10561 )
...
* fix: handle safeLow undefined
fixes #10558
* fix: add tests for isCustomGasPriceSafe selector
4 years ago
Mark Stacey
1ed75b45f7
Remove unused `hasHexData` prop ( #10529 )
...
This prop was never passed in, nor can I see any reason for it to exist
in the first place.
4 years ago
Dan J Miller
46ecf70741
Update swaps failure copy to help users get support ( #10525 )
4 years ago
Brad Decker
7532e7ce3f
fix links in add ethereum chain ( #10536 )
4 years ago
David Walsh
8013e85c20
Accommodate for 0 sources verifying swap token ( #10521 )
4 years ago
Brad Decker
616b71271a
add chainId to all new transaction metadata ( #10528 )
4 years ago
Mark Stacey
0f7e2dbf20
Show warnings on Add Recipient page of Send flow ( #10530 )
...
Warnings were not shown on the Add Recipient page of the send flow. Now
any send warnings will be shown. This can be tested using an ENS name
with a confusable character in it (the confusable character warning
will be shown).
A condition was also removed that prevented any warnings or errors from
rendering when the user had non-zero contacts or recent addresses. I
have no idea why you'd want to hide warnings or errors if the user had
no contacts or recent addresses. None of these errors even pertain to
contacts or recent addresses.
4 years ago
ty
b04120dd0f
Warn users when an ENS name contains 'confusable' characters ( #9187 )
...
* Add warning system for 'confusable' ENS names (#9129 )
Uses unicode.org's TR39 confusables.txt to display a warning when
'confusable' unicode points are detected.
Currently only the `AddRecipient` component has been updated, but the new
`Confusable` component could be used elsewhere
The new `unicode-confusables` dependency adds close to 100KB to the
bundle size, and around 30KB when gzipped.
Adds 'tag' prop to the tooltop-v2 component
Use $Red-500 for confusable ens warning
Lint Tooltip component
Update copy for confusing ENS domain warning.
* Fix prop type
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Austin Akers
dedadee346
[Fixed] #7921 Message text overflow removed redundant title ( #10485 )
...
* fixed message text overflow
* reverted and removed mesage title inside message--root
* fixed margin problem in sign message
* removed dead css
* fixed large left padding on data signing
4 years ago
Brad Decker
1a2dc850a3
addEthereumChain bug fixes ( #10520 )
4 years ago
Brad Decker
15d78b8158
use chain id for enabling ENS IPFS resolution ( #10507 )
4 years ago
Mark Stacey
2b022cd759
Remove unused AppHeader props ( #10506 )
...
These two props were being passed into the AppHeader component by the
AppHeader container despite them being unused.
4 years ago
Dan J Miller
e7a0ca134b
Replace use of 'destinationAmountInEth' property with 'destinationAmountInETH' ( #10500 )
4 years ago
Dan J Miller
9c4af85664
Ensure that swap approve tx and swap tx always have the same gas price ( #10501 )
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
839693b685
Use chain ID instead of network name for getIsMainnet ( #10488 )
4 years ago
Brad Decker
aabe653240
Add Custom Network UI ( #10310 )
4 years ago
David Walsh
7e0525ec17
Fix #10447 - Prevent navigation from jumping vertically when clicking into token ( #10471 )
4 years ago
David Walsh
3d579dfcef
Remove react-select and SimpleDropdown, use Dropdown ( #10468 )
4 years ago
Niranjana Binoy
fab22ee05f
Fetch eth_gasprice in send flow on non-Mainnet networks ( #10444 )
4 years ago
David Walsh
59a9d4dc5c
Clean up network form form generation, autofocus the network name ( #10473 )
4 years ago