Skip to content

Releases: pontem-network/liquidswap-sdk

Release v

19 Aug 13:39
Compare
Choose a tag to compare

What's Changed

  • [feat-ls-2155-indexer]: update config by @ildarH in #53

New Contributors

Full Changelog: v0.7.1...v

Pools v0.5

18 Mar 10:12
9f9c329
Compare
Choose a tag to compare

In order to work with pools version v.0.5 it is necessary to provide two additional parameters to 'networkOptions' in SDK init:
resourceAccountV05 - resource account for v.0.5 pools
moduleAccountV05 - module account for v.0.5 pools

Also added new parameter 'version' for functions like calculateRates, getAmountIn, getAmountOut, and createSwapTransactionPayload.
'version' could be only 0 or 0.5 as number;
This parameter optional. if not provided - it treats like version is 0.
If provided version 0.5 - resourceAccountV05 and moduleAccountV05 will be used for calculations of reserves and curves.

v0.5.7

13 Mar 09:06
e550601
Compare
Choose a tag to compare
  • fixed slippage calculation for stable swaps.

v0.5.4

09 Jan 14:34
2adefd3
Compare
Choose a tag to compare

Removed unnecessary params of getLiquidityPoolResource() function at Swap module.

What's Changed

  • feat(swap):APT-986 fix getLiquidityPoolResource params by @lusd in #42

Full Changelog: v0.5.3...v0.5.4

v0.5.3

08 Dec 12:45
67503bd
Compare
Choose a tag to compare

What's Changed

  • Updated readme.
  • Added usage examples with Aptos SDK.
  • Updated Swap module.
  • Added Liquidity and Pools modules.
  • Added methods to calculate getAmountOut and getAmountIn, which are shortcuts for calculateRateAndMinReceivedLP.
  • Renamed typeArguments to type_arguments.

Full Changelog: v0.4.0...v0.5.3

v0.4.0

17 Nov 10:48
Compare
Choose a tag to compare