Function: removeMetavestMilestone(address _grant, uint256 _milestoneIndex)
This function is used to remove a milestone of the allocation.
Inputs
_grantControl: Arbitrary.
Constraints: Should be a valid allocation address.
Impact: Address of the allocation.
_milestoneIndexControl: Arbitrary.
Constraints: None.
Impact: Index of the milestone.
Branches and code coverage
Intended branches
Delete the amendment from the
functionToGranteeToAmendmentPendingmapping.Remove the milestone from the
milestonesarray of the allocation.
Negative behavior
Revert if the caller is not the authority.
Revert if the condition check fails.
Revert if the consent check fails.
Function call analysis
BaseAllocation(_grant).removeMilestone(_milestoneIndex)What is controllable?
_grantand_milestoneIndex.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.