UNPKG

fbonds-core

Version:

Banx protocol sdk

13 lines (12 loc) 792 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTerminationStartedAt = exports.calculateCurrentRemainingLent = exports.calculateFullRepaidAmount = exports.calculateOriginalLent = void 0; const anchor_1 = require("@coral-xyz/anchor"); const calculateOriginalLent = (solAmount, feeAmount) => solAmount.add(feeAmount); exports.calculateOriginalLent = calculateOriginalLent; const calculateFullRepaidAmount = ({}) => new anchor_1.BN(0); exports.calculateFullRepaidAmount = calculateFullRepaidAmount; const calculateCurrentRemainingLent = ({}) => new anchor_1.BN(0); exports.calculateCurrentRemainingLent = calculateCurrentRemainingLent; const getTerminationStartedAt = ({}) => new anchor_1.BN(0); exports.getTerminationStartedAt = getTerminationStartedAt;