Skip to content

Commit

Permalink
Fix: Vaultka (outdated) (#11707)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpeluche authored Sep 23, 2024
1 parent 5f06b53 commit 3563c80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/vaultka/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ module.exports = {
const bals = await api.multiCall({
abi: "int256:getVaultMarketValue",
calls: vaults,
permitFailure: true
});
bals.forEach((i) => api.add(ADDRESSES.arbitrum.USDC, i));
bals.filter((bal) => bal !== null).forEach((i) => api.add(ADDRESSES.arbitrum.USDC, i));

const addresses = {
wSol: "0x2bcC6D6CdBbDC0a4071e48bb3B969b06B3330c07",
Expand Down

0 comments on commit 3563c80

Please sign in to comment.