Omniscia Kyo Finance Audit

NoEmission Code Style Findings

NoEmission Code Style Findings

NEN-01C: Redundant Explicitly Named Argument

TypeSeverityLocation
Code StyleNoEmission.sol:L8

Description:

The referenced input argument is redundant as the function does not utilize it.

Example:

contracts/reward/emission/NoEmission.sol
8function emissionRateAt(uint256 timestamp) external view returns (uint256) {
9 return 0;
10}

Recommendation:

We advise its explicit name to be omitted, optimizing the code's syntax.

Alleviation (17c8d4e59f398021156f6f9657ff278aae0462ae):

The Kyo Finance team evaluated this exhibit but opted to acknowledge it in the current iteration of the codebase.