pump-kit 0.0.1

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 (142) hide show
  1. package/@pump-kit.png +0 -0
  2. package/README.md +133 -0
  3. package/dist/index.js +25 -0
  4. package/dist/index.js.map +173 -0
  5. package/dist/types/ammsdk/bondingCurveMath.d.ts +41 -0
  6. package/dist/types/ammsdk/generated/accounts/bondingCurve.d.ts +39 -0
  7. package/dist/types/ammsdk/generated/accounts/feeConfig.d.ts +33 -0
  8. package/dist/types/ammsdk/generated/accounts/globalConfig.d.ts +61 -0
  9. package/dist/types/ammsdk/generated/accounts/globalVolumeAccumulator.d.ts +37 -0
  10. package/dist/types/ammsdk/generated/accounts/index.d.ts +13 -0
  11. package/dist/types/ammsdk/generated/accounts/pool.d.ts +47 -0
  12. package/dist/types/ammsdk/generated/accounts/userVolumeAccumulator.d.ts +39 -0
  13. package/dist/types/ammsdk/generated/errors/index.d.ts +8 -0
  14. package/dist/types/ammsdk/generated/errors/pumpAmm.d.ts +101 -0
  15. package/dist/types/ammsdk/generated/index.d.ts +12 -0
  16. package/dist/types/ammsdk/generated/instructions/adminSetCoinCreator.d.ts +63 -0
  17. package/dist/types/ammsdk/generated/instructions/adminUpdateTokenIncentives.d.ts +99 -0
  18. package/dist/types/ammsdk/generated/instructions/buy.d.ts +144 -0
  19. package/dist/types/ammsdk/generated/instructions/buyExactQuoteIn.d.ts +144 -0
  20. package/dist/types/ammsdk/generated/instructions/claimTokenIncentives.d.ts +86 -0
  21. package/dist/types/ammsdk/generated/instructions/closeUserVolumeAccumulator.d.ts +54 -0
  22. package/dist/types/ammsdk/generated/instructions/collectCoinCreatorFee.d.ts +70 -0
  23. package/dist/types/ammsdk/generated/instructions/createConfig.d.ts +79 -0
  24. package/dist/types/ammsdk/generated/instructions/createPool.d.ts +127 -0
  25. package/dist/types/ammsdk/generated/instructions/deposit.d.ts +111 -0
  26. package/dist/types/ammsdk/generated/instructions/disable.d.ts +75 -0
  27. package/dist/types/ammsdk/generated/instructions/extendAccount.d.ts +58 -0
  28. package/dist/types/ammsdk/generated/instructions/index.d.ts +26 -0
  29. package/dist/types/ammsdk/generated/instructions/initUserVolumeAccumulator.d.ts +62 -0
  30. package/dist/types/ammsdk/generated/instructions/sell.d.ts +131 -0
  31. package/dist/types/ammsdk/generated/instructions/setCoinCreator.d.ts +58 -0
  32. package/dist/types/ammsdk/generated/instructions/syncUserVolumeAccumulator.d.ts +58 -0
  33. package/dist/types/ammsdk/generated/instructions/updateAdmin.d.ts +58 -0
  34. package/dist/types/ammsdk/generated/instructions/updateFeeConfig.d.ts +75 -0
  35. package/dist/types/ammsdk/generated/instructions/withdraw.d.ts +111 -0
  36. package/dist/types/ammsdk/generated/programs/index.d.ts +8 -0
  37. package/dist/types/ammsdk/generated/programs/pumpAmm.d.ts +84 -0
  38. package/dist/types/ammsdk/generated/shared/index.d.ts +49 -0
  39. package/dist/types/ammsdk/generated/types/adminSetCoinCreatorEvent.d.ts +27 -0
  40. package/dist/types/ammsdk/generated/types/adminUpdateTokenIncentivesEvent.d.ts +29 -0
  41. package/dist/types/ammsdk/generated/types/buyEvent.d.ts +76 -0
  42. package/dist/types/ammsdk/generated/types/claimTokenIncentivesEvent.d.ts +27 -0
  43. package/dist/types/ammsdk/generated/types/closeUserVolumeAccumulatorEvent.d.ts +27 -0
  44. package/dist/types/ammsdk/generated/types/collectCoinCreatorFeeEvent.d.ts +25 -0
  45. package/dist/types/ammsdk/generated/types/createConfigEvent.d.ts +29 -0
  46. package/dist/types/ammsdk/generated/types/createPoolEvent.d.ts +55 -0
  47. package/dist/types/ammsdk/generated/types/depositEvent.d.ts +47 -0
  48. package/dist/types/ammsdk/generated/types/disableEvent.d.ts +29 -0
  49. package/dist/types/ammsdk/generated/types/extendAccountEvent.d.ts +25 -0
  50. package/dist/types/ammsdk/generated/types/feeTier.d.ts +20 -0
  51. package/dist/types/ammsdk/generated/types/fees.d.ts +21 -0
  52. package/dist/types/ammsdk/generated/types/index.d.ts +29 -0
  53. package/dist/types/ammsdk/generated/types/initUserVolumeAccumulatorEvent.d.ts +21 -0
  54. package/dist/types/ammsdk/generated/types/optionBool.d.ts +13 -0
  55. package/dist/types/ammsdk/generated/types/sellEvent.d.ts +61 -0
  56. package/dist/types/ammsdk/generated/types/setBondingCurveCoinCreatorEvent.d.ts +25 -0
  57. package/dist/types/ammsdk/generated/types/setMetaplexCoinCreatorEvent.d.ts +25 -0
  58. package/dist/types/ammsdk/generated/types/syncUserVolumeAccumulatorEvent.d.ts +23 -0
  59. package/dist/types/ammsdk/generated/types/updateAdminEvent.d.ts +21 -0
  60. package/dist/types/ammsdk/generated/types/updateFeeConfigEvent.d.ts +29 -0
  61. package/dist/types/ammsdk/generated/types/withdrawEvent.d.ts +47 -0
  62. package/dist/types/clients/amm.d.ts +109 -0
  63. package/dist/types/clients/pump.d.ts +76 -0
  64. package/dist/types/config/addresses.d.ts +12 -0
  65. package/dist/types/config/commitment.d.ts +4 -0
  66. package/dist/types/config/connection.d.ts +10 -0
  67. package/dist/types/config/constants.d.ts +4 -0
  68. package/dist/types/config/polyfills.d.ts +1 -0
  69. package/dist/types/events/pumpEvents.d.ts +30 -0
  70. package/dist/types/helpers/createAndBuy.d.ts +34 -0
  71. package/dist/types/index.d.ts +20 -0
  72. package/dist/types/liquidity.d.ts +47 -0
  73. package/dist/types/pda/ata.d.ts +29 -0
  74. package/dist/types/pda/pump.d.ts +46 -0
  75. package/dist/types/pda/pumpAmm.d.ts +55 -0
  76. package/dist/types/pumpsdk/generated/accounts/bondingCurve.d.ts +39 -0
  77. package/dist/types/pumpsdk/generated/accounts/feeConfig.d.ts +33 -0
  78. package/dist/types/pumpsdk/generated/accounts/global.d.ts +59 -0
  79. package/dist/types/pumpsdk/generated/accounts/globalVolumeAccumulator.d.ts +37 -0
  80. package/dist/types/pumpsdk/generated/accounts/index.d.ts +12 -0
  81. package/dist/types/pumpsdk/generated/accounts/userVolumeAccumulator.d.ts +39 -0
  82. package/dist/types/pumpsdk/generated/errors/index.d.ts +8 -0
  83. package/dist/types/pumpsdk/generated/errors/pump.d.ts +105 -0
  84. package/dist/types/pumpsdk/generated/index.d.ts +12 -0
  85. package/dist/types/pumpsdk/generated/instructions/adminSetCreator.d.ts +67 -0
  86. package/dist/types/pumpsdk/generated/instructions/adminSetIdlAuthority.d.ts +71 -0
  87. package/dist/types/pumpsdk/generated/instructions/adminUpdateTokenIncentives.d.ts +99 -0
  88. package/dist/types/pumpsdk/generated/instructions/buy.d.ts +116 -0
  89. package/dist/types/pumpsdk/generated/instructions/buyExactSolIn.d.ts +116 -0
  90. package/dist/types/pumpsdk/generated/instructions/claimTokenIncentives.d.ts +86 -0
  91. package/dist/types/pumpsdk/generated/instructions/closeUserVolumeAccumulator.d.ts +54 -0
  92. package/dist/types/pumpsdk/generated/instructions/collectCreatorFee.d.ts +58 -0
  93. package/dist/types/pumpsdk/generated/instructions/create.d.ts +111 -0
  94. package/dist/types/pumpsdk/generated/instructions/extendAccount.d.ts +58 -0
  95. package/dist/types/pumpsdk/generated/instructions/index.d.ts +26 -0
  96. package/dist/types/pumpsdk/generated/instructions/initUserVolumeAccumulator.d.ts +62 -0
  97. package/dist/types/pumpsdk/generated/instructions/initialize.d.ts +50 -0
  98. package/dist/types/pumpsdk/generated/instructions/migrate.d.ts +134 -0
  99. package/dist/types/pumpsdk/generated/instructions/sell.d.ts +103 -0
  100. package/dist/types/pumpsdk/generated/instructions/setCreator.d.ts +71 -0
  101. package/dist/types/pumpsdk/generated/instructions/setMetaplexCreator.d.ts +58 -0
  102. package/dist/types/pumpsdk/generated/instructions/setParams.d.ts +99 -0
  103. package/dist/types/pumpsdk/generated/instructions/syncUserVolumeAccumulator.d.ts +58 -0
  104. package/dist/types/pumpsdk/generated/instructions/updateGlobalAuthority.d.ts +58 -0
  105. package/dist/types/pumpsdk/generated/programs/index.d.ts +8 -0
  106. package/dist/types/pumpsdk/generated/programs/pump.d.ts +83 -0
  107. package/dist/types/pumpsdk/generated/shared/index.d.ts +49 -0
  108. package/dist/types/pumpsdk/generated/types/adminSetCreatorEvent.d.ts +27 -0
  109. package/dist/types/pumpsdk/generated/types/adminSetIdlAuthorityEvent.d.ts +15 -0
  110. package/dist/types/pumpsdk/generated/types/adminUpdateTokenIncentivesEvent.d.ts +29 -0
  111. package/dist/types/pumpsdk/generated/types/claimTokenIncentivesEvent.d.ts +27 -0
  112. package/dist/types/pumpsdk/generated/types/closeUserVolumeAccumulatorEvent.d.ts +27 -0
  113. package/dist/types/pumpsdk/generated/types/collectCreatorFeeEvent.d.ts +21 -0
  114. package/dist/types/pumpsdk/generated/types/completeEvent.d.ts +23 -0
  115. package/dist/types/pumpsdk/generated/types/completePumpAmmMigrationEvent.d.ts +31 -0
  116. package/dist/types/pumpsdk/generated/types/createEvent.d.ts +39 -0
  117. package/dist/types/pumpsdk/generated/types/extendAccountEvent.d.ts +25 -0
  118. package/dist/types/pumpsdk/generated/types/feeTier.d.ts +20 -0
  119. package/dist/types/pumpsdk/generated/types/fees.d.ts +21 -0
  120. package/dist/types/pumpsdk/generated/types/index.d.ts +27 -0
  121. package/dist/types/pumpsdk/generated/types/initUserVolumeAccumulatorEvent.d.ts +21 -0
  122. package/dist/types/pumpsdk/generated/types/optionBool.d.ts +13 -0
  123. package/dist/types/pumpsdk/generated/types/setCreatorEvent.d.ts +23 -0
  124. package/dist/types/pumpsdk/generated/types/setMetaplexCreatorEvent.d.ts +25 -0
  125. package/dist/types/pumpsdk/generated/types/setParamsEvent.d.ts +43 -0
  126. package/dist/types/pumpsdk/generated/types/syncUserVolumeAccumulatorEvent.d.ts +23 -0
  127. package/dist/types/pumpsdk/generated/types/tradeEvent.d.ts +60 -0
  128. package/dist/types/pumpsdk/generated/types/updateGlobalAuthorityEvent.d.ts +23 -0
  129. package/dist/types/recipes/buy.d.ts +51 -0
  130. package/dist/types/recipes/mintFirstBuy.d.ts +51 -0
  131. package/dist/types/recipes/provideLiquidity.d.ts +42 -0
  132. package/dist/types/recipes/removeLiquidity.d.ts +40 -0
  133. package/dist/types/recipes/sell.d.ts +39 -0
  134. package/dist/types/simple.d.ts +10 -0
  135. package/dist/types/swap.d.ts +49 -0
  136. package/dist/types/utils/amounts.d.ts +4 -0
  137. package/dist/types/utils/ata.d.ts +15 -0
  138. package/dist/types/utils/slippage.d.ts +37 -0
  139. package/dist/types/utils/transaction.d.ts +101 -0
  140. package/dist/types/utils/wsol.d.ts +18 -0
  141. package/metadata/social.json +8 -0
  142. package/package.json +56 -0
@@ -0,0 +1,25 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export type SetMetaplexCoinCreatorEvent = {
10
+ timestamp: bigint;
11
+ baseMint: Address;
12
+ pool: Address;
13
+ metadata: Address;
14
+ coinCreator: Address;
15
+ };
16
+ export type SetMetaplexCoinCreatorEventArgs = {
17
+ timestamp: number | bigint;
18
+ baseMint: Address;
19
+ pool: Address;
20
+ metadata: Address;
21
+ coinCreator: Address;
22
+ };
23
+ export declare function getSetMetaplexCoinCreatorEventEncoder(): FixedSizeEncoder<SetMetaplexCoinCreatorEventArgs>;
24
+ export declare function getSetMetaplexCoinCreatorEventDecoder(): FixedSizeDecoder<SetMetaplexCoinCreatorEvent>;
25
+ export declare function getSetMetaplexCoinCreatorEventCodec(): FixedSizeCodec<SetMetaplexCoinCreatorEventArgs, SetMetaplexCoinCreatorEvent>;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export type SyncUserVolumeAccumulatorEvent = {
10
+ user: Address;
11
+ totalClaimedTokensBefore: bigint;
12
+ totalClaimedTokensAfter: bigint;
13
+ timestamp: bigint;
14
+ };
15
+ export type SyncUserVolumeAccumulatorEventArgs = {
16
+ user: Address;
17
+ totalClaimedTokensBefore: number | bigint;
18
+ totalClaimedTokensAfter: number | bigint;
19
+ timestamp: number | bigint;
20
+ };
21
+ export declare function getSyncUserVolumeAccumulatorEventEncoder(): FixedSizeEncoder<SyncUserVolumeAccumulatorEventArgs>;
22
+ export declare function getSyncUserVolumeAccumulatorEventDecoder(): FixedSizeDecoder<SyncUserVolumeAccumulatorEvent>;
23
+ export declare function getSyncUserVolumeAccumulatorEventCodec(): FixedSizeCodec<SyncUserVolumeAccumulatorEventArgs, SyncUserVolumeAccumulatorEvent>;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export type UpdateAdminEvent = {
10
+ timestamp: bigint;
11
+ admin: Address;
12
+ newAdmin: Address;
13
+ };
14
+ export type UpdateAdminEventArgs = {
15
+ timestamp: number | bigint;
16
+ admin: Address;
17
+ newAdmin: Address;
18
+ };
19
+ export declare function getUpdateAdminEventEncoder(): FixedSizeEncoder<UpdateAdminEventArgs>;
20
+ export declare function getUpdateAdminEventDecoder(): FixedSizeDecoder<UpdateAdminEvent>;
21
+ export declare function getUpdateAdminEventCodec(): FixedSizeCodec<UpdateAdminEventArgs, UpdateAdminEvent>;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export type UpdateFeeConfigEvent = {
10
+ timestamp: bigint;
11
+ admin: Address;
12
+ lpFeeBasisPoints: bigint;
13
+ protocolFeeBasisPoints: bigint;
14
+ protocolFeeRecipients: Array<Address>;
15
+ coinCreatorFeeBasisPoints: bigint;
16
+ adminSetCoinCreatorAuthority: Address;
17
+ };
18
+ export type UpdateFeeConfigEventArgs = {
19
+ timestamp: number | bigint;
20
+ admin: Address;
21
+ lpFeeBasisPoints: number | bigint;
22
+ protocolFeeBasisPoints: number | bigint;
23
+ protocolFeeRecipients: Array<Address>;
24
+ coinCreatorFeeBasisPoints: number | bigint;
25
+ adminSetCoinCreatorAuthority: Address;
26
+ };
27
+ export declare function getUpdateFeeConfigEventEncoder(): FixedSizeEncoder<UpdateFeeConfigEventArgs>;
28
+ export declare function getUpdateFeeConfigEventDecoder(): FixedSizeDecoder<UpdateFeeConfigEvent>;
29
+ export declare function getUpdateFeeConfigEventCodec(): FixedSizeCodec<UpdateFeeConfigEventArgs, UpdateFeeConfigEvent>;
@@ -0,0 +1,47 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export type WithdrawEvent = {
10
+ timestamp: bigint;
11
+ lpTokenAmountIn: bigint;
12
+ minBaseAmountOut: bigint;
13
+ minQuoteAmountOut: bigint;
14
+ userBaseTokenReserves: bigint;
15
+ userQuoteTokenReserves: bigint;
16
+ poolBaseTokenReserves: bigint;
17
+ poolQuoteTokenReserves: bigint;
18
+ baseAmountOut: bigint;
19
+ quoteAmountOut: bigint;
20
+ lpMintSupply: bigint;
21
+ pool: Address;
22
+ user: Address;
23
+ userBaseTokenAccount: Address;
24
+ userQuoteTokenAccount: Address;
25
+ userPoolTokenAccount: Address;
26
+ };
27
+ export type WithdrawEventArgs = {
28
+ timestamp: number | bigint;
29
+ lpTokenAmountIn: number | bigint;
30
+ minBaseAmountOut: number | bigint;
31
+ minQuoteAmountOut: number | bigint;
32
+ userBaseTokenReserves: number | bigint;
33
+ userQuoteTokenReserves: number | bigint;
34
+ poolBaseTokenReserves: number | bigint;
35
+ poolQuoteTokenReserves: number | bigint;
36
+ baseAmountOut: number | bigint;
37
+ quoteAmountOut: number | bigint;
38
+ lpMintSupply: number | bigint;
39
+ pool: Address;
40
+ user: Address;
41
+ userBaseTokenAccount: Address;
42
+ userQuoteTokenAccount: Address;
43
+ userPoolTokenAccount: Address;
44
+ };
45
+ export declare function getWithdrawEventEncoder(): FixedSizeEncoder<WithdrawEventArgs>;
46
+ export declare function getWithdrawEventDecoder(): FixedSizeDecoder<WithdrawEvent>;
47
+ export declare function getWithdrawEventCodec(): FixedSizeCodec<WithdrawEventArgs, WithdrawEvent>;
@@ -0,0 +1,109 @@
1
+ /**
2
+ * Thin client wrappers for Pump AMM operations.
3
+ * These functions provide a simple, opinionated API over the generated instruction builders.
4
+ */
5
+ import type { Address, TransactionSigner } from "@solana/kit";
6
+ import type { RpcClient } from "../config/connection";
7
+ export interface CreatePoolParams {
8
+ /** The user's wallet/signer (will be pool creator) */
9
+ user: TransactionSigner;
10
+ /** Base token mint address */
11
+ baseMint: Address | string;
12
+ /** Quote token mint address */
13
+ quoteMint: Address | string;
14
+ /** Pool index (for multi-pool support) */
15
+ index: number;
16
+ }
17
+ /**
18
+ * Build a create pool instruction.
19
+ *
20
+ * TODO: Complete implementation once we verify the generated instruction signature.
21
+ */
22
+ export declare function createPool(params: CreatePoolParams): Promise<void>;
23
+ export interface DepositParams {
24
+ /** Liquidity provider */
25
+ user: TransactionSigner;
26
+ /** Base token mint address */
27
+ baseMint: Address | string;
28
+ /** Quote token mint address */
29
+ quoteMint: Address | string;
30
+ /** Pool index (default 0) */
31
+ index?: number;
32
+ /** Optional explicit pool address (overrides creator + index) */
33
+ poolAddress?: Address | string;
34
+ /** Pool creator address used when deriving the pool PDA (defaults to user address) */
35
+ poolCreator?: Address | string;
36
+ /** Maximum base tokens to deposit */
37
+ maxBaseIn: bigint;
38
+ /** Maximum quote tokens to deposit */
39
+ maxQuoteIn: bigint;
40
+ /** Minimum LP tokens to receive (slippage protection) */
41
+ minLpOut?: bigint;
42
+ /** SPL token program for base/quote mints (defaults to TOKEN_PROGRAM_ID) */
43
+ tokenProgram?: Address | string;
44
+ /** Token-2022 program for LP mint (defaults to TOKEN_2022_PROGRAM_ID) */
45
+ token2022Program?: Address | string;
46
+ }
47
+ /**
48
+ * Build a deposit (provide liquidity) instruction.
49
+ *
50
+ * TODO: Complete implementation once we verify the generated instruction signature.
51
+ */
52
+ export declare function deposit(params: DepositParams): Promise<import("../ammsdk/generated").DepositInstruction<Address<"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", []>>;
53
+ export interface WithdrawParams {
54
+ user: TransactionSigner;
55
+ baseMint: Address | string;
56
+ quoteMint: Address | string;
57
+ index?: number;
58
+ poolAddress?: Address | string;
59
+ poolCreator?: Address | string;
60
+ lpAmountIn: bigint;
61
+ minBaseOut?: bigint;
62
+ minQuoteOut?: bigint;
63
+ tokenProgram?: Address | string;
64
+ token2022Program?: Address | string;
65
+ }
66
+ /**
67
+ * Build a withdraw (remove liquidity) instruction.
68
+ *
69
+ * TODO: Complete implementation once we verify the generated instruction signature.
70
+ */
71
+ export declare function withdraw(params: WithdrawParams): Promise<import("../ammsdk/generated").WithdrawInstruction<Address<"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA">, string, string, string, string, string, string, string, string, string, string, string, string, string, string, "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", []>>;
72
+ export interface AmmBuyParams {
73
+ user: TransactionSigner;
74
+ baseMint: Address | string;
75
+ quoteMint: Address | string;
76
+ index?: number;
77
+ poolAddress?: Address | string;
78
+ poolCreator?: Address | string;
79
+ tokenAmountOut: bigint;
80
+ maxQuoteIn: bigint;
81
+ allowTrackVolume?: boolean;
82
+ rpc: RpcClient;
83
+ commitment?: "processed" | "confirmed" | "finalized";
84
+ }
85
+ /**
86
+ * Build a buy instruction via the AMM pool (not bonding curve).
87
+ *
88
+ * TODO: Complete implementation once we verify the generated instruction signature.
89
+ */
90
+ export declare function ammBuy(params: AmmBuyParams): Promise<import("../ammsdk/generated").BuyInstruction<Address<"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA">, string, string, string, string, string, string, string, string, string, string, string, "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "11111111111111111111111111111111", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", string, "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", string, string, string, string, string, "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ", []>>;
91
+ export interface AmmSellParams {
92
+ user: TransactionSigner;
93
+ baseMint: Address | string;
94
+ quoteMint: Address | string;
95
+ index?: number;
96
+ poolAddress?: Address | string;
97
+ poolCreator?: Address | string;
98
+ tokenAmountIn: bigint;
99
+ minQuoteOut: bigint;
100
+ allowTrackVolume?: boolean;
101
+ rpc: RpcClient;
102
+ commitment?: "processed" | "confirmed" | "finalized";
103
+ }
104
+ /**
105
+ * Build a sell instruction via the AMM pool (not bonding curve).
106
+ *
107
+ * TODO: Complete implementation once we verify the generated instruction signature.
108
+ */
109
+ export declare function ammSell(params: AmmSellParams): Promise<import("../ammsdk/generated").SellInstruction<Address<"pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA">, string, string, string, string, string, string, string, string, string, string, string, "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "11111111111111111111111111111111", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", string, "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA", string, string, string, "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ", []>>;
@@ -0,0 +1,76 @@
1
+ /**
2
+ * Thin client wrappers for Pump bonding curve operations.
3
+ * These functions provide a simple, opinionated API over the generated instruction builders.
4
+ */
5
+ import type { Address, TransactionSigner } from "@solana/kit";
6
+ import type { RpcClient } from "../config/connection";
7
+ type Commitment = "processed" | "confirmed" | "finalized";
8
+ export interface BuyParams {
9
+ /** The user's wallet/signer */
10
+ user: TransactionSigner;
11
+ /** Token mint address */
12
+ mint: Address | string;
13
+ /** Amount of tokens to buy */
14
+ tokenAmount: bigint;
15
+ /** Maximum SOL to spend (slippage protection) */
16
+ maxSolCostLamports: bigint;
17
+ /** Fee recipient address */
18
+ feeRecipient: Address | string;
19
+ /** Whether to track volume (default: true) */
20
+ trackVolume?: boolean;
21
+ /** Optional bonding curve creator (skips RPC lookup) */
22
+ bondingCurveCreator?: Address | string;
23
+ /** RPC client used to fetch Pump accounts */
24
+ rpc: RpcClient;
25
+ /** Optional commitment level */
26
+ commitment?: Commitment;
27
+ }
28
+ /**
29
+ * Build a buy instruction for purchasing tokens from the bonding curve.
30
+ */
31
+ export declare function buy(params: BuyParams): Promise<import("../pumpsdk/generated").BuyInstruction<Address<"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P">, string, string, string, string, string, string, string, "11111111111111111111111111111111", "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", string, string, "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", string, string, string, "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ", []>>;
32
+ export interface SellParams {
33
+ /** The user's wallet/signer */
34
+ user: TransactionSigner;
35
+ /** Token mint address */
36
+ mint: Address | string;
37
+ /** Amount of tokens to sell */
38
+ tokenAmount: bigint;
39
+ /** Minimum SOL to receive (slippage protection) */
40
+ minSolOutputLamports: bigint;
41
+ /** Fee recipient address */
42
+ feeRecipient: Address | string;
43
+ /** Optional bonding curve creator (skips RPC lookup) */
44
+ bondingCurveCreator?: Address | string;
45
+ /** RPC client used to fetch bonding curve and fee config */
46
+ rpc: RpcClient;
47
+ /** Optional commitment level */
48
+ commitment?: Commitment;
49
+ }
50
+ /**
51
+ * Build a sell instruction for selling tokens back to the bonding curve.
52
+ */
53
+ export declare function sell(params: SellParams): Promise<import("../pumpsdk/generated").SellInstruction<Address<"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P">, string, string, string, string, string, string, string, "11111111111111111111111111111111", string, "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", string, "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", string, "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ", []>>;
54
+ export interface CreateParams {
55
+ /** The user's wallet/signer (will be creator) */
56
+ user: TransactionSigner;
57
+ /** Token mint keypair/signer (should be pre-generated) */
58
+ mint: TransactionSigner;
59
+ /** Mint authority address (usually same as user) */
60
+ mintAuthority: Address | string;
61
+ /** Token name */
62
+ name: string;
63
+ /** Token symbol */
64
+ symbol: string;
65
+ /** Metadata URI */
66
+ uri: string;
67
+ /** Creator address (usually user's address) */
68
+ creator?: Address | string;
69
+ }
70
+ /**
71
+ * Build a create instruction for minting a new token on the bonding curve.
72
+ * Note: This creates the token but doesn't include a first buy.
73
+ * For mint + first buy, you'll need to combine this with a buy instruction.
74
+ */
75
+ export declare function create(params: CreateParams): Promise<import("../pumpsdk/generated").CreateInstruction<Address<"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P">, string, string, string, string, string, "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s", string, string, "11111111111111111111111111111111", "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "SysvarRent111111111111111111111111111111111", string, "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", []>>;
76
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Program addresses and well-known Solana addresses.
3
+ * These are hard-coded constants that never change.
4
+ */
5
+ export declare const PUMP_PROGRAM_ID = "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P";
6
+ export declare const PUMP_AMM_PROGRAM_ID = "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
7
+ export declare const SYSTEM_PROGRAM_ID = "11111111111111111111111111111111";
8
+ export declare const TOKEN_PROGRAM_ID = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
9
+ export declare const TOKEN_2022_PROGRAM_ID = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
10
+ export declare const ASSOCIATED_TOKEN_PROGRAM_ID = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
11
+ export declare const MPL_TOKEN_METADATA_PROGRAM_ID = "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s";
12
+ export declare const FEE_PROGRAM_ID = "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ";
@@ -0,0 +1,4 @@
1
+ import type { Commitment } from "@solana/rpc-types";
2
+ export type CommitmentLevel = Extract<Commitment, "processed" | "confirmed" | "finalized">;
3
+ export declare function setDefaultCommitment(level: CommitmentLevel): void;
4
+ export declare function getDefaultCommitment(): CommitmentLevel;
@@ -0,0 +1,10 @@
1
+ import type { Rpc } from "@solana/rpc-spec";
2
+ import type { SolanaRpcApi } from "@solana/rpc-api";
3
+ import type { RpcSubscriptions, SignatureNotificationsApi, SlotNotificationsApi } from "@solana/rpc-subscriptions";
4
+ /**
5
+ * Pump Kit does not ship a default RPC connection.
6
+ * Provide your own `rpc` and `rpcSubscriptions` clients created via
7
+ * `@solana/kit` factories like `createSolanaRpc` / `createSolanaRpcFromTransport`.
8
+ */
9
+ export type RpcClient = Rpc<SolanaRpcApi>;
10
+ export type RpcSubscriptionsClient = RpcSubscriptions<SignatureNotificationsApi & SlotNotificationsApi>;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Shared constants used across the Pump Kit SDK.
3
+ */
4
+ export declare const DEFAULT_FEE_RECIPIENT = "CebN5WGQ4jvEPvsVU4EoHEpgzq1VV7AbicfhtW4xC9iM";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,30 @@
1
+ import { Connection, Commitment } from "@solana/web3.js";
2
+ import type { Address } from "@solana/kit";
3
+ export type PumpEventType = "create" | "trade" | "complete" | "raw";
4
+ export interface PumpEvent {
5
+ type: PumpEventType;
6
+ slot: number;
7
+ signature: string;
8
+ rawLog: string;
9
+ parsed?: unknown;
10
+ }
11
+ export type PumpEventListener = (event: PumpEvent) => void;
12
+ export interface PumpEventManagerOptions {
13
+ programId?: Address | string;
14
+ commitment?: Commitment;
15
+ }
16
+ export declare class PumpEventManager {
17
+ private connection;
18
+ private programId;
19
+ private commitment;
20
+ private listeners;
21
+ private nextListenerId;
22
+ private subscriptionId;
23
+ constructor(connection: Connection, options?: PumpEventManagerOptions);
24
+ addEventListener(type: PumpEventType, callback: PumpEventListener): number;
25
+ removeEventListener(id: number): void;
26
+ private ensureSubscription;
27
+ private teardownSubscription;
28
+ private dispatch;
29
+ }
30
+ export declare function createPumpEventManager(connection: Connection, options?: PumpEventManagerOptions): PumpEventManager;
@@ -0,0 +1,34 @@
1
+ import type { Instruction, TransactionSigner } from "@solana/kit";
2
+ import type { RpcClient, RpcSubscriptionsClient } from "../config/connection";
3
+ import { getDefaultCommitment } from "../config/commitment";
4
+ import { type TransactionResult, type PriorityFeeOptions, type SendOptions } from "../utils/transaction";
5
+ export interface TokenMetadata {
6
+ name: string;
7
+ symbol: string;
8
+ uri: string;
9
+ }
10
+ export interface CreateAndBuyOptions {
11
+ creator: TransactionSigner;
12
+ metadata: TokenMetadata;
13
+ firstBuyTokenAmount: bigint;
14
+ estimatedFirstBuyCost: bigint;
15
+ slippageBps?: number;
16
+ feeRecipient?: string;
17
+ bondingCurveCreator?: string;
18
+ mintAuthority?: string;
19
+ mint?: TransactionSigner;
20
+ priorityFees?: PriorityFeeOptions;
21
+ prependInstructions?: readonly Instruction[];
22
+ appendInstructions?: readonly Instruction[];
23
+ additionalSigners?: readonly TransactionSigner[];
24
+ sendOptions?: SendOptions;
25
+ commitment?: ReturnType<typeof getDefaultCommitment>;
26
+ rpc: RpcClient;
27
+ rpcSubscriptions: RpcSubscriptionsClient;
28
+ }
29
+ export interface CreateAndBuyResult extends TransactionResult {
30
+ mint: TransactionSigner;
31
+ createInstruction: Instruction;
32
+ buyInstruction: Instruction;
33
+ }
34
+ export declare function createAndBuy(options: CreateAndBuyOptions): Promise<CreateAndBuyResult>;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Pump Kit - The simplest TypeScript SDK for Pump.fun
3
+ *
4
+ * Clean, minimal API - just buy, sell, mint, and manage liquidity.
5
+ */
6
+ import "./config/polyfills";
7
+ export { buy, sell, quickBuy, quickSell } from "./swap";
8
+ export type { BuyParams, SellParams } from "./swap";
9
+ export { mintWithFirstBuy, validateMintParams, type MintWithFirstBuyParams, } from "./recipes/mintFirstBuy";
10
+ export { createAndBuy, type CreateAndBuyOptions, type CreateAndBuyResult, type TokenMetadata, } from "./helpers/createAndBuy";
11
+ export { addLiquidity, removeLiquidity, quickAddLiquidity, quickRemoveLiquidity, type AddLiquidityParams, type RemoveLiquidityParams, WSOL, } from "./liquidity";
12
+ export type { Address, TransactionSigner, Instruction } from "@solana/kit";
13
+ export { buyWithSlippage, buySimple, type BuyWithSlippageParams, type SimpleBuyParams, } from "./recipes/buy";
14
+ export { sellWithSlippage, sellSimple, type SellWithSlippageParams, type SimpleSellParams, } from "./recipes/sell";
15
+ export { addSlippage, subSlippage, validateSlippage, percentToBps, bpsToPercent, DEFAULT_SLIPPAGE_BPS, } from "./utils/slippage";
16
+ export type { RpcClient, RpcSubscriptionsClient } from "./config/connection";
17
+ export { setDefaultCommitment, getDefaultCommitment } from "./config/commitment";
18
+ export { buildTransaction, sendAndConfirmTransaction, simulateTransaction, type TransactionResult, type BuildTransactionParams, type SendAndConfirmTransactionParams, type SimulateTransactionParams, type SimulationResponse, type PriorityFeeOptions, type SendOptions, buildPriorityFeeInstructions, } from "./utils/transaction";
19
+ export { buildWrapSolInstructions, buildUnwrapSolInstructions, type WrapSolParams, type WrapSolInstructions, WSOL_ADDRESS, } from "./utils/wsol";
20
+ export { createPumpEventManager, PumpEventManager, type PumpEvent, type PumpEventListener, type PumpEventManagerOptions, type PumpEventType, } from "./events/pumpEvents";
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Ultra-simple liquidity API - add/remove liquidity with minimal complexity
3
+ */
4
+ import type { TransactionSigner, Instruction } from "@solana/kit";
5
+ export declare const WSOL = "So11111111111111111111111111111111111111112";
6
+ export interface AddLiquidityParams {
7
+ user: TransactionSigner;
8
+ baseMint: string;
9
+ quoteMint?: string;
10
+ poolIndex?: number;
11
+ poolAddress?: string;
12
+ poolCreator?: string;
13
+ maxBaseAmountIn: bigint;
14
+ maxQuoteAmountIn: bigint;
15
+ minLpTokensOut?: bigint;
16
+ tokenProgram?: string;
17
+ token2022Program?: string;
18
+ }
19
+ export interface RemoveLiquidityParams {
20
+ user: TransactionSigner;
21
+ baseMint: string;
22
+ quoteMint?: string;
23
+ poolIndex?: number;
24
+ poolAddress?: string;
25
+ poolCreator?: string;
26
+ lpAmountIn: bigint;
27
+ minBaseAmountOut?: bigint;
28
+ minQuoteAmountOut?: bigint;
29
+ tokenProgram?: string;
30
+ token2022Program?: string;
31
+ }
32
+ /**
33
+ * Add liquidity to the Pump AMM pool.
34
+ */
35
+ export declare function addLiquidity(params: AddLiquidityParams): Promise<Instruction>;
36
+ /**
37
+ * Remove liquidity from the Pump AMM pool.
38
+ */
39
+ export declare function removeLiquidity(params: RemoveLiquidityParams): Promise<Instruction>;
40
+ /**
41
+ * Quick helper to add liquidity with sensible defaults (quote defaults to wSOL, min LP = 0).
42
+ */
43
+ export declare function quickAddLiquidity(user: TransactionSigner, baseMint: string, maxBaseAmountIn: bigint, maxQuoteAmountIn: bigint, options?: Omit<AddLiquidityParams, "user" | "baseMint" | "maxBaseAmountIn" | "maxQuoteAmountIn">): Promise<Instruction>;
44
+ /**
45
+ * Quick helper to remove liquidity with defaults (min outputs set to zero).
46
+ */
47
+ export declare function quickRemoveLiquidity(user: TransactionSigner, baseMint: string, lpAmountIn: bigint, options?: Omit<RemoveLiquidityParams, "user" | "baseMint" | "lpAmountIn">): Promise<Instruction>;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Associated Token Account (ATA) helpers for Token and Token-2022 programs.
3
+ */
4
+ import type { Address } from "@solana/kit";
5
+ export type FindAssociatedTokenPdaParams = {
6
+ owner: string | Address;
7
+ mint: string | Address;
8
+ tokenProgram?: string | Address;
9
+ associatedTokenProgram?: string | Address;
10
+ };
11
+ export declare function findAssociatedTokenPda({ owner, mint, tokenProgram, associatedTokenProgram, }: FindAssociatedTokenPdaParams): Promise<readonly [Address<string>, import("@solana/addresses").ProgramDerivedAddressBump]>;
12
+ export declare function findAssociatedTokenPda2022(params: Omit<FindAssociatedTokenPdaParams, "tokenProgram" | "associatedTokenProgram"> & {
13
+ tokenProgram?: string | Address;
14
+ associatedTokenProgram?: string | Address;
15
+ }): Promise<readonly [Address<string>, import("@solana/addresses").ProgramDerivedAddressBump]>;
16
+ /**
17
+ * Find the Associated Token Account (ATA) for the legacy Token program.
18
+ * @param owner Owner's public key
19
+ * @param mint Token mint address
20
+ * @returns ATA address
21
+ */
22
+ export declare function ata(owner: string | Address, mint: string | Address): Promise<Address>;
23
+ /**
24
+ * Find the Associated Token Account (ATA) for the Token-2022 program.
25
+ * @param owner Owner's public key
26
+ * @param mint Token mint address
27
+ * @returns ATA address
28
+ */
29
+ export declare function ata2022(owner: string | Address, mint: string | Address): Promise<Address>;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * PDA (Program Derived Address) helpers for the Pump bonding curve program.
3
+ * These functions derive all the necessary accounts for interacting with the program.
4
+ */
5
+ import type { Address } from "@solana/kit";
6
+ /**
7
+ * Derives the global state PDA.
8
+ * Seed: ["global"]
9
+ */
10
+ export declare function globalPda(): Promise<Address>;
11
+ /**
12
+ * Derives the bonding curve PDA for a given mint.
13
+ * Seed: ["bonding-curve", mint]
14
+ */
15
+ export declare function bondingCurvePda(mint: Address | string): Promise<Address>;
16
+ /**
17
+ * Derives the ATA (Associated Token Account) for the bonding curve.
18
+ * This is where the bonding curve holds its tokens.
19
+ * Owner: bondingCurve, Mint: mint, TokenProgram: TOKEN_PROGRAM_ID
20
+ */
21
+ export declare function associatedBondingCurveAta(bondingCurve: Address | string, mint: Address | string): Promise<Address>;
22
+ /**
23
+ * Derives the creator vault PDA.
24
+ * Seed: ["creator-vault", creator]
25
+ */
26
+ export declare function creatorVaultPda(creator: Address | string): Promise<Address>;
27
+ /**
28
+ * Derives the global volume accumulator PDA.
29
+ * Seed: ["global_volume_accumulator"]
30
+ */
31
+ export declare function globalVolumeAccumulatorPda(): Promise<Address>;
32
+ /**
33
+ * Derives the user volume accumulator PDA.
34
+ * Seed: ["user_volume_accumulator", user]
35
+ */
36
+ export declare function userVolumeAccumulatorPda(user: Address | string): Promise<Address>;
37
+ /**
38
+ * Derives the event authority PDA.
39
+ * Seed: ["__event_authority"]
40
+ */
41
+ export declare function eventAuthorityPda(): Promise<Address>;
42
+ /**
43
+ * Derives the fee config PDA for the pump fee program.
44
+ * Seed: ["fee_config", pump_program_id]
45
+ */
46
+ export declare function feeConfigPda(): Promise<Address>;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * PDA (Program Derived Address) helpers for the Pump AMM program.
3
+ * These functions derive all the necessary accounts for interacting with liquidity pools.
4
+ */
5
+ import type { Address } from "@solana/kit";
6
+ /**
7
+ * Derives the pool PDA.
8
+ * Seed: ["pool", index:u16 (little-endian), creator, baseMint, quoteMint]
9
+ */
10
+ export declare function poolPda(index: number, creator: Address | string, baseMint: Address | string, quoteMint: Address | string): Promise<Address>;
11
+ /**
12
+ * Derives the LP (Liquidity Provider) mint PDA for a pool.
13
+ * Seed: ["pool_lp_mint", pool]
14
+ */
15
+ export declare function lpMintPda(pool: Address | string): Promise<Address>;
16
+ /**
17
+ * Derives the user's LP token ATA (Associated Token Account).
18
+ * Uses Token-2022 program for LP tokens.
19
+ * Owner: user, Mint: lpMint, TokenProgram: TOKEN_2022_PROGRAM_ID
20
+ */
21
+ export declare function userLpAta(user: Address | string, lpMint: Address | string): Promise<Address>;
22
+ /**
23
+ * Derives the pool's token ATA for holding base or quote tokens.
24
+ * Owner: pool, Mint: tokenMint, TokenProgram: tokenProgram
25
+ */
26
+ export declare function poolTokenAta(pool: Address | string, tokenMint: Address | string, tokenProgram: Address | string): Promise<Address>;
27
+ /**
28
+ * Derives the global config PDA.
29
+ * Seed: ["global_config"]
30
+ */
31
+ export declare function globalConfigPda(): Promise<Address>;
32
+ /**
33
+ * Derives the global volume accumulator PDA.
34
+ * Seed: ["global_volume_accumulator"]
35
+ */
36
+ export declare function globalVolumeAccumulatorPda(): Promise<Address>;
37
+ /**
38
+ * Derives the user volume accumulator PDA.
39
+ * Seed: ["user_volume_accumulator", user]
40
+ */
41
+ export declare function userVolumeAccumulatorPda(user: Address | string): Promise<Address>;
42
+ /**
43
+ * Derives the event authority PDA.
44
+ * Seed: ["__event_authority"]
45
+ */
46
+ export declare function eventAuthorityPda(): Promise<Address>;
47
+ /**
48
+ * Derives the coin creator vault authority PDA.
49
+ * Seed: ["creator_vault", coinCreator]
50
+ */
51
+ export declare function coinCreatorVaultAuthorityPda(coinCreator: Address | string): Promise<Address>;
52
+ /**
53
+ * Derives the coin creator vault ATA for the quote mint using the provided token program.
54
+ */
55
+ export declare function coinCreatorVaultAta(coinCreatorVaultAuthority: Address | string, quoteMint: Address | string, tokenProgram: Address | string): Promise<Address>;