UNPKG

hadeswap-sdk-public

Version:

HadeSwap SDK for interacting with protocol

20 lines (19 loc) 651 B
import { web3 } from '@project-serum/anchor'; declare type WithdrawLiquidityFromPair = (params: { programId: web3.PublicKey; connection: web3.Connection; accounts: { pair: web3.PublicKey; authorityAdapter: web3.PublicKey; userPubkey: web3.PublicKey; nftMint: web3.PublicKey; nftPairBox: web3.PublicKey; }; sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>; }) => Promise<{ account: null; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const withdrawLiquidityFromPair: WithdrawLiquidityFromPair; export {};