Function: emergencyOptOutValidator(address _validator)
This function allows an admin to emergency opt out for a validator.
Inputs
_validator
Control: Fully controlled by the admin caller.
Constraints: Must be a registered validator's address.
Impact: The specified validator as opted out.
Branches and code coverage
Intended branches
Check if
_validator
is a registered validator.Remove
_validator
fromvalidatorAddresses
.Update
optOutTime
for_validator
.
Negative behavior
Caller is a service admin.
_validator
is not a registered validator.Address removal in
removeValidatorRewardList
function if_validator
is not found invalidatorAddresses
.