There is a missed opportunity to use named parameter for public mappings
The projects use Solidity 0.8.21 and miss that from 0.8.18 a new feature allowing named parameters for public mappings was introduced.
See instances below:
https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/oracles/ChainlinkARBOracle.sol#L37
https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/oracles/ChainlinkARBOracle.sol#L39
https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/oracles/ChainlinkARBOracle.sol#L41
https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/strategy/gmx/GMXVault.sol#L41
https://github.com/Cyfrin/2023-10-SteadeFi/blob/main/contracts/strategy/gmx/GMXVault.sol#L43
Informational:
Improving code readability and maintainability is crucial as it helps to make the codebase more organized and easier to understand, which ultimately leads to better maintainability over time
Makes the mappings syntax similar to functions and events that take parameters
Allows setting of fields in the ABI for mapping public getter functions
Manual Analysis
Change to specify parameter names for all instances as in the example below:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.