File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ const { staking } = require ( "../helper/staking" ) ;
2
+ const { gmxExports } = require ( "../helper/gmx" ) ;
3
+ const { sumTokens2 } = require ( "../helper/unwrapLPs" ) ;
4
+
5
+ // sonic
6
+ const sonicVault = "0xe9263682E837eFabb145f8C632B9d2c518D90652" ;
7
+ const sonicStaking = "0xEF8770E9506a8D1aAE3D599327a39Cf14B6B3dc4" ;
8
+ const sonicNAVI = "0x6881B80ea7C858E4aEEf63893e18a8A36f3682f3" ;
9
+
10
+ // sonicV2
11
+ const sonicV2Vault = "0x41cD8CaFc24A771031B9eB9C57cFC94D86045eB6" ;
12
+ const sonicV2Assets = [ "0x29219dd400f2bf60e5a23d13be72b486d4038894" ]
13
+
14
+ const tvl = async ( api ) => {
15
+ await Promise . all ( [
16
+ gmxExports ( { vault : sonicVault } ) ( api ) ,
17
+ sumTokens2 ( { api, tokens : sonicV2Assets , owner : sonicV2Vault } ) ] )
18
+ } ;
19
+
20
+ module . exports = {
21
+ sonic : {
22
+ tvl,
23
+ staking : staking ( sonicStaking , sonicNAVI )
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments