1
- const vaults = [
1
+ const vaultsBlast = [
2
2
'0xe922bccf90d74f02a9d4203b377399314e008e41' ,
3
3
'0xdccde9c6800bea86e2e91cf54a870ba3ff6faf9f' ,
4
4
'0x0667ac28015ed7146f19b2d218f81218abf32951' ,
@@ -22,6 +22,12 @@ const vaults = [
22
22
'0x24e72c2c7be9b07942f6f8d3cdce995df699514d' ,
23
23
]
24
24
25
+ const vaultsArbitrum = [
26
+ '0x320cd9d00961fb45857a043efea77dc6b9db5d95' ,
27
+ '0x6f0acbaac51f3c72ddaa4edc6e20fc388d20adbc' ,
28
+ '0x951c846aa10cc3da45defed784c3802605f71769' ,
29
+ ]
30
+
25
31
const dexes = [
26
32
'0xe9041d3483a760c7d5f8762ad407ac526fbe144f' ,
27
33
'0xbfb18eda8961ee33e38678caf2bceb2d23aedfea' ,
@@ -31,7 +37,7 @@ const dexes = [
31
37
'0x66e1bea0a5a934b96e2d7d54eddd6580c485521b' ,
32
38
]
33
39
34
- async function tvl ( api ) {
40
+ async function tvlBlast ( api ) {
35
41
const token0s = await api . multiCall ( { abi : 'address:token0' , calls : dexes } )
36
42
const token1s = await api . multiCall ( { abi : 'address:token1' , calls : dexes } )
37
43
const positionData = await api . multiCall ( { abi : 'function getPositionAmounts() view returns (uint256 amount0, uint256 amount1)' , calls : dexes } )
@@ -46,11 +52,16 @@ async function tvl(api) {
46
52
} )
47
53
48
54
await api . sumTokens ( { ownerTokens } )
49
- return api . erc4626Sum2 ( { calls : vaults } ) ;
55
+ return api . erc4626Sum2 ( { calls : vaultsBlast } ) ;
56
+ }
57
+
58
+ async function tvlArbitrum ( api ) {
59
+ return api . erc4626Sum2 ( { calls : vaultsArbitrum } ) ;
50
60
}
51
61
52
62
module . exports = {
53
63
doublecounted : true ,
54
64
methodology : "We calculate TVL based on the Total Supply of our proxy contracts through which users interact with vault's contracts" ,
55
- blast : { tvl } ,
65
+ blast : { tvl : tvlBlast } ,
66
+ arbitrum : { tvl : tvlArbitrum } ,
56
67
} ;
0 commit comments