Open code423n4 opened 1 year ago
Picodes marked the issue as grade-b
G-01: this suggestion does not save any gas
G-02: fixed in https://github.com/GenerationSoftware/pt-v5-prize-pool/pull/57
G-03: unchecked { ++i }
would have to be at the end of the function and would reduce clarity, so we are not going to implement these kind of suggestions.
G-04: same for i = 0
, it would reduce clarity.
G-05: fixed in the following PR: https://github.com/GenerationSoftware/pt-v5-prize-pool/pull/57
G-06: no need to index amounts
G-07: won't fix cause we would lose in code clarity
G-08: it's preferable to use memory
instead of storage
G-09: fixed in the following PR: https://github.com/GenerationSoftware/pt-v5-prize-pool/pull/57
G-10: has been removed
See the markdown file with the details of this report here.