Function: deployMetavestAndController(address _authority, address _dao, address _vestingAllocationFactory, address _tokenOptionFactory, address _restrictedTokenFactory)
This function is used to deploy a new metavestController.
Inputs
_authorityControl: Arbitrary.
Constraints: None.
Impact: Address of the authority.
_daoControl: Arbitrary.
Constraints: None.
Impact: Address of the DAO.
_vestingAllocationFactoryControl: Arbitrary.
Constraints: Nonzero address.
Impact: Address of the
vestingAllocationFactory.
_tokenOptionFactoryControl: Arbitrary.
Constraints: Nonzero address.
Impact: Address of the
tokenOptionFactory.
_restrictedTokenFactoryControl: Arbitrary.
Constraints: Nonzero address.
Impact: Address of the
restrictedTokenFactory.
Branches and code coverage
Intended branches
Deploy a new
metavestController.
Negative behavior
Revert if the provided factories are zero address.