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

change network name: xDai -> Gnosis Chain #2023

Merged
merged 6 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/custom/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const NETWORK_LABELS: { [chainId in ChainId]?: string } = {
// [ChainId.ROPSTEN]: 'Ropsten',
// [ChainId.GOERLI]: 'Görli',
// [ChainId.KOVAN]: 'Kovan',
[ChainId.XDAI]: 'xDAI',
[ChainId.XDAI]: 'Gnosis Chain',
}

const CHAIN_CURRENCY_LABELS: { [chainId in ChainId]?: string } = {
Expand Down
8 changes: 4 additions & 4 deletions src/custom/constants/chains/chainsMod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { L1ChainInfo } from '@src/constants/chains'
// import EthereumLogo from 'assets/images/ethereum-logo.png'
import EthereumLogo from 'assets/cow-swap/network-mainnet-logo.svg' // mod
import RinkebyLogo from 'assets/cow-swap/network-rinkeby-logo.svg' // mod
import xDaiLogo from 'assets/cow-swap/network-xdai-logo.svg' // mod
import GnosisChainLogo from 'assets/cow-swap/network-gnosis-chain-logo.svg' // mod
export * from '@src/constants/chains'

export enum SupportedChainId {
Expand Down Expand Up @@ -57,9 +57,9 @@ export const CHAIN_INFO: ChainInfo = {
docs: 'https://docs.uniswap.org/',
explorer: 'https://gnosis-protocol.io/xdai',
infoLink: '',
label: 'xDai',
label: 'Gnosis Chain',
// logoUrl: EthereumLogo,
logoUrl: xDaiLogo, // mod
logoUrl: GnosisChainLogo, // mod
},
/* [SupportedChainId.ROPSTEN]: {
docs: 'https://docs.uniswap.org/',
Expand Down Expand Up @@ -105,7 +105,7 @@ export const NETWORK_LABELS: { [chainId in SupportedChainId | number]: string }
// [SupportedChainId.GOERLI]: 'Görli',
// [SupportedChainId.KOVAN]: 'Kovan',
// [SupportedChainId.XDAI]: 'XDai',
[SupportedChainId.XDAI]: 'xDai', // mod
[SupportedChainId.XDAI]: 'Gnosis Chain', // mod
// [SupportedChainId.ARBITRUM_KOVAN]: 'kArbitrum',
// [SupportedChainId.ARBITRUM_ONE]: 'Arbitrum One',
}
Expand Down
2 changes: 1 addition & 1 deletion src/custom/utils/xdai/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const WETH_XDAI = new Token(
'0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1',
8,
'WETH',
'Wrapped Ether on xDAI'
'Wrapped Ether on Gnosis Chain'
)

export const GNO_XDAI = new Token(ChainId.XDAI, '0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb', 18, 'GNO', 'Gnosis Token')
Expand Down