UNPKG

@frakt-protocol/frakt-sdk

Version:

Frakt SDK for interacting with frakt.xyz protocols

15 lines (14 loc) 541 B
import anchor from '@project-serum/anchor'; import { PublicKey, Transaction } from '@solana/web3.js'; interface IParams { programId: PublicKey; provider: anchor.Provider; loan: PublicKey; nftUserTokenAccount: PublicKey; admin: PublicKey; user: PublicKey; nftMint: PublicKey; sendTxn: (transaction: Transaction) => Promise<void>; } declare const rejectLoanByAdmin: ({ programId, provider, loan, nftUserTokenAccount, admin, user, nftMint, sendTxn, }: IParams) => Promise<any>; export default rejectLoanByAdmin;