Function: deRegisterOperator()
Should allow deregistration of operators from the AVS.
Branches and code coverage (including function calls)
Intended branches
Assumes the operator has not been restricted from deregistering after being caught as malicious. Currently not enforced as there is no implementation of the Slasher.
Should remove the operator from the
operatorsarray as well as remove its pubkey from the_operatorPubkeysmapping.
Negative behavior
Should not be callable if the contract is paused. Enforced through the
whenNotPausedmodifier.Should not be callable if
msg.senderis not actually an operator. Enforced through therequirestatement.