Skip to content

Commit 9330e0e

Browse files
add Intuition TVL code (DefiLlama#11477)
1 parent 84c3147 commit 9330e0e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

projects/intuition/index.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const ADDRESSES = require('../helper/coreAssets.json')
2+
3+
const ETHMULTIVAULT = "0x430BbF52503Bd4801E51182f4cB9f8F534225DE5"; // Intuition's EthMultiVault contract address on Base mainnet
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+
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+
}
16+
}

0 commit comments

Comments
 (0)