@raydium-io/raydium-sdk-v2 0.1.3-alpha → 0.1.4-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api.d.ts +1 -1
- package/lib/api/index.d.ts +1 -1
- package/lib/api/type.d.ts +1 -1
- package/lib/common/accountInfo.d.ts +1 -1
- package/lib/common/bignumber.d.ts +1 -1
- package/lib/common/fractionUtil.d.ts +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/transfer.d.ts +1 -1
- package/lib/common/txTool/txTool.d.ts +1 -1
- package/lib/common/txTool/txUtils.d.ts +1 -1
- package/lib/common/utility.d.ts +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/module/amount.d.ts +1 -1
- package/lib/module/fraction.d.ts +1 -1
- package/lib/module/index.d.ts +1 -1
- package/lib/module/percent.d.ts +1 -1
- package/lib/module/price.d.ts +1 -1
- package/lib/raydium/account/account.d.ts +3 -3
- package/lib/raydium/account/index.d.ts +1 -1
- package/lib/raydium/account/instruction.d.ts +1 -1
- package/lib/raydium/account/types.d.ts +1 -1
- package/lib/raydium/account/util.d.ts +1 -1
- package/lib/raydium/clmm/clmm.d.ts +3 -3
- package/lib/raydium/clmm/index.d.ts +3 -3
- package/lib/raydium/clmm/instrument.d.ts +2 -2
- package/lib/raydium/clmm/layout.d.ts +5 -5
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/clmm/utils/math.d.ts +2 -2
- package/lib/raydium/clmm/utils/pool.d.ts +2 -2
- package/lib/raydium/clmm/utils/position.d.ts +2 -2
- package/lib/raydium/clmm/utils/tick.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +3 -3
- package/lib/raydium/cpmm/cpmm.js +1 -1
- package/lib/raydium/cpmm/cpmm.js.map +1 -1
- package/lib/raydium/cpmm/cpmm.mjs +1 -1
- package/lib/raydium/cpmm/cpmm.mjs.map +1 -1
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/type.d.ts +1 -1
- package/lib/raydium/farm/config.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +3 -3
- package/lib/raydium/farm/index.d.ts +1 -1
- package/lib/raydium/farm/instruction.d.ts +1 -1
- package/lib/raydium/farm/layout.d.ts +1 -1
- package/lib/raydium/farm/type.d.ts +1 -1
- package/lib/raydium/farm/util.d.ts +1 -1
- package/lib/raydium/ido/ido.d.ts +3 -3
- package/lib/raydium/ido/index.d.ts +3 -3
- package/lib/raydium/ido/instruction.d.ts +1 -1
- package/lib/raydium/ido/type.d.ts +1 -1
- package/lib/raydium/index.d.ts +3 -3
- package/lib/raydium/index.js +1 -1
- package/lib/raydium/index.js.map +1 -1
- package/lib/raydium/index.mjs +1 -1
- package/lib/raydium/index.mjs.map +1 -1
- package/lib/raydium/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/type.d.ts +1 -1
- package/lib/raydium/liquidity/utils.d.ts +1 -1
- package/lib/raydium/marketV2/createMarket.d.ts +3 -3
- package/lib/raydium/marketV2/index.d.ts +3 -3
- package/lib/raydium/moduleBase.d.ts +3 -3
- package/lib/raydium/raydium.d.ts +3 -3
- package/lib/raydium/raydium.js +1 -1
- package/lib/raydium/raydium.js.map +1 -1
- package/lib/raydium/raydium.mjs +1 -1
- package/lib/raydium/raydium.mjs.map +1 -1
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/type.d.ts +1 -1
- package/lib/raydium/token/utils.d.ts +1 -1
- package/lib/raydium/tradeV2/index.d.ts +2 -2
- package/lib/raydium/tradeV2/instrument.d.ts +2 -2
- package/lib/raydium/tradeV2/trade.d.ts +3 -3
- package/lib/raydium/tradeV2/type.d.ts +2 -2
- package/lib/raydium/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +3 -3
- package/lib/raydium/utils1216/utils1216.d.ts +3 -3
- package/lib/{raydium-506bacbc.d.ts → raydium-6435918d.d.ts} +2 -2
- package/lib/{type-389634c9.d.ts → type-291f7eb1.d.ts} +1 -1
- package/lib/{type-9fe71e3c.d.ts → type-515cebdd.d.ts} +3 -3
- package/package.json +1 -1
- package/src/raydium/cpmm/cpmm.ts +5 -3
|
@@ -9,7 +9,7 @@ import '../../marshmallow/index.js';
|
|
|
9
9
|
import '@solana/web3.js';
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
|
-
import '../../type-
|
|
12
|
+
import '../../type-515cebdd.js';
|
|
13
13
|
import '@solana/spl-token';
|
|
14
14
|
import '../../solana/type.js';
|
|
15
15
|
import '../../common/txTool/txType.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, EpochInfo } from '@solana/web3.js';
|
|
2
|
-
import { e as ApiV3Token, bI as ComputeBudgetConfig, m as ApiV3PoolInfoStandardItemCpmm, c5 as Percent, bL as GetTransferAmountFee } from '../../type-
|
|
2
|
+
import { e as ApiV3Token, bI as ComputeBudgetConfig, m as ApiV3PoolInfoStandardItemCpmm, c5 as Percent, bL as GetTransferAmountFee } from '../../type-515cebdd.js';
|
|
3
3
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import { SwapResult } from './curve/calculator.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bq as FarmVersion, bv as isValidFarmVersion, bx as poolTypeV6, bw as validateFarmRewards } from '../../type-
|
|
2
|
+
export { br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bq as FarmVersion, bv as isValidFarmVersion, bx as poolTypeV6, bw as validateFarmRewards } from '../../type-515cebdd.js';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import '@solana/spl-token';
|
|
5
5
|
import '../../solana/type.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../type-
|
|
2
|
+
import '../../type-515cebdd.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
export { F as default } from '../../raydium-
|
|
4
|
+
export { F as default } from '../../raydium-6435918d.js';
|
|
5
5
|
import 'bn.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -20,7 +20,7 @@ import '../../api/url.js';
|
|
|
20
20
|
import '../account/types.js';
|
|
21
21
|
import '../account/layout.js';
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
|
-
import '../../type-
|
|
23
|
+
import '../../type-291f7eb1.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
25
|
import '../cpmm/type.js';
|
|
26
26
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, bw as validateFarmRewards, az as withdrawRewardLayout } from '../../type-
|
|
1
|
+
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, bw as validateFarmRewards, az as withdrawRewardLayout } from '../../type-515cebdd.js';
|
|
2
2
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './util.js';
|
|
3
3
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './instruction.js';
|
|
4
4
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './pda.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Connection } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { bH as InstructionReturn, bd as RewardType, I as FormatFarmKeyOut, bi as RewardInfoKey, bh as FarmRewardInfoConfig } from '../../type-
|
|
3
|
+
import { bH as InstructionReturn, bd as RewardType, I as FormatFarmKeyOut, bi as RewardInfoKey, bh as FarmRewardInfoConfig } from '../../type-515cebdd.js';
|
|
4
4
|
import '@solana/spl-token';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import '../../common/txTool/txType.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../marshmallow/index.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
export { b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, az as withdrawRewardLayout } from '../../type-
|
|
4
|
+
export { b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, az as withdrawRewardLayout } from '../../type-515cebdd.js';
|
|
5
5
|
import '../../marshmallow/buffer-layout.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
|
-
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, bo as FarmDWParam, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards } from '../../type-
|
|
3
|
+
export { be as APIRewardInfo, bk as CreateFarm, bl as CreateFarmExtInfo, bo as FarmDWParam, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bm as UpdateFarmReward, bn as UpdateFarmRewards } from '../../type-515cebdd.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
6
6
|
import '../../solana/type.js';
|
|
@@ -3,7 +3,7 @@ import BN__default from 'bn.js';
|
|
|
3
3
|
import { GetMultipleAccountsInfoConfig } from '../../common/accountInfo.js';
|
|
4
4
|
import { ProgramAddress } from '../../common/txTool/txUtils.js';
|
|
5
5
|
import { DateParam } from '../../common/date.js';
|
|
6
|
-
import { bg as FarmRewardInfo, bh as FarmRewardInfoConfig, M as RewardInfoV6, b0 as FarmLedgerLayout, aR as FarmStateLayout, aQ as FarmState, b6 as FarmLedger } from '../../type-
|
|
6
|
+
import { bg as FarmRewardInfo, bh as FarmRewardInfoConfig, M as RewardInfoV6, b0 as FarmLedgerLayout, aR as FarmStateLayout, aQ as FarmState, b6 as FarmLedger } from '../../type-515cebdd.js';
|
|
7
7
|
import { SplAccount } from '../account/types.js';
|
|
8
8
|
import '@solana/spl-token';
|
|
9
9
|
import '../../solana/type.js';
|
package/lib/raydium/ido/ido.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { M as default } from '../../raydium-
|
|
2
|
-
import '../../type-
|
|
1
|
+
export { M as default } from '../../raydium-6435918d.js';
|
|
2
|
+
import '../../type-515cebdd.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import '../../api/api.js';
|
|
@@ -20,7 +20,7 @@ import '../../module/currency.js';
|
|
|
20
20
|
import '../account/types.js';
|
|
21
21
|
import '../account/layout.js';
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
|
-
import '../../type-
|
|
23
|
+
import '../../type-291f7eb1.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
25
|
import '../cpmm/type.js';
|
|
26
26
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { M as default } from '../../raydium-
|
|
1
|
+
export { M as default } from '../../raydium-6435918d.js';
|
|
2
2
|
export { makeClaimInstruction, makeClaimInstructionV4, makePurchaseInstruction } from './instruction.js';
|
|
3
3
|
export { ClaimInstructionKeys, ClaimInstructionKeysV3, IdoClaimInstructionParams, IdoPoolConfig, IdoUserKeys, IdoVersion, PurchaseInstructionKeys, SnapshotVersion } from './type.js';
|
|
4
4
|
export { claimLayout, purchaseLayout } from './layout.js';
|
|
@@ -6,7 +6,7 @@ import '@solana/web3.js';
|
|
|
6
6
|
import '../../api/api.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../../solana/type.js';
|
|
9
|
-
import '../../type-
|
|
9
|
+
import '../../type-515cebdd.js';
|
|
10
10
|
import 'bn.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
12
12
|
import '../../common/txTool/txType.js';
|
|
@@ -23,7 +23,7 @@ import '../../api/url.js';
|
|
|
23
23
|
import '../account/types.js';
|
|
24
24
|
import '../account/layout.js';
|
|
25
25
|
import '../liquidity/type.js';
|
|
26
|
-
import '../../type-
|
|
26
|
+
import '../../type-291f7eb1.js';
|
|
27
27
|
import '../clmm/layout.js';
|
|
28
28
|
import '../cpmm/type.js';
|
|
29
29
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
|
|
2
2
|
import { PurchaseInstructionKeys, ClaimInstructionKeysV3, ClaimInstructionKeys, IdoClaimInstructionParams } from './type.js';
|
|
3
|
-
import '../../type-
|
|
3
|
+
import '../../type-515cebdd.js';
|
|
4
4
|
import 'bn.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
6
6
|
import '../../solana/type.js';
|
package/lib/raydium/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-
|
|
1
|
+
export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from '../raydium-6435918d.js';
|
|
2
2
|
export { splAccountLayout } from './account/layout.js';
|
|
3
3
|
export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './account/types.js';
|
|
4
4
|
export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './account/util.js';
|
|
5
5
|
export { closeAccountInstruction, createWSolAccountInstructions, initTokenAccountInstruction, makeTransferInstruction } from './account/instruction.js';
|
|
6
|
-
export { be as APIRewardInfo, b as ApiClmmConfigInfo, bS as ArrayItem, bI as ComputeBudgetConfig, bZ as Cover, bk as CreateFarm, bl as CreateFarmExtInfo, bT as ExactPartial, bU as ExactRequired, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bY as Fallback, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bL as GetTransferAmountFee, bW as GetValue, bH as InstructionReturn, bJ as LoadParams, bC as LpToken, bG as MakeMultiTransaction, bE as MakeTransaction, bF as MakeV0Transaction, bP as MayArray, bQ as MayDeepArray, bR as MayFunction, bO as ReplaceType, bM as ReturnTypeFetchMultipleMintInfo, bN as ReturnTypeFetchMultipleMintInfos, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bV as SKeyof, bX as SOR, bD as SignAllTransactions, bB as SplToken, bz as TokenInfo, bA as TokenJson, bK as TransferAmountFee, b_ as UnionCover, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, b$ as unionArr, bw as validateFarmRewards, az as withdrawRewardLayout } from '../type-
|
|
6
|
+
export { be as APIRewardInfo, b as ApiClmmConfigInfo, bS as ArrayItem, bI as ComputeBudgetConfig, bZ as Cover, bk as CreateFarm, bl as CreateFarmExtInfo, bT as ExactPartial, bU as ExactRequired, br as FARM_LOCK_MINT, bs as FARM_LOCK_VAULT, by as FARM_PROGRAM_TO_VERSION, bu as FARM_VERSION_TO_LEDGER_LAYOUT, bt as FARM_VERSION_TO_STATE_LAYOUT, bY as Fallback, bo as FarmDWParam, b6 as FarmLedger, b0 as FarmLedgerLayout, aX as FarmLedgerLayoutV3_1, aY as FarmLedgerLayoutV3_2, aZ as FarmLedgerLayoutV5_1, a_ as FarmLedgerLayoutV5_2, a$ as FarmLedgerLayoutV6_1, b1 as FarmLedgerV3_1, b2 as FarmLedgerV3_2, b3 as FarmLedgerV5_1, b4 as FarmLedgerV5_2, b5 as FarmLedgerV6_1, bj as FarmPoolInfoV6, bp as FarmPoolKeys, bg as FarmRewardInfo, bh as FarmRewardInfoConfig, aQ as FarmState, aR as FarmStateLayout, aK as FarmStateLayoutV3, aL as FarmStateLayoutV5, aM as FarmStateLayoutV6, aN as FarmStateV3, aO as FarmStateV5, aP as FarmStateV6, bq as FarmVersion, bL as GetTransferAmountFee, bW as GetValue, bH as InstructionReturn, bJ as LoadParams, bC as LpToken, bG as MakeMultiTransaction, bE as MakeTransaction, bF as MakeV0Transaction, bP as MayArray, bQ as MayDeepArray, bR as MayFunction, bO as ReplaceType, bM as ReturnTypeFetchMultipleMintInfo, bN as ReturnTypeFetchMultipleMintInfos, bi as RewardInfoKey, bf as RewardInfoWithKey, bd as RewardType, bV as SKeyof, bX as SOR, bD as SignAllTransactions, bB as SplToken, bz as TokenInfo, bA as TokenJson, bK as TransferAmountFee, b_ as UnionCover, bm as UpdateFarmReward, bn as UpdateFarmRewards, bc as Voter, bb as VoterDepositEntry, ba as VoterLockup, b9 as VoterRegistrar, b8 as VoterVotingMintConfig, ay as associatedLedgerAccountLayout, b7 as dwLayout, aJ as farmAddRewardLayout, aS as farmLedgerLayoutV3_1, aT as farmLedgerLayoutV3_2, aU as farmLedgerLayoutV5_1, aV as farmLedgerLayoutV5_2, aW as farmLedgerLayoutV6_1, aH as farmRewardLayout, aI as farmRewardRestartLayout, aG as farmRewardTimeInfoLayout, aD as farmStateV3Layout, aE as farmStateV5Layout, aF as farmStateV6Layout, bv as isValidFarmVersion, bx as poolTypeV6, aA as realFarmStateV3Layout, aB as realFarmStateV5Layout, aC as realFarmV6Layout, b$ as unionArr, bw as validateFarmRewards, az as withdrawRewardLayout } from '../type-515cebdd.js';
|
|
7
7
|
export { FarmFetchMultipleInfoParams, calFarmRewardAmount, farmRewardInfoToConfig, fetchMultipleFarmInfoAndUpdate, getAssociatedAuthority, getAssociatedLedgerAccount, getAssociatedLedgerPoolAccount, getDepositEntryIndex, getFarmLedgerLayout, getFarmStateLayout, judgeFarmType, updateFarmPoolInfo } from './farm/util.js';
|
|
8
8
|
export { createAssociatedLedgerAccountInstruction, governanceCreateTokenOwnerRecord, makeAddNewRewardInstruction, makeCreateFarmInstruction, makeCreatorWithdrawFarmRewardInstruction, makeDepositInstructionV3, makeDepositInstructionV5, makeDepositInstructionV6, makeDepositTokenInstruction, makeDepositWithdrawInstruction, makeRestartRewardInstruction, makeWithdrawInstructionV3, makeWithdrawInstructionV5, makeWithdrawInstructionV6, makeWithdrawTokenInstruction, voterStakeRegistryCreateDepositEntry, voterStakeRegistryCreateVoter, voterStakeRegistryDeposit, voterStakeRegistryUpdateVoterWeightRecord, voterStakeRegistryWithdraw } from './farm/instruction.js';
|
|
9
9
|
export { getRegistrarAddress, getTokenOwnerRecordAddress, getVoterAddress, getVoterWeightRecordAddress, getVotingMintAuthority, getVotingTokenMint } from './farm/pda.js';
|
|
10
10
|
export { SOL_INFO, TOKEN_WSOL } from './token/constant.js';
|
|
11
11
|
export { SPL_MINT_LAYOUT, SplMintLayout } from './token/layout.js';
|
|
12
12
|
export { parseTokenInfo, solToWSolToken, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './token/utils.js';
|
|
13
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from '../type-
|
|
13
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from '../type-291f7eb1.js';
|
|
14
14
|
export { AmmConfigLayout, ClmmPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './clmm/layout.js';
|
|
15
15
|
export { ClmmInstrument } from './clmm/instrument.js';
|
|
16
16
|
export { BIT_PRECISION, FEE_RATE_DENOMINATOR, Fee, LOG_B_2_X32, LOG_B_P_ERR_MARGIN_LOWER_X64, LOG_B_P_ERR_MARGIN_UPPER_X64, MAX_SQRT_PRICE_X64, MAX_TICK, MIN_SQRT_PRICE_X64, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './clmm/utils/constants.js';
|