UNPKG

@kamino-finance/kliquidity-sdk

Version:

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

22 lines 1.03 kB
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit"; import * as types from "../types"; export interface CollectProtocolFeesV2Args { remainingAccountsInfo: types.RemainingAccountsInfoFields | null; } export interface CollectProtocolFeesV2Accounts { whirlpoolsConfig: Address; whirlpool: Address; collectProtocolFeesAuthority: TransactionSigner; tokenMintA: Address; tokenMintB: Address; tokenVaultA: Address; tokenVaultB: Address; tokenDestinationA: Address; tokenDestinationB: Address; tokenProgramA: Address; tokenProgramB: Address; memoProgram: Address; } export declare const layout: import("buffer-layout").Layout<unknown>; export declare function collectProtocolFeesV2(args: CollectProtocolFeesV2Args, accounts: CollectProtocolFeesV2Accounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>; //# sourceMappingURL=collectProtocolFeesV2.d.ts.map