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