import {healthFactor} from "@unlockdfinance/unlockd-ts"; const oneEth = BigInt(1e18) const params = { collateral: (BigInt(100) * oneEth), debt: (BigInt(50) * oneEth), liquidationThreshold: BigInt(8500) } const result = healthFactor(params)
Last updated 5 months ago