/** * 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 { PickPartial } from '../shared'; export declare type SetNonTransferableV2InstructionAccounts = { treeConfig?: PublicKey | Pda; payer?: Signer; /** * This authority must be a permanent freeze delegate on the collection * Defaults to `payer` */ authority?: Signer; leafOwner: PublicKey | Pda; /** Defaults to `leaf_owner` */ leafDelegate?: PublicKey | Pda; merkleTree: PublicKey | Pda; coreCollection: PublicKey | Pda; logWrapper?: PublicKey | Pda; compressionProgram?: PublicKey | Pda; systemProgram?: PublicKey | Pda; }; export declare type SetNonTransferableV2InstructionData = { discriminator: Array; root: Uint8Array; dataHash: Uint8Array; creatorHash: Uint8Array; assetDataHash: Option; flags: Option; nonce: bigint; index: number; }; export declare type SetNonTransferableV2InstructionDataArgs = { root: Uint8Array; dataHash: Uint8Array; creatorHash: Uint8Array; assetDataHash: OptionOrNullable; flags: OptionOrNullable; nonce: number | bigint; index: number; }; export declare function getSetNonTransferableV2InstructionDataSerializer(): Serializer; export declare type SetNonTransferableV2InstructionExtraArgs = { proof: Array; }; export declare type SetNonTransferableV2InstructionArgs = PickPartial; export declare function setNonTransferableV2(context: Pick, input: SetNonTransferableV2InstructionAccounts & SetNonTransferableV2InstructionArgs): TransactionBuilder;