@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
18 lines (17 loc) • 524 B
TypeScript
/// <reference types="bn.js" />
import { web3, BN } from '@project-serum/anchor';
declare type ApproveLoanByAdmin = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
admin: web3.PublicKey;
loan: web3.PublicKey;
liquidityPool: web3.PublicKey;
collectionInfo: web3.PublicKey;
nftPrice: number | BN;
discount: number | BN;
user: web3.PublicKey;
}) => Promise<{
ix: web3.TransactionInstruction;
}>;
export declare const approveLoanByAdmin: ApproveLoanByAdmin;
export {};