-
Notifications
You must be signed in to change notification settings - Fork 0
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 RewardsManager contract to manage DAO incentives for stakers #24
Conversation
oliviera9
commented
Jan 29, 2024
•
edited
Loading
edited
- The new contract will receive tokens from whitelisted addresses, e.g. DAO voting contract.
- A permission-less function can be called by anyone to register for rewards for a specific epoch.
- One will be eligible for rewards if he has voted at least once in the specified epoch.
- Once a reward is registered for a user, the contract will mint daoPNT tokens for that user so they will account in his balance.
- Finally, the user will be able to withdraw his tokens after one year.
bebcaca
to
d27f0ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No major issues, few open question marks though.
Also, I didn't see integrations tests with the actual gnosis DandelioVotingContract, did you forget to push maybe?
14270f7
to
93bc16f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3f0afdf
to
1a514ba
Compare
1a514ba
to
52ce1fe
Compare