@raydium-io/raydium-sdk-v2 0.1.39-alpha → 0.1.40-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-25cae0da.d.ts → api-f02449a3.d.ts} +13 -13
- 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/layout.d.ts +2 -2
- 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 +9 -9
- 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/index.d.ts +1 -1
- package/lib/raydium/cpmm/layout.d.ts +3 -3
- package/lib/raydium/cpmm/type.d.ts +1 -1
- package/lib/raydium/farm/config.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +3 -3
- package/lib/raydium/farm/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 +2 -2
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/type.d.ts +1 -1
- package/lib/raydium/liquidity/utils.d.ts +1 -1
- package/lib/raydium/marketV2/createMarket.d.ts +3 -3
- package/lib/raydium/marketV2/index.d.ts +3 -3
- package/lib/raydium/moduleBase.d.ts +3 -3
- package/lib/raydium/raydium.d.ts +3 -3
- package/lib/raydium/raydium.js +1 -1
- package/lib/raydium/raydium.js.map +1 -1
- package/lib/raydium/raydium.mjs +1 -1
- package/lib/raydium/raydium.mjs.map +1 -1
- package/lib/raydium/serum/layout.d.ts +2 -2
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/layout.d.ts +2 -2
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/type.d.ts +1 -1
- package/lib/raydium/token/utils.d.ts +1 -1
- package/lib/raydium/tradeV2/index.d.ts +2 -2
- package/lib/raydium/tradeV2/index.js.map +1 -1
- package/lib/raydium/tradeV2/index.mjs.map +1 -1
- package/lib/raydium/tradeV2/instrument.d.ts +2 -2
- package/lib/raydium/tradeV2/trade.d.ts +3 -3
- package/lib/raydium/tradeV2/trade.js +1 -1
- package/lib/raydium/tradeV2/trade.js.map +1 -1
- package/lib/raydium/tradeV2/trade.mjs +1 -1
- package/lib/raydium/tradeV2/trade.mjs.map +1 -1
- 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-810e369f.d.ts → raydium-6e4c8f65.d.ts} +4 -4
- package/lib/{type-bce9b6ba.d.ts → type-7700ca43.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/tradeV2/trade.ts +27 -4
package/lib/module/amount.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
|
-
export { c5 as CurrencyAmount, c4 as TokenAmount, c3 as splitNumber } from '../api-
|
|
2
|
+
export { c5 as CurrencyAmount, c4 as TokenAmount, c3 as splitNumber } from '../api-f02449a3.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 { c5 as CurrencyAmount, c6 as Fraction, c8 as Percent, c9 as Price, c4 as TokenAmount, c7 as _100_PERCENT, c3 as splitNumber } from '../api-
|
|
1
|
+
export { c5 as CurrencyAmount, c6 as Fraction, c8 as Percent, c9 as Price, c4 as TokenAmount, c7 as _100_PERCENT, c3 as splitNumber } from '../api-f02449a3.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-f02449a3.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-6e4c8f65.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-7700ca43.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-f02449a3.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 { as as AddInstructionParam, ac as BigNumberish } from '../../api-
|
|
2
|
+
import { as as AddInstructionParam, ac as BigNumberish } from '../../api-f02449a3.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Structure } from '../../marshmallow/index.js';
|
|
2
|
-
import * as _solana_web3_js from '@solana/web3.js';
|
|
3
2
|
import * as BN from 'bn.js';
|
|
3
|
+
import * as _solana_web3_js from '@solana/web3.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const splAccountLayout: Structure<number |
|
|
6
|
+
declare const splAccountLayout: Structure<number | _solana_web3_js.PublicKey | BN, "", {
|
|
7
7
|
state: number;
|
|
8
8
|
owner: _solana_web3_js.PublicKey;
|
|
9
9
|
amount: BN;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { ac as BigNumberish } from '../../api-
|
|
3
|
+
import { ac as BigNumberish } from '../../api-f02449a3.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-f02449a3.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-f02449a3.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-6e4c8f65.js';
|
|
6
|
+
import '../../type-7700ca43.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, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l 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, u as SetRewardParams, v 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-6e4c8f65.js';
|
|
2
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l 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, u as SetRewardParams, v 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-7700ca43.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-f02449a3.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 { g as ReturnTypeMakeInstructions, p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo } from '../../type-
|
|
3
|
+
import { g as ReturnTypeMakeInstructions, p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo } from '../../type-7700ca43.js';
|
|
4
4
|
import { ClmmPositionLayout } from './layout.js';
|
|
5
|
-
import { n as ApiV3PoolInfoConcentratedItem, y as ClmmKeys, h as ApiV3Token } from '../../api-
|
|
5
|
+
import { n as ApiV3PoolInfoConcentratedItem, y as ClmmKeys, h as ApiV3Token } from '../../api-f02449a3.js';
|
|
6
6
|
import 'decimal.js';
|
|
7
7
|
import '../../common/txTool/txType.js';
|
|
8
8
|
import '../../marshmallow/index.js';
|
|
@@ -3,7 +3,7 @@ import * as BN from 'bn.js';
|
|
|
3
3
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const ClmmConfigLayout: Structure<number |
|
|
6
|
+
declare const ClmmConfigLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN[], "", {
|
|
7
7
|
bump: number;
|
|
8
8
|
index: number;
|
|
9
9
|
protocolFeeRate: number;
|
|
@@ -15,7 +15,7 @@ declare const ObservationLayout: Structure<number | BN | BN[], "", {
|
|
|
15
15
|
sqrtPriceX64: BN;
|
|
16
16
|
cumulativeTimePriceX64: BN;
|
|
17
17
|
}>;
|
|
18
|
-
declare const ObservationInfoLayout: Structure<boolean |
|
|
18
|
+
declare const ObservationInfoLayout: Structure<boolean | _solana_web3_js.PublicKey | Buffer | BN[] | {
|
|
19
19
|
blockTimestamp: number;
|
|
20
20
|
sqrtPriceX64: BN;
|
|
21
21
|
cumulativeTimePriceX64: BN;
|
|
@@ -28,7 +28,7 @@ declare const ObservationInfoLayout: Structure<boolean | Buffer | _solana_web3_j
|
|
|
28
28
|
cumulativeTimePriceX64: BN;
|
|
29
29
|
}[];
|
|
30
30
|
}>;
|
|
31
|
-
declare const RewardInfo: Structure<number |
|
|
31
|
+
declare const RewardInfo: Structure<number | _solana_web3_js.PublicKey | BN, "", {
|
|
32
32
|
rewardState: number;
|
|
33
33
|
rewardClaimed: BN;
|
|
34
34
|
creator: _solana_web3_js.PublicKey;
|
|
@@ -41,7 +41,7 @@ declare const RewardInfo: Structure<number | BN | _solana_web3_js.PublicKey, "",
|
|
|
41
41
|
tokenVault: _solana_web3_js.PublicKey;
|
|
42
42
|
rewardGrowthGlobalX64: BN;
|
|
43
43
|
}>;
|
|
44
|
-
declare const PoolInfoLayout: Structure<number |
|
|
44
|
+
declare const PoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | number[] | Buffer | BN | BN[] | {
|
|
45
45
|
rewardState: number;
|
|
46
46
|
rewardClaimed: BN;
|
|
47
47
|
creator: _solana_web3_js.PublicKey;
|
|
@@ -106,7 +106,7 @@ declare const PositionRewardInfoLayout: Structure<BN, "", {
|
|
|
106
106
|
growthInsideLastX64: BN;
|
|
107
107
|
rewardAmountOwed: BN;
|
|
108
108
|
}>;
|
|
109
|
-
declare const PositionInfoLayout: Structure<number |
|
|
109
|
+
declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[] | {
|
|
110
110
|
growthInsideLastX64: BN;
|
|
111
111
|
rewardAmountOwed: BN;
|
|
112
112
|
}[], "", {
|
|
@@ -126,7 +126,7 @@ declare const PositionInfoLayout: Structure<number | BN | Buffer | _solana_web3_
|
|
|
126
126
|
tokenFeesOwedB: BN;
|
|
127
127
|
}>;
|
|
128
128
|
declare type ClmmPositionLayout = ReturnType<typeof PositionInfoLayout.decode>;
|
|
129
|
-
declare const ProtocolPositionLayout: Structure<number |
|
|
129
|
+
declare const ProtocolPositionLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
130
130
|
bump: number;
|
|
131
131
|
poolId: _solana_web3_js.PublicKey;
|
|
132
132
|
liquidity: BN;
|
|
@@ -138,7 +138,7 @@ declare const ProtocolPositionLayout: Structure<number | BN | Buffer | _solana_w
|
|
|
138
138
|
tickUpperIndex: number;
|
|
139
139
|
rewardGrowthInside: BN[];
|
|
140
140
|
}>;
|
|
141
|
-
declare const TickLayout: Structure<number |
|
|
141
|
+
declare const TickLayout: Structure<number | number[] | BN | BN[], "", {
|
|
142
142
|
tick: number;
|
|
143
143
|
liquidityNet: BN;
|
|
144
144
|
liquidityGross: BN;
|
|
@@ -146,7 +146,7 @@ declare const TickLayout: Structure<number | BN | number[] | BN[], "", {
|
|
|
146
146
|
feeGrowthOutsideX64B: BN;
|
|
147
147
|
rewardGrowthsOutsideX64: BN[];
|
|
148
148
|
}>;
|
|
149
|
-
declare const TickArrayLayout: Structure<number |
|
|
149
|
+
declare const TickArrayLayout: Structure<number | _solana_web3_js.PublicKey | number[] | Buffer | {
|
|
150
150
|
tick: number;
|
|
151
151
|
liquidityNet: BN;
|
|
152
152
|
liquidityGross: BN;
|
|
@@ -169,7 +169,7 @@ declare const TickArrayLayout: Structure<number | Buffer | number[] | _solana_we
|
|
|
169
169
|
declare const OperationLayout: Structure<Buffer | _solana_web3_js.PublicKey[], "", {
|
|
170
170
|
whitelistMints: _solana_web3_js.PublicKey[];
|
|
171
171
|
}>;
|
|
172
|
-
declare const TickArrayBitmapExtensionLayout: Structure<
|
|
172
|
+
declare const TickArrayBitmapExtensionLayout: Structure<_solana_web3_js.PublicKey | Buffer | BN[][], "", {
|
|
173
173
|
poolId: _solana_web3_js.PublicKey;
|
|
174
174
|
positiveTickArrayBitmap: BN[][];
|
|
175
175
|
negativeTickArrayBitmap: 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, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-
|
|
4
|
+
export { d as ApiClmmConfigInfo } from '../../api-f02449a3.js';
|
|
5
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-7700ca43.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 { n as ApiV3PoolInfoConcentratedItem } from '../../../api-
|
|
4
|
+
import { h as ReturnTypeGetLiquidityAmountOut, Q as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-7700ca43.js';
|
|
5
|
+
import { n as ApiV3PoolInfoConcentratedItem } from '../../../api-f02449a3.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, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, k as ReturnTypeComputeAmountOut, j as ReturnTypeComputeAmountOutFormat, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
4
|
-
import { n as ApiV3PoolInfoConcentratedItem, h as ApiV3Token } from '../../../api-
|
|
3
|
+
import { d as ComputeClmmPoolInfo, Q as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, k as ReturnTypeComputeAmountOut, j as ReturnTypeComputeAmountOutFormat, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-7700ca43.js';
|
|
4
|
+
import { n as ApiV3PoolInfoConcentratedItem, h as ApiV3Token } from '../../../api-f02449a3.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-7700ca43.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-f02449a3.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-7700ca43.js';
|
|
5
|
+
import '../../../api-f02449a3.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-7700ca43.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-f02449a3.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-7700ca43.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-f02449a3.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-f02449a3.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { h as default } from '../../raydium-
|
|
4
|
+
export { h as default } from '../../raydium-6e4c8f65.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-7700ca43.js';
|
|
26
26
|
import '../clmm/layout.js';
|
|
27
27
|
import '../tradeV2/type.js';
|
|
28
28
|
import './curve/calculator.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-f02449a3.js';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import '../../solana/type.js';
|
|
15
15
|
import '@solana/spl-token';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Structure } from '../../marshmallow/index.js';
|
|
2
|
-
import * as _solana_web3_js from '@solana/web3.js';
|
|
3
2
|
import * as BN from 'bn.js';
|
|
3
|
+
import * as _solana_web3_js from '@solana/web3.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const CpmmConfigInfoLayout: Structure<number | boolean |
|
|
6
|
+
declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
7
7
|
bump: number;
|
|
8
8
|
index: number;
|
|
9
9
|
protocolFeeRate: BN;
|
|
@@ -14,7 +14,7 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | BN | Buffer | _
|
|
|
14
14
|
protocolOwner: _solana_web3_js.PublicKey;
|
|
15
15
|
fundOwner: _solana_web3_js.PublicKey;
|
|
16
16
|
}>;
|
|
17
|
-
declare const CpmmPoolInfoLayout: Structure<number |
|
|
17
|
+
declare const CpmmPoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
18
18
|
bump: number;
|
|
19
19
|
openTime: BN;
|
|
20
20
|
status: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
|
-
import { h as ApiV3Token, bL as ComputeBudgetConfig, p as ApiV3PoolInfoStandardItemCpmm, C as CpmmKeys, c8 as Percent, bO as GetTransferAmountFee } from '../../api-
|
|
2
|
+
import { h as ApiV3Token, bL as ComputeBudgetConfig, p as ApiV3PoolInfoStandardItemCpmm, C as CpmmKeys, c8 as Percent, bO as GetTransferAmountFee } from '../../api-f02449a3.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 { bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, bt as FarmVersion, by as isValidFarmVersion, bA as poolTypeV6, bz as validateFarmRewards } from '../../api-
|
|
2
|
+
export { bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, bt as FarmVersion, by as isValidFarmVersion, bA as poolTypeV6, bz as validateFarmRewards } from '../../api-f02449a3.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-f02449a3.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-6e4c8f65.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-7700ca43.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 { bh as APIRewardInfo, bn as CreateFarm, bo as CreateFarmExtInfo, bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, br as FarmDWParam, b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bt as FarmVersion, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bp as UpdateFarmReward, bq as UpdateFarmRewards, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, by as isValidFarmVersion, bA as poolTypeV6, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, bz as validateFarmRewards, aC as withdrawRewardLayout } from '../../api-
|
|
1
|
+
export { bh as APIRewardInfo, bn as CreateFarm, bo as CreateFarmExtInfo, bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, br as FarmDWParam, b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bt as FarmVersion, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bp as UpdateFarmReward, bq as UpdateFarmRewards, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, by as isValidFarmVersion, bA as poolTypeV6, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, bz as validateFarmRewards, aC as withdrawRewardLayout } from '../../api-f02449a3.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 { bK as InstructionReturn, bg as RewardType, N as FormatFarmKeyOut, bl as RewardInfoKey, bk as FarmRewardInfoConfig } from '../../api-
|
|
3
|
+
import { bK as InstructionReturn, bg as RewardType, N as FormatFarmKeyOut, bl as RewardInfoKey, bk as FarmRewardInfoConfig } from '../../api-f02449a3.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 { b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, aC as withdrawRewardLayout } from '../../api-
|
|
4
|
+
export { b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, aC as withdrawRewardLayout } from '../../api-f02449a3.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 { bh as APIRewardInfo, bn as CreateFarm, bo as CreateFarmExtInfo, br as FarmDWParam, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bp as UpdateFarmReward, bq as UpdateFarmRewards } from '../../api-
|
|
3
|
+
export { bh as APIRewardInfo, bn as CreateFarm, bo as CreateFarmExtInfo, br as FarmDWParam, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bp as UpdateFarmReward, bq as UpdateFarmRewards } from '../../api-f02449a3.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 { bj as FarmRewardInfo, bk as FarmRewardInfoConfig, Q as RewardInfoV6, b3 as FarmLedgerLayout, aU as FarmStateLayout, aT as FarmState, b9 as FarmLedger } from '../../api-
|
|
6
|
+
import { bj as FarmRewardInfo, bk as FarmRewardInfoConfig, Q as RewardInfoV6, b3 as FarmLedgerLayout, aU as FarmStateLayout, aT as FarmState, b9 as FarmLedger } from '../../api-f02449a3.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-6e4c8f65.js';
|
|
2
|
+
import '../../api-f02449a3.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-7700ca43.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-6e4c8f65.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-f02449a3.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-7700ca43.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-f02449a3.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-6e4c8f65.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 { bh as APIRewardInfo, d as ApiClmmConfigInfo, bV as ArrayItem, bL as ComputeBudgetConfig, c0 as Cover, bn as CreateFarm, bo as CreateFarmExtInfo, bW as ExactPartial, bX as ExactRequired, bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, b$ as Fallback, br as FarmDWParam, b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bt as FarmVersion, bO as GetTransferAmountFee, bZ as GetValue, bK as InstructionReturn, bM as LoadParams, bF as LpToken, bJ as MakeMultiTransaction, bH as MakeTransaction, bI as MakeV0Transaction, bS as MayArray, bT as MayDeepArray, bU as MayFunction, bR as ReplaceType, bP as ReturnTypeFetchMultipleMintInfo, bQ as ReturnTypeFetchMultipleMintInfos, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bY as SKeyof, b_ as SOR, bG as SignAllTransactions, bE as SplToken, bC as TokenInfo, bD as TokenJson, bN as TransferAmountFee, c1 as UnionCover, bp as UpdateFarmReward, bq as UpdateFarmRewards, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, by as isValidFarmVersion, bA as poolTypeV6, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, c2 as unionArr, bz as validateFarmRewards, aC as withdrawRewardLayout } from '../api-
|
|
6
|
+
export { bh as APIRewardInfo, d as ApiClmmConfigInfo, bV as ArrayItem, bL as ComputeBudgetConfig, c0 as Cover, bn as CreateFarm, bo as CreateFarmExtInfo, bW as ExactPartial, bX as ExactRequired, bu as FARM_LOCK_MINT, bv as FARM_LOCK_VAULT, bB as FARM_PROGRAM_TO_VERSION, bx as FARM_VERSION_TO_LEDGER_LAYOUT, bw as FARM_VERSION_TO_STATE_LAYOUT, b$ as Fallback, br as FarmDWParam, b9 as FarmLedger, b3 as FarmLedgerLayout, a_ as FarmLedgerLayoutV3_1, a$ as FarmLedgerLayoutV3_2, b0 as FarmLedgerLayoutV5_1, b1 as FarmLedgerLayoutV5_2, b2 as FarmLedgerLayoutV6_1, b4 as FarmLedgerV3_1, b5 as FarmLedgerV3_2, b6 as FarmLedgerV5_1, b7 as FarmLedgerV5_2, b8 as FarmLedgerV6_1, bm as FarmPoolInfoV6, bs as FarmPoolKeys, bj as FarmRewardInfo, bk as FarmRewardInfoConfig, aT as FarmState, aU as FarmStateLayout, aN as FarmStateLayoutV3, aO as FarmStateLayoutV5, aP as FarmStateLayoutV6, aQ as FarmStateV3, aR as FarmStateV5, aS as FarmStateV6, bt as FarmVersion, bO as GetTransferAmountFee, bZ as GetValue, bK as InstructionReturn, bM as LoadParams, bF as LpToken, bJ as MakeMultiTransaction, bH as MakeTransaction, bI as MakeV0Transaction, bS as MayArray, bT as MayDeepArray, bU as MayFunction, bR as ReplaceType, bP as ReturnTypeFetchMultipleMintInfo, bQ as ReturnTypeFetchMultipleMintInfos, bl as RewardInfoKey, bi as RewardInfoWithKey, bg as RewardType, bY as SKeyof, b_ as SOR, bG as SignAllTransactions, bE as SplToken, bC as TokenInfo, bD as TokenJson, bN as TransferAmountFee, c1 as UnionCover, bp as UpdateFarmReward, bq as UpdateFarmRewards, bf as Voter, be as VoterDepositEntry, bd as VoterLockup, bc as VoterRegistrar, bb as VoterVotingMintConfig, aB as associatedLedgerAccountLayout, ba as dwLayout, aM as farmAddRewardLayout, aV as farmLedgerLayoutV3_1, aW as farmLedgerLayoutV3_2, aX as farmLedgerLayoutV5_1, aY as farmLedgerLayoutV5_2, aZ as farmLedgerLayoutV6_1, aK as farmRewardLayout, aL as farmRewardRestartLayout, aJ as farmRewardTimeInfoLayout, aG as farmStateV3Layout, aH as farmStateV5Layout, aI as farmStateV6Layout, by as isValidFarmVersion, bA as poolTypeV6, aD as realFarmStateV3Layout, aE as realFarmStateV5Layout, aF as realFarmV6Layout, c2 as unionArr, bz as validateFarmRewards, aC as withdrawRewardLayout } from '../api-f02449a3.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, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l 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, u as SetRewardParams, v 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, 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, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l 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, u as SetRewardParams, v 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-7700ca43.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';
|