From 184fb9d03c3cf1e6a37c3346ad8921a18adcb174 Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Fri, 19 Jul 2024 09:58:29 +0100 Subject: [PATCH] chore: adding unit types and ids into dev incentives event --- contracts/Dispenser.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/Dispenser.sol b/contracts/Dispenser.sol index b882b12f..8d869a2f 100644 --- a/contracts/Dispenser.sol +++ b/contracts/Dispenser.sol @@ -267,7 +267,7 @@ contract Dispenser { event TreasuryUpdated(address indexed treasury); event VoteWeightingUpdated(address indexed voteWeighting); event StakingParamsUpdated(uint256 maxNumClaimingEpochs, uint256 maxNumStakingTargets); - event IncentivesClaimed(address indexed owner, uint256 reward, uint256 topUp); + event IncentivesClaimed(address indexed owner, uint256 reward, uint256 topUp, uint256[] unitTypes, uint256[] unitIds); event StakingIncentivesClaimed(address indexed account, uint256 chainId, bytes32 stakingTarget, uint256 stakingIncentive, uint256 transferAmount, uint256 returnAmount); event StakingIncentivesBatchClaimed(address indexed account, uint256[] chainIds, bytes32[][] stakingTargets, @@ -877,7 +877,7 @@ contract Dispenser { revert ClaimIncentivesFailed(msg.sender, reward, topUp); } - emit IncentivesClaimed(msg.sender, reward, topUp); + emit IncentivesClaimed(msg.sender, reward, topUp, unitTypes, unitIds); _locked = 1; }