Function: setMetaVestGovVariables(address _grant, BaseAllocation.GovType _govType)
This function is used to set the metavest governance variables of the allocation.
Inputs
_grant
Control: Arbitrary.
Constraints: Should be a valid allocation address.
Impact: Address of the allocation.
_govType
Control: Arbitrary.
Constraints: None.
Impact: Type of the governance.
Branches and code coverage
Intended branches
Set the metavest governance variables of the allocation.
Negative behavior
Revert if the caller is not the authority.
Revert if the consent check fails.
Function call analysis
BaseAllocation(_grant).setGovVariables(_govType)
What is controllable?
_grant
and_govType
.If the return value is controllable, how is it used and how can it go wrong? N/A.
What happens if it reverts, reenters or does other unusual control flow? N/A.