diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index bf44ebdf6005..6870be1cc9d4 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -629,6 +629,9 @@ "ethereumPublicAddress": { "message": "Ethereum Public Address" }, + "etherscan": { + "message": "Etherscan" + }, "etherscanView": { "message": "View account on Etherscan" }, @@ -1848,6 +1851,9 @@ "swapUsingBestQuote": { "message": "Using the best quote" }, + "swapVerifyTokenExplanation": { + "message": "Multiple tokens can use the same name and symbol. Check Etherscan to verify this is the token you're looking for." + }, "swapViewToken": { "message": "View $1" }, @@ -2079,6 +2085,10 @@ "userName": { "message": "Username" }, + "verifyThisTokenOn": { + "message": "Verify this token on $1", + "description": "Points the user to etherscan as a place they can verify information about a token. $1 is replaced with the translation for \"etherscan\"" + }, "viewAccount": { "message": "View Account" }, diff --git a/ui/app/pages/swaps/build-quote/build-quote.js b/ui/app/pages/swaps/build-quote/build-quote.js index a1bcea61f3e0..3aabcf82ef91 100644 --- a/ui/app/pages/swaps/build-quote/build-quote.js +++ b/ui/app/pages/swaps/build-quote/build-quote.js @@ -13,6 +13,7 @@ import DropdownInputPair from '../dropdown-input-pair' import DropdownSearchList from '../dropdown-search-list' import SlippageButtons from '../slippage-buttons' import { getTokens } from '../../../ducks/metamask/metamask' +import InfoTooltip from '../../../components/ui/info-tooltip' import { fetchQuotesAndSetQuoteState, @@ -366,6 +367,27 @@ export default function BuildQuote({ defaultToAll /> + {selectedToToken?.address && + selectedToToken?.address !== ETH_SWAPS_TOKEN_OBJECT.address && ( +