UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

13 lines (12 loc) 470 B
import * as anchor from '@project-serum/anchor'; import { PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; liquidityPool: PublicKey; user: PublicKey; amount: number; sendTxn: (transaction: Transaction) => Promise<void>; } declare const depositLiquidity: ({ programId, provider, liquidityPool, user, amount, sendTxn }: IParams) => Promise<any>; export default depositLiquidity;