Function: setToken(address _token)
This function is used to set the new token address. It is only callable by the owner.
Inputs
_tokenControl: Arbitrary address.
Constraints: Must not be zero.
Impact: New token address.
Branches and code coverage
Intended branches
Update the token.
Emit the
TokenUpdatedevent.
Negative behavior
Revert if the caller is not the owner.
Revert if the new token address is zero.