@raydium-io/raydium-sdk-v2 0.1.80-alpha → 0.1.81-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.
Files changed (99) hide show
  1. package/lib/api/api.d.ts +1 -1
  2. package/lib/api/index.d.ts +1 -1
  3. package/lib/api/type.d.ts +1 -1
  4. package/lib/{api-32ee53bc.d.ts → api-7264fa6b.d.ts} +13 -13
  5. package/lib/common/accountInfo.d.ts +1 -1
  6. package/lib/common/bignumber.d.ts +1 -1
  7. package/lib/common/constant.d.ts +1 -1
  8. package/lib/common/fractionUtil.d.ts +1 -1
  9. package/lib/common/index.d.ts +1 -1
  10. package/lib/common/transfer.d.ts +1 -1
  11. package/lib/common/txTool/txTool.d.ts +1 -1
  12. package/lib/common/txTool/txUtils.d.ts +1 -1
  13. package/lib/common/utility.d.ts +1 -1
  14. package/lib/index.d.ts +3 -3
  15. package/lib/index.js +1 -1
  16. package/lib/index.js.map +1 -1
  17. package/lib/index.mjs +1 -1
  18. package/lib/index.mjs.map +1 -1
  19. package/lib/module/amount.d.ts +1 -1
  20. package/lib/module/fraction.d.ts +1 -1
  21. package/lib/module/index.d.ts +1 -1
  22. package/lib/module/percent.d.ts +1 -1
  23. package/lib/module/price.d.ts +1 -1
  24. package/lib/raydium/account/account.d.ts +3 -3
  25. package/lib/raydium/account/account.js +1 -1
  26. package/lib/raydium/account/account.js.map +1 -1
  27. package/lib/raydium/account/account.mjs +1 -1
  28. package/lib/raydium/account/account.mjs.map +1 -1
  29. package/lib/raydium/account/index.d.ts +1 -1
  30. package/lib/raydium/account/instruction.d.ts +1 -1
  31. package/lib/raydium/account/layout.d.ts +2 -2
  32. package/lib/raydium/account/types.d.ts +1 -1
  33. package/lib/raydium/account/util.d.ts +1 -1
  34. package/lib/raydium/clmm/clmm.d.ts +3 -3
  35. package/lib/raydium/clmm/index.d.ts +3 -3
  36. package/lib/raydium/clmm/instrument.d.ts +2 -2
  37. package/lib/raydium/clmm/layout.d.ts +15 -15
  38. package/lib/raydium/clmm/type.d.ts +2 -2
  39. package/lib/raydium/clmm/utils/math.d.ts +2 -2
  40. package/lib/raydium/clmm/utils/pool.d.ts +2 -2
  41. package/lib/raydium/clmm/utils/position.d.ts +2 -2
  42. package/lib/raydium/clmm/utils/tick.d.ts +2 -2
  43. package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
  44. package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
  45. package/lib/raydium/cpmm/cpmm.d.ts +3 -3
  46. package/lib/raydium/cpmm/curve/calculator.d.ts +1 -1
  47. package/lib/raydium/cpmm/curve/constantProduct.d.ts +1 -1
  48. package/lib/raydium/cpmm/index.d.ts +1 -1
  49. package/lib/raydium/cpmm/instruction.d.ts +1 -1
  50. package/lib/raydium/cpmm/layout.d.ts +3 -3
  51. package/lib/raydium/cpmm/type.d.ts +1 -1
  52. package/lib/raydium/farm/config.d.ts +1 -1
  53. package/lib/raydium/farm/farm.d.ts +3 -3
  54. package/lib/raydium/farm/index.d.ts +1 -1
  55. package/lib/raydium/farm/instruction.d.ts +1 -1
  56. package/lib/raydium/farm/layout.d.ts +1 -1
  57. package/lib/raydium/farm/type.d.ts +1 -1
  58. package/lib/raydium/farm/util.d.ts +1 -1
  59. package/lib/raydium/ido/ido.d.ts +3 -3
  60. package/lib/raydium/ido/index.d.ts +3 -3
  61. package/lib/raydium/ido/instruction.d.ts +1 -1
  62. package/lib/raydium/ido/type.d.ts +1 -1
  63. package/lib/raydium/index.d.ts +3 -3
  64. package/lib/raydium/index.js +1 -1
  65. package/lib/raydium/index.js.map +1 -1
  66. package/lib/raydium/index.mjs +1 -1
  67. package/lib/raydium/index.mjs.map +1 -1
  68. package/lib/raydium/liquidity/index.d.ts +1 -1
  69. package/lib/raydium/liquidity/instruction.d.ts +1 -1
  70. package/lib/raydium/liquidity/layout.d.ts +2 -2
  71. package/lib/raydium/liquidity/liquidity.d.ts +3 -3
  72. package/lib/raydium/liquidity/type.d.ts +1 -1
  73. package/lib/raydium/liquidity/utils.d.ts +1 -1
  74. package/lib/raydium/marketV2/createMarket.d.ts +3 -3
  75. package/lib/raydium/marketV2/index.d.ts +3 -3
  76. package/lib/raydium/moduleBase.d.ts +3 -3
  77. package/lib/raydium/raydium.d.ts +3 -3
  78. package/lib/raydium/raydium.js +1 -1
  79. package/lib/raydium/raydium.js.map +1 -1
  80. package/lib/raydium/raydium.mjs +1 -1
  81. package/lib/raydium/raydium.mjs.map +1 -1
  82. package/lib/raydium/serum/layout.d.ts +2 -2
  83. package/lib/raydium/token/constant.d.ts +1 -1
  84. package/lib/raydium/token/index.d.ts +1 -1
  85. package/lib/raydium/token/layout.d.ts +2 -2
  86. package/lib/raydium/token/token.d.ts +3 -3
  87. package/lib/raydium/token/type.d.ts +1 -1
  88. package/lib/raydium/token/utils.d.ts +1 -1
  89. package/lib/raydium/tradeV2/index.d.ts +2 -2
  90. package/lib/raydium/tradeV2/instrument.d.ts +2 -2
  91. package/lib/raydium/tradeV2/trade.d.ts +3 -3
  92. package/lib/raydium/tradeV2/type.d.ts +2 -2
  93. package/lib/raydium/type.d.ts +1 -1
  94. package/lib/raydium/utils1216/index.d.ts +3 -3
  95. package/lib/raydium/utils1216/utils1216.d.ts +3 -3
  96. package/lib/{raydium-7a07027a.d.ts → raydium-dc89bd2c.d.ts} +8 -5
  97. package/lib/{type-af770c47.d.ts → type-c36f6551.d.ts} +1 -1
  98. package/package.json +2 -2
  99. package/src/raydium/account/account.ts +21 -7
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-32ee53bc.js';
3
+ export { a as Api, A as ApiProps, e as endlessRetry } from '../api-7264fa6b.js';
4
4
  import './url.js';
5
5
  import '@solana/web3.js';
6
6
  import 'bn.js';
@@ -1,4 +1,4 @@
1
- export { w as AmmV4Keys, x as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, A as ApiProps, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, _ as AvailabilityCheckAPI3, B as ClmmKeys, z as ClmmRewardType, y as CpmmKeys, C as CpmmLockInfo, a3 as FarmPositionData, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, V as FarmTagsItem, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, a1 as IdoKeysData, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, S as RewardInfoV345, U as RewardInfoV6, K as RewardKeyInfoV345, M as RewardKeyInfoV6, R as RpcItemA, G as RpcItemB, H as RpcType, T as TransferFeeDataBaseType, e as endlessRetry } from '../api-32ee53bc.js';
1
+ export { w as AmmV4Keys, x as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, A as ApiProps, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, _ as AvailabilityCheckAPI3, B as ClmmKeys, z as ClmmRewardType, y as CpmmKeys, C as CpmmLockInfo, a3 as FarmPositionData, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, V as FarmTagsItem, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, a1 as IdoKeysData, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, S as RewardInfoV345, U as RewardInfoV6, K as RewardKeyInfoV345, M as RewardKeyInfoV6, R as RpcItemA, G as RpcItemB, H as RpcType, T as TransferFeeDataBaseType, e as endlessRetry } from '../api-7264fa6b.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 { w as AmmV4Keys, x as AmmV5Keys, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, _ as AvailabilityCheckAPI3, B as ClmmKeys, z as ClmmRewardType, y as CpmmKeys, C as CpmmLockInfo, a3 as FarmPositionData, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, V as FarmTagsItem, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, a1 as IdoKeysData, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, S as RewardInfoV345, U as RewardInfoV6, K as RewardKeyInfoV345, M as RewardKeyInfoV6, R as RpcItemA, G as RpcItemB, H as RpcType, T as TransferFeeDataBaseType } from '../api-32ee53bc.js';
1
+ export { w as AmmV4Keys, x as AmmV5Keys, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, _ as AvailabilityCheckAPI3, B as ClmmKeys, z as ClmmRewardType, y as CpmmKeys, C as CpmmLockInfo, a3 as FarmPositionData, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, V as FarmTagsItem, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, a1 as IdoKeysData, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, S as RewardInfoV345, U as RewardInfoV6, K as RewardKeyInfoV345, M as RewardKeyInfoV6, R as RpcItemA, G as RpcItemB, H as RpcType, T as TransferFeeDataBaseType } from '../api-7264fa6b.js';
2
2
  import 'axios';
3
3
  import '../solana/type.js';
4
4
  import '@solana/web3.js';
@@ -668,7 +668,7 @@ declare const associatedLedgerAccountLayout: Structure<number, "", {
668
668
  declare const withdrawRewardLayout: Structure<number, "", {
669
669
  instruction: number;
670
670
  }>;
671
- declare const realFarmStateV3Layout: Structure<BN__default | PublicKey, "", {
671
+ declare const realFarmStateV3Layout: Structure<PublicKey | BN__default, "", {
672
672
  nonce: BN__default;
673
673
  state: BN__default;
674
674
  lpVault: PublicKey;
@@ -678,7 +678,7 @@ declare const realFarmStateV3Layout: Structure<BN__default | PublicKey, "", {
678
678
  lastSlot: BN__default;
679
679
  perSlotReward: BN__default;
680
680
  }>;
681
- declare const realFarmStateV5Layout: Structure<number | BN__default | Buffer | PublicKey, "", {
681
+ declare const realFarmStateV5Layout: Structure<number | PublicKey | Buffer | BN__default, "", {
682
682
  nonce: BN__default;
683
683
  state: BN__default;
684
684
  lpVault: PublicKey;
@@ -693,7 +693,7 @@ declare const realFarmStateV5Layout: Structure<number | BN__default | Buffer | P
693
693
  perShareRewardB: BN__default;
694
694
  perSlotRewardB: BN__default;
695
695
  }>;
696
- declare const realFarmV6Layout: Structure<BN__default | PublicKey | BN__default[] | {
696
+ declare const realFarmV6Layout: Structure<PublicKey | BN__default | BN__default[] | {
697
697
  rewardVault: PublicKey;
698
698
  totalReward: BN__default;
699
699
  rewardState: BN__default;
@@ -870,14 +870,14 @@ declare type FarmStateV5 = GetStructureSchema<FarmStateLayoutV5>;
870
870
  declare type FarmStateV6 = GetStructureSchema<FarmStateLayoutV6>;
871
871
  declare type FarmState = FarmStateV3 | FarmStateV5 | FarmStateV6;
872
872
  declare type FarmStateLayout = FarmStateLayoutV3 | FarmStateLayoutV5 | FarmStateLayoutV6;
873
- declare const farmLedgerLayoutV3_1: Structure<BN__default | PublicKey | BN__default[], "", {
873
+ declare const farmLedgerLayoutV3_1: Structure<PublicKey | BN__default | BN__default[], "", {
874
874
  state: BN__default;
875
875
  id: PublicKey;
876
876
  owner: PublicKey;
877
877
  deposited: BN__default;
878
878
  rewardDebts: BN__default[];
879
879
  }>;
880
- declare const farmLedgerLayoutV3_2: Structure<BN__default | PublicKey | BN__default[], "", {
880
+ declare const farmLedgerLayoutV3_2: Structure<PublicKey | BN__default | BN__default[], "", {
881
881
  state: BN__default;
882
882
  id: PublicKey;
883
883
  owner: PublicKey;
@@ -885,21 +885,21 @@ declare const farmLedgerLayoutV3_2: Structure<BN__default | PublicKey | BN__defa
885
885
  rewardDebts: BN__default[];
886
886
  voteLockedBalance: BN__default;
887
887
  }>;
888
- declare const farmLedgerLayoutV5_1: Structure<BN__default | PublicKey | BN__default[], "", {
888
+ declare const farmLedgerLayoutV5_1: Structure<PublicKey | BN__default | BN__default[], "", {
889
889
  state: BN__default;
890
890
  id: PublicKey;
891
891
  owner: PublicKey;
892
892
  deposited: BN__default;
893
893
  rewardDebts: BN__default[];
894
894
  }>;
895
- declare const farmLedgerLayoutV5_2: Structure<BN__default | PublicKey | BN__default[], "", {
895
+ declare const farmLedgerLayoutV5_2: Structure<PublicKey | BN__default | BN__default[], "", {
896
896
  state: BN__default;
897
897
  id: PublicKey;
898
898
  owner: PublicKey;
899
899
  deposited: BN__default;
900
900
  rewardDebts: BN__default[];
901
901
  }>;
902
- declare const farmLedgerLayoutV6_1: Structure<BN__default | PublicKey | BN__default[], "", {
902
+ declare const farmLedgerLayoutV6_1: Structure<PublicKey | BN__default | BN__default[], "", {
903
903
  state: BN__default;
904
904
  id: PublicKey;
905
905
  owner: PublicKey;
@@ -922,7 +922,7 @@ declare const dwLayout: Structure<number | BN__default, "", {
922
922
  instruction: number;
923
923
  amount: BN__default;
924
924
  }>;
925
- declare const VoterVotingMintConfig: Structure<BN__default | number[] | PublicKey | BN__default[], "", {
925
+ declare const VoterVotingMintConfig: Structure<number[] | PublicKey | BN__default | BN__default[], "", {
926
926
  mint: PublicKey;
927
927
  grantAuthority: PublicKey;
928
928
  baselineVoteWeightScaledFactor: BN__default;
@@ -932,7 +932,7 @@ declare const VoterVotingMintConfig: Structure<BN__default | number[] | PublicKe
932
932
  reserved1: number[];
933
933
  reserved2: BN__default[];
934
934
  }>;
935
- declare const VoterRegistrar: Structure<number | BN__default | number[] | Buffer | PublicKey | BN__default[] | {
935
+ declare const VoterRegistrar: Structure<number | number[] | PublicKey | Buffer | BN__default | BN__default[] | {
936
936
  mint: PublicKey;
937
937
  grantAuthority: PublicKey;
938
938
  baselineVoteWeightScaledFactor: BN__default;
@@ -962,13 +962,13 @@ declare const VoterRegistrar: Structure<number | BN__default | number[] | Buffer
962
962
  bump: number;
963
963
  reserved3: BN__default[];
964
964
  }>;
965
- declare const VoterLockup: Structure<number | BN__default | number[], "", {
965
+ declare const VoterLockup: Structure<number | number[] | BN__default, "", {
966
966
  startTime: BN__default;
967
967
  endTime: BN__default;
968
968
  kind: number;
969
969
  reserved: number[];
970
970
  }>;
971
- declare const VoterDepositEntry: Structure<number | boolean | BN__default | number[] | {
971
+ declare const VoterDepositEntry: Structure<number | boolean | number[] | BN__default | {
972
972
  startTime: BN__default;
973
973
  endTime: BN__default;
974
974
  kind: number;
@@ -987,7 +987,7 @@ declare const VoterDepositEntry: Structure<number | boolean | BN__default | numb
987
987
  allowClawback: boolean;
988
988
  votingMintConfigIdx: number;
989
989
  }>;
990
- declare const Voter: Structure<number | number[] | Buffer | PublicKey | {
990
+ declare const Voter: Structure<number | number[] | PublicKey | Buffer | {
991
991
  reserved: number[];
992
992
  lockup: {
993
993
  startTime: BN__default;
@@ -1,5 +1,5 @@
1
1
  import { Commitment, Connection, PublicKey, AccountInfo } from '@solana/web3.js';
2
- import { bT as ReturnTypeFetchMultipleMintInfos } from '../api-32ee53bc.js';
2
+ import { bT as ReturnTypeFetchMultipleMintInfos } from '../api-7264fa6b.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 { aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, ae as Numberish, ap as decimalToFraction, ah as divCeil, aq as isDecimal, ag as parseNumberInfo, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency } from '../api-32ee53bc.js';
3
+ export { aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, ae as Numberish, ap as decimalToFraction, ah as divCeil, aq as isDecimal, ag as parseNumberInfo, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency } from '../api-7264fa6b.js';
4
4
  import '../module/token.js';
5
5
  import 'axios';
6
6
  import '../solana/type.js';
@@ -1,5 +1,5 @@
1
1
  import 'bn.js';
2
- export { as as Rounding, at as parseBigNumberish } from '../api-32ee53bc.js';
2
+ export { as as Rounding, at as parseBigNumberish } from '../api-7264fa6b.js';
3
3
  import 'axios';
4
4
  import '../solana/type.js';
5
5
  import '@solana/web3.js';
@@ -1,4 +1,4 @@
1
- import { ae as Numberish, c9 as Fraction } from '../api-32ee53bc.js';
1
+ import { ae as Numberish, c9 as Fraction } from '../api-7264fa6b.js';
2
2
  import 'axios';
3
3
  import '../solana/type.js';
4
4
  import '@solana/web3.js';
@@ -1,5 +1,5 @@
1
1
  export { ACCOUNT_TYPE_SIZE, AccountType, GetMultipleAccountsInfoConfig, fetchMultipleMintInfos, getMultipleAccountsInfo, getMultipleAccountsInfoWithCustomFlags } from './accountInfo.js';
2
- export { au as AddInstructionParam, aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, aA as MakeMultiTxData, aB as MakeTxData, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, ae as Numberish, as as Rounding, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData, ap as decimalToFraction, ah as divCeil, aq as isDecimal, at as parseBigNumberish, ag as parseNumberInfo, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency } from '../api-32ee53bc.js';
2
+ export { au as AddInstructionParam, aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, aA as MakeMultiTxData, aB as MakeTxData, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, ae as Numberish, as as Rounding, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData, ap as decimalToFraction, ah as divCeil, aq as isDecimal, at as parseBigNumberish, ag as parseNumberInfo, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency } from '../api-7264fa6b.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';
@@ -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 { bR as GetTransferAmountFee, T as TransferFeeDataBaseType } from '../api-32ee53bc.js';
4
+ import { bR as GetTransferAmountFee, T as TransferFeeDataBaseType } from '../api-7264fa6b.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 { au as AddInstructionParam, aA as MakeMultiTxData, aB as MakeTxData, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData } from '../../api-32ee53bc.js';
2
+ export { au as AddInstructionParam, aA as MakeMultiTxData, aB as MakeTxData, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData } from '../../api-7264fa6b.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 { bO as ComputeBudgetConfig } from '../../api-32ee53bc.js';
3
+ import { bO as ComputeBudgetConfig } from '../../api-7264fa6b.js';
4
4
  import 'axios';
5
5
  import '../../solana/type.js';
6
6
  import 'bn.js';
@@ -1,5 +1,5 @@
1
1
  import { PublicKey } from '@solana/web3.js';
2
- import { bU as ReplaceType } from '../api-32ee53bc.js';
2
+ import { bU as ReplaceType } from '../api-7264fa6b.js';
3
3
  import 'axios';
4
4
  import '../solana/type.js';
5
5
  import 'bn.js';
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { bj as APIRewardInfo, au as AddInstructionParam, w as AmmV4Keys, x as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, A as ApiProps, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, bY as ArrayItem, _ as AvailabilityCheckAPI3, aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, B as ClmmKeys, z as ClmmRewardType, bO as ComputeBudgetConfig, c3 as Cover, y as CpmmKeys, C as CpmmLockInfo, bp as CreateFarm, bq as CreateFarmExtInfo, c8 as CurrencyAmount, bZ as ExactPartial, b_ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c2 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, a3 as FarmPositionData, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, V as FarmTagsItem, bv as FarmVersion, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, c9 as Fraction, bR as GetTransferAmountFee, c0 as GetValue, a1 as IdoKeysData, bN as InstructionReturn, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, bP as LoadParams, bH as LpToken, bM as MakeMultiTransaction, aA as MakeMultiTxData, bK as MakeTransaction, aB as MakeTxData, bL as MakeV0Transaction, bV as MayArray, bW as MayDeepArray, bX as MayFunction, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, ae as Numberish, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, cb as Percent, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, cc as Price, bU as ReplaceType, bS as ReturnTypeFetchMultipleMintInfo, bT as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, S as RewardInfoV345, U as RewardInfoV6, bk as RewardInfoWithKey, K as RewardKeyInfoV345, M as RewardKeyInfoV6, bi as RewardType, as as Rounding, R as RpcItemA, G as RpcItemB, H as RpcType, b$ as SKeyof, c1 as SOR, bJ as SignAllTransactions, bG as SplToken, c7 as TokenAmount, bE as TokenInfo, bF as TokenJson, bQ as TransferAmountFee, T as TransferFeeDataBaseType, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData, c4 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, ca as _100_PERCENT, aD as associatedLedgerAccountLayout, ap as decimalToFraction, ah as divCeil, bc as dwLayout, e as endlessRetry, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, aq as isDecimal, bA as isValidFarmVersion, at as parseBigNumberish, ag as parseNumberInfo, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, c6 as splitNumber, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency, c5 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from './api-32ee53bc.js';
1
+ export { bj as APIRewardInfo, au as AddInstructionParam, w as AmmV4Keys, x as AmmV5Keys, a as Api, d as ApiClmmConfigInfo, E as ApiClmmConfigV3, g as ApiClmmPoolsItemStatistics, f as ApiCpmmConfigInfo, b as ApiPoolInfoV4, A as ApiProps, a2 as ApiStakePool, c as ApiStakePoolInfo, h as ApiV3PageIns, n as ApiV3PoolInfoBaseItem, o as ApiV3PoolInfoConcentratedItem, k as ApiV3PoolInfoCountItem, r as ApiV3PoolInfoItem, p as ApiV3PoolInfoStandardItem, q as ApiV3PoolInfoStandardItemCpmm, i as ApiV3Token, j as ApiV3TokenRes, bY as ArrayItem, _ as AvailabilityCheckAPI3, aa as BN_100, ab as BN_1000, ac as BN_10000, a8 as BN_FIVE, a5 as BN_ONE, a9 as BN_TEN, a7 as BN_THREE, a6 as BN_TWO, a4 as BN_ZERO, ad as BigNumberish, B as ClmmKeys, z as ClmmRewardType, bO as ComputeBudgetConfig, c3 as Cover, y as CpmmKeys, C as CpmmLockInfo, bp as CreateFarm, bq as CreateFarmExtInfo, c8 as CurrencyAmount, bZ as ExactPartial, b_ as ExactRequired, bw as FARM_LOCK_MINT, bx as FARM_LOCK_VAULT, bD as FARM_PROGRAM_TO_VERSION, bz as FARM_VERSION_TO_LEDGER_LAYOUT, by as FARM_VERSION_TO_STATE_LAYOUT, c2 as Fallback, bt as FarmDWParam, bb as FarmLedger, b5 as FarmLedgerLayout, b0 as FarmLedgerLayoutV3_1, b1 as FarmLedgerLayoutV3_2, b2 as FarmLedgerLayoutV5_1, b3 as FarmLedgerLayoutV5_2, b4 as FarmLedgerLayoutV6_1, b6 as FarmLedgerV3_1, b7 as FarmLedgerV3_2, b8 as FarmLedgerV5_1, b9 as FarmLedgerV5_2, ba as FarmLedgerV6_1, bo as FarmPoolInfoV6, bu as FarmPoolKeys, a3 as FarmPositionData, bl as FarmRewardInfo, bm as FarmRewardInfoConfig, F as FarmRewardInfoV6, I as FarmRewardTypeV6Key, aV as FarmState, aW as FarmStateLayout, aP as FarmStateLayoutV3, aQ as FarmStateLayoutV5, aR as FarmStateLayoutV6, aS as FarmStateV3, aT as FarmStateV5, aU as FarmStateV6, V as FarmTagsItem, bv as FarmVersion, t as FetchPoolParams, Z as FormatFarmInfoOut, W as FormatFarmInfoOutBase, X as FormatFarmInfoOutV345, Y as FormatFarmInfoOutV6, Q as FormatFarmKeyOut, N as FormatFarmKeyOutV345, O as FormatFarmKeyOutV6, c9 as Fraction, bR as GetTransferAmountFee, c0 as GetValue, a1 as IdoKeysData, bN as InstructionReturn, J as JupTokenType, v as LiquidityLineApi, L as LiquidityVersion, bP as LoadParams, bH as LpToken, bM as MakeMultiTransaction, aA as MakeMultiTxData, bK as MakeTransaction, aB as MakeTxData, bL as MakeV0Transaction, bV as MayArray, bW as MayDeepArray, bX as MayFunction, ay as MultiTxBuildData, ax as MultiTxExecuteParam, az as MultiTxV0BuildData, ae as Numberish, $ as OwnerCreatedFarmInfo, a0 as OwnerIdoInfo, cb as Percent, u as Point, l as PoolFarmRewardInfo, s as PoolFetchType, D as PoolKeys, m as PoolRewardInfoItem, P as PoolsApiReturn, cc as Price, bU as ReplaceType, bS as ReturnTypeFetchMultipleMintInfo, bT as ReturnTypeFetchMultipleMintInfos, bI as ReturnTypeMakeInstructions, bn as RewardInfoKey, S as RewardInfoV345, U as RewardInfoV6, bk as RewardInfoWithKey, K as RewardKeyInfoV345, M as RewardKeyInfoV6, bi as RewardType, as as Rounding, R as RpcItemA, G as RpcItemB, H as RpcType, b$ as SKeyof, c1 as SOR, bJ as SignAllTransactions, bG as SplToken, c7 as TokenAmount, bE as TokenInfo, bF as TokenJson, bQ as TransferAmountFee, T as TransferFeeDataBaseType, av as TxBuildData, aC as TxBuilder, aw as TxV0BuildData, c4 as UnionCover, br as UpdateFarmReward, bs as UpdateFarmRewards, bh as Voter, bg as VoterDepositEntry, bf as VoterLockup, be as VoterRegistrar, bd as VoterVotingMintConfig, ca as _100_PERCENT, aD as associatedLedgerAccountLayout, ap as decimalToFraction, ah as divCeil, bc as dwLayout, e as endlessRetry, aO as farmAddRewardLayout, aX as farmLedgerLayoutV3_1, aY as farmLedgerLayoutV3_2, aZ as farmLedgerLayoutV5_1, a_ as farmLedgerLayoutV5_2, a$ as farmLedgerLayoutV6_1, aM as farmRewardLayout, aN as farmRewardRestartLayout, aL as farmRewardTimeInfoLayout, aI as farmStateV3Layout, aJ as farmStateV5Layout, aK as farmStateV6Layout, aq as isDecimal, bA as isValidFarmVersion, at as parseBigNumberish, ag as parseNumberInfo, bC as poolTypeV6, aF as realFarmStateV3Layout, aG as realFarmStateV5Layout, aH as realFarmV6Layout, ar as recursivelyDecimalToFraction, ai as shakeFractionDecimal, c6 as splitNumber, af as tenExponential, aj as toBN, ak as toFraction, al as toPercent, am as toTokenPrice, ao as toTotalPrice, an as toUsdCurrency, c5 as unionArr, bB as validateFarmRewards, aE as withdrawRewardLayout } from './api-7264fa6b.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';
@@ -15,7 +15,7 @@ export { CacheLTA, LOOKUP_TABLE_CACHE, getMultipleLookupTableInfo } from './comm
15
15
  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
- export { C as Clmm, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from './raydium-7a07027a.js';
18
+ export { C as Clmm, M as MarketExtInfo, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from './raydium-dc89bd2c.js';
19
19
  export { splAccountLayout } from './raydium/account/layout.js';
20
20
  export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './raydium/account/types.js';
21
21
  export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './raydium/account/util.js';
@@ -29,7 +29,7 @@ export { parseTokenInfo, solToWSolToken, toApiV3Token, toFeeConfig, toToken, toT
29
29
  export { Currency, currencyEquals } from './module/currency.js';
30
30
  export { WrappedBig, WrappedDecimal } from './module/formatter.js';
31
31
  export { Token, TokenProps } from './module/token.js';
32
- 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-af770c47.js';
32
+ 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-c36f6551.js';
33
33
  export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './raydium/clmm/layout.js';
34
34
  export { ClmmInstrument } from './raydium/clmm/instrument.js';
35
35
  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 './raydium/clmm/utils/constants.js';