Skip to content

Commit ad863c0

Browse files
authored
add lighter v2 (DefiLlama#14308)
1 parent 2769049 commit ad863c0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

projects/lighter-v2/index.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
const { sumTokensExport } = require("../helper/unwrapLPs");
2+
3+
const config = {
4+
arbitrum: {
5+
owners: ["0x3b4d794a66304f130a4db8f2551b0070dfcf5ca7"],
6+
tokens: ["0xaf88d065e77c8cc2239327c5edb3a432268e5831"],
7+
},
8+
ethereum: {
9+
owners: ["0x3b4d794a66304f130a4db8f2551b0070dfcf5ca7"],
10+
tokens: ["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"],
11+
},
12+
};
13+
14+
Object.keys(config).forEach((chain) => {
15+
module.exports[chain] = {
16+
tvl: sumTokensExport({ ...config[chain] }),
17+
};
18+
});
19+
20+
module.exports.methodology =
21+
"Counts USDC tokens held in the Lighter system wallet on Ethereum and Arbitrum.";

0 commit comments

Comments
 (0)