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 5bd2b11 commit 637c0acCopy full SHA for 637c0ac
projects/lagoon/index.js
@@ -0,0 +1,26 @@
1
+const { sumERC4626VaultsExport } = require('../helper/erc4626');
2
+const sdk = require('@defillama/sdk');
3
+
4
+const config = {
5
+ ethereum: {
6
+ lvTokens: {
7
+ totalAssets: [
8
+ "0x07ed467acD4ffd13023046968b0859781cb90D9B", // 9Summits Flagship ETH
9
+ "0x03D1eC0D01b659b89a87eAbb56e4AF5Cb6e14BFc",
10
+ ],
11
+ },
12
13
+};
14
15
16
17
+const totalAssetsVaults = config.ethereum.lvTokens.totalAssets;
18
19
+const tvl = sdk.util.sumChainTvls([
20
+ sumERC4626VaultsExport({
21
+ vaults: totalAssetsVaults,
22
+ tokenAbi: 'asset',
23
+ balanceAbi: 'totalAssets',
24
+ }),
25
+]);
26
+module.exports['ethereum'] = { tvl };
0 commit comments