BaseRewardPool4626 is not IERC4626 compliant
Submitted by 0xjuicer
BaseRewardPool4626 is not IERC4626 compliant. This makes the BaseRewardPool4626 contract irrelevant as it is for now since projects won’t be able to integrate with BaseRewardPool4626 using the eip-4626 standard.
Recommended Mitigation Steps
You can choose to remove the BaseRewardPool4626 and save on some deployment gas or review the necessaryfunctions and emits required on eip-4626 and add it to BaseRewardPool4626.
0xMaharishi (Aura Finance) confirmed, but disagreed with severity and commented:
Valid report. Probably should be severity 1 though.. no funds are ever at risk under any scenario.
I agree with medium risk here.
0xMaharishi (Aura Finance) resolved:
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity smart contracts bug in Aura Finance contest. Code4rena made it public on 26 July 2022. Found in the 2022-05-aura audit contest (finding M-01).
About Smart contracts
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is Smart contracts?
Flaws in on-chain code that let an attacker drain funds, freeze them or break the protocol's accounting.