/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { YVAULTS_PROGRAM_ADDRESS } from "../programs"; export declare const CHANGE_POOL_DISCRIMINATOR: Uint8Array; export declare function getChangePoolDiscriminatorBytes(): ReadonlyUint8Array; export type ChangePoolInstruction = string, TAccountStrategy extends string | AccountMeta = string, TAccountOldPosition extends string | AccountMeta = string, TAccountBaseVaultAuthority extends string | AccountMeta = string, TAccountNewPool extends string | AccountMeta = string, TAccountStrategyRewardVault0OrBaseVaultAuthority extends string | AccountMeta = string, TAccountStrategyRewardVault1OrBaseVaultAuthority extends string | AccountMeta = string, TAccountStrategyRewardVault2OrBaseVaultAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountAdminAuthority extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdminAuthority, TAccountStrategy extends string ? WritableAccount : TAccountStrategy, TAccountOldPosition extends string ? ReadonlyAccount : TAccountOldPosition, TAccountBaseVaultAuthority extends string ? ReadonlyAccount : TAccountBaseVaultAuthority, TAccountNewPool extends string ? ReadonlyAccount : TAccountNewPool, TAccountStrategyRewardVault0OrBaseVaultAuthority extends string ? ReadonlyAccount : TAccountStrategyRewardVault0OrBaseVaultAuthority, TAccountStrategyRewardVault1OrBaseVaultAuthority extends string ? ReadonlyAccount : TAccountStrategyRewardVault1OrBaseVaultAuthority, TAccountStrategyRewardVault2OrBaseVaultAuthority extends string ? ReadonlyAccount : TAccountStrategyRewardVault2OrBaseVaultAuthority, ...TRemainingAccounts ]>; export type ChangePoolInstructionData = { discriminator: ReadonlyUint8Array; }; export type ChangePoolInstructionDataArgs = {}; export declare function getChangePoolInstructionDataEncoder(): FixedSizeEncoder; export declare function getChangePoolInstructionDataDecoder(): FixedSizeDecoder; export declare function getChangePoolInstructionDataCodec(): FixedSizeCodec; export type ChangePoolInput = { adminAuthority: TransactionSigner; strategy: Address; oldPosition: Address; baseVaultAuthority: Address; newPool: Address; strategyRewardVault0OrBaseVaultAuthority: Address; strategyRewardVault1OrBaseVaultAuthority: Address; strategyRewardVault2OrBaseVaultAuthority: Address; }; export declare function getChangePoolInstruction(input: ChangePoolInput, config?: { programAddress?: TProgramAddress; }): ChangePoolInstruction; export type ParsedChangePoolInstruction = { programAddress: Address; accounts: { adminAuthority: TAccountMetas[0]; strategy: TAccountMetas[1]; oldPosition: TAccountMetas[2]; baseVaultAuthority: TAccountMetas[3]; newPool: TAccountMetas[4]; strategyRewardVault0OrBaseVaultAuthority: TAccountMetas[5]; strategyRewardVault1OrBaseVaultAuthority: TAccountMetas[6]; strategyRewardVault2OrBaseVaultAuthority: TAccountMetas[7]; }; data: ChangePoolInstructionData; }; export declare function parseChangePoolInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedChangePoolInstruction; //# sourceMappingURL=changePool.d.ts.map