@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
12 lines (11 loc) • 422 B
TypeScript
import anchor from '@project-serum/anchor';
import { PublicKey, Transaction } from '@solana/web3.js';
interface IParams {
programId: PublicKey;
provider: anchor.Provider;
loan: PublicKey;
admin: PublicKey;
sendTxn: (transaction: Transaction) => Promise<void>;
}
declare const closeLoanByAdmin: ({ programId, provider, loan, admin, sendTxn, }: IParams) => Promise<any>;
export default closeLoanByAdmin;