Closed c4-judge closed 5 months ago
Trumpero marked the issue as duplicate of #292
Trumpero marked the issue as satisfactory
This issue should receive only 50% partial credit due to its lack of quality and maximum impact
Trumpero marked the issue as partial-50
Judge has assessed an item in Issue #258 as 2 risk. The relevant finding follows:
[L-8] Please use
targetTotalSupply
instead oftotalSupply
.When applying
loss
, we calculate thenewCreditMultiplier
based on theloss
and total supply. https://github.com/code-423n4/2023-12-ethereumcreditguild/blob/2376d9af792584e3d15ec9c32578daa33bb56b43/src/governance/ProfitManager.sol#L331-L333If there are unminted tokens, the correct total supply should be
targetTotalSupply
.