/** * 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 { BaseExternalPluginAdapterKey, BaseExternalPluginAdapterKeyArgs, BaseExternalPluginAdapterUpdateInfo, BaseExternalPluginAdapterUpdateInfoArgs } from '../types'; export type UpdateExternalPluginAdapterV1InstructionAccounts = { /** 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 system program */ systemProgram?: PublicKey | Pda; /** The SPL Noop Program */ logWrapper?: PublicKey | Pda; }; export type UpdateExternalPluginAdapterV1InstructionData = { discriminator: number; key: BaseExternalPluginAdapterKey; updateInfo: BaseExternalPluginAdapterUpdateInfo; }; export type UpdateExternalPluginAdapterV1InstructionDataArgs = { key: BaseExternalPluginAdapterKeyArgs; updateInfo: BaseExternalPluginAdapterUpdateInfoArgs; }; export declare function getUpdateExternalPluginAdapterV1InstructionDataSerializer(): Serializer; export type UpdateExternalPluginAdapterV1InstructionArgs = UpdateExternalPluginAdapterV1InstructionDataArgs; export declare function updateExternalPluginAdapterV1(context: Pick, input: UpdateExternalPluginAdapterV1InstructionAccounts & UpdateExternalPluginAdapterV1InstructionArgs): TransactionBuilder;