UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

14 lines (13 loc) 500 B
import anchor from '@project-serum/anchor'; import { PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; liquidator: PublicKey; user: PublicKey; loan: PublicKey; nftMint: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; } declare const liquidateLoanByAdmin: ({ programId, provider, liquidator, user, loan, nftMint, sendTxn, }: IParams) => Promise<any>; export default liquidateLoanByAdmin;