/** * 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, Option, OptionOrNullable, Pda, PublicKey, Signer, TransactionBuilder } from '@metaplex-foundation/umi'; import { Serializer } from '@metaplex-foundation/umi/serializers'; import { CompressionProof, CompressionProofArgs } from '../types'; export type TransferV1InstructionAccounts = { /** The address of the asset */ asset: PublicKey | Pda; /** The collection to which the asset belongs */ collection?: PublicKey | Pda; /** The account paying for the storage fees */ payer?: Signer; /** The owner or delegate of the asset */ authority?: Signer; /** The new owner to which to transfer the asset */ newOwner: PublicKey | Pda; /** The system program */ systemProgram?: PublicKey | Pda; /** The SPL Noop Program */ logWrapper?: PublicKey | Pda; }; export type TransferV1InstructionData = { discriminator: number; compressionProof: Option; }; export type TransferV1InstructionDataArgs = { compressionProof?: OptionOrNullable; }; export declare function getTransferV1InstructionDataSerializer(): Serializer; export type TransferV1InstructionArgs = TransferV1InstructionDataArgs; export declare function transferV1(context: Pick, input: TransferV1InstructionAccounts & TransferV1InstructionArgs): TransactionBuilder;