Characterizing Efficiency Optimizations in Solidity Smart Contracts (IEEE Best Paper Award)

Abstract

On many blockchain platforms, gas fees have to be paid for deploying and executing smart contracts. These fees depend on the size of the contract code as well as the needed computational steps and required storage space of a smart contract. Because of the large amount of gas cost paid each day, there is an inherent motivation to optimize smart contract code in order to reduce these cost. Within this paper, we discuss the application of 25 strategies for code optimization to Solidity smart contracts. A prototype is developed which detects potential optimizations and partially automatically optimizes the code accordingly. The optimization strategies are evaluated based on 3,018 verified open source smart contracts from etherscan.io. We find 471 rule violations in the test data spread across 204 different contract files.

Publication
Talk: 3rd IEEE International Conference on Blockchain (Blockchain 2020) - Online Conference, Rhodes Island, Greece; 11-02-2020 - 11-06-2020; in: “Proceedings of the 3rd IEEE International Conference on Blockchain (Blockchain 2020)", IEEE, (2020), ISBN: 978-0-7381-0496-6; 281 - 290
Jürgen Cito
Jürgen Cito
Assistant Prof. Dipl.-Ing. Dr.sc.