@raydium-io/raydium-sdk-v2 0.2.46-alpha → 0.2.47-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api.d.ts +1 -1
- package/lib/api/index.d.ts +1 -1
- package/lib/api/type.d.ts +1 -1
- package/lib/{api-659bcd00.d.ts → api-4cfb9795.d.ts} +7 -7
- 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 +2 -2
- 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 +2 -2
- package/lib/raydium/account/index.d.ts +1 -1
- package/lib/raydium/account/instruction.d.ts +1 -1
- package/lib/raydium/account/layout.d.ts +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 +2 -2
- package/lib/raydium/clmm/index.d.ts +2 -2
- package/lib/raydium/clmm/instrument.d.ts +1 -1
- package/lib/raydium/clmm/layout.d.ts +2 -2
- package/lib/raydium/clmm/libraries/index.d.ts +1 -1
- package/lib/raydium/clmm/libraries/pda.d.ts +1 -1
- package/lib/raydium/clmm/libraries/pool.d.ts +1 -1
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/raydium/ido/index.d.ts +2 -2
- package/lib/raydium/ido/instruction.d.ts +1 -1
- package/lib/raydium/ido/type.d.ts +1 -1
- package/lib/raydium/index.d.ts +2 -2
- package/lib/raydium/launchpad/curve/curve.d.ts +1 -1
- package/lib/raydium/launchpad/index.d.ts +2 -2
- package/lib/raydium/launchpad/instrument.d.ts +1 -1
- package/lib/raydium/launchpad/launchpad.d.ts +2 -2
- 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 +2 -2
- package/lib/raydium/liquidity/liquidity.d.ts +2 -2
- 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 +2 -2
- package/lib/raydium/marketV2/index.d.ts +2 -2
- package/lib/raydium/moduleBase.d.ts +2 -2
- package/lib/raydium/raydium.d.ts +2 -2
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/token.d.ts +2 -2
- 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 +1 -1
- package/lib/raydium/tradeV2/instrument.d.ts +1 -1
- package/lib/raydium/tradeV2/trade.d.ts +2 -2
- package/lib/raydium/tradeV2/type.d.ts +1 -1
- package/lib/raydium/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +2 -2
- package/lib/raydium/utils1216/utils1216.d.ts +2 -2
- package/lib/{raydium-5571581b.d.ts → raydium-6c1429a2.d.ts} +2 -2
- package/package.json +1 -1
package/lib/api/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'axios';
|
|
2
2
|
import '../solana/type.js';
|
|
3
|
-
export { a as Api, A as ApiProps, e as endlessRetry } from '../api-
|
|
3
|
+
export { a as Api, A as ApiProps, e as endlessRetry } from '../api-4cfb9795.js';
|
|
4
4
|
import './url.js';
|
|
5
5
|
import '@solana/web3.js';
|
|
6
6
|
import 'bn.js';
|
package/lib/api/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { y as AmmV4Keys, z as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, A as ApiProps, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, a1 as AvailabilityCheckAPI3, G as ClmmKeys, D as ClmmRewardType, B as CpmmKeys, C as CpmmLockInfo, E as ExtensionsItem, a6 as FarmPositionData, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, Y as FarmTagsItem, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, a4 as IdoKeysData, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, W as RewardInfoV345, X as RewardInfoV6, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, R as RpcItemA, K as RpcItemB, M as RpcType, T as TransferFeeDataBaseType, e as endlessRetry } from '../api-
|
|
1
|
+
export { y as AmmV4Keys, z as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, A as ApiProps, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, a1 as AvailabilityCheckAPI3, G as ClmmKeys, D as ClmmRewardType, B as CpmmKeys, C as CpmmLockInfo, E as ExtensionsItem, a6 as FarmPositionData, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, Y as FarmTagsItem, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, a4 as IdoKeysData, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, W as RewardInfoV345, X as RewardInfoV6, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, R as RpcItemA, K as RpcItemB, M as RpcType, T as TransferFeeDataBaseType, e as endlessRetry } from '../api-4cfb9795.js';
|
|
2
2
|
export { API_URLS, API_URL_CONFIG, DEV_API_URLS } from './url.js';
|
|
3
3
|
export { ResHistory, SESSION_KEY, STORAGE_KEY, getSessionKey, updateReqHistory } from './utils.js';
|
|
4
4
|
import 'axios';
|
package/lib/api/type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { y as AmmV4Keys, z as AmmV5Keys, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, a1 as AvailabilityCheckAPI3, G as ClmmKeys, D as ClmmRewardType, B as CpmmKeys, C as CpmmLockInfo, E as ExtensionsItem, a6 as FarmPositionData, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, Y as FarmTagsItem, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, a4 as IdoKeysData, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, W as RewardInfoV345, X as RewardInfoV6, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, R as RpcItemA, K as RpcItemB, M as RpcType, T as TransferFeeDataBaseType } from '../api-
|
|
1
|
+
export { y as AmmV4Keys, z as AmmV5Keys, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, a1 as AvailabilityCheckAPI3, G as ClmmKeys, D as ClmmRewardType, B as CpmmKeys, C as CpmmLockInfo, E as ExtensionsItem, a6 as FarmPositionData, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, Y as FarmTagsItem, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, a4 as IdoKeysData, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, W as RewardInfoV345, X as RewardInfoV6, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, R as RpcItemA, K as RpcItemB, M as RpcType, T as TransferFeeDataBaseType } from '../api-4cfb9795.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import '../solana/type.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
@@ -907,38 +907,38 @@ declare type FarmStateV6 = GetStructureSchema<FarmStateLayoutV6>;
|
|
|
907
907
|
declare type FarmState = FarmStateV3 | FarmStateV5 | FarmStateV6;
|
|
908
908
|
declare type FarmStateLayout = FarmStateLayoutV3 | FarmStateLayoutV5 | FarmStateLayoutV6;
|
|
909
909
|
declare const farmLedgerLayoutV3_1: Structure<PublicKey | BN__default | BN__default[], "", {
|
|
910
|
+
owner: PublicKey;
|
|
910
911
|
state: BN__default;
|
|
911
912
|
id: PublicKey;
|
|
912
|
-
owner: PublicKey;
|
|
913
913
|
deposited: BN__default;
|
|
914
914
|
rewardDebts: BN__default[];
|
|
915
915
|
}>;
|
|
916
916
|
declare const farmLedgerLayoutV3_2: Structure<PublicKey | BN__default | BN__default[], "", {
|
|
917
|
+
owner: PublicKey;
|
|
917
918
|
state: BN__default;
|
|
918
919
|
id: PublicKey;
|
|
919
|
-
owner: PublicKey;
|
|
920
920
|
deposited: BN__default;
|
|
921
921
|
rewardDebts: BN__default[];
|
|
922
922
|
voteLockedBalance: BN__default;
|
|
923
923
|
}>;
|
|
924
924
|
declare const farmLedgerLayoutV5_1: Structure<PublicKey | BN__default | BN__default[], "", {
|
|
925
|
+
owner: PublicKey;
|
|
925
926
|
state: BN__default;
|
|
926
927
|
id: PublicKey;
|
|
927
|
-
owner: PublicKey;
|
|
928
928
|
deposited: BN__default;
|
|
929
929
|
rewardDebts: BN__default[];
|
|
930
930
|
}>;
|
|
931
931
|
declare const farmLedgerLayoutV5_2: Structure<PublicKey | BN__default | BN__default[], "", {
|
|
932
|
+
owner: PublicKey;
|
|
932
933
|
state: BN__default;
|
|
933
934
|
id: PublicKey;
|
|
934
|
-
owner: PublicKey;
|
|
935
935
|
deposited: BN__default;
|
|
936
936
|
rewardDebts: BN__default[];
|
|
937
937
|
}>;
|
|
938
938
|
declare const farmLedgerLayoutV6_1: Structure<PublicKey | BN__default | BN__default[], "", {
|
|
939
|
+
owner: PublicKey;
|
|
939
940
|
state: BN__default;
|
|
940
941
|
id: PublicKey;
|
|
941
|
-
owner: PublicKey;
|
|
942
942
|
deposited: BN__default;
|
|
943
943
|
rewardDebts: BN__default[];
|
|
944
944
|
}>;
|
|
@@ -968,7 +968,7 @@ declare const VoterVotingMintConfig: Structure<PublicKey | number[] | BN__defaul
|
|
|
968
968
|
reserved1: number[];
|
|
969
969
|
reserved2: BN__default[];
|
|
970
970
|
}>;
|
|
971
|
-
declare const VoterRegistrar: Structure<number | PublicKey | number[] |
|
|
971
|
+
declare const VoterRegistrar: Structure<number | PublicKey | Buffer | number[] | BN__default | BN__default[] | {
|
|
972
972
|
mint: PublicKey;
|
|
973
973
|
grantAuthority: PublicKey;
|
|
974
974
|
baselineVoteWeightScaledFactor: BN__default;
|
|
@@ -1023,7 +1023,7 @@ declare const VoterDepositEntry: Structure<number | boolean | number[] | BN__def
|
|
|
1023
1023
|
allowClawback: boolean;
|
|
1024
1024
|
votingMintConfigIdx: number;
|
|
1025
1025
|
}>;
|
|
1026
|
-
declare const Voter: Structure<number | PublicKey | number[] |
|
|
1026
|
+
declare const Voter: Structure<number | PublicKey | Buffer | number[] | {
|
|
1027
1027
|
reserved: number[];
|
|
1028
1028
|
lockup: {
|
|
1029
1029
|
startTime: BN__default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Commitment, Connection, PublicKey, AccountInfo } from '@solana/web3.js';
|
|
2
|
-
import { b$ as ReturnTypeFetchMultipleMintInfos } from '../api-
|
|
2
|
+
import { b$ as ReturnTypeFetchMultipleMintInfos } from '../api-4cfb9795.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
2
|
import 'decimal.js';
|
|
3
|
-
export { ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, ah as Numberish, ao as ceilDiv, au as decimalToFraction, ak as divCeil, ap as floorDiv, av as isDecimal, aj as parseNumberInfo, al as shakeFractionDecimal, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency } from '../api-
|
|
3
|
+
export { ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, ah as Numberish, ao as ceilDiv, au as decimalToFraction, ak as divCeil, ap as floorDiv, av as isDecimal, aj as parseNumberInfo, al as shakeFractionDecimal, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency } from '../api-4cfb9795.js';
|
|
4
4
|
import '../module/token.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../solana/type.js';
|
package/lib/common/constant.d.ts
CHANGED
package/lib/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ACCOUNT_TYPE_SIZE, AccountType, GetMultipleAccountsInfoConfig, fetchMultipleMintInfos, getMultipleAccountsInfo, getMultipleAccountsInfoWithCustomFlags } from './accountInfo.js';
|
|
2
|
-
export { ay as AddInstructionParam, ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, aE as MakeMultiTxData, aF as MakeTxData, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, ah as Numberish, aw as Rounding, az as TxBuildData, aG as TxBuilder, aA as TxV0BuildData, ao as ceilDiv, au as decimalToFraction, ak as divCeil, ap as floorDiv, av as isDecimal, ax as parseBigNumberish, aj as parseNumberInfo, al as shakeFractionDecimal, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency } from '../api-
|
|
2
|
+
export { ay as AddInstructionParam, ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, aE as MakeMultiTxData, aF as MakeTxData, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, ah as Numberish, aw as Rounding, az as TxBuildData, aG as TxBuilder, aA as TxV0BuildData, ao as ceilDiv, au as decimalToFraction, ak as divCeil, ap as floorDiv, av as isDecimal, ax as parseBigNumberish, aj as parseNumberInfo, al as shakeFractionDecimal, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency } from '../api-4cfb9795.js';
|
|
3
3
|
export { DateParam, TimeStamp, getDate, getTime, isDateAfter, isDateBefore, isNumber, offsetDateTime } from './date.js';
|
|
4
4
|
export { add, div, eq, getMax, gt, gte, isMeaningfulNumber, lt, lte, mul, sub, toFractionWithDecimals } from './fractionUtil.js';
|
|
5
5
|
export { chunkArray, intersection, uniq, xor } from './lodash.js';
|
package/lib/common/transfer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import { TransferFeeConfig } from '@solana/spl-token';
|
|
4
|
-
import { bZ as GetTransferAmountFee, T as TransferFeeDataBaseType } from '../api-
|
|
4
|
+
import { bZ as GetTransferAmountFee, T as TransferFeeDataBaseType } from '../api-4cfb9795.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../solana/type.js';
|
|
7
7
|
import '../api/url.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { ay as AddInstructionParam, aE as MakeMultiTxData, aF as MakeTxData, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, az as TxBuildData, aG as TxBuilder, aA as TxV0BuildData } from '../../api-
|
|
2
|
+
export { ay as AddInstructionParam, aE as MakeMultiTxData, aF as MakeTxData, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, az as TxBuildData, aG as TxBuilder, aA as TxV0BuildData } from '../../api-4cfb9795.js';
|
|
3
3
|
import '../owner.js';
|
|
4
4
|
import './lookupTable.js';
|
|
5
5
|
import './txType.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TransactionInstruction, Connection, Commitment, PublicKey, Transaction, EpochInfo, VersionedTransaction } from '@solana/web3.js';
|
|
2
2
|
import { CacheLTA } from './lookupTable.js';
|
|
3
|
-
import { bV as ComputeBudgetConfig } from '../../api-
|
|
3
|
+
import { bV as ComputeBudgetConfig } from '../../api-4cfb9795.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
package/lib/common/utility.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bn as APIRewardInfo, ay as AddInstructionParam, y as AmmV4Keys, z as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, A as ApiProps, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, c4 as ArrayItem, a1 as AvailabilityCheckAPI3, ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, G as ClmmKeys, D as ClmmRewardType, bV as ComputeBudgetConfig, cb as Cover, B as CpmmKeys, C as CpmmLockInfo, bt as CreateFarm, bu as CreateFarmExtInfo, cg as CurrencyAmount, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, c5 as ExactPartial, c6 as ExactRequired, E as ExtensionsItem, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, ca 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, bz as FarmPosition, a6 as FarmPositionData, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, Y as FarmTagsItem, bA as FarmVersion, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, ch as Fraction, bZ as GetTransferAmountFee, c8 as GetValue, a4 as IdoKeysData, bU as InstructionReturn, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, bX as LoadParams, bO as LpToken, bT as MakeMultiTransaction, aE as MakeMultiTxData, bR as MakeTransaction, aF as MakeTxData, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, ah as Numberish, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, cj as Percent, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, ck as Price, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, br as RewardInfoKey, W as RewardInfoV345, X as RewardInfoV6, bo as RewardInfoWithKey, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, bm as RewardType, aw as Rounding, R as RpcItemA, K as RpcItemB, M as RpcType, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bN as SplToken, cf as TokenAmount, bL as TokenInfo, bM as TokenJson, bY as TransferAmountFee, T as TransferFeeDataBaseType, az as TxBuildData, aG as TxBuilder, bW as TxTipConfig, aA as TxV0BuildData, cc as UnionCover, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, ci as _100_PERCENT, aH as associatedLedgerAccountLayout, ao as ceilDiv, au as decimalToFraction, ak as divCeil, bg as dwLayout, e as endlessRetry, 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, ap as floorDiv, av as isDecimal, bH as isValidFarmVersion, ax as parseBigNumberish, aj as parseNumberInfo, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, al as shakeFractionDecimal, ce as splitNumber, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency, cd as unionArr, bI as validateFarmRewards, aI as withdrawRewardLayout } from './api-
|
|
1
|
+
export { bn as APIRewardInfo, ay as AddInstructionParam, y as AmmV4Keys, z as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, I as ApiClmmConfigV3, f as ApiClmmDynamicConfigInfo, h as ApiClmmPoolsItemStatistics, g as ApiCpmmConfigInfo, a7 as ApiLaunchConfig, b as ApiPoolInfoV4, A as ApiProps, a5 as ApiStakePool, c as ApiStakePoolInfo, i as ApiV3PageIns, p as ApiV3PoolInfoBaseItem, q as ApiV3PoolInfoConcentratedItem, m as ApiV3PoolInfoCountItem, t as ApiV3PoolInfoItem, r as ApiV3PoolInfoStandardItem, s as ApiV3PoolInfoStandardItemCpmm, j as ApiV3Token, l as ApiV3TokenRes, c4 as ArrayItem, a1 as AvailabilityCheckAPI3, ad as BN_100, ae as BN_1000, af as BN_10000, ab as BN_FIVE, ac as BN_TEN, aa as BN_THREE, a9 as BN_TWO, ag as BigNumberish, G as ClmmKeys, D as ClmmRewardType, bV as ComputeBudgetConfig, cb as Cover, B as CpmmKeys, C as CpmmLockInfo, bt as CreateFarm, bu as CreateFarmExtInfo, cg as CurrencyAmount, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, c5 as ExactPartial, c6 as ExactRequired, E as ExtensionsItem, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, ca 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, bz as FarmPosition, a6 as FarmPositionData, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, F as FarmRewardInfoV6, N as FarmRewardTypeV6Key, aZ as FarmState, a_ as FarmStateLayout, aT as FarmStateLayoutV3, aU as FarmStateLayoutV5, aV as FarmStateLayoutV6, aW as FarmStateV3, aX as FarmStateV5, aY as FarmStateV6, Y as FarmTagsItem, bA as FarmVersion, v as FetchPoolParams, a0 as FormatFarmInfoOut, Z as FormatFarmInfoOutBase, _ as FormatFarmInfoOutV345, $ as FormatFarmInfoOutV6, V as FormatFarmKeyOut, S as FormatFarmKeyOutV345, U as FormatFarmKeyOutV6, ch as Fraction, bZ as GetTransferAmountFee, c8 as GetValue, a4 as IdoKeysData, bU as InstructionReturn, k as JupToken, J as JupTokenType, x as LiquidityLineApi, L as LiquidityVersion, bX as LoadParams, bO as LpToken, bT as MakeMultiTransaction, aE as MakeMultiTxData, bR as MakeTransaction, aF as MakeTxData, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, aC as MultiTxBuildData, aB as MultiTxExecuteParam, aD as MultiTxV0BuildData, ah as Numberish, a2 as OwnerCreatedFarmInfo, a3 as OwnerIdoInfo, cj as Percent, w as Point, n as PoolFarmRewardInfo, u as PoolFetchType, H as PoolKeys, o as PoolRewardInfoItem, a8 as PoolTipInterface, P as PoolsApiReturn, ck as Price, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, br as RewardInfoKey, W as RewardInfoV345, X as RewardInfoV6, bo as RewardInfoWithKey, O as RewardKeyInfoV345, Q as RewardKeyInfoV6, bm as RewardType, aw as Rounding, R as RpcItemA, K as RpcItemB, M as RpcType, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bN as SplToken, cf as TokenAmount, bL as TokenInfo, bM as TokenJson, bY as TransferAmountFee, T as TransferFeeDataBaseType, az as TxBuildData, aG as TxBuilder, bW as TxTipConfig, aA as TxV0BuildData, cc as UnionCover, bv as UpdateFarmReward, bw as UpdateFarmRewards, bl as Voter, bk as VoterDepositEntry, bj as VoterLockup, bi as VoterRegistrar, bh as VoterVotingMintConfig, ci as _100_PERCENT, aH as associatedLedgerAccountLayout, ao as ceilDiv, au as decimalToFraction, ak as divCeil, bg as dwLayout, e as endlessRetry, 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, ap as floorDiv, av as isDecimal, bH as isValidFarmVersion, ax as parseBigNumberish, aj as parseNumberInfo, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, al as shakeFractionDecimal, ce as splitNumber, ai as tenExponential, am as toBN, an as toFraction, aq as toPercent, ar as toTokenPrice, at as toTotalPrice, as as toUsdCurrency, cd as unionArr, bI as validateFarmRewards, aI as withdrawRewardLayout } from './api-4cfb9795.js';
|
|
2
2
|
export { API_URLS, API_URL_CONFIG, DEV_API_URLS } from './api/url.js';
|
|
3
3
|
export { ResHistory, SESSION_KEY, STORAGE_KEY, getSessionKey, updateReqHistory } from './api/utils.js';
|
|
4
4
|
export { ACCOUNT_TYPE_SIZE, AccountType, GetMultipleAccountsInfoConfig, fetchMultipleMintInfos, getMultipleAccountsInfo, getMultipleAccountsInfoWithCustomFlags } from './common/accountInfo.js';
|
|
@@ -16,7 +16,7 @@ export { InstructionType, TxVersion } from './common/txTool/txType.js';
|
|
|
16
16
|
export { MAX_BASE64_SIZE, ProgramAddress, addComputeBudget, checkLegacyTxSize, checkV0TxSize, confirmTransaction, findProgramAddress, forecastTransactionSize, getEpochInfo, getRecentBlockHash, parseSimulateLogToJson, parseSimulateValue, printSimulate, simulateMultipleInstruction, simulateTransaction, toBuffer, transformTxToBase64, txToBase64 } from './common/txTool/txUtils.js';
|
|
17
17
|
export { getTimestamp, jsonInfo2PoolKeys, notInnerObject, sleep } from './common/utility.js';
|
|
18
18
|
export { FEE_RATE_DENOMINATOR_VALUE } from './common/fee.js';
|
|
19
|
-
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, e as SwapInfoReturnExt, d as canClaimErrorType, u as usdMintBSet } from './raydium-
|
|
19
|
+
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, e as SwapInfoReturnExt, d as canClaimErrorType, u as usdMintBSet } from './raydium-6c1429a2.js';
|
|
20
20
|
export { splAccountLayout } from './raydium/account/layout.js';
|
|
21
21
|
export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './raydium/account/types.js';
|
|
22
22
|
export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './raydium/account/util.js';
|
package/lib/module/amount.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
|
-
export { cg as CurrencyAmount, cf as TokenAmount, ce as splitNumber } from '../api-
|
|
2
|
+
export { cg as CurrencyAmount, cf as TokenAmount, ce as splitNumber } from '../api-4cfb9795.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 { cg as CurrencyAmount, ch as Fraction, cj as Percent, ck as Price, cf as TokenAmount, ci as _100_PERCENT, ce as splitNumber } from '../api-
|
|
1
|
+
export { cg as CurrencyAmount, ch as Fraction, cj as Percent, ck as Price, cf as TokenAmount, ci as _100_PERCENT, ce as splitNumber } from '../api-4cfb9795.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-4cfb9795.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-6c1429a2.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.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-4cfb9795.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, ag as BigNumberish } from '../../api-
|
|
2
|
+
import { ay as AddInstructionParam, ag as BigNumberish } from '../../api-4cfb9795.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -4,8 +4,8 @@ import * as _solana_web3_js from '@solana/web3.js';
|
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
6
|
declare const splAccountLayout: Structure<number | _solana_web3_js.PublicKey | BN, "", {
|
|
7
|
-
state: number;
|
|
8
7
|
owner: _solana_web3_js.PublicKey;
|
|
8
|
+
state: number;
|
|
9
9
|
amount: BN;
|
|
10
10
|
mint: _solana_web3_js.PublicKey;
|
|
11
11
|
delegateOption: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { ag as BigNumberish } from '../../api-
|
|
3
|
+
import { ag as BigNumberish } from '../../api-4cfb9795.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-4cfb9795.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import '../../api-
|
|
1
|
+
import '../../api-4cfb9795.js';
|
|
2
2
|
import '../../common/txTool/txType.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'bn.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
+
export { C as Clmm } from '../../raydium-6c1429a2.js';
|
|
7
7
|
import './layout.js';
|
|
8
8
|
import './type.js';
|
|
9
9
|
import 'axios';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as Clmm } from '../../raydium-
|
|
1
|
+
export { C as Clmm } from '../../raydium-6c1429a2.js';
|
|
2
2
|
export { ApiClmmConfigInfos, ApiClmmPoint, ClmmConfigInfo, ClmmLockAddress, ClmmParsedRpcData, ClmmPoolInfo, ClmmPoolPersonalPosition, ClmmPoolRewardInfo, CloseAllLimitOrder, CloseLimitOrder, ClosePositionExtInfo, CollectRewardParams, CollectRewardsParams, ComputeClmmPoolInfo, CreateConcentratedPool, CreateCustomizablePool, DecreaseLimitOrder, DecreaseLiquidity, GetAmountParams, HarvestAllRewardsParams, HarvestLockPosition, IncreaseLimitOrder, IncreasePositionFromBase, IncreasePositionFromLiquidity, InitRewardExtInfo, InitRewardParams, InitRewardsParams, LockPosition, ManipulateLiquidityExtInfo, OpenLimitOrder, OpenPositionFromBase, OpenPositionFromBaseExtInfo, OpenPositionFromLiquidity, OpenPositionFromLiquidityExtInfo, ReturnTypeComputeAmountOut, ReturnTypeComputeAmountOutBaseOut, ReturnTypeComputeAmountOutFormat, ReturnTypeFetchExBitmaps, ReturnTypeFetchMultiplePoolTickArrays, ReturnTypeGetAmountsFromLiquidity, ReturnTypeGetLiquidityAmountOut, ReturnTypeMakeCreatePoolTransaction, ReturnTypeMakeHarvestTransaction, SDKParsedConcentratedInfo, SetRewardParams, SetRewardsParams, SettleAllLimitOrders, SettleLimitOrder, SimpleClmmPoolInfo, UserPositionAccount } from './type.js';
|
|
3
3
|
export { ClmmConfigLayout, ClmmPositionLayout, DynamicFeeConfigLayout, DynamicFeeInfoLayout, LimitOrderLayout, LimitOrderNonceLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationItemLayout, ObservationLayout, OperationLayout, PersonalPositionLayout, PoolInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfoLayout, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './layout.js';
|
|
4
4
|
export { ClmmInstrument } from './instrument.js';
|
|
@@ -15,7 +15,7 @@ export { SwapMathUtil, SwapState, SwapStepResult } from './libraries/swapMath.js
|
|
|
15
15
|
export { SwapSimulationResult, swapInternal } from './libraries/swapSimulator.js';
|
|
16
16
|
export { LimitOrderMatchResult, TickArrayBitmapUtil, TickArrayUtil, TickUtil, fetchTickArrays } from './libraries/tickArrayUtil.js';
|
|
17
17
|
export { i32ToBytes, i32ToBytesBE, u16ToBytes, u16ToBytesBE, u64ToBytes, u8ToBytes } from './libraries/utils.js';
|
|
18
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
18
|
+
export { d as ApiClmmConfigInfo } from '../../api-4cfb9795.js';
|
|
19
19
|
import '@solana/web3.js';
|
|
20
20
|
import '../../api/url.js';
|
|
21
21
|
import '../../common/owner.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bP as ReturnTypeMakeInstructions, q as ApiV3PoolInfoConcentratedItem, G as ClmmKeys, j as ApiV3Token } from '../../api-
|
|
1
|
+
import { bP as ReturnTypeMakeInstructions, q as ApiV3PoolInfoConcentratedItem, G as ClmmKeys, j as ApiV3Token } from '../../api-4cfb9795.js';
|
|
2
2
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
3
3
|
import BN__default from 'bn.js';
|
|
4
4
|
import { PersonalPositionLayout } from './layout.js';
|
|
@@ -3,7 +3,7 @@ import * as BN from 'bn.js';
|
|
|
3
3
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
4
4
|
import '../../marshmallow/buffer-layout.js';
|
|
5
5
|
|
|
6
|
-
declare const ClmmConfigLayout: Structure<number | _solana_web3_js.PublicKey | number[] |
|
|
6
|
+
declare const ClmmConfigLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | number[] | BN[], "", {
|
|
7
7
|
owner: _solana_web3_js.PublicKey;
|
|
8
8
|
bump: number;
|
|
9
9
|
index: number;
|
|
@@ -176,7 +176,7 @@ declare const TickLayout: Structure<number | number[] | BN | BN[], "", {
|
|
|
176
176
|
partFilledOrdersRemaining: BN;
|
|
177
177
|
unfilledRatioX64: BN;
|
|
178
178
|
}>;
|
|
179
|
-
declare const TickArrayLayout: Structure<number | _solana_web3_js.PublicKey | number[] |
|
|
179
|
+
declare const TickArrayLayout: Structure<number | _solana_web3_js.PublicKey | Buffer | number[] | BN | {
|
|
180
180
|
tick: number;
|
|
181
181
|
liquidityNet: BN;
|
|
182
182
|
liquidityGross: BN;
|
|
@@ -19,7 +19,7 @@ import '@solana/web3.js';
|
|
|
19
19
|
import '../../../marshmallow/buffer-layout.js';
|
|
20
20
|
import '../../../common/txTool/txUtils.js';
|
|
21
21
|
import '../../../common/txTool/lookupTable.js';
|
|
22
|
-
import '../../../api-
|
|
22
|
+
import '../../../api-4cfb9795.js';
|
|
23
23
|
import 'axios';
|
|
24
24
|
import '../../../solana/type.js';
|
|
25
25
|
import '@solana/spl-token';
|
|
@@ -2,7 +2,7 @@ import { PublicKey } from '@solana/web3.js';
|
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import { ProgramAddress } from '../../../common/txTool/txUtils.js';
|
|
4
4
|
import '../../../common/txTool/lookupTable.js';
|
|
5
|
-
import '../../../api-
|
|
5
|
+
import '../../../api-4cfb9795.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Connection, PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import { PoolInfoLayout, DynamicFeeInfoLayout, RewardInfoLayout, TickArrayBitmapExtensionLayout, TickArrayLayout } from '../layout.js';
|
|
4
|
-
import { q as ApiV3PoolInfoConcentratedItem, j as ApiV3Token } from '../../../api-
|
|
4
|
+
import { q as ApiV3PoolInfoConcentratedItem, j as ApiV3Token } from '../../../api-4cfb9795.js';
|
|
5
5
|
import { ClmmPoolRewardInfo, ComputeClmmPoolInfo, ReturnTypeFetchExBitmaps, ReturnTypeFetchMultiplePoolTickArrays, ReturnTypeComputeAmountOut, ReturnTypeComputeAmountOutFormat, ReturnTypeComputeAmountOutBaseOut, ReturnTypeGetLiquidityAmountOut } from '../type.js';
|
|
6
6
|
import Decimal from 'decimal.js';
|
|
7
7
|
import '../../../marshmallow/index.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PublicKey, Transaction, Signer, Keypair, EpochInfo } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { d as ApiClmmConfigInfo, j as ApiV3Token, bZ as GetTransferAmountFee, bY as TransferAmountFee, ck as Price, cj as Percent, cf as TokenAmount, bV as ComputeBudgetConfig, bW as TxTipConfig, ch as Fraction, bL as TokenInfo, q as ApiV3PoolInfoConcentratedItem, G as ClmmKeys } from '../../api-
|
|
5
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
4
|
+
import { d as ApiClmmConfigInfo, j as ApiV3Token, bZ as GetTransferAmountFee, bY as TransferAmountFee, ck as Price, cj as Percent, cf as TokenAmount, bV as ComputeBudgetConfig, bW as TxTipConfig, ch as Fraction, bL as TokenInfo, q as ApiV3PoolInfoConcentratedItem, G as ClmmKeys } from '../../api-4cfb9795.js';
|
|
5
|
+
export { d as ApiClmmConfigInfo } from '../../api-4cfb9795.js';
|
|
6
6
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
7
7
|
import { RewardInfoLayout, TickArrayBitmapExtensionLayout, PoolInfoLayout, TickArrayLayout, PersonalPositionLayout, LockClPositionLayoutV2, LimitOrderLayout } from './layout.js';
|
|
8
8
|
import { CollectFeeOn } from './libraries/constants.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-4cfb9795.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import './curve/calculator.js';
|
|
5
5
|
import 'bn.js';
|
|
6
6
|
import 'decimal.js';
|
|
7
|
-
export { k as default } from '../../raydium-
|
|
7
|
+
export { k as default } from '../../raydium-6c1429a2.js';
|
|
8
8
|
import './type.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../solana/type.js';
|
|
@@ -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-4cfb9795.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 { s as ApiV3PoolInfoStandardItemCpmm, B as CpmmKeys, bP as ReturnTypeMakeInstructions } from '../../api-
|
|
3
|
+
import { s as ApiV3PoolInfoStandardItemCpmm, B as CpmmKeys, bP as ReturnTypeMakeInstructions } from '../../api-4cfb9795.js';
|
|
4
4
|
import { CpmmLockExtInfo, FeeOn } from './type.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -15,7 +15,7 @@ declare const CpmmConfigInfoLayout: Structure<number | boolean | _solana_web3_js
|
|
|
15
15
|
protocolOwner: _solana_web3_js.PublicKey;
|
|
16
16
|
creatorFeeRate: BN;
|
|
17
17
|
}>;
|
|
18
|
-
declare const CpmmPoolInfoLayout: Structure<number | boolean | _solana_web3_js.PublicKey | number[] |
|
|
18
|
+
declare const CpmmPoolInfoLayout: Structure<number | boolean | _solana_web3_js.PublicKey | Buffer | number[] | BN | BN[], "", {
|
|
19
19
|
bump: number;
|
|
20
20
|
openTime: BN;
|
|
21
21
|
configId: _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 { j as ApiV3Token, g as ApiCpmmConfigInfo, bV as ComputeBudgetConfig, bW as TxTipConfig, s as ApiV3PoolInfoStandardItemCpmm, B as CpmmKeys, cj as Percent, bZ as GetTransferAmountFee } from '../../api-
|
|
4
|
+
import { j as ApiV3Token, g as ApiCpmmConfigInfo, bV as ComputeBudgetConfig, bW as TxTipConfig, s as ApiV3PoolInfoStandardItemCpmm, B as CpmmKeys, cj as Percent, bZ as GetTransferAmountFee } from '../../api-4cfb9795.js';
|
|
5
5
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
6
6
|
import { SwapResult } from './curve/calculator.js';
|
|
7
7
|
import { CpmmPoolInfoLayout, CpmmConfigInfoLayout } from './layout.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, bA as FarmVersion, bH as isValidFarmVersion, bJ as poolTypeV6, bI as validateFarmRewards } from '../../api-
|
|
2
|
+
export { bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, bA as FarmVersion, bH as isValidFarmVersion, bJ as poolTypeV6, bI as validateFarmRewards } from '../../api-4cfb9795.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-4cfb9795.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-6c1429a2.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF 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, bz as FarmPosition, 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, bA 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, bH as isValidFarmVersion, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, bI as validateFarmRewards, aI as withdrawRewardLayout } from '../../api-
|
|
1
|
+
export { bn as APIRewardInfo, bt as CreateFarm, bu as CreateFarmExtInfo, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF 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, bz as FarmPosition, 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, bA 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, bH as isValidFarmVersion, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, bI as validateFarmRewards, aI as withdrawRewardLayout } from '../../api-4cfb9795.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 { bU as InstructionReturn, bm as RewardType, V as FormatFarmKeyOut, br as RewardInfoKey, bq as FarmRewardInfoConfig } from '../../api-
|
|
3
|
+
import { bU as InstructionReturn, bm as RewardType, V as FormatFarmKeyOut, br as RewardInfoKey, bq as FarmRewardInfoConfig } from '../../api-4cfb9795.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-4cfb9795.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, bz as FarmPosition, 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, bz as FarmPosition, bp as FarmRewardInfo, bq as FarmRewardInfoConfig, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, bv as UpdateFarmReward, bw as UpdateFarmRewards } from '../../api-4cfb9795.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, X as RewardInfoV6, b9 as FarmLedgerLayout, a_ as FarmStateLayout, aZ as FarmState, bf as FarmLedger } from '../../api-
|
|
3
|
+
import { bp as FarmRewardInfo, bq as FarmRewardInfoConfig, X as RewardInfoV6, b9 as FarmLedgerLayout, a_ as FarmStateLayout, aZ as FarmState, bf as FarmLedger } from '../../api-4cfb9795.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-4cfb9795.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { f as default } from '../../raydium-
|
|
4
|
+
export { f as default } from '../../raydium-6c1429a2.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { f as default } from '../../raydium-
|
|
1
|
+
export { f as default } from '../../raydium-6c1429a2.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-4cfb9795.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
9
|
import 'bn.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-4cfb9795.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
package/lib/raydium/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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, e as SwapInfoReturnExt, d as canClaimErrorType, u as usdMintBSet } 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, e as SwapInfoReturnExt, d as canClaimErrorType, u as usdMintBSet } from '../raydium-6c1429a2.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, c4 as ArrayItem, bV as ComputeBudgetConfig, cb as Cover, bt as CreateFarm, bu as CreateFarmExtInfo, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, c5 as ExactPartial, c6 as ExactRequired, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, ca 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, bz as FarmPosition, 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, bA as FarmVersion, bZ as GetTransferAmountFee, c8 as GetValue, bU as InstructionReturn, bX as LoadParams, bO as LpToken, bT as MakeMultiTransaction, bR as MakeTransaction, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bN as SplToken, bL as TokenInfo, bM as TokenJson, bY as TransferAmountFee, bW as TxTipConfig, cc 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, bH as isValidFarmVersion, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, cd as unionArr, bI as validateFarmRewards, aI as withdrawRewardLayout } from '../api-
|
|
6
|
+
export { bn as APIRewardInfo, d as ApiClmmConfigInfo, c4 as ArrayItem, bV as ComputeBudgetConfig, cb as Cover, bt as CreateFarm, bu as CreateFarmExtInfo, bD as DEV_FARM_LOCK_MINT, bE as DEV_FARM_LOCK_VAULT, c5 as ExactPartial, c6 as ExactRequired, bB as FARM_LOCK_MINT, bC as FARM_LOCK_VAULT, bK as FARM_PROGRAM_TO_VERSION, bG as FARM_VERSION_TO_LEDGER_LAYOUT, bF as FARM_VERSION_TO_STATE_LAYOUT, ca 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, bz as FarmPosition, 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, bA as FarmVersion, bZ as GetTransferAmountFee, c8 as GetValue, bU as InstructionReturn, bX as LoadParams, bO as LpToken, bT as MakeMultiTransaction, bR as MakeTransaction, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, br as RewardInfoKey, bo as RewardInfoWithKey, bm as RewardType, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bN as SplToken, bL as TokenInfo, bM as TokenJson, bY as TransferAmountFee, bW as TxTipConfig, cc 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, bH as isValidFarmVersion, bJ as poolTypeV6, aJ as realFarmStateV3Layout, aK as realFarmStateV5Layout, aL as realFarmV6Layout, cd as unionArr, bI as validateFarmRewards, aI as withdrawRewardLayout } from '../api-4cfb9795.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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TransferFeeConfig } from '@solana/spl-token';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { bZ as GetTransferAmountFee } from '../../../api-
|
|
4
|
+
import { bZ as GetTransferAmountFee } from '../../../api-4cfb9795.js';
|
|
5
5
|
import { LaunchpadPool, LaunchpadConfig } from '../layout.js';
|
|
6
6
|
import { PoolBaseAmount, CurveBase } from './curveBase.js';
|
|
7
7
|
import 'axios';
|
|
@@ -8,12 +8,12 @@ export { CurveBase, PoolBaseAmount } from './curve/curveBase.js';
|
|
|
8
8
|
export { FixedPriceCurve } from './curve/fixedPriceCurve.js';
|
|
9
9
|
export { MathLaunch, checkPoolToAmm } from './curve/func.js';
|
|
10
10
|
export { LinearPriceCurve } from './curve/linearPriceCurve.js';
|
|
11
|
-
export { L as LaunchpadPoolInitParam, e as SwapInfoReturnExt, u as usdMintBSet } from '../../raydium-
|
|
11
|
+
export { L as LaunchpadPoolInitParam, e as SwapInfoReturnExt, u as usdMintBSet } from '../../raydium-6c1429a2.js';
|
|
12
12
|
import '@solana/web3.js';
|
|
13
13
|
import 'bn.js';
|
|
14
14
|
import '../../marshmallow/index.js';
|
|
15
15
|
import '../../marshmallow/buffer-layout.js';
|
|
16
|
-
import '../../api-
|
|
16
|
+
import '../../api-4cfb9795.js';
|
|
17
17
|
import 'axios';
|
|
18
18
|
import '../../solana/type.js';
|
|
19
19
|
import '@solana/spl-token';
|
|
@@ -4,7 +4,7 @@ import { BondingCurveParam } from './layout.js';
|
|
|
4
4
|
import { CpmmCreatorFeeOn } from './type.js';
|
|
5
5
|
import '../../marshmallow/index.js';
|
|
6
6
|
import '../../marshmallow/buffer-layout.js';
|
|
7
|
-
import '../../api-
|
|
7
|
+
import '../../api-4cfb9795.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import '../../solana/type.js';
|
|
10
10
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { L as LaunchpadPoolInitParam, e as SwapInfoReturnExt, l as default, u as usdMintBSet } from '../../raydium-
|
|
1
|
+
export { L as LaunchpadPoolInitParam, e as SwapInfoReturnExt, l as default, u as usdMintBSet } from '../../raydium-6c1429a2.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-4cfb9795.js';
|
|
5
5
|
import 'decimal.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
7
7
|
import './type.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import { ProgramAddress } from '../../common/txTool/txUtils.js';
|
|
3
3
|
import '../../common/txTool/lookupTable.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-4cfb9795.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, Signer } from '@solana/web3.js';
|
|
2
|
-
import { bV as ComputeBudgetConfig, bW as TxTipConfig } from '../../api-
|
|
2
|
+
import { bV as ComputeBudgetConfig, bW as TxTipConfig } from '../../api-4cfb9795.js';
|
|
3
3
|
import BN__default from 'bn.js';
|
|
4
4
|
import { TransferFeeConfig } from '@solana/spl-token';
|
|
5
5
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
@@ -10,7 +10,7 @@ import '@solana/web3.js';
|
|
|
10
10
|
import '../../marshmallow/index.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
12
|
import 'decimal.js';
|
|
13
|
-
import '../../api-
|
|
13
|
+
import '../../api-4cfb9795.js';
|
|
14
14
|
import 'axios';
|
|
15
15
|
import '../../solana/type.js';
|
|
16
16
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransactionInstruction, PublicKey } from '@solana/web3.js';
|
|
2
|
-
import { bU as InstructionReturn, y as AmmV4Keys, z as AmmV5Keys } from '../../api-
|
|
2
|
+
import { bU as InstructionReturn, y as AmmV4Keys, z as AmmV5Keys } from '../../api-4cfb9795.js';
|
|
3
3
|
import BN__default from 'bn.js';
|
|
4
4
|
import { LiquidityAddInstructionParams, RemoveLiquidityInstruction, SwapFixedInInstructionParamsV4, SwapFixedOutInstructionParamsV4, SwapInstructionParams, InitPoolInstructionParamsV4 } from './type.js';
|
|
5
5
|
import 'axios';
|
|
@@ -23,12 +23,12 @@ declare const initPoolLayout: Structure<number | BN, "", {
|
|
|
23
23
|
startTime: BN;
|
|
24
24
|
}>;
|
|
25
25
|
declare const liquidityStateV4Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", {
|
|
26
|
+
owner: _solana_web3_js.PublicKey;
|
|
26
27
|
nonce: BN;
|
|
27
28
|
state: BN;
|
|
28
29
|
lpVault: _solana_web3_js.PublicKey;
|
|
29
30
|
lpMint: _solana_web3_js.PublicKey;
|
|
30
31
|
padding: BN[];
|
|
31
|
-
owner: _solana_web3_js.PublicKey;
|
|
32
32
|
status: BN;
|
|
33
33
|
baseMint: _solana_web3_js.PublicKey;
|
|
34
34
|
quoteMint: _solana_web3_js.PublicKey;
|
|
@@ -79,11 +79,11 @@ declare const liquidityStateV4Layout: Structure<_solana_web3_js.PublicKey | BN |
|
|
|
79
79
|
declare type LiquidityStateLayoutV4 = typeof liquidityStateV4Layout;
|
|
80
80
|
declare type LiquidityStateV4 = GetStructureSchema<LiquidityStateLayoutV4>;
|
|
81
81
|
declare const liquidityStateV5Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", {
|
|
82
|
+
owner: _solana_web3_js.PublicKey;
|
|
82
83
|
nonce: BN;
|
|
83
84
|
state: BN;
|
|
84
85
|
lpMint: _solana_web3_js.PublicKey;
|
|
85
86
|
padding: BN[];
|
|
86
|
-
owner: _solana_web3_js.PublicKey;
|
|
87
87
|
status: BN;
|
|
88
88
|
baseMint: _solana_web3_js.PublicKey;
|
|
89
89
|
quoteMint: _solana_web3_js.PublicKey;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-4cfb9795.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-6c1429a2.js';
|
|
7
7
|
import './stable.js';
|
|
8
8
|
import './type.js';
|
|
9
9
|
import 'axios';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { r as ApiV3PoolInfoStandardItem, y as AmmV4Keys, z as AmmV5Keys, cf as TokenAmount, bV as ComputeBudgetConfig, bW as TxTipConfig, ag as BigNumberish } from '../../api-
|
|
4
|
+
import { r as ApiV3PoolInfoStandardItem, y as AmmV4Keys, z as AmmV5Keys, cf as TokenAmount, bV as ComputeBudgetConfig, bW as TxTipConfig, ag as BigNumberish } from '../../api-4cfb9795.js';
|
|
5
5
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
6
6
|
import { liquidityStateV4Layout } from './layout.js';
|
|
7
7
|
import { RawMint } from '@solana/spl-token';
|
|
@@ -2,7 +2,7 @@ import { PublicKey } from '@solana/web3.js';
|
|
|
2
2
|
import { LiquidityPoolKeys, AmmRpcData, ComputeAmountOutParam } from './type.js';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../api-
|
|
5
|
+
import '../../api-4cfb9795.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import '../../api-
|
|
1
|
+
import '../../api-4cfb9795.js';
|
|
2
2
|
import '../../common/txTool/txType.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
|
-
export { M as MarketExtInfo, g as default } from '../../raydium-
|
|
4
|
+
export { M as MarketExtInfo, g as default } from '../../raydium-6c1429a2.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { M as MarketExtInfo, g as default } from '../../raydium-
|
|
1
|
+
export { M as MarketExtInfo, g as default } from '../../raydium-6c1429a2.js';
|
|
2
2
|
export { initializeMarket, makeCreateMarketInstruction } from './instrument.js';
|
|
3
3
|
export { MARKET_STATE_LAYOUT_V2 } from './layout.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
|
-
import '../../api-
|
|
5
|
+
import '../../api-4cfb9795.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import 'bn.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../common/logger.js';
|
|
3
|
-
import '../api-
|
|
4
|
-
export { i as ModuleBaseProps, h as default } from '../raydium-
|
|
3
|
+
import '../api-4cfb9795.js';
|
|
4
|
+
export { i as ModuleBaseProps, h as default } from '../raydium-6c1429a2.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
package/lib/raydium/raydium.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../api-
|
|
2
|
+
import '../api-4cfb9795.js';
|
|
3
3
|
import '../api/url.js';
|
|
4
4
|
import '../common/owner.js';
|
|
5
5
|
import '../solana/type.js';
|
|
6
|
-
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-
|
|
6
|
+
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-6c1429a2.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'bn.js';
|
|
9
9
|
import '@solana/spl-token';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { SOL_INFO, TOKEN_WSOL } from './constant.js';
|
|
2
2
|
export { SPL_MINT_LAYOUT, SplMintLayout } from './layout.js';
|
|
3
|
-
export { bO as LpToken, bN as SplToken, bL as TokenInfo, bM as TokenJson } from '../../api-
|
|
3
|
+
export { bO as LpToken, bN as SplToken, bL as TokenInfo, bM as TokenJson } from '../../api-4cfb9795.js';
|
|
4
4
|
export { parseTokenInfo, solToWSolToken, toApiV3Token, toFeeConfig, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './utils.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
3
|
-
export { n as default } from '../../raydium-
|
|
2
|
+
import '../../api-4cfb9795.js';
|
|
3
|
+
export { n as default } from '../../raydium-6c1429a2.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bO as LpToken, bN as SplToken, bL as TokenInfo, bM as TokenJson } from '../../api-
|
|
1
|
+
export { bO as LpToken, bN as SplToken, bL as TokenInfo, bM as TokenJson } from '../../api-4cfb9795.js';
|
|
2
2
|
import '../../module/token.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bL as TokenInfo, ag as BigNumberish, cf as TokenAmount, j as ApiV3Token } from '../../api-
|
|
1
|
+
import { bL as TokenInfo, ag as BigNumberish, cf as TokenAmount, j as ApiV3Token } from '../../api-4cfb9795.js';
|
|
2
2
|
import { RawMint, TransferFeeConfigLayout } from '@solana/spl-token';
|
|
3
3
|
import { Connection, PublicKey } from '@solana/web3.js';
|
|
4
4
|
import { Token } from '../../module/token.js';
|
|
@@ -2,7 +2,7 @@ export { ApiSwapV1Out, makeSwapInstruction, route1Instruction, route2Instruction
|
|
|
2
2
|
export { BasicPoolInfo, ComputeAmountInAmmLayout, ComputeAmountInLayout, ComputeAmountInRouteLayout, ComputeAmountOutAmmLayout, ComputeAmountOutLayout, ComputeAmountOutRouteLayout, ComputePoolType, ComputeRoutePathType, MakeSwapInstructionParam, PoolAccountInfoV4, ReturnTypeFetchMultipleInfo, ReturnTypeGetAddLiquidityDefaultPool, ReturnTypeGetAllRoute, ReturnTypeMakeSwapInstruction, ReturnTypeMakeSwapTransaction, RoutePathType } from './type.js';
|
|
3
3
|
import '@solana/web3.js';
|
|
4
4
|
import 'bn.js';
|
|
5
|
-
import '../../api-
|
|
5
|
+
import '../../api-4cfb9795.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { t as ApiV3PoolInfoItem, H as PoolKeys } from '../../api-
|
|
3
|
+
import { t as ApiV3PoolInfoItem, H as PoolKeys } from '../../api-4cfb9795.js';
|
|
4
4
|
import { ComputePoolType, MakeSwapInstructionParam, ReturnTypeMakeSwapInstruction } from './type.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -2,9 +2,9 @@ import '@solana/web3.js';
|
|
|
2
2
|
import '@solana/spl-token';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
|
-
import '../../api-
|
|
5
|
+
import '../../api-4cfb9795.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
7
|
-
export { m as default } from '../../raydium-
|
|
7
|
+
export { m as default } from '../../raydium-6c1429a2.js';
|
|
8
8
|
import '../clmm/type.js';
|
|
9
9
|
import '../cpmm/type.js';
|
|
10
10
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, Keypair, Signer, TransactionInstruction, Transaction } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
|
-
import { bY as TransferAmountFee, cf as TokenAmount, H as PoolKeys, t as ApiV3PoolInfoItem } from '../../api-
|
|
4
|
+
import { bY as TransferAmountFee, cf as TokenAmount, H as PoolKeys, t as ApiV3PoolInfoItem } from '../../api-4cfb9795.js';
|
|
5
5
|
import { Token } from '../../module/token.js';
|
|
6
6
|
import { ComputeClmmPoolInfo } from '../clmm/type.js';
|
|
7
7
|
import { ComputeAmountOutParam } from '../liquidity/type.js';
|
package/lib/raydium/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import '@solana/spl-token';
|
|
4
|
-
export { c4 as ArrayItem, bV as ComputeBudgetConfig, cb as Cover, c5 as ExactPartial, c6 as ExactRequired, ca as Fallback, bZ as GetTransferAmountFee, c8 as GetValue, bU as InstructionReturn, bX as LoadParams, bT as MakeMultiTransaction, bR as MakeTransaction, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bY as TransferAmountFee, bW as TxTipConfig, cc as UnionCover, cd as unionArr } from '../api-
|
|
4
|
+
export { c4 as ArrayItem, bV as ComputeBudgetConfig, cb as Cover, c5 as ExactPartial, c6 as ExactRequired, ca as Fallback, bZ as GetTransferAmountFee, c8 as GetValue, bU as InstructionReturn, bX as LoadParams, bT as MakeMultiTransaction, bR as MakeTransaction, bS as MakeV0Transaction, c1 as MayArray, c2 as MayDeepArray, c3 as MayFunction, c0 as ReplaceType, b_ as ReturnTypeFetchMultipleMintInfo, b$ as ReturnTypeFetchMultipleMintInfos, bP as ReturnTypeMakeInstructions, c7 as SKeyof, c9 as SOR, bQ as SignAllTransactions, bY as TransferAmountFee, bW as TxTipConfig, cc as UnionCover, cd as unionArr } from '../api-4cfb9795.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../solana/type.js';
|
|
7
7
|
import '../api/url.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-
|
|
1
|
+
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-6c1429a2.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
|
-
import '../../api-
|
|
3
|
+
import '../../api-4cfb9795.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../marshmallow/index.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-
|
|
4
|
+
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-6c1429a2.js';
|
|
5
5
|
import '../../marshmallow/buffer-layout.js';
|
|
6
|
-
import '../../api-
|
|
6
|
+
import '../../api-4cfb9795.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
9
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, Commitment, EpochInfo, Connection, Transaction, Signer, TransactionInstruction, Keypair } from '@solana/web3.js';
|
|
2
|
-
import { aG as TxBuilder, ay as AddInstructionParam, ag as BigNumberish, bt as CreateFarm, aF as MakeTxData, bu as CreateFarmExtInfo, bv as UpdateFarmReward, bw as UpdateFarmRewards, bx as FarmDWParam, a0 as FormatFarmInfoOut, bV as ComputeBudgetConfig, bW as TxTipConfig, aE as MakeMultiTxData, j as ApiV3Token, r as ApiV3PoolInfoStandardItem, cj as Percent, cf as TokenAmount, y as AmmV4Keys, z as AmmV5Keys, q as ApiV3PoolInfoConcentratedItem, $ as FormatFarmInfoOutV6, G as ClmmKeys, bR as MakeTransaction, b$ as ReturnTypeFetchMultipleMintInfos, B as CpmmKeys, s as ApiV3PoolInfoStandardItemCpmm, bZ as GetTransferAmountFee, C as CpmmLockInfo, H as PoolKeys, a3 as OwnerIdoInfo, a4 as IdoKeysData, bX as LoadParams, J as JupTokenType, bL as TokenInfo, bQ as SignAllTransactions, a as Api, a1 as AvailabilityCheckAPI3, l as ApiV3TokenRes } from './api-
|
|
2
|
+
import { aG as TxBuilder, ay as AddInstructionParam, ag as BigNumberish, bt as CreateFarm, aF as MakeTxData, bu as CreateFarmExtInfo, bv as UpdateFarmReward, bw as UpdateFarmRewards, bx as FarmDWParam, a0 as FormatFarmInfoOut, bV as ComputeBudgetConfig, bW as TxTipConfig, aE as MakeMultiTxData, j as ApiV3Token, r as ApiV3PoolInfoStandardItem, cj as Percent, cf as TokenAmount, y as AmmV4Keys, z as AmmV5Keys, q as ApiV3PoolInfoConcentratedItem, $ as FormatFarmInfoOutV6, G as ClmmKeys, bR as MakeTransaction, b$ as ReturnTypeFetchMultipleMintInfos, B as CpmmKeys, s as ApiV3PoolInfoStandardItemCpmm, bZ as GetTransferAmountFee, C as CpmmLockInfo, H as PoolKeys, a3 as OwnerIdoInfo, a4 as IdoKeysData, bX as LoadParams, J as JupTokenType, bL as TokenInfo, bQ as SignAllTransactions, a as Api, a1 as AvailabilityCheckAPI3, l as ApiV3TokenRes } from './api-4cfb9795.js';
|
|
3
3
|
import { API_URL_CONFIG } from './api/url.js';
|
|
4
4
|
import { Owner } from './common/owner.js';
|
|
5
5
|
import { Cluster } from './solana/type.js';
|
|
@@ -969,8 +969,8 @@ declare class Utils1216 extends ModuleBase {
|
|
|
969
969
|
mintAddress: PublicKey;
|
|
970
970
|
debtAmount: BN__default;
|
|
971
971
|
}[], "", {
|
|
972
|
-
padding: BN__default[];
|
|
973
972
|
owner: PublicKey;
|
|
973
|
+
padding: BN__default[];
|
|
974
974
|
version: number;
|
|
975
975
|
bump: number;
|
|
976
976
|
poolId: PublicKey;
|