Skip to content

Commit

Permalink
track lachain
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Apr 23, 2024
1 parent e593a0e commit 5e41202
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions projects/helper/chains.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
"kroma",
"kujira",
"kusama",
"lac",
"lachain",
"lamden",
"lbry",
Expand Down
1 change: 1 addition & 0 deletions projects/helper/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const DEFAULTS = {
BSQUARED_RPC: "https://rpc.bsquared.network,https://b2-mainnet.alt.technology",
FSC_RPC_MULTICALL: "0x18fA376d92511Dd04090566AB6144847c03557d8",
XLAYER_RPC: "https://wallet.okex.org/fullnode/xlayer/discover/rpc/ro",
LAC_RPC: "https://rpc1.mainnet.lachain.network,https://rpc2.mainnet.lachain.network/", // Chain id : 274
XLAYER_RPC_MULTICALL: "0x398F92e15519B4F6F2D5cc42C17FC9ED15De53d8",
}

Expand Down
5 changes: 4 additions & 1 deletion projects/helper/tokenMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ const fixBalancesTokens = {
xlayer: {
[ADDRESSES.xlayer.WETH]: { coingeckoId: "ethereum", decimals: 18, },
[ADDRESSES.xlayer.USDT]: { coingeckoId: "tether", decimals: 6, },
}
},
lac: {
'0x2911a1ab18546cb501628be8625c7503a2a7db54': { coingeckoId: "la-coin", decimals: 18, },
},
}

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

module.exports = uniTvlExport('lac', '0x12D9CC71b28B70d08f28CCf92d9Ab1D8400f97bD')

0 comments on commit 5e41202

Please sign in to comment.