Skip to content

Commit 448297b

Browse files
authored
matstake (DefiLlama#15190)
1 parent ee7bbf6 commit 448297b

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

projects/matstake/index.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
const MAT = '0x44a83a012B926853DFc1BBE2ec5BEf37126067e8'
2+
const { sumTokens2 } = require('../helper/unwrapLPs')
3+
const POOLS = [
4+
'0xa1843e71d1390d4A31469A53EeEfBB2f9AAe34ed', // LiquidStakingPool (also holds MAT)
5+
'0xff5eb1345aa5d4c948c227742fcd32157539e480',
6+
'0xfa38f584f561642ff0d1ab67b5a175798668a047',
7+
'0xf9ff433f14f237ce6643257ca4cd5aec355eaee7',
8+
'0xeef37e218087bca2f4c3c6c4c50f3d3b51b2eb4d',
9+
'0xdd1904dcf7e0b6dff60bd9729f626b076999e18f',
10+
'0xdb604be88482ce061fbc2595e619f967de1a7502',
11+
'0xd899cd3cafb1c9f6d585c36649592956d3df5ef9',
12+
'0xc3258af62e46b502700c34ed7c3128f99f0fc532',
13+
'0xc021a95e3ad7d4e06745c4a12438a960c33859d7',
14+
'0xb4175a66e28f2c348959872b28af0d12f891201f',
15+
'0xa3be9646116f834d0f9f1a035fdad6862b5f0a2a',
16+
'0x9c4c30d5cd29c6d24cf1a712d93b756cbf5071ba',
17+
'0x96b5f62604729ed5b7219f1b3f15a8359e0a86fb',
18+
'0x8aa82b86056af2dd5cdaab45eefe500c84d0af82',
19+
'0x739110f0233b8598957af1321920787c13142910',
20+
'0x53f91b6ae02c8cdbc22565f7f7a158add6f1de6e',
21+
'0x4a47d64b074d730868623d89ec633d16adf53212',
22+
'0x443d8318224c59c31987ea310033d0dc47a10d88',
23+
'0x256b02b26c67029b2881ab5d493cf8e5068d5fcc',
24+
'0x0de1a88dcf7fd12c54d9ac0807c990f26bd1c121',
25+
'0x0b0381a2c4c3a537c614afe71334c9f387718922',
26+
]
27+
28+
async function staking(api) {
29+
return sumTokens2({ api, owners: POOLS, tokens: [MAT] })
30+
}
31+
32+
module.exports = {
33+
methodology: 'Sums the MAT token balance held by the LiquidStakingPool contract and all staking pools to represent total user deposits.',
34+
timetravel: true,
35+
matchain: {
36+
tvl: () => ({}),
37+
staking,
38+
},
39+
}

0 commit comments

Comments
 (0)