@raydium-io/raydium-sdk-v2 0.1.115-alpha → 0.1.116-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/lib/api/api.d.ts +1 -1
  2. package/lib/api/index.d.ts +1 -1
  3. package/lib/api/type.d.ts +1 -1
  4. package/lib/{api-373aef5f.d.ts → api-790b1baf.d.ts} +13 -13
  5. package/lib/common/accountInfo.d.ts +1 -1
  6. package/lib/common/bignumber.d.ts +1 -1
  7. package/lib/common/constant.d.ts +1 -1
  8. package/lib/common/fractionUtil.d.ts +1 -1
  9. package/lib/common/index.d.ts +1 -1
  10. package/lib/common/transfer.d.ts +1 -1
  11. package/lib/common/txTool/txTool.d.ts +1 -1
  12. package/lib/common/txTool/txUtils.d.ts +1 -1
  13. package/lib/common/utility.d.ts +1 -1
  14. package/lib/index.d.ts +3 -3
  15. package/lib/index.js +1 -1
  16. package/lib/index.js.map +1 -1
  17. package/lib/index.mjs +1 -1
  18. package/lib/index.mjs.map +1 -1
  19. package/lib/module/amount.d.ts +1 -1
  20. package/lib/module/fraction.d.ts +1 -1
  21. package/lib/module/index.d.ts +1 -1
  22. package/lib/module/percent.d.ts +1 -1
  23. package/lib/module/price.d.ts +1 -1
  24. package/lib/raydium/account/account.d.ts +3 -3
  25. package/lib/raydium/account/index.d.ts +1 -1
  26. package/lib/raydium/account/instruction.d.ts +1 -1
  27. package/lib/raydium/account/layout.d.ts +2 -2
  28. package/lib/raydium/account/types.d.ts +1 -1
  29. package/lib/raydium/account/util.d.ts +1 -1
  30. package/lib/raydium/clmm/clmm.d.ts +3 -3
  31. package/lib/raydium/clmm/index.d.ts +3 -3
  32. package/lib/raydium/clmm/instrument.d.ts +2 -2
  33. package/lib/raydium/clmm/layout.d.ts +12 -12
  34. package/lib/raydium/clmm/type.d.ts +2 -2
  35. package/lib/raydium/clmm/utils/math.d.ts +2 -2
  36. package/lib/raydium/clmm/utils/pool.d.ts +2 -2
  37. package/lib/raydium/clmm/utils/position.d.ts +2 -2
  38. package/lib/raydium/clmm/utils/tick.d.ts +2 -2
  39. package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
  40. package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
  41. package/lib/raydium/cpmm/cpmm.d.ts +3 -3
  42. package/lib/raydium/cpmm/curve/calculator.d.ts +1 -1
  43. package/lib/raydium/cpmm/curve/constantProduct.d.ts +1 -1
  44. package/lib/raydium/cpmm/index.d.ts +1 -1
  45. package/lib/raydium/cpmm/instruction.d.ts +1 -1
  46. package/lib/raydium/cpmm/layout.d.ts +3 -3
  47. package/lib/raydium/cpmm/type.d.ts +1 -1
  48. package/lib/raydium/farm/config.d.ts +1 -1
  49. package/lib/raydium/farm/farm.d.ts +3 -3
  50. package/lib/raydium/farm/index.d.ts +1 -1
  51. package/lib/raydium/farm/instruction.d.ts +1 -1
  52. package/lib/raydium/farm/layout.d.ts +1 -1
  53. package/lib/raydium/farm/type.d.ts +1 -1
  54. package/lib/raydium/farm/util.d.ts +1 -1
  55. package/lib/raydium/ido/ido.d.ts +3 -3
  56. package/lib/raydium/ido/index.d.ts +3 -3
  57. package/lib/raydium/ido/instruction.d.ts +1 -1
  58. package/lib/raydium/ido/type.d.ts +1 -1
  59. package/lib/raydium/index.d.ts +3 -3
  60. package/lib/raydium/index.js +1 -1
  61. package/lib/raydium/index.js.map +1 -1
  62. package/lib/raydium/index.mjs +1 -1
  63. package/lib/raydium/index.mjs.map +1 -1
  64. package/lib/raydium/liquidity/index.d.ts +1 -1
  65. package/lib/raydium/liquidity/instruction.d.ts +1 -1
  66. package/lib/raydium/liquidity/layout.d.ts +2 -2
  67. package/lib/raydium/liquidity/liquidity.d.ts +3 -3
  68. package/lib/raydium/liquidity/type.d.ts +1 -1
  69. package/lib/raydium/liquidity/utils.d.ts +1 -1
  70. package/lib/raydium/marketV2/createMarket.d.ts +3 -3
  71. package/lib/raydium/marketV2/index.d.ts +3 -3
  72. package/lib/raydium/moduleBase.d.ts +3 -3
  73. package/lib/raydium/raydium.d.ts +3 -3
  74. package/lib/raydium/raydium.js +1 -1
  75. package/lib/raydium/raydium.js.map +1 -1
  76. package/lib/raydium/raydium.mjs +1 -1
  77. package/lib/raydium/raydium.mjs.map +1 -1
  78. package/lib/raydium/serum/layout.d.ts +2 -2
  79. package/lib/raydium/token/constant.d.ts +1 -1
  80. package/lib/raydium/token/index.d.ts +1 -1
  81. package/lib/raydium/token/layout.d.ts +2 -2
  82. package/lib/raydium/token/token.d.ts +3 -3
  83. package/lib/raydium/token/type.d.ts +1 -1
  84. package/lib/raydium/token/utils.d.ts +1 -1
  85. package/lib/raydium/tradeV2/index.d.ts +2 -2
  86. package/lib/raydium/tradeV2/index.js.map +1 -1
  87. package/lib/raydium/tradeV2/index.mjs.map +1 -1
  88. package/lib/raydium/tradeV2/instrument.d.ts +2 -2
  89. package/lib/raydium/tradeV2/trade.d.ts +3 -3
  90. package/lib/raydium/tradeV2/trade.js +1 -1
  91. package/lib/raydium/tradeV2/trade.js.map +1 -1
  92. package/lib/raydium/tradeV2/trade.mjs +1 -1
  93. package/lib/raydium/tradeV2/trade.mjs.map +1 -1
  94. package/lib/raydium/tradeV2/type.d.ts +2 -2
  95. package/lib/raydium/type.d.ts +1 -1
  96. package/lib/raydium/utils1216/index.d.ts +3 -3
  97. package/lib/raydium/utils1216/utils1216.d.ts +3 -3
  98. package/lib/{raydium-3019c096.d.ts → raydium-3aeddb2c.d.ts} +4 -4
  99. package/lib/{type-8aeb1b3b.d.ts → type-e7d4dc1c.d.ts} +1 -1
  100. package/package.json +1 -1
  101. package/src/raydium/tradeV2/trade.ts +17 -17
@@ -1,16 +1,16 @@
1
- export { C as Clmm, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-3019c096.js';
1
+ export { C as Clmm, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-3aeddb2c.js';
2
2
  export { splAccountLayout } from './account/layout.js';
3
3
  export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './account/types.js';
4
4
  export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './account/util.js';
5
5
  export { closeAccountInstruction, createWSolAccountInstructions, initTokenAccountInstruction, makeTransferInstruction } from './account/instruction.js';
6
- export { bj as APIRewardInfo, d as ApiClmmConfigInfo, bZ as ArrayItem, bO as ComputeBudgetConfig, c4 as Cover, bp as CreateFarm, bq as CreateFarmExtInfo, b_ as ExactPartial, b$ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c3 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bS as GetTransferAmountFee, c1 as GetValue, bN as InstructionReturn, bQ as LoadParams, bH as LpToken, bM as MakeMultiTransaction, bK as MakeTransaction, bL as MakeV0Transaction, bW as MayArray, bX as MayDeepArray, bY as MayFunction, bV as ReplaceType, bT as ReturnTypeFetchMultipleMintInfo, bU as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, c0 as SKeyof, c2 as SOR, bJ as SignAllTransactions, bG as SplToken, bE as TokenInfo, bF as TokenJson, bR as TransferAmountFee, bP as TxTipConfig, c5 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, c6 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../api-373aef5f.js';
6
+ export { bj as APIRewardInfo, d as ApiClmmConfigInfo, bZ as ArrayItem, bO as ComputeBudgetConfig, c4 as Cover, bp as CreateFarm, bq as CreateFarmExtInfo, b_ as ExactPartial, b$ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c3 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bS as GetTransferAmountFee, c1 as GetValue, bN as InstructionReturn, bQ as LoadParams, bH as LpToken, bM as MakeMultiTransaction, bK as MakeTransaction, bL as MakeV0Transaction, bW as MayArray, bX as MayDeepArray, bY as MayFunction, bV as ReplaceType, bT as ReturnTypeFetchMultipleMintInfo, bU as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, c0 as SKeyof, c2 as SOR, bJ as SignAllTransactions, bG as SplToken, bE as TokenInfo, bF as TokenJson, bR as TransferAmountFee, bP as TxTipConfig, c5 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, c6 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../api-790b1baf.js';
7
7
  export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './farm/util.js';
8
8
  export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV4, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './farm/instruction.js';
9
9
  export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './farm/pda.js';
10
10
  export { SOL_INFO, TOKEN_WSOL } from './token/constant.js';
11
11
  export { SPL_MINT_LAYOUT, SplMintLayout } from './token/layout.js';
12
12
  export { parseTokenInfo, solToWSolToken, toApiV3Token, toFeeConfig, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './token/utils.js';
13
- export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-8aeb1b3b.js';
13
+ export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-e7d4dc1c.js';
14
14
  export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './clmm/layout.js';
15
15
  export { ClmmInstrument } from './clmm/instrument.js';
16
16
  export { BIT_PRECISION, FEE_RATE_DENOMINATOR, Fee, LOG_B_2_X32, LOG_B_P_ERR_MARGIN_LOWER_X64, LOG_B_P_ERR_MARGIN_UPPER_X64, MAX_SQRT_PRICE_X64, MAX_SQRT_PRICE_X64_SUB_ONE, MAX_TICK, MIN_SQRT_PRICE_X64, MIN_SQRT_PRICE_X64_ADD_ONE, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './clmm/utils/constants.js';