/** * 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 AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit'; import { MPL_BUBBLEGUM_PROGRAM_ADDRESS } from '../programs'; export declare const THAW_AND_REVOKE_V2_DISCRIMINATOR: Uint8Array; export declare function getThawAndRevokeV2DiscriminatorBytes(): ReadonlyUint8Array; export type ThawAndRevokeV2Instruction = string, TAccountPayer extends string | AccountMeta = string, TAccountLeafDelegate extends string | AccountMeta = string, TAccountLeafOwner extends string | AccountMeta = string, TAccountMerkleTree extends string | AccountMeta = string, TAccountLogWrapper extends string | AccountMeta = 'mnoopTCrg4p8ry25e4bcWA9XZjbNjMTfgYVGGEdRsf3', TAccountCompressionProgram extends string | AccountMeta = 'mcmt6YrQEMKw8Mw43FmpRLmf7BqRnFMKmAcbxE3xkAW', TAccountSystemProgram extends string | AccountMeta = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountTreeConfig extends string ? WritableAccount : TAccountTreeConfig, TAccountPayer extends string ? WritableSignerAccount & AccountSignerMeta : TAccountPayer, TAccountLeafDelegate extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountLeafDelegate, TAccountLeafOwner extends string ? ReadonlyAccount : TAccountLeafOwner, TAccountMerkleTree extends string ? WritableAccount : TAccountMerkleTree, TAccountLogWrapper extends string ? ReadonlyAccount : TAccountLogWrapper, TAccountCompressionProgram extends string ? ReadonlyAccount : TAccountCompressionProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, ...TRemainingAccounts ]>; export type ThawAndRevokeV2InstructionData = { discriminator: ReadonlyUint8Array; root: ReadonlyUint8Array; dataHash: ReadonlyUint8Array; creatorHash: ReadonlyUint8Array; collectionHash: Option; assetDataHash: Option; flags: Option; nonce: bigint; index: number; }; export type ThawAndRevokeV2InstructionDataArgs = { root: ReadonlyUint8Array; dataHash: ReadonlyUint8Array; creatorHash: ReadonlyUint8Array; collectionHash?: OptionOrNullable; assetDataHash?: OptionOrNullable; flags?: OptionOrNullable; nonce: number | bigint; index: number; }; export declare function getThawAndRevokeV2InstructionDataEncoder(): Encoder; export declare function getThawAndRevokeV2InstructionDataDecoder(): Decoder; export declare function getThawAndRevokeV2InstructionDataCodec(): Codec; export type ThawAndRevokeV2AsyncInput = { treeConfig?: Address; payer: TransactionSigner; /** Optional leaf delegate, defaults to `payer` */ leafDelegate?: TransactionSigner; leafOwner: Address; merkleTree: Address; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; root: ThawAndRevokeV2InstructionDataArgs['root']; dataHash: ThawAndRevokeV2InstructionDataArgs['dataHash']; creatorHash: ThawAndRevokeV2InstructionDataArgs['creatorHash']; collectionHash?: ThawAndRevokeV2InstructionDataArgs['collectionHash']; assetDataHash?: ThawAndRevokeV2InstructionDataArgs['assetDataHash']; flags?: ThawAndRevokeV2InstructionDataArgs['flags']; nonce: ThawAndRevokeV2InstructionDataArgs['nonce']; index: ThawAndRevokeV2InstructionDataArgs['index']; proof?: Array
; }; export declare function getThawAndRevokeV2InstructionAsync(input: ThawAndRevokeV2AsyncInput, config?: { programAddress?: TProgramAddress; }): Promise>; export type ThawAndRevokeV2Input = { treeConfig: Address; payer: TransactionSigner; /** Optional leaf delegate, defaults to `payer` */ leafDelegate?: TransactionSigner; leafOwner: Address; merkleTree: Address; logWrapper?: Address; compressionProgram?: Address; systemProgram?: Address; root: ThawAndRevokeV2InstructionDataArgs['root']; dataHash: ThawAndRevokeV2InstructionDataArgs['dataHash']; creatorHash: ThawAndRevokeV2InstructionDataArgs['creatorHash']; collectionHash?: ThawAndRevokeV2InstructionDataArgs['collectionHash']; assetDataHash?: ThawAndRevokeV2InstructionDataArgs['assetDataHash']; flags?: ThawAndRevokeV2InstructionDataArgs['flags']; nonce: ThawAndRevokeV2InstructionDataArgs['nonce']; index: ThawAndRevokeV2InstructionDataArgs['index']; proof?: Array
; }; export declare function getThawAndRevokeV2Instruction(input: ThawAndRevokeV2Input, config?: { programAddress?: TProgramAddress; }): ThawAndRevokeV2Instruction; export type ParsedThawAndRevokeV2Instruction = { programAddress: Address; accounts: { treeConfig: TAccountMetas[0]; payer: TAccountMetas[1]; /** Optional leaf delegate, defaults to `payer` */ leafDelegate?: TAccountMetas[2] | undefined; leafOwner: TAccountMetas[3]; merkleTree: TAccountMetas[4]; logWrapper: TAccountMetas[5]; compressionProgram: TAccountMetas[6]; systemProgram: TAccountMetas[7]; }; data: ThawAndRevokeV2InstructionData; }; export declare function parseThawAndRevokeV2Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedThawAndRevokeV2Instruction; //# sourceMappingURL=thawAndRevokeV2.d.ts.map