From 6e0ae79ad5446fc1c21be703d6f68c50fad18e78 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Tue, 15 Mar 2022 11:44:44 +0100 Subject: [PATCH 1/2] fix: Fix EmissionManagerUpdated event docstring --- contracts/rewards/interfaces/IRewardsDistributor.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/rewards/interfaces/IRewardsDistributor.sol b/contracts/rewards/interfaces/IRewardsDistributor.sol index eb86ac95..9e65fd19 100644 --- a/contracts/rewards/interfaces/IRewardsDistributor.sol +++ b/contracts/rewards/interfaces/IRewardsDistributor.sol @@ -46,9 +46,9 @@ interface IRewardsDistributor { ); /** - * @dev Emitted when setEmissionManager is called after transfer of the EmissionManager role to a new admin - * @param previousEmissionManager The address of the previous emission manager that requested the update of emission manager - * @param newEmissionManager The address of the new emission manager admin + * @dev Emitted when the emission manager address is updated. + * @param oldEmissionManager The address of the old emission manager + * @param newEmissionManager The address of the new emission manager */ event EmissionManagerUpdated( address indexed previousEmissionManager, From 49fe12b61b6633444d4522ad66c357f4d41fe5c9 Mon Sep 17 00:00:00 2001 From: miguelmtzinf Date: Tue, 15 Mar 2022 11:46:09 +0100 Subject: [PATCH 2/2] fix: Fix EmissionManagerUpdated event docstring --- contracts/rewards/interfaces/IRewardsDistributor.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/rewards/interfaces/IRewardsDistributor.sol b/contracts/rewards/interfaces/IRewardsDistributor.sol index 9e65fd19..431fdfe7 100644 --- a/contracts/rewards/interfaces/IRewardsDistributor.sol +++ b/contracts/rewards/interfaces/IRewardsDistributor.sol @@ -51,7 +51,7 @@ interface IRewardsDistributor { * @param newEmissionManager The address of the new emission manager */ event EmissionManagerUpdated( - address indexed previousEmissionManager, + address indexed oldEmissionManager, address indexed newEmissionManager );