Skip to content

Commit 84073a5

Browse files
0xsatoshi99g1nt0ki
andauthored
stratis liquid staking (DefiLlama#13417)
Co-authored-by: g1nt0ki <[email protected]>
1 parent 47543e6 commit 84073a5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const STAKING_CONTRACT = '0x9490e998E3f1f65064a41a11cd66F2aA54aF68D7';
2+
const abi = "function balancesSnapshot() view returns (uint256 _block, uint256 _totalEth, uint256 _totalLsdToken)"
3+
4+
module.exports = {
5+
methodology: "Tvl data that staked on Stratis liquid staking protocol by community .",
6+
stratis: {
7+
tvl: async (api) => {
8+
const { _totalEth } = (await api.call({ target: STAKING_CONTRACT, abi: abi }))
9+
return { 'stratis': _totalEth / 1e18 }
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)