We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a46fca commit 7a4d305Copy full SHA for 7a4d305
projects/theoriq-gold-vault/index.js
@@ -0,0 +1,19 @@
1
+const VAULTS = ["0x0F54097295E97cE61736bb9a0a1066cDf3e31C8F"];
2
+
3
+// Strategies: proof of the collateral held by the vault
4
+const SUB_ACCOUNTS = [
5
+ "0x361339dd6ceCF76AfDadDf35fB41DA58aFA80A94",
6
+ "0xB340C84e534B9455B4cc4177E3789070899370d5",
7
+ "0xfEcd45eFD14e282D802A4C6705068B9f19b70C51",
8
+ "0x9F6F9e1F355958F5c55057E2B63F60b8581CCA18",
9
+];
10
11
+const tvl = async (api) => {
12
+ return api.erc4626Sum({ calls: VAULTS, tokenAbi: 'address:asset', balanceAbi: 'uint256:getTotalAssets' });
13
+}
14
15
+module.exports = {
16
+ doublecounted: true,
17
+ methodology: "TVL is the sum of asset balances held by the Theoriq vault.",
18
+ ethereum: { tvl },
19
+};
0 commit comments