File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ const { sumTokensExport, nullAddress } = require ( "../helper/unwrapLPs" ) ;
2
+ const ADDRESSES = require ( '../helper/coreAssets.json' )
3
+
4
+ const CHAINS = {
5
+ ethereum : {
6
+ locker : "0x0De2669e8A7A6F6CC0cBD3Cf2D1EEaD89e243208" ,
7
+ tokens : [ ADDRESSES . ethereum . USDC , ADDRESSES . ethereum . USDT , ADDRESSES . ethereum . WETH ]
8
+ } ,
9
+ bsc : {
10
+ locker : "0x92fa52d3043725D00Eab422440C4e9ef3ba180d3" ,
11
+ tokens : [ ADDRESSES . bsc . USDC , ADDRESSES . bsc . USDT , ADDRESSES . bsc . WBNB , ADDRESSES . bsc . BUSD ]
12
+ } ,
13
+ }
14
+
15
+ module . exports = {
16
+ methodology :
17
+ "Adds up the total value locked as collateral on the Bridge platform"
18
+ }
19
+
20
+ Object . keys ( CHAINS ) . forEach ( chain => {
21
+ module . exports [ chain ] = {
22
+ tvl : sumTokensExport ( { owner : CHAINS [ chain ] . locker , tokens : CHAINS [ chain ] . tokens } )
23
+ }
24
+ } )
You can’t perform that action at this time.
0 commit comments