From b2852633e1e7d21b629ab292e7ebc6e9d88425d0 Mon Sep 17 00:00:00 2001 From: Kevin McGinty Date: Wed, 29 Jun 2022 17:07:36 -0400 Subject: [PATCH] Update Erc20Select.tsx Update logoURI in Erc20Select.tsx The images were not loading. Updated to use yearn assets images via github instead of old iearn repo, trustwallet repo, and zapper.fi site. The only image not hosted via yearn assets is the SLP token logo. Since this is not hosted in the yearn assets project I just pointed to the new SLP logo on zapper.fi image storage via google. --- .../src/components/CreateGift/Erc20Select.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/CreateGift/Erc20Select.tsx b/frontend/src/components/CreateGift/Erc20Select.tsx index 086afce..e417978 100644 --- a/frontend/src/components/CreateGift/Erc20Select.tsx +++ b/frontend/src/components/CreateGift/Erc20Select.tsx @@ -30,7 +30,7 @@ export const erc20TokensData = [ address: "0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e", chainId: 1, decimals: 18, - logoURI: "https://zapper.fi/images/YFI-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e/logo-128.png", name: "yearn.finance", symbol: "YFI", }, @@ -38,7 +38,7 @@ export const erc20TokensData = [ address: "0x5dbcf33d8c2e976c6b560249878e6f1491bca25c", chainId: 1, decimals: 18, - logoURI: "https://zapper.fi/images/yUSD-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x5dbcF33D8c2E976c6b560249878e6F1491Bca25c/logo-128.png", name: "yUSD", symbol: "yUSD", }, @@ -47,7 +47,7 @@ export const erc20TokensData = [ chainId: 1, decimals: 18, logoURI: - "https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x9cA85572E6A3EbF24dEDd195623F188735A5179f/logo-128.png", + "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x9cA85572E6A3EbF24dEDd195623F188735A5179f/logo-128.png", name: "y3Crv", symbol: "y3Crv", }, @@ -56,7 +56,7 @@ export const erc20TokensData = [ chainId: 1, decimals: 18, logoURI: - "https://raw.githubusercontent.com/iearn-finance/yearn-assets/master/icons/tokens/0x6B3595068778DD592e39A122f4f5a5cF09C90fE2/logo-128.png", + "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x6B3595068778DD592e39A122f4f5a5cF09C90fE2/logo-128.png", name: "Sushi", symbol: "SUSHI", }, @@ -64,7 +64,7 @@ export const erc20TokensData = [ address: "0x6b175474e89094c44da98b954eedeac495271d0f", chainId: 1, decimals: 18, - logoURI: "https://zapper.fi/images/DAI-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x6B175474E89094C44Da98b954EedeAC495271d0F/logo-128.png", name: "Dai", symbol: "DAI", }, @@ -72,7 +72,7 @@ export const erc20TokensData = [ address: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", chainId: 1, decimals: 6, - logoURI: "https://zapper.fi/images/USDC-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo-128.png", name: "USD Coin", symbol: "USDC", }, @@ -80,7 +80,7 @@ export const erc20TokensData = [ address: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", chainId: 1, decimals: 18, - logoURI: "https://zapper.fi/images/WETH-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo-128.png", name: "WETH", symbol: "WETH", }, @@ -88,7 +88,7 @@ export const erc20TokensData = [ address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", chainId: 1, decimals: 8, - logoURI: "https://zapper.fi/images/WBTC-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599/logo-128.png", name: "Wrapped Bitcoin", symbol: "WBTC", }, @@ -96,7 +96,7 @@ export const erc20TokensData = [ address: "0x5D8d9F5b96f4438195BE9b99eee6118Ed4304286", chainId: 1, decimals: 8, - logoURI: "https://zapper.fi/images/COVER-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0x5D8d9F5b96f4438195BE9b99eee6118Ed4304286/logo-128.png", name: "Cover Protocol", symbol: "COVER", }, @@ -104,7 +104,7 @@ export const erc20TokensData = [ address: "0xd533a949740bb3306d119cc777fa900ba034cd52", chainId: 1, decimals: 18, - logoURI: "https://zapper.fi/images/CRV-icon.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xD533a949740bb3306d119CC777fa900bA034cd52/logo-128.png", name: "Curve DAO Token", symbol: "CRV", }, @@ -112,7 +112,7 @@ export const erc20TokensData = [ address: "0x37236cd05b34cc79d3715af2383e96dd7443dcf1", chainId: 1, decimals: 0, - logoURI: "https://zapper.fi/images/SLP-icon.png", + logoURI: "https://storage.googleapis.com/zapper-fi-assets/tokens/ethereum/0xcc8fa225d80b9c7d42f96e9570156c65d6caaa25.png", name: "Small Love Potion", symbol: "SLP", }, @@ -120,7 +120,7 @@ export const erc20TokensData = [ address: "0xbC396689893D065F41bc2C6EcbeE5e0085233447", chainId: 1, decimals: 18, - logoURI: "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xbC396689893D065F41bc2C6EcbeE5e0085233447/logo.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xbC396689893D065F41bc2C6EcbeE5e0085233447/logo-128.png", name: "Perpetual Protocol", symbol: "PERP", }, @@ -128,7 +128,7 @@ export const erc20TokensData = [ address: "0xa283aA7CfBB27EF0cfBcb2493dD9F4330E0fd304", chainId: 1, decimals: 18, - logoURI: "https://github.com/mushroomsforest/deployment/raw/main/logos/mushrooms256.png", + logoURI: "https://raw.githubusercontent.com/yearn/yearn-assets/master/icons/multichain-tokens/1/0xa283aA7CfBB27EF0cfBcb2493dD9F4330E0fd304/logo-128.png", name: "Mushrooms Finance", symbol: "MM", },