/** * 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, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const INITIALIZE_POSITION_BUNDLE_WITH_METADATA_DISCRIMINATOR: ReadonlyUint8Array; export declare function getInitializePositionBundleWithMetadataDiscriminatorBytes(): ReadonlyUint8Array; export type InitializePositionBundleWithMetadataInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountPositionBundle extends string ? WritableAccount : TAccountPositionBundle, TAccountPositionBundleMint extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPositionBundleMint, TAccountPositionBundleMetadata extends string ? WritableAccount : TAccountPositionBundleMetadata, TAccountPositionBundleTokenAccount extends string ? WritableAccount : TAccountPositionBundleTokenAccount, TAccountPositionBundleOwner extends string ? ReadonlyAccount : TAccountPositionBundleOwner, TAccountFunder extends string ? WritableSignerAccount & AccountSignerMeta : TAccountFunder, TAccountMetadataUpdateAuth extends string ? ReadonlyAccount : TAccountMetadataUpdateAuth, TAccountTokenProgram extends string ? ReadonlyAccount : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount : TAccountRent, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount : TAccountAssociatedTokenProgram, TAccountMetadataProgram extends string ? ReadonlyAccount : TAccountMetadataProgram, ...TRemainingAccounts ]>; export interface InitializePositionBundleWithMetadataInstructionData { discriminator: ReadonlyUint8Array; } export type InitializePositionBundleWithMetadataInstructionDataArgs = {}; export declare function getInitializePositionBundleWithMetadataInstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializePositionBundleWithMetadataInstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializePositionBundleWithMetadataInstructionDataCodec(): FixedSizeCodec; export interface InitializePositionBundleWithMetadataInput { positionBundle: Address; positionBundleMint: TransactionSigner; positionBundleMetadata: Address; positionBundleTokenAccount: Address; positionBundleOwner: Address; funder: TransactionSigner; metadataUpdateAuth: Address; tokenProgram?: Address; systemProgram?: Address; rent?: Address; associatedTokenProgram?: Address; metadataProgram?: Address; } export declare function getInitializePositionBundleWithMetadataInstruction(input: InitializePositionBundleWithMetadataInput, config?: { programAddress?: TProgramAddress; }): InitializePositionBundleWithMetadataInstruction; export interface ParsedInitializePositionBundleWithMetadataInstruction { programAddress: Address; accounts: { positionBundle: TAccountMetas[0]; positionBundleMint: TAccountMetas[1]; positionBundleMetadata: TAccountMetas[2]; positionBundleTokenAccount: TAccountMetas[3]; positionBundleOwner: TAccountMetas[4]; funder: TAccountMetas[5]; metadataUpdateAuth: TAccountMetas[6]; tokenProgram: TAccountMetas[7]; systemProgram: TAccountMetas[8]; rent: TAccountMetas[9]; associatedTokenProgram: TAccountMetas[10]; metadataProgram: TAccountMetas[11]; }; data: InitializePositionBundleWithMetadataInstructionData; } export declare function parseInitializePositionBundleWithMetadataInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializePositionBundleWithMetadataInstruction; //# sourceMappingURL=initializePositionBundleWithMetadata.d.ts.map