/** * 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_DEFAULT_FEE_RATE_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetDefaultFeeRateDiscriminatorBytes(): ReadonlyUint8Array; export type SetDefaultFeeRateInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? ReadonlyAccount : TAccountWhirlpoolsConfig, TAccountFeeTier extends string ? WritableAccount : TAccountFeeTier, TAccountFeeAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountFeeAuthority, ...TRemainingAccounts ]>; export interface SetDefaultFeeRateInstructionData { discriminator: ReadonlyUint8Array; defaultFeeRate: number; } export interface SetDefaultFeeRateInstructionDataArgs { defaultFeeRate: number; } export declare function getSetDefaultFeeRateInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetDefaultFeeRateInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetDefaultFeeRateInstructionDataCodec(): FixedSizeCodec; export interface SetDefaultFeeRateInput { whirlpoolsConfig: Address; feeTier: Address; feeAuthority: TransactionSigner; defaultFeeRate: SetDefaultFeeRateInstructionDataArgs["defaultFeeRate"]; } export declare function getSetDefaultFeeRateInstruction(input: SetDefaultFeeRateInput, config?: { programAddress?: TProgramAddress; }): SetDefaultFeeRateInstruction; export interface ParsedSetDefaultFeeRateInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; feeTier: TAccountMetas[1]; feeAuthority: TAccountMetas[2]; }; data: SetDefaultFeeRateInstructionData; } export declare function parseSetDefaultFeeRateInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetDefaultFeeRateInstruction; //# sourceMappingURL=setDefaultFeeRate.d.ts.map