Closed c4-judge closed 5 months ago
Trumpero marked the issue as duplicate of #966
Trumpero marked the issue as partial-50
Thanks for upgrading this issue to med!
I would like to know the reason why it was marked as partial-50. Very appreciate if you can reply this and let me learn some rules from this judging.
Judge has assessed an item in Issue #808 as 2 risk. The relevant finding follows:
[L‑02] Anyone can
distribute()
only 1 wei to extend rebase time toDISTRIBUTION_PERIOD
consider introducing a
PROFIT_DISTRIBUTION
role and adding access control ondistribute()
.Update the visibility of
distribute()
inERC20RebaseDistributor
:Add access control by overriding
distribute()
inCreditToken
:PROFIT_DISTRIBUTION
role should be granted toProfitManager
when deployed.