Skip to content

v0.9.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 09:41
· 578 commits to main since this release
ba32e16

Minor Changes

  • cadb555: * Refactor Swap class to work with new API SOR query response.
    • Swap class has V2/V3 handler (V3 WIP in follow up PR)
    • Swap example added
    • Limits refactored to be internal to V2 implementation. buildCall used to create based on input Slippage. Returns minAmountOut/maxAmountIn for users.
    • PriceImpact can no longer be calculated in Swap as missing pool state/maths. This has been removed for now and will be added as onchain helper in future.
  • 40ee7be: Remove SOR related code & other stale code/exports.