Beginner FriendlyFoundryDeFiOracle
100 EXP
View results
Submission Details
Severity: low
Invalid

[L-1] Function 'getUnderlying' is unused

Summary

The function is not being used anywhere in the code

Vulnerability Details

function getUnderlying() external view returns (IERC20) {
// @audit-issue [L-1] Unused fucntion.
return i_underlying;
}

Impact

  1. Unwanted behavior

  2. Higher gas and cost of execution

  3. Complexity and readability

Tools Used

  1. Manual Review

  2. Vs Code

Recommendations

Remove unused code from the contract at all times.

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Gas optimizations

Support

FAQs

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