Uint256 i = 0 in for loops is redundant because uint256's default value is 0
As i is an uint256, it is already initialized to 0. uint256 i = 0 reassigns the 0 to i which wastes gas.Also ++i costs less gas than i++ for for loops.
Gas efficiency
Manual Review
If the for loops look like this they will save a little bit of gas - for (uint256 i; i < tokenAddresses.length; ++i)
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.