```\nfunction setOperatorAddresses(\n uint256 \_operatorIndex,\n address \_operatorAddress,\n address \_feeRecipientAddress\n) external onlyActiveOperatorFeeRecipient(\_operatorIndex) {\n \_checkAddress(\_operatorAddress);\n \_checkAddress(\_feeRecipientAddress);\n StakingContractStorageLib.OperatorsSlot storage operators = StakingContractStorageLib.getOperators();\n\n operators.value[\_operatorIndex].operator = \_operatorAddress;\n operators.value[\_operatorIndex].feeRecipient = \_feeRecipientAddress;\n emit ChangedOperatorAddresses(\_operatorIndex, \_operatorAddress, \_feeRecipientAddress);\n}\n```\n