Skip to content

Commit 86580b7

Browse files
committed
Add StakeStone USD
1 parent 833f7e8 commit 86580b7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
const STONEUSD_ETH = '0x6A6E3a4396993A4eC98a6f4A654Cc0819538721e';
2+
const STONEUSD_MONAD = '0x095957CEB9f317ac1328f0aB3123622401766D71';
3+
4+
const ethTvl = async (api) => {
5+
const totalSupply = await api.call({
6+
abi: 'erc20:totalSupply',
7+
target: STONEUSD_ETH,
8+
});
9+
10+
api.add(STONEUSD_ETH, totalSupply)
11+
}
12+
13+
const monadTvl = async (api) => {
14+
const totalSupply = await api.call({
15+
abi: 'erc20:totalSupply',
16+
target: STONEUSD_MONAD,
17+
});
18+
19+
api.add(STONEUSD_MONAD, totalSupply)
20+
}
21+
22+
module.exports = {
23+
ethereum: {
24+
tvl: ethTvl,
25+
},
26+
monad: {
27+
tvl: monadTvl,
28+
},
29+
doublecounted: false
30+
}

0 commit comments

Comments
 (0)