UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

23 lines 998 B
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit"; import * as types from "../types"; export interface CollectFeesV2Args { remainingAccountsInfo: types.RemainingAccountsInfoFields | null; } export interface CollectFeesV2Accounts { whirlpool: Address; positionAuthority: TransactionSigner; position: Address; positionTokenAccount: Address; tokenMintA: Address; tokenMintB: Address; tokenOwnerAccountA: Address; tokenVaultA: Address; tokenOwnerAccountB: Address; tokenVaultB: Address; tokenProgramA: Address; tokenProgramB: Address; memoProgram: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function collectFeesV2(args: CollectFeesV2Args, accounts: CollectFeesV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=collectFeesV2.d.ts.map