Skip to content

Commit 50a9e1f

Browse files
authored
fix: overwrite wxDAI name & symbol coming from Coingecko (#886)
1 parent 4915780 commit 50a9e1f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/public/CoinGecko.100.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
{
190190
"chainId": 100,
191191
"address": "0xe91d153e0b41518a2ce8dd3d7944fa863463a97d",
192-
"name": "XDAI",
193-
"symbol": "XDAI",
192+
"name": "Wrapped wxDAI",
193+
"symbol": "wxDAI",
194194
"decimals": 18,
195195
"logoURI": "https://assets.coingecko.com/coins/images/11062/large/Identity-Primary-DarkBG.png?1696511004"
196196
},

src/scripts/auxLists/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { getCoingeckoTokenIdsMap, OverridesPerChain } from './utils'
66
const OVERRIDES: OverridesPerChain = mapSupportedNetworks(() => ({}))
77
OVERRIDES[SupportedChainId.BASE]['0x18dd5b087bca9920562aff7a0199b96b9230438b'] = { decimals: 8 } // incorrect decimals set on CoinGecko's list
88
OVERRIDES[SupportedChainId.BASE]['0xe231db5f348d709239ef1741ea30961b3b635a61'] = { decimals: 18 } // incorrect decimals set on CoinGecko's list
9+
OVERRIDES[SupportedChainId.GNOSIS_CHAIN]['0xe91d153e0b41518a2ce8dd3d7944fa863463a97d'] = {
10+
symbol: 'wxDAI',
11+
name: 'Wrapped xDAI',
12+
} // incorrect symbol and name set on CoinGecko's list
913

1014
async function main(): Promise<void> {
1115
const COINGECKO_IDS_MAP = await getCoingeckoTokenIdsMap()

0 commit comments

Comments
 (0)