UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

13 lines (12 loc) 572 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 liquidateLoanByAdmin({ programId, provider, liquidator, user, loan, nftMint, sendTxn, }: { programId: PublicKey; provider: anchor.Provider; liquidator: PublicKey; user: PublicKey; loan: PublicKey; nftMint: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; }): Promise<void>;