QA Report #194
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
valid
QA REPORT
[LOW] Use mult before div
To improve the following calculations precision consider changing the order of the operations such that multiplications come before divisions.
Example: Project.sol#L905
[LOW] The project is compiled with different solidity versions
[LOW] Missing nonReentrancy modifier
The following functions allows attackers to try reentrancy since they are calling to external contracts / transferring eth. Consider adding a nonReentrancy modifier.
Proof of concept:
[LOW] Add timelock for the following functions
Using a timelock in the following type of functions is common among defi protocols.
Proof of concept:
[LOW] Not verified input
At the following functions you should verify the parameters that are being assigned to a state variable.
Proof of concept:
[LOW] In the following functions consider verifying the fee parameter
Where the fee parameter validation is checking greater than 0% (which may happen by mistake) and less than 100%
Proof of concept:
[NON CRITICAL] Missing function spec comments
Proof of concept:
[NON CRITICAL] NonReentrancy should be the first modifier in order
Example: Disputes.sol#L145
[NON CRITICAL] Consider emitting an event at the following functions
Proof of concept:
[NON CRITICAL] Unused function parameters should have name removed
If for any reason the following unused parameters are necessary then remove their naming (since only the type matters for function signature)
Example: Community.sol#L291
The text was updated successfully, but these errors were encountered: