Assessment reports>Sturdy>Threat Model>setUtilizationLimit

Function: setUtilizationLimit(uint256 utilizationLimit_)

This sets the utilization-limit value for the just-in-time liquidity.

Inputs

  • utilizationLimit_

    • Control: Full.

    • Constraints: Needs to be between 0% and 100%.

    • Impact: The utilization limit value --- 1% = 1,000.

Branches and code coverage (including function calls)

Intended branches

  • Owner successfully sets utilizationLimit_.

Negative behavior

  • Function reverts due to an invalid value set for utilizationLimit_.

  • Function reverts due to the caller not being the owner.

Zellic © 2025Back to top ↑