Skip to content

Commit

Permalink
chore: remove debug comment
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Nov 26, 2024
1 parent 498fbd3 commit 7f1aa5b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/lib/modules/pool/actions/LiquidityActionHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,8 @@ export class LiquidityActionHelpers {
/* Used by calculateProportionalAmounts for V3 boosted proportional adds */
public get boostedPoolStateWithBalances(): PoolStateWithBalances {
const underlyingTokensWithBalance: PoolTokenWithBalance[] = this.pool.poolTokens.map(
(token, index) => {
if (token.underlyingToken) {
console.log({
tokenName: token.underlyingToken.symbol,
underlyingBalance: bn(token.balance).multipliedBy(bn(token.priceRate)).toFixed(),
wrappingBalance: token.balance,
})
}
return token.underlyingToken
(token, index) =>
token.underlyingToken
? {
address: token.underlyingToken?.address as Address,
decimals: token.underlyingToken?.decimals as number,
Expand All @@ -136,7 +129,6 @@ export class LiquidityActionHelpers {
balance: token.balance as HumanAmount,
index,
}
}
)
const state: PoolStateWithBalances = {
id: this.pool.id as Hex,
Expand Down

0 comments on commit 7f1aa5b

Please sign in to comment.