Platform: Code4rena
Start Date: 23/02/2024
Pot Size: $36,500 USDC
Total HM: 2
Participants: 39
Period: 7 days
Judge: Dravee
Id: 338
League: ETH
Rank: 34/39
Findings: 1
Award: $26.86
🌟 Selected for report: 0
🚀 Solo Findings: 0
26.8578 USDC - $26.86
From the docs, it says that Principal token is an EIP-5095 compliant
This is the core contract of Spectra. The Principal Token is EIP-5095 and EIP-2612 compliant.
But it doesnt follow the standards correctly. As per EIP-5095, the maxRedeem MUST factor in both global and user-specific limits, like if redemption is entirely disabled (even temporarily) it MUST return 0
. This is not the case currently, as even if the contract is paused, the maxRedeem method will still return the maxBurnable for the caller.
Go through the standard and follow it for all methods that override methods from ERC5095 implementation.
Other
#0 - c4-pre-sort
2024-03-03T09:22:26Z
gzeon-c4 marked the issue as duplicate of #33
#1 - c4-pre-sort
2024-03-03T09:22:28Z
gzeon-c4 marked the issue as sufficient quality report
#2 - c4-judge
2024-03-11T00:29:19Z
JustDravee marked the issue as partial-25
#3 - c4-judge
2024-03-11T00:29:22Z
JustDravee marked the issue as satisfactory
#4 - c4-judge
2024-03-14T06:24:33Z
JustDravee marked the issue as partial-25