UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

20 lines 826 B
import { Address, IAccountMeta, IInstruction } from "@solana/kit"; import BN from "bn.js"; export interface WithdrawProtocolFeeArgs { amountX: BN; amountY: BN; } export interface WithdrawProtocolFeeAccounts { lbPair: Address; reserveX: Address; reserveY: Address; tokenXMint: Address; tokenYMint: Address; receiverTokenX: Address; receiverTokenY: Address; tokenXProgram: Address; tokenYProgram: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function withdrawProtocolFee(args: WithdrawProtocolFeeArgs, accounts: WithdrawProtocolFeeAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=withdrawProtocolFee.d.ts.map