/** * 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_REWARD_EMISSIONS_V2_DISCRIMINATOR: ReadonlyUint8Array; export declare function getSetRewardEmissionsV2DiscriminatorBytes(): ReadonlyUint8Array; export type SetRewardEmissionsV2Instruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountWhirlpool extends string ? WritableAccount : TAccountWhirlpool, TAccountRewardAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountRewardAuthority, TAccountRewardVault extends string ? ReadonlyAccount : TAccountRewardVault, ...TRemainingAccounts ]>; export interface SetRewardEmissionsV2InstructionData { discriminator: ReadonlyUint8Array; rewardIndex: number; emissionsPerSecondX64: bigint; } export interface SetRewardEmissionsV2InstructionDataArgs { rewardIndex: number; emissionsPerSecondX64: number | bigint; } export declare function getSetRewardEmissionsV2InstructionDataEncoder(): FixedSizeEncoder; export declare function getSetRewardEmissionsV2InstructionDataDecoder(): FixedSizeDecoder; export declare function getSetRewardEmissionsV2InstructionDataCodec(): FixedSizeCodec; export interface SetRewardEmissionsV2Input { whirlpool: Address; rewardAuthority: TransactionSigner; rewardVault: Address; rewardIndex: SetRewardEmissionsV2InstructionDataArgs["rewardIndex"]; emissionsPerSecondX64: SetRewardEmissionsV2InstructionDataArgs["emissionsPerSecondX64"]; } export declare function getSetRewardEmissionsV2Instruction(input: SetRewardEmissionsV2Input, config?: { programAddress?: TProgramAddress; }): SetRewardEmissionsV2Instruction; export interface ParsedSetRewardEmissionsV2Instruction { programAddress: Address; accounts: { whirlpool: TAccountMetas[0]; rewardAuthority: TAccountMetas[1]; rewardVault: TAccountMetas[2]; }; data: SetRewardEmissionsV2InstructionData; } export declare function parseSetRewardEmissionsV2Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedSetRewardEmissionsV2Instruction; //# sourceMappingURL=setRewardEmissionsV2.d.ts.map