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 d2322a7 commit aefc6f5Copy full SHA for aefc6f5
projects/vaquita-protocol/index.js
@@ -0,0 +1,17 @@
1
+const { sumTokens2 } = require('../helper/unwrapLPs');
2
+
3
+const VAQUITA_CONTRACT = '0xfA95214EA8195e9D256Bb18adF0F56b3dEc66FaE';
4
+const A_TOKEN_ADDRESS = '0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB';
5
6
+async function tvl(api) {
7
+ return sumTokens2({
8
+ api,
9
+ owners: [VAQUITA_CONTRACT],
10
+ tokens: [A_TOKEN_ADDRESS],
11
+ });
12
+}
13
14
+module.exports = {
15
+ base: { tvl },
16
+ methodology: 'TVL is calculated by checking the aBasUSDC balance (Aave USDC on Base) held by VaquitaPool contract',
17
+};
0 commit comments