UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

20 lines (19 loc) 589 B
/// <reference types="bn.js" /> import { web3, BN } from '@project-serum/anchor'; declare type PaybackLoanIx = (params: { programId: web3.PublicKey; connection: web3.Connection; user: web3.PublicKey; admin: web3.PublicKey; loan: web3.PublicKey; nftMint: web3.PublicKey; nftUserTokenAccount?: web3.PublicKey; liquidityPool: web3.PublicKey; collectionInfo: web3.PublicKey; royaltyAddress: web3.PublicKey; paybackAmount?: BN; }) => Promise<{ ixs: web3.TransactionInstruction[]; }>; export declare const paybackLoanIx: PaybackLoanIx; export {};