Assessment reports>Metavest>Threat Model>setGovVariables

Function: setGovVariables(GovType _govType)

This function is used to set the governance variables for the allocation contract.

Inputs

  • _govType

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Enum value to set the governance variables for the allocation contract.

Branches and code coverage

Intended branches

  • Set the governance variables for the allocation contract.

Negative behavior

  • Revert if the allocation is already terminated.

  • Revert if the caller is not the controller.

Zellic © 2024Back to top ↑