Skip to content

Commit 2cc435c

Browse files
georgeciubotaruAddis-Beletecoderabbitai[bot]
authored
feat(clearpool): update factories list (DefiLlama#11496)
Signed-off-by: Addis Belete <[email protected]> Co-authored-by: Addis Belete <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 43881d5 commit 2cc435c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

projects/clearpool/index.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ const config = {
6969
factory: "0x44fEF0fAB3A96CA34b06d5142350Ef9223F65A7e",
7070
fromBlock: 226174706,
7171
},
72+
vaults: {
73+
factory: "0xA8e8AccabCf29e7d8b33D086085D87F9F38a6Ed7",
74+
fromBlock: 226193395
75+
}
7276
},
7377
[CHAIN.MANTLE]: {
7478
dynamic: {
@@ -78,6 +82,10 @@ const config = {
7882
vaults: {
7983
factory: "0xF041A2838794266d19f79709F416A2977F896A9B",
8084
fromBlock: 59594636
85+
},
86+
prime: {
87+
factory: "0x29157e2B6A34Ae1787CDdD05Ad54DD4aa9783A5c",
88+
fromBlock: 68483768
8189
}
8290
},
8391
[CHAIN.BASE]: {
@@ -185,7 +193,7 @@ Object.keys(config).forEach((chain) => {
185193

186194
await Promise.all(promiseArray)
187195

188-
return sumTokens2({ api, tokensAndOwners2: [allTokens, allPools], blacklistedTokens: blacklistedTokens[chain]})
196+
return sumTokens2({ api, tokensAndOwners2: [allTokens, allPools], blacklistedTokens: blacklistedTokens[chain] })
189197
}
190198

191199
const borrowed = async (api) => {
@@ -210,7 +218,7 @@ Object.keys(config).forEach((chain) => {
210218

211219
api.addTokens(allTokens, balances)
212220
if (blacklistedTokens[chain]) {
213-
blacklistedTokens[chain].forEach((token) => api.removeTokenBalance(token))
221+
blacklistedTokens[chain].forEach((token) => api.removeTokenBalance(token))
214222
}
215223
}
216224
module.exports[chain] = { tvl, borrowed }

0 commit comments

Comments
 (0)