Function: addMetaVestToSet(string _name, address _metaVest)
This function is used to add a metavest to the set.
Inputs
_nameControl: Arbitrary.
Constraints: None.
Impact: Name of the set.
_metaVestControl: Arbitrary.
Constraints: None.
Impact: Address of the metavest contract.
Branches and code coverage
Intended branches
Update the
setsmapping with thenameand_metaVest.
Negative behavior
Revert if the caller is not the authority.
Revert if the
namedoes not exist in thesetNamesarray.Revert if the
_metaVestis already in thesetsmappping.