Skip to content

Commit

Permalink
track datadex on vana #12767
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Dec 19, 2024
1 parent d959134 commit 33a32e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions projects/datadex/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const { uniV3Export } = require('../helper/uniswapV3')
module.exports = uniV3Export({
vana: { factory: '0xc2a0d530e57B1275fbce908031DA636f95EA1E38', fromBlock: 763744 },
})
1 change: 1 addition & 0 deletions projects/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@
"ultron",
"umee",
"unit0",
"vana",
"vechain",
"velas",
"venom",
Expand Down
1 change: 1 addition & 0 deletions projects/helper/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const DEFAULTS = {
RPC_PROXY_URL: "https://rpc-proxy.llama.fi",
DUCKCHAIN_RPC: "https://rpc.duckchain.io,https://rpc-hk.duckchain.io",
SOPHON_RPC_MULTICALL: "0x5f4867441d2416cA88B1b3fd38f21811680CD2C8",
VANA_RPC_MULTICALL: "0xFe92b91F3326e58557478c28EeAe1936E0c7148a",
}

const ENV_KEYS = [
Expand Down
7 changes: 6 additions & 1 deletion projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ const fixBalancesTokens = {
},
qom: {
'0xa26dfBF98Dd1A32FAe56A3D2B2D60A8a41b0bDF0': { coingeckoId: "wrapped-qom", decimals: 18 },
}
},
vana: {
[ADDRESSES.null]: { coingeckoId: 'vana', decimals: 18 },
'0x00eddd9621fb08436d0331c149d1690909a5906d': { coingeckoId: 'vana', decimals: 18 },
'0xf1815bd50389c46847f0bda824ec8da914045d14': { coingeckoId: 'usd-coin', decimals: 6 },
},
}

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

0 comments on commit 33a32e5

Please sign in to comment.