Skip to content

Commit 1cd3e74

Browse files
0xShad0wYour Name
andauthored
add hlp0 (DefiLlama#15204)
Co-authored-by: Your Name <[email protected]>
1 parent 4e41ea8 commit 1cd3e74

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

projects/hlp0/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const { sumERC4626VaultsExport } = require('../helper/erc4626');
2+
3+
const HLP0_VAULT = "0x3D75F2BB8aBcDBd1e27443cB5CBCE8A668046C81";
4+
5+
// As the vault is an ERC4626, we can use the helper to get the TVL
6+
const tvl = sumERC4626VaultsExport({
7+
vaults: [HLP0_VAULT],
8+
balanceAbi: 'totalAssets',
9+
tokenAbi: 'asset',
10+
});
11+
12+
module.exports = {
13+
arbitrum: {
14+
tvl,
15+
},
16+
methodology: "TVL is calculated by summing the total assets of the HLP0 vault on Arbitrum. The HLP0 token is a LayerZero OFT, but the underlying assets are held in the Arbitrum vault.",
17+
};

0 commit comments

Comments
 (0)