-
Notifications
You must be signed in to change notification settings - Fork 16
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 signature-based onBehalf
methods and natspec
#43
Conversation
18fc9bb
to
2bbad9f
Compare
30978a5
to
399fbb6
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.
Hey @wildmolasses some comments after an initial pass through the contracts only. Looking forward to a walk through on the tests.
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.
Looking good, all small comments
src/UniStaker.sol
Outdated
totalDeposits[deposit.owner] += _amount; | ||
earningPower[deposit.beneficiary] += _amount; | ||
deposit.balance += _amount; | ||
emit StakeDeposited(_depositId, _amount, deposit.balance); |
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.
Just a reminder that once this is rebased on main this should have the deposit.owner
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.
done!
42a386c
to
04259c7
Compare
Coverage after merging behalfOf into main will be
Coverage Report
|
04259c7
to
dfac7ee
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.
A couple small things @wildmolasses, but overall this looks great.
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.
Awesome work on this @wildmolasses
Resolves #29