Skip to content

Commit

Permalink
track qomswap #12769
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Dec 19, 2024
1 parent 32276ac commit c849a8f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions projects/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@
"proton",
"pulse",
"q",
"qom",
"quasar",
"quicksilver",
"radixdlt",
Expand Down
7 changes: 5 additions & 2 deletions projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const ibcMappings = {
}

const fixBalancesTokens = {

// Sample Code
ozone: {
// '0x83048f0bf34feed8ced419455a4320a735a92e9d': { coingeckoId: "ozonechain", decimals: 18 }, // was mapped to wrong chain
Expand All @@ -59,8 +59,11 @@ const fixBalancesTokens = {
[ADDRESSES.sophon.SDAI]: { coingeckoId: "savings-dai", decimals: 18 },
},
duckchain: {
["0x7F9308E8d724e724EC31395f3af52e0593BB2e3f"]: { coingeckoId: "wrapped-ton", decimals: 18 },
"0x7F9308E8d724e724EC31395f3af52e0593BB2e3f": { coingeckoId: "the-open-network", decimals: 18 },
},
qom: {
'0xa26dfBF98Dd1A32FAe56A3D2B2D60A8a41b0bDF0': { coingeckoId: "wrapped-qom", decimals: 18 },
}
}

ibcChains.forEach(chain => fixBalancesTokens[chain] = { ...ibcMappings, ...(fixBalancesTokens[chain] || {}) })
Expand Down
4 changes: 4 additions & 0 deletions projects/qomswap/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const { uniTvlExport } = require('../helper/unknownTokens')

module.exports = uniTvlExport('qom', '0x475f361993D6FAcBF32fB82B66be0fB40f3d974C')

0 comments on commit c849a8f

Please sign in to comment.