The study introduces four gas-waste detectors integrated into the Slither static-analysis framework and applies them to 397 Solidity smart contracts from 53 Ethereum dApps, identifying 250 gas-waste instances.
Download verified-gas-opt-ppr.zip
The dataset is annotated using four detectors introduced in the paper:
cache-address-this — repeated use of address(this)div-by-uint — division by unsigned integerssmaller-string — constant strings of 32 characters or fewerunnec-casting-same-type — unnecessary type casting to the same typeOptimizing Gas Consumption in Ethereum Smart Contracts: A Static Analysis Approach
Abdur Rehman Raza, Muhammad Hanzala, Khawir Mahmood, Shahzaib Tahir, Saifullah Khalid, and Asif Masood
2025 International Conference on Communication Technologies (ComTech), pp. 1–6, IEEE, 2025.
If you use the Gas53 dataset or its analysis results in academic work, please cite:
@inproceedings{raza2025optimizing,
title = {Optimizing Gas Consumption in Ethereum Smart Contracts: A Static Analysis Approach},
author = {Raza, Abdur Rehman and Hanzala, Muhammad and Mahmood, Khawir and Tahir, Shahzaib and Khalid, Saifullah and Masood, Asif},
booktitle = {2025 International Conference on Communication Technologies (ComTech)},
pages = {1--6},
year = {2025},
publisher = {IEEE},
doi = {10.1109/ComTech65062.2025.11034442}
}