CreditConfiguratorV3.setFees now reverts if new underlying's LT is below any collateral token's LT (and final LT in case of ramp)
CreditLogic.getLiquidationThreshold now only computes timestampRampEnd if block.timestamp > timestampRampStart, which prevents an overflow bug
CreditConfiguratorV3.rampLiquidationThreshold's NatSpec now explicitly states that if timestampRampStart defaults to block.timestamp unless it's set to the future timestamp
In this PR:
CreditConfiguratorV3.setFees
now reverts if new underlying's LT is below any collateral token's LT (and final LT in case of ramp)CreditLogic.getLiquidationThreshold
now only computestimestampRampEnd
ifblock.timestamp > timestampRampStart
, which prevents an overflow bugCreditConfiguratorV3.rampLiquidationThreshold
's NatSpec now explicitly states that iftimestampRampStart
defaults toblock.timestamp
unless it's set to the future timestampAddressed findings: