pump-kit 0.1.3 → 0.2.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 (42) hide show
  1. package/@pump-kit.png +0 -0
  2. package/README.md +17 -2
  3. package/dist/index.js +11 -11
  4. package/dist/types/ammsdk/generated/accounts/globalConfig.d.ts +1 -1
  5. package/dist/types/ammsdk/generated/accounts/pool.d.ts +1 -1
  6. package/dist/types/ammsdk/generated/instructions/buy.d.ts +1 -1
  7. package/dist/types/ammsdk/generated/instructions/createConfig.d.ts +1 -1
  8. package/dist/types/ammsdk/generated/instructions/createPool.d.ts +1 -1
  9. package/dist/types/ammsdk/generated/instructions/deposit.d.ts +1 -1
  10. package/dist/types/ammsdk/generated/instructions/disable.d.ts +1 -1
  11. package/dist/types/ammsdk/generated/instructions/extendAccount.d.ts +1 -1
  12. package/dist/types/ammsdk/generated/instructions/sell.d.ts +1 -1
  13. package/dist/types/ammsdk/generated/instructions/updateAdmin.d.ts +1 -1
  14. package/dist/types/ammsdk/generated/instructions/updateFeeConfig.d.ts +1 -1
  15. package/dist/types/ammsdk/generated/instructions/withdraw.d.ts +1 -1
  16. package/dist/types/bin/pump-kit.d.ts +2 -0
  17. package/dist/types/clients/amm.d.ts +2 -2
  18. package/dist/types/pumpsdk/generated/accounts/bondingCurve.d.ts +1 -1
  19. package/dist/types/pumpsdk/generated/accounts/feeConfig.d.ts +1 -1
  20. package/dist/types/pumpsdk/generated/accounts/global.d.ts +1 -1
  21. package/dist/types/pumpsdk/generated/accounts/globalVolumeAccumulator.d.ts +1 -1
  22. package/dist/types/pumpsdk/generated/accounts/userVolumeAccumulator.d.ts +1 -1
  23. package/dist/types/pumpsdk/generated/instructions/adminSetCreator.d.ts +1 -1
  24. package/dist/types/pumpsdk/generated/instructions/adminSetIdlAuthority.d.ts +1 -1
  25. package/dist/types/pumpsdk/generated/instructions/adminUpdateTokenIncentives.d.ts +1 -1
  26. package/dist/types/pumpsdk/generated/instructions/buy.d.ts +1 -1
  27. package/dist/types/pumpsdk/generated/instructions/buyExactSolIn.d.ts +1 -1
  28. package/dist/types/pumpsdk/generated/instructions/claimTokenIncentives.d.ts +1 -1
  29. package/dist/types/pumpsdk/generated/instructions/closeUserVolumeAccumulator.d.ts +1 -1
  30. package/dist/types/pumpsdk/generated/instructions/collectCreatorFee.d.ts +1 -1
  31. package/dist/types/pumpsdk/generated/instructions/create.d.ts +1 -1
  32. package/dist/types/pumpsdk/generated/instructions/extendAccount.d.ts +1 -1
  33. package/dist/types/pumpsdk/generated/instructions/initUserVolumeAccumulator.d.ts +1 -1
  34. package/dist/types/pumpsdk/generated/instructions/initialize.d.ts +1 -1
  35. package/dist/types/pumpsdk/generated/instructions/migrate.d.ts +1 -1
  36. package/dist/types/pumpsdk/generated/instructions/sell.d.ts +1 -1
  37. package/dist/types/pumpsdk/generated/instructions/setCreator.d.ts +1 -1
  38. package/dist/types/pumpsdk/generated/instructions/setMetaplexCreator.d.ts +1 -1
  39. package/dist/types/pumpsdk/generated/instructions/setParams.d.ts +1 -1
  40. package/dist/types/pumpsdk/generated/instructions/syncUserVolumeAccumulator.d.ts +1 -1
  41. package/dist/types/pumpsdk/generated/instructions/updateGlobalAuthority.d.ts +1 -1
  42. package/package.json +17 -7
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const GLOBAL_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getGlobalConfigDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getGlobalConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type GlobalConfig = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  /** The admin pubkey */
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const POOL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getPoolDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getPoolDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type Pool = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  poolBump: number;
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const BUY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getBuyDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getBuyDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type BuyInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountUserBaseTokenAccount extends string | AccountMeta<string> = string, TAccountUserQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountProtocolFeeRecipient extends string | AccountMeta<string> = string, TAccountProtocolFeeRecipientTokenAccount extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
14
14
  TAccountUser extends string ? ReadonlySignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const CREATE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCreateConfigDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getCreateConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type CreateConfigInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const CREATE_POOL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCreatePoolDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getCreatePoolDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type CreatePoolInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountLpMint extends string | AccountMeta<string> = string, TAccountUserBaseTokenAccount extends string | AccountMeta<string> = string, TAccountUserQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountUserPoolTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountToken2022Program extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const DEPOSIT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getDepositDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getDepositDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type DepositInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountLpMint extends string | AccountMeta<string> = string, TAccountUserBaseTokenAccount extends string | AccountMeta<string> = string, TAccountUserQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountUserPoolTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountToken2022Program extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const DISABLE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getDisableDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getDisableDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type DisableInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const EXTEND_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getExtendAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getExtendAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type ExtendAccountInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountAccount extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAccount extends string ? ReadonlyAccount<TAccountAccount> : TAccountAccount,
14
14
  TAccountUser extends string ? ReadonlySignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SELL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSellDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSellDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SellInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountUserBaseTokenAccount extends string | AccountMeta<string> = string, TAccountUserQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountProtocolFeeRecipient extends string | AccountMeta<string> = string, TAccountProtocolFeeRecipientTokenAccount extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
14
14
  TAccountUser extends string ? ReadonlySignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const UPDATE_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getUpdateAdminDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getUpdateAdminDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type UpdateAdminInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountNewAdmin extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const UPDATE_FEE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getUpdateFeeConfigDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getUpdateFeeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type UpdateFeeConfigInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner } from '@solana/kit';
9
9
  import { PUMP_AMM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const WITHDRAW_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getWithdrawDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getWithdrawDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type WithdrawInstruction<TProgram extends string = typeof PUMP_AMM_PROGRAM_ADDRESS, TAccountPool extends string | AccountMeta<string> = string, TAccountGlobalConfig extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountLpMint extends string | AccountMeta<string> = string, TAccountUserBaseTokenAccount extends string | AccountMeta<string> = string, TAccountUserQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountUserPoolTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountToken2022Program extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPool extends string ? ReadonlyAccount<TAccountPool> : TAccountPool,
14
14
  TAccountGlobalConfig extends string ? ReadonlyAccount<TAccountGlobalConfig> : TAccountGlobalConfig,
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ export {};
@@ -90,7 +90,7 @@ export interface AmmBuyParams {
90
90
  export declare function ammBuy(params: AmmBuyParams): Promise<{
91
91
  programAddress: import("@solana/nominal-types").NominalType<"brand", "Address"> & import("@solana/nominal-types").NominalType<"stringEncoding", "base58"> & "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
92
92
  accounts: import("@solana/instructions").AccountMeta<string>[];
93
- data: import("@solana/kit").ReadonlyUint8Array;
93
+ data: import("@solana/kit").ReadonlyUint8Array<ArrayBufferLike> & import("@solana/kit").ReadonlyUint8Array<ArrayBufferLike>;
94
94
  }>;
95
95
  export interface AmmSellParams {
96
96
  user: TransactionSigner;
@@ -113,5 +113,5 @@ export interface AmmSellParams {
113
113
  export declare function ammSell(params: AmmSellParams): Promise<{
114
114
  programAddress: import("@solana/nominal-types").NominalType<"brand", "Address"> & import("@solana/nominal-types").NominalType<"stringEncoding", "base58"> & "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA";
115
115
  accounts: import("@solana/instructions").AccountMeta<string>[];
116
- data: import("@solana/kit").ReadonlyUint8Array;
116
+ data: import("@solana/kit").ReadonlyUint8Array<ArrayBufferLike> & import("@solana/kit").ReadonlyUint8Array<ArrayBufferLike>;
117
117
  }>;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const BONDING_CURVE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getBondingCurveDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getBondingCurveDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type BondingCurve = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  virtualTokenReserves: bigint;
@@ -8,7 +8,7 @@
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  import { type Fees, type FeesArgs, type FeeTier, type FeeTierArgs } from '../types';
10
10
  export declare const FEE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getFeeConfigDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getFeeConfigDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type FeeConfig = {
13
13
  discriminator: ReadonlyUint8Array;
14
14
  bump: number;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const GLOBAL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getGlobalDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getGlobalDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type Global = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  /** Unused */
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const GLOBAL_VOLUME_ACCUMULATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getGlobalVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getGlobalVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type GlobalVolumeAccumulator = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  startTime: bigint;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
9
  export declare const USER_VOLUME_ACCUMULATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
- export declare function getUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array;
10
+ export declare function getUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
11
11
  export type UserVolumeAccumulator = {
12
12
  discriminator: ReadonlyUint8Array;
13
13
  user: Address;
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const ADMIN_SET_CREATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getAdminSetCreatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getAdminSetCreatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type AdminSetCreatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountAdminSetCreatorAuthority extends string | AccountMeta<string> = string, TAccountGlobal extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAdminSetCreatorAuthority extends string ? ReadonlySignerAccount<TAccountAdminSetCreatorAuthority> & AccountSignerMeta<TAccountAdminSetCreatorAuthority> : TAccountAdminSetCreatorAuthority,
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const ADMIN_SET_IDL_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getAdminSetIdlAuthorityDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getAdminSetIdlAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type AdminSetIdlAuthorityInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountGlobal extends string | AccountMeta<string> = string, TAccountIdlAccount extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountProgramSigner extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const ADMIN_UPDATE_TOKEN_INCENTIVES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getAdminUpdateTokenIncentivesDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getAdminUpdateTokenIncentivesDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type AdminUpdateTokenIncentivesInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountGlobal extends string | AccountMeta<string> = string, TAccountGlobalVolumeAccumulator extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountGlobalIncentiveTokenAccount extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
@@ -9,7 +9,7 @@ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeC
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  import { type OptionBool, type OptionBoolArgs } from '../types';
11
11
  export declare const BUY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
12
- export declare function getBuyDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export declare function getBuyDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
13
13
  export type BuyInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountFeeRecipient extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedUser extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountCreatorVault extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P', TAccountGlobalVolumeAccumulator extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountFeeConfig extends string | AccountMeta<string> = string, TAccountFeeProgram extends string | AccountMeta<string> = 'pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
15
15
  TAccountFeeRecipient extends string ? WritableAccount<TAccountFeeRecipient> : TAccountFeeRecipient,
@@ -9,7 +9,7 @@ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeC
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  import { type OptionBool, type OptionBoolArgs } from '../types';
11
11
  export declare const BUY_EXACT_SOL_IN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
12
- export declare function getBuyExactSolInDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export declare function getBuyExactSolInDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
13
13
  export type BuyExactSolInInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountFeeRecipient extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedUser extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountCreatorVault extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P', TAccountGlobalVolumeAccumulator extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountFeeConfig extends string | AccountMeta<string> = string, TAccountFeeProgram extends string | AccountMeta<string> = 'pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
15
15
  TAccountFeeRecipient extends string ? WritableAccount<TAccountFeeRecipient> : TAccountFeeRecipient,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const CLAIM_TOKEN_INCENTIVES_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getClaimTokenIncentivesDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getClaimTokenIncentivesDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type ClaimTokenIncentivesInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountUserAta extends string | AccountMeta<string> = string, TAccountGlobalVolumeAccumulator extends string | AccountMeta<string> = string, TAccountGlobalIncentiveTokenAccount extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P', TAccountPayer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? ReadonlyAccount<TAccountUser> : TAccountUser,
14
14
  TAccountUserAta extends string ? WritableAccount<TAccountUserAta> : TAccountUserAta,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const CLOSE_USER_VOLUME_ACCUMULATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCloseUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getCloseUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type CloseUserVolumeAccumulatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? WritableSignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
14
14
  TAccountUserVolumeAccumulator extends string ? WritableAccount<TAccountUserVolumeAccumulator> : TAccountUserVolumeAccumulator,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const COLLECT_CREATOR_FEE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCollectCreatorFeeDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getCollectCreatorFeeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type CollectCreatorFeeInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountCreator extends string | AccountMeta<string> = string, TAccountCreatorVault extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountCreator extends string ? WritableAccount<TAccountCreator> : TAccountCreator,
14
14
  TAccountCreatorVault extends string ? WritableAccount<TAccountCreatorVault> : TAccountCreatorVault,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const CREATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCreateDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getCreateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type CreateInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountMint extends string | AccountMeta<string> = string, TAccountMintAuthority extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedBondingCurve extends string | AccountMeta<string> = string, TAccountGlobal extends string | AccountMeta<string> = string, TAccountMplTokenMetadata extends string | AccountMeta<string> = 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s', TAccountMetadata extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMint extends string ? WritableSignerAccount<TAccountMint> & AccountSignerMeta<TAccountMint> : TAccountMint,
14
14
  TAccountMintAuthority extends string ? ReadonlyAccount<TAccountMintAuthority> : TAccountMintAuthority,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const EXTEND_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getExtendAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getExtendAccountDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type ExtendAccountInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountAccount extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountAccount extends string ? WritableAccount<TAccountAccount> : TAccountAccount,
14
14
  TAccountUser extends string ? ReadonlySignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const INIT_USER_VOLUME_ACCUMULATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getInitUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getInitUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type InitUserVolumeAccumulatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
14
14
  TAccountUser extends string ? ReadonlyAccount<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const INITIALIZE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getInitializeDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getInitializeDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type InitializeInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountGlobal extends string ? WritableAccount<TAccountGlobal> : TAccountGlobal,
14
14
  TAccountUser extends string ? WritableSignerAccount<TAccountUser> & AccountSignerMeta<TAccountUser> : TAccountUser,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const MIGRATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getMigrateDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getMigrateDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type MigrateInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountWithdrawAuthority extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedBondingCurve extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountPumpAmm extends string | AccountMeta<string> = 'pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA', TAccountPool extends string | AccountMeta<string> = string, TAccountPoolAuthority extends string | AccountMeta<string> = string, TAccountPoolAuthorityMintAccount extends string | AccountMeta<string> = string, TAccountPoolAuthorityWsolAccount extends string | AccountMeta<string> = string, TAccountAmmGlobalConfig extends string | AccountMeta<string> = string, TAccountWsolMint extends string | AccountMeta<string> = 'So11111111111111111111111111111111111111112', TAccountLpMint extends string | AccountMeta<string> = string, TAccountUserPoolTokenAccount extends string | AccountMeta<string> = string, TAccountPoolBaseTokenAccount extends string | AccountMeta<string> = string, TAccountPoolQuoteTokenAccount extends string | AccountMeta<string> = string, TAccountToken2022Program extends string | AccountMeta<string> = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL', TAccountPumpAmmEventAuthority extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
14
14
  TAccountWithdrawAuthority extends string ? WritableAccount<TAccountWithdrawAuthority> : TAccountWithdrawAuthority,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SELL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSellDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSellDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SellInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountFeeRecipient extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedBondingCurve extends string | AccountMeta<string> = string, TAccountAssociatedUser extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountCreatorVault extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = '6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P', TAccountFeeConfig extends string | AccountMeta<string> = string, TAccountFeeProgram extends string | AccountMeta<string> = 'pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
14
14
  TAccountFeeRecipient extends string ? WritableAccount<TAccountFeeRecipient> : TAccountFeeRecipient,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SET_CREATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSetCreatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSetCreatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SetCreatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountSetCreatorAuthority extends string | AccountMeta<string> = string, TAccountGlobal extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountMetadata extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountSetCreatorAuthority extends string ? ReadonlySignerAccount<TAccountSetCreatorAuthority> & AccountSignerMeta<TAccountSetCreatorAuthority> : TAccountSetCreatorAuthority,
14
14
  TAccountGlobal extends string ? ReadonlyAccount<TAccountGlobal> : TAccountGlobal,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SET_METAPLEX_CREATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSetMetaplexCreatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSetMetaplexCreatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SetMetaplexCreatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountMint extends string | AccountMeta<string> = string, TAccountMetadata extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
14
14
  TAccountMetadata extends string ? ReadonlyAccount<TAccountMetadata> : TAccountMetadata,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SET_PARAMS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSetParamsDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSetParamsDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SetParamsInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountGlobal extends string ? WritableAccount<TAccountGlobal> : TAccountGlobal,
14
14
  TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const SYNC_USER_VOLUME_ACCUMULATOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getSyncUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getSyncUserVolumeAccumulatorDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type SyncUserVolumeAccumulatorInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountGlobalVolumeAccumulator extends string | AccountMeta<string> = string, TAccountUserVolumeAccumulator extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? ReadonlyAccount<TAccountUser> : TAccountUser,
14
14
  TAccountGlobalVolumeAccumulator extends string ? ReadonlyAccount<TAccountGlobalVolumeAccumulator> : TAccountGlobalVolumeAccumulator,
@@ -8,7 +8,7 @@
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { PUMP_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const UPDATE_GLOBAL_AUTHORITY_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getUpdateGlobalAuthorityDiscriminatorBytes(): ReadonlyUint8Array;
11
+ export declare function getUpdateGlobalAuthorityDiscriminatorBytes(): ReadonlyUint8Array<ArrayBuffer>;
12
12
  export type UpdateGlobalAuthorityInstruction<TProgram extends string = typeof PUMP_PROGRAM_ADDRESS, TAccountGlobal extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountNewAuthority extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountGlobal extends string ? WritableAccount<TAccountGlobal> : TAccountGlobal,
14
14
  TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pump-kit",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -15,22 +15,31 @@
15
15
  "files": [
16
16
  "dist",
17
17
  "README.md",
18
- "MIGRATION.md",
19
- "LICENSE",
20
18
  "@pump-kit.png"
21
19
  ],
20
+ "license": "MIT",
22
21
  "engines": {
23
22
  "node": ">=20",
24
23
  "bun": ">=1.3.0"
25
24
  },
26
25
  "scripts": {
27
26
  "dev:typecheck": "tsc -p tsconfig.json --noEmit",
27
+ "lint": "oxlint --deny-warnings src tests scripts examples",
28
+ "lint:fix": "oxlint --fix --deny-warnings src tests scripts examples",
28
29
  "build:js": "bun build ./src/index.ts --outdir dist --format esm --minify",
30
+ "build:binary": "mkdir -p dist/bin && PUMP_KIT_VERSION=$(node -p \"require('./package.json').version\") bun build --compile --env='PUMP_KIT_*' --outfile dist/bin/pump-kit ./src/bin/pump-kit.ts",
29
31
  "build:types": "tsc -p tsconfig.build.json",
30
32
  "build": "rm -rf dist && bun run build:js && bun run build:types",
31
- "release:prepare": "bun run build && bun run test",
32
- "release:publish": "bun run npm publish --access public",
33
- "release:dry-run": "bun run npm publish --access public --dry-run",
33
+ "ci": "bun run dev:typecheck && bun run lint && bun run test:unit && bun run test:integration && bun run build",
34
+ "release:cut": "bun run scripts/cut-release.ts",
35
+ "release:cut:patch": "bun run scripts/cut-release.ts patch",
36
+ "release:cut:minor": "bun run scripts/cut-release.ts minor",
37
+ "release:cut:major": "bun run scripts/cut-release.ts major",
38
+ "release": "bun run scripts/release.ts",
39
+ "release:patch": "bun run scripts/release.ts patch",
40
+ "release:minor": "bun run scripts/release.ts minor",
41
+ "release:major": "bun run scripts/release.ts major",
42
+ "release:dry-run": "bun run scripts/release.ts patch --dry-run",
34
43
  "codegen": "bun run scripts/codama-generate.ts",
35
44
  "test": "bun test",
36
45
  "test:unit": "bun test tests/unit",
@@ -45,10 +54,11 @@
45
54
  "@types/bun": "^1.3.1",
46
55
  "@types/node": "^24.9.2",
47
56
  "codama": "^1.3.7",
57
+ "oxlint": "^1.49.0",
48
58
  "typescript": "^5.9.3"
49
59
  },
50
60
  "dependencies": {
51
- "@solana/kit": "^5.0.0",
61
+ "@solana/kit": "^6.0.0",
52
62
  "@solana/spl-token": "^0.4.14",
53
63
  "buffer": "^6.0.3"
54
64
  }