/** * 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, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const SET_DEFAULT_PROTOCOL_FEE_RATE_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetDefaultProtocolFeeRateDiscriminatorBytes(): ReadonlyUint8Array; export type SetDefaultProtocolFeeRateInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpoolsConfig extends string ? WritableAccount : TAccountWhirlpoolsConfig, TAccountFeeAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountFeeAuthority, ...TRemainingAccounts ]>; export interface SetDefaultProtocolFeeRateInstructionData { discriminator: ReadonlyUint8Array; defaultProtocolFeeRate: number; } export interface SetDefaultProtocolFeeRateInstructionDataArgs { defaultProtocolFeeRate: number; } export declare function getSetDefaultProtocolFeeRateInstructionDataEncoder(): FixedSizeEncoder; export declare function getSetDefaultProtocolFeeRateInstructionDataDecoder(): FixedSizeDecoder; export declare function getSetDefaultProtocolFeeRateInstructionDataCodec(): FixedSizeCodec; export interface SetDefaultProtocolFeeRateInput { whirlpoolsConfig: Address; feeAuthority: TransactionSigner; defaultProtocolFeeRate: SetDefaultProtocolFeeRateInstructionDataArgs["defaultProtocolFeeRate"]; } export declare function getSetDefaultProtocolFeeRateInstruction(input: SetDefaultProtocolFeeRateInput, config?: { programAddress?: TProgramAddress; }): SetDefaultProtocolFeeRateInstruction; export interface ParsedSetDefaultProtocolFeeRateInstruction { programAddress: Address; accounts: { whirlpoolsConfig: TAccountMetas[0]; feeAuthority: TAccountMetas[1]; }; data: SetDefaultProtocolFeeRateInstructionData; } export declare function parseSetDefaultProtocolFeeRateInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetDefaultProtocolFeeRateInstruction; //# sourceMappingURL=setDefaultProtocolFeeRate.d.ts.map