Skip to content

Releases: balancer/b-sdk

v0.33.1

29 Nov 19:43
4eb019b
Compare
Choose a tag to compare

Patch Changes

  • b2b9411: Enable add liquidity proportional for stable pools on v3

v0.33.0

28 Nov 09:43
09c9321
Compare
Choose a tag to compare

Minor Changes

  • 2d192ff: Update to testnet deployment 11

v0.32.2

25 Nov 16:51
d456c86
Compare
Choose a tag to compare

Patch Changes

  • c5e3ffd: Refactor nestedPoolState logic to fetch mainTokens from api
  • ac0c5a5: Add proportional helper to calculate BPT from a reference amount for boosted pools
  • 2712ee0: Fix getPoolStateWithBalancesV3 with less 18 decimals tokens
  • 1455fde: Fix circular dependency on price impact implementation

v0.32.1

08 Nov 10:41
c892033
Compare
Choose a tag to compare

Patch Changes

  • 603fbd5: fix: nested single token remove v2 validation

v0.32.0

07 Nov 10:02
67b2969
Compare
Choose a tag to compare

Minor Changes

  • b927594: Tidy nested types. Share common with boosted.
    Support for V3 addLiquidityNested PI (including nested boosted).
  • f2f1e42: BPT swaps as first step & change of batch router address

Patch Changes

  • dcd1f0d: PriceImpact error handling and messaging improvements.
    • Catch any errors with initial add/remove steps - these are thrown because the user input is valid, e.g. would cause INVARIANT_GROWTH errors
    • Catch any errors in query during unbalanced calc steps and throw message that will help with debug - e.g. caused by delta amounts
  • 52fed3d: Fix PI test.

v0.31.2

05 Nov 16:24
d1f9427
Compare
Choose a tag to compare

Patch Changes

  • 72a96fb: fix: validateBuffer check for V2 buffer array.

v0.31.1

04 Nov 11:42
166466c
Compare
Choose a tag to compare

Patch Changes

  • 46bcb86: Update CompositeRouter address (deploy10 version with bug fix).
    Remove CompositeRouter workarounds for Boosted Price Impact.

v0.31.0

04 Nov 10:09
e835ce3
Compare
Choose a tag to compare

Minor Changes

  • a1b87c6: Add to field to query outputs. Useful for correct approval spender before build.
  • e234fc1: Remove Swap Price Impact function and tests.
  • 4e32362: Add optional sender and userData inputs for add/remove/swap queries. Sender can be used to query accurate result when pool may have hook thats behaviour is affected by sender, e.g. loyalty fee hook.

Patch Changes

  • 2a664ce: Make boosted add/remove support partial boosted.
  • a33d0fc: Expose isBatchSwap on swap class

v0.30.1

31 Oct 11:35
2c12613
Compare
Choose a tag to compare

Patch Changes

  • a080968: chore: remove unused totalShares field from PoolStateWithUnderlyings type

v0.30.0

30 Oct 19:09
ac6c8fc
Compare
Choose a tag to compare

Minor Changes

  • 1ce9784: added add and remove liquidity for boosted pools