@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
12 lines (11 loc) • 438 B
TypeScript
import anchor from '@project-serum/anchor';
import { PublicKey, Transaction } from '@solana/web3.js';
interface IParams {
programId: PublicKey;
provider: anchor.Provider;
liquidityPool: PublicKey;
user: PublicKey;
sendTxn: (transaction: Transaction) => Promise<void>;
}
declare const harvestLiquidity: ({ programId, provider, liquidityPool, user, sendTxn, }: IParams) => Promise<any>;
export default harvestLiquidity;