/** * 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_RATE_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetFeeRateDiscriminatorBytes(): ReadonlyUint8Array; export type SetFeeRateInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? ReadonlyAccount : TAccountWhirlpoolsConfig, TAccountWhirlpool extends string ? WritableAccount : TAccountWhirlpool, TAccountFeeAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountFeeAuthority, ...TRemainingAccounts ]>; export interface SetFeeRateInstructionData { discriminator: ReadonlyUint8Array; feeRate: number; } export interface SetFeeRateInstructionDataArgs { feeRate: number; } export declare function getSetFeeRateInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetFeeRateInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetFeeRateInstructionDataCodec(): FixedSizeCodec; export interface SetFeeRateInput { whirlpoolsConfig: Address; whirlpool: Address; feeAuthority: TransactionSigner; feeRate: SetFeeRateInstructionDataArgs["feeRate"]; } export declare function getSetFeeRateInstruction(input: SetFeeRateInput, config?: { programAddress?: TProgramAddress; }): SetFeeRateInstruction; export interface ParsedSetFeeRateInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; whirlpool: TAccountMetas[1]; feeAuthority: TAccountMetas[2]; }; data: SetFeeRateInstructionData; } export declare function parseSetFeeRateInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetFeeRateInstruction; //# sourceMappingURL=setFeeRate.d.ts.map