@raydium-io/raydium-sdk-v2 0.1.133-alpha → 0.1.134-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/constant.d.ts +1 -1
- package/lib/common/fractionUtil.d.ts +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/transfer.d.ts +1 -1
- package/lib/common/txTool/txTool.d.ts +1 -1
- package/lib/common/txTool/txUtils.d.ts +1 -1
- package/lib/common/utility.d.ts +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/module/amount.d.ts +1 -1
- package/lib/module/fraction.d.ts +1 -1
- package/lib/module/index.d.ts +1 -1
- package/lib/module/percent.d.ts +1 -1
- package/lib/module/price.d.ts +1 -1
- package/lib/raydium/account/account.d.ts +3 -3
- package/lib/raydium/account/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 +1 -1
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/clmm/utils/math.d.ts +2 -2
- package/lib/raydium/clmm/utils/pool.d.ts +2 -2
- package/lib/raydium/clmm/utils/position.d.ts +2 -2
- package/lib/raydium/clmm/utils/tick.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +3 -3
- package/lib/raydium/cpmm/curve/calculator.d.ts +1 -1
- package/lib/raydium/cpmm/curve/constantProduct.d.ts +1 -1
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/instruction.d.ts +1 -1
- package/lib/raydium/cpmm/layout.d.ts +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/launchpad/curve/constantProductCurve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/curve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/curveBase.d.ts +1 -1
- package/lib/raydium/launchpad/curve/fixedPriceCurve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.d.ts +1 -1
- package/lib/raydium/launchpad/index.d.ts +3 -3
- package/lib/raydium/launchpad/index.js.map +1 -1
- package/lib/raydium/launchpad/index.mjs.map +1 -1
- package/lib/raydium/launchpad/launchpad.d.ts +3 -3
- package/lib/raydium/launchpad/launchpad.js +1 -1
- package/lib/raydium/launchpad/launchpad.js.map +1 -1
- package/lib/raydium/launchpad/launchpad.mjs +1 -1
- package/lib/raydium/launchpad/launchpad.mjs.map +1 -1
- package/lib/raydium/launchpad/layout.d.ts +1 -1
- package/lib/raydium/launchpad/pda.d.ts +1 -1
- package/lib/raydium/launchpad/type.d.ts +1 -1
- package/lib/raydium/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +6 -6
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/type.d.ts +1 -1
- package/lib/raydium/liquidity/utils.d.ts +1 -1
- package/lib/raydium/marketV2/createMarket.d.ts +3 -3
- package/lib/raydium/marketV2/index.d.ts +3 -3
- package/lib/raydium/moduleBase.d.ts +3 -3
- package/lib/raydium/raydium.d.ts +3 -3
- package/lib/raydium/raydium.js +1 -1
- package/lib/raydium/raydium.js.map +1 -1
- package/lib/raydium/raydium.mjs +1 -1
- package/lib/raydium/raydium.mjs.map +1 -1
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/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-37f7d3b6.d.ts → raydium-445995ec.d.ts} +3 -3
- package/lib/{type-79324455.d.ts → type-2a071cbf.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/clmmSol/.DS_Store +0 -0
- package/src/raydium/launchpad/launchpad.ts +11 -17
- package/lib/{api-82cf7801.d.ts → api-7a8cb334.d.ts} +5 -5
package/lib/module/amount.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
|
-
export { cd as CurrencyAmount, cc as TokenAmount, cb as splitNumber } from '../api-
|
|
2
|
+
export { cd as CurrencyAmount, cc as TokenAmount, cb as splitNumber } from '../api-7a8cb334.js';
|
|
3
3
|
import '../common/logger.js';
|
|
4
4
|
import './currency.js';
|
|
5
5
|
import './token.js';
|
package/lib/module/fraction.d.ts
CHANGED
package/lib/module/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { cd as CurrencyAmount, ce as Fraction, cg as Percent, ch as Price, cc as TokenAmount, cf as _100_PERCENT, cb as splitNumber } from '../api-
|
|
1
|
+
export { cd as CurrencyAmount, ce as Fraction, cg as Percent, ch as Price, cc as TokenAmount, cf as _100_PERCENT, cb as splitNumber } from '../api-7a8cb334.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-7a8cb334.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-445995ec.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-2a071cbf.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.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-7a8cb334.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 { ay as AddInstructionParam, af as BigNumberish } from '../../api-
|
|
2
|
+
import { ay as AddInstructionParam, af as BigNumberish } from '../../api-7a8cb334.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { af as BigNumberish } from '../../api-
|
|
3
|
+
import { af as BigNumberish } from '../../api-7a8cb334.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-7a8cb334.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-7a8cb334.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
+
export { C as Clmm } from '../../raydium-445995ec.js';
|
|
7
7
|
import './layout.js';
|
|
8
|
-
import '../../type-
|
|
8
|
+
import '../../type-2a071cbf.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../solana/type.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as Clmm } from '../../raydium-
|
|
2
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../../type-
|
|
1
|
+
export { C as Clmm } from '../../raydium-445995ec.js';
|
|
2
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../../type-2a071cbf.js';
|
|
3
3
|
export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './layout.js';
|
|
4
4
|
export { ClmmInstrument } from './instrument.js';
|
|
5
5
|
export { BIT_PRECISION, FEE_RATE_DENOMINATOR, Fee, LOG_B_2_X32, LOG_B_P_ERR_MARGIN_LOWER_X64, LOG_B_P_ERR_MARGIN_UPPER_X64, MAX_SQRT_PRICE_X64, MAX_SQRT_PRICE_X64_SUB_ONE, MAX_TICK, MIN_SQRT_PRICE_X64, MIN_SQRT_PRICE_X64_ADD_ONE, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './utils/constants.js';
|
|
@@ -10,7 +10,7 @@ export { PositionUtils } from './utils/position.js';
|
|
|
10
10
|
export { FETCH_TICKARRAY_COUNT, PoolVars, TickQuery } from './utils/tickQuery.js';
|
|
11
11
|
export { EXTENSION_TICKARRAY_BITMAP_SIZE, TickArrayBitmap, TickArrayBitmapExtensionUtils } from './utils/tickarrayBitmap.js';
|
|
12
12
|
export { i16ToBytes, i32ToBytes, isZero, leadingZeros, leastSignificantBit, mostSignificantBit, trailingZeros, u16ToBytes, u32ToBytes } from './utils/util.js';
|
|
13
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
13
|
+
export { d as ApiClmmConfigInfo } from '../../api-7a8cb334.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 { bM as ReturnTypeMakeInstructions, p as ApiV3PoolInfoConcentratedItem, D as ClmmKeys, i as ApiV3Token } from '../../api-
|
|
3
|
+
import { bM as ReturnTypeMakeInstructions, p as ApiV3PoolInfoConcentratedItem, D as ClmmKeys, i as ApiV3Token } from '../../api-7a8cb334.js';
|
|
4
4
|
import { ClmmPositionLayout } from './layout.js';
|
|
5
|
-
import { p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo, J as ClmmLockAddress } from '../../type-
|
|
5
|
+
import { p as OpenPositionFromBaseExtInfo, r as OpenPositionFromLiquidityExtInfo, B as ClosePositionExtInfo, M as ManipulateLiquidityExtInfo, e as ClmmPoolPersonalPosition, E as InitRewardExtInfo, J as ClmmLockAddress } from '../../type-2a071cbf.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -54,6 +54,7 @@ declare const PoolInfoLayout: Structure<number | number[] | _solana_web3_js.Publ
|
|
|
54
54
|
rewardGrowthGlobalX64: BN;
|
|
55
55
|
}[], "", {
|
|
56
56
|
liquidity: BN;
|
|
57
|
+
status: number;
|
|
57
58
|
padding: BN[];
|
|
58
59
|
rewardInfos: {
|
|
59
60
|
rewardState: number;
|
|
@@ -71,7 +72,6 @@ declare const PoolInfoLayout: Structure<number | number[] | _solana_web3_js.Publ
|
|
|
71
72
|
creator: _solana_web3_js.PublicKey;
|
|
72
73
|
bump: number;
|
|
73
74
|
startTime: BN;
|
|
74
|
-
status: number;
|
|
75
75
|
ammConfig: _solana_web3_js.PublicKey;
|
|
76
76
|
mintA: _solana_web3_js.PublicKey;
|
|
77
77
|
mintB: _solana_web3_js.PublicKey;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
4
|
+
export { d as ApiClmmConfigInfo } from '../../api-7a8cb334.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-
|
|
6
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, T as TickArrayBitmapExtensionType, U as UserPositionAccount } from '../../type-2a071cbf.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EpochInfo, PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { p as ApiV3PoolInfoConcentratedItem } from '../../../api-
|
|
5
|
-
import { g as ReturnTypeGetLiquidityAmountOut, W as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-
|
|
4
|
+
import { p as ApiV3PoolInfoConcentratedItem } from '../../../api-7a8cb334.js';
|
|
5
|
+
import { g as ReturnTypeGetLiquidityAmountOut, W as TickArray, T as TickArrayBitmapExtensionType } from '../../../type-2a071cbf.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, Connection, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { d as ComputeClmmPoolInfo, W as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, j as ReturnTypeComputeAmountOut, i as ReturnTypeComputeAmountOutFormat, k as ReturnTypeComputeAmountOutBaseOut, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
4
|
-
import { p as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-
|
|
3
|
+
import { d as ComputeClmmPoolInfo, W as TickArray, T as TickArrayBitmapExtensionType, c as ClmmPoolInfo, o as ClmmPoolRewardLayoutInfo, b as ClmmPoolRewardInfo, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, S as SDKParsedConcentratedInfo, j as ReturnTypeComputeAmountOut, i as ReturnTypeComputeAmountOutFormat, k as ReturnTypeComputeAmountOutBaseOut, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-2a071cbf.js';
|
|
4
|
+
import { p as ApiV3PoolInfoConcentratedItem, i as ApiV3Token } from '../../../api-7a8cb334.js';
|
|
5
5
|
import Decimal from 'decimal.js';
|
|
6
6
|
import { TokenAccountRaw } from '../../account/types.js';
|
|
7
7
|
import { PoolInfoLayout } from '../layout.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { ClmmPositionLayout } from '../layout.js';
|
|
3
|
-
import { c as ClmmPoolInfo, V as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-
|
|
3
|
+
import { c as ClmmPoolInfo, V as Tick, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, G as GetAmountParams, g as ReturnTypeGetLiquidityAmountOut } from '../../../type-2a071cbf.js';
|
|
4
4
|
import '../../../marshmallow/index.js';
|
|
5
5
|
import '@solana/web3.js';
|
|
6
6
|
import '../../../marshmallow/buffer-layout.js';
|
|
7
7
|
import 'decimal.js';
|
|
8
|
-
import '../../../api-
|
|
8
|
+
import '../../../api-7a8cb334.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../../solana/type.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
import '../../../api-
|
|
5
|
-
export { Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, Y as TickArrayState, X as TickState, Z as TickUtils } from '../../../type-
|
|
4
|
+
import '../../../api-7a8cb334.js';
|
|
5
|
+
export { Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, Y as TickArrayState, X as TickState, Z as TickUtils } from '../../../type-2a071cbf.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { T as TickArrayBitmapExtensionType, W as TickArray, V as Tick } from '../../../type-
|
|
3
|
+
import { T as TickArrayBitmapExtensionType, W as TickArray, V as Tick } from '../../../type-2a071cbf.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-7a8cb334.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-2a071cbf.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-7a8cb334.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-7a8cb334.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import 'bn.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
export { j as default } from '../../raydium-
|
|
6
|
+
export { j as default } from '../../raydium-445995ec.js';
|
|
7
7
|
import './type.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
|
@@ -23,7 +23,7 @@ import '../liquidity/stable.js';
|
|
|
23
23
|
import '../liquidity/type.js';
|
|
24
24
|
import '../liquidity/layout.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
|
-
import '../../type-
|
|
26
|
+
import '../../type-2a071cbf.js';
|
|
27
27
|
import '../tradeV2/type.js';
|
|
28
28
|
import './curve/calculator.js';
|
|
29
29
|
import './layout.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { i as ApiV3Token } from '../../../api-
|
|
3
|
+
import { i as ApiV3Token } from '../../../api-7a8cb334.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../../solana/type.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { SwapWithoutFeesResult, RoundDirection, TradingTokenResult } from './calculator.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
|
-
import '../../../api-
|
|
4
|
+
import '../../../api-7a8cb334.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -10,7 +10,7 @@ import '@solana/web3.js';
|
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
12
|
import 'decimal.js';
|
|
13
|
-
import '../../api-
|
|
13
|
+
import '../../api-7a8cb334.js';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import '../../solana/type.js';
|
|
16
16
|
import '@solana/spl-token';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BN__default from 'bn.js';
|
|
2
2
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
3
|
-
import { r as ApiV3PoolInfoStandardItemCpmm, z as CpmmKeys, bM as ReturnTypeMakeInstructions } from '../../api-
|
|
3
|
+
import { r as ApiV3PoolInfoStandardItemCpmm, z as CpmmKeys, bM as ReturnTypeMakeInstructions } from '../../api-7a8cb334.js';
|
|
4
4
|
import { CpmmLockExtInfo } from './type.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.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;
|
|
18
19
|
bump: number;
|
|
19
20
|
openTime: BN;
|
|
20
|
-
status: number;
|
|
21
21
|
mintA: _solana_web3_js.PublicKey;
|
|
22
22
|
mintB: _solana_web3_js.PublicKey;
|
|
23
23
|
vaultA: _solana_web3_js.PublicKey;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bS as ComputeBudgetConfig, bT as TxTipConfig, r as ApiV3PoolInfoStandardItemCpmm, z as CpmmKeys, cg as Percent, bW as GetTransferAmountFee } from '../../api-
|
|
4
|
+
import { i as ApiV3Token, f as ApiCpmmConfigInfo, bS as ComputeBudgetConfig, bT as TxTipConfig, r as ApiV3PoolInfoStandardItemCpmm, z as CpmmKeys, cg as Percent, bW as GetTransferAmountFee } from '../../api-7a8cb334.js';
|
|
5
5
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
6
6
|
import { SwapResult } from './curve/calculator.js';
|
|
7
7
|
import { CpmmPoolInfoLayout } from './layout.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, bz as FarmVersion, bE as isValidFarmVersion, bG as poolTypeV6, bF as validateFarmRewards } from '../../api-
|
|
2
|
+
export { bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, bz as FarmVersion, bE as isValidFarmVersion, bG as poolTypeV6, bF as validateFarmRewards } from '../../api-7a8cb334.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-7a8cb334.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-445995ec.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-2a071cbf.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, bx as FarmDWParam, bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bz as FarmVersion, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, bE as isValidFarmVersion, bG as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, bF as validateFarmRewards, aI as withdrawRewardLayout } from '../../api-
|
|
1
|
+
export { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, bx as FarmDWParam, bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bz as FarmVersion, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, bE as isValidFarmVersion, bG as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, bF as validateFarmRewards, aI as withdrawRewardLayout } from '../../api-7a8cb334.js';
|
|
2
2
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './util.js';
|
|
3
3
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV4, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './instruction.js';
|
|
4
4
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './pda.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bR as InstructionReturn, bm as RewardType, U as FormatFarmKeyOut, br as RewardInfoKey, bq as FarmRewardInfoConfig } from '../../api-
|
|
3
|
+
import { bR as InstructionReturn, bm as RewardType, U as FormatFarmKeyOut, br as RewardInfoKey, bq as FarmRewardInfoConfig } from '../../api-7a8cb334.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 { bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, aI as withdrawRewardLayout } from '../../api-
|
|
4
|
+
export { bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, aI as withdrawRewardLayout } from '../../api-7a8cb334.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 { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bx as FarmDWParam, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, bv as UpdateFarmReward, bw as UpdateFarmRewards } from '../../api-
|
|
3
|
+
export { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bx as FarmDWParam, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, bv as UpdateFarmReward, bw as UpdateFarmRewards } from '../../api-7a8cb334.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bp as FarmRewardInfo, bq as FarmRewardInfoConfig, W as RewardInfoV6, b9 as FarmLedgerLayout, a_ as FarmStateLayout, aZ as FarmState, bf as FarmLedger } from '../../api-
|
|
3
|
+
import { bp as FarmRewardInfo, bq as FarmRewardInfoConfig, W as RewardInfoV6, b9 as FarmLedgerLayout, a_ as FarmStateLayout, aZ as FarmState, bf as FarmLedger } from '../../api-7a8cb334.js';
|
|
4
4
|
import { GetMultipleAccountsInfoConfig } from '../../common/accountInfo.js';
|
|
5
5
|
import { DateParam } from '../../common/date.js';
|
|
6
6
|
import { ProgramAddress } from '../../common/txTool/txUtils.js';
|
package/lib/raydium/ido/ido.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-7a8cb334.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { e as default } from '../../raydium-
|
|
4
|
+
export { e as default } from '../../raydium-445995ec.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-2a071cbf.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { e as default } from '../../raydium-
|
|
1
|
+
export { e as default } from '../../raydium-445995ec.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-7a8cb334.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
9
|
import 'bn.js';
|
|
@@ -25,7 +25,7 @@ import '../liquidity/stable.js';
|
|
|
25
25
|
import '../liquidity/type.js';
|
|
26
26
|
import '../liquidity/layout.js';
|
|
27
27
|
import '../clmm/layout.js';
|
|
28
|
-
import '../../type-
|
|
28
|
+
import '../../type-2a071cbf.js';
|
|
29
29
|
import '../cpmm/type.js';
|
|
30
30
|
import '../cpmm/curve/calculator.js';
|
|
31
31
|
import '../cpmm/layout.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
2
2
|
import { PurchaseInstructionKeys, ClaimInstructionKeysV3, ClaimInstructionKeys, IdoClaimInstructionParams } from './type.js';
|
|
3
|
-
import '../../api-
|
|
3
|
+
import '../../api-7a8cb334.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, L as LaunchpadPoolInitParam, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-
|
|
1
|
+
export { C as Clmm, L as LaunchpadPoolInitParam, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-445995ec.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 { bn as APIRewardInfo, d as ApiClmmConfigInfo, c1 as ArrayItem, bS as ComputeBudgetConfig, c8 as Cover, bt as CreateFarm, bu as CreateFarmExtInfo, c2 as ExactPartial, c3 as ExactRequired, bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, c7 as Fallback, bx as FarmDWParam, bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bz as FarmVersion, bW as GetTransferAmountFee, c5 as GetValue, bR as InstructionReturn, bU as LoadParams, bL as LpToken, bQ as MakeMultiTransaction, bO as MakeTransaction, bP as MakeV0Transaction, b_ as MayArray, b$ as MayDeepArray, c0 as MayFunction, bZ as ReplaceType, bX as ReturnTypeFetchMultipleMintInfo, bY as ReturnTypeFetchMultipleMintInfos, bM as ReturnTypeMakeInstructions, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, c4 as SKeyof, c6 as SOR, bN as SignAllTransactions, bK as SplToken, bI as TokenInfo, bJ as TokenJson, bV as TransferAmountFee, bT as TxTipConfig, c9 as UnionCover, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, bE as isValidFarmVersion, bG as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, ca as unionArr, bF as validateFarmRewards, aI as withdrawRewardLayout } from '../api-
|
|
6
|
+
export { bn as APIRewardInfo, d as ApiClmmConfigInfo, c1 as ArrayItem, bS as ComputeBudgetConfig, c8 as Cover, bt as CreateFarm, bu as CreateFarmExtInfo, c2 as ExactPartial, c3 as ExactRequired, bA as FARM_LOCK_MINT, bB as FARM_LOCK_VAULT, bH as FARM_PROGRAM_TO_VERSION, bD as FARM_VERSION_TO_LEDGER_LAYOUT, bC as FARM_VERSION_TO_STATE_LAYOUT, c7 as Fallback, bx as FarmDWParam, bf as FarmLedger, b9 as FarmLedgerLayout, b4 as FarmLedgerLayoutV3_1, b5 as FarmLedgerLayoutV3_2, b6 as FarmLedgerLayoutV5_1, b7 as FarmLedgerLayoutV5_2, b8 as FarmLedgerLayoutV6_1, ba as FarmLedgerV3_1, bb as FarmLedgerV3_2, bc as FarmLedgerV5_1, bd as FarmLedgerV5_2, be as FarmLedgerV6_1, bs as FarmPoolInfoV6, by as FarmPoolKeys, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, bz as FarmVersion, bW as GetTransferAmountFee, c5 as GetValue, bR as InstructionReturn, bU as LoadParams, bL as LpToken, bQ as MakeMultiTransaction, bO as MakeTransaction, bP as MakeV0Transaction, b_ as MayArray, b$ as MayDeepArray, c0 as MayFunction, bZ as ReplaceType, bX as ReturnTypeFetchMultipleMintInfo, bY as ReturnTypeFetchMultipleMintInfos, bM as ReturnTypeMakeInstructions, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, c4 as SKeyof, c6 as SOR, bN as SignAllTransactions, bK as SplToken, bI as TokenInfo, bJ as TokenJson, bV as TransferAmountFee, bT as TxTipConfig, c9 as UnionCover, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, aH as associatedLedgerAccountLayout, bg as dwLayout, aS as farmAddRewardLayout, a$ as farmLedgerLayoutV3_1, b0 as farmLedgerLayoutV3_2, b1 as farmLedgerLayoutV5_1, b2 as farmLedgerLayoutV5_2, b3 as farmLedgerLayoutV6_1, aQ as farmRewardLayout, aR as farmRewardRestartLayout, aP as farmRewardTimeInfoLayout, aM as farmStateV3Layout, aN as farmStateV5Layout, aO as farmStateV6Layout, bE as isValidFarmVersion, bG as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, ca as unionArr, bF as validateFarmRewards, aI as withdrawRewardLayout } from '../api-7a8cb334.js';
|
|
7
7
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './farm/util.js';
|
|
8
8
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV4, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './farm/instruction.js';
|
|
9
9
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './farm/pda.js';
|
|
10
10
|
export { SOL_INFO, TOKEN_WSOL } from './token/constant.js';
|
|
11
11
|
export { SPL_MINT_LAYOUT, SplMintLayout } from './token/layout.js';
|
|
12
12
|
export { parseTokenInfo, solToWSolToken, toApiV3Token, toFeeConfig, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './token/utils.js';
|
|
13
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-
|
|
13
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../type-2a071cbf.js';
|
|
14
14
|
export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './clmm/layout.js';
|
|
15
15
|
export { ClmmInstrument } from './clmm/instrument.js';
|
|
16
16
|
export { BIT_PRECISION, FEE_RATE_DENOMINATOR, Fee, LOG_B_2_X32, LOG_B_P_ERR_MARGIN_LOWER_X64, LOG_B_P_ERR_MARGIN_UPPER_X64, MAX_SQRT_PRICE_X64, MAX_SQRT_PRICE_X64_SUB_ONE, MAX_TICK, MIN_SQRT_PRICE_X64, MIN_SQRT_PRICE_X64_ADD_ONE, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './clmm/utils/constants.js';
|