/** * 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 ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from "@solana/kit"; import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_CLAWBACK_RECEIVER_INSTRUCTION_ACCOUNTS: { readonly distributor: 0; readonly newClawbackAccount: 1; readonly admin: 2; }; export type SetClawbackReceiverInstructionAccountName = keyof typeof SET_CLAWBACK_RECEIVER_INSTRUCTION_ACCOUNTS; export declare const SET_CLAWBACK_RECEIVER_DISCRIMINATOR: Uint8Array; export declare function getSetClawbackReceiverDiscriminatorBytes(): ReadonlyUint8Array; export type SetClawbackReceiverInstruction = string, TAccountNewClawbackAccount extends string | AccountMeta = string, TAccountAdmin extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountDistributor extends string ? WritableAccount : TAccountDistributor, TAccountNewClawbackAccount extends string ? ReadonlyAccount : TAccountNewClawbackAccount, TAccountAdmin extends string ? WritableSignerAccount & AccountSignerMeta : TAccountAdmin, ...TRemainingAccounts ]>; export type SetClawbackReceiverInstructionData = { discriminator: ReadonlyUint8Array; }; export type SetClawbackReceiverInstructionDataArgs = {}; export declare function getSetClawbackReceiverInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetClawbackReceiverInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetClawbackReceiverInstructionDataCodec(): FixedSizeCodec; export type SetClawbackReceiverInput = { /** The [MerkleDistributor]. */ distributor: Address; /** New clawback account */ newClawbackAccount: Address; /** Admin signer */ admin: TransactionSigner; }; export declare function getSetClawbackReceiverInstruction(input: SetClawbackReceiverInput, config?: { programAddress?: TProgramAddress; }): SetClawbackReceiverInstruction; export type ParsedSetClawbackReceiverInstruction = { programAddress: Address; accounts: { /** The [MerkleDistributor]. */ distributor: TAccountMetas[0]; /** New clawback account */ newClawbackAccount: TAccountMetas[1]; /** Admin signer */ admin: TAccountMetas[2]; }; data: SetClawbackReceiverInstructionData; }; export declare function parseSetClawbackReceiverInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetClawbackReceiverInstruction; //# sourceMappingURL=setClawbackReceiver.d.ts.map