Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1007/978-3-031-66456-4_10guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Template-Based Smart Contract Verification: A Case Study on Maritime Transportation Domain

Published: 29 September 2024 Publication History

Abstract

Maritime transportation business suffers from trust issues and burdensome paperwork. Blockchain-based smart contracts are a promising solution. Due to the nature of the blockchain, it is important to verify smart contracts before deployment, especially for its functionality and legality. In this paper, we propose a verification framework that automatically verifies the functionality and legality requirements of maritime transportation smart contracts. Smart contracts of an application, based on a set of templates, are modeled in a network of timed automata; domain-specific requirements are collected and formulated as temporal logic formulas; real-time model checking tool UPPAAL is then used to check whether these requirements are satisfied. We carry out experiments on nine real-world smart contracts to show the effectiveness and feasibility of our framework. We also compare our work with existing tools to show its effectiveness and efficiency.

References

[3]
Ahmad RW, Salah K, Jayaraman R, Yaqoob I, Omar M, and Ellahham S Blockchain-based forward supply chain and waste management for Covid-19 medical equipment and supplies IEEE Access 2021 9 44905-44927
[4]
Alqahtani, S., He, X., Gamble, R., Mauricio, P.: Formal verification of functional requirements for smart contract compositions in supply chain management systems (2020)
[5]
Alur, R., Courcoubetis, C., Dill, D.: Model-checking for real-time systems. In: 1990 Proceedings of Fifth Annual IEEE Symposium on Logic in Computer Science, pp. 414–425. IEEE (1990)
[6]
Alur R and Dill D Paterson MS Automata for modeling real-time systems ICALP 1990 1990 Heidelberg Springer 322-335
[7]
Amani, S., Bégel, M., Bortin, M., Staples, M.: Towards verifying Ethereum smart contract bytecode in Isabelle/HOL. In: Proceedings of the 7th ACM SIGPLAN International Conference on Certified Programs and Proofs, pp. 66–77 (2018)
[8]
Bai, X., Cheng, Z., Duan, Z., Hu, K.: Formal modeling and verification of smart contracts. In: Proceedings of the 2018 7th International Conference on Software and Computer Applications, pp. 322–326 (2018)
[9]
Balci G and Surucu-Balci E Blockchain adoption in the maritime supply chain: examining barriers and salient stakeholders in containerized international trade Transp. Res. Part E: Logist. Transp. Rev. 2021 156
[10]
Basu A et al. Rigorous component-based system design using the BIP framework IEEE Softw. 2011 28 3 41-48
[12]
Behrmann, G., David, A., Larsen, K.G.: A tutorial on UPPAAL 4.0. Department of Computer Science, Aalborg University (2006)
[13]
Bhargavan, K., et al.: Formal verification of smart contracts: short paper. In: Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security, pp. 91–96 (2016)
[14]
Buterin, V., et al.: A next-generation smart contract and decentralized application platform. White Paper 3(37), 2–1 (2014)
[15]
Cavada R et al. Biere A, Bloem R, et al. The nuXmv symbolic model checker Computer Aided Verification 2014 Cham Springer 334-342
[16]
Cimatti A, Clarke E, Giunchiglia F, and Roveri M Halbwachs N and Peled D NuSMV: a new symbolic model verifier Computer Aided Verification 1999 Heidelberg Springer 495-499
[17]
Clarke EM Jr, Grumberg O, Kroening D, Peled D, and Veith H Model Checking 2018 Cambridge MIT Press
[18]
Elmay, F.K., Madine, M., Salah, K., Jayaraman, R.: NFTs for trusted traceability and management of digital twins for shipping containers. In: 2023 IEEE International Conference on Pervasive Computing and Communications Workshops and other Affiliated Events (PerCom Workshops), pp. 433–438. IEEE (2023)
[19]
Elmay FK, Salah K, Jayaraman R, and Omar IA Using NFTs and blockchain for traceability and auctioning of shipping containers and cargo in maritime industry IEEE Access 2022 10 124507-124522
[20]
Foundation, T.: Michelson: the language of smart contracts in Tezos. https://tezos.gitlab.io/active/michelson.html#language-semantics
[21]
Ganne, E.: Can blockchain revolutionize international trade? [online] (2018). https://www.wto.org/english/res_e/booksp_e/blockchainrev18_e.pdf
[22]
Group, B.C.: Digital innovation in trade finance: have we reached a tipping point? (2017). https://www.swift.com/news-events/news/digital-innovation-trade-finance-have-we-reached-tipping-point
[23]
Hasan H, AlHadhrami E, AlDhaheri A, Salah K, and Jayaraman R Smart contract-based approach for efficient shipment management Comput. Ind. Eng. 2019 136 149-159
[24]
Hirai Y et al. Brenner M et al. Defining the Ethereum virtual machine for interactive theorem provers Financial Cryptography and Data Security 2017 Cham Springer 520-535
[25]
da Horta, L.P.A., Reis, J.S., de Sousa, S.M., Pereira, M.: A tool for proving Michelson smart contracts in WHY3. In: 2020 IEEE International Conference on Blockchain (Blockchain), pp. 409–414. IEEE (2020)
[26]
Keith, M., Edward, S.: Master ex-ship LNG sales agreement between Cheniere Marketing, Inc. and Gaz De France International Trading S.A.S (2007). https://www.sec.gov/Archives/edgar/data/3570/000119312507106384/dex102.html
[27]
Kernighan, B.W., Ritchie, D.M.: The C programming language (2002)
[28]
Luu, L., Chu, D.H., Olickel, H., Saxena, P., Hobor, A.: Making smart contracts smarter. In: Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 254–269 (2016)
[29]
Mavridou A and Laszka A Meiklejohn S and Sako K Designing secure Ethereum smart contracts: a finite state machine based approach Financial Cryptography and Data Security 2018 Heidelberg Springer 523-540
[30]
Mavridou A, Laszka A, Stachtiari E, and Dubey A Goldberg I and Moore T VeriSolid: correct-by-design smart contracts for Ethereum Financial Cryptography and Data Security 2019 Cham Springer 446-465
[31]
Mikk, E., Lakhnech, Y., Siegel, M., Holzmann, G.J.: Implementing statecharts in PROMELA/SPIN. In: Proceedings. 2nd IEEE Workshop on Industrial Strength Formal Specification Techniques, pp. 90–101. IEEE (1998)
[32]
Mueller, B.: A framework for bug hunting on the Ethereum blockchain. ConsenSys/mythril (2017)
[33]
Nguyen S, Chen PSL, and Du Y Risk assessment of maritime container shipping blockchain-integrated systems: an analysis of multi-event scenarios Transp. Res. Part E: Logist. Transp. Rev. 2022 163
[34]
Omar IA, Debe M, Jayaraman R, Salah K, Omar M, and Arshad J Blockchain-based supply chain traceability for COVID-19 personal protective equipment Comput. Ind. Eng. 2022 167
[35]
Patro PK, Ahmad RW, Yaqoob I, Salah K, and Jayaraman R Blockchain-based solution for product recall management in the automotive supply chain IEEE Access 2021 9 167756-167775
[36]
[37]
Song D A literature review, container shipping supply chain: planning problems and research opportunities Logistics 2021 5 2 41
[39]
Tolmach P, Li Y, Lin SW, Liu Y, and Li Z A survey of smart contract formal specification and verification ACM Comput. Surv. (CSUR) 2021 54 7 1-38
[41]
Zhao, X., Lu, Y.: Marismart verifier webpage (2023). http://124.16.137.30:50002/#/dashboard-en
[42]
Zhao, X., Wei, Q., Zhu, X.Y., Zhang, W.: A smart contract development framework for maritime transportation systems. In: 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security Companion (QRS-C), pp. 310–319 (2023).
[43]
Zhao Y, Zhu X, Li G, and Bao Y Time constraint patterns of smart contracts and their formal verification J. Softw. 2022 33 8 2875-2895

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Guide Proceedings
Engineering of Complex Computer Systems: 28th International Conference, ICECCS 2024, Limassol, Cyprus, June 19–21, 2024, Proceedings
Jun 2024
426 pages
ISBN:978-3-031-66455-7
DOI:10.1007/978-3-031-66456-4
  • Editors:
  • Guangdong Bai,
  • Fuyuki Ishikawa,
  • Yamine Ait-Ameur,
  • George A. Papadopoulos

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 29 September 2024

Author Tags

  1. Model checking
  2. UPPAAL
  3. Smart contract
  4. Solidity
  5. Maritime transportation

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 10 Feb 2025

Other Metrics

Citations

View Options

View options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media