@frakt-protocol/frakt-sdk
Version:
Frakt SDK for interacting with frakt.xyz protocols
18 lines (17 loc) • 487 B
TypeScript
/// <reference types="bn.js" />
import { BN, web3 } from '@project-serum/anchor';
declare type ProposeLoanIx = (params: {
programId: web3.PublicKey;
admin: web3.PublicKey;
connection: web3.Connection;
user: web3.PublicKey;
nftMint: web3.PublicKey;
proposedNftPrice: BN;
loanToValue: BN;
isPriceBased: boolean;
}) => Promise<{
loan: web3.Signer;
ixs: web3.TransactionInstruction[];
}>;
export declare const proposeLoanIx: ProposeLoanIx;
export {};