Open code423n4 opened 2 years ago
pauliax
_isBeforeFeeBootstrapPeriod() is re-evaluated again and again inside the loop, although its value could be cached outside the loop and re-used to reduce gas costs.
@LilYeti : In _getTotalVariableDepositFee bops
Handle
pauliax
Vulnerability details
Impact
_isBeforeFeeBootstrapPeriod() is re-evaluated again and again inside the loop, although its value could be cached outside the loop and re-used to reduce gas costs.