We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47543e6 commit 84073a5Copy full SHA for 84073a5
projects/stratis-liquid-staking/index.js
@@ -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