import {minimumToRepay} from "@unlockdfinance/unlockd-ts"; const params = { initialLoans: [ { valuation: 10000000n, ltv: 5000n, }, { valuation: 10000000n, ltv: 5000n, }, ], indicesToDelete: [1], totalDebt: 2n, } const result = minimumToRepay(params)
Last updated 7 months ago