UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

15 lines (14 loc) 433 B
/// <reference types="bn.js" /> import { BN, web3 } from '@project-serum/anchor'; declare type UnstakeLiquidity = (params: { programId: web3.PublicKey; connection: web3.Connection; liquidityPool: web3.PublicKey; user: web3.PublicKey; amount: BN | number; adminPubkey: web3.PublicKey; }) => Promise<{ ix: web3.TransactionInstruction; }>; export declare const unstakeLiquidity: UnstakeLiquidity; export {};