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

Return pay amount #4

Merged

Conversation

merklejerk
Copy link
Owner

Return the pay amount from claim() and verifyBountyCanPay(). Just in case a project decides to payout more than their bounty and they instead consider the bounty amount as a minimum. E.g., if a project scales bounty by TVL.

@merklejerk merklejerk changed the base branch from main to fix/payer-pauser-reuse March 9, 2024 00:59
@merklejerk merklejerk merged commit d72a175 into fix/payer-pauser-reuse Mar 9, 2024
1 check passed
merklejerk added a commit that referenced this pull request Mar 9, 2024
* fix pauser and payer reuse vuln
update testnet scripts
fix broken tests
update README

* update readme

* Add Test to Validate Mitigation of Unauthorized Bounty Claim (#5)

Added test to check for bounty using another pauser payer

* Return pay amount (#4)

* return paid amount from claims

* update readme

* update flow img

* update flow img

---------

Co-authored-by: JordanCason <JordanCason@gmail.com>
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