Skip to main content

Trusted Deployer: A Tool for Safe Creation and Upgrade of Ethereum Smart Contracts

  • Conference paper
  • First Online:
Formal Methods: Foundations and Applications (SBMF 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 15403))

Included in the following conference series:

  • 105 Accesses

Abstract

The lack of systematic and, particularly, mechanised support to ensure a safe creation and upgrade of smart contracts has led to the deployment of instances with flaws that have been thoroughly exploited, putting digital assets at risk. Formal verification can potentially help to eliminate these high impact flaws, particularly by allowing one to check whether smart contracts obey some desired properties. We have already proposed the concept of a trusted deployer to address these issues. In this work we present the detailed design of a public, open-source, and off-chain tool that supports the creation and upgrade of smart contracts, ensuring that they meet corresponding formal specifications. We detail the tool’s overall architecture, its usage, and its applicability to real-world smart contracts.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Ethereum White Paper. https://github.com/ethereum/wiki/wiki/White-Paper

  2. Antonino, P., Ferreira, J., Sampaio, A., Roscoe, A.W., Arruda, F.: A refinement-based approach to safe smart contract deployment and evolution. In: Software and Systems Modeling, pp. 657–693. Springer, Cham (2024). https://doi.org/10.1007/s10270-023-01143-z

  3. Arruda, F., Antonino, P., Sampaio, A., Roscoe, A.W.: Solver-aided inference of abstraction invariant for the safe evolution of smart contracts. Technical report (2022)

    Google Scholar 

  4. Atzei, N., Bartoletti, M., Cimoli, T.: A survey of attacks on ethereum smart contracts (sok). In: POST 2017, pp. 164–186. Springer (2017). https://doi.org/10.1007/978-3-662-54455-6_8

  5. Binance. Binance smart chain - a parallel blockchain to binance chain (2020). https://www.binance.org/en/smartChain

  6. Thomas, D., Gazzillo, P., Herlihy, M., Saraph, V., Koskinen, E.: Proof-carrying smart contracts. In: Financial Cryptography Workshops (2018)

    Google Scholar 

  7. Celo Foundation. Celo - a mobile-first blockchain platform for global payments (2020). https://celo.org/

  8. Fantom Foundation. Fantom - high-performance, scalable, and secure smart contract platform (2018). https://fantom.foundation/

  9. Hajdu, Á., Jovanović, D.: solc-verify: a modular verifier for solidity smart contracts. In: Chakraborty, S., Navas, J.A. (eds.) VSTTE 2019. LNCS, vol. 12031, pp. 161–179. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-41600-3_11

    Chapter  Google Scholar 

  10. Jackson, D.: Alloy: a lightweight object modelling notation. ACM Trans. Softw. Eng. Methodol. (TOSEM) 11(2), 256–290 (2002)

    Article  Google Scholar 

  11. Nomic Labs. Hardhat - ethereum development environment for professionals (2020). https://hardhat.org/

  12. Meyer, B.: Applying ‘design by contract’. Computer 25(10), 40–51 (1992)

    Article  Google Scholar 

  13. Misson, H.A.: Applying formal verification techniques to embedded software in UAV design (2019)

    Google Scholar 

  14. Mudge, N.: EIP-2535: Diamonds, Multi-Facet Proxy. https://eips.ethereum.org/EIPS/eip-2535

  15. OpenZeppelin. Proxy Upgrade Pattern (2021). https://docs.openzeppelin.com/upgrades-plugins/1.x/proxies

  16. Permenev, A., Dimitrov, D., Tsankov, P., Drachsler-Cohen, D., Vechev, M.: Verx: safety verification of smart contracts. In: 2020 IEEE Symposium on Security and Privacy (SP), pp. 1661–1677 (2020)

    Google Scholar 

  17. Rodler, M., Li, W., Karame, G.O., Davi, L.: EVMPatch: timely and automated patching of ethereum smart contracts. In: 30th USENIX Security Symposium (USENIX Security 21), pp. 1289–1306. USENIX Association (2021)

    Google Scholar 

  18. Siegel, D.: Understanding the dao attack. https://www.coindesk.com/understanding-dao-hack-journalists. Accessed 25 Sep 2023

  19. Stephens, J., Ferles, K., Mariano, B., Lahiri, S., Dillig, I.: Smartpulse: automated checking of temporal properties in smart contracts. In: 2021 IEEE Symposium on Security and Privacy (SP), pp. 555–571 (2021)

    Google Scholar 

  20. Suite, T.: Truffle - a development framework for ethereum (2015). https://trufflesuite.com/

  21. Wang, Y., et al.: Formal verification of workflow policies for smart contracts in azure blockchain. In: VSTTE, pp. 87–106 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Juliandson Ferreira .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ferreira, J., Antonino, P., Sampaio, A., Roscoe, A.W., Arruda, F. (2025). Trusted Deployer: A Tool for Safe Creation and Upgrade of Ethereum Smart Contracts. In: C. Nogueira, S., Teodorov, C. (eds) Formal Methods: Foundations and Applications. SBMF 2024. Lecture Notes in Computer Science, vol 15403. Springer, Cham. https://doi.org/10.1007/978-3-031-78116-2_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-78116-2_12

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-78115-5

  • Online ISBN: 978-3-031-78116-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics