@raydium-io/raydium-sdk-v2 0.1.63-alpha → 0.1.64-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-11ffb196.d.ts → api-f242758a.d.ts} +8 -8
- package/lib/common/accountInfo.d.ts +1 -1
- package/lib/common/bignumber.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/index.d.ts +1 -1
- package/lib/raydium/account/instruction.d.ts +1 -1
- 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 +6 -6
- 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/layout.d.ts +1 -1
- 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/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 +6 -6
- 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/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/token.js +1 -1
- package/lib/raydium/token/token.js.map +1 -1
- package/lib/raydium/token/token.mjs +1 -1
- package/lib/raydium/token/token.mjs.map +1 -1
- 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-a023305c.d.ts → raydium-5502e631.d.ts} +3 -3
- package/lib/{type-1bf767ed.d.ts → type-b1a9baec.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/raydium.ts +1 -1
- package/src/raydium/token/token.ts +1 -2
package/lib/module/amount.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
|
-
export { c6 as CurrencyAmount, c5 as TokenAmount, c4 as splitNumber } from '../api-
|
|
2
|
+
export { c6 as CurrencyAmount, c5 as TokenAmount, c4 as splitNumber } from '../api-f242758a.js';
|
|
3
3
|
import '../common/logger.js';
|
|
4
4
|
import './token.js';
|
|
5
5
|
import './currency.js';
|
package/lib/module/fraction.d.ts
CHANGED
package/lib/module/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c6 as CurrencyAmount, c7 as Fraction, c9 as Percent, ca as Price, c5 as TokenAmount, c8 as _100_PERCENT, c4 as splitNumber } from '../api-
|
|
1
|
+
export { c6 as CurrencyAmount, c7 as Fraction, c9 as Percent, ca as Price, c5 as TokenAmount, c8 as _100_PERCENT, c4 as splitNumber } from '../api-f242758a.js';
|
|
2
2
|
export { Currency, currencyEquals } from './currency.js';
|
|
3
3
|
export { WrappedBig, WrappedDecimal } from './formatter.js';
|
|
4
4
|
export { Token, TokenProps } from './token.js';
|
package/lib/module/percent.d.ts
CHANGED
package/lib/module/price.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-f242758a.js';
|
|
3
3
|
import './types.js';
|
|
4
|
-
export { T as TokenAccountDataProp, A as default } from '../../raydium-
|
|
4
|
+
export { T as TokenAccountDataProp, A as default } from '../../raydium-5502e631.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -21,7 +21,7 @@ import './layout.js';
|
|
|
21
21
|
import '../liquidity/type.js';
|
|
22
22
|
import '../liquidity/layout.js';
|
|
23
23
|
import '../liquidity/stable.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-b1a9baec.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
@@ -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-f242758a.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 { at as AddInstructionParam, ad as BigNumberish } from '../../api-
|
|
2
|
+
import { at as AddInstructionParam, ad as BigNumberish } from '../../api-f242758a.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -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-f242758a.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-f242758a.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'decimal.js';
|
|
3
|
-
import '../../api-
|
|
3
|
+
import '../../api-f242758a.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
-
import '../../type-
|
|
5
|
+
export { C as Clmm } from '../../raydium-5502e631.js';
|
|
6
|
+
import '../../type-b1a9baec.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import 'bn.js';
|
|
9
9
|
import 'axios';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as Clmm } from '../../raydium-
|
|
2
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, T as TickArrayBitmapExtensionType, W as TickArrayState, V as TickState, X as TickUtils, U as UserPositionAccount } from '../../type-
|
|
1
|
+
export { C as Clmm } from '../../raydium-5502e631.js';
|
|
2
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, T as TickArrayBitmapExtensionType, W as TickArrayState, V as TickState, X as TickUtils, U as UserPositionAccount } from '../../type-b1a9baec.js';
|
|
3
3
|
export { ClmmConfigLayout, ClmmPositionLayout, 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-f242758a.js';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import '../../api/url.js';
|
|
16
16
|
import '../../common/owner.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as ApiV3PoolInfoConcentratedItem, z as ClmmKeys, i as ApiV3Token } from '../../api-
|
|
1
|
+
import { o as ApiV3PoolInfoConcentratedItem, z as ClmmKeys, i as ApiV3Token } from '../../api-f242758a.js';
|
|
2
2
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
3
3
|
import BN__default from 'bn.js';
|
|
4
4
|
import { ClmmPositionLayout } from './layout.js';
|
|
5
|
-
import { g as ReturnTypeMakeInstructions, q as OpenPositionFromBaseExtInfo, s as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo } from '../../type-
|
|
5
|
+
import { g as ReturnTypeMakeInstructions, q as OpenPositionFromBaseExtInfo, s as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo } from '../../type-b1a9baec.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -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 | _solana_web3_js.PublicKey |
|
|
43
|
+
declare const PoolInfoLayout: Structure<number | number[] | _solana_web3_js.PublicKey | Buffer | BN | BN[] | {
|
|
44
44
|
rewardState: number;
|
|
45
45
|
rewardClaimed: BN;
|
|
46
46
|
creator: _solana_web3_js.PublicKey;
|
|
@@ -53,6 +53,8 @@ declare const PoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | num
|
|
|
53
53
|
tokenVault: _solana_web3_js.PublicKey;
|
|
54
54
|
rewardGrowthGlobalX64: BN;
|
|
55
55
|
}[], "", {
|
|
56
|
+
liquidity: BN;
|
|
57
|
+
status: number;
|
|
56
58
|
padding: BN[];
|
|
57
59
|
rewardInfos: {
|
|
58
60
|
rewardState: number;
|
|
@@ -70,8 +72,6 @@ declare const PoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | num
|
|
|
70
72
|
creator: _solana_web3_js.PublicKey;
|
|
71
73
|
bump: number;
|
|
72
74
|
startTime: BN;
|
|
73
|
-
liquidity: BN;
|
|
74
|
-
status: number;
|
|
75
75
|
mintA: _solana_web3_js.PublicKey;
|
|
76
76
|
mintB: _solana_web3_js.PublicKey;
|
|
77
77
|
ammConfig: _solana_web3_js.PublicKey;
|
|
@@ -107,13 +107,13 @@ declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
|
107
107
|
growthInsideLastX64: BN;
|
|
108
108
|
rewardAmountOwed: BN;
|
|
109
109
|
}[], "", {
|
|
110
|
+
liquidity: BN;
|
|
110
111
|
rewardInfos: {
|
|
111
112
|
growthInsideLastX64: BN;
|
|
112
113
|
rewardAmountOwed: BN;
|
|
113
114
|
}[];
|
|
114
115
|
bump: number;
|
|
115
116
|
poolId: _solana_web3_js.PublicKey;
|
|
116
|
-
liquidity: BN;
|
|
117
117
|
nftMint: _solana_web3_js.PublicKey;
|
|
118
118
|
tickLower: number;
|
|
119
119
|
tickUpper: number;
|
|
@@ -124,9 +124,9 @@ declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
|
124
124
|
}>;
|
|
125
125
|
declare type ClmmPositionLayout = ReturnType<typeof PositionInfoLayout.decode>;
|
|
126
126
|
declare const ProtocolPositionLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
127
|
+
liquidity: BN;
|
|
127
128
|
bump: number;
|
|
128
129
|
poolId: _solana_web3_js.PublicKey;
|
|
129
|
-
liquidity: BN;
|
|
130
130
|
feeGrowthInsideLastX64A: BN;
|
|
131
131
|
feeGrowthInsideLastX64B: BN;
|
|
132
132
|
tokenFeesOwedA: 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 | _solana_web3_js.PublicKey |
|
|
146
|
+
declare const TickArrayLayout: Structure<number | number[] | _solana_web3_js.PublicKey | Buffer | {
|
|
147
147
|
tick: number;
|
|
148
148
|
liquidityNet: BN;
|
|
149
149
|
liquidityGross: BN;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
5
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-
|
|
4
|
+
export { d as ApiClmmConfigInfo } from '../../api-f242758a.js';
|
|
5
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-b1a9baec.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import 'axios';
|
|
@@ -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 { h as ReturnTypeGetLiquidityAmountOut, Q as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-
|
|
5
|
-
import { o as ApiV3PoolInfoConcentratedItem } from '../../../api-
|
|
4
|
+
import { h as ReturnTypeGetLiquidityAmountOut, Q as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-b1a9baec.js';
|
|
5
|
+
import { o as ApiV3PoolInfoConcentratedItem } from '../../../api-f242758a.js';
|
|
6
6
|
import '../../../common/txTool/txType.js';
|
|
7
7
|
import '../layout.js';
|
|
8
8
|
import '../../../marshmallow/index.js';
|
|
@@ -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, Q as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, p as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, k as ReturnTypeComputeAmountOut, j as ReturnTypeComputeAmountOutFormat, l as ReturnTypeComputeAmountOutBaseOut, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
4
|
-
import { o as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-
|
|
3
|
+
import { d as ComputeClmmPoolInfo, Q as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, p as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, k as ReturnTypeComputeAmountOut, j as ReturnTypeComputeAmountOutFormat, l as ReturnTypeComputeAmountOutBaseOut, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-b1a9baec.js';
|
|
4
|
+
import { o as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-f242758a.js';
|
|
5
5
|
import { PoolInfoLayout } from '../layout.js';
|
|
6
6
|
import { TokenAccountRaw } from '../../account/types.js';
|
|
7
7
|
import Decimal from 'decimal.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
|
-
import { c as ClmmPoolInfo, P as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
2
|
+
import { c as ClmmPoolInfo, P as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-b1a9baec.js';
|
|
3
3
|
import { ClmmPositionLayout } from '../layout.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
import '../../../api-
|
|
6
|
+
import '../../../api-f242758a.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../../solana/type.js';
|
|
9
9
|
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
|
-
export { N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, W as TickArrayState, V as TickState, X as TickUtils } from '../../../type-
|
|
5
|
-
import '../../../api-
|
|
4
|
+
export { N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, W as TickArrayState, V as TickState, X as TickUtils } from '../../../type-b1a9baec.js';
|
|
5
|
+
import '../../../api-f242758a.js';
|
|
6
6
|
import '../../../common/txTool/txType.js';
|
|
7
7
|
import '../layout.js';
|
|
8
8
|
import '../../../marshmallow/index.js';
|
|
@@ -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, Q as TickArray, P as Tick } from '../../../type-
|
|
3
|
+
import { T as TickArrayBitmapExtensionType, Q as TickArray, P as Tick } from '../../../type-b1a9baec.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-f242758a.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-b1a9baec.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-f242758a.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-f242758a.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { h as default } from '../../raydium-
|
|
4
|
+
export { h as default } from '../../raydium-5502e631.js';
|
|
5
5
|
import './type.js';
|
|
6
6
|
import 'bn.js';
|
|
7
7
|
import 'decimal.js';
|
|
@@ -22,7 +22,7 @@ import '../account/layout.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../liquidity/stable.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-b1a9baec.js';
|
|
26
26
|
import '../clmm/layout.js';
|
|
27
27
|
import '../tradeV2/type.js';
|
|
28
28
|
import './curve/calculator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { SwapWithoutFeesResult, RoundDirection, TradingTokenResult } from './calculator.js';
|
|
3
|
-
import '../../../api-
|
|
3
|
+
import '../../../api-f242758a.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../../solana/type.js';
|
|
6
6
|
import '@solana/web3.js';
|
|
@@ -9,7 +9,7 @@ import '../../marshmallow/index.js';
|
|
|
9
9
|
import '@solana/web3.js';
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
|
-
import '../../api-
|
|
12
|
+
import '../../api-f242758a.js';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import '../../solana/type.js';
|
|
15
15
|
import '@solana/spl-token';
|
|
@@ -15,9 +15,9 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js
|
|
|
15
15
|
fundOwner: _solana_web3_js.PublicKey;
|
|
16
16
|
}>;
|
|
17
17
|
declare const CpmmPoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
18
|
+
status: number;
|
|
18
19
|
bump: number;
|
|
19
20
|
openTime: BN;
|
|
20
|
-
status: number;
|
|
21
21
|
mintA: _solana_web3_js.PublicKey;
|
|
22
22
|
mintB: _solana_web3_js.PublicKey;
|
|
23
23
|
mintLp: _solana_web3_js.PublicKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
|
-
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bM as ComputeBudgetConfig, q as ApiV3PoolInfoStandardItemCpmm, C as CpmmKeys, c9 as Percent, bP as GetTransferAmountFee } from '../../api-
|
|
2
|
+
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bM as ComputeBudgetConfig, q as ApiV3PoolInfoStandardItemCpmm, C as CpmmKeys, c9 as Percent, bP as GetTransferAmountFee } from '../../api-f242758a.js';
|
|
3
3
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import { SwapResult } from './curve/calculator.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, bu as FarmVersion, bz as isValidFarmVersion, bB as poolTypeV6, bA as validateFarmRewards } from '../../api-
|
|
2
|
+
export { bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, bu as FarmVersion, bz as isValidFarmVersion, bB as poolTypeV6, bA as validateFarmRewards } from '../../api-f242758a.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-f242758a.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-5502e631.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -21,7 +21,7 @@ import '../account/layout.js';
|
|
|
21
21
|
import '../liquidity/type.js';
|
|
22
22
|
import '../liquidity/layout.js';
|
|
23
23
|
import '../liquidity/stable.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-b1a9baec.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bi as APIRewardInfo, bo as CreateFarm, bp as CreateFarmExtInfo, bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, bs as FarmDWParam, ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bu as FarmVersion, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bq as UpdateFarmReward, br as UpdateFarmRewards, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, bz as isValidFarmVersion, bB as poolTypeV6, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, bA as validateFarmRewards, aD as withdrawRewardLayout } from '../../api-
|
|
1
|
+
export { bi as APIRewardInfo, bo as CreateFarm, bp as CreateFarmExtInfo, bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, bs as FarmDWParam, ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bu as FarmVersion, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bq as UpdateFarmReward, br as UpdateFarmRewards, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, bz as isValidFarmVersion, bB as poolTypeV6, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, bA as validateFarmRewards, aD as withdrawRewardLayout } from '../../api-f242758a.js';
|
|
2
2
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './util.js';
|
|
3
3
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './instruction.js';
|
|
4
4
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './pda.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bL as InstructionReturn, bh as RewardType, O as FormatFarmKeyOut, bm as RewardInfoKey, bl as FarmRewardInfoConfig } from '../../api-
|
|
3
|
+
import { bL as InstructionReturn, bh as RewardType, O as FormatFarmKeyOut, bm as RewardInfoKey, bl as FarmRewardInfoConfig } from '../../api-f242758a.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../marshmallow/index.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
export { ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, aD as withdrawRewardLayout } from '../../api-
|
|
4
|
+
export { ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, aD as withdrawRewardLayout } from '../../api-f242758a.js';
|
|
5
5
|
import '../../marshmallow/buffer-layout.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
|
-
export { bi as APIRewardInfo, bo as CreateFarm, bp as CreateFarmExtInfo, bs as FarmDWParam, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bq as UpdateFarmReward, br as UpdateFarmRewards } from '../../api-
|
|
3
|
+
export { bi as APIRewardInfo, bo as CreateFarm, bp as CreateFarmExtInfo, bs as FarmDWParam, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bq as UpdateFarmReward, br as UpdateFarmRewards } from '../../api-f242758a.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -3,7 +3,7 @@ import BN__default from 'bn.js';
|
|
|
3
3
|
import { GetMultipleAccountsInfoConfig } from '../../common/accountInfo.js';
|
|
4
4
|
import { ProgramAddress } from '../../common/txTool/txUtils.js';
|
|
5
5
|
import { DateParam } from '../../common/date.js';
|
|
6
|
-
import { bk as FarmRewardInfo, bl as FarmRewardInfoConfig, S as RewardInfoV6, b4 as FarmLedgerLayout, aV as FarmStateLayout, aU as FarmState, ba as FarmLedger } from '../../api-
|
|
6
|
+
import { bk as FarmRewardInfo, bl as FarmRewardInfoConfig, S as RewardInfoV6, b4 as FarmLedgerLayout, aV as FarmStateLayout, aU as FarmState, ba as FarmLedger } from '../../api-f242758a.js';
|
|
7
7
|
import { SplAccount } from '../account/types.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
package/lib/raydium/ido/ido.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { M as default } from '../../raydium-
|
|
2
|
-
import '../../api-
|
|
1
|
+
export { M as default } from '../../raydium-5502e631.js';
|
|
2
|
+
import '../../api-f242758a.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import '../../api/url.js';
|
|
@@ -21,7 +21,7 @@ import '../../module/currency.js';
|
|
|
21
21
|
import '../liquidity/type.js';
|
|
22
22
|
import '../liquidity/layout.js';
|
|
23
23
|
import '../liquidity/stable.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-b1a9baec.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { M as default } from '../../raydium-
|
|
1
|
+
export { M as default } from '../../raydium-5502e631.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';
|
|
5
5
|
import '@solana/web3.js';
|
|
6
|
-
import '../../api-
|
|
6
|
+
import '../../api-f242758a.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
9
|
import 'bn.js';
|
|
@@ -24,7 +24,7 @@ import '../account/layout.js';
|
|
|
24
24
|
import '../liquidity/type.js';
|
|
25
25
|
import '../liquidity/layout.js';
|
|
26
26
|
import '../liquidity/stable.js';
|
|
27
|
-
import '../../type-
|
|
27
|
+
import '../../type-b1a9baec.js';
|
|
28
28
|
import '../clmm/layout.js';
|
|
29
29
|
import '../cpmm/type.js';
|
|
30
30
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
2
2
|
import { PurchaseInstructionKeys, ClaimInstructionKeysV3, ClaimInstructionKeys, IdoClaimInstructionParams } from './type.js';
|
|
3
|
-
import '../../api-
|
|
3
|
+
import '../../api-f242758a.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
package/lib/raydium/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-
|
|
1
|
+
export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-5502e631.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 { bi as APIRewardInfo, d as ApiClmmConfigInfo, bW as ArrayItem, bM as ComputeBudgetConfig, c1 as Cover, bo as CreateFarm, bp as CreateFarmExtInfo, bX as ExactPartial, bY as ExactRequired, bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, c0 as Fallback, bs as FarmDWParam, ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bu as FarmVersion, bP as GetTransferAmountFee, b_ as GetValue, bL as InstructionReturn, bN as LoadParams, bG as LpToken, bK as MakeMultiTransaction, bI as MakeTransaction, bJ as MakeV0Transaction, bT as MayArray, bU as MayDeepArray, bV as MayFunction, bS as ReplaceType, bQ as ReturnTypeFetchMultipleMintInfo, bR as ReturnTypeFetchMultipleMintInfos, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bZ as SKeyof, b$ as SOR, bH as SignAllTransactions, bF as SplToken, bD as TokenInfo, bE as TokenJson, bO as TransferAmountFee, c2 as UnionCover, bq as UpdateFarmReward, br as UpdateFarmRewards, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, bz as isValidFarmVersion, bB as poolTypeV6, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, c3 as unionArr, bA as validateFarmRewards, aD as withdrawRewardLayout } from '../api-
|
|
6
|
+
export { bi as APIRewardInfo, d as ApiClmmConfigInfo, bW as ArrayItem, bM as ComputeBudgetConfig, c1 as Cover, bo as CreateFarm, bp as CreateFarmExtInfo, bX as ExactPartial, bY as ExactRequired, bv as FARM_LOCK_MINT, bw as FARM_LOCK_VAULT, bC as FARM_PROGRAM_TO_VERSION, by as FARM_VERSION_TO_LEDGER_LAYOUT, bx as FARM_VERSION_TO_STATE_LAYOUT, c0 as Fallback, bs as FarmDWParam, ba as FarmLedger, b4 as FarmLedgerLayout, a$ as FarmLedgerLayoutV3_1, b0 as FarmLedgerLayoutV3_2, b1 as FarmLedgerLayoutV5_1, b2 as FarmLedgerLayoutV5_2, b3 as FarmLedgerLayoutV6_1, b5 as FarmLedgerV3_1, b6 as FarmLedgerV3_2, b7 as FarmLedgerV5_1, b8 as FarmLedgerV5_2, b9 as FarmLedgerV6_1, bn as FarmPoolInfoV6, bt as FarmPoolKeys, bk as FarmRewardInfo, bl as FarmRewardInfoConfig, aU as FarmState, aV as FarmStateLayout, aO as FarmStateLayoutV3, aP as FarmStateLayoutV5, aQ as FarmStateLayoutV6, aR as FarmStateV3, aS as FarmStateV5, aT as FarmStateV6, bu as FarmVersion, bP as GetTransferAmountFee, b_ as GetValue, bL as InstructionReturn, bN as LoadParams, bG as LpToken, bK as MakeMultiTransaction, bI as MakeTransaction, bJ as MakeV0Transaction, bT as MayArray, bU as MayDeepArray, bV as MayFunction, bS as ReplaceType, bQ as ReturnTypeFetchMultipleMintInfo, bR as ReturnTypeFetchMultipleMintInfos, bm as RewardInfoKey, bj as RewardInfoWithKey, bh as RewardType, bZ as SKeyof, b$ as SOR, bH as SignAllTransactions, bF as SplToken, bD as TokenInfo, bE as TokenJson, bO as TransferAmountFee, c2 as UnionCover, bq as UpdateFarmReward, br as UpdateFarmRewards, bg as Voter, bf as VoterDepositEntry, be as VoterLockup, bd as VoterRegistrar, bc as VoterVotingMintConfig, aC as associatedLedgerAccountLayout, bb as dwLayout, aN as farmAddRewardLayout, aW as farmLedgerLayoutV3_1, aX as farmLedgerLayoutV3_2, aY as farmLedgerLayoutV5_1, aZ as farmLedgerLayoutV5_2, a_ as farmLedgerLayoutV6_1, aL as farmRewardLayout, aM as farmRewardRestartLayout, aK as farmRewardTimeInfoLayout, aH as farmStateV3Layout, aI as farmStateV5Layout, aJ as farmStateV6Layout, bz as isValidFarmVersion, bB as poolTypeV6, aE as realFarmStateV3Layout, aF as realFarmStateV5Layout, aG as realFarmV6Layout, c3 as unionArr, bA as validateFarmRewards, aD as withdrawRewardLayout } from '../api-f242758a.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, 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, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, T as TickArrayBitmapExtensionType, 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, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, p as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, x as CollectRewardParams, y as CollectRewardsParams, d as ComputeClmmPoolInfo, n as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, o as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, t as InitRewardParams, u as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, q as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidity, s as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, l as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, m as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, N as ReturnTypeGetPriceAndTick, L as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, v as SetRewardParams, w as SetRewardsParams, K as TICK_ARRAY_BITMAP_SIZE, J as TICK_ARRAY_SIZE, P as Tick, Q as TickArray, T as TickArrayBitmapExtensionType, W as TickArrayState, V as TickState, X as TickUtils, U as UserPositionAccount } from '../type-b1a9baec.js';
|
|
14
14
|
export { ClmmConfigLayout, ClmmPositionLayout, 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';
|