@raydium-io/raydium-sdk-v2 0.2.18-alpha → 0.2.19-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.
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/raydium/account/account.d.ts +2 -2
- package/lib/raydium/clmm/clmm.d.ts +2 -2
- package/lib/raydium/clmm/index.d.ts +2 -2
- package/lib/raydium/clmm/instrument.d.ts +1 -1
- package/lib/raydium/clmm/layout.d.ts +1 -1
- package/lib/raydium/clmm/type.d.ts +1 -1
- package/lib/raydium/clmm/utils/math.d.ts +1 -1
- package/lib/raydium/clmm/utils/pool.d.ts +1 -1
- package/lib/raydium/clmm/utils/position.d.ts +1 -1
- package/lib/raydium/clmm/utils/tick.d.ts +1 -1
- package/lib/raydium/clmm/utils/tickQuery.d.ts +1 -1
- package/lib/raydium/cpmm/cpmm.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.js +1 -1
- package/lib/raydium/cpmm/cpmm.js.map +1 -1
- package/lib/raydium/cpmm/cpmm.mjs +1 -1
- package/lib/raydium/cpmm/cpmm.mjs.map +1 -1
- package/lib/raydium/cpmm/layout.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +2 -2
- package/lib/raydium/ido/ido.d.ts +2 -2
- package/lib/raydium/ido/index.d.ts +2 -2
- package/lib/raydium/index.d.ts +2 -2
- package/lib/raydium/index.js +1 -1
- package/lib/raydium/index.js.map +1 -1
- package/lib/raydium/index.mjs +1 -1
- package/lib/raydium/index.mjs.map +1 -1
- package/lib/raydium/launchpad/index.d.ts +2 -2
- package/lib/raydium/launchpad/launchpad.d.ts +2 -2
- package/lib/raydium/launchpad/layout.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +2 -2
- package/lib/raydium/liquidity/liquidity.d.ts +2 -2
- package/lib/raydium/marketV2/createMarket.d.ts +2 -2
- package/lib/raydium/marketV2/index.d.ts +2 -2
- package/lib/raydium/moduleBase.d.ts +2 -2
- package/lib/raydium/raydium.d.ts +2 -2
- package/lib/raydium/raydium.js +1 -1
- package/lib/raydium/raydium.js.map +1 -1
- package/lib/raydium/raydium.mjs +1 -1
- package/lib/raydium/raydium.mjs.map +1 -1
- package/lib/raydium/token/token.d.ts +2 -2
- package/lib/raydium/tradeV2/index.d.ts +1 -1
- package/lib/raydium/tradeV2/instrument.d.ts +1 -1
- package/lib/raydium/tradeV2/trade.d.ts +2 -2
- package/lib/raydium/tradeV2/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +2 -2
- package/lib/raydium/utils1216/utils1216.d.ts +2 -2
- package/lib/{raydium-3337931c.d.ts → raydium-a0551e10.d.ts} +2 -2
- package/package.json +1 -1
- package/src/raydium/cpmm/cpmm.ts +8 -2
- /package/lib/{type-f8905221.d.ts → type-400dcd9a.d.ts} +0 -0
|
@@ -16,9 +16,9 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js
|
|
|
16
16
|
creatorFeeRate: BN;
|
|
17
17
|
}>;
|
|
18
18
|
declare const CpmmPoolInfoLayout: Structure<number | boolean | _solana_web3_js.PublicKey | number[] | Buffer | BN | BN[], "", {
|
|
19
|
-
status: number;
|
|
20
19
|
bump: number;
|
|
21
20
|
openTime: BN;
|
|
21
|
+
status: number;
|
|
22
22
|
mintA: _solana_web3_js.PublicKey;
|
|
23
23
|
mintB: _solana_web3_js.PublicKey;
|
|
24
24
|
vaultA: _solana_web3_js.PublicKey;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../../api-4c9df9c5.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-a0551e10.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-400dcd9a.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
package/lib/raydium/ido/ido.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../../api-4c9df9c5.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { f as default } from '../../raydium-
|
|
4
|
+
export { f as default } from '../../raydium-a0551e10.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-400dcd9a.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { f as default } from '../../raydium-
|
|
1
|
+
export { f as default } from '../../raydium-a0551e10.js';
|
|
2
2
|
export { makeClaimInstruction, makeClaimInstructionV4, makePurchaseInstruction } from './instruction.js';
|
|
3
3
|
export { ClaimInstructionKeys, ClaimInstructionKeysV3, IdoClaimInstructionParams, IdoPoolConfig, IdoUserKeys, IdoVersion, PurchaseInstructionKeys, SnapshotVersion } from './type.js';
|
|
4
4
|
export { claimLayout, purchaseLayout } from './layout.js';
|
|
@@ -25,7 +25,7 @@ import '../liquidity/stable.js';
|
|
|
25
25
|
import '../liquidity/type.js';
|
|
26
26
|
import '../liquidity/layout.js';
|
|
27
27
|
import '../clmm/layout.js';
|
|
28
|
-
import '../../type-
|
|
28
|
+
import '../../type-400dcd9a.js';
|
|
29
29
|
import '../cpmm/type.js';
|
|
30
30
|
import '../cpmm/curve/calculator.js';
|
|
31
31
|
import '../cpmm/layout.js';
|
package/lib/raydium/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Clmm, L as LaunchpadPoolInitParam, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, e as SwapInfoReturnExt, d as canClaimErrorType } from '../raydium-
|
|
1
|
+
export { C as Clmm, L as LaunchpadPoolInitParam, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, e as SwapInfoReturnExt, d as canClaimErrorType } from '../raydium-a0551e10.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';
|
|
@@ -10,7 +10,7 @@ export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVo
|
|
|
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, F as ClmmLockAddress, E as ClmmParsedRpcData, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, z as ClosePositionExtInfo, v as CollectRewardParams, w as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, x as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, B as InitRewardExtInfo, r as InitRewardParams, s as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, o as OpenPositionFromBaseExtInfo, p as OpenPositionFromLiquidity, q as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, y as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, t as SetRewardParams, u as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, T as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, W as TickArrayState, V as TickState, X as TickUtils, U as UserPositionAccount } from '../type-
|
|
13
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, F as ClmmLockAddress, E as ClmmParsedRpcData, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, z as ClosePositionExtInfo, v as CollectRewardParams, w as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, x as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, B as InitRewardExtInfo, r as InitRewardParams, s as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, o as OpenPositionFromBaseExtInfo, p as OpenPositionFromLiquidity, q as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, y as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, t as SetRewardParams, u as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, T as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, W as TickArrayState, V as TickState, X as TickUtils, U as UserPositionAccount } from '../type-400dcd9a.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';
|