Skip to content

Commit 663834c

Browse files
committed
track idex-v4
1 parent 03e119a commit 663834c

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

projects/helper/chains.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"hyperliquid",
149149
"icon",
150150
"icp",
151+
"idex",
151152
"imx",
152153
"inevm",
153154
"injective",

projects/helper/env.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const DEFAULTS = {
1212
MULTIVERSX_RPC: 'https://api.multiversx.com',
1313
ANKR_API_KEY: '79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01',
1414
RENEC_RPC: "https://api-mainnet-beta.renec.foundation:8899/",
15+
IDEX_RPC: "https://xchain-rpc.idex.io",
1516
CRONOS_ZKEVM_RPC_MULTICALL: '0x9b122BF7a96F24EFB7A2b5765c635909dB3458F7',
1617
NEOX_RPC_MULTICALL: '0xD6010D102015fEa9cB3a9AbFBB51994c0Fd6E672',
1718
}

projects/helper/tokenMapping.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ const fixBalancesTokens = {
9191
'0xf6f832466Cd6C21967E0D954109403f36Bc8ceaA': { coingeckoId: "ethereum", decimals: 18 },
9292
'0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6': { coingeckoId: "usd-coin", decimals: 6 },
9393
},
94+
idex: {
95+
'0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6': { coingeckoId: "usd-coin", decimals: 6 },
96+
},
9497
}
9598

9699
ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })

projects/idex-v4/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const { sumTokensExport } = require('../helper/unwrapLPs')
2+
3+
module.exports = {
4+
idex: {
5+
tvl: sumTokensExport({ owner: '0xF0b08bd86f8479a96B78CfACeb619cfFeCc5FBb5', tokens: ['0xFbDa5F676cB37624f28265A144A48B0d6e87d3b6']}),
6+
}
7+
}

0 commit comments

Comments
 (0)