/** * 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 Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { MPL_BUBBLEGUM_PROGRAM_ADDRESS } from '../programs'; import { type MetadataArgs, type MetadataArgsArgs } from '../types'; export declare const MINT_V1_DISCRIMINATOR: Uint8Array; export declare function getMintV1DiscriminatorBytes(): ReadonlyUint8Array; export type MintV1Instruction = string, TAccountLeafOwner extends string | AccountMeta = string, TAccountLeafDelegate extends string | AccountMeta = string, TAccountMerkleTree extends string | AccountMeta = string, TAccountPayer extends string | AccountMeta = string, TAccountTreeCreatorOrDelegate extends string | AccountMeta = string, TAccountLogWrapper extends string | AccountMeta = 'noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV', TAccountCompressionProgram extends string | AccountMeta = 'cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK', TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountTreeConfig extends string ? WritableAccount : TAccountTreeConfig, TAccountLeafOwner extends string ? ReadonlyAccount : TAccountLeafOwner, TAccountLeafDelegate extends string ? ReadonlyAccount : TAccountLeafDelegate, TAccountMerkleTree extends string ? WritableAccount : TAccountMerkleTree, TAccountPayer extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountPayer, TAccountTreeCreatorOrDelegate extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountTreeCreatorOrDelegate, TAccountLogWrapper extends string ? ReadonlyAccount : TAccountLogWrapper, TAccountCompressionProgram extends string ? ReadonlyAccount : TAccountCompressionProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type MintV1InstructionData = { discriminator: ReadonlyUint8Array; metadata: MetadataArgs; }; export type MintV1InstructionDataArgs = { metadata: MetadataArgsArgs; }; export declare function getMintV1InstructionDataEncoder(): Encoder; export declare function getMintV1InstructionDataDecoder(): Decoder; export declare function getMintV1InstructionDataCodec(): Codec; export type MintV1AsyncInput = { treeConfig?: Address; leafOwner: Address; leafDelegate?: Address; merkleTree: Address; payer?: TransactionSigner; treeCreatorOrDelegate: TransactionSigner; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; metadata: MintV1InstructionDataArgs['metadata']; }; export declare function getMintV1InstructionAsync(input: MintV1AsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type MintV1Input = { treeConfig: Address; leafOwner: Address; leafDelegate?: Address; merkleTree: Address; payer?: TransactionSigner; treeCreatorOrDelegate: TransactionSigner; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; metadata: MintV1InstructionDataArgs['metadata']; }; export declare function getMintV1Instruction(input: MintV1Input, config?: { programAddress?: TProgramAddress; }): MintV1Instruction; export type ParsedMintV1Instruction = { programAddress: Address; accounts: { treeConfig: TAccountMetas[0]; leafOwner: TAccountMetas[1]; leafDelegate: TAccountMetas[2]; merkleTree: TAccountMetas[3]; payer: TAccountMetas[4]; treeCreatorOrDelegate: TAccountMetas[5]; logWrapper: TAccountMetas[6]; compressionProgram: TAccountMetas[7]; systemProgram: TAccountMetas[8]; }; data: MintV1InstructionData; }; export declare function parseMintV1Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedMintV1Instruction; //# sourceMappingURL=mintV1.d.ts.map