Skip to content

Commit

Permalink
Merge pull request #176 from balancer/mkflow27/issue175
Browse files Browse the repository at this point in the history
Clarification for b-sdk usage for v2.
  • Loading branch information
mkflow27 authored Nov 25, 2024
2 parents 090b76d + c174d64 commit 108ef4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Add liquidity to a pool

This guide demonstrates how to add liquidity to a pool. We will use the `addLiquidityUnbalanced` method, since it allows exact amounts of any pool token to be added to a pool, avoiding unnecessary dust in the user's wallet. See the [Router API](/developer-reference/contracts/router-api.html) for other supported add methods.

_This guide is for adding liquidity to Balancer v3. If you're looking to add liquidity to a Balancer v2 pool, start [here](https://docs.balancer.fi/guides/builders/join-pool.html)._
_This guide is for adding liquidity to Balancer v3 with the [b-sdk](https://github.com/balancer/b-sdk). This sdk supports adding liquidity to Balancer v3, Balancer v2 as well as Cow-AMMs._

## Core Concepts

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Remove liquidity from a pool

This guide demonstrates how to remove liquidity from a pool. We will use the preferred function for removing liquidity, `removeLiquidityProportional`. Tokens are removed from the pool in proportional amounts, causing zero price impact and avoiding the swap fee charged when exiting non-proportional. Specifying an exactBptAmountIn ensures that the user will not be left with any dust. See the [Router API](../router/overview.html) for other supported remove methods.

_This guide is for removing liquidity to Balancer v3. If you're looking to remove liquidity from a Balancer v2 pool, start [here](https://docs.balancer.fi/guides/builders/exit-pool.html)._
_This guide is for removing liquidity from Balancer v3 with the [b-sdk](https://github.com/balancer/b-sdk). This sdk supports removing liquidity from Balancer v3, Balancer v2 as well as Cow-AMMs._

## Core Concepts

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This guide illustrates the process of executing swaps through the router once sw

_To use the Balancer Smart Order Router to find efficient swap paths for a pair see [this guide](./swaps-with-sor-sdk.md)._

_This guide is for Swapping on Balancer v3. If you're looking to Swap using Balancer v2, start [here](https://docs.balancer.fi/reference/swaps/batch-swaps.html)._
_This guide is for Swapping on Balancer v3. The sdk supports swapping on v3 and Balancer v2._

## Core Concepts

Expand Down

0 comments on commit 108ef4a

Please sign in to comment.