Assessment reports>Sturdy>Threat Model>setAprOracle

Function: setAprOracle(IAprOracle _aprOracle)

This sets the APR oracle contract address.

Inputs

  • _aprOracle

    • Control: Full.

    • Constraints: Needs to be a valid address.

    • Impact: The oracle contract address.

Branches and code coverage (including function calls)

Intended branches

  • Owner successfully invokes function.

Negative behavior

  • Function reverts if invoked by nonowner.

Zellic © 2025Back to top ↑