figshare
Browse

GuessGas:Tell me Fine-Grained Gas Consumption of My Smart Contract and Why

Download (2.72 MB)
preprint
posted on 2023-03-14, 03:40 authored by Qing Huang, Renxiong ChenRenxiong Chen, Jinshan Zeng, Zeng, Jinshan, Xu, Xiwei, Lu, Qinghua

In this paper, we present the development of an explainable Gas Estimator model EGE, utilizing big data to mine potential distribution of runtime information. Our approach overcomes the limitations of static gas analysis tools by labeling functions based on interval probability distribution and building code representations containing program semantics. We also considered domain features during training to improve prediction accuracy. Our domain-oriented subgraph-level GNN explanation model SubgraphGas provides explanations for predictions.

History

Email Address of Submitting Author

crx934080895@gmail.com

Submitting Author's Institution

Jiangxi Normal University

Submitting Author's Country

  • China

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC