Assessment reports>Metavest>Threat Model>updateVestingRate

Function: updateVestingRate(uint160 _newVestingRate)

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

Inputs

  • _newVestingRate

    • Control: Arbitrary.

    • Constraints: None.

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

Branches and code coverage

Intended branches

  • Update the vestingRate 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 ↑