Skip to content

Conversation

0xPilou
Copy link
Contributor

@0xPilou 0xPilou commented Jun 20, 2025

Link to Sherlock Issue

Note : this PR also addresses concerns of Issue 47

Implementation Details :

This PR introduce a major design refactoring in regards with the tax sharing mechanism.

  • Instant Unlock : tax incurred are no longer distributed as an instant distribution
  • Vest Unlock : Fontaine.sol is no longer responsible for distributing the taxes.
  • StakingRewardController.sol : this contract is now responsible for accumulating the taxes and distribute it in a distribution flow manner. That stream is meant to perpetually be recalculated on a 6 months sliding window.

Note : The Fontaine.sol storage layout had been modified but should not be an issue as in the currently live system, no Fontaine had ever been deployed.

@0xPilou 0xPilou changed the base branch from audit/scope to audit/fix-review June 20, 2025 07:45
@0xPilou 0xPilou merged commit e7669b4 into audit/fix-review Jun 20, 2025
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.

1 participant