@raydium-io/raydium-sdk-v2 0.1.92-alpha → 0.1.94-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/api/api.d.ts +1 -1
- package/lib/api/index.d.ts +1 -1
- package/lib/api/type.d.ts +1 -1
- package/lib/{api-9d98bd04.d.ts → api-c8ce9f12.d.ts} +18 -18
- package/lib/common/accountInfo.d.ts +1 -1
- package/lib/common/bignumber.d.ts +1 -1
- package/lib/common/constant.d.ts +1 -1
- package/lib/common/fractionUtil.d.ts +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/transfer.d.ts +1 -1
- package/lib/common/txTool/txTool.d.ts +1 -1
- package/lib/common/txTool/txUtils.d.ts +1 -1
- package/lib/common/utility.d.ts +1 -1
- package/lib/index.d.ts +3 -3
- 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/module/amount.d.ts +1 -1
- package/lib/module/fraction.d.ts +1 -1
- package/lib/module/index.d.ts +1 -1
- package/lib/module/percent.d.ts +1 -1
- package/lib/module/price.d.ts +1 -1
- package/lib/raydium/account/account.d.ts +3 -3
- package/lib/raydium/account/account.js +1 -1
- package/lib/raydium/account/account.js.map +1 -1
- package/lib/raydium/account/account.mjs +1 -1
- package/lib/raydium/account/account.mjs.map +1 -1
- package/lib/raydium/account/index.d.ts +1 -1
- package/lib/raydium/account/instruction.d.ts +1 -1
- package/lib/raydium/account/layout.d.ts +3 -3
- package/lib/raydium/account/types.d.ts +1 -1
- package/lib/raydium/account/util.d.ts +1 -1
- package/lib/raydium/clmm/clmm.d.ts +3 -3
- package/lib/raydium/clmm/index.d.ts +3 -3
- package/lib/raydium/clmm/instrument.d.ts +2 -2
- package/lib/raydium/clmm/layout.d.ts +12 -12
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/clmm/utils/math.d.ts +2 -2
- package/lib/raydium/clmm/utils/pool.d.ts +2 -2
- package/lib/raydium/clmm/utils/position.d.ts +2 -2
- package/lib/raydium/clmm/utils/tick.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +3 -3
- package/lib/raydium/cpmm/curve/calculator.d.ts +1 -1
- package/lib/raydium/cpmm/curve/constantProduct.d.ts +1 -1
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/instruction.d.ts +1 -1
- package/lib/raydium/cpmm/layout.d.ts +3 -3
- package/lib/raydium/cpmm/type.d.ts +1 -1
- package/lib/raydium/farm/config.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +3 -3
- package/lib/raydium/farm/farm.js +1 -1
- package/lib/raydium/farm/farm.js.map +1 -1
- package/lib/raydium/farm/farm.mjs +1 -1
- package/lib/raydium/farm/farm.mjs.map +1 -1
- package/lib/raydium/farm/index.d.ts +1 -1
- package/lib/raydium/farm/instruction.d.ts +1 -1
- package/lib/raydium/farm/layout.d.ts +1 -1
- package/lib/raydium/farm/type.d.ts +1 -1
- package/lib/raydium/farm/util.d.ts +1 -1
- package/lib/raydium/ido/ido.d.ts +3 -3
- package/lib/raydium/ido/index.d.ts +3 -3
- package/lib/raydium/ido/instruction.d.ts +1 -1
- package/lib/raydium/ido/type.d.ts +1 -1
- package/lib/raydium/index.d.ts +3 -3
- 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/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +4 -4
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/type.d.ts +1 -1
- package/lib/raydium/liquidity/utils.d.ts +1 -1
- package/lib/raydium/marketV2/createMarket.d.ts +3 -3
- package/lib/raydium/marketV2/index.d.ts +3 -3
- package/lib/raydium/moduleBase.d.ts +3 -3
- package/lib/raydium/raydium.d.ts +3 -3
- 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/serum/layout.d.ts +2 -2
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/layout.d.ts +2 -2
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/type.d.ts +1 -1
- package/lib/raydium/token/utils.d.ts +1 -1
- package/lib/raydium/tradeV2/index.d.ts +2 -2
- package/lib/raydium/tradeV2/instrument.d.ts +2 -2
- package/lib/raydium/tradeV2/trade.d.ts +3 -3
- package/lib/raydium/tradeV2/type.d.ts +2 -2
- package/lib/raydium/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +3 -3
- package/lib/raydium/utils1216/utils1216.d.ts +3 -3
- package/lib/{raydium-cfb7854f.d.ts → raydium-7bc83789.d.ts} +6 -5
- package/lib/{type-351304d7.d.ts → type-2c421f5d.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/account/account.ts +9 -18
- package/src/raydium/farm/farm.ts +43 -11
|
@@ -6,7 +6,7 @@ import '../../marshmallow/index.js';
|
|
|
6
6
|
import '@solana/web3.js';
|
|
7
7
|
import 'bn.js';
|
|
8
8
|
import '../../marshmallow/buffer-layout.js';
|
|
9
|
-
import '../../api-
|
|
9
|
+
import '../../api-c8ce9f12.js';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import '../../solana/type.js';
|
|
12
12
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Signer, Connection, Commitment } from '@solana/web3.js';
|
|
2
|
-
import { au as AddInstructionParam, ad as BigNumberish } from '../../api-
|
|
2
|
+
import { au as AddInstructionParam, ad as BigNumberish } from '../../api-c8ce9f12.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Structure } from '../../marshmallow/index.js';
|
|
2
|
-
import * as BN from 'bn.js';
|
|
3
2
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
3
|
+
import * as BN from 'bn.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const splAccountLayout: Structure<number | _solana_web3_js.PublicKey
|
|
7
|
-
owner: _solana_web3_js.PublicKey;
|
|
6
|
+
declare const splAccountLayout: Structure<number | BN | _solana_web3_js.PublicKey, "", {
|
|
8
7
|
state: number;
|
|
8
|
+
owner: _solana_web3_js.PublicKey;
|
|
9
9
|
amount: BN;
|
|
10
10
|
mint: _solana_web3_js.PublicKey;
|
|
11
11
|
delegateOption: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { ad as BigNumberish } from '../../api-
|
|
3
|
+
import { ad as BigNumberish } from '../../api-c8ce9f12.js';
|
|
4
4
|
import { GetStructureSchema } from '../../marshmallow/buffer-layout.js';
|
|
5
5
|
import { splAccountLayout } from './layout.js';
|
|
6
6
|
import 'axios';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, AccountInfo, RpcResponseAndContext, GetProgramAccountsResponse } from '@solana/web3.js';
|
|
2
2
|
import { TokenAccount, TokenAccountRaw } from './types.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-c8ce9f12.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-c8ce9f12.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
+
export { C as Clmm } from '../../raydium-7bc83789.js';
|
|
7
7
|
import './layout.js';
|
|
8
|
-
import '../../type-
|
|
8
|
+
import '../../type-2c421f5d.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../solana/type.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as Clmm } from '../../raydium-
|
|
2
|
-
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-
|
|
1
|
+
export { C as Clmm } from '../../raydium-7bc83789.js';
|
|
2
|
+
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-2c421f5d.js';
|
|
3
3
|
export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './layout.js';
|
|
4
4
|
export { ClmmInstrument } from './instrument.js';
|
|
5
5
|
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 './utils/constants.js';
|
|
@@ -10,7 +10,7 @@ export { PositionUtils } from './utils/position.js';
|
|
|
10
10
|
export { FETCH_TICKARRAY_COUNT, PoolVars, TickQuery } from './utils/tickQuery.js';
|
|
11
11
|
export { EXTENSION_TICKARRAY_BITMAP_SIZE, TickArrayBitmap, TickArrayBitmapExtensionUtils } from './utils/tickarrayBitmap.js';
|
|
12
12
|
export { i16ToBytes, i32ToBytes, isZero, leadingZeros, leastSignificantBit, mostSignificantBit, trailingZeros, u16ToBytes, u32ToBytes } from './utils/util.js';
|
|
13
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
13
|
+
export { d as ApiClmmConfigInfo } from '../../api-c8ce9f12.js';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import '../../api/url.js';
|
|
16
16
|
import '../../common/owner.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bI as ReturnTypeMakeInstructions, o as ApiV3PoolInfoConcentratedItem, B as ClmmKeys, i as ApiV3Token } from '../../api-
|
|
3
|
+
import { bI as ReturnTypeMakeInstructions, o as ApiV3PoolInfoConcentratedItem, B as ClmmKeys, i as ApiV3Token } from '../../api-c8ce9f12.js';
|
|
4
4
|
import { ClmmPositionLayout } from './layout.js';
|
|
5
|
-
import { p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo, J as ClmmLockAddress } from '../../type-
|
|
5
|
+
import { p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo, J as ClmmLockAddress } from '../../type-2c421f5d.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -3,7 +3,7 @@ import * as BN from 'bn.js';
|
|
|
3
3
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const ClmmConfigLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
6
|
+
declare const ClmmConfigLayout: Structure<number | Buffer | _solana_web3_js.PublicKey | BN[], "", {
|
|
7
7
|
bump: number;
|
|
8
8
|
index: number;
|
|
9
9
|
tickSpacing: number;
|
|
@@ -14,7 +14,7 @@ declare const ObservationLayout: Structure<number | BN | BN[], "", {
|
|
|
14
14
|
blockTimestamp: number;
|
|
15
15
|
tickCumulative: BN;
|
|
16
16
|
}>;
|
|
17
|
-
declare const ObservationInfoLayout: Structure<number | boolean |
|
|
17
|
+
declare const ObservationInfoLayout: Structure<number | boolean | BN | Buffer | _solana_web3_js.PublicKey | BN[] | {
|
|
18
18
|
blockTimestamp: number;
|
|
19
19
|
tickCumulative: BN;
|
|
20
20
|
}[], "", {
|
|
@@ -27,7 +27,7 @@ declare const ObservationInfoLayout: Structure<number | boolean | _solana_web3_j
|
|
|
27
27
|
tickCumulative: BN;
|
|
28
28
|
}[];
|
|
29
29
|
}>;
|
|
30
|
-
declare const RewardInfo: Structure<number | _solana_web3_js.PublicKey
|
|
30
|
+
declare const RewardInfo: Structure<number | BN | _solana_web3_js.PublicKey, "", {
|
|
31
31
|
rewardState: number;
|
|
32
32
|
rewardClaimed: BN;
|
|
33
33
|
creator: _solana_web3_js.PublicKey;
|
|
@@ -40,7 +40,7 @@ declare const RewardInfo: Structure<number | _solana_web3_js.PublicKey | BN, "",
|
|
|
40
40
|
tokenVault: _solana_web3_js.PublicKey;
|
|
41
41
|
rewardGrowthGlobalX64: BN;
|
|
42
42
|
}>;
|
|
43
|
-
declare const PoolInfoLayout: Structure<number |
|
|
43
|
+
declare const PoolInfoLayout: Structure<number | BN | number[] | Buffer | _solana_web3_js.PublicKey | BN[] | {
|
|
44
44
|
rewardState: number;
|
|
45
45
|
rewardClaimed: BN;
|
|
46
46
|
creator: _solana_web3_js.PublicKey;
|
|
@@ -103,7 +103,7 @@ declare const PositionRewardInfoLayout: Structure<BN, "", {
|
|
|
103
103
|
growthInsideLastX64: BN;
|
|
104
104
|
rewardAmountOwed: BN;
|
|
105
105
|
}>;
|
|
106
|
-
declare const PositionInfoLayout: Structure<number |
|
|
106
|
+
declare const PositionInfoLayout: Structure<number | BN | Buffer | _solana_web3_js.PublicKey | BN[] | {
|
|
107
107
|
growthInsideLastX64: BN;
|
|
108
108
|
rewardAmountOwed: BN;
|
|
109
109
|
}[], "", {
|
|
@@ -123,7 +123,7 @@ declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
|
123
123
|
tokenFeesOwedB: BN;
|
|
124
124
|
}>;
|
|
125
125
|
declare type ClmmPositionLayout = ReturnType<typeof PositionInfoLayout.decode>;
|
|
126
|
-
declare const ProtocolPositionLayout: Structure<number |
|
|
126
|
+
declare const ProtocolPositionLayout: Structure<number | BN | Buffer | _solana_web3_js.PublicKey | BN[], "", {
|
|
127
127
|
bump: number;
|
|
128
128
|
poolId: _solana_web3_js.PublicKey;
|
|
129
129
|
liquidity: BN;
|
|
@@ -135,7 +135,7 @@ declare const ProtocolPositionLayout: Structure<number | _solana_web3_js.PublicK
|
|
|
135
135
|
tickUpperIndex: number;
|
|
136
136
|
rewardGrowthInside: BN[];
|
|
137
137
|
}>;
|
|
138
|
-
declare const TickLayout: Structure<number | number[] | BN
|
|
138
|
+
declare const TickLayout: Structure<number | BN | number[] | BN[], "", {
|
|
139
139
|
tick: number;
|
|
140
140
|
liquidityNet: BN;
|
|
141
141
|
liquidityGross: BN;
|
|
@@ -143,7 +143,7 @@ declare const TickLayout: Structure<number | number[] | BN | BN[], "", {
|
|
|
143
143
|
feeGrowthOutsideX64B: BN;
|
|
144
144
|
rewardGrowthsOutsideX64: BN[];
|
|
145
145
|
}>;
|
|
146
|
-
declare const TickArrayLayout: Structure<number |
|
|
146
|
+
declare const TickArrayLayout: Structure<number | number[] | Buffer | _solana_web3_js.PublicKey | {
|
|
147
147
|
tick: number;
|
|
148
148
|
liquidityNet: BN;
|
|
149
149
|
liquidityGross: BN;
|
|
@@ -163,22 +163,22 @@ declare const TickArrayLayout: Structure<number | _solana_web3_js.PublicKey | Bu
|
|
|
163
163
|
}[];
|
|
164
164
|
initializedTickCount: number;
|
|
165
165
|
}>;
|
|
166
|
-
declare const OperationLayout: Structure<_solana_web3_js.PublicKey[]
|
|
166
|
+
declare const OperationLayout: Structure<Buffer | _solana_web3_js.PublicKey[], "", {
|
|
167
167
|
whitelistMints: _solana_web3_js.PublicKey[];
|
|
168
168
|
}>;
|
|
169
|
-
declare const TickArrayBitmapExtensionLayout: Structure<_solana_web3_js.PublicKey |
|
|
169
|
+
declare const TickArrayBitmapExtensionLayout: Structure<Buffer | _solana_web3_js.PublicKey | BN[][], "", {
|
|
170
170
|
poolId: _solana_web3_js.PublicKey;
|
|
171
171
|
positiveTickArrayBitmap: BN[][];
|
|
172
172
|
negativeTickArrayBitmap: BN[][];
|
|
173
173
|
}>;
|
|
174
|
-
declare const LockPositionLayout: Structure<number | _solana_web3_js.PublicKey | BN
|
|
174
|
+
declare const LockPositionLayout: Structure<number | BN | _solana_web3_js.PublicKey | BN[], "", {
|
|
175
175
|
owner: _solana_web3_js.PublicKey;
|
|
176
176
|
bump: number;
|
|
177
177
|
poolId: _solana_web3_js.PublicKey;
|
|
178
178
|
positionId: _solana_web3_js.PublicKey;
|
|
179
179
|
nftAccount: _solana_web3_js.PublicKey;
|
|
180
180
|
}>;
|
|
181
|
-
declare const LockClPositionLayoutV2: Structure<number |
|
|
181
|
+
declare const LockClPositionLayoutV2: Structure<number | BN | Buffer | _solana_web3_js.PublicKey | BN[], "", {
|
|
182
182
|
bump: number;
|
|
183
183
|
poolId: _solana_web3_js.PublicKey;
|
|
184
184
|
lockOwner: _solana_web3_js.PublicKey;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
4
|
+
export { d as ApiClmmConfigInfo } from '../../api-c8ce9f12.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
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, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-
|
|
6
|
+
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, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-2c421f5d.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EpochInfo, PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { o as ApiV3PoolInfoConcentratedItem } from '../../../api-
|
|
5
|
-
import { g as ReturnTypeGetLiquidityAmountOut, W as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-
|
|
4
|
+
import { o as ApiV3PoolInfoConcentratedItem } from '../../../api-c8ce9f12.js';
|
|
5
|
+
import { g as ReturnTypeGetLiquidityAmountOut, W as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-2c421f5d.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, Connection, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { d as ComputeClmmPoolInfo, W as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, j as ReturnTypeComputeAmountOut, i as ReturnTypeComputeAmountOutFormat, k as ReturnTypeComputeAmountOutBaseOut, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
4
|
-
import { o as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-
|
|
3
|
+
import { d as ComputeClmmPoolInfo, W as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, j as ReturnTypeComputeAmountOut, i as ReturnTypeComputeAmountOutFormat, k as ReturnTypeComputeAmountOutBaseOut, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-2c421f5d.js';
|
|
4
|
+
import { o as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-c8ce9f12.js';
|
|
5
5
|
import Decimal from 'decimal.js';
|
|
6
6
|
import { TokenAccountRaw } from '../../account/types.js';
|
|
7
7
|
import { PoolInfoLayout } from '../layout.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { ClmmPositionLayout } from '../layout.js';
|
|
3
|
-
import { c as ClmmPoolInfo, V as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
3
|
+
import { c as ClmmPoolInfo, V as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-2c421f5d.js';
|
|
4
4
|
import '../../../marshmallow/index.js';
|
|
5
5
|
import '@solana/web3.js';
|
|
6
6
|
import '../../../marshmallow/buffer-layout.js';
|
|
7
7
|
import 'decimal.js';
|
|
8
|
-
import '../../../api-
|
|
8
|
+
import '../../../api-c8ce9f12.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../../solana/type.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
import '../../../api-
|
|
5
|
-
export { Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, Y as TickArrayState, X as TickState, Z as TickUtils } from '../../../type-
|
|
4
|
+
import '../../../api-c8ce9f12.js';
|
|
5
|
+
export { Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, Y as TickArrayState, X as TickState, Z as TickUtils } from '../../../type-2c421f5d.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { T as TickArrayBitmapExtensionType, W as TickArray, V as Tick } from '../../../type-
|
|
3
|
+
import { T as TickArrayBitmapExtensionType, W as TickArray, V as Tick } from '../../../type-2c421f5d.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-c8ce9f12.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
|
-
import { T as TickArrayBitmapExtensionType } from '../../../type-
|
|
2
|
+
import { T as TickArrayBitmapExtensionType } from '../../../type-2c421f5d.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-c8ce9f12.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-c8ce9f12.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import 'bn.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
export { i as default } from '../../raydium-
|
|
6
|
+
export { i as default } from '../../raydium-7bc83789.js';
|
|
7
7
|
import './type.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
|
@@ -23,7 +23,7 @@ import '../liquidity/stable.js';
|
|
|
23
23
|
import '../liquidity/type.js';
|
|
24
24
|
import '../liquidity/layout.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
|
-
import '../../type-
|
|
26
|
+
import '../../type-2c421f5d.js';
|
|
27
27
|
import '../tradeV2/type.js';
|
|
28
28
|
import './curve/calculator.js';
|
|
29
29
|
import './layout.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { i as ApiV3Token } from '../../../api-
|
|
3
|
+
import { i as ApiV3Token } from '../../../api-c8ce9f12.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../../solana/type.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { SwapWithoutFeesResult, RoundDirection, TradingTokenResult } from './calculator.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
|
-
import '../../../api-
|
|
4
|
+
import '../../../api-c8ce9f12.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -10,7 +10,7 @@ import '@solana/web3.js';
|
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
12
|
import 'decimal.js';
|
|
13
|
-
import '../../api-
|
|
13
|
+
import '../../api-c8ce9f12.js';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import '../../solana/type.js';
|
|
16
16
|
import '@solana/spl-token';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
3
|
-
import { q as ApiV3PoolInfoStandardItemCpmm, y as CpmmKeys, bI as ReturnTypeMakeInstructions } from '../../api-
|
|
3
|
+
import { q as ApiV3PoolInfoStandardItemCpmm, y as CpmmKeys, bI as ReturnTypeMakeInstructions } from '../../api-c8ce9f12.js';
|
|
4
4
|
import { CpmmLockExtInfo } from './type.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Structure } from '../../marshmallow/index.js';
|
|
2
|
-
import * as BN from 'bn.js';
|
|
3
2
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
3
|
+
import * as BN from 'bn.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const CpmmConfigInfoLayout: Structure<number | boolean |
|
|
6
|
+
declare const CpmmConfigInfoLayout: Structure<number | boolean | BN | Buffer | _solana_web3_js.PublicKey | BN[], "", {
|
|
7
7
|
bump: number;
|
|
8
8
|
index: number;
|
|
9
9
|
protocolFeeRate: BN;
|
|
@@ -14,7 +14,7 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js
|
|
|
14
14
|
protocolOwner: _solana_web3_js.PublicKey;
|
|
15
15
|
fundOwner: _solana_web3_js.PublicKey;
|
|
16
16
|
}>;
|
|
17
|
-
declare const CpmmPoolInfoLayout: Structure<number |
|
|
17
|
+
declare const CpmmPoolInfoLayout: Structure<number | BN | Buffer | _solana_web3_js.PublicKey | BN[], "", {
|
|
18
18
|
bump: number;
|
|
19
19
|
openTime: BN;
|
|
20
20
|
status: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bO as ComputeBudgetConfig, q as ApiV3PoolInfoStandardItemCpmm, y as CpmmKeys, cb as Percent, bR as GetTransferAmountFee } from '../../api-
|
|
4
|
+
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bO as ComputeBudgetConfig, q as ApiV3PoolInfoStandardItemCpmm, y as CpmmKeys, cb as Percent, bR as GetTransferAmountFee } from '../../api-c8ce9f12.js';
|
|
5
5
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
6
6
|
import { SwapResult } from './curve/calculator.js';
|
|
7
7
|
import { CpmmPoolInfoLayout } from './layout.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { 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, bv as FarmVersion, bA as isValidFarmVersion, bC as poolTypeV6, bB as validateFarmRewards } from '../../api-
|
|
2
|
+
export { 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, bv as FarmVersion, bA as isValidFarmVersion, bC as poolTypeV6, bB as validateFarmRewards } from '../../api-c8ce9f12.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-c8ce9f12.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-7bc83789.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-2c421f5d.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|