@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
13 lines (12 loc) • 430 B
TypeScript
import { web3 } from '@project-serum/anchor';
declare type LiquidateLoanByAdmin = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
liquidator: web3.PublicKey;
user: web3.PublicKey;
loan: web3.PublicKey;
nftMint: web3.PublicKey;
sendTxn: (transaction: web3.Transaction) => Promise<void>;
}) => Promise<void>;
export declare const liquidateLoanByAdmin: LiquidateLoanByAdmin;
export {};