Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
2604 - Override cow token image in activities modal (#2606)
Browse files Browse the repository at this point in the history
* override cow token image

* use vCowLogo
  • Loading branch information
W3stside committed Mar 29, 2022
1 parent 108c6ea commit 05628f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/custom/constants/tokens/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import { SupportedChainId } from 'constants/chains'
import { V_COW_CONTRACT_ADDRESS, COW_CONTRACT_ADDRESS } from 'constants/index'

import wxDaiLogo from 'assets/cow-swap/wxdai.png'
import vCowLogo from 'assets/cow-swap/cow.svg'
// TODO: these are the same? why?
import vCowLogo from 'assets/cow-swap/vCOW.png'
import cowLogo from 'assets/cow-swap/cow.svg'
import gnoLogo from 'assets/cow-swap/gno.png'
import usdcLogo from 'assets/cow-swap/usdc.png'

Expand Down Expand Up @@ -127,6 +129,7 @@ export const ADDRESS_IMAGE_OVERRIDE = {
[WBTC_RINKEBY.address]: getTrustImage(WBTC.address),
[WETH9[ChainId.RINKEBY].address]: getTrustImage(WETH_ADDRESS_MAINNET),
[V_COW_TOKEN_RINKEBY.address]: vCowLogo,
[COW_TOKEN_RINKEBY.address]: cowLogo,
[GNO_RINKEBY.address]: gnoLogo,
[USDC_RINKEBY.address]: usdcLogo,
// xDai
Expand All @@ -136,8 +139,10 @@ export const ADDRESS_IMAGE_OVERRIDE = {
[WXDAI.address]: wxDaiLogo,
[WETH_XDAI.address]: getTrustImage(WETH_ADDRESS_MAINNET),
[V_COW_TOKEN_XDAI.address]: vCowLogo,
[COW_TOKEN_XDAI.address]: cowLogo,
[GNO_XDAI.address]: gnoLogo,
[USDC_XDAI.address]: usdcLogo,
// Mainnet
[V_COW_TOKEN_MAINNET.address]: vCowLogo,
[COW_TOKEN_MAINNET.address]: cowLogo,
}

0 comments on commit 05628f7

Please sign in to comment.