Closed pirapira closed 5 years ago
(venv) parupunte% myth -x --solc-args ".=. lib=contracts/lib raiden=contracts/raiden test=contracts/test services=contracts/services" contracts/raiden/TokenNetwork.sol
The analysis was completed successfully. No issues were detected.
==== Integer Overflow ====
SWC ID: 101
Severity: High
Contract: SecretRegistry
Function name: registerSecretBatch(bytes32[])
PC address: 392
Estimated Gas Usage: 340 - 435
The binary multiplication can overflow.
The operands of the multiplication operation are not sufficiently constrained. The multiplication could therefore result in an integer overflow. Prevent the overflow by checking inputs or ensure sure that the overflow is caught by an assertion.
--------------------
Everything that can be easily be done has been done.
Like the ones listed in
https://ethereum.stackexchange.com/questions/31519/security-analysis-tool-for-ethereum-smart-contracts?rq=1