/** * This code was AUTOGENERATED using the kinobi library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun kinobi to update it. * * @see https://github.com/metaplex-foundation/kinobi */ import { Context, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; import { TokenStandardArgs } from '../types'; export type PrintV2InstructionAccounts = { /** New Metadata key (pda of ['metadata', program id, mint id]) */ editionMetadata?: PublicKey | Pda; /** New Edition (pda of ['metadata', program id, mint id, 'edition']) */ edition?: PublicKey | Pda; /** Mint of new token - THIS WILL TRANSFER AUTHORITY AWAY FROM THIS KEY */ editionMint: PublicKey | Pda | Signer; /** Owner of the token account of new token */ editionTokenAccountOwner?: PublicKey | Pda; /** Token account of new token */ editionTokenAccount?: PublicKey | Pda; /** Mint authority of new mint */ editionMintAuthority?: Signer; /** Token record account */ editionTokenRecord?: PublicKey | Pda; /** Master Record Edition V2 (pda of ['metadata', program id, master metadata mint id, 'edition']) */ masterEdition?: PublicKey | Pda; /** Edition pda to mark creation - will be checked for pre-existence. (pda of ['metadata', program id, master metadata mint id, 'edition', edition_number]) where edition_number is NOT the edition number you pass in args but actually edition_number = floor(edition/EDITION_MARKER_BIT_SIZE). */ editionMarkerPda?: PublicKey | Pda; /** payer */ payer?: Signer; /** owner of token account containing master token */ masterTokenAccountOwner?: PublicKey | Pda | Signer; /** token account containing token from master metadata mint */ masterTokenAccount?: PublicKey | Pda; /** Master record metadata account */ masterMetadata?: PublicKey | Pda; /** The update authority of the master edition. */ updateAuthority?: PublicKey | Pda; /** Token program */ splTokenProgram?: PublicKey | Pda; /** SPL Associated Token Account program */ splAtaProgram?: PublicKey | Pda; /** Instructions sysvar account */ sysvarInstructions?: PublicKey | Pda; /** System program */ systemProgram?: PublicKey | Pda; /** The Delegate Record authorizing escrowless edition printing */ holderDelegateRecord?: PublicKey | Pda; /** The authority printing the edition for a delegated print */ delegate?: Signer; }; export type PrintV2InstructionData = { discriminator: number; printV2Discriminator: number; editionNumber: bigint; }; export type PrintV2InstructionDataArgs = { editionNumber: number | bigint; }; export declare function getPrintV2InstructionDataSerializer(): Serializer; export type PrintV2InstructionExtraArgs = { masterEditionMint: PublicKey; tokenStandard: TokenStandardArgs; }; export type PrintV2InstructionArgs = PrintV2InstructionDataArgs & PrintV2InstructionExtraArgs; export declare function printV2(context: Pick, input: PrintV2InstructionAccounts & PrintV2InstructionArgs): TransactionBuilder;