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 0b80868 commit 09d8f89Copy full SHA for 09d8f89
projects/stakenova/index.js
@@ -0,0 +1,17 @@
1
+const { sumTokens2 } = require('../helper/solana');
2
+
3
+const INF_VAULT = '7MBk8DXFnZCpKDiSwEMFwtyDNqxXMdUSgm52fQ3Chit4';
4
+const USDC_VAULT = 'HVpnjWTJCDvHL2pL2LeE5Y3mLEE4hP4MwpZpBvBLHQuA';
5
6
+async function tvl() {
7
+ return sumTokens2({
8
+ tokenAccounts: [INF_VAULT, USDC_VAULT],
9
+ });
10
+}
11
12
+module.exports = {
13
+ methodology: 'TVL represents all user-deposited SOL plus unclaimed USDC rewards. Calculated by reading vault token balances directly on-chain.',
14
+ solana: {
15
+ tvl,
16
+ },
17
+};
0 commit comments