Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Dec 27, 2024
1 parent 727872a commit 092d22a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions projects/zoth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ Object.keys(vaultManagers).forEach(chain => {
module.exports[chain] = {
tvl: async (api) => {
const { details } = await api.call({ abi, target: vaultManagers[chain], })
details.map(({ collateralAddress, subVaultAddress }) => {
api.add(collateralAddress, subVaultAddress)
})
await api.sumTokens({ tokensAndOwners: details.map(({ collateralAddress, subVaultAddress }) => [collateralAddress, subVaultAddress]) })
}
}
})
Expand Down

0 comments on commit 092d22a

Please sign in to comment.