Skip to main content

A Time-Aware Model for Legal Smart Contracts

  • Conference paper
  • First Online:
Enterprise, Business-Process and Information Systems Modeling (BPMDS 2023, EMMSAD 2023)

Abstract

Smart Contracts that embody real world legal contracts require not only a sound and secure implementation but also a careful analysis of the underlying contractual commitments. Temporal clauses are abundant in contracts, requiring permissions and obligations to be executed in temporal relationships with observed events. Before signing a contract a thorough analysis, whether breaches of temporal clauses are imminent, whether all temporal obligations can be fulfilled are inevitable to avoid the cost of violating temporal commitments. We present a contract model that focuses on modeling temporal commitments explicitly. And we present techniques based on these contract models to analyze the temporal properties of contracts, in particular, whether a party can guarantee to fulfill all temporal commitments under all foreseeable circumstances. We present a framework that supports the development and negotiation of contracts precluding the risk of violating temporal clauses.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The GitLab repository for the designer tool is available under https://git-isys.aau.at/ics/Papers/temporal-process-designer.

References

  1. Bartoletti, M., Zunino, R.: Verifying liquidity of bitcoin contracts. In: Nielson, F., Sands, D. (eds.) POST 2019. LNCS, vol. 11426, pp. 222–247. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-17138-4_10

    Chapter  Google Scholar 

  2. Cairo, M., Rizzi, R.: Dynamic controllability of simple temporal networks with uncertainty: simple rules and fast real-time execution. Theor. Comput. Sci. 797, 2–16 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  3. Clack, C.D.: Smart contract templates: legal semantics and code validation. J. Digit. Bank. 2(4), 338–352 (2018)

    Google Scholar 

  4. Clack, C.D., Vanca, G.: Temporal aspects of smart contracts for financial derivatives. In: Margaria, T., Steffen, B. (eds.) ISoLA 2018. LNCS, vol. 11247, pp. 339–355. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03427-6_26

    Chapter  Google Scholar 

  5. Daskalopulu, A.: Model checking contractual protocols. arXiv cs/0106009 (2001)

    Google Scholar 

  6. Dechter, R., Meiri, I., Pearl, J.: Temporal constraint networks. Artif. Intell. 49(1–3), 61–95 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  7. Dixit, A., Deval, V., Dwivedi, V., Norta, A., Draheim, D.: Towards user-centered and legally relevant smart-contract development: a systematic literature review. J. Ind. Inf. Integr. 26, 100314 (2022)

    Google Scholar 

  8. Eder, J., Franceschetti, M., Köpke, J.: Controllability of business processes with temporal variables. In: Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing, pp. 40–47 (2019)

    Google Scholar 

  9. Eder, J., Franceschetti, M., Lubas, J.: Time and processes: towards engineering temporal requirements. In: Proceedings of the 16th International Conference on Software Technologies - ICSOFT, pp. 9–16. INSTICC, SciTePress (2021). https://doi.org/10.5220/0010625400090016

  10. Eder, J., Lehmann, M., Tahamtan, A.: Choreographies as federations of choreographies and orchestrations. In: Roddick, J.F., et al. (eds.) ER 2006. LNCS, vol. 4231, pp. 183–192. Springer, Heidelberg (2006). https://doi.org/10.1007/11908883_22

    Chapter  Google Scholar 

  11. Fenech, S., Pace, G.J., Schneider, G.: Automatic conflict detection on contracts. In: Leucker, M., Morgan, C. (eds.) ICTAC 2009. LNCS, vol. 5684, pp. 200–214. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-03466-4_13

    Chapter  Google Scholar 

  12. Flood, M.D., Goodenough, O.R.: Contract as automaton: representing a simple financial agreement in computational form. Artif. Intell. Law 30, 391–416 (2022). https://doi.org/10.1007/s10506-021-09300-9

    Article  Google Scholar 

  13. Governatori, G., Idelberger, F., Milosevic, Z., Riveret, R., Sartor, G., Xu, X.: On legal contracts, imperative and declarative smart contracts, and blockchain systems. Artif. Intell. Law 26(4), 377–409 (2018). https://doi.org/10.1007/s10506-018-9223-3

    Article  Google Scholar 

  14. Hunsberger, L., Posenato, R.: Speeding up the RUL\(^-\) dynamic-controllability-checking algorithm for simple temporal networks with uncertainty. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, pp. 9776–9785 (2022)

    Google Scholar 

  15. Hunsberger, L., Posenato, R., Combi, C.: A sound-and-complete propagation-based algorithm for checking the dynamic consistency of conditional simple temporal networks. In: 2015 22nd International Symposium on Temporal Representation and Reasoning (TIME), pp. 4–18 (2015). https://doi.org/10.1109/TIME.2015.26

  16. Hvitved, T.: Contract formalisation and modular implementation of domain-specific languages. Ph.D. thesis, Citeseer (2011)

    Google Scholar 

  17. Ladleif, J., Weske, M.: A legal interpretation of choreography models. In: Di Francescomarino, C., Dijkman, R., Zdun, U. (eds.) BPM 2019. LNBIP, vol. 362, pp. 651–663. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-37453-2_52

    Chapter  Google Scholar 

  18. Lee, R.M.: A logic model for electronic contracting. Decis. Support Syst. 4(1), 27–44 (1988)

    Article  Google Scholar 

  19. Lubas, J., Franceschetti, M., Eder, J.: Resolving conflicts in process models with temporal constraints. In: Proceedings of the ER Forum and PhD Symposium 2022. CEUR Workshop Proceedings, vol. 3211. CEUR-WS.org (2022). http://ceur-ws.org/Vol-3211/CR_103.pdf

  20. Marjanovic, O., Milosevic, Z.: Towards formal modeling of e-contracts. In: Proceedings Fifth IEEE International Enterprise Distributed Object Computing Conference, pp. 59–68. IEEE (2001)

    Google Scholar 

  21. Mavridou, A., Laszka, A., Stachtiari, E., Dubey, A.: VeriSolid: correct-by-design smart contracts for Ethereum. In: Goldberg, I., Moore, T. (eds.) FC 2019. LNCS, vol. 11598, pp. 446–465. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-32101-7_27

    Chapter  Google Scholar 

  22. Mehar, M.I., et al.: Understanding a revolutionary and flawed grand experiment in blockchain: the DAO attack. J. Cases Inf. Technol. (JCIT) 21(1), 19–32 (2019)

    Article  Google Scholar 

  23. Molina-Jimenez, C., Shrivastava, S., Solaiman, E., Warne, J.: Run-time monitoring and enforcement of electronic contracts. Electron. Commer. Res. Appl. 3(2), 108–125 (2004). https://doi.org/10.1016/j.elerap.2004.02.003

    Article  Google Scholar 

  24. Morris, P.H., Muscettola, N.: Temporal dynamic controllability revisited. In: Proceedings of the AAAI, pp. 1193–1198 (2005)

    Google Scholar 

  25. Pichler, H., Wenger, M., Eder, J.: Composing time-aware web service orchestrations. In: van Eck, P., Gordijn, J., Wieringa, R. (eds.) CAiSE 2009. LNCS, vol. 5565, pp. 349–363. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-02144-2_29

    Chapter  Google Scholar 

  26. Sergey, I., Kumar, A., Hobor, A.: Temporal properties of smart contracts. In: Margaria, T., Steffen, B. (eds.) ISoLA 2018. LNCS, vol. 11247, pp. 323–338. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03427-6_25

    Chapter  Google Scholar 

  27. Singh, A., Parizi, R.M., Zhang, Q., Choo, K.K.R., Dehghantanha, A.: Blockchain smart contracts formalization: approaches and challenges to address vulnerabilities. Comput. Secur. 88, 101654 (2020)

    Article  Google Scholar 

  28. Tolmach, P., Li, Y., Lin, S.W., Liu, Y., Li, Z.: A survey of smart contract formal specification and verification. ACM Comput. Surv. 54(7), 1–38 (2021). https://doi.org/10.1145/3464421

    Article  Google Scholar 

  29. Vidal, T., Fargier, H.: Contingent durations in temporal CSPs: from consistency to controllabilities. In: Proceedings of TIME 1997: 4th International Workshop on Temporal Representation and Reasoning, pp. 78–85 (1997)

    Google Scholar 

  30. Zavatteri, M., Viganò, L.: Conditional simple temporal networks with uncertainty and decisions. Theor. Comput. Sci. 797, 77–101 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  31. Zheng, Z., et al.: An overview on smart contracts: Challenges, advances and platforms. Future Gener. Comput. Syst. 105, 475–491 (2020)

    Article  Google Scholar 

  32. Zupan, N., Kasinathan, P., Cuellar, J., Sauer, M.: Secure smart contract generation based on petri nets. In: Rosa Righi, R., Alberti, A.M., Singh, M. (eds.) Blockchain Technology for Industry 4.0. BT, pp. 73–98. Springer, Singapore (2020). https://doi.org/10.1007/978-981-15-1137-0_4

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Josef Lubas .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 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

Lubas, J., Eder, J. (2023). A Time-Aware Model for Legal Smart Contracts. In: van der Aa, H., Bork, D., Proper, H.A., Schmidt, R. (eds) Enterprise, Business-Process and Information Systems Modeling. BPMDS EMMSAD 2023 2023. Lecture Notes in Business Information Processing, vol 479. Springer, Cham. https://doi.org/10.1007/978-3-031-34241-7_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34241-7_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34240-0

  • Online ISBN: 978-3-031-34241-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics