UNPKG

fbonds-core

Version:

Banx protocol sdk

23 lines (22 loc) 677 B
import { BN, web3 } from '@coral-xyz/anchor'; import { LendingTokenType } from '../../../types'; type AddLiquidityToUserVault = (params: { connection: web3.Connection; args: { amount: BN; lendingTokenType: LendingTokenType; }; accounts: { adminPubkey: web3.PublicKey; userPubkey: web3.PublicKey; }; sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>; }) => Promise<{ accounts: { lenderVault: web3.PublicKey; }; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }>; export declare const addLiquidityToUserVault: AddLiquidityToUserVault; export {};