UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

22 lines 798 B
import { Address, IInstruction, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export interface CollectFundFeeArgs { amount0Requested: BN; amount1Requested: BN; } export interface CollectFundFeeAccounts { owner: TransactionSigner; poolState: Address; ammConfig: Address; tokenVault0: Address; tokenVault1: Address; vault0Mint: Address; vault1Mint: Address; recipientTokenAccount0: Address; recipientTokenAccount1: Address; tokenProgram: Address; tokenProgram2022: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function collectFundFee(args: CollectFundFeeArgs, accounts: CollectFundFeeAccounts, programAddress?: Address): IInstruction; //# sourceMappingURL=collectFundFee.d.ts.map