/** * 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, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlyUint8Array, WritableAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const UPDATE_FEES_AND_REWARDS_DISCRIMINATOR: ReadonlyUint8Array; export declare function getUpdateFeesAndRewardsDiscriminatorBytes(): ReadonlyUint8Array; export type UpdateFeesAndRewardsInstruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpool extends string ? WritableAccount : TAccountWhirlpool, TAccountPosition extends string ? WritableAccount : TAccountPosition, TAccountTickArrayLower extends string ? ReadonlyAccount : TAccountTickArrayLower, TAccountTickArrayUpper extends string ? ReadonlyAccount : TAccountTickArrayUpper, ...TRemainingAccounts ]>; export interface UpdateFeesAndRewardsInstructionData { discriminator: ReadonlyUint8Array; } export type UpdateFeesAndRewardsInstructionDataArgs = {}; export declare function getUpdateFeesAndRewardsInstructionDataEncoder(): FixedSizeEncoder; export declare function getUpdateFeesAndRewardsInstructionDataDecoder(): FixedSizeDecoder; export declare function getUpdateFeesAndRewardsInstructionDataCodec(): FixedSizeCodec; export interface UpdateFeesAndRewardsInput { whirlpool: Address; position: Address; tickArrayLower: Address; tickArrayUpper: Address; } export declare function getUpdateFeesAndRewardsInstruction(input: UpdateFeesAndRewardsInput, config?: { programAddress?: TProgramAddress; }): UpdateFeesAndRewardsInstruction; export interface ParsedUpdateFeesAndRewardsInstruction { programAddress: Address; accounts: { whirlpool: TAccountMetas[0]; position: TAccountMetas[1]; tickArrayLower: TAccountMetas[2]; tickArrayUpper: TAccountMetas[3]; }; data: UpdateFeesAndRewardsInstructionData; } export declare function parseUpdateFeesAndRewardsInstruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedUpdateFeesAndRewardsInstruction; //# sourceMappingURL=updateFeesAndRewards.d.ts.map