Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions protocol-contracts/staking/contracts/OperatorRewarder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ contract OperatorRewarder {
mapping(address => address) private _authorizedClaimers;

/// @notice Emitted when the beneficiary is transferred.
event BeneficiaryTransferred(address oldBeneficiary, address newBeneficiary);
event BeneficiaryTransferred(address indexed oldBeneficiary, address indexed newBeneficiary);

/// @notice Emitted when the contract is shut down.
event Shutdown();

/// @notice Emitted when the maximum fee is updated.
event MaxFeeUpdated(uint16 oldFee, uint16 newFee);
event MaxFeeUpdated(uint16 indexed oldFee, uint16 indexed newFee);

/// @notice Emitted when the fee is updated.
event FeeUpdated(uint16 oldFee, uint16 newFee);
event FeeUpdated(uint16 indexed oldFee, uint16 indexed newFee);

/// @notice Emitted when an address is authorized to claim rewards on behalf of the receiver address.
event ClaimerAuthorized(address receiver, address claimer);
event ClaimerAuthorized(address indexed receiver, address indexed claimer);

/// @notice Error for invalid claimer address.
error InvalidClaimer(address claimer);
Expand Down
2 changes: 1 addition & 1 deletion protocol-contracts/staking/contracts/OperatorStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ contract OperatorStaking is ERC1363Upgradeable, ReentrancyGuardTransient, UUPSUp
);

/// @dev Emitted when the rewarder contract is set.
event RewarderSet(address oldRewarder, address newRewarder);
event RewarderSet(address indexed oldRewarder, address indexed newRewarder);

/// @dev Thrown when the caller is not the ProtocolStaking's owner.
error CallerNotProtocolStakingOwner(address caller);
Expand Down