UNPKG

@kamino-finance/farms-sdk

Version:
21 lines 888 B
import { Address, IAccountMeta, IInstruction, Option, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export interface HarvestRewardArgs { rewardIndex: BN; } export interface HarvestRewardAccounts { owner: TransactionSigner; userState: Address; farmState: Address; globalConfig: Address; rewardMint: Address; userRewardAta: Address; rewardsVault: Address; rewardsTreasuryVault: Address; farmVaultsAuthority: Address; scopePrices: Option<Address>; tokenProgram: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function harvestReward(args: HarvestRewardArgs, accounts: HarvestRewardAccounts, programAddress?: Address): IInstruction<string, readonly (import("@solana/kit").IAccountLookupMeta<string, string> | IAccountMeta<string>)[]>; //# sourceMappingURL=harvestReward.d.ts.map