File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ const config = {
12
12
} ,
13
13
base : {
14
14
morphoBlue : "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb" ,
15
+ blackList : [ '0x6ee1955afb64146b126162b4ff018db1eb8f08c3' ] ,
15
16
fromBlock : 13977148 ,
16
17
} ,
17
18
} ;
18
19
19
- Object . keys ( config ) . forEach ( ( chain ) => {
20
- const { morphoBlue, fromBlock } = config [ chain ] ;
20
+ Object . keys ( config ) . forEach ( ( chain ) => {
21
+ const { morphoBlue, fromBlock, blackList = [ ] } = config [ chain ] ;
21
22
module . exports [ chain ] = {
22
23
tvl : async ( api ) => {
23
24
const marketIds = await getMarkets ( api ) ;
@@ -30,7 +31,7 @@ Object.keys(config).forEach((chain) => {
30
31
)
31
32
. map ( ( i ) => [ i . collateralToken , i . loanToken ] )
32
33
. flat ( ) ;
33
- return api . sumTokens ( { owner : morphoBlue , tokens } ) ;
34
+ return api . sumTokens ( { owner : morphoBlue , tokens, blacklistedTokens : blackList } ) ;
34
35
} ,
35
36
borrowed : async ( api ) => {
36
37
const marketIds = await getMarkets ( api ) ;
You can’t perform that action at this time.
0 commit comments