Skip to content

Commit

Permalink
sailing: exclude own token from tvl
Browse files Browse the repository at this point in the history
  • Loading branch information
g1nt0ki committed Aug 7, 2024
1 parent d12c193 commit 8b32e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/sailing-portfolios/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function tvl(api) {
})
const tokens = await api.multiCall({ abi: 'address[]:getPortfolioAssets', calls: portfolios})
const ownerTokens = portfolios.map((portfolio, i) => [tokens[i], portfolio])
return api.sumTokens({ ownerTokens })
return api.sumTokens({ ownerTokens, blacklistedTokens: ['0x47a663C082926d0d913cAcB89240c3f4bc409a88'] })
}

module.exports = {
Expand Down

0 comments on commit 8b32e97

Please sign in to comment.