require(borrowAmount >= ProfitManager(refs.profitManager).minBorrow(), "LendingTerm: borrow amount too low");
uint256 internal _minBorrow = 100e18;

function minBorrow() external view returns (uint256) {
    return (_minBorrow * 1e18) / creditMultiplier;
}
constructor(address _core, uint minBorrow) CoreRef(_core) {
        emit MinBorrowUpdate(block.timestamp, 100e18);
+       _minBorrow = minBorrow //should be carefully chosen by the contract deployer considering the price of collateral token
}
