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