Skip to content

Commit e5f4bd0

Browse files
authored
track Axelar ITS (DefiLlama#14147)
1 parent 7ae44ed commit e5f4bd0

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

package-lock.json

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/axelar-its/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const usdxAddress = "0xf3527ef8dE265eAa3716FB312c12847bFBA66Cef";
2+
const chains = ["ethereum", "bsc", "arbitrum"];
3+
4+
chains.forEach((chain) => {
5+
module.exports[chain] = {
6+
tvl: async (api) => {
7+
const supply = await api.call({ abi: 'erc20:totalSupply', target: usdxAddress})
8+
api.addCGToken('usdx-money-usdx', supply/1e18)
9+
},
10+
}
11+
})

0 commit comments

Comments
 (0)