Skip to content

Commit d67784b

Browse files
authored
add katana network pre-launch deposit (DefiLlama#15180)
1 parent 4455ea8 commit d67784b

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

projects/katana-prelaunch/index.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
const { sumTokens2 } = require('../helper/unwrapLPs')
2+
3+
async function tvl(api) {
4+
const vaults = [
5+
'0xcc6a16Be713f6a714f68b0E1f4914fD3db15fBeF',
6+
'0x92C82f5F771F6A44CfA09357DD0575B81BF5F728',
7+
'0x7B5A0182E400b241b317e781a4e9dEdFc1429822',
8+
'0x48c03B6FfD0008460F8657Db1037C7e09dEedfcb',
9+
];
10+
11+
await api.erc4626Sum({api, calls: vaults, tokenAbi: 'address:asset', balanceAbi: 'uint256:totalAssets', permitFailure: true })
12+
await sumTokens2({
13+
api,
14+
owner: '0x69d210d3b60E939BFA6E87cCcC4fAb7e8F44C16B',
15+
tokens: [
16+
'0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee',
17+
'0x35fa164735182de50811e8e2e824cfb9b6118ac2',
18+
'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
19+
'0xae7ab96520de3a18e5e111b5eaab095312d7fe84',
20+
'0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0',
21+
],
22+
})
23+
return await sumTokens2({
24+
api,
25+
owner: '0x75231079973C23e9eB6180fa3D2fc21334565aB5',
26+
tokens: [
27+
'0x8236a87084f8b84306f72007f36f2618a5634494'
28+
],
29+
})
30+
}
31+
32+
module.exports = {
33+
ethereum: {
34+
doublecounted: true,
35+
tvl: tvl,
36+
}
37+
}

0 commit comments

Comments
 (0)