File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
- const ADDRESSES = require ( '../helper/coreAssets.json' )
1
+ const { sumTokensExport , nullAddress } = require ( '../helper/unwrapLPs' ) ;
2
2
3
3
const ETHMULTIVAULT = "0x430BbF52503Bd4801E51182f4cB9f8F534225DE5" ; // Intuition's EthMultiVault contract address on Base mainnet
4
4
5
- async function tvl ( api ) {
6
- await api . sumTokens ( { owners : [ ETHMULTIVAULT ] , tokens : [ ADDRESSES . null ] } )
7
- const bal = api . getBalances ( )
8
- return bal
9
- }
10
-
11
5
module . exports = {
12
- methodology : "The TVL is calculated based on the current ETH balance held within Intuition's EthMultiVault contract on the Base mainnet." ,
13
- base : {
14
- tvl
15
- }
6
+ methodology : "The TVL is calculated based on the current ETH balance held within Intuition's EthMultiVault contract on the Base mainnet." ,
7
+ base : {
8
+ tvl : sumTokensExport ( { owner : ETHMULTIVAULT , tokens : [ nullAddress ] } ) ,
9
+ }
16
10
}
You can’t perform that action at this time.
0 commit comments