Skip to content

Commit

Permalink
Add RewardsWithdrawn event
Browse files Browse the repository at this point in the history
  • Loading branch information
manumonti committed Jun 14, 2024
1 parent 56f7aa2 commit 0eaea35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/contracts/TACoApplication.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0eaea35

Please sign in to comment.