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

Calculate additional bounties #24

Merged
merged 1 commit into from
Feb 13, 2022
Merged

Conversation

jophish
Copy link
Collaborator

@jophish jophish commented Feb 13, 2022

#12

@@ -13,6 +13,11 @@ interface IRevoBounty {
view
returns (TokenAmount[] memory);

function calculateAdditionalBountyFee(TokenAmount[] calldata interestAccrued)
Copy link
Contributor

Choose a reason for hiding this comment

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

In my mind, a "bounty fee" is a fee the user pays that turns into a bounty for the person who calls claimRewards to collect. By that logic though, "additional bounty fee" doesn't make sense. The "additional bounty" is not funded by fees. It's a bounty that Revo pays for, presumably out of the community fund (which will have governance tokens, withdrawal fees, etc)

Copy link
Contributor

Choose a reason for hiding this comment

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

I think calculateAdditionalBounty would be easier to understand

@cajubelt cajubelt merged commit 4896c25 into main Feb 13, 2022
@cajubelt cajubelt deleted the jophish/calculate-additional-fees branch February 13, 2022 22:25
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