Papers1 provider Ā· 1 record
August 16, 2023Ā· 2023 International Conference on Emerging Trends in Networks and Computer Communications (ETNCC)
conference-paper

GasOptiScan: Unveiling Gas-Inefficient Smart Contracts via Loop Fusible Pattern Detection for Enhanced Cost Efficiency

Authors:Rishank GoyalMeenakshi TripathiShubham Tomar

Abstract

Gas inefficiency in smart contracts deployed on the Ethereum blockchain can lead to unnecessary expenses due to high gas fees. In this article, we address this issue by proposing GasOptiScan, an innovative web application tool to automatically detect all the possible Fusible Loop Optimization (FLO) patterns considering multiple loops at the same time within gas-inefficient code present in smart contracts. The findings revealed that a range of operations, such as comparisons and conditional jumps, can be minimized to reduce the number of opcodes and the associated gas fees. GasOptiScan harnesses cutting-edge static code analysis techniques to equip developers with valuable fusible loop pattern recommendations to optimize gas usage and minimize transaction costs in smart contract execution. With GasOptiScan's insightful analysis, developers can make informed optimizations that result in potential cost savings, ultimately enhancing the overall performance and affordability of executing smart contracts on the Ethereum blockchain. By leveraging techniques such as hexadecimal conversion, graph analysis, block detection, and variable identification, the tool identifies fusible blocks with varying upper bounds and lower bounds to minimize gas fees during contract execution. The GasOptiScan tool is designed with user-friendliness in mind, ensuring a seamless and intuitive experience for developers and enabling them to optimize their smart contracts and maximize efficiency on the Ethereum blockchain.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.