Skip to content

Releases: balancer/b-sdk

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

v0.29.1

30 Oct 09:47
c687227
Compare
Choose a tag to compare

Patch Changes

  • 84f3259: Full nested pool support and tests.

v0.29.0

25 Oct 13:04
884dec3
Compare
Choose a tag to compare

Minor Changes

  • 8d4d0ee: Add add/remove support for V3 nested pools.
  • ae2c177: Update to Deploy 10.

Patch Changes

v0.28.2

16 Oct 18:31
fb33b61
Compare
Choose a tag to compare

Patch Changes

  • 5442afb: Add support for userData to v3 swaps