/** * 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_FEE_AUTHORITY_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetFeeAuthorityDiscriminatorBytes(): ReadonlyUint8Array; export type SetFeeAuthorityInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? WritableAccount : TAccountWhirlpoolsConfig, TAccountFeeAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountFeeAuthority, TAccountNewFeeAuthority extends string ? ReadonlyAccount : TAccountNewFeeAuthority, ...TRemainingAccounts ]>; export interface SetFeeAuthorityInstructionData { discriminator: ReadonlyUint8Array; } export type SetFeeAuthorityInstructionDataArgs = {}; export declare function getSetFeeAuthorityInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetFeeAuthorityInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetFeeAuthorityInstructionDataCodec(): FixedSizeCodec; export interface SetFeeAuthorityInput { whirlpoolsConfig: Address; feeAuthority: TransactionSigner; newFeeAuthority: Address; } export declare function getSetFeeAuthorityInstruction(input: SetFeeAuthorityInput, config?: { programAddress?: TProgramAddress; }): SetFeeAuthorityInstruction; export interface ParsedSetFeeAuthorityInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; feeAuthority: TAccountMetas[1]; newFeeAuthority: TAccountMetas[2]; }; data: SetFeeAuthorityInstructionData; } export declare function parseSetFeeAuthorityInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetFeeAuthorityInstruction; //# sourceMappingURL=setFeeAuthority.d.ts.map