Function: consentToMetavestAmendment(address _grant, byte[4] _msgSig, bool _inFavor)
This function is used to consent to the amendment of a function.
Inputs
_grantControl: Arbitrary.
Constraints: Should be a valid allocation address.
Impact: Address of the grant to consent to the amendment.
_msgSigControl: Arbitrary.
Constraints: None.
Impact: Signature of the function to consent to.
_inFavorControl: Arbitrary.
Constraints: None.
Impact: Boolean value for
inFavorof the amendment.
Branches and code coverage
Intended branches
Update the
inFavoroffunctionToGranteeToAmendmentPending.
Negative behavior
Revert if
_msgSigis not pending.Revert if the caller is not the grantee of the allocation.