mirror of
https://github.com/alexgo-io/DefiLlama-Adapters.git
synced 2026-01-12 22:43:12 +08:00
morpho v1: ignore errors
This commit is contained in:
@@ -162,7 +162,7 @@ const tvl = async (api) => {
|
||||
const withdrawQueueLengths = await api.multiCall({ calls: collCalls, abi: abi.metaMorphoFunctions.withdrawQueueLength, permitFailure: true })
|
||||
const filterMarkets = marketInfos.filter((_, i) => withdrawQueueLengths[i] == null || withdrawQueueLengths[i] > 30 || withdrawQueueLengths[i] < 0);
|
||||
const tokens = filterMarkets.flatMap(({ collateralToken, loanToken }) => [collateralToken, loanToken])
|
||||
return sumTokens2({ api, owner: morphoBlue, tokens, blacklistedTokens: blackList })
|
||||
return sumTokens2({ api, owner: morphoBlue, tokens, blacklistedTokens: blackList, permitFailure: true })
|
||||
}
|
||||
|
||||
const borrowed = async (api) => {
|
||||
|
||||
Reference in New Issue
Block a user