Upgrade to at least 0.8.4
Using newer compiler versions and the optimizer gives gas optimizations and additional safety checks for free!
The advantages of versions
- Safemath by default from
0.8.0(can be more gas efficient than some library based safemath).
- Low level inliner from
0.8.2, leads to cheaper runtime gas. Especially relevant when the contract has small functions. For