Christmas Dinner

First Flight #31
Beginner FriendlyFoundrySolidity
100 EXP
View results
Submission Details
Severity: medium
Invalid

Wrong use of the Immutable Keyword

Summary

Mutable assets

Vulnerability Details

Immutable keyword used in mutable assets here:

IERC20 public immutable i_WBTC;
IERC20 public immutable i_WETH;
IERC20 public immutable i_USDC;

Impact

low

Tools Used

Manual review

Recommendations

Remove the immutable keyword on the non-stable assets, or rather on all the assets as the value is already pegged to the real token.

IERC20 public i_WBTC;
IERC20 public i_WETH;
IERC20 public i_USDC;

Updates

Lead Judging Commences

0xtimefliez Lead Judge 8 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.