- Add
- Build mjs & cjs
- Change
- Fix swap fee currency
- Change
- Fix stable price
- Change
- Fix stable price
- Change
- Fix price impact
- Change
- Fix adjust price impact
- Return swap fee
- Change
- Fix init stable model layout
- Change
- Fix startTime
- Add
- Return
startTime
forLiquidity.fetchMultipleInfo
- Return
- Add
- Stable layout
- Add
- Stable and route for stable
- Change
- Fix route pools bug
- Add
executionPrice
forRoute
- Add
priceImpact
forRoute
- Change
- Fix route bug
- Change
- Trade return data structure
- Change
- Fixes route
- Add
getEnabledFeatures
forLiquidity
computeAmountOut
forRoute
- Change
- Rename
computeQuotePrice
togetRate
ofLiquidity
- Amount calculation is consistent with on-chain
- Route program ID and instructions
- Rename
- Add
makeCreatePoolTransaction
forLiquidity
makeInitPoolTransaction
forLiquidity
- Change
- Update dev dependencies
- Change
- Fixes bugs
- Update dev dependencies
- Change
- Optional param
startTime
ofLiquidity.makeInitPoolInstruction
- Optional param
- Add
- Add param
startTime
ofLiquidity.makeInitPoolInstruction
- Add param
- Change
- Fixes bugs
- Update dev dependencies
- Change
- Fixes bugs
- Change
- Accept token accounts to replace the original specified account when make transaction
- Change
- Fixes
- Update dev dependencies
- Add
- Return
priceImpact
forLiquidity.computeCurrencyAmountOut
andLiquidity.computeCurrencyAmountIn
- Return
- Change
- Fixes
- Change
- Fixes
- Add
makeSwapInstruction
forLiquidity
gt
andlt
forCurrencyAmount
- Add
makeRemoveLiquidityTransaction
forLiquidity
- Change
- Rename params of
Liquidity.makeAddLiquidityTransaction
- Rename params of
Liquidity.makeAddLiquidityInstructionV4
- Rename
computeAnotherTokenAmount
tocomputeAnotherCurrencyAmount
ofLiquidity
- Rename params of
Liquidity.computeAnotherCurrencyAmount
- Rename
computeTokenAmountOut
tocomputeCurrencyAmountOut
ofLiquidity
- Rename params of
Liquidity.computeCurrencyAmountOut
- Rename
computeTokenAmountIn
tocomputeCurrencyAmountIn
ofLiquidity
- Rename params of
Liquidity.computeCurrencyAmountIn
- Rename params of
- Add
makeAddLiquidityTransaction
forLiquidity
fetchInfo
forLiquidity
- Change
- Rename
getPools
tofetchAllPoolKeys
ofLiquidity
- Rename
getMultipleInfo
tofetchMultipleInfo
ofLiquidity
- Rename
getAmountB
tocomputeAnotherTokenAmount
ofLiquidity
- Rename
getAmountOut
tocomputeTokenAmountOut
ofLiquidity
- Rename
getAmountIn
tocomputeTokenAmountIn
ofLiquidity
- Update dev dependencies
- Rename
- Add
makeSwapFixedOutInstructionV4
forLiquidity
- Change
- Rename
makeSwapInstructionV4
tomakeSwapFixedInInstructionV4
ofLiquidity
- Rename params
side
totradeSide
ofLiquidity
- Update dev dependencies
- Rename
- Add
getQuote
forLiquidity
getAmountB
forLiquidity
getAmountOut
forLiquidity
getAmountIn
forLiquidity
- Change
- Rename
getOutputAmount
togetAmountOut
ofLiquidity
- Update dev dependencies
- Rename
- Change
- Fix
pendingRewards
calculating forFarm
stake pool
- Fix
- Add
- ledger PDA for
Farm v3
- ledger PDA for
- Change
- Raising the priority of
version
parameters - Return
Object
instead ofArray
whenever possible, but the order of theObject
will be consistent with theArray
, use a unique value for the key, such asid
ormint
or something else, etc. - Don't calculate ATA / PDA in function
- Rename type
PublicKeyIsh
toPublicKeyish
- Rename type
BigNumberIsh
toBigNumberish
- Rename
marketVaultSigner
tomarketAuthority
forpoolKeys
- Rename
getAssociatedVaultSigner
togetAssociatedAuthority
forMarket
- Update dev dependencies
- Raising the priority of
- Change
- Fix
Spl
functions amount params - Update dev dependencies
- Fix
- Add
makeCreatePoolInstruction
andmakeInitPoolInstruction
forLiquidity
- Change
- Rename all getAssociated functions
- Rename
tempLpVault
tolpVault
- Rename
getAssociatedTokenAddress
togetAssociatedTokenAccount
ofSpl
- Return
nonce
forLiquidity.getAssociatedAuthority
- Fix
Farm
ledger PDA - Update dev dependencies
- Add
- getMultipleInfo for
Liquidity
- getMultipleInfo for
- Change
- Fix
Farm
v5 instructions - Update dev dependencies
- Fix
- Add
- Calculate
pendingRewards
forFarm.getMultipleInfo
- Calculate
- Change
- Fix
Farm
ledger PDA algorithm - Fix
Farm
layout versions - Update dev dependencies
- Fix
- Change
- Fix typo
- Add
poolKeys2JsonInfo
(convert poolKeys to JsonInfo)
- Change
- Fix
CurrencyAmount
- Update dev dependencies
- Fix
- Add
getOutputAmount
static function forLiquidity
- Change
- Rename and change the types of
MAINNET_LIQUIDITY_POOLS
,TESTNET_LIQUIDITY_POOLS
,DEVNET_LIQUIDITY_POOLS
- Return variable names of
Liquidity.getInfo
:baseBalance
tobaseReserve
,quoteBalance
toquoteReserve
- Rename and change the types of
- Add
getPools
static function forLiquidity
(fetch pools on-chain)
- Change
- Flat params of
Liquidity.getInfo
- Rename all layouts types
- Change version types to
number
in allpoolKeys
- Update peer dependencies
- Update dev dependencies
- Flat params of
- Remove
getInfo
static function forLiquidity
- Add
getInfo
static function forLiquidity
(simulate way)
- Change
- Update dev dependencies