Skip to content

Commit 9c6dc58

Browse files
authored
fix: manually override decimals for ynETHx on base (#877)
1 parent 42388e2 commit 9c6dc58

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/public/CoinGecko.8453.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3310,7 +3310,7 @@
33103310
"address": "0xe231db5f348d709239ef1741ea30961b3b635a61",
33113311
"name": "ynETH MAX",
33123312
"symbol": "YNETHX",
3313-
"decimals": 16,
3313+
"decimals": 18,
33143314
"logoURI": "https://assets.coingecko.com/coins/images/51623/large/ynETHx.png?1731659494"
33153315
},
33163316
{

src/scripts/auxLists/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { getCoingeckoTokenIdsMap, OverridesPerChain } from './utils'
55

66
const OVERRIDES: OverridesPerChain = mapSupportedNetworks(() => ({}))
77
OVERRIDES[SupportedChainId.BASE]['0x18dd5b087bca9920562aff7a0199b96b9230438b'] = { decimals: 8 } // incorrect decimals set on CoinGecko's list
8+
OVERRIDES[SupportedChainId.BASE]['0xe231db5f348d709239ef1741ea30961b3b635a61'] = { decimals: 18 } // incorrect decimals set on CoinGecko's list
89

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

0 commit comments

Comments
 (0)