Function: createStrategy(string _strategyName)
Allows creating a new Beefy Strategy as a proxy of the template instance.
Inputs
_strategyNameControl: Fully controlled by the caller.
Constraints: None. Should ensure that
strategyNameexists in theinstancesmapping.Impact: The name of the strategy to copy.
Branches and code coverage
Intended branches
Should call the initializer function on the new strategy. Currently not performed.
Create a new
BeaconProxyinstance.Push the new strategy to the strategies array.
Negative behavior
Should not allow creating a new strategy if the strategy name does not exist in the
instancesmapping. Currently not checked.