Skip to content

Commit

Permalink
alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Mar 29, 2022
1 parent 99332bd commit 0e16910
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/alpha-homora/v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async function tvlV2Onchain(block, chain) {
abi: abi["userInfo"],
block,
});
const lpPools = masterchefLpTokens.map((amount, i) => ({
let lpPools = masterchefLpTokens.map((amount, i) => ({
balance: amount.output.amount,
token: pools.filter(p => p.pid !== undefined)[i].lpTokenAddress
}))
Expand All @@ -150,6 +150,7 @@ async function tvlV2Onchain(block, chain) {
balance: amount.output,
token: pools[i].lpTokenAddress
}))
lpPools = lpPools.filter(p => p.token != '0x2a8a315e82f85d1f0658c5d66a452bbdd9356783')
await unwrapUniswapLPs(balances, lpPools, block, chain, transform)

return balances
Expand Down

0 comments on commit 0e16910

Please sign in to comment.