/** * 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 { BaseExternalPluginAdapterInitInfo, BaseExternalPluginAdapterInitInfoArgs } from '../types'; export type AddCollectionExternalPluginAdapterV1InstructionAccounts = { /** 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 AddCollectionExternalPluginAdapterV1InstructionData = { discriminator: number; initInfo: BaseExternalPluginAdapterInitInfo; }; export type AddCollectionExternalPluginAdapterV1InstructionDataArgs = { initInfo: BaseExternalPluginAdapterInitInfoArgs; }; export declare function getAddCollectionExternalPluginAdapterV1InstructionDataSerializer(): Serializer; export type AddCollectionExternalPluginAdapterV1InstructionArgs = AddCollectionExternalPluginAdapterV1InstructionDataArgs; export declare function addCollectionExternalPluginAdapterV1(context: Pick, input: AddCollectionExternalPluginAdapterV1InstructionAccounts & AddCollectionExternalPluginAdapterV1InstructionArgs): TransactionBuilder;