Omniscia Kyo Finance Audit
Voter Code Style Findings
Voter Code Style Findings
VRE-01C: Redundant Contract Import
Type | Severity | Location |
---|---|---|
Code Style | ![]() | Voter.sol:L4 |
Description:
The referenced import
remains unused in the codebase.
Example:
contracts/voting/Voter.sol
4import {StakingMath} from "contracts/lib/StakingMath.sol";
Recommendation:
We advise it to be omitted, optimizing the code's gas cost.
Alleviation (17c8d4e59f398021156f6f9657ff278aae0462ae):
The Kyo Finance team evaluated this exhibit but opted to acknowledge it in the current iteration of the codebase.