/** * 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, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_COLLECT_PROTOCOL_FEES_AUTHORITY_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetCollectProtocolFeesAuthorityDiscriminatorBytes(): ReadonlyUint8Array; export type SetCollectProtocolFeesAuthorityInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? WritableAccount : TAccountWhirlpoolsConfig, TAccountCollectProtocolFeesAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountCollectProtocolFeesAuthority, TAccountNewCollectProtocolFeesAuthority extends string ? ReadonlyAccount : TAccountNewCollectProtocolFeesAuthority, ...TRemainingAccounts ]>; export interface SetCollectProtocolFeesAuthorityInstructionData { discriminator: ReadonlyUint8Array; } export type SetCollectProtocolFeesAuthorityInstructionDataArgs = {}; export declare function getSetCollectProtocolFeesAuthorityInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetCollectProtocolFeesAuthorityInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetCollectProtocolFeesAuthorityInstructionDataCodec(): FixedSizeCodec; export interface SetCollectProtocolFeesAuthorityInput { whirlpoolsConfig: Address; collectProtocolFeesAuthority: TransactionSigner; newCollectProtocolFeesAuthority: Address; } export declare function getSetCollectProtocolFeesAuthorityInstruction(input: SetCollectProtocolFeesAuthorityInput, config?: { programAddress?: TProgramAddress; }): SetCollectProtocolFeesAuthorityInstruction; export interface ParsedSetCollectProtocolFeesAuthorityInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; collectProtocolFeesAuthority: TAccountMetas[1]; newCollectProtocolFeesAuthority: TAccountMetas[2]; }; data: SetCollectProtocolFeesAuthorityInstructionData; } export declare function parseSetCollectProtocolFeesAuthorityInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetCollectProtocolFeesAuthorityInstruction; //# sourceMappingURL=setCollectProtocolFeesAuthority.d.ts.map