Function: setOperator(address _operatorAddress)
This allows the owner of the contract to set the operatorAddress.
Inputs
_operatorAddressControl:
onlyOwnerof contract can call this function.Constraints: The new address is not zero.
Impact: Address of trusted operator that has full access to main functionality. Operator can perform withdraw action for any account and call function to process
settlement,adl, andliquidationactions.
Branches and code coverage
Intended branches
New address was set successfully.
Negative behavior
Zero address.
The same address already set.
Caller is not an owner.