From 0eaea3562cb98d44169c1038c86c5683422b62d1 Mon Sep 17 00:00:00 2001 From: Manuel Montenegro Date: Fri, 14 Jun 2024 14:25:16 +0200 Subject: [PATCH] Add RewardsWithdrawn event --- contracts/contracts/TACoApplication.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/contracts/TACoApplication.sol b/contracts/contracts/TACoApplication.sol index 4959016b..79569875 100644 --- a/contracts/contracts/TACoApplication.sol +++ b/contracts/contracts/TACoApplication.sol @@ -551,6 +551,7 @@ contract TACoApplication is uint96 value = info.tReward; require(value > 0, "No reward to withdraw"); info.tReward = 0; + emit RewardsWithdrawn(_stakingProvider, value); emit RewardPaid(msg.sender, _stakingProvider, beneficiary, value); token.safeTransfer(beneficiary, value); }