@send-fun/sdk 1.2.0 → 2.0.0

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 (51) hide show
  1. package/dist/index.cjs +281 -365
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +125 -166
  4. package/dist/index.d.cts.map +1 -1
  5. package/dist/index.d.mts +125 -166
  6. package/dist/index.d.mts.map +1 -1
  7. package/dist/index.mjs +281 -365
  8. package/dist/index.mjs.map +1 -1
  9. package/package.json +7 -7
  10. package/src/dex/generated/accounts/pool.ts +19 -7
  11. package/src/dex/generated/errors/sendDex.ts +16 -8
  12. package/src/dex/generated/events/creatorClaimEvent.ts +3 -2
  13. package/src/dex/generated/events/poolCreateEvent.ts +8 -2
  14. package/src/dex/generated/events/tokenCreateEvent.ts +8 -9
  15. package/src/dex/generated/events/tradeEvent.ts +9 -2
  16. package/src/dex/generated/instructions/claimCreatorFees.ts +21 -5
  17. package/src/{nexus → dex}/generated/pdas/creatorFeeConfig.ts +6 -6
  18. package/src/dex/generated/pdas/index.ts +1 -0
  19. package/src/dex/generated/plugins/sendDex.ts +3 -0
  20. package/src/launchpad/create.ts +9 -34
  21. package/src/launchpad/generated/accounts/bondingCurve.ts +23 -7
  22. package/src/launchpad/generated/errors/sendLaunchpad.ts +12 -4
  23. package/src/launchpad/generated/events/completeEvent.ts +3 -2
  24. package/src/launchpad/generated/events/creatorClaimEvent.ts +3 -2
  25. package/src/launchpad/generated/events/migrateEvent.ts +3 -2
  26. package/src/launchpad/generated/events/tokenCreateEvent.ts +10 -9
  27. package/src/launchpad/generated/events/tradeEvent.ts +9 -2
  28. package/src/launchpad/generated/instructions/claimCreatorFees.ts +17 -4
  29. package/src/launchpad/generated/instructions/createToken.ts +32 -50
  30. package/src/launchpad/generated/instructions/migrate.ts +79 -12
  31. package/src/launchpad/generated/pdas/creatorFeeConfig.ts +39 -0
  32. package/src/launchpad/generated/pdas/index.ts +1 -0
  33. package/src/launchpad/generated/plugins/sendLaunchpad.ts +3 -0
  34. package/src/launchpad/migrate.ts +7 -4
  35. package/src/nexus/fee-helpers.ts +8 -5
  36. package/src/nexus/generated/accounts/feePreset.ts +2 -2
  37. package/src/nexus/generated/accounts/index.ts +0 -1
  38. package/src/nexus/generated/accounts/partnerConfig.ts +9 -3
  39. package/src/nexus/generated/accounts/sendNexus.accounts.ts +0 -5
  40. package/src/nexus/generated/accounts/userRewardDebt.ts +3 -3
  41. package/src/nexus/generated/accounts/userStakePosition.ts +3 -3
  42. package/src/nexus/generated/errors/sendNexus.ts +12 -4
  43. package/src/nexus/generated/pdas/index.ts +0 -1
  44. package/src/nexus/generated/plugins/sendNexus.ts +0 -35
  45. package/src/nexus/generated/types/dexFees.ts +4 -4
  46. package/src/nexus/generated/types/index.ts +0 -1
  47. package/src/nexus/generated/types/launchpadFees.ts +4 -4
  48. package/src/utils/index.ts +0 -5
  49. package/src/nexus/generated/accounts/creatorFeeConfig.ts +0 -237
  50. package/src/nexus/generated/types/callerType.ts +0 -38
  51. package/src/utils/creator-hash.ts +0 -60
package/dist/index.d.mts CHANGED
@@ -119,7 +119,7 @@ type Pool = {
119
119
  quoteMint: Address;
120
120
  quoteDecimals: number;
121
121
  coinCreator: Address;
122
- creatorFeeConfig: Address;
122
+ padding0: Array<bigint>;
123
123
  baseVault: Address;
124
124
  quoteVault: Address;
125
125
  lpMint: Address;
@@ -131,6 +131,8 @@ type Pool = {
131
131
  protocolOwed: bigint;
132
132
  creatorOwed: bigint;
133
133
  platformConfig: Address;
134
+ creatorFeeMode: number;
135
+ creatorFeeBps: number;
134
136
  reserved: ReadonlyUint8Array;
135
137
  };
136
138
  type PoolArgs = {
@@ -142,7 +144,7 @@ type PoolArgs = {
142
144
  quoteMint: Address;
143
145
  quoteDecimals: number;
144
146
  coinCreator: Address;
145
- creatorFeeConfig: Address;
147
+ padding0: Array<number | bigint>;
146
148
  baseVault: Address;
147
149
  quoteVault: Address;
148
150
  lpMint: Address;
@@ -154,6 +156,8 @@ type PoolArgs = {
154
156
  protocolOwed: number | bigint;
155
157
  creatorOwed: number | bigint;
156
158
  platformConfig: Address;
159
+ creatorFeeMode: number;
160
+ creatorFeeBps: number;
157
161
  reserved: ReadonlyUint8Array;
158
162
  };
159
163
  /** Gets the encoder for {@link PoolArgs} account data. */
@@ -298,8 +302,8 @@ declare const SEND_DEX_ERROR__INVALID_POOL_BALANCE = 6008;
298
302
  declare const SEND_DEX_ERROR__INSUFFICIENT_POOL_BALANCE = 6009;
299
303
  /** InvalidAuthority: Invalid authority */
300
304
  declare const SEND_DEX_ERROR__INVALID_AUTHORITY = 6010;
301
- /** InvalidCreatorHash: creator_hash does not match (creator_platform, creator_id) */
302
- declare const SEND_DEX_ERROR__INVALID_CREATOR_HASH = 6011;
305
+ /** InvalidCoinCreator: Invalid coin creator */
306
+ declare const SEND_DEX_ERROR__INVALID_COIN_CREATOR = 6011;
303
307
  /** InvalidPlatformConfig: Platform config cannot be the default address */
304
308
  declare const SEND_DEX_ERROR__INVALID_PLATFORM_CONFIG = 6012;
305
309
  /** ProgramPaused: Program is paused */
@@ -326,17 +330,21 @@ declare const SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT = 7009;
326
330
  declare const SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY = 7010;
327
331
  /** NothingToClaim: Nothing to claim */
328
332
  declare const SEND_DEX_ERROR__NOTHING_TO_CLAIM = 7011;
329
- /** InvalidCreatorId: Creator identity is not a decodable wallet address */
330
- declare const SEND_DEX_ERROR__INVALID_CREATOR_ID = 7012;
333
+ /** Unused7012: Unused */
334
+ declare const SEND_DEX_ERROR__UNUSED7012 = 7012;
331
335
  /** QuoteMintPriceUnset: Quote mint has no USDC price on its nexus reward state */
332
336
  declare const SEND_DEX_ERROR__QUOTE_MINT_PRICE_UNSET = 7013;
333
337
  /** TransferFeeNotSettleable: Token-2022 transfer fee schedule cannot settle the exact amount */
334
338
  declare const SEND_DEX_ERROR__TRANSFER_FEE_NOT_SETTLEABLE = 7014;
339
+ /** CreatorFeeTooHigh: Creator fee exceeds the partner's maximum */
340
+ declare const SEND_DEX_ERROR__CREATOR_FEE_TOO_HIGH = 7015;
341
+ /** CreatorFeeModeNotAllowed: Creator fee mode is not allowed by the partner config */
342
+ declare const SEND_DEX_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED = 7016;
335
343
  /** InsufficientLiquidity: Insufficient liquidity */
336
344
  declare const SEND_DEX_ERROR__INSUFFICIENT_LIQUIDITY = 7100;
337
345
  /** InvalidAmount: Invalid amount */
338
346
  declare const SEND_DEX_ERROR__INVALID_AMOUNT = 7101;
339
- type SendDexError = typeof SEND_DEX_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_DEX_ERROR__INSUFFICIENT_BALANCE | typeof SEND_DEX_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_DEX_ERROR__INSUFFICIENT_POOL_BALANCE | typeof SEND_DEX_ERROR__INVALID_AMOUNT | typeof SEND_DEX_ERROR__INVALID_AUTHORITY | typeof SEND_DEX_ERROR__INVALID_BASE_MINT | typeof SEND_DEX_ERROR__INVALID_CREATOR_HASH | typeof SEND_DEX_ERROR__INVALID_CREATOR_ID | typeof SEND_DEX_ERROR__INVALID_DEPOSIT | typeof SEND_DEX_ERROR__INVALID_PLATFORM_CONFIG | typeof SEND_DEX_ERROR__INVALID_POOL_BALANCE | typeof SEND_DEX_ERROR__INVALID_POOL_STATE | typeof SEND_DEX_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_DEX_ERROR__INVALID_PYTH_FEED | typeof SEND_DEX_ERROR__INVALID_QUOTE_MINT | typeof SEND_DEX_ERROR__INVALID_SLUG | typeof SEND_DEX_ERROR__NOTHING_TO_CLAIM | typeof SEND_DEX_ERROR__POOL_CREATION_DISABLED | typeof SEND_DEX_ERROR__POOL_PAUSED | typeof SEND_DEX_ERROR__PROGRAM_PAUSED | typeof SEND_DEX_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_DEX_ERROR__SLIPPAGE_EXCEEDED | typeof SEND_DEX_ERROR__TEXT_TOO_LONG | typeof SEND_DEX_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_DEX_ERROR__UNAUTHORIZED | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
347
+ type SendDexError = typeof SEND_DEX_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_DEX_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED | typeof SEND_DEX_ERROR__CREATOR_FEE_TOO_HIGH | typeof SEND_DEX_ERROR__INSUFFICIENT_BALANCE | typeof SEND_DEX_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_DEX_ERROR__INSUFFICIENT_POOL_BALANCE | typeof SEND_DEX_ERROR__INVALID_AMOUNT | typeof SEND_DEX_ERROR__INVALID_AUTHORITY | typeof SEND_DEX_ERROR__INVALID_BASE_MINT | typeof SEND_DEX_ERROR__INVALID_COIN_CREATOR | typeof SEND_DEX_ERROR__INVALID_DEPOSIT | typeof SEND_DEX_ERROR__INVALID_PLATFORM_CONFIG | typeof SEND_DEX_ERROR__INVALID_POOL_BALANCE | typeof SEND_DEX_ERROR__INVALID_POOL_STATE | typeof SEND_DEX_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_DEX_ERROR__INVALID_PYTH_FEED | typeof SEND_DEX_ERROR__INVALID_QUOTE_MINT | typeof SEND_DEX_ERROR__INVALID_SLUG | typeof SEND_DEX_ERROR__NOTHING_TO_CLAIM | typeof SEND_DEX_ERROR__POOL_CREATION_DISABLED | typeof SEND_DEX_ERROR__POOL_PAUSED | typeof SEND_DEX_ERROR__PROGRAM_PAUSED | typeof SEND_DEX_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_DEX_ERROR__SLIPPAGE_EXCEEDED | typeof SEND_DEX_ERROR__TEXT_TOO_LONG | typeof SEND_DEX_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_DEX_ERROR__UNAUTHORIZED | typeof SEND_DEX_ERROR__UNUSED7012 | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
340
348
  declare const sendDexErrorMessages: Record<SendDexError, string>;
341
349
  declare function getSendDexErrorMessage(code: SendDexError): string;
342
350
  declare function isSendDexError<TProgramErrorCode extends SendDexError>(error: unknown, transactionMessage: {
@@ -349,9 +357,16 @@ declare function isSendDexError<TProgramErrorCode extends SendDexError>(error: u
349
357
  }>;
350
358
  }>;
351
359
  declare namespace index_d_exports$23 {
352
- export { SEND_DEX_ERROR__ARITHMETIC_OVERFLOW, SEND_DEX_ERROR__INSUFFICIENT_BALANCE, SEND_DEX_ERROR__INSUFFICIENT_LIQUIDITY, SEND_DEX_ERROR__INSUFFICIENT_POOL_BALANCE, SEND_DEX_ERROR__INVALID_AMOUNT, SEND_DEX_ERROR__INVALID_AUTHORITY, SEND_DEX_ERROR__INVALID_BASE_MINT, SEND_DEX_ERROR__INVALID_CREATOR_HASH, SEND_DEX_ERROR__INVALID_CREATOR_ID, SEND_DEX_ERROR__INVALID_DEPOSIT, SEND_DEX_ERROR__INVALID_PLATFORM_CONFIG, SEND_DEX_ERROR__INVALID_POOL_BALANCE, SEND_DEX_ERROR__INVALID_POOL_STATE, SEND_DEX_ERROR__INVALID_PYTH_ACCOUNT, SEND_DEX_ERROR__INVALID_PYTH_FEED, SEND_DEX_ERROR__INVALID_QUOTE_MINT, SEND_DEX_ERROR__INVALID_SLUG, SEND_DEX_ERROR__NOTHING_TO_CLAIM, SEND_DEX_ERROR__POOL_CREATION_DISABLED, SEND_DEX_ERROR__POOL_PAUSED, SEND_DEX_ERROR__PROGRAM_PAUSED, SEND_DEX_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_DEX_ERROR__SLIPPAGE_EXCEEDED, SEND_DEX_ERROR__TEXT_TOO_LONG, SEND_DEX_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_DEX_ERROR__UNAUTHORIZED, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendDexError, getSendDexErrorMessage, isSendDexError, sendDexErrorMessages };
360
+ export { SEND_DEX_ERROR__ARITHMETIC_OVERFLOW, SEND_DEX_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED, SEND_DEX_ERROR__CREATOR_FEE_TOO_HIGH, SEND_DEX_ERROR__INSUFFICIENT_BALANCE, SEND_DEX_ERROR__INSUFFICIENT_LIQUIDITY, SEND_DEX_ERROR__INSUFFICIENT_POOL_BALANCE, SEND_DEX_ERROR__INVALID_AMOUNT, SEND_DEX_ERROR__INVALID_AUTHORITY, SEND_DEX_ERROR__INVALID_BASE_MINT, SEND_DEX_ERROR__INVALID_COIN_CREATOR, SEND_DEX_ERROR__INVALID_DEPOSIT, SEND_DEX_ERROR__INVALID_PLATFORM_CONFIG, SEND_DEX_ERROR__INVALID_POOL_BALANCE, SEND_DEX_ERROR__INVALID_POOL_STATE, SEND_DEX_ERROR__INVALID_PYTH_ACCOUNT, SEND_DEX_ERROR__INVALID_PYTH_FEED, SEND_DEX_ERROR__INVALID_QUOTE_MINT, SEND_DEX_ERROR__INVALID_SLUG, SEND_DEX_ERROR__NOTHING_TO_CLAIM, SEND_DEX_ERROR__POOL_CREATION_DISABLED, SEND_DEX_ERROR__POOL_PAUSED, SEND_DEX_ERROR__PROGRAM_PAUSED, SEND_DEX_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_DEX_ERROR__SLIPPAGE_EXCEEDED, SEND_DEX_ERROR__TEXT_TOO_LONG, SEND_DEX_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_DEX_ERROR__UNAUTHORIZED, SEND_DEX_ERROR__UNUSED7012, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_DEX_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendDexError, getSendDexErrorMessage, isSendDexError, sendDexErrorMessages };
353
361
  }
354
362
  //#endregion
363
+ //#region src/dex/generated/pdas/creatorFeeConfig.d.ts
364
+ type CreatorFeeConfigSeeds$1 = {
365
+ baseMint: Address;
366
+ quoteMint: Address;
367
+ };
368
+ declare function findCreatorFeeConfigPda$1(seeds: CreatorFeeConfigSeeds$1): Promise<ProgramDerivedAddress>;
369
+ //#endregion
355
370
  //#region src/dex/generated/pdas/eventAuthority.d.ts
356
371
  declare const EVENT_AUTHORITY_PDA_ADDRESS$2: Address<"4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t">;
357
372
  declare function findEventAuthorityPda$2(): ProgramDerivedAddress;
@@ -384,7 +399,7 @@ declare function findRewardAccrualPda$1(seeds: RewardAccrualSeeds$1): Promise<Pr
384
399
  declare const WSOL_REWARD_ACCRUAL_PDA_ADDRESS$1: Address<"3AvcBtMajsyeNufVwkxV7UNXWo6G1qkJmCpiXx1HcFg8">;
385
400
  declare function findWsolRewardAccrualPda$1(): ProgramDerivedAddress;
386
401
  declare namespace index_d_exports$22 {
387
- export { EVENT_AUTHORITY_PDA_ADDRESS$2 as EVENT_AUTHORITY_PDA_ADDRESS, GLOBAL_CONFIG_PDA_ADDRESS$2 as GLOBAL_CONFIG_PDA_ADDRESS, LpMintSeeds, PoolSeeds, RewardAccrualSeeds$1 as RewardAccrualSeeds, WSOL_REWARD_ACCRUAL_PDA_ADDRESS$1 as WSOL_REWARD_ACCRUAL_PDA_ADDRESS, findEventAuthorityPda$2 as findEventAuthorityPda, findGlobalConfigPda$2 as findGlobalConfigPda, findLpMintPda, findPoolPda, findRewardAccrualPda$1 as findRewardAccrualPda, findWsolRewardAccrualPda$1 as findWsolRewardAccrualPda };
402
+ export { CreatorFeeConfigSeeds$1 as CreatorFeeConfigSeeds, EVENT_AUTHORITY_PDA_ADDRESS$2 as EVENT_AUTHORITY_PDA_ADDRESS, GLOBAL_CONFIG_PDA_ADDRESS$2 as GLOBAL_CONFIG_PDA_ADDRESS, LpMintSeeds, PoolSeeds, RewardAccrualSeeds$1 as RewardAccrualSeeds, WSOL_REWARD_ACCRUAL_PDA_ADDRESS$1 as WSOL_REWARD_ACCRUAL_PDA_ADDRESS, findCreatorFeeConfigPda$1 as findCreatorFeeConfigPda, findEventAuthorityPda$2 as findEventAuthorityPda, findGlobalConfigPda$2 as findGlobalConfigPda, findLpMintPda, findPoolPda, findRewardAccrualPda$1 as findRewardAccrualPda, findWsolRewardAccrualPda$1 as findWsolRewardAccrualPda };
388
403
  }
389
404
  //#endregion
390
405
  //#region src/dex/generated/events/anchorEventCpiDiscriminator.framing.d.ts
@@ -406,7 +421,7 @@ type CreatorClaimEvent$1 = {
406
421
  quoteMint: Address;
407
422
  platformConfig: Address;
408
423
  coinCreator: Address;
409
- creatorFeeConfig: Address;
424
+ padding0: Array<bigint>;
410
425
  claimer: Address;
411
426
  destinationOwner: Address;
412
427
  amount: bigint;
@@ -497,7 +512,7 @@ type PoolCreateEvent = {
497
512
  quoteMint: Address;
498
513
  quoteDecimals: number;
499
514
  coinCreator: Address;
500
- creatorFeeConfig: Address;
515
+ padding0: Array<bigint>;
501
516
  platformConfig: Address;
502
517
  baseVault: Address;
503
518
  quoteVault: Address;
@@ -506,6 +521,8 @@ type PoolCreateEvent = {
506
521
  baseReserves: bigint;
507
522
  quoteReserves: bigint;
508
523
  timestamp: bigint;
524
+ creatorFeeMode: number;
525
+ creatorFeeBps: number;
509
526
  };
510
527
  declare function getPoolCreateEventDecoder(): FixedSizeDecoder<PoolCreateEvent>;
511
528
  /**
@@ -590,9 +607,7 @@ type TokenCreateEvent$1 = {
590
607
  quoteMint: Address;
591
608
  quoteDecimals: number;
592
609
  coinCreator: Address;
593
- creatorPlatform: string;
594
- creatorId: string;
595
- creatorFeeConfig: Address;
610
+ padding0: Array<bigint>;
596
611
  platformConfig: Address;
597
612
  name: string;
598
613
  symbol: string;
@@ -603,6 +618,8 @@ type TokenCreateEvent$1 = {
603
618
  baseReserves: bigint;
604
619
  quoteReserves: bigint;
605
620
  timestamp: bigint;
621
+ creatorFeeMode: number;
622
+ creatorFeeBps: number;
606
623
  };
607
624
  declare function getTokenCreateEventDecoder$1(): Decoder<TokenCreateEvent$1>;
608
625
  /**
@@ -643,7 +660,7 @@ type TradeEvent$1 = {
643
660
  quoteMint: Address;
644
661
  user: Address;
645
662
  coinCreator: Address;
646
- creatorFeeConfig: Address;
663
+ padding0: Array<bigint>;
647
664
  platformConfig: Address;
648
665
  baseAmount: bigint;
649
666
  quoteAmountGross: bigint;
@@ -659,6 +676,8 @@ type TradeEvent$1 = {
659
676
  baseReserves: bigint;
660
677
  quoteReserves: bigint;
661
678
  timestamp: bigint;
679
+ creatorFeeMode: number;
680
+ creatorFeeBps: number;
662
681
  };
663
682
  declare function getTradeEventDecoder$1(): FixedSizeDecoder<TradeEvent$1>;
664
683
  /**
@@ -920,7 +939,7 @@ declare function parseBuyExactOutInstruction$1<TProgram extends string, TAccount
920
939
  //#region src/dex/generated/instructions/claimCreatorFees.d.ts
921
940
  declare const CLAIM_CREATOR_FEES_DISCRIMINATOR$1: ReadonlyUint8Array;
922
941
  declare function getClaimCreatorFeesDiscriminatorBytes$1(): ReadonlyUint8Array;
923
- type ClaimCreatorFeesInstruction$1<TProgram extends string = typeof SEND_DEX_PROGRAM_ADDRESS, TAccountClaimer extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountNexusGlobalConfig extends string | AccountMeta<string> = "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDestinationOwner extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", TAccountProgram extends string | AccountMeta<string> = "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountClaimer extends string ? ReadonlySignerAccount<TAccountClaimer> & AccountSignerMeta<TAccountClaimer> : TAccountClaimer, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool, TAccountCreatorFeeConfig extends string ? ReadonlyAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountNexusGlobalConfig extends string ? ReadonlyAccount<TAccountNexusGlobalConfig> : TAccountNexusGlobalConfig, TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDestinationOwner extends string ? ReadonlyAccount<TAccountDestinationOwner> : TAccountDestinationOwner, TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
942
+ type ClaimCreatorFeesInstruction$1<TProgram extends string = typeof SEND_DEX_PROGRAM_ADDRESS, TAccountClaimer extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountPool extends string | AccountMeta<string> = string, TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountNexusGlobalConfig extends string | AccountMeta<string> = "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDestinationOwner extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", TAccountProgram extends string | AccountMeta<string> = "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountClaimer extends string ? ReadonlySignerAccount<TAccountClaimer> & AccountSignerMeta<TAccountClaimer> : TAccountClaimer, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool, TAccountCreatorFeeConfig extends string ? WritableAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountNexusGlobalConfig extends string ? ReadonlyAccount<TAccountNexusGlobalConfig> : TAccountNexusGlobalConfig, TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDestinationOwner extends string ? ReadonlyAccount<TAccountDestinationOwner> : TAccountDestinationOwner, TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
924
943
  type ClaimCreatorFeesInstructionData$1 = {
925
944
  discriminator: ReadonlyUint8Array;
926
945
  };
@@ -932,7 +951,7 @@ type ClaimCreatorFeesAsyncInput$1<TAccountClaimer extends string = string, TAcco
932
951
  claimer: TransactionSigner<TAccountClaimer>;
933
952
  payer: TransactionSigner<TAccountPayer>;
934
953
  pool?: Address<TAccountPool>;
935
- creatorFeeConfig: Address<TAccountCreatorFeeConfig>;
954
+ creatorFeeConfig?: Address<TAccountCreatorFeeConfig>;
936
955
  baseMint: Address<TAccountBaseMint>;
937
956
  quoteMint: Address<TAccountQuoteMint>;
938
957
  quoteVault?: Address<TAccountQuoteVault>;
@@ -1282,6 +1301,7 @@ type SendDexPluginInstructions = {
1282
1301
  type SendDexPluginPdas = {
1283
1302
  pool: typeof findPoolPda;
1284
1303
  eventAuthority: typeof findEventAuthorityPda$2;
1304
+ creatorFeeConfig: typeof findCreatorFeeConfigPda$1;
1285
1305
  rewardAccrual: typeof findRewardAccrualPda$1;
1286
1306
  globalConfig: typeof findGlobalConfigPda$2;
1287
1307
  lpMint: typeof findLpMintPda;
@@ -1531,7 +1551,7 @@ type BondingCurve = {
1531
1551
  quoteMint: Address;
1532
1552
  quoteDecimals: number;
1533
1553
  coinCreator: Address;
1534
- creatorFeeConfig: Address;
1554
+ padding0: Array<bigint>;
1535
1555
  partner: Address;
1536
1556
  baseVault: Address;
1537
1557
  quoteVault: Address;
@@ -1543,6 +1563,9 @@ type BondingCurve = {
1543
1563
  protocolOwed: bigint;
1544
1564
  creatorOwed: bigint;
1545
1565
  platformConfig: Address;
1566
+ creatorFeeMode: number;
1567
+ creatorFeeBps: number;
1568
+ dexCreatorFeeBps: number;
1546
1569
  reserved: ReadonlyUint8Array;
1547
1570
  };
1548
1571
  type BondingCurveArgs = {
@@ -1558,7 +1581,7 @@ type BondingCurveArgs = {
1558
1581
  quoteMint: Address;
1559
1582
  quoteDecimals: number;
1560
1583
  coinCreator: Address;
1561
- creatorFeeConfig: Address;
1584
+ padding0: Array<number | bigint>;
1562
1585
  partner: Address;
1563
1586
  baseVault: Address;
1564
1587
  quoteVault: Address;
@@ -1570,6 +1593,9 @@ type BondingCurveArgs = {
1570
1593
  protocolOwed: number | bigint;
1571
1594
  creatorOwed: number | bigint;
1572
1595
  platformConfig: Address;
1596
+ creatorFeeMode: number;
1597
+ creatorFeeBps: number;
1598
+ dexCreatorFeeBps: number;
1573
1599
  reserved: ReadonlyUint8Array;
1574
1600
  };
1575
1601
  /** Gets the encoder for {@link BondingCurveArgs} account data. */
@@ -1820,17 +1846,21 @@ declare const SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT = 7009;
1820
1846
  declare const SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY = 7010;
1821
1847
  /** NothingToClaim: Nothing to claim */
1822
1848
  declare const SEND_LAUNCHPAD_ERROR__NOTHING_TO_CLAIM = 7011;
1823
- /** InvalidCreatorId: Creator identity is not a decodable wallet address */
1824
- declare const SEND_LAUNCHPAD_ERROR__INVALID_CREATOR_ID = 7012;
1849
+ /** Unused7012: Unused */
1850
+ declare const SEND_LAUNCHPAD_ERROR__UNUSED7012 = 7012;
1825
1851
  /** QuoteMintPriceUnset: Quote mint has no USDC price on its nexus reward state */
1826
1852
  declare const SEND_LAUNCHPAD_ERROR__QUOTE_MINT_PRICE_UNSET = 7013;
1827
1853
  /** TransferFeeNotSettleable: Token-2022 transfer fee schedule cannot settle the exact amount */
1828
1854
  declare const SEND_LAUNCHPAD_ERROR__TRANSFER_FEE_NOT_SETTLEABLE = 7014;
1855
+ /** CreatorFeeTooHigh: Creator fee exceeds the partner's maximum */
1856
+ declare const SEND_LAUNCHPAD_ERROR__CREATOR_FEE_TOO_HIGH = 7015;
1857
+ /** CreatorFeeModeNotAllowed: Creator fee mode is not allowed by the partner config */
1858
+ declare const SEND_LAUNCHPAD_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED = 7016;
1829
1859
  /** InsufficientLiquidity: Insufficient liquidity */
1830
1860
  declare const SEND_LAUNCHPAD_ERROR__INSUFFICIENT_LIQUIDITY = 7100;
1831
1861
  /** InvalidAmount: Invalid amount */
1832
1862
  declare const SEND_LAUNCHPAD_ERROR__INVALID_AMOUNT = 7101;
1833
- type SendLaunchpadError = typeof SEND_LAUNCHPAD_ERROR__ALREADY_MIGRATED | typeof SEND_LAUNCHPAD_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_LAUNCHPAD_ERROR__BASE_MINT_NOT_FOUND | typeof SEND_LAUNCHPAD_ERROR__BLOCKED_BY_HELD_SUPPLY | typeof SEND_LAUNCHPAD_ERROR__CURVE_IS_LIVE | typeof SEND_LAUNCHPAD_ERROR__INSUFFICIENT_BALANCE | typeof SEND_LAUNCHPAD_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_LAUNCHPAD_ERROR__INVALID_AMOUNT | typeof SEND_LAUNCHPAD_ERROR__INVALID_AUTHORITY | typeof SEND_LAUNCHPAD_ERROR__INVALID_BASE_MINT | typeof SEND_LAUNCHPAD_ERROR__INVALID_COIN_CREATOR | typeof SEND_LAUNCHPAD_ERROR__INVALID_CREATOR_ID | typeof SEND_LAUNCHPAD_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_LAUNCHPAD_ERROR__INVALID_PYTH_FEED | typeof SEND_LAUNCHPAD_ERROR__INVALID_QUOTE_MINT | typeof SEND_LAUNCHPAD_ERROR__INVALID_SLUG | typeof SEND_LAUNCHPAD_ERROR__INVALID_STATUS_TRANSITION | typeof SEND_LAUNCHPAD_ERROR__NOTHING_TO_CLAIM | typeof SEND_LAUNCHPAD_ERROR__NOT_TRADEABLE | typeof SEND_LAUNCHPAD_ERROR__POOL_FEES_OUTSTANDING | typeof SEND_LAUNCHPAD_ERROR__PROGRAM_PAUSED | typeof SEND_LAUNCHPAD_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_LAUNCHPAD_ERROR__SLIPPAGE_EXCEEDED | typeof SEND_LAUNCHPAD_ERROR__TEXT_TOO_LONG | typeof SEND_LAUNCHPAD_ERROR__THRESHOLD_NOT_REACHED | typeof SEND_LAUNCHPAD_ERROR__THRESHOLD_REACHED | typeof SEND_LAUNCHPAD_ERROR__TOKEN_CREATION_DISABLED | typeof SEND_LAUNCHPAD_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_LAUNCHPAD_ERROR__UNAUTHORIZED | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
1863
+ type SendLaunchpadError = typeof SEND_LAUNCHPAD_ERROR__ALREADY_MIGRATED | typeof SEND_LAUNCHPAD_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_LAUNCHPAD_ERROR__BASE_MINT_NOT_FOUND | typeof SEND_LAUNCHPAD_ERROR__BLOCKED_BY_HELD_SUPPLY | typeof SEND_LAUNCHPAD_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED | typeof SEND_LAUNCHPAD_ERROR__CREATOR_FEE_TOO_HIGH | typeof SEND_LAUNCHPAD_ERROR__CURVE_IS_LIVE | typeof SEND_LAUNCHPAD_ERROR__INSUFFICIENT_BALANCE | typeof SEND_LAUNCHPAD_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_LAUNCHPAD_ERROR__INVALID_AMOUNT | typeof SEND_LAUNCHPAD_ERROR__INVALID_AUTHORITY | typeof SEND_LAUNCHPAD_ERROR__INVALID_BASE_MINT | typeof SEND_LAUNCHPAD_ERROR__INVALID_COIN_CREATOR | typeof SEND_LAUNCHPAD_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_LAUNCHPAD_ERROR__INVALID_PYTH_FEED | typeof SEND_LAUNCHPAD_ERROR__INVALID_QUOTE_MINT | typeof SEND_LAUNCHPAD_ERROR__INVALID_SLUG | typeof SEND_LAUNCHPAD_ERROR__INVALID_STATUS_TRANSITION | typeof SEND_LAUNCHPAD_ERROR__NOTHING_TO_CLAIM | typeof SEND_LAUNCHPAD_ERROR__NOT_TRADEABLE | typeof SEND_LAUNCHPAD_ERROR__POOL_FEES_OUTSTANDING | typeof SEND_LAUNCHPAD_ERROR__PROGRAM_PAUSED | typeof SEND_LAUNCHPAD_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_LAUNCHPAD_ERROR__SLIPPAGE_EXCEEDED | typeof SEND_LAUNCHPAD_ERROR__TEXT_TOO_LONG | typeof SEND_LAUNCHPAD_ERROR__THRESHOLD_NOT_REACHED | typeof SEND_LAUNCHPAD_ERROR__THRESHOLD_REACHED | typeof SEND_LAUNCHPAD_ERROR__TOKEN_CREATION_DISABLED | typeof SEND_LAUNCHPAD_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_LAUNCHPAD_ERROR__UNAUTHORIZED | typeof SEND_LAUNCHPAD_ERROR__UNUSED7012 | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
1834
1864
  declare const sendLaunchpadErrorMessages: Record<SendLaunchpadError, string>;
1835
1865
  declare function getSendLaunchpadErrorMessage(code: SendLaunchpadError): string;
1836
1866
  declare function isSendLaunchpadError<TProgramErrorCode extends SendLaunchpadError>(error: unknown, transactionMessage: {
@@ -1843,7 +1873,7 @@ declare function isSendLaunchpadError<TProgramErrorCode extends SendLaunchpadErr
1843
1873
  }>;
1844
1874
  }>;
1845
1875
  declare namespace index_d_exports$16 {
1846
- export { SEND_LAUNCHPAD_ERROR__ALREADY_MIGRATED, SEND_LAUNCHPAD_ERROR__ARITHMETIC_OVERFLOW, SEND_LAUNCHPAD_ERROR__BASE_MINT_NOT_FOUND, SEND_LAUNCHPAD_ERROR__BLOCKED_BY_HELD_SUPPLY, SEND_LAUNCHPAD_ERROR__CURVE_IS_LIVE, SEND_LAUNCHPAD_ERROR__INSUFFICIENT_BALANCE, SEND_LAUNCHPAD_ERROR__INSUFFICIENT_LIQUIDITY, SEND_LAUNCHPAD_ERROR__INVALID_AMOUNT, SEND_LAUNCHPAD_ERROR__INVALID_AUTHORITY, SEND_LAUNCHPAD_ERROR__INVALID_BASE_MINT, SEND_LAUNCHPAD_ERROR__INVALID_COIN_CREATOR, SEND_LAUNCHPAD_ERROR__INVALID_CREATOR_ID, SEND_LAUNCHPAD_ERROR__INVALID_PYTH_ACCOUNT, SEND_LAUNCHPAD_ERROR__INVALID_PYTH_FEED, SEND_LAUNCHPAD_ERROR__INVALID_QUOTE_MINT, SEND_LAUNCHPAD_ERROR__INVALID_SLUG, SEND_LAUNCHPAD_ERROR__INVALID_STATUS_TRANSITION, SEND_LAUNCHPAD_ERROR__NOTHING_TO_CLAIM, SEND_LAUNCHPAD_ERROR__NOT_TRADEABLE, SEND_LAUNCHPAD_ERROR__POOL_FEES_OUTSTANDING, SEND_LAUNCHPAD_ERROR__PROGRAM_PAUSED, SEND_LAUNCHPAD_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_LAUNCHPAD_ERROR__SLIPPAGE_EXCEEDED, SEND_LAUNCHPAD_ERROR__TEXT_TOO_LONG, SEND_LAUNCHPAD_ERROR__THRESHOLD_NOT_REACHED, SEND_LAUNCHPAD_ERROR__THRESHOLD_REACHED, SEND_LAUNCHPAD_ERROR__TOKEN_CREATION_DISABLED, SEND_LAUNCHPAD_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_LAUNCHPAD_ERROR__UNAUTHORIZED, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendLaunchpadError, getSendLaunchpadErrorMessage, isSendLaunchpadError, sendLaunchpadErrorMessages };
1876
+ export { SEND_LAUNCHPAD_ERROR__ALREADY_MIGRATED, SEND_LAUNCHPAD_ERROR__ARITHMETIC_OVERFLOW, SEND_LAUNCHPAD_ERROR__BASE_MINT_NOT_FOUND, SEND_LAUNCHPAD_ERROR__BLOCKED_BY_HELD_SUPPLY, SEND_LAUNCHPAD_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED, SEND_LAUNCHPAD_ERROR__CREATOR_FEE_TOO_HIGH, SEND_LAUNCHPAD_ERROR__CURVE_IS_LIVE, SEND_LAUNCHPAD_ERROR__INSUFFICIENT_BALANCE, SEND_LAUNCHPAD_ERROR__INSUFFICIENT_LIQUIDITY, SEND_LAUNCHPAD_ERROR__INVALID_AMOUNT, SEND_LAUNCHPAD_ERROR__INVALID_AUTHORITY, SEND_LAUNCHPAD_ERROR__INVALID_BASE_MINT, SEND_LAUNCHPAD_ERROR__INVALID_COIN_CREATOR, SEND_LAUNCHPAD_ERROR__INVALID_PYTH_ACCOUNT, SEND_LAUNCHPAD_ERROR__INVALID_PYTH_FEED, SEND_LAUNCHPAD_ERROR__INVALID_QUOTE_MINT, SEND_LAUNCHPAD_ERROR__INVALID_SLUG, SEND_LAUNCHPAD_ERROR__INVALID_STATUS_TRANSITION, SEND_LAUNCHPAD_ERROR__NOTHING_TO_CLAIM, SEND_LAUNCHPAD_ERROR__NOT_TRADEABLE, SEND_LAUNCHPAD_ERROR__POOL_FEES_OUTSTANDING, SEND_LAUNCHPAD_ERROR__PROGRAM_PAUSED, SEND_LAUNCHPAD_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_LAUNCHPAD_ERROR__SLIPPAGE_EXCEEDED, SEND_LAUNCHPAD_ERROR__TEXT_TOO_LONG, SEND_LAUNCHPAD_ERROR__THRESHOLD_NOT_REACHED, SEND_LAUNCHPAD_ERROR__THRESHOLD_REACHED, SEND_LAUNCHPAD_ERROR__TOKEN_CREATION_DISABLED, SEND_LAUNCHPAD_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_LAUNCHPAD_ERROR__UNAUTHORIZED, SEND_LAUNCHPAD_ERROR__UNUSED7012, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_LAUNCHPAD_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendLaunchpadError, getSendLaunchpadErrorMessage, isSendLaunchpadError, sendLaunchpadErrorMessages };
1847
1877
  }
1848
1878
  //#endregion
1849
1879
  //#region src/launchpad/generated/pdas/bondingCurve.d.ts
@@ -1853,6 +1883,13 @@ type BondingCurveSeeds = {
1853
1883
  };
1854
1884
  declare function findBondingCurvePda(seeds: BondingCurveSeeds): Promise<ProgramDerivedAddress>;
1855
1885
  //#endregion
1886
+ //#region src/launchpad/generated/pdas/creatorFeeConfig.d.ts
1887
+ type CreatorFeeConfigSeeds = {
1888
+ baseMint: Address;
1889
+ quoteMint: Address;
1890
+ };
1891
+ declare function findCreatorFeeConfigPda(seeds: CreatorFeeConfigSeeds): Promise<ProgramDerivedAddress>;
1892
+ //#endregion
1856
1893
  //#region src/launchpad/generated/pdas/eventAuthority.d.ts
1857
1894
  declare const EVENT_AUTHORITY_PDA_ADDRESS$1: Address<"FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T">;
1858
1895
  declare function findEventAuthorityPda$1(): ProgramDerivedAddress;
@@ -1875,7 +1912,7 @@ declare function findRewardAccrualPda(seeds: RewardAccrualSeeds): Promise<Progra
1875
1912
  declare const WSOL_REWARD_ACCRUAL_PDA_ADDRESS: Address<"91AVurtPdUC2yG3joLoujzC216KAfH5HEKnZEELFMmVH">;
1876
1913
  declare function findWsolRewardAccrualPda(): ProgramDerivedAddress;
1877
1914
  declare namespace index_d_exports$15 {
1878
- export { BondingCurveSeeds, EVENT_AUTHORITY_PDA_ADDRESS$1 as EVENT_AUTHORITY_PDA_ADDRESS, GLOBAL_CONFIG_PDA_ADDRESS$1 as GLOBAL_CONFIG_PDA_ADDRESS, MIGRATION_AUTHORITY_PDA_ADDRESS, RewardAccrualSeeds, WSOL_REWARD_ACCRUAL_PDA_ADDRESS, findBondingCurvePda, findEventAuthorityPda$1 as findEventAuthorityPda, findGlobalConfigPda$1 as findGlobalConfigPda, findMigrationAuthorityPda, findRewardAccrualPda, findWsolRewardAccrualPda };
1915
+ export { BondingCurveSeeds, CreatorFeeConfigSeeds, EVENT_AUTHORITY_PDA_ADDRESS$1 as EVENT_AUTHORITY_PDA_ADDRESS, GLOBAL_CONFIG_PDA_ADDRESS$1 as GLOBAL_CONFIG_PDA_ADDRESS, MIGRATION_AUTHORITY_PDA_ADDRESS, RewardAccrualSeeds, WSOL_REWARD_ACCRUAL_PDA_ADDRESS, findBondingCurvePda, findCreatorFeeConfigPda, findEventAuthorityPda$1 as findEventAuthorityPda, findGlobalConfigPda$1 as findGlobalConfigPda, findMigrationAuthorityPda, findRewardAccrualPda, findWsolRewardAccrualPda };
1879
1916
  }
1880
1917
  declare namespace create_d_exports {
1881
1918
  export { CreateAndBuyParams, CreateTokenParams, buildCreateAndBuyInstructions, buildCreateTokenInstruction };
@@ -1883,19 +1920,20 @@ declare namespace create_d_exports {
1883
1920
  interface CreateTokenParams {
1884
1921
  user: TransactionSigner;
1885
1922
  payer?: TransactionSigner;
1923
+ /** The wallet that claims the creator fees. */
1886
1924
  coinCreator: Address;
1887
1925
  baseMint: TransactionSigner;
1888
1926
  quoteMint: Address;
1889
1927
  name: string;
1890
1928
  symbol: string;
1891
1929
  uri: string;
1892
- /** An enabled nexus auth platform, for example "wallet", of at most 32 bytes. It is hashed
1893
- * with `creatorId` into the creator fee identity. It is not `platformConfig`. */
1894
- creatorPlatform: string;
1895
- creatorId: string;
1896
1930
  partner: PartnerInput;
1897
1931
  platformConfig: Address;
1898
1932
  quoteTokenProgram: Address;
1933
+ creatorFeeMode: number;
1934
+ creatorFeeBps: number;
1935
+ /** The creator fee of the pool after migration, in bps. */
1936
+ dexCreatorFeeBps: number;
1899
1937
  }
1900
1938
  interface CreateAndBuyParams extends CreateTokenParams {
1901
1939
  buyQuoteAmount: bigint;
@@ -1934,7 +1972,7 @@ type CompleteEvent = {
1934
1972
  baseMint: Address;
1935
1973
  quoteMint: Address;
1936
1974
  coinCreator: Address;
1937
- creatorFeeConfig: Address;
1975
+ padding0: Array<bigint>;
1938
1976
  platformConfig: Address;
1939
1977
  curvePartner: Address;
1940
1978
  isPartner: boolean;
@@ -1980,7 +2018,7 @@ type CreatorClaimEvent = {
1980
2018
  quoteMint: Address;
1981
2019
  platformConfig: Address;
1982
2020
  coinCreator: Address;
1983
- creatorFeeConfig: Address;
2021
+ padding0: Array<bigint>;
1984
2022
  claimer: Address;
1985
2023
  destinationOwner: Address;
1986
2024
  amount: bigint;
@@ -2026,7 +2064,7 @@ type MigrateEvent = {
2026
2064
  quoteMint: Address;
2027
2065
  pool: Address;
2028
2066
  coinCreator: Address;
2029
- creatorFeeConfig: Address;
2067
+ padding0: Array<bigint>;
2030
2068
  platformConfig: Address;
2031
2069
  baseAmount: bigint;
2032
2070
  quoteAmount: bigint;
@@ -2161,9 +2199,7 @@ type TokenCreateEvent = {
2161
2199
  quoteMint: Address;
2162
2200
  quoteDecimals: number;
2163
2201
  coinCreator: Address;
2164
- creatorPlatform: string;
2165
- creatorId: string;
2166
- creatorFeeConfig: Address;
2202
+ padding0: Array<bigint>;
2167
2203
  platformConfig: Address;
2168
2204
  name: string;
2169
2205
  symbol: string;
@@ -2176,6 +2212,9 @@ type TokenCreateEvent = {
2176
2212
  realBaseReserves: bigint;
2177
2213
  realQuoteReserves: bigint;
2178
2214
  timestamp: bigint;
2215
+ creatorFeeMode: number;
2216
+ creatorFeeBps: number;
2217
+ dexCreatorFeeBps: number;
2179
2218
  };
2180
2219
  declare function getTokenCreateEventDecoder(): Decoder<TokenCreateEvent>;
2181
2220
  /**
@@ -2216,7 +2255,7 @@ type TradeEvent = {
2216
2255
  quoteMint: Address;
2217
2256
  user: Address;
2218
2257
  coinCreator: Address;
2219
- creatorFeeConfig: Address;
2258
+ padding0: Array<bigint>;
2220
2259
  platformConfig: Address;
2221
2260
  baseAmount: bigint;
2222
2261
  quoteAmountGross: bigint;
@@ -2233,6 +2272,8 @@ type TradeEvent = {
2233
2272
  realBaseReserves: bigint;
2234
2273
  realQuoteReserves: bigint;
2235
2274
  timestamp: bigint;
2275
+ creatorFeeMode: number;
2276
+ creatorFeeBps: number;
2236
2277
  };
2237
2278
  declare function getTradeEventDecoder(): FixedSizeDecoder<TradeEvent>;
2238
2279
  /**
@@ -2497,7 +2538,7 @@ declare function parseBuyExactOutInstruction<TProgram extends string, TAccountMe
2497
2538
  //#region src/launchpad/generated/instructions/claimCreatorFees.d.ts
2498
2539
  declare const CLAIM_CREATOR_FEES_DISCRIMINATOR: ReadonlyUint8Array;
2499
2540
  declare function getClaimCreatorFeesDiscriminatorBytes(): ReadonlyUint8Array;
2500
- type ClaimCreatorFeesInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountClaimer extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountNexusGlobalConfig extends string | AccountMeta<string> = "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDestinationOwner extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", TAccountProgram extends string | AccountMeta<string> = "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountClaimer extends string ? ReadonlySignerAccount<TAccountClaimer> & AccountSignerMeta<TAccountClaimer> : TAccountClaimer, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountBondingCurve extends string ? WritableAccount<TAccountBondingCurve> : TAccountBondingCurve, TAccountCreatorFeeConfig extends string ? ReadonlyAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountNexusGlobalConfig extends string ? ReadonlyAccount<TAccountNexusGlobalConfig> : TAccountNexusGlobalConfig, TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDestinationOwner extends string ? ReadonlyAccount<TAccountDestinationOwner> : TAccountDestinationOwner, TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
2541
+ type ClaimCreatorFeesInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountClaimer extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountNexusGlobalConfig extends string | AccountMeta<string> = "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDestinationOwner extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", TAccountProgram extends string | AccountMeta<string> = "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountClaimer extends string ? ReadonlySignerAccount<TAccountClaimer> & AccountSignerMeta<TAccountClaimer> : TAccountClaimer, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountBondingCurve extends string ? WritableAccount<TAccountBondingCurve> : TAccountBondingCurve, TAccountCreatorFeeConfig extends string ? WritableAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountNexusGlobalConfig extends string ? ReadonlyAccount<TAccountNexusGlobalConfig> : TAccountNexusGlobalConfig, TAccountBaseMint extends string ? ReadonlyAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDestinationOwner extends string ? ReadonlyAccount<TAccountDestinationOwner> : TAccountDestinationOwner, TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
2501
2542
  type ClaimCreatorFeesInstructionData = {
2502
2543
  discriminator: ReadonlyUint8Array;
2503
2544
  };
@@ -2509,7 +2550,7 @@ type ClaimCreatorFeesAsyncInput<TAccountClaimer extends string = string, TAccoun
2509
2550
  claimer: TransactionSigner<TAccountClaimer>;
2510
2551
  payer: TransactionSigner<TAccountPayer>;
2511
2552
  bondingCurve?: Address<TAccountBondingCurve>;
2512
- creatorFeeConfig: Address<TAccountCreatorFeeConfig>;
2553
+ creatorFeeConfig?: Address<TAccountCreatorFeeConfig>;
2513
2554
  baseMint: Address<TAccountBaseMint>;
2514
2555
  quoteMint: Address<TAccountQuoteMint>;
2515
2556
  quoteVault?: Address<TAccountQuoteVault>;
@@ -2619,21 +2660,21 @@ type CreateTokenInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROG
2619
2660
  type CreateTokenInstructionData = {
2620
2661
  discriminator: ReadonlyUint8Array;
2621
2662
  platformConfig: Address;
2622
- creatorPlatform: string;
2623
- creatorId: string;
2624
- creatorHash: Address;
2625
2663
  name: string;
2626
2664
  symbol: string;
2627
2665
  uri: string;
2666
+ creatorFeeMode: number;
2667
+ creatorFeeBps: number;
2668
+ dexCreatorFeeBps: number;
2628
2669
  };
2629
2670
  type CreateTokenInstructionDataArgs = {
2630
2671
  platformConfig: Address;
2631
- creatorPlatform: string;
2632
- creatorId: string;
2633
- creatorHash: Address;
2634
2672
  name: string;
2635
2673
  symbol: string;
2636
2674
  uri: string;
2675
+ creatorFeeMode: number;
2676
+ creatorFeeBps: number;
2677
+ dexCreatorFeeBps: number;
2637
2678
  };
2638
2679
  declare function getCreateTokenInstructionDataEncoder(): Encoder<CreateTokenInstructionDataArgs>;
2639
2680
  declare function getCreateTokenInstructionDataDecoder(): Decoder<CreateTokenInstructionData>;
@@ -2657,12 +2698,12 @@ type CreateTokenAsyncInput<TAccountUser extends string = string, TAccountPayer e
2657
2698
  stakingVault?: Address<TAccountStakingVault>;
2658
2699
  quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
2659
2700
  platformConfig: CreateTokenInstructionDataArgs["platformConfig"];
2660
- creatorPlatform: CreateTokenInstructionDataArgs["creatorPlatform"];
2661
- creatorId: CreateTokenInstructionDataArgs["creatorId"];
2662
- creatorHash: CreateTokenInstructionDataArgs["creatorHash"];
2663
2701
  name: CreateTokenInstructionDataArgs["name"];
2664
2702
  symbol: CreateTokenInstructionDataArgs["symbol"];
2665
2703
  uri: CreateTokenInstructionDataArgs["uri"];
2704
+ creatorFeeMode: CreateTokenInstructionDataArgs["creatorFeeMode"];
2705
+ creatorFeeBps: CreateTokenInstructionDataArgs["creatorFeeBps"];
2706
+ dexCreatorFeeBps: CreateTokenInstructionDataArgs["dexCreatorFeeBps"];
2666
2707
  };
2667
2708
  declare function getCreateTokenInstructionAsync<TAccountUser extends string, TAccountPayer extends string, TAccountCoinCreator extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBondingCurve extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountCreatorFeeConfig extends string, TAccountPartner extends string, TAccountPartnerConfig extends string, TAccountNexusStakingConfig extends string, TAccountStakingRewardState extends string, TAccountRewardAccrual extends string, TAccountStakingVault extends string, TAccountQuoteTokenProgram extends string>(input: CreateTokenAsyncInput<TAccountUser, TAccountPayer, TAccountCoinCreator, TAccountBaseMint, TAccountQuoteMint, TAccountBondingCurve, TAccountBaseVault, TAccountQuoteVault, TAccountCreatorFeeConfig, TAccountPartner, TAccountPartnerConfig, TAccountNexusStakingConfig, TAccountStakingRewardState, TAccountRewardAccrual, TAccountStakingVault, TAccountQuoteTokenProgram>): Promise<CreateTokenInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountUser, TAccountPayer, TAccountCoinCreator, "H3csa1cgR7zPJdxCzNbS5chYymHMKS3XivDA5nRx4Bdq", TAccountBaseMint, TAccountQuoteMint, TAccountBondingCurve, TAccountBaseVault, TAccountQuoteVault, TAccountCreatorFeeConfig, "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", (typeof input)["partner"] extends TransactionSigner<TAccountPartner> ? ReadonlySignerAccount<TAccountPartner> & AccountSignerMeta<TAccountPartner> : TAccountPartner, TAccountPartnerConfig, TAccountNexusStakingConfig, TAccountStakingRewardState, TAccountRewardAccrual, TAccountStakingVault, "AyisZJxXz9ywXhMwR3sb3oePxBB6UBvixXycAQCdSgrz", "91AVurtPdUC2yG3joLoujzC216KAfH5HEKnZEELFMmVH", "7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE", "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP">>;
2668
2709
  type CreateTokenInput<TAccountUser extends string = string, TAccountPayer extends string = string, TAccountCoinCreator extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBondingCurve extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountCreatorFeeConfig extends string = string, TAccountPartner extends string = string, TAccountPartnerConfig extends string = string, TAccountNexusStakingConfig extends string = string, TAccountStakingRewardState extends string = string, TAccountRewardAccrual extends string = string, TAccountStakingVault extends string = string, TAccountQuoteTokenProgram extends string = string> = {
@@ -2684,12 +2725,12 @@ type CreateTokenInput<TAccountUser extends string = string, TAccountPayer extend
2684
2725
  stakingVault: Address<TAccountStakingVault>;
2685
2726
  quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
2686
2727
  platformConfig: CreateTokenInstructionDataArgs["platformConfig"];
2687
- creatorPlatform: CreateTokenInstructionDataArgs["creatorPlatform"];
2688
- creatorId: CreateTokenInstructionDataArgs["creatorId"];
2689
- creatorHash: CreateTokenInstructionDataArgs["creatorHash"];
2690
2728
  name: CreateTokenInstructionDataArgs["name"];
2691
2729
  symbol: CreateTokenInstructionDataArgs["symbol"];
2692
2730
  uri: CreateTokenInstructionDataArgs["uri"];
2731
+ creatorFeeMode: CreateTokenInstructionDataArgs["creatorFeeMode"];
2732
+ creatorFeeBps: CreateTokenInstructionDataArgs["creatorFeeBps"];
2733
+ dexCreatorFeeBps: CreateTokenInstructionDataArgs["dexCreatorFeeBps"];
2693
2734
  };
2694
2735
  declare function getCreateTokenInstruction<TAccountUser extends string, TAccountPayer extends string, TAccountCoinCreator extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBondingCurve extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountCreatorFeeConfig extends string, TAccountPartner extends string, TAccountPartnerConfig extends string, TAccountNexusStakingConfig extends string, TAccountStakingRewardState extends string, TAccountRewardAccrual extends string, TAccountStakingVault extends string, TAccountQuoteTokenProgram extends string>(input: CreateTokenInput<TAccountUser, TAccountPayer, TAccountCoinCreator, TAccountBaseMint, TAccountQuoteMint, TAccountBondingCurve, TAccountBaseVault, TAccountQuoteVault, TAccountCreatorFeeConfig, TAccountPartner, TAccountPartnerConfig, TAccountNexusStakingConfig, TAccountStakingRewardState, TAccountRewardAccrual, TAccountStakingVault, TAccountQuoteTokenProgram>): CreateTokenInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountUser, TAccountPayer, TAccountCoinCreator, "H3csa1cgR7zPJdxCzNbS5chYymHMKS3XivDA5nRx4Bdq", TAccountBaseMint, TAccountQuoteMint, TAccountBondingCurve, TAccountBaseVault, TAccountQuoteVault, TAccountCreatorFeeConfig, "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", "3bycfBeRULfXYqcg3DmiYFBjv6mMVidMuqKdFZJTGdNr", (typeof input)["partner"] extends TransactionSigner<TAccountPartner> ? ReadonlySignerAccount<TAccountPartner> & AccountSignerMeta<TAccountPartner> : TAccountPartner, TAccountPartnerConfig, TAccountNexusStakingConfig, TAccountStakingRewardState, TAccountRewardAccrual, TAccountStakingVault, "AyisZJxXz9ywXhMwR3sb3oePxBB6UBvixXycAQCdSgrz", "91AVurtPdUC2yG3joLoujzC216KAfH5HEKnZEELFMmVH", "7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE", "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP">;
2695
2736
  type ParsedCreateTokenInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
@@ -2732,7 +2773,7 @@ declare function parseCreateTokenInstruction<TProgram extends string, TAccountMe
2732
2773
  //#region src/launchpad/generated/instructions/migrate.d.ts
2733
2774
  declare const MIGRATE_DISCRIMINATOR: ReadonlyUint8Array;
2734
2775
  declare function getMigrateDiscriminatorBytes(): ReadonlyUint8Array;
2735
- type MigrateInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDexProgram extends string | AccountMeta<string> = "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", TAccountMigrationAuthority extends string | AccountMeta<string> = "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool extends string | AccountMeta<string> = string, TAccountLpMint extends string | AccountMeta<string> = string, TAccountPoolBaseVault extends string | AccountMeta<string> = string, TAccountPoolQuoteVault extends string | AccountMeta<string> = string, TAccountPoolLpAccount extends string | AccountMeta<string> = string, TAccountDexEventAuthority extends string | AccountMeta<string> = "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", TAccountNexusProgram extends string | AccountMeta<string> = "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", TAccountProgram extends string | AccountMeta<string> = "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCaller extends string ? WritableSignerAccount<TAccountCaller> & AccountSignerMeta<TAccountCaller> : TAccountCaller, TAccountBondingCurve extends string ? WritableAccount<TAccountBondingCurve> : TAccountBondingCurve, TAccountBaseMint extends string ? WritableAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountBaseVault extends string ? WritableAccount<TAccountBaseVault> : TAccountBaseVault, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDexProgram extends string ? ReadonlyAccount<TAccountDexProgram> : TAccountDexProgram, TAccountMigrationAuthority extends string ? ReadonlyAccount<TAccountMigrationAuthority> : TAccountMigrationAuthority, TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool, TAccountLpMint extends string ? WritableAccount<TAccountLpMint> : TAccountLpMint, TAccountPoolBaseVault extends string ? WritableAccount<TAccountPoolBaseVault> : TAccountPoolBaseVault, TAccountPoolQuoteVault extends string ? WritableAccount<TAccountPoolQuoteVault> : TAccountPoolQuoteVault, TAccountPoolLpAccount extends string ? WritableAccount<TAccountPoolLpAccount> : TAccountPoolLpAccount, TAccountDexEventAuthority extends string ? ReadonlyAccount<TAccountDexEventAuthority> : TAccountDexEventAuthority, TAccountNexusProgram extends string ? ReadonlyAccount<TAccountNexusProgram> : TAccountNexusProgram, TAccountCreatorFeeConfig extends string ? ReadonlyAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountBaseTokenProgram extends string ? ReadonlyAccount<TAccountBaseTokenProgram> : TAccountBaseTokenProgram, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
2776
+ type MigrateInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller extends string | AccountMeta<string> = string, TAccountBondingCurve extends string | AccountMeta<string> = string, TAccountBaseMint extends string | AccountMeta<string> = string, TAccountQuoteMint extends string | AccountMeta<string> = string, TAccountBaseVault extends string | AccountMeta<string> = string, TAccountQuoteVault extends string | AccountMeta<string> = string, TAccountDexProgram extends string | AccountMeta<string> = "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", TAccountMigrationAuthority extends string | AccountMeta<string> = "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool extends string | AccountMeta<string> = string, TAccountLpMint extends string | AccountMeta<string> = string, TAccountPoolBaseVault extends string | AccountMeta<string> = string, TAccountPoolQuoteVault extends string | AccountMeta<string> = string, TAccountPoolLpAccount extends string | AccountMeta<string> = string, TAccountDexEventAuthority extends string | AccountMeta<string> = "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", TAccountNexusProgram extends string | AccountMeta<string> = "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig extends string | AccountMeta<string> = string, TAccountBaseTokenProgram extends string | AccountMeta<string> = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram extends string | AccountMeta<string> = string, TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta<string> = "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", TAccountProgram extends string | AccountMeta<string> = "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TAccountDexCreatorFeeConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCaller extends string ? WritableSignerAccount<TAccountCaller> & AccountSignerMeta<TAccountCaller> : TAccountCaller, TAccountBondingCurve extends string ? WritableAccount<TAccountBondingCurve> : TAccountBondingCurve, TAccountBaseMint extends string ? WritableAccount<TAccountBaseMint> : TAccountBaseMint, TAccountQuoteMint extends string ? ReadonlyAccount<TAccountQuoteMint> : TAccountQuoteMint, TAccountBaseVault extends string ? WritableAccount<TAccountBaseVault> : TAccountBaseVault, TAccountQuoteVault extends string ? WritableAccount<TAccountQuoteVault> : TAccountQuoteVault, TAccountDexProgram extends string ? ReadonlyAccount<TAccountDexProgram> : TAccountDexProgram, TAccountMigrationAuthority extends string ? ReadonlyAccount<TAccountMigrationAuthority> : TAccountMigrationAuthority, TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool, TAccountLpMint extends string ? WritableAccount<TAccountLpMint> : TAccountLpMint, TAccountPoolBaseVault extends string ? WritableAccount<TAccountPoolBaseVault> : TAccountPoolBaseVault, TAccountPoolQuoteVault extends string ? WritableAccount<TAccountPoolQuoteVault> : TAccountPoolQuoteVault, TAccountPoolLpAccount extends string ? WritableAccount<TAccountPoolLpAccount> : TAccountPoolLpAccount, TAccountDexEventAuthority extends string ? ReadonlyAccount<TAccountDexEventAuthority> : TAccountDexEventAuthority, TAccountNexusProgram extends string ? ReadonlyAccount<TAccountNexusProgram> : TAccountNexusProgram, TAccountCreatorFeeConfig extends string ? WritableAccount<TAccountCreatorFeeConfig> : TAccountCreatorFeeConfig, TAccountBaseTokenProgram extends string ? ReadonlyAccount<TAccountBaseTokenProgram> : TAccountBaseTokenProgram, TAccountQuoteTokenProgram extends string ? ReadonlyAccount<TAccountQuoteTokenProgram> : TAccountQuoteTokenProgram, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, TAccountDexCreatorFeeConfig extends string ? WritableAccount<TAccountDexCreatorFeeConfig> : TAccountDexCreatorFeeConfig, ...TRemainingAccounts]>;
2736
2777
  type MigrateInstructionData = {
2737
2778
  discriminator: ReadonlyUint8Array;
2738
2779
  };
@@ -2740,7 +2781,7 @@ type MigrateInstructionDataArgs = {};
2740
2781
  declare function getMigrateInstructionDataEncoder(): FixedSizeEncoder<MigrateInstructionDataArgs>;
2741
2782
  declare function getMigrateInstructionDataDecoder(): FixedSizeDecoder<MigrateInstructionData>;
2742
2783
  declare function getMigrateInstructionDataCodec(): FixedSizeCodec<MigrateInstructionDataArgs, MigrateInstructionData>;
2743
- type MigrateAsyncInput<TAccountCaller extends string = string, TAccountBondingCurve extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLpMint extends string = string, TAccountPoolBaseVault extends string = string, TAccountPoolQuoteVault extends string = string, TAccountPoolLpAccount extends string = string, TAccountCreatorFeeConfig extends string = string, TAccountQuoteTokenProgram extends string = string> = {
2784
+ type MigrateAsyncInput<TAccountCaller extends string = string, TAccountBondingCurve extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLpMint extends string = string, TAccountPoolBaseVault extends string = string, TAccountPoolQuoteVault extends string = string, TAccountPoolLpAccount extends string = string, TAccountCreatorFeeConfig extends string = string, TAccountQuoteTokenProgram extends string = string, TAccountDexCreatorFeeConfig extends string = string> = {
2744
2785
  caller: TransactionSigner<TAccountCaller>;
2745
2786
  bondingCurve?: Address<TAccountBondingCurve>;
2746
2787
  baseMint: Address<TAccountBaseMint>;
@@ -2752,11 +2793,12 @@ type MigrateAsyncInput<TAccountCaller extends string = string, TAccountBondingCu
2752
2793
  poolBaseVault: Address<TAccountPoolBaseVault>;
2753
2794
  poolQuoteVault: Address<TAccountPoolQuoteVault>;
2754
2795
  poolLpAccount: Address<TAccountPoolLpAccount>;
2755
- creatorFeeConfig: Address<TAccountCreatorFeeConfig>;
2796
+ creatorFeeConfig?: Address<TAccountCreatorFeeConfig>;
2756
2797
  quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
2798
+ dexCreatorFeeConfig?: Address<TAccountDexCreatorFeeConfig>;
2757
2799
  };
2758
- declare function getMigrateInstructionAsync<TAccountCaller extends string, TAccountBondingCurve extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountPool extends string, TAccountLpMint extends string, TAccountPoolBaseVault extends string, TAccountPoolQuoteVault extends string, TAccountPoolLpAccount extends string, TAccountCreatorFeeConfig extends string, TAccountQuoteTokenProgram extends string>(input: MigrateAsyncInput<TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, TAccountCreatorFeeConfig, TAccountQuoteTokenProgram>): Promise<MigrateInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig, "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP">>;
2759
- type MigrateInput<TAccountCaller extends string = string, TAccountBondingCurve extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLpMint extends string = string, TAccountPoolBaseVault extends string = string, TAccountPoolQuoteVault extends string = string, TAccountPoolLpAccount extends string = string, TAccountCreatorFeeConfig extends string = string, TAccountQuoteTokenProgram extends string = string> = {
2800
+ declare function getMigrateInstructionAsync<TAccountCaller extends string, TAccountBondingCurve extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountPool extends string, TAccountLpMint extends string, TAccountPoolBaseVault extends string, TAccountPoolQuoteVault extends string, TAccountPoolLpAccount extends string, TAccountCreatorFeeConfig extends string, TAccountQuoteTokenProgram extends string, TAccountDexCreatorFeeConfig extends string>(input: MigrateAsyncInput<TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, TAccountCreatorFeeConfig, TAccountQuoteTokenProgram, TAccountDexCreatorFeeConfig>): Promise<MigrateInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig, "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TAccountDexCreatorFeeConfig>>;
2801
+ type MigrateInput<TAccountCaller extends string = string, TAccountBondingCurve extends string = string, TAccountBaseMint extends string = string, TAccountQuoteMint extends string = string, TAccountBaseVault extends string = string, TAccountQuoteVault extends string = string, TAccountPool extends string = string, TAccountLpMint extends string = string, TAccountPoolBaseVault extends string = string, TAccountPoolQuoteVault extends string = string, TAccountPoolLpAccount extends string = string, TAccountCreatorFeeConfig extends string = string, TAccountQuoteTokenProgram extends string = string, TAccountDexCreatorFeeConfig extends string = string> = {
2760
2802
  caller: TransactionSigner<TAccountCaller>;
2761
2803
  bondingCurve: Address<TAccountBondingCurve>;
2762
2804
  baseMint: Address<TAccountBaseMint>;
@@ -2770,8 +2812,9 @@ type MigrateInput<TAccountCaller extends string = string, TAccountBondingCurve e
2770
2812
  poolLpAccount: Address<TAccountPoolLpAccount>;
2771
2813
  creatorFeeConfig: Address<TAccountCreatorFeeConfig>;
2772
2814
  quoteTokenProgram: Address<TAccountQuoteTokenProgram>;
2815
+ dexCreatorFeeConfig: Address<TAccountDexCreatorFeeConfig>;
2773
2816
  };
2774
- declare function getMigrateInstruction<TAccountCaller extends string, TAccountBondingCurve extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountPool extends string, TAccountLpMint extends string, TAccountPoolBaseVault extends string, TAccountPoolQuoteVault extends string, TAccountPoolLpAccount extends string, TAccountCreatorFeeConfig extends string, TAccountQuoteTokenProgram extends string>(input: MigrateInput<TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, TAccountCreatorFeeConfig, TAccountQuoteTokenProgram>): MigrateInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig, "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP">;
2817
+ declare function getMigrateInstruction<TAccountCaller extends string, TAccountBondingCurve extends string, TAccountBaseMint extends string, TAccountQuoteMint extends string, TAccountBaseVault extends string, TAccountQuoteVault extends string, TAccountPool extends string, TAccountLpMint extends string, TAccountPoolBaseVault extends string, TAccountPoolQuoteVault extends string, TAccountPoolLpAccount extends string, TAccountCreatorFeeConfig extends string, TAccountQuoteTokenProgram extends string, TAccountDexCreatorFeeConfig extends string>(input: MigrateInput<TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, TAccountCreatorFeeConfig, TAccountQuoteTokenProgram, TAccountDexCreatorFeeConfig>): MigrateInstruction<typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountCaller, TAccountBondingCurve, TAccountBaseMint, TAccountQuoteMint, TAccountBaseVault, TAccountQuoteVault, "84qj5FPZZdXkQy8mfowyg6RBZ3XKuTds6XS4ZYT1sfDX", "932vp5VTARoqoAKNgLSawfCsAx43jUJ5YURggmXBX6V", TAccountPool, TAccountLpMint, TAccountPoolBaseVault, TAccountPoolQuoteVault, TAccountPoolLpAccount, "4pTDYKRFdmxTQYFceGZkzPGd3kb8ShMA9n6XKRaPZn8t", "7rrCurqdWFesbzwtYPo95fM8waTtVXgXwCom45x1sfNX", TAccountCreatorFeeConfig, "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountQuoteTokenProgram, "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", "11111111111111111111111111111111", "FJVebqCthxH6JM8vvkJb7yRYA7Emsib1C1vu4ZePSP3T", "5R1uFyEE4oxqkm7hJDqHq6gXaLVF9dxeF3LF4yz1sfLP", TAccountDexCreatorFeeConfig>;
2775
2818
  type ParsedMigrateInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2776
2819
  programAddress: Address<TProgram>;
2777
2820
  accounts: {
@@ -2797,6 +2840,7 @@ type ParsedMigrateInstruction<TProgram extends string = typeof SEND_LAUNCHPAD_PR
2797
2840
  systemProgram: TAccountMetas[19];
2798
2841
  eventAuthority: TAccountMetas[20];
2799
2842
  program: TAccountMetas[21];
2843
+ dexCreatorFeeConfig: TAccountMetas[22];
2800
2844
  };
2801
2845
  data: MigrateInstructionData;
2802
2846
  };
@@ -3056,6 +3100,7 @@ type SendLaunchpadPluginInstructions = {
3056
3100
  type SendLaunchpadPluginPdas = {
3057
3101
  bondingCurve: typeof findBondingCurvePda;
3058
3102
  eventAuthority: typeof findEventAuthorityPda$1;
3103
+ creatorFeeConfig: typeof findCreatorFeeConfigPda;
3059
3104
  rewardAccrual: typeof findRewardAccrualPda;
3060
3105
  globalConfig: typeof findGlobalConfigPda$1;
3061
3106
  wsolRewardAccrual: typeof findWsolRewardAccrualPda;
@@ -3076,8 +3121,6 @@ interface MigrateParams {
3076
3121
  caller: TransactionSigner;
3077
3122
  baseMint: Address;
3078
3123
  quoteMint: Address;
3079
- /** `bondingCurve.creatorFeeConfig`. `migrate` rejects any other address. */
3080
- creatorFeeConfig: Address;
3081
3124
  quoteTokenProgram: Address;
3082
3125
  }
3083
3126
  declare function buildMigrateInstruction(params: MigrateParams): Promise<Instruction>;
@@ -3268,68 +3311,6 @@ declare function fetchAllAltRegistry(rpc: Parameters<typeof fetchEncodedAccounts
3268
3311
  declare function fetchAllMaybeAltRegistry(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<AltRegistry>[]>;
3269
3312
  declare function getAltRegistrySize(): number;
3270
3313
  //#endregion
3271
- //#region src/nexus/generated/accounts/creatorFeeConfig.d.ts
3272
- declare const CREATOR_FEE_CONFIG_DISCRIMINATOR: ReadonlyUint8Array;
3273
- declare function getCreatorFeeConfigDiscriminatorBytes(): ReadonlyUint8Array;
3274
- type CreatorFeeConfig = {
3275
- discriminator: ReadonlyUint8Array;
3276
- version: number;
3277
- bump: number;
3278
- platformIndex: number;
3279
- platformId: ReadonlyUint8Array;
3280
- quoteMint: Address;
3281
- reserved: ReadonlyUint8Array;
3282
- };
3283
- type CreatorFeeConfigArgs = {
3284
- version: number;
3285
- bump: number;
3286
- platformIndex: number;
3287
- platformId: ReadonlyUint8Array;
3288
- quoteMint: Address;
3289
- reserved: ReadonlyUint8Array;
3290
- };
3291
- /** Gets the encoder for {@link CreatorFeeConfigArgs} account data. */
3292
- declare function getCreatorFeeConfigEncoder(): FixedSizeEncoder<CreatorFeeConfigArgs>;
3293
- /** Gets the decoder for {@link CreatorFeeConfig} account data. */
3294
- declare function getCreatorFeeConfigDecoder(): FixedSizeDecoder<CreatorFeeConfig>;
3295
- /** Gets the codec for {@link CreatorFeeConfig} account data. */
3296
- declare function getCreatorFeeConfigCodec(): FixedSizeCodec<CreatorFeeConfigArgs, CreatorFeeConfig>;
3297
- /**
3298
- * Decodes a `CreatorFeeConfig` account, throwing when another program owns it or its discriminator
3299
- * does not match.
3300
- *
3301
- * Unlike {@link fetchMaybeCreatorFeeConfig}, this throws for an address that only holds lamports rather
3302
- * than returning the non-existing variant: an account passed as existing must never come back as that
3303
- * variant typed as an `Account`. Apply {@link accountIsCreated} first to accounts fetched another way.
3304
- */
3305
- declare function decodeCreatorFeeConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<CreatorFeeConfig, TAddress>;
3306
- /**
3307
- * Decodes a `CreatorFeeConfig` account, throwing when another program owns it or its discriminator
3308
- * does not match.
3309
- *
3310
- * Unlike {@link fetchMaybeCreatorFeeConfig}, this throws for an address that only holds lamports rather
3311
- * than returning the non-existing variant: an account passed as existing must never come back as that
3312
- * variant typed as an `Account`. Apply {@link accountIsCreated} first to accounts fetched another way.
3313
- */
3314
- declare function decodeCreatorFeeConfig<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<CreatorFeeConfig, TAddress>;
3315
- /** Fetches a `CreatorFeeConfig` account, throwing when it does not exist or only holds lamports. */
3316
- declare function fetchCreatorFeeConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<CreatorFeeConfig, TAddress>>;
3317
- /**
3318
- * Fetches a `CreatorFeeConfig` account, or the non-existing variant when the address holds no
3319
- * account or only lamports (see {@link accountIsCreated}).
3320
- * {@link decodeCreatorFeeConfig} throws for a lamports-only account instead.
3321
- */
3322
- declare function fetchMaybeCreatorFeeConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<CreatorFeeConfig, TAddress>>;
3323
- /** Fetches `CreatorFeeConfig` accounts, throwing when any does not exist or only holds lamports. */
3324
- declare function fetchAllCreatorFeeConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<CreatorFeeConfig>[]>;
3325
- /**
3326
- * Fetches `CreatorFeeConfig` accounts, with the non-existing variant for each address that holds
3327
- * no account or only lamports (see {@link accountIsCreated}).
3328
- * {@link decodeCreatorFeeConfig} throws for a lamports-only account instead.
3329
- */
3330
- declare function fetchAllMaybeCreatorFeeConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<CreatorFeeConfig>[]>;
3331
- declare function getCreatorFeeConfigSize(): number;
3332
- //#endregion
3333
3314
  //#region src/nexus/generated/types/authPlatformEntry.d.ts
3334
3315
  type AuthPlatformEntry = {
3335
3316
  name: string;
@@ -3340,22 +3321,12 @@ declare function getAuthPlatformEntryEncoder(): Encoder<AuthPlatformEntryArgs>;
3340
3321
  declare function getAuthPlatformEntryDecoder(): Decoder<AuthPlatformEntry>;
3341
3322
  declare function getAuthPlatformEntryCodec(): Codec<AuthPlatformEntryArgs, AuthPlatformEntry>;
3342
3323
  //#endregion
3343
- //#region src/nexus/generated/types/callerType.d.ts
3344
- declare enum CallerType {
3345
- PlatformBondingCurve = 0,
3346
- PlatformPool = 1
3347
- }
3348
- type CallerTypeArgs = CallerType;
3349
- declare function getCallerTypeEncoder(): FixedSizeEncoder<CallerTypeArgs>;
3350
- declare function getCallerTypeDecoder(): FixedSizeDecoder<CallerType>;
3351
- declare function getCallerTypeCodec(): FixedSizeCodec<CallerTypeArgs, CallerType>;
3352
- //#endregion
3353
3324
  //#region src/nexus/generated/types/dexFees.d.ts
3354
3325
  type DexFees = {
3355
3326
  creationFeeCents: bigint;
3356
3327
  protocolFeeBps: number;
3357
3328
  lpFeeBps: number;
3358
- creatorFeeBps: number;
3329
+ maxCreatorFeeBps: number;
3359
3330
  feeDecaySeconds: number;
3360
3331
  feeDecayStartBps: number;
3361
3332
  };
@@ -3363,7 +3334,7 @@ type DexFeesArgs = {
3363
3334
  creationFeeCents: number | bigint;
3364
3335
  protocolFeeBps: number;
3365
3336
  lpFeeBps: number;
3366
- creatorFeeBps: number;
3337
+ maxCreatorFeeBps: number;
3367
3338
  feeDecaySeconds: number;
3368
3339
  feeDecayStartBps: number;
3369
3340
  };
@@ -3392,14 +3363,14 @@ declare function getFeeConfigCodec(): Codec<FeeConfigArgs, FeeConfig>;
3392
3363
  type LaunchpadFees = {
3393
3364
  creationFeeCents: bigint;
3394
3365
  protocolFeeBps: number;
3395
- creatorFeeBps: number;
3366
+ maxCreatorFeeBps: number;
3396
3367
  feeDecaySeconds: number;
3397
3368
  feeDecayStartBps: number;
3398
3369
  };
3399
3370
  type LaunchpadFeesArgs = {
3400
3371
  creationFeeCents: number | bigint;
3401
3372
  protocolFeeBps: number;
3402
- creatorFeeBps: number;
3373
+ maxCreatorFeeBps: number;
3403
3374
  feeDecaySeconds: number;
3404
3375
  feeDecayStartBps: number;
3405
3376
  };
@@ -3407,7 +3378,7 @@ declare function getLaunchpadFeesEncoder(): FixedSizeEncoder<LaunchpadFeesArgs>;
3407
3378
  declare function getLaunchpadFeesDecoder(): FixedSizeDecoder<LaunchpadFees>;
3408
3379
  declare function getLaunchpadFeesCodec(): FixedSizeCodec<LaunchpadFeesArgs, LaunchpadFees>;
3409
3380
  declare namespace index_d_exports$11 {
3410
- export { AuthPlatformEntry, AuthPlatformEntryArgs, CallerType, CallerTypeArgs, DexFees, DexFeesArgs, FeeConfig, FeeConfigArgs, LaunchpadFees, LaunchpadFeesArgs, getAuthPlatformEntryCodec, getAuthPlatformEntryDecoder, getAuthPlatformEntryEncoder, getCallerTypeCodec, getCallerTypeDecoder, getCallerTypeEncoder, getDexFeesCodec, getDexFeesDecoder, getDexFeesEncoder, getFeeConfigCodec, getFeeConfigDecoder, getFeeConfigEncoder, getLaunchpadFeesCodec, getLaunchpadFeesDecoder, getLaunchpadFeesEncoder };
3381
+ export { AuthPlatformEntry, AuthPlatformEntryArgs, DexFees, DexFeesArgs, FeeConfig, FeeConfigArgs, LaunchpadFees, LaunchpadFeesArgs, getAuthPlatformEntryCodec, getAuthPlatformEntryDecoder, getAuthPlatformEntryEncoder, getDexFeesCodec, getDexFeesDecoder, getDexFeesEncoder, getFeeConfigCodec, getFeeConfigDecoder, getFeeConfigEncoder, getLaunchpadFeesCodec, getLaunchpadFeesDecoder, getLaunchpadFeesEncoder };
3411
3382
  }
3412
3383
  //#endregion
3413
3384
  //#region src/nexus/generated/accounts/feePreset.d.ts
@@ -3549,6 +3520,7 @@ type PartnerConfig = {
3549
3520
  launchpad: LaunchpadFees;
3550
3521
  dex: DexFees;
3551
3522
  platformConfig: Address;
3523
+ allowedCreatorFeeModes: number;
3552
3524
  reserved: ReadonlyUint8Array;
3553
3525
  };
3554
3526
  type PartnerConfigArgs = {
@@ -3560,6 +3532,7 @@ type PartnerConfigArgs = {
3560
3532
  launchpad: LaunchpadFeesArgs;
3561
3533
  dex: DexFeesArgs;
3562
3534
  platformConfig: Address;
3535
+ allowedCreatorFeeModes: number;
3563
3536
  reserved: ReadonlyUint8Array;
3564
3537
  };
3565
3538
  /** Gets the encoder for {@link PartnerConfigArgs} account data. */
@@ -3745,7 +3718,7 @@ declare function getRewardStateSize(): number;
3745
3718
  //#endregion
3746
3719
  //#region src/nexus/generated/accounts/sendNexus.accounts.d.ts
3747
3720
  /** Account kinds of the sendNexus program. */
3748
- type SendNexusAccountType = "altRegistry" | "creatorFeeConfig" | "feePreset" | "globalConfig" | "partnerConfig" | "partnerMetadata" | "rewardState" | "stakingConfig" | "userRewardDebt" | "userStakePosition";
3721
+ type SendNexusAccountType = "altRegistry" | "feePreset" | "globalConfig" | "partnerConfig" | "partnerMetadata" | "rewardState" | "stakingConfig" | "userRewardDebt" | "userStakePosition";
3749
3722
  /**
3750
3723
  * Identifies sendNexus account data by its discriminators.
3751
3724
  * Returns `null` when the account belongs to another program or the data matches no known account.
@@ -3957,7 +3930,7 @@ declare function fetchAllUserStakePosition(rpc: Parameters<typeof fetchEncodedAc
3957
3930
  declare function fetchAllMaybeUserStakePosition(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<UserStakePosition>[]>;
3958
3931
  declare function getUserStakePositionSize(): number;
3959
3932
  declare namespace index_d_exports$10 {
3960
- export { ALT_REGISTRY_DISCRIMINATOR, AltRegistry, AltRegistryArgs, CREATOR_FEE_CONFIG_DISCRIMINATOR, CreatorFeeConfig, CreatorFeeConfigArgs, FEE_PRESET_DISCRIMINATOR, FeePreset, FeePresetArgs, GLOBAL_CONFIG_DISCRIMINATOR, GlobalConfig, GlobalConfigArgs, PARTNER_CONFIG_DISCRIMINATOR, PARTNER_METADATA_DISCRIMINATOR, PartnerConfig, PartnerConfigArgs, PartnerMetadata, PartnerMetadataArgs, REWARD_STATE_DISCRIMINATOR, RewardState, RewardStateArgs, STAKING_CONFIG_DISCRIMINATOR, SendNexusAccountType, StakingConfig, StakingConfigArgs, USER_REWARD_DEBT_DISCRIMINATOR, USER_STAKE_POSITION_DISCRIMINATOR, UserRewardDebt, UserRewardDebtArgs, UserStakePosition, UserStakePositionArgs, decodeAltRegistry, decodeCreatorFeeConfig, decodeFeePreset, decodeGlobalConfig, decodePartnerConfig, decodePartnerMetadata, decodeRewardState, decodeStakingConfig, decodeUserRewardDebt, decodeUserStakePosition, fetchAllAltRegistry, fetchAllCreatorFeeConfig, fetchAllFeePreset, fetchAllGlobalConfig, fetchAllMaybeAltRegistry, fetchAllMaybeCreatorFeeConfig, fetchAllMaybeFeePreset, fetchAllMaybeGlobalConfig, fetchAllMaybePartnerConfig, fetchAllMaybePartnerMetadata, fetchAllMaybeRewardState, fetchAllMaybeStakingConfig, fetchAllMaybeUserRewardDebt, fetchAllMaybeUserStakePosition, fetchAllPartnerConfig, fetchAllPartnerMetadata, fetchAllRewardState, fetchAllStakingConfig, fetchAllUserRewardDebt, fetchAllUserStakePosition, fetchAltRegistry, fetchCreatorFeeConfig, fetchFeePreset, fetchGlobalConfig, fetchMaybeAltRegistry, fetchMaybeCreatorFeeConfig, fetchMaybeFeePreset, fetchMaybeGlobalConfig, fetchMaybePartnerConfig, fetchMaybePartnerMetadata, fetchMaybeRewardState, fetchMaybeStakingConfig, fetchMaybeUserRewardDebt, fetchMaybeUserStakePosition, fetchPartnerConfig, fetchPartnerMetadata, fetchRewardState, fetchStakingConfig, fetchUserRewardDebt, fetchUserStakePosition, getAltRegistryCodec, getAltRegistryDecoder, getAltRegistryDiscriminatorBytes, getAltRegistryEncoder, getAltRegistrySize, getCreatorFeeConfigCodec, getCreatorFeeConfigDecoder, getCreatorFeeConfigDiscriminatorBytes, getCreatorFeeConfigEncoder, getCreatorFeeConfigSize, getFeePresetCodec, getFeePresetDecoder, getFeePresetDiscriminatorBytes, getFeePresetEncoder, getGlobalConfigCodec, getGlobalConfigDecoder, getGlobalConfigDiscriminatorBytes, getGlobalConfigEncoder, getPartnerConfigCodec, getPartnerConfigDecoder, getPartnerConfigDiscriminatorBytes, getPartnerConfigEncoder, getPartnerConfigSize, getPartnerMetadataCodec, getPartnerMetadataDecoder, getPartnerMetadataDiscriminatorBytes, getPartnerMetadataEncoder, getRewardStateCodec, getRewardStateDecoder, getRewardStateDiscriminatorBytes, getRewardStateEncoder, getRewardStateSize, getStakingConfigCodec, getStakingConfigDecoder, getStakingConfigDiscriminatorBytes, getStakingConfigEncoder, getStakingConfigSize, getUserRewardDebtCodec, getUserRewardDebtDecoder, getUserRewardDebtDiscriminatorBytes, getUserRewardDebtEncoder, getUserRewardDebtSize, getUserStakePositionCodec, getUserStakePositionDecoder, getUserStakePositionDiscriminatorBytes, getUserStakePositionEncoder, getUserStakePositionSize, identifySendNexusAccount };
3933
+ export { ALT_REGISTRY_DISCRIMINATOR, AltRegistry, AltRegistryArgs, FEE_PRESET_DISCRIMINATOR, FeePreset, FeePresetArgs, GLOBAL_CONFIG_DISCRIMINATOR, GlobalConfig, GlobalConfigArgs, PARTNER_CONFIG_DISCRIMINATOR, PARTNER_METADATA_DISCRIMINATOR, PartnerConfig, PartnerConfigArgs, PartnerMetadata, PartnerMetadataArgs, REWARD_STATE_DISCRIMINATOR, RewardState, RewardStateArgs, STAKING_CONFIG_DISCRIMINATOR, SendNexusAccountType, StakingConfig, StakingConfigArgs, USER_REWARD_DEBT_DISCRIMINATOR, USER_STAKE_POSITION_DISCRIMINATOR, UserRewardDebt, UserRewardDebtArgs, UserStakePosition, UserStakePositionArgs, decodeAltRegistry, decodeFeePreset, decodeGlobalConfig, decodePartnerConfig, decodePartnerMetadata, decodeRewardState, decodeStakingConfig, decodeUserRewardDebt, decodeUserStakePosition, fetchAllAltRegistry, fetchAllFeePreset, fetchAllGlobalConfig, fetchAllMaybeAltRegistry, fetchAllMaybeFeePreset, fetchAllMaybeGlobalConfig, fetchAllMaybePartnerConfig, fetchAllMaybePartnerMetadata, fetchAllMaybeRewardState, fetchAllMaybeStakingConfig, fetchAllMaybeUserRewardDebt, fetchAllMaybeUserStakePosition, fetchAllPartnerConfig, fetchAllPartnerMetadata, fetchAllRewardState, fetchAllStakingConfig, fetchAllUserRewardDebt, fetchAllUserStakePosition, fetchAltRegistry, fetchFeePreset, fetchGlobalConfig, fetchMaybeAltRegistry, fetchMaybeFeePreset, fetchMaybeGlobalConfig, fetchMaybePartnerConfig, fetchMaybePartnerMetadata, fetchMaybeRewardState, fetchMaybeStakingConfig, fetchMaybeUserRewardDebt, fetchMaybeUserStakePosition, fetchPartnerConfig, fetchPartnerMetadata, fetchRewardState, fetchStakingConfig, fetchUserRewardDebt, fetchUserStakePosition, getAltRegistryCodec, getAltRegistryDecoder, getAltRegistryDiscriminatorBytes, getAltRegistryEncoder, getAltRegistrySize, getFeePresetCodec, getFeePresetDecoder, getFeePresetDiscriminatorBytes, getFeePresetEncoder, getGlobalConfigCodec, getGlobalConfigDecoder, getGlobalConfigDiscriminatorBytes, getGlobalConfigEncoder, getPartnerConfigCodec, getPartnerConfigDecoder, getPartnerConfigDiscriminatorBytes, getPartnerConfigEncoder, getPartnerConfigSize, getPartnerMetadataCodec, getPartnerMetadataDecoder, getPartnerMetadataDiscriminatorBytes, getPartnerMetadataEncoder, getRewardStateCodec, getRewardStateDecoder, getRewardStateDiscriminatorBytes, getRewardStateEncoder, getRewardStateSize, getStakingConfigCodec, getStakingConfigDecoder, getStakingConfigDiscriminatorBytes, getStakingConfigEncoder, getStakingConfigSize, getUserRewardDebtCodec, getUserRewardDebtDecoder, getUserRewardDebtDiscriminatorBytes, getUserRewardDebtEncoder, getUserRewardDebtSize, getUserStakePositionCodec, getUserStakePositionDecoder, getUserStakePositionDiscriminatorBytes, getUserStakePositionEncoder, getUserStakePositionSize, identifySendNexusAccount };
3961
3934
  }
3962
3935
  //#endregion
3963
3936
  //#region src/nexus/generated/events/anchorEventCpiDiscriminator.framing.d.ts
@@ -4215,17 +4188,21 @@ declare const SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT = 7009;
4215
4188
  declare const SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY = 7010;
4216
4189
  /** NothingToClaim: Nothing to claim */
4217
4190
  declare const SEND_NEXUS_ERROR__NOTHING_TO_CLAIM = 7011;
4218
- /** InvalidCreatorId: Creator identity is not a decodable wallet address */
4219
- declare const SEND_NEXUS_ERROR__INVALID_CREATOR_ID = 7012;
4191
+ /** Unused7012: Unused */
4192
+ declare const SEND_NEXUS_ERROR__UNUSED7012 = 7012;
4220
4193
  /** QuoteMintPriceUnset: Quote mint has no USDC price on its nexus reward state */
4221
4194
  declare const SEND_NEXUS_ERROR__QUOTE_MINT_PRICE_UNSET = 7013;
4222
4195
  /** TransferFeeNotSettleable: Token-2022 transfer fee schedule cannot settle the exact amount */
4223
4196
  declare const SEND_NEXUS_ERROR__TRANSFER_FEE_NOT_SETTLEABLE = 7014;
4197
+ /** CreatorFeeTooHigh: Creator fee exceeds the partner's maximum */
4198
+ declare const SEND_NEXUS_ERROR__CREATOR_FEE_TOO_HIGH = 7015;
4199
+ /** CreatorFeeModeNotAllowed: Creator fee mode is not allowed by the partner config */
4200
+ declare const SEND_NEXUS_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED = 7016;
4224
4201
  /** InsufficientLiquidity: Insufficient liquidity */
4225
4202
  declare const SEND_NEXUS_ERROR__INSUFFICIENT_LIQUIDITY = 7100;
4226
4203
  /** InvalidAmount: Invalid amount */
4227
4204
  declare const SEND_NEXUS_ERROR__INVALID_AMOUNT = 7101;
4228
- type SendNexusError = typeof SEND_NEXUS_ERROR__AMBIGUOUS_FEE_SOURCE | typeof SEND_NEXUS_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_NEXUS_ERROR__DUPLICATE_AUTH_PLATFORM_NAME | typeof SEND_NEXUS_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_NEXUS_ERROR__INSUFFICIENT_STAKE | typeof SEND_NEXUS_ERROR__INVALID_AMOUNT | typeof SEND_NEXUS_ERROR__INVALID_AUTHORITY | typeof SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_INDEX | typeof SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_NAME | typeof SEND_NEXUS_ERROR__INVALID_CREATOR_ID | typeof SEND_NEXUS_ERROR__INVALID_DESTINATION | typeof SEND_NEXUS_ERROR__INVALID_FEE_PRESET | typeof SEND_NEXUS_ERROR__INVALID_MINT | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_CONFIG | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_NAME | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_NOTE | typeof SEND_NEXUS_ERROR__INVALID_PLATFORM_CONFIG | typeof SEND_NEXUS_ERROR__INVALID_PRESET_INDEX | typeof SEND_NEXUS_ERROR__INVALID_PRESET_NAME | typeof SEND_NEXUS_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_NEXUS_ERROR__INVALID_PYTH_FEED | typeof SEND_NEXUS_ERROR__INVALID_REWARD_ACCRUAL | typeof SEND_NEXUS_ERROR__INVALID_REWARD_MINT | typeof SEND_NEXUS_ERROR__INVALID_REWARD_STATE | typeof SEND_NEXUS_ERROR__INVALID_SLUG | typeof SEND_NEXUS_ERROR__INVALID_STAKING_MINT | typeof SEND_NEXUS_ERROR__INVALID_USDC_PRICE | typeof SEND_NEXUS_ERROR__INVALID_VAULT | typeof SEND_NEXUS_ERROR__MISSING_FEE_SOURCE | typeof SEND_NEXUS_ERROR__NOTHING_TO_CLAIM | typeof SEND_NEXUS_ERROR__PARTNER_NOT_ON_PRESET | typeof SEND_NEXUS_ERROR__PRESET_PLATFORM_MISMATCH | typeof SEND_NEXUS_ERROR__PROGRAM_PAUSED | typeof SEND_NEXUS_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_NEXUS_ERROR__RESERVED_PARTNER | typeof SEND_NEXUS_ERROR__REWARDS_NOT_SETTLED | typeof SEND_NEXUS_ERROR__STAKING_ALREADY_ENABLED | typeof SEND_NEXUS_ERROR__STAKING_MINT_ALREADY_BOUND | typeof SEND_NEXUS_ERROR__STAKING_NOT_ENABLED | typeof SEND_NEXUS_ERROR__TEXT_TOO_LONG | typeof SEND_NEXUS_ERROR__TOO_MANY_AUTH_PLATFORMS | typeof SEND_NEXUS_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_NEXUS_ERROR__UNAUTHORIZED | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
4205
+ type SendNexusError = typeof SEND_NEXUS_ERROR__AMBIGUOUS_FEE_SOURCE | typeof SEND_NEXUS_ERROR__ARITHMETIC_OVERFLOW | typeof SEND_NEXUS_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED | typeof SEND_NEXUS_ERROR__CREATOR_FEE_TOO_HIGH | typeof SEND_NEXUS_ERROR__DUPLICATE_AUTH_PLATFORM_NAME | typeof SEND_NEXUS_ERROR__INSUFFICIENT_LIQUIDITY | typeof SEND_NEXUS_ERROR__INSUFFICIENT_STAKE | typeof SEND_NEXUS_ERROR__INVALID_AMOUNT | typeof SEND_NEXUS_ERROR__INVALID_AUTHORITY | typeof SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_INDEX | typeof SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_NAME | typeof SEND_NEXUS_ERROR__INVALID_DESTINATION | typeof SEND_NEXUS_ERROR__INVALID_FEE_PRESET | typeof SEND_NEXUS_ERROR__INVALID_MINT | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_CONFIG | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_NAME | typeof SEND_NEXUS_ERROR__INVALID_PARTNER_NOTE | typeof SEND_NEXUS_ERROR__INVALID_PLATFORM_CONFIG | typeof SEND_NEXUS_ERROR__INVALID_PRESET_INDEX | typeof SEND_NEXUS_ERROR__INVALID_PRESET_NAME | typeof SEND_NEXUS_ERROR__INVALID_PYTH_ACCOUNT | typeof SEND_NEXUS_ERROR__INVALID_PYTH_FEED | typeof SEND_NEXUS_ERROR__INVALID_REWARD_ACCRUAL | typeof SEND_NEXUS_ERROR__INVALID_REWARD_MINT | typeof SEND_NEXUS_ERROR__INVALID_REWARD_STATE | typeof SEND_NEXUS_ERROR__INVALID_SLUG | typeof SEND_NEXUS_ERROR__INVALID_STAKING_MINT | typeof SEND_NEXUS_ERROR__INVALID_USDC_PRICE | typeof SEND_NEXUS_ERROR__INVALID_VAULT | typeof SEND_NEXUS_ERROR__MISSING_FEE_SOURCE | typeof SEND_NEXUS_ERROR__NOTHING_TO_CLAIM | typeof SEND_NEXUS_ERROR__PARTNER_NOT_ON_PRESET | typeof SEND_NEXUS_ERROR__PRESET_PLATFORM_MISMATCH | typeof SEND_NEXUS_ERROR__PROGRAM_PAUSED | typeof SEND_NEXUS_ERROR__QUOTE_MINT_PRICE_UNSET | typeof SEND_NEXUS_ERROR__RESERVED_PARTNER | typeof SEND_NEXUS_ERROR__REWARDS_NOT_SETTLED | typeof SEND_NEXUS_ERROR__STAKING_ALREADY_ENABLED | typeof SEND_NEXUS_ERROR__STAKING_MINT_ALREADY_BOUND | typeof SEND_NEXUS_ERROR__STAKING_NOT_ENABLED | typeof SEND_NEXUS_ERROR__TEXT_TOO_LONG | typeof SEND_NEXUS_ERROR__TOO_MANY_AUTH_PLATFORMS | typeof SEND_NEXUS_ERROR__TRANSFER_FEE_NOT_SETTLEABLE | typeof SEND_NEXUS_ERROR__UNAUTHORIZED | typeof SEND_NEXUS_ERROR__UNUSED7012 | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_INVALID | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT | typeof SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM;
4229
4206
  declare const sendNexusErrorMessages: Record<SendNexusError, string>;
4230
4207
  declare function getSendNexusErrorMessage(code: SendNexusError): string;
4231
4208
  declare function isSendNexusError<TProgramErrorCode extends SendNexusError>(error: unknown, transactionMessage: {
@@ -4238,7 +4215,7 @@ declare function isSendNexusError<TProgramErrorCode extends SendNexusError>(erro
4238
4215
  }>;
4239
4216
  }>;
4240
4217
  declare namespace index_d_exports$8 {
4241
- export { SEND_NEXUS_ERROR__AMBIGUOUS_FEE_SOURCE, SEND_NEXUS_ERROR__ARITHMETIC_OVERFLOW, SEND_NEXUS_ERROR__DUPLICATE_AUTH_PLATFORM_NAME, SEND_NEXUS_ERROR__INSUFFICIENT_LIQUIDITY, SEND_NEXUS_ERROR__INSUFFICIENT_STAKE, SEND_NEXUS_ERROR__INVALID_AMOUNT, SEND_NEXUS_ERROR__INVALID_AUTHORITY, SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_INDEX, SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_NAME, SEND_NEXUS_ERROR__INVALID_CREATOR_ID, SEND_NEXUS_ERROR__INVALID_DESTINATION, SEND_NEXUS_ERROR__INVALID_FEE_PRESET, SEND_NEXUS_ERROR__INVALID_MINT, SEND_NEXUS_ERROR__INVALID_PARTNER_CONFIG, SEND_NEXUS_ERROR__INVALID_PARTNER_NAME, SEND_NEXUS_ERROR__INVALID_PARTNER_NOTE, SEND_NEXUS_ERROR__INVALID_PLATFORM_CONFIG, SEND_NEXUS_ERROR__INVALID_PRESET_INDEX, SEND_NEXUS_ERROR__INVALID_PRESET_NAME, SEND_NEXUS_ERROR__INVALID_PYTH_ACCOUNT, SEND_NEXUS_ERROR__INVALID_PYTH_FEED, SEND_NEXUS_ERROR__INVALID_REWARD_ACCRUAL, SEND_NEXUS_ERROR__INVALID_REWARD_MINT, SEND_NEXUS_ERROR__INVALID_REWARD_STATE, SEND_NEXUS_ERROR__INVALID_SLUG, SEND_NEXUS_ERROR__INVALID_STAKING_MINT, SEND_NEXUS_ERROR__INVALID_USDC_PRICE, SEND_NEXUS_ERROR__INVALID_VAULT, SEND_NEXUS_ERROR__MISSING_FEE_SOURCE, SEND_NEXUS_ERROR__NOTHING_TO_CLAIM, SEND_NEXUS_ERROR__PARTNER_NOT_ON_PRESET, SEND_NEXUS_ERROR__PRESET_PLATFORM_MISMATCH, SEND_NEXUS_ERROR__PROGRAM_PAUSED, SEND_NEXUS_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_NEXUS_ERROR__RESERVED_PARTNER, SEND_NEXUS_ERROR__REWARDS_NOT_SETTLED, SEND_NEXUS_ERROR__STAKING_ALREADY_ENABLED, SEND_NEXUS_ERROR__STAKING_MINT_ALREADY_BOUND, SEND_NEXUS_ERROR__STAKING_NOT_ENABLED, SEND_NEXUS_ERROR__TEXT_TOO_LONG, SEND_NEXUS_ERROR__TOO_MANY_AUTH_PLATFORMS, SEND_NEXUS_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_NEXUS_ERROR__UNAUTHORIZED, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendNexusError, getSendNexusErrorMessage, isSendNexusError, sendNexusErrorMessages };
4218
+ export { SEND_NEXUS_ERROR__AMBIGUOUS_FEE_SOURCE, SEND_NEXUS_ERROR__ARITHMETIC_OVERFLOW, SEND_NEXUS_ERROR__CREATOR_FEE_MODE_NOT_ALLOWED, SEND_NEXUS_ERROR__CREATOR_FEE_TOO_HIGH, SEND_NEXUS_ERROR__DUPLICATE_AUTH_PLATFORM_NAME, SEND_NEXUS_ERROR__INSUFFICIENT_LIQUIDITY, SEND_NEXUS_ERROR__INSUFFICIENT_STAKE, SEND_NEXUS_ERROR__INVALID_AMOUNT, SEND_NEXUS_ERROR__INVALID_AUTHORITY, SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_INDEX, SEND_NEXUS_ERROR__INVALID_AUTH_PLATFORM_NAME, SEND_NEXUS_ERROR__INVALID_DESTINATION, SEND_NEXUS_ERROR__INVALID_FEE_PRESET, SEND_NEXUS_ERROR__INVALID_MINT, SEND_NEXUS_ERROR__INVALID_PARTNER_CONFIG, SEND_NEXUS_ERROR__INVALID_PARTNER_NAME, SEND_NEXUS_ERROR__INVALID_PARTNER_NOTE, SEND_NEXUS_ERROR__INVALID_PLATFORM_CONFIG, SEND_NEXUS_ERROR__INVALID_PRESET_INDEX, SEND_NEXUS_ERROR__INVALID_PRESET_NAME, SEND_NEXUS_ERROR__INVALID_PYTH_ACCOUNT, SEND_NEXUS_ERROR__INVALID_PYTH_FEED, SEND_NEXUS_ERROR__INVALID_REWARD_ACCRUAL, SEND_NEXUS_ERROR__INVALID_REWARD_MINT, SEND_NEXUS_ERROR__INVALID_REWARD_STATE, SEND_NEXUS_ERROR__INVALID_SLUG, SEND_NEXUS_ERROR__INVALID_STAKING_MINT, SEND_NEXUS_ERROR__INVALID_USDC_PRICE, SEND_NEXUS_ERROR__INVALID_VAULT, SEND_NEXUS_ERROR__MISSING_FEE_SOURCE, SEND_NEXUS_ERROR__NOTHING_TO_CLAIM, SEND_NEXUS_ERROR__PARTNER_NOT_ON_PRESET, SEND_NEXUS_ERROR__PRESET_PLATFORM_MISMATCH, SEND_NEXUS_ERROR__PROGRAM_PAUSED, SEND_NEXUS_ERROR__QUOTE_MINT_PRICE_UNSET, SEND_NEXUS_ERROR__RESERVED_PARTNER, SEND_NEXUS_ERROR__REWARDS_NOT_SETTLED, SEND_NEXUS_ERROR__STAKING_ALREADY_ENABLED, SEND_NEXUS_ERROR__STAKING_MINT_ALREADY_BOUND, SEND_NEXUS_ERROR__STAKING_NOT_ENABLED, SEND_NEXUS_ERROR__TEXT_TOO_LONG, SEND_NEXUS_ERROR__TOO_MANY_AUTH_PLATFORMS, SEND_NEXUS_ERROR__TRANSFER_FEE_NOT_SETTLEABLE, SEND_NEXUS_ERROR__UNAUTHORIZED, SEND_NEXUS_ERROR__UNUSED7012, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_INVALID, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_AUTHORITY, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_MINT, SEND_NEXUS_ERROR__USER_TOKEN_ACCOUNT_WRONG_PROGRAM, SendNexusError, getSendNexusErrorMessage, isSendNexusError, sendNexusErrorMessages };
4242
4219
  }
4243
4220
  //#endregion
4244
4221
  //#region src/nexus/generated/instructions/claim.d.ts
@@ -4559,13 +4536,6 @@ declare namespace index_d_exports$7 {
4559
4536
  declare const ALT_REGISTRY_PDA_ADDRESS: Address<"8QbgorUFZXo6Nv6CTn3Xgf1bYiu8yy5NsJNvxr19JA9H">;
4560
4537
  declare function findAltRegistryPda(): ProgramDerivedAddress;
4561
4538
  //#endregion
4562
- //#region src/nexus/generated/pdas/creatorFeeConfig.d.ts
4563
- type CreatorFeeConfigSeeds = {
4564
- creatorHash: Address;
4565
- quoteMint: Address;
4566
- };
4567
- declare function findCreatorFeeConfigPda(seeds: CreatorFeeConfigSeeds): Promise<ProgramDerivedAddress>;
4568
- //#endregion
4569
4539
  //#region src/nexus/generated/pdas/defaultFeePreset.d.ts
4570
4540
  type DefaultFeePresetSeeds = {
4571
4541
  platformConfig: Address;
@@ -4639,7 +4609,7 @@ type UserStakePositionSeeds = {
4639
4609
  };
4640
4610
  declare function findUserStakePositionPda(seeds: UserStakePositionSeeds): Promise<ProgramDerivedAddress>;
4641
4611
  declare namespace index_d_exports$6 {
4642
- export { ALT_REGISTRY_PDA_ADDRESS, CreatorFeeConfigSeeds, DefaultFeePresetSeeds, DefaultPartnerMetadataSeeds, DefaultPartnerSeeds, EVENT_AUTHORITY_PDA_ADDRESS, FeePresetSeeds, GLOBAL_CONFIG_PDA_ADDRESS, PartnerConfigSeeds, PartnerMetadataSeeds, RewardStateSeeds, STAKING_CONFIG_PDA_ADDRESS, UserRewardDebtSeeds, UserStakePositionSeeds, findAltRegistryPda, findCreatorFeeConfigPda, findDefaultFeePresetPda, findDefaultPartnerMetadataPda, findDefaultPartnerPda, findEventAuthorityPda, findFeePresetPda, findGlobalConfigPda, findPartnerConfigPda, findPartnerMetadataPda, findRewardStatePda, findStakingConfigPda, findUserRewardDebtPda, findUserStakePositionPda };
4612
+ export { ALT_REGISTRY_PDA_ADDRESS, DefaultFeePresetSeeds, DefaultPartnerMetadataSeeds, DefaultPartnerSeeds, EVENT_AUTHORITY_PDA_ADDRESS, FeePresetSeeds, GLOBAL_CONFIG_PDA_ADDRESS, PartnerConfigSeeds, PartnerMetadataSeeds, RewardStateSeeds, STAKING_CONFIG_PDA_ADDRESS, UserRewardDebtSeeds, UserStakePositionSeeds, findAltRegistryPda, findDefaultFeePresetPda, findDefaultPartnerMetadataPda, findDefaultPartnerPda, findEventAuthorityPda, findFeePresetPda, findGlobalConfigPda, findPartnerConfigPda, findPartnerMetadataPda, findRewardStatePda, findStakingConfigPda, findUserRewardDebtPda, findUserStakePositionPda };
4643
4613
  }
4644
4614
  //#endregion
4645
4615
  //#region src/nexus/generated/plugins/sendNexus.d.ts
@@ -4654,7 +4624,6 @@ type SendNexusPlugin = {
4654
4624
  };
4655
4625
  type SendNexusPluginAccounts = {
4656
4626
  altRegistry: ReturnType<typeof getAltRegistryCodec> & SelfFetchFunctions<AltRegistryArgs, AltRegistry>;
4657
- creatorFeeConfig: ReturnType<typeof getCreatorFeeConfigCodec> & SelfFetchFunctions<CreatorFeeConfigArgs, CreatorFeeConfig>;
4658
4627
  feePreset: ReturnType<typeof getFeePresetCodec> & SelfFetchFunctions<FeePresetArgs, FeePreset>;
4659
4628
  globalConfig: ReturnType<typeof getGlobalConfigCodec> & SelfFetchFunctions<GlobalConfigArgs, GlobalConfig>;
4660
4629
  partnerConfig: ReturnType<typeof getPartnerConfigCodec> & SelfFetchFunctions<PartnerConfigArgs, PartnerConfig>;
@@ -4689,7 +4658,6 @@ type SendNexusPluginPdas = {
4689
4658
  userStakePosition: typeof findUserStakePositionPda;
4690
4659
  userRewardDebt: typeof findUserRewardDebtPda;
4691
4660
  eventAuthority: typeof findEventAuthorityPda;
4692
- creatorFeeConfig: typeof findCreatorFeeConfigPda;
4693
4661
  altRegistry: typeof findAltRegistryPda;
4694
4662
  };
4695
4663
  type SendNexusPluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
@@ -4706,10 +4674,12 @@ declare namespace fee_helpers_d_exports {
4706
4674
  /** Fetches the `PartnerConfig` of `partner` on `platformConfig`. Throws if it does not exist.
4707
4675
  * Use the `platformConfig` of the market you price. A partner's fees differ per platform. */
4708
4676
  declare function fetchPartnerFees(rpc: Rpc<GetAccountInfoApi>, partner: Address, platformConfig: Address): Promise<PartnerConfig>;
4709
- /** Returns the `feeBps` a trade pays: the standard rate plus the decay premium. `schedule` is the
4710
- * `PartnerConfig`'s `launchpad` for a curve or `dex` for a pool. `createdAt` is the curve's or
4711
- * pool's `createdAt`. Both times are in unix seconds. */
4712
- declare function effectiveFeeBps(schedule: LaunchpadFees | DexFees, createdAt: bigint, now: bigint): number;
4677
+ /** Returns the `feeBps` a trade pays: the standard rate plus the decay premium. The standard rate
4678
+ * is the protocol and LP rates of `schedule` plus `creatorFeeBps`. `schedule` is the
4679
+ * `PartnerConfig`'s `launchpad` for a curve or `dex` for a pool. `creatorFeeBps` and `createdAt`
4680
+ * are the curve's or pool's. `schedule.maxCreatorFeeBps` has no effect. `createdAt` and `now`
4681
+ * are in unix seconds. */
4682
+ declare function effectiveFeeBps(schedule: LaunchpadFees | DexFees, createdAt: bigint, now: bigint, creatorFeeBps: number): number;
4713
4683
  declare namespace staking_d_exports {
4714
4684
  export { ClaimRewardsParams, PendingReward, PrepareStakingParams, RewardMintRpc, RewardMintSource, SettleParams, StakeParams, UnstakeParams, WithdrawFeesAccounts, buildClaimRewardsInstructions, buildSettleInstructions, buildStakeInstruction, buildStakingPreflightInstructions, buildUnstakeInstruction, buildWithdrawFeesAccounts, fetchMissingUserRewardDebts, fetchPendingRewards, fetchSendMint, fetchStakingConfigData, fetchUserStakePositionData, getRewardMints, isFullySettled, isStakingMintBound };
4715
4685
  }
@@ -4871,17 +4841,6 @@ declare function accountIsCreated<TAccount extends EncodedAccount | MaybeEncoded
4871
4841
  readonly uncreated?: never;
4872
4842
  };
4873
4843
  //#endregion
4874
- //#region src/utils/creator-hash.d.ts
4875
- /** Returns the SHA-256 of `creatorPlatform` and `creatorId`, each prefixed with its byte length as a
4876
- * little-endian u32. Throws `RangeError` if `creatorPlatform` is more than 32 bytes. */
4877
- declare function creatorHashFromId(creatorPlatform: string, creatorId: string): Promise<Address>;
4878
- /** Pads `text` with NUL bytes to `length` bytes, the form of `CreatorFeeConfig.platformId`.
4879
- * Throws `RangeError` if `text` is longer. */
4880
- declare function encodeCreatorId(text: string, length: number): Uint8Array;
4881
- /** Removes the trailing NUL bytes and decodes the rest as UTF-8. Pass the result, not the padded
4882
- * bytes, to {@link creatorHashFromId}. */
4883
- declare function decodeCreatorId(bytes: ReadonlyUint8Array): string;
4884
- //#endregion
4885
4844
  //#region src/utils/mint-info.d.ts
4886
4845
  interface QuoteMintInfo {
4887
4846
  mint: Address;
@@ -4901,7 +4860,7 @@ declare function fetchQuoteMintInfos(rpc: Rpc<GetMultipleAccountsApi>, mints: re
4901
4860
  /** Derives the associated token account of `wallet` for `mint` under `tokenProgram`. */
4902
4861
  declare function findAssociatedTokenPda(wallet: Address, mint: Address, tokenProgram?: Address): Promise<ProgramDerivedAddress>;
4903
4862
  declare namespace index_d_exports$4 {
4904
- export { PartnerInput, QuoteMintInfo, accountIsCreated, creatorHashFromId, decodeCreatorId, encodeCreatorId, fetchQuoteMintInfo, fetchQuoteMintInfos, findAssociatedTokenPda };
4863
+ export { PartnerInput, QuoteMintInfo, accountIsCreated, fetchQuoteMintInfo, fetchQuoteMintInfos, findAssociatedTokenPda };
4905
4864
  }
4906
4865
  //#endregion
4907
4866
  export { constants_d_exports as constants, index_d_exports as dex, index_d_exports$1 as launchpad, index_d_exports$2 as math, index_d_exports$3 as nexus, platform_d_exports as platform, transfer_fee_d_exports as transferFee, index_d_exports$4 as utils };