/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; export declare const ENABLE_NON_CONFIDENTIAL_CREDITS_DISCRIMINATOR = 27; export declare function getEnableNonConfidentialCreditsDiscriminatorBytes(): ReadonlyUint8Array; export declare const ENABLE_NON_CONFIDENTIAL_CREDITS_CONFIDENTIAL_TRANSFER_DISCRIMINATOR = 11; export declare function getEnableNonConfidentialCreditsConfidentialTransferDiscriminatorBytes(): ReadonlyUint8Array; export type EnableNonConfidentialCreditsInstruction = string, TAccountAuthority extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountToken extends string ? WritableAccount : TAccountToken, TAccountAuthority extends string ? ReadonlyAccount : TAccountAuthority, ...TRemainingAccounts ]>; export type EnableNonConfidentialCreditsInstructionData = { discriminator: number; confidentialTransferDiscriminator: number; }; export type EnableNonConfidentialCreditsInstructionDataArgs = {}; export declare function getEnableNonConfidentialCreditsInstructionDataEncoder(): FixedSizeEncoder; export declare function getEnableNonConfidentialCreditsInstructionDataDecoder(): FixedSizeDecoder; export declare function getEnableNonConfidentialCreditsInstructionDataCodec(): FixedSizeCodec; export type EnableNonConfidentialCreditsInput = { /** The SPL Token account. */ token: Address; /** The source account's owner/delegate or its multisignature account. */ authority: Address | TransactionSigner; multiSigners?: Array; }; export declare function getEnableNonConfidentialCreditsInstruction(input: EnableNonConfidentialCreditsInput, config?: { programAddress?: TProgramAddress; }): EnableNonConfidentialCreditsInstruction ? ReadonlySignerAccount & AccountSignerMeta : TAccountAuthority>; export type ParsedEnableNonConfidentialCreditsInstruction = { programAddress: Address; accounts: { /** The SPL Token account. */ token: TAccountMetas[0]; /** The source account's owner/delegate or its multisignature account. */ authority: TAccountMetas[1]; }; data: EnableNonConfidentialCreditsInstructionData; }; export declare function parseEnableNonConfidentialCreditsInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedEnableNonConfidentialCreditsInstruction; //# sourceMappingURL=enableNonConfidentialCredits.d.ts.map