Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RewardsWithdrawn event to withdrawRewards function in TACoApplication #276

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

manumonti
Copy link
Member

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:
This will add RewardsWithdrawn to be emitted when staking rewards are withdrawn.

Issues fixed/closed:
Fixes #275

Why it's needed:
This event is included in IApplication interface, so it's intended to be emitted by all the Threshold applications when the function withdrawRewards() is called.

https://github.com/threshold-network/solidity-contracts/blob/8fcf42c6fcb50bb7730155bd5b99239b7b30382d/contracts/staking/IApplication.sol#L26

@manumonti manumonti marked this pull request as draft June 20, 2024 08:32
@manumonti
Copy link
Member Author

TBD: tests

@manumonti manumonti self-assigned this Aug 26, 2024
@manumonti manumonti marked this pull request as ready for review August 27, 2024 10:00
Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎸

@manumonti manumonti merged commit 823d28c into nucypher:main Aug 28, 2024
2 checks passed
@manumonti manumonti deleted the rewards-withdrawn branch August 28, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding RewardsWithdrawn event to TACoApp contract
3 participants