UNPKG

fbonds-core

Version:

Banx protocol sdk

23 lines (22 loc) 671 B
import { BN, web3 } from '@coral-xyz/anchor'; import { LendingTokenType } from '../../../types'; type UpdateLiquidityToUserVault = (params: { connection: web3.Connection; args: { amount: BN; lendingTokenType: LendingTokenType; add: boolean; }; accounts: { 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 updateLiquidityToUserVault: UpdateLiquidityToUserVault; export {};