UNPKG

@kamino-finance/kliquidity-sdk

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

20 lines 928 B
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit"; import * as types from "../types"; export interface CollectRewardV2Args { rewardIndex: number; remainingAccountsInfo: types.RemainingAccountsInfoFields | null; } export interface CollectRewardV2Accounts { whirlpool: Address; positionAuthority: TransactionSigner; position: Address; positionTokenAccount: Address; rewardOwnerAccount: Address; rewardMint: Address; rewardVault: Address; rewardTokenProgram: Address; memoProgram: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function collectRewardV2(args: CollectRewardV2Args, accounts: CollectRewardV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=collectRewardV2.d.ts.map