@raydium-io/raydium-sdk-v2 0.1.95-alpha → 0.1.96-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-0eb57ba2.d.ts → api-153bc957.d.ts} +8 -8
- 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/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 +5 -5
- 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/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 +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/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/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-2dba5baa.d.ts → raydium-77fc4407.d.ts} +2 -2
- package/lib/{type-28a58c39.d.ts → type-953d8113.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/.DS_Store +0 -0
- package/src/raydium/account/account.ts +3 -2
|
@@ -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-153bc957.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-153bc957.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-153bc957.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-153bc957.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-153bc957.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
+
export { C as Clmm } from '../../raydium-77fc4407.js';
|
|
7
7
|
import './layout.js';
|
|
8
|
-
import '../../type-
|
|
8
|
+
import '../../type-953d8113.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-77fc4407.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-953d8113.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-153bc957.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-153bc957.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-953d8113.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,7 @@ 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;
|
|
56
57
|
status: number;
|
|
57
58
|
padding: BN[];
|
|
58
59
|
rewardInfos: {
|
|
@@ -71,7 +72,6 @@ declare const PoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | num
|
|
|
71
72
|
creator: _solana_web3_js.PublicKey;
|
|
72
73
|
bump: number;
|
|
73
74
|
startTime: BN;
|
|
74
|
-
liquidity: BN;
|
|
75
75
|
ammConfig: _solana_web3_js.PublicKey;
|
|
76
76
|
mintA: _solana_web3_js.PublicKey;
|
|
77
77
|
mintB: _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,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-153bc957.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-953d8113.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-153bc957.js';
|
|
5
|
+
import { g as ReturnTypeGetLiquidityAmountOut, W as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-953d8113.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-953d8113.js';
|
|
4
|
+
import { o as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-153bc957.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-953d8113.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-153bc957.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-153bc957.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-953d8113.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-953d8113.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-153bc957.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-953d8113.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-153bc957.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-153bc957.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-77fc4407.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-953d8113.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-153bc957.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-153bc957.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-153bc957.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-153bc957.js';
|
|
4
4
|
import { CpmmLockExtInfo } from './type.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -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-153bc957.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-153bc957.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-153bc957.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-77fc4407.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-953d8113.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 { bj as APIRewardInfo, bp as CreateFarm, bq as CreateFarmExtInfo, 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, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../../api-
|
|
1
|
+
export { bj as APIRewardInfo, bp as CreateFarm, bq as CreateFarmExtInfo, 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, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../../api-153bc957.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, makeWithdrawInstructionV4, 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 { bN as InstructionReturn, bi as RewardType, Q as FormatFarmKeyOut, bn as RewardInfoKey, bm as FarmRewardInfoConfig } from '../../api-
|
|
3
|
+
import { bN as InstructionReturn, bi as RewardType, Q as FormatFarmKeyOut, bn as RewardInfoKey, bm as FarmRewardInfoConfig } from '../../api-153bc957.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 { bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, aE as withdrawRewardLayout } from '../../api-
|
|
4
|
+
export { bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, aE as withdrawRewardLayout } from '../../api-153bc957.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 { bj as APIRewardInfo, bp as CreateFarm, bq as CreateFarmExtInfo, bt as FarmDWParam, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, br as UpdateFarmReward, bs as UpdateFarmRewards } from '../../api-
|
|
3
|
+
export { bj as APIRewardInfo, bp as CreateFarm, bq as CreateFarmExtInfo, bt as FarmDWParam, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, br as UpdateFarmReward, bs as UpdateFarmRewards } from '../../api-153bc957.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bl as FarmRewardInfo, bm as FarmRewardInfoConfig, U as RewardInfoV6, b5 as FarmLedgerLayout, aW as FarmStateLayout, aV as FarmState, bb as FarmLedger } from '../../api-
|
|
3
|
+
import { bl as FarmRewardInfo, bm as FarmRewardInfoConfig, U as RewardInfoV6, b5 as FarmLedgerLayout, aW as FarmStateLayout, aV as FarmState, bb as FarmLedger } from '../../api-153bc957.js';
|
|
4
4
|
import { GetMultipleAccountsInfoConfig } from '../../common/accountInfo.js';
|
|
5
5
|
import { DateParam } from '../../common/date.js';
|
|
6
6
|
import { ProgramAddress } from '../../common/txTool/txUtils.js';
|
package/lib/raydium/ido/ido.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../../api-
|
|
1
|
+
import '../../api-153bc957.js';
|
|
2
2
|
import '../../common/txTool/txType.js';
|
|
3
|
-
export { e as default } from '../../raydium-
|
|
3
|
+
export { e as default } from '../../raydium-77fc4407.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import '@solana/web3.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-953d8113.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { e as default } from '../../raydium-
|
|
1
|
+
export { e as default } from '../../raydium-77fc4407.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-153bc957.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
9
|
import 'bn.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-953d8113.js';
|
|
29
29
|
import '../cpmm/type.js';
|
|
30
30
|
import '../cpmm/curve/calculator.js';
|
|
31
31
|
import '../cpmm/layout.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-153bc957.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, M as MarketExtInfo, 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, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-77fc4407.js';
|
|
2
2
|
export { splAccountLayout } from './account/layout.js';
|
|
3
3
|
export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './account/types.js';
|
|
4
4
|
export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './account/util.js';
|
|
5
5
|
export { closeAccountInstruction, createWSolAccountInstructions, initTokenAccountInstruction, makeTransferInstruction } from './account/instruction.js';
|
|
6
|
-
export { bj as APIRewardInfo, d as ApiClmmConfigInfo, bY as ArrayItem, bO as ComputeBudgetConfig, c3 as Cover, bp as CreateFarm, bq as CreateFarmExtInfo, bZ as ExactPartial, b_ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c2 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bR as GetTransferAmountFee, c0 as GetValue, bN as InstructionReturn, bP as LoadParams, bH as LpToken, bM as MakeMultiTransaction, bK as MakeTransaction, bL as MakeV0Transaction, bV as MayArray, bW as MayDeepArray, bX as MayFunction, bU as ReplaceType, bS as ReturnTypeFetchMultipleMintInfo, bT as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, b$ as SKeyof, c1 as SOR, bJ as SignAllTransactions, bG as SplToken, bE as TokenInfo, bF as TokenJson, bQ as TransferAmountFee, c4 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, c5 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../api-
|
|
6
|
+
export { bj as APIRewardInfo, d as ApiClmmConfigInfo, bY as ArrayItem, bO as ComputeBudgetConfig, c3 as Cover, bp as CreateFarm, bq as CreateFarmExtInfo, bZ as ExactPartial, b_ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c2 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, bv as FarmVersion, bR as GetTransferAmountFee, c0 as GetValue, bN as InstructionReturn, bP as LoadParams, bH as LpToken, bM as MakeMultiTransaction, bK as MakeTransaction, bL as MakeV0Transaction, bV as MayArray, bW as MayDeepArray, bX as MayFunction, bU as ReplaceType, bS as ReturnTypeFetchMultipleMintInfo, bT as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, bk as RewardInfoWithKey, bi as RewardType, b$ as SKeyof, c1 as SOR, bJ as SignAllTransactions, bG as SplToken, bE as TokenInfo, bF as TokenJson, bQ as TransferAmountFee, c4 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, aD as associatedLedgerAccountLayout, bc as dwLayout, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, bA as isValidFarmVersion, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, c5 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from '../api-153bc957.js';
|
|
7
7
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './farm/util.js';
|
|
8
8
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV4, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './farm/instruction.js';
|
|
9
9
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './farm/pda.js';
|
|
10
10
|
export { SOL_INFO, TOKEN_WSOL } from './token/constant.js';
|
|
11
11
|
export { SPL_MINT_LAYOUT, SplMintLayout } from './token/layout.js';
|
|
12
12
|
export { parseTokenInfo, solToWSolToken, toApiV3Token, toFeeConfig, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './token/utils.js';
|
|
13
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-
|
|
13
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-953d8113.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';
|