Function: addMilestone(Milestone _milestone)
This function is used to add a milestone to the allocation contract.
Inputs
_milestoneControl: Arbitrary.
Constraints: Should be less than the length of the
milestonesarray.Impact: Milestone struct with
milestoneAward,unlockOnCompletion,complete, andconditionContractsfields.
Branches and code coverage
Intended branches
Add the provided milestone to the
milestonesarray.
Negative behavior
Revert if the caller is not the controller.
Revert if the allocation is already terminated.