Skip to content

Conversation

jeissoni
Copy link

I share a possible solution to the proposed challenge.

Use hardhat and etherjs for this solution. I would appreciate any feedback.

@jdnichollsc
Copy link

You're not considering the time when the users deposited, so with this solution a user could wait for the total rewards to be significant, deposit double the total deposits and withdraw to get almost all the reward 😨

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.

2 participants