/** * 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 { BaseExternalPluginAdapterInitInfo, BaseExternalPluginAdapterInitInfoArgs, PluginAuthorityPair, PluginAuthorityPairArgs } from '../types'; export type CreateCollectionV2InstructionAccounts = { /** The address of the new asset */ collection: Signer; /** The authority of the new asset */ updateAuthority?: PublicKey | Pda; /** The account paying for the storage fees */ payer?: Signer; /** The system program */ systemProgram?: PublicKey | Pda; }; export type CreateCollectionV2InstructionData = { discriminator: number; name: string; uri: string; plugins: Option>; externalPluginAdapters: Option>; }; export type CreateCollectionV2InstructionDataArgs = { name: string; uri: string; plugins?: OptionOrNullable>; externalPluginAdapters?: OptionOrNullable>; }; export declare function getCreateCollectionV2InstructionDataSerializer(): Serializer; export type CreateCollectionV2InstructionArgs = CreateCollectionV2InstructionDataArgs; export declare function createCollectionV2(context: Pick, input: CreateCollectionV2InstructionAccounts & CreateCollectionV2InstructionArgs): TransactionBuilder;