UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

18 lines (17 loc) 565 B
/// <reference types="bn.js" /> import { web3, BN } from '@project-serum/anchor'; declare type PaybackLoan = (params: { programId: web3.PublicKey; connection: web3.Connection; user: web3.PublicKey; admin: web3.PublicKey; loan: web3.PublicKey; nftMint: web3.PublicKey; liquidityPool: web3.PublicKey; collectionInfo: web3.PublicKey; royaltyAddress: web3.PublicKey; paybackAmount?: BN; sendTxn: (transaction: web3.Transaction) => Promise<void>; }) => Promise<void>; export declare const paybackLoan: PaybackLoan; export {};