Skip to content

Conversation

@8ball030
Copy link
Contributor

No description provided.

@8ball030
Copy link
Contributor Author

#23

Resolves this issue.

function _donateUnclaimedIncentiveTokens(uint256 claimRound) internal {
uint256 unclaimedAmount = roundPoints[claimRound].availableRewards - roundPoints[claimRound].totalClaimed;
if (unclaimedAmount < MINIMUM_BALANCE_DONATION_AMOUNT) {
uint256 totalRoundDonations = roundPoints[claimRound].totalDonated;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we dont pass incentive tokens to balancer unless donation-receieved

@kupermind kupermind merged commit cfdad0e into main Jul 13, 2025
1 check passed
@kupermind kupermind deleted the fix/avoid-sweeping-during-rounds-without-donations branch July 13, 2025 12:15
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