Open code423n4 opened 2 years ago
By default, function types and state variables/constants are internal, so the internal keyword can be omitted.
Affected code:
Consider using IERC20 type instead of address. Or IERC20[] type instead of address[].
Consider using "_" separate digit capacity i.e "100000" could be replaced to "100_000". This increases code readability.
We consider it is better for readibility to have explicit visibility
We consider it does not improve readibility
Only this one is valid we could optimize casting
Impact
By default, function types and state variables/constants are internal, so the internal keyword can be omitted.
Affected code:
Proof of Concept
Tools Used
Recommended Mitigation Steps
Impact
Consider using IERC20 type instead of address. Or IERC20[] type instead of address[].
Affected code:
Proof of Concept
Tools Used
Recommended Mitigation Steps
Impact
Consider using "_" separate digit capacity i.e "100000" could be replaced to "100_000". This increases code readability.
Affected code:
Proof of Concept
Tools Used
Recommended Mitigation Steps