/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Address, type ReadonlyUint8Array } from '@solana/kit'; import { type ParsedBurnInstruction, type ParsedBurnV2Instruction, type ParsedCancelRedeemInstruction, type ParsedCollectV2Instruction, type ParsedCreateTreeConfigInstruction, type ParsedCreateTreeConfigV2Instruction, type ParsedDecompressV1Instruction, type ParsedDelegateAndFreezeV2Instruction, type ParsedDelegateInstruction, type ParsedDelegateV2Instruction, type ParsedFreezeV2Instruction, type ParsedMintToCollectionV1Instruction, type ParsedMintV1Instruction, type ParsedMintV2Instruction, type ParsedRedeemInstruction, type ParsedSetAndVerifyCollectionInstruction, type ParsedSetCollectionV2Instruction, type ParsedSetDecompressibleStateInstruction, type ParsedSetNonTransferableV2Instruction, type ParsedSetTreeDelegateInstruction, type ParsedThawAndRevokeV2Instruction, type ParsedThawV2Instruction, type ParsedTransferInstruction, type ParsedTransferV2Instruction, type ParsedUnverifyCollectionInstruction, type ParsedUnverifyCreatorInstruction, type ParsedUnverifyCreatorV2Instruction, type ParsedUpdateAssetDataV2Instruction, type ParsedUpdateMetadataInstruction, type ParsedUpdateMetadataV2Instruction, type ParsedVerifyCollectionInstruction, type ParsedVerifyCreatorInstruction, type ParsedVerifyCreatorV2Instruction } from '../instructions'; export declare const MPL_BUBBLEGUM_PROGRAM_ADDRESS: Address<"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY">; export declare enum MplBubblegumAccount { TreeConfig = 0, Voucher = 1 } export declare function identifyMplBubblegumAccount(account: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): MplBubblegumAccount; export declare enum MplBubblegumInstruction { Burn = 0, BurnV2 = 1, CancelRedeem = 2, CollectV2 = 3, CreateTreeConfig = 4, CreateTreeConfigV2 = 5, DecompressV1 = 6, Delegate = 7, DelegateAndFreezeV2 = 8, DelegateV2 = 9, FreezeV2 = 10, MintToCollectionV1 = 11, MintV1 = 12, MintV2 = 13, Redeem = 14, SetAndVerifyCollection = 15, SetCollectionV2 = 16, SetDecompressibleState = 17, SetNonTransferableV2 = 18, SetTreeDelegate = 19, ThawAndRevokeV2 = 20, ThawV2 = 21, Transfer = 22, TransferV2 = 23, UnverifyCollection = 24, UnverifyCreator = 25, UnverifyCreatorV2 = 26, UpdateAssetDataV2 = 27, UpdateMetadata = 28, UpdateMetadataV2 = 29, VerifyCollection = 30, VerifyCreator = 31, VerifyCreatorV2 = 32 } export declare function identifyMplBubblegumInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): MplBubblegumInstruction; export type ParsedMplBubblegumInstruction = ({ instructionType: MplBubblegumInstruction.Burn; } & ParsedBurnInstruction) | ({ instructionType: MplBubblegumInstruction.BurnV2; } & ParsedBurnV2Instruction) | ({ instructionType: MplBubblegumInstruction.CancelRedeem; } & ParsedCancelRedeemInstruction) | ({ instructionType: MplBubblegumInstruction.CollectV2; } & ParsedCollectV2Instruction) | ({ instructionType: MplBubblegumInstruction.CreateTreeConfig; } & ParsedCreateTreeConfigInstruction) | ({ instructionType: MplBubblegumInstruction.CreateTreeConfigV2; } & ParsedCreateTreeConfigV2Instruction) | ({ instructionType: MplBubblegumInstruction.DecompressV1; } & ParsedDecompressV1Instruction) | ({ instructionType: MplBubblegumInstruction.Delegate; } & ParsedDelegateInstruction) | ({ instructionType: MplBubblegumInstruction.DelegateAndFreezeV2; } & ParsedDelegateAndFreezeV2Instruction) | ({ instructionType: MplBubblegumInstruction.DelegateV2; } & ParsedDelegateV2Instruction) | ({ instructionType: MplBubblegumInstruction.FreezeV2; } & ParsedFreezeV2Instruction) | ({ instructionType: MplBubblegumInstruction.MintToCollectionV1; } & ParsedMintToCollectionV1Instruction) | ({ instructionType: MplBubblegumInstruction.MintV1; } & ParsedMintV1Instruction) | ({ instructionType: MplBubblegumInstruction.MintV2; } & ParsedMintV2Instruction) | ({ instructionType: MplBubblegumInstruction.Redeem; } & ParsedRedeemInstruction) | ({ instructionType: MplBubblegumInstruction.SetAndVerifyCollection; } & ParsedSetAndVerifyCollectionInstruction) | ({ instructionType: MplBubblegumInstruction.SetCollectionV2; } & ParsedSetCollectionV2Instruction) | ({ instructionType: MplBubblegumInstruction.SetDecompressibleState; } & ParsedSetDecompressibleStateInstruction) | ({ instructionType: MplBubblegumInstruction.SetNonTransferableV2; } & ParsedSetNonTransferableV2Instruction) | ({ instructionType: MplBubblegumInstruction.SetTreeDelegate; } & ParsedSetTreeDelegateInstruction) | ({ instructionType: MplBubblegumInstruction.ThawAndRevokeV2; } & ParsedThawAndRevokeV2Instruction) | ({ instructionType: MplBubblegumInstruction.ThawV2; } & ParsedThawV2Instruction) | ({ instructionType: MplBubblegumInstruction.Transfer; } & ParsedTransferInstruction) | ({ instructionType: MplBubblegumInstruction.TransferV2; } & ParsedTransferV2Instruction) | ({ instructionType: MplBubblegumInstruction.UnverifyCollection; } & ParsedUnverifyCollectionInstruction) | ({ instructionType: MplBubblegumInstruction.UnverifyCreator; } & ParsedUnverifyCreatorInstruction) | ({ instructionType: MplBubblegumInstruction.UnverifyCreatorV2; } & ParsedUnverifyCreatorV2Instruction) | ({ instructionType: MplBubblegumInstruction.UpdateAssetDataV2; } & ParsedUpdateAssetDataV2Instruction) | ({ instructionType: MplBubblegumInstruction.UpdateMetadata; } & ParsedUpdateMetadataInstruction) | ({ instructionType: MplBubblegumInstruction.UpdateMetadataV2; } & ParsedUpdateMetadataV2Instruction) | ({ instructionType: MplBubblegumInstruction.VerifyCollection; } & ParsedVerifyCollectionInstruction) | ({ instructionType: MplBubblegumInstruction.VerifyCreator; } & ParsedVerifyCreatorInstruction) | ({ instructionType: MplBubblegumInstruction.VerifyCreatorV2; } & ParsedVerifyCreatorV2Instruction); //# sourceMappingURL=mplBubblegum.d.ts.map