Skip to content

Commit aab613b

Browse files
authored
Update vertex protocol TVL calculation. (DefiLlama#12892)
1 parent f806f86 commit aab613b

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

projects/vertex/index.js

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ const seiConfig = {
3131
"perpEngine": "0x0F54f46979C62aB73D03Da60eBE044c8D63F724f"
3232
}
3333

34+
const baseConfig = {
35+
"querier": "0x57237f44e893468efDD568cA7dE1EA8A57d14c1b",
36+
"clearinghouse": "0xE46Cb729F92D287F6459bDA6899434E22eCC48AE",
37+
"clearinghouseLiq": "0xA35Cd71DDC7aab953377314a56a663E9706F1354",
38+
"endpoint": "0x92C2201D48481e2d42772Da02485084A4407Bbe2",
39+
"spotEngine": "0xe818be1DA4E53763bC77df904aD1B5A1C5A61626",
40+
"perpEngine": "0x5BD184F408932F9E6bA00e44A071bCCb8977fb47"
41+
}
42+
43+
const sonicConfig = {
44+
"querier": "0xcC7895C391041231BfB5837A6923A4A26586d14f",
45+
"clearinghouse": "0x447c9aEe069F6A13007eb9D2d2a4Bb4Ad92AB721",
46+
"clearinghouseLiq": "0xd52e4Cb7D6e769a4957C9Da1bd33E0B12D956789",
47+
"endpoint": "0x2f5F835d778eBE8c28fC743E50EB9a68Ca93c2Fa",
48+
"spotEngine": "0xEa555556ab1973973e4f9d3378277Ab156de783d",
49+
"perpEngine": "0x9100770dE5268B969e540650D003D909d5012826"
50+
}
3451

3552
module.exports = {
3653
arbitrum: {
@@ -48,7 +65,19 @@ module.exports = {
4865
sei: {
4966
tvl: sumTokensExport({
5067
owners: [seiConfig.clearinghouse, seiConfig.endpoint],
51-
tokens: [ADDRESSES.sei.USDC, ADDRESSES.sei.USDT],
68+
tokens: [ADDRESSES.sei.USDC, ADDRESSES.sei.WSEI],
69+
})
70+
},
71+
base: {
72+
tvl: sumTokensExport({
73+
owners: [baseConfig.clearinghouse, baseConfig.endpoint],
74+
tokens: [ADDRESSES.base.USDC, ADDRESSES.base.WETH],
75+
})
76+
},
77+
sonic: {
78+
tvl: sumTokensExport({
79+
owners: [sonicConfig.clearinghouse, sonicConfig.endpoint],
80+
tokens: [ADDRESSES.sonic["USDC.e"], ADDRESSES.sonic.wS],
5281
})
5382
}
5483
}

0 commit comments

Comments
 (0)