UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

17 lines (16 loc) 611 B
import anchor from '@project-serum/anchor'; import { PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; user: PublicKey; admin: PublicKey; loan: PublicKey; nftMint: PublicKey; liquidityPool: PublicKey; collectionInfo: PublicKey; royaltyAddress: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; } declare const paybackLoan: ({ programId, provider, user, admin, loan, nftMint, liquidityPool, collectionInfo, royaltyAddress, sendTxn, }: IParams) => Promise<any>; export default paybackLoan;