@solana/spl-token-swap - v0.1.0
joncinque
released this
01 Mar 22:37
·
4913 commits
to master
since this release
Changes
- Make all layouts compatible with SPL Token Swap v2.0.0
- Specify
CurveType
on pool initialization:ConstantProduct
,ConstantPrice
, orOffset
- New instructions
depositSingleTokenTypeExactAmountIn
: deposit one token type in exchange for pool tokens, instead of both typeswithdrawSingleTokenTypeExactAmountOut
: withdraw one token type in exchange for pool tokens, instead of both types