Open code423n4 opened 2 years ago
Timelock modifier is commonly used for storage variable setters that effects the contract logic. Consider adding timelocks on such setters.
ConvexCurveLPVault.solL#37 GeneralVault.solL#165 YieldManager.solL#64 YieldManager.solL#92
Open TODOs can hint at programming or architectural errors that still need to be fixed.
GeneralVault.solL#76
You should use safe math for solidity version <8 since there is no default over/under flow check it those versions.
CollateralAdapter.sol ConvexCurveLPVault.sol LidoVault.sol
Low issues: QA-1 NC issues: QA-2 Invalid: QA-3 safemath: no justification of why safemath should be used in these contracts if there isn't any math operations requiring its usage.
Low Risk Findings
[QA-1] Use timelock modifier for setter functions
Timelock modifier is commonly used for storage variable setters that effects the contract logic. Consider adding timelocks on such setters.
[QA-2] you have open TODOs in the codebase
Open TODOs can hint at programming or architectural errors that still need to be fixed.
[QA-3] Use safe math for solidity version <8
You should use safe math for solidity version <8 since there is no default over/under flow check it those versions.