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

Withdrawal timer for staker rewards #144

Closed
jtse0 opened this issue Nov 2, 2021 · 0 comments · Fixed by #158
Closed

Withdrawal timer for staker rewards #144

jtse0 opened this issue Nov 2, 2021 · 0 comments · Fixed by #158
Assignees
Labels
contracts Smart contracts enhancement New feature or request

Comments

@jtse0
Copy link
Collaborator

jtse0 commented Nov 2, 2021

Related to issue: #123 - A new mapping will be added to record the last time that a staker has withdrawn rewards.

  • A default wait time will be added to ensure that stakers wait a certain time before withdrawing their rewards
  • Checking will be added to withdrawals to make sure timestamps allow for withdrawal and update timestamps after withdrawals
@jtse0 jtse0 added enhancement New feature or request contracts Smart contracts labels Nov 2, 2021
@jtse0 jtse0 self-assigned this Nov 2, 2021
jtse0 added a commit that referenced this issue Nov 9, 2021
@jtse0 jtse0 linked a pull request Nov 12, 2021 that will close this issue
jtse0 added a commit that referenced this issue Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contracts Smart contracts enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant