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

Document the safe reward notifier requirements in UniStaker natspec #60

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

apbendi
Copy link
Collaborator

@apbendi apbendi commented Feb 21, 2024

Adds natspec documentation and code comments to make the requirements of would-be reward notifier contracts explicit and clear. This serves as (code level) documentation of the issue described in #59.

Copy link
Collaborator

@alexkeating alexkeating left a comment

Choose a reason for hiding this comment

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

Looks good small suggestions

src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Show resolved Hide resolved
Copy link
Collaborator

@wildmolasses wildmolasses left a comment

Choose a reason for hiding this comment

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

lgtm

Also adds return params to public view methods for consistencey within
generated docs.
Copy link

Coverage after merging document-issue into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   UniStaker.sol99.49%95.83%100%100%611
   V3FactoryOwner.sol100%100%100%100%

@apbendi apbendi merged commit 2337392 into main Feb 21, 2024
4 checks passed
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.

3 participants