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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The GitLab repository for the designer tool is available under https://git-isys.aau.at/ics/Papers/temporal-process-designer.
References
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
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)
Clack, C.D.: Smart contract templates: legal semantics and code validation. J. Digit. Bank. 2(4), 338–352 (2018)
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
Daskalopulu, A.: Model checking contractual protocols. arXiv cs/0106009 (2001)
Dechter, R., Meiri, I., Pearl, J.: Temporal constraint networks. Artif. Intell. 49(1–3), 61–95 (1991)
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)
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)
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
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
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
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
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
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)
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
Hvitved, T.: Contract formalisation and modular implementation of domain-specific languages. Ph.D. thesis, Citeseer (2011)
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
Lee, R.M.: A logic model for electronic contracting. Decis. Support Syst. 4(1), 27–44 (1988)
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
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)
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
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)
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
Morris, P.H., Muscettola, N.: Temporal dynamic controllability revisited. In: Proceedings of the AAAI, pp. 1193–1198 (2005)
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
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
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)
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
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)
Zavatteri, M., Viganò, L.: Conditional simple temporal networks with uncertainty and decisions. Theor. Comput. Sci. 797, 77–101 (2019)
Zheng, Z., et al.: An overview on smart contracts: Challenges, advances and platforms. Future Gener. Comput. Syst. 105, 475–491 (2020)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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)