Assessment reports>Metavest>Threat Model>updateUnlockRate

Function: updateUnlockRate(uint160 _newUnlockRate)

This function is used to update the unlock rate of the allocation contract.

Inputs

  • _newUnlockRate

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: New unlock rate to update the allocation contract.

Branches and code coverage

Intended branches

  • Update the unlockRate of the allocation contract.

Negative behavior

  • Revert if the allocation is already terminated.

  • Revert if the caller is not the controller.

Zellic © 2024Back to top ↑