Skip to content

Commit c69e6ae

Browse files
0xpeluchedarvinrio
andauthored
Feat: adapter, Swell-earnEth (DefiLlama#11987)
Co-authored-by: darvin <[email protected]>
1 parent 6bb031e commit c69e6ae

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

projects/swell-earn-eth/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const { sumTokens2 } = require('../helper/unwrapLPs')
2+
3+
const earnETHVault = '0x9Ed15383940CC380fAEF0a75edacE507cC775f22';
4+
5+
const tokens = [
6+
'0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0', // rswETH
7+
'0xf951E335afb289353dc249e82926178EaC7DEd78', // swETH
8+
'0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0', // wstETH
9+
'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2', // WETH
10+
]
11+
12+
const tvl = async (api) => {
13+
return sumTokens2({ api, tokens, owner: earnETHVault })
14+
}
15+
16+
module.exports = {
17+
methodology: 'TVL represents the sum of tokens deposited in the vault',
18+
doublecounted: true,
19+
ethereum : { tvl }
20+
}

0 commit comments

Comments
 (0)