UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

17 lines (16 loc) 739 B
/// <reference types="bn.js" /> import * as anchor from '@project-serum/anchor'; export { AllAccounts, CollectionInfoView, LiquidityPoolView, DepositView, LoanView, } from './../contract_model/accounts'; import { PublicKey, Transaction } from '@solana/web3.js'; export declare function approveLoanByAdmin({ programId, provider, admin, loan, liquidityPool, collectionInfo, nftPrice, discount, user, sendTxn, }: { programId: PublicKey; provider: anchor.Provider; admin: PublicKey; loan: PublicKey; liquidityPool: PublicKey; collectionInfo: PublicKey; nftPrice: number | anchor.BN; discount: number | anchor.BN; user: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; }): Promise<void>;