@raydium-io/raydium-sdk-v2 0.1.0-alpha → 0.1.2-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/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/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 +6 -6
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/clmm/utils/math.d.ts +2 -2
- package/lib/raydium/clmm/utils/pool.d.ts +2 -2
- package/lib/raydium/clmm/utils/position.d.ts +2 -2
- package/lib/raydium/clmm/utils/tick.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +3 -3
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/layout.d.ts +1 -1
- package/lib/raydium/cpmm/type.d.ts +1 -1
- package/lib/raydium/farm/config.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +3 -3
- package/lib/raydium/farm/index.d.ts +1 -1
- package/lib/raydium/farm/instruction.d.ts +1 -1
- package/lib/raydium/farm/layout.d.ts +1 -1
- package/lib/raydium/farm/type.d.ts +1 -1
- package/lib/raydium/farm/util.d.ts +1 -1
- package/lib/raydium/ido/ido.d.ts +3 -3
- package/lib/raydium/ido/index.d.ts +3 -3
- package/lib/raydium/ido/instruction.d.ts +1 -1
- package/lib/raydium/ido/type.d.ts +1 -1
- package/lib/raydium/index.d.ts +3 -3
- package/lib/raydium/index.js +1 -1
- package/lib/raydium/index.js.map +1 -1
- package/lib/raydium/index.mjs +1 -1
- package/lib/raydium/index.mjs.map +1 -1
- package/lib/raydium/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +6 -6
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/liquidity.js +1 -1
- package/lib/raydium/liquidity/liquidity.js.map +1 -1
- package/lib/raydium/liquidity/liquidity.mjs +1 -1
- package/lib/raydium/liquidity/liquidity.mjs.map +1 -1
- 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-50d99e08.d.ts → raydium-e681ad95.d.ts} +3 -3
- package/lib/{type-80826393.d.ts → type-389634c9.d.ts} +1 -1
- package/lib/{type-8e0c46e7.d.ts → type-9fe71e3c.d.ts} +8 -8
- package/package.json +1 -1
- package/src/raydium/account/account.ts +1 -1
- package/src/raydium/liquidity/liquidity.ts +44 -47
|
@@ -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 '../../type-
|
|
9
|
+
import '../../type-9fe71e3c.js';
|
|
10
10
|
import '@solana/spl-token';
|
|
11
11
|
import '../../solana/type.js';
|
|
12
12
|
import '../../common/txTool/txType.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Signer, Connection, Commitment } from '@solana/web3.js';
|
|
2
|
-
import { ap as AddInstructionParam, a9 as BigNumberish } from '../../type-
|
|
2
|
+
import { ap as AddInstructionParam, a9 as BigNumberish } from '../../type-9fe71e3c.js';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import '@solana/spl-token';
|
|
5
5
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { a9 as BigNumberish } from '../../type-
|
|
3
|
+
import { a9 as BigNumberish } from '../../type-9fe71e3c.js';
|
|
4
4
|
import { GetStructureSchema } from '../../marshmallow/buffer-layout.js';
|
|
5
5
|
import { splAccountLayout } from './layout.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
@@ -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 '../../type-
|
|
4
|
+
import '../../type-9fe71e3c.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '../../common/txTool/txType.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'decimal.js';
|
|
3
|
-
import '../../type-
|
|
3
|
+
import '../../type-9fe71e3c.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-e681ad95.js';
|
|
6
|
+
import '../../type-389634c9.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import 'bn.js';
|
|
9
9
|
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, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, 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, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from '../../type-
|
|
1
|
+
export { C as Clmm } from '../../raydium-e681ad95.js';
|
|
2
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, 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, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from '../../type-389634c9.js';
|
|
3
3
|
export { AmmConfigLayout, 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_TICK, MIN_SQRT_PRICE_X64, 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 { b as ApiClmmConfigInfo } from '../../type-
|
|
13
|
+
export { b as ApiClmmConfigInfo } from '../../type-9fe71e3c.js';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import '../../api/api.js';
|
|
16
16
|
import 'axios';
|
|
@@ -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-389634c9.js';
|
|
4
4
|
import { ClmmPositionLayout } from './layout.js';
|
|
5
|
-
import { k as ApiV3PoolInfoConcentratedItem, v as ClmmKeys, e as ApiV3Token } from '../../type-
|
|
5
|
+
import { k as ApiV3PoolInfoConcentratedItem, v as ClmmKeys, e as ApiV3Token } from '../../type-9fe71e3c.js';
|
|
6
6
|
import 'decimal.js';
|
|
7
7
|
import '../../common/txTool/txType.js';
|
|
8
8
|
import '../../marshmallow/index.js';
|
|
@@ -41,7 +41,7 @@ declare const RewardInfo: Structure<number | _solana_web3_js.PublicKey | BN, "",
|
|
|
41
41
|
tokenVault: _solana_web3_js.PublicKey;
|
|
42
42
|
rewardGrowthGlobalX64: BN;
|
|
43
43
|
}>;
|
|
44
|
-
declare const PoolInfoLayout: Structure<number | 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;
|
|
@@ -54,8 +54,6 @@ declare const PoolInfoLayout: Structure<number | number[] | _solana_web3_js.Publ
|
|
|
54
54
|
tokenVault: _solana_web3_js.PublicKey;
|
|
55
55
|
rewardGrowthGlobalX64: BN;
|
|
56
56
|
}[], "", {
|
|
57
|
-
liquidity: BN;
|
|
58
|
-
status: number;
|
|
59
57
|
padding: BN[];
|
|
60
58
|
rewardInfos: {
|
|
61
59
|
rewardState: number;
|
|
@@ -73,6 +71,8 @@ declare const PoolInfoLayout: Structure<number | number[] | _solana_web3_js.Publ
|
|
|
73
71
|
creator: _solana_web3_js.PublicKey;
|
|
74
72
|
bump: number;
|
|
75
73
|
startTime: BN;
|
|
74
|
+
liquidity: BN;
|
|
75
|
+
status: number;
|
|
76
76
|
mintA: _solana_web3_js.PublicKey;
|
|
77
77
|
mintB: _solana_web3_js.PublicKey;
|
|
78
78
|
tickSpacing: number;
|
|
@@ -110,13 +110,13 @@ declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
|
110
110
|
growthInsideLastX64: BN;
|
|
111
111
|
rewardAmountOwed: BN;
|
|
112
112
|
}[], "", {
|
|
113
|
-
liquidity: BN;
|
|
114
113
|
rewardInfos: {
|
|
115
114
|
growthInsideLastX64: BN;
|
|
116
115
|
rewardAmountOwed: BN;
|
|
117
116
|
}[];
|
|
118
117
|
bump: number;
|
|
119
118
|
poolId: _solana_web3_js.PublicKey;
|
|
119
|
+
liquidity: BN;
|
|
120
120
|
nftMint: _solana_web3_js.PublicKey;
|
|
121
121
|
tickLower: number;
|
|
122
122
|
tickUpper: number;
|
|
@@ -127,9 +127,9 @@ declare const PositionInfoLayout: Structure<number | _solana_web3_js.PublicKey |
|
|
|
127
127
|
}>;
|
|
128
128
|
declare type ClmmPositionLayout = ReturnType<typeof PositionInfoLayout.decode>;
|
|
129
129
|
declare const ProtocolPositionLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
130
|
-
liquidity: BN;
|
|
131
130
|
bump: number;
|
|
132
131
|
poolId: _solana_web3_js.PublicKey;
|
|
132
|
+
liquidity: BN;
|
|
133
133
|
feeGrowthInsideLastX64A: BN;
|
|
134
134
|
feeGrowthInsideLastX64B: BN;
|
|
135
135
|
tokenFeesOwedA: BN;
|
|
@@ -146,7 +146,7 @@ declare const TickLayout: Structure<number | number[] | BN | BN[], "", {
|
|
|
146
146
|
feeGrowthOutsideX64B: BN;
|
|
147
147
|
rewardGrowthsOutsideX64: BN[];
|
|
148
148
|
}>;
|
|
149
|
-
declare const TickArrayLayout: Structure<number | 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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
export { b as ApiClmmConfigInfo } from '../../type-
|
|
5
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, 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 { b as ApiClmmConfigInfo } from '../../type-9fe71e3c.js';
|
|
5
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, 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-389634c9.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -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, P as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-
|
|
5
|
-
import { k as ApiV3PoolInfoConcentratedItem } from '../../../type-
|
|
4
|
+
import { h as ReturnTypeGetLiquidityAmountOut, P as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-389634c9.js';
|
|
5
|
+
import { k as ApiV3PoolInfoConcentratedItem } from '../../../type-9fe71e3c.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, P 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 { k as ApiV3PoolInfoConcentratedItem, e as ApiV3Token } from '../../../type-
|
|
3
|
+
import { d as ComputeClmmPoolInfo, P 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-389634c9.js';
|
|
4
|
+
import { k as ApiV3PoolInfoConcentratedItem, e as ApiV3Token } from '../../../type-9fe71e3c.js';
|
|
5
5
|
import { TokenAccountRaw } from '../../account/types.js';
|
|
6
6
|
import Decimal from 'decimal.js';
|
|
7
7
|
import '../../../common/txTool/txType.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
|
-
import { c as ClmmPoolInfo, N as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
2
|
+
import { c as ClmmPoolInfo, N as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, h as ReturnTypeGetLiquidityAmountOut } from '../../../type-389634c9.js';
|
|
3
3
|
import { ClmmPositionLayout } from '../layout.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
import '../../../type-
|
|
6
|
+
import '../../../type-9fe71e3c.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
8
8
|
import '../../../solana/type.js';
|
|
9
9
|
import '../../../common/txTool/txType.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
export { L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, V as TickArrayState, Q as TickState, W as TickUtils } from '../../../type-
|
|
5
|
-
import '../../../type-
|
|
4
|
+
export { L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, V as TickArrayState, Q as TickState, W as TickUtils } from '../../../type-389634c9.js';
|
|
5
|
+
import '../../../type-9fe71e3c.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, P as TickArray, N as Tick } from '../../../type-
|
|
3
|
+
import { T as TickArrayBitmapExtensionType, P as TickArray, N as Tick } from '../../../type-389634c9.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../type-
|
|
5
|
+
import '../../../type-9fe71e3c.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '../../../common/txTool/txType.js';
|
|
@@ -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-389634c9.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../type-
|
|
5
|
+
import '../../../type-9fe71e3c.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '../../../common/txTool/txType.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../../type-
|
|
1
|
+
import '../../type-9fe71e3c.js';
|
|
2
2
|
import '../../common/txTool/txType.js';
|
|
3
|
-
export { h as default } from '../../raydium-
|
|
3
|
+
export { h as default } from '../../raydium-e681ad95.js';
|
|
4
4
|
import './type.js';
|
|
5
5
|
import 'bn.js';
|
|
6
6
|
import './layout.js';
|
|
@@ -23,7 +23,7 @@ import '../account/types.js';
|
|
|
23
23
|
import '../account/layout.js';
|
|
24
24
|
import '../liquidity/type.js';
|
|
25
25
|
import '../liquidity/layout.js';
|
|
26
|
-
import '../../type-
|
|
26
|
+
import '../../type-389634c9.js';
|
|
27
27
|
import '../clmm/layout.js';
|
|
28
28
|
import '../tradeV2/type.js';
|
|
29
29
|
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 '../../type-
|
|
12
|
+
import '../../type-9fe71e3c.js';
|
|
13
13
|
import '@solana/spl-token';
|
|
14
14
|
import '../../solana/type.js';
|
|
15
15
|
import '../../common/txTool/txType.js';
|
|
@@ -15,9 +15,9 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js
|
|
|
15
15
|
fundOwner: _solana_web3_js.PublicKey;
|
|
16
16
|
}>;
|
|
17
17
|
declare const CpmmPoolInfoLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | BN | BN[], "", {
|
|
18
|
-
status: number;
|
|
19
18
|
bump: number;
|
|
20
19
|
openTime: BN;
|
|
20
|
+
status: number;
|
|
21
21
|
mintA: _solana_web3_js.PublicKey;
|
|
22
22
|
mintB: _solana_web3_js.PublicKey;
|
|
23
23
|
mintLp: _solana_web3_js.PublicKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
|
-
import { e as ApiV3Token, bI as ComputeBudgetConfig, m as ApiV3PoolInfoStandardItemCpmm, c5 as Percent, bL as GetTransferAmountFee } from '../../type-
|
|
2
|
+
import { e as ApiV3Token, bI as ComputeBudgetConfig, m as ApiV3PoolInfoStandardItemCpmm, c5 as Percent, bL as GetTransferAmountFee } from '../../type-9fe71e3c.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 { br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bq as FarmVersion, bv as isValidFarmVersion, bx as poolTypeV6, bw as validateFarmRewards } from '../../type-
|
|
2
|
+
export { br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bq as FarmVersion, bv as isValidFarmVersion, bx as poolTypeV6, bw as validateFarmRewards } from '../../type-9fe71e3c.js';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import '@solana/spl-token';
|
|
5
5
|
import '../../solana/type.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../type-
|
|
2
|
+
import '../../type-9fe71e3c.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-e681ad95.js';
|
|
5
5
|
import 'bn.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -21,7 +21,7 @@ import '../account/types.js';
|
|
|
21
21
|
import '../account/layout.js';
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-389634c9.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 { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, bw as validateFarmRewards, az as withdrawRewardLayout } from '../../type-
|
|
1
|
+
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, bw as validateFarmRewards, az as withdrawRewardLayout } from '../../type-9fe71e3c.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 { bH as InstructionReturn, bd as RewardType, I as FormatFarmKeyOut, bi as RewardInfoKey, bh as FarmRewardInfoConfig } from '../../type-
|
|
3
|
+
import { bH as InstructionReturn, bd as RewardType, I as FormatFarmKeyOut, bi as RewardInfoKey, bh as FarmRewardInfoConfig } from '../../type-9fe71e3c.js';
|
|
4
4
|
import '@solana/spl-token';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../marshmallow/index.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
export { b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, az as withdrawRewardLayout } from '../../type-
|
|
4
|
+
export { b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, az as withdrawRewardLayout } from '../../type-9fe71e3c.js';
|
|
5
5
|
import '../../marshmallow/buffer-layout.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
|
-
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, bo as FarmDWParam, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards } from '../../type-
|
|
3
|
+
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, bo as FarmDWParam, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards } from '../../type-9fe71e3c.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
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 { bg as FarmRewardInfo, bh as FarmRewardInfoConfig, M as RewardInfoV6, b0 as FarmLedgerLayout, aR as FarmStateLayout, aQ as FarmState, b6 as FarmLedger } from '../../type-
|
|
6
|
+
import { bg as FarmRewardInfo, bh as FarmRewardInfoConfig, M as RewardInfoV6, b0 as FarmLedgerLayout, aR as FarmStateLayout, aQ as FarmState, b6 as FarmLedger } from '../../type-9fe71e3c.js';
|
|
7
7
|
import { SplAccount } from '../account/types.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
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 '../../type-
|
|
1
|
+
export { M as default } from '../../raydium-e681ad95.js';
|
|
2
|
+
import '../../type-9fe71e3c.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import '../../api/api.js';
|
|
@@ -21,7 +21,7 @@ import '../account/types.js';
|
|
|
21
21
|
import '../account/layout.js';
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-389634c9.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 { M as default } from '../../raydium-
|
|
1
|
+
export { M as default } from '../../raydium-e681ad95.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';
|
|
@@ -6,7 +6,7 @@ import '@solana/web3.js';
|
|
|
6
6
|
import '../../api/api.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
|
-
import '../../type-
|
|
9
|
+
import '../../type-9fe71e3c.js';
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
12
12
|
import '../../common/txTool/txType.js';
|
|
@@ -24,7 +24,7 @@ import '../account/types.js';
|
|
|
24
24
|
import '../account/layout.js';
|
|
25
25
|
import '../liquidity/type.js';
|
|
26
26
|
import '../liquidity/layout.js';
|
|
27
|
-
import '../../type-
|
|
27
|
+
import '../../type-389634c9.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 '../../type-
|
|
3
|
+
import '../../type-9fe71e3c.js';
|
|
4
4
|
import 'bn.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
6
6
|
import '../../solana/type.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-e681ad95.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 { be as APIRewardInfo, b as ApiClmmConfigInfo, bS as ArrayItem, bI as ComputeBudgetConfig, bZ as Cover, bk as CreateFarm, bl as CreateFarmExtInfo, bT as ExactPartial, bU as ExactRequired, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bY as Fallback, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bL as GetTransferAmountFee, bW as GetValue, bH as InstructionReturn, bJ as LoadParams, bC as LpToken, bG as MakeMultiTransaction, bE as MakeTransaction, bF as MakeV0Transaction, bP as MayArray, bQ as MayDeepArray, bR as MayFunction, bO as ReplaceType, bM as ReturnTypeFetchMultipleMintInfo, bN as ReturnTypeFetchMultipleMintInfos, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bV as SKeyof, bX as SOR, bD as SignAllTransactions, bB as SplToken, bz as TokenInfo, bA as TokenJson, bK as TransferAmountFee, b_ as UnionCover, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, b$ as unionArr, bw as validateFarmRewards, az as withdrawRewardLayout } from '../type-
|
|
6
|
+
export { be as APIRewardInfo, b as ApiClmmConfigInfo, bS as ArrayItem, bI as ComputeBudgetConfig, bZ as Cover, bk as CreateFarm, bl as CreateFarmExtInfo, bT as ExactPartial, bU as ExactRequired, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bY as Fallback, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bL as GetTransferAmountFee, bW as GetValue, bH as InstructionReturn, bJ as LoadParams, bC as LpToken, bG as MakeMultiTransaction, bE as MakeTransaction, bF as MakeV0Transaction, bP as MayArray, bQ as MayDeepArray, bR as MayFunction, bO as ReplaceType, bM as ReturnTypeFetchMultipleMintInfo, bN as ReturnTypeFetchMultipleMintInfos, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bV as SKeyof, bX as SOR, bD as SignAllTransactions, bB as SplToken, bz as TokenInfo, bA as TokenJson, bK as TransferAmountFee, b_ as UnionCover, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, b$ as unionArr, bw as validateFarmRewards, az as withdrawRewardLayout } from '../type-9fe71e3c.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, 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, 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, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W 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, 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, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from '../type-389634c9.js';
|
|
14
14
|
export { AmmConfigLayout, 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_TICK, MIN_SQRT_PRICE_X64, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './clmm/utils/constants.js';
|