UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

11 lines (10 loc) 498 B
import * as anchor from '@project-serum/anchor'; export { AllAccounts, CollectionInfoView, LiquidityPoolView, DepositView, LoanView, } from './../contract_model/accounts'; import { PublicKey, Transaction } from '@solana/web3.js'; export declare function closeLoanByAdmin({ programId, provider, loan, admin, sendTxn, }: { programId: PublicKey; provider: anchor.Provider; loan: PublicKey; admin: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; }): Promise<void>;