import { InitializeCustomizablePoolParameters, InitializeCustomizablePoolParametersArgs } from "../types/initializeCustomizablePoolParameters.js"; import "../types/index.js"; import { CP_AMM_PROGRAM_ADDRESS } from "../programs/cpAmm.js"; import "../programs/index.js"; import { AccountMeta, AccountSignerMeta, Address, Codec, Decoder, Encoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit"; //#region src/generated/instructions/initializePoolWithDynamicConfig.d.ts declare const INITIALIZE_POOL_WITH_DYNAMIC_CONFIG_DISCRIMINATOR: ReadonlyUint8Array; declare function getInitializePoolWithDynamicConfigDiscriminatorBytes(): ReadonlyUint8Array; type InitializePoolWithDynamicConfigInstruction = string, TAccountPositionNftMint extends string | AccountMeta = string, TAccountPositionNftAccount extends string | AccountMeta = string, TAccountPayer extends string | AccountMeta = string, TAccountPoolCreatorAuthority extends string | AccountMeta = string, TAccountConfig extends string | AccountMeta = string, TAccountPoolAuthority extends string | AccountMeta = string, TAccountPool extends string | AccountMeta = string, TAccountPosition extends string | AccountMeta = string, TAccountTokenAMint extends string | AccountMeta = string, TAccountTokenBMint extends string | AccountMeta = string, TAccountTokenAVault extends string | AccountMeta = string, TAccountTokenBVault extends string | AccountMeta = string, TAccountPayerTokenA extends string | AccountMeta = string, TAccountPayerTokenB extends string | AccountMeta = string, TAccountTokenAProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountTokenBProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountToken2022Program extends string | AccountMeta = "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TAccountEventAuthority extends string | AccountMeta = string, TAccountProgram extends string | AccountMeta = "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[TAccountCreator extends string ? ReadonlyAccount : TAccountCreator, TAccountPositionNftMint extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPositionNftMint, TAccountPositionNftAccount extends string ? WritableAccount : TAccountPositionNftAccount, TAccountPayer extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPayer, TAccountPoolCreatorAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountPoolCreatorAuthority, TAccountConfig extends string ? ReadonlyAccount : TAccountConfig, TAccountPoolAuthority extends string ? ReadonlyAccount : TAccountPoolAuthority, TAccountPool extends string ? WritableAccount : TAccountPool, TAccountPosition extends string ? WritableAccount : TAccountPosition, TAccountTokenAMint extends string ? ReadonlyAccount : TAccountTokenAMint, TAccountTokenBMint extends string ? ReadonlyAccount : TAccountTokenBMint, TAccountTokenAVault extends string ? WritableAccount : TAccountTokenAVault, TAccountTokenBVault extends string ? WritableAccount : TAccountTokenBVault, TAccountPayerTokenA extends string ? WritableAccount : TAccountPayerTokenA, TAccountPayerTokenB extends string ? WritableAccount : TAccountPayerTokenB, TAccountTokenAProgram extends string ? ReadonlyAccount : TAccountTokenAProgram, TAccountTokenBProgram extends string ? ReadonlyAccount : TAccountTokenBProgram, TAccountToken2022Program extends string ? ReadonlyAccount : TAccountToken2022Program, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, TAccountEventAuthority extends string ? ReadonlyAccount : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount : TAccountProgram, ...TRemainingAccounts]>; type InitializePoolWithDynamicConfigInstructionData = { discriminator: ReadonlyUint8Array; params: InitializeCustomizablePoolParameters; }; type InitializePoolWithDynamicConfigInstructionDataArgs = { params: InitializeCustomizablePoolParametersArgs; }; declare function getInitializePoolWithDynamicConfigInstructionDataEncoder(): Encoder; declare function getInitializePoolWithDynamicConfigInstructionDataDecoder(): Decoder; declare function getInitializePoolWithDynamicConfigInstructionDataCodec(): Codec; type InitializePoolWithDynamicConfigAsyncInput = { creator: Address; /** position_nft_mint */ positionNftMint: TransactionSigner; /** position nft account */ positionNftAccount?: Address; /** Address paying to create the pool. Can be anyone */ payer: TransactionSigner; poolCreatorAuthority: TransactionSigner; /** Which config the pool belongs to. */ config: Address; poolAuthority?: Address; /** Initialize an account to store the pool state */ pool?: Address; position?: Address; /** Token a mint */ tokenAMint: Address; /** Token b mint */ tokenBMint: Address; /** Token a vault for the pool */ tokenAVault?: Address; /** Token b vault for the pool */ tokenBVault?: Address; /** payer token a account */ payerTokenA: Address; /** creator token b account */ payerTokenB: Address; /** Program to create mint account and mint tokens */ tokenAProgram?: Address; /** Program to create mint account and mint tokens */ tokenBProgram?: Address; /** Program to create NFT mint/token account and transfer for token22 account */ token2022Program?: Address; systemProgram?: Address; eventAuthority?: Address; program?: Address; params: InitializePoolWithDynamicConfigInstructionDataArgs["params"]; }; declare function getInitializePoolWithDynamicConfigInstructionAsync(input: InitializePoolWithDynamicConfigAsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; type InitializePoolWithDynamicConfigInput = { creator: Address; /** position_nft_mint */ positionNftMint: TransactionSigner; /** position nft account */ positionNftAccount: Address; /** Address paying to create the pool. Can be anyone */ payer: TransactionSigner; poolCreatorAuthority: TransactionSigner; /** Which config the pool belongs to. */ config: Address; poolAuthority: Address; /** Initialize an account to store the pool state */ pool: Address; position: Address; /** Token a mint */ tokenAMint: Address; /** Token b mint */ tokenBMint: Address; /** Token a vault for the pool */ tokenAVault: Address; /** Token b vault for the pool */ tokenBVault: Address; /** payer token a account */ payerTokenA: Address; /** creator token b account */ payerTokenB: Address; /** Program to create mint account and mint tokens */ tokenAProgram?: Address; /** Program to create mint account and mint tokens */ tokenBProgram?: Address; /** Program to create NFT mint/token account and transfer for token22 account */ token2022Program?: Address; systemProgram?: Address; eventAuthority: Address; program?: Address; params: InitializePoolWithDynamicConfigInstructionDataArgs["params"]; }; declare function getInitializePoolWithDynamicConfigInstruction(input: InitializePoolWithDynamicConfigInput, config?: { programAddress?: TProgramAddress; }): InitializePoolWithDynamicConfigInstruction; type ParsedInitializePoolWithDynamicConfigInstruction = { programAddress: Address; accounts: { creator: TAccountMetas[0]; /** position_nft_mint */ positionNftMint: TAccountMetas[1]; /** position nft account */ positionNftAccount: TAccountMetas[2]; /** Address paying to create the pool. Can be anyone */ payer: TAccountMetas[3]; poolCreatorAuthority: TAccountMetas[4]; /** Which config the pool belongs to. */ config: TAccountMetas[5]; poolAuthority: TAccountMetas[6]; /** Initialize an account to store the pool state */ pool: TAccountMetas[7]; position: TAccountMetas[8]; /** Token a mint */ tokenAMint: TAccountMetas[9]; /** Token b mint */ tokenBMint: TAccountMetas[10]; /** Token a vault for the pool */ tokenAVault: TAccountMetas[11]; /** Token b vault for the pool */ tokenBVault: TAccountMetas[12]; /** payer token a account */ payerTokenA: TAccountMetas[13]; /** creator token b account */ payerTokenB: TAccountMetas[14]; /** Program to create mint account and mint tokens */ tokenAProgram: TAccountMetas[15]; /** Program to create mint account and mint tokens */ tokenBProgram: TAccountMetas[16]; /** Program to create NFT mint/token account and transfer for token22 account */ token2022Program: TAccountMetas[17]; systemProgram: TAccountMetas[18]; eventAuthority: TAccountMetas[19]; program: TAccountMetas[20]; }; data: InitializePoolWithDynamicConfigInstructionData; }; declare function parseInitializePoolWithDynamicConfigInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializePoolWithDynamicConfigInstruction; //#endregion export { INITIALIZE_POOL_WITH_DYNAMIC_CONFIG_DISCRIMINATOR, InitializePoolWithDynamicConfigAsyncInput, InitializePoolWithDynamicConfigInput, InitializePoolWithDynamicConfigInstruction, InitializePoolWithDynamicConfigInstructionData, InitializePoolWithDynamicConfigInstructionDataArgs, ParsedInitializePoolWithDynamicConfigInstruction, getInitializePoolWithDynamicConfigDiscriminatorBytes, getInitializePoolWithDynamicConfigInstruction, getInitializePoolWithDynamicConfigInstructionAsync, getInitializePoolWithDynamicConfigInstructionDataCodec, getInitializePoolWithDynamicConfigInstructionDataDecoder, getInitializePoolWithDynamicConfigInstructionDataEncoder, parseInitializePoolWithDynamicConfigInstruction }; //# sourceMappingURL=initializePoolWithDynamicConfig.d.ts.map