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

Make the V3FactoryOwner payout amount settable by admin #57

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

apbendi
Copy link
Collaborator

@apbendi apbendi commented Feb 13, 2024

The setter also enforces that the payout amount is non-zero, and emits an event. The same applies in the constructor. The constructor also now emits an AdminSet event for initialization of the original admin.

The setter also enforces that the payout amount is non-zero, and emits an
event. The same applies in the constructor. The constructor also now emits
an AdminSet event for initialization of the original admin.
Copy link

Coverage after merging settable-payout into main will be

100.00%

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

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

test/V3FactoryOwner.t.sol Show resolved Hide resolved
@apbendi apbendi merged commit 2c3eab0 into main Feb 15, 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