/** * 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 { BasePluginAuthority, BasePluginAuthorityArgs, Plugin, PluginArgs } from '../types'; export type AddCollectionPluginV1InstructionAccounts = { /** The address of the asset */ collection: PublicKey | Pda; /** The account paying for the storage fees */ payer?: Signer; /** The owner or delegate of the asset */ authority?: Signer; /** The system program */ systemProgram?: PublicKey | Pda; /** The SPL Noop Program */ logWrapper?: PublicKey | Pda; }; export type AddCollectionPluginV1InstructionData = { discriminator: number; plugin: Plugin; initAuthority: Option; }; export type AddCollectionPluginV1InstructionDataArgs = { plugin: PluginArgs; initAuthority?: OptionOrNullable; }; export declare function getAddCollectionPluginV1InstructionDataSerializer(): Serializer; export type AddCollectionPluginV1InstructionArgs = AddCollectionPluginV1InstructionDataArgs; export declare function addCollectionPluginV1(context: Pick, input: AddCollectionPluginV1InstructionAccounts & AddCollectionPluginV1InstructionArgs): TransactionBuilder;