/** * 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, WritableSignerAccount } from "@solana/kit"; import { WHIRLPOOL_PROGRAM_ADDRESS } from "../programs/index.js"; export declare const INITIALIZE_REWARD_V2_DISCRIMINATOR: ReadonlyUint8Array; export declare function getInitializeRewardV2DiscriminatorBytes(): ReadonlyUint8Array; export type InitializeRewardV2Instruction = Instruction & InstructionWithData & InstructionWithAccounts<[ TAccountRewardAuthority extends string ? ReadonlySignerAccount & AccountSignerMeta : TAccountRewardAuthority, TAccountFunder extends string ? WritableSignerAccount & AccountSignerMeta : TAccountFunder, TAccountWhirlpool extends string ? WritableAccount : TAccountWhirlpool, TAccountRewardMint extends string ? ReadonlyAccount : TAccountRewardMint, TAccountRewardTokenBadge extends string ? ReadonlyAccount : TAccountRewardTokenBadge, TAccountRewardVault extends string ? WritableSignerAccount & AccountSignerMeta : TAccountRewardVault, TAccountRewardTokenProgram extends string ? ReadonlyAccount : TAccountRewardTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount : TAccountRent, ...TRemainingAccounts ]>; export interface InitializeRewardV2InstructionData { discriminator: ReadonlyUint8Array; rewardIndex: number; } export interface InitializeRewardV2InstructionDataArgs { rewardIndex: number; } export declare function getInitializeRewardV2InstructionDataEncoder(): FixedSizeEncoder; export declare function getInitializeRewardV2InstructionDataDecoder(): FixedSizeDecoder; export declare function getInitializeRewardV2InstructionDataCodec(): FixedSizeCodec; export interface InitializeRewardV2Input { rewardAuthority: TransactionSigner; funder: TransactionSigner; whirlpool: Address; rewardMint: Address; rewardTokenBadge: Address; rewardVault: TransactionSigner; rewardTokenProgram?: Address; systemProgram?: Address; rent?: Address; rewardIndex: InitializeRewardV2InstructionDataArgs["rewardIndex"]; } export declare function getInitializeRewardV2Instruction(input: InitializeRewardV2Input, config?: { programAddress?: TProgramAddress; }): InitializeRewardV2Instruction; export interface ParsedInitializeRewardV2Instruction { programAddress: Address; accounts: { rewardAuthority: TAccountMetas[0]; funder: TAccountMetas[1]; whirlpool: TAccountMetas[2]; rewardMint: TAccountMetas[3]; rewardTokenBadge: TAccountMetas[4]; rewardVault: TAccountMetas[5]; rewardTokenProgram: TAccountMetas[6]; systemProgram: TAccountMetas[7]; rent: TAccountMetas[8]; }; data: InitializeRewardV2InstructionData; } export declare function parseInitializeRewardV2Instruction(instruction: Instruction & InstructionWithAccounts & InstructionWithData): ParsedInitializeRewardV2Instruction; //# sourceMappingURL=initializeRewardV2.d.ts.map