@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
13 lines (12 loc) • 372 B
TypeScript
import { web3 } from '@project-serum/anchor';
declare type HarvestLiquidity = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
liquidityPool: web3.PublicKey;
user: web3.PublicKey;
adminPubkey: web3.PublicKey;
}) => Promise<{
ix: web3.TransactionInstruction;
}>;
export declare const harvestLiquidity: HarvestLiquidity;
export {};