Abstract
A Blockchain (BC) is a technology that introduces a decentralized, replicated, autonomous, and secure databases. A smart contract (SC) is a transaction embedded in the blockchain that contains executable code and its internal storage, offering immutable execution and record keeping. The SC has enormous potential in automating traditional paper contracts and encoding contract logic into program code. Thus, replacing the role of a notary and a central authority. It may dramatically reduce an effort with administration workload and enforcement of such contracts. In this paper, we propose a new visual domain specific language that can capture the SC in a user-friendly way and eliminate the errors associated with programming since the SC code is automatically generated from models. Finally, an open-source proof-of-concept environment for designing and generating the SC is introduced to demonstrate the feasibility of proposed concepts.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Satoshi Nakamoto is probably a pseudonym for either one person or a group of people, the identity is currently unknown.
References
Metalex. http://metalex.eu/
Allweyer, T.: BPMN 2.0: introduction to the standard for business process modeling. BoD-Books on Demand (2016)
Bechhofer, S., et al.: OWL Web Ontology Language Reference. Technical report, W3C, February 2004. http://www.w3.org/TR/owl-ref/
Boer, A., Hoekstra, R., Winkels, R.: Metalex: legislation in xml. http://jurix.nl/pdf/j02-01.pdf
Camunda: Script task, 29 January 2019. https://docs.camunda.org/manual/7.8/reference/bpmn20/tasks/script-task/
Cherouana, A., Mahdaoui, L., Khadraoui, A.: BPM-based framework for e-government processes improvement: Legal requirements integration. Int. J. Intell. Inf. Database Syst. 10, 21 (2017)
Debreceny, R., Gray, G.L.: The production and use of semantically rich accounting reports on the Internet: XML and XBRL. Int. J. Acc. Inf. Syst. 2(1), 47–74 (2001)
Dietz, J.: Enterprise Ontology Theory and Methodology. Springer, Berlin (2006)
Dietz, J.: The discipline of enterprise engineering (2014). https://www.alexandria.unisg.ch/export/DL/224477.pdf. Accessed 25 Apr 2014
Dietz, J.: DEMOSL-Specification: Version 3.4 (2016). https://doi.org/10.5281/zenodo.47471
Dietz, J.: The delta theory - understanding discrete event systems, October 2017
Dietz, J.: The OMEGA theory - understanding the construction of organisations. Technical report (2017)
Estrella: Legal knowledge interchange format. http://www.estrellaproject.org/?page_id=5
Ethereum: Ethereum project. https://ethereum.org/. Accessed 29 Nov 2017
Garner, B.A.: Black’s Law Dictionary: Deluxe, 9th edn. West, Eagan (2009)
Garther: The reality of blockchain. https://www.gartner.com/smarterwithgartner/the-reality-of-blockchain/. Accessed 29 Jan 2019
Google: Blockly. https://developers.google.com/blockly/. Accessed 29 Jan 2019
Google: Introduction to blockly. https://developers.google.com/blockly/guides/overview. Accessed 29 Jan 2019
Gouveia, D., Aveiro, D.: Colored Petri-Net for Implementing DEMO/PSI Transactions for N Actor Roles (N\(>\)=2) (2018)
Gouveia, D., Aveiro, D.: Modeling the system described by the EU general data protection regulation with DEMO. In: Aveiro, D., Guizzardi, G., Guerreiro, S., Guédria, W. (eds.) EEWC 2018. LNBIP, vol. 334, pp. 144–158. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-06097-8_9
Governatori, G.: ICT Support for regulatory compliance of business processes (2014)
Group, A.N.: Akoma ntoso. http://www.akomantoso.org/
Guizzardi, G.: Ontological Foundations for Structural Conceptual Models, vol. 015. University of Twente, Enschede (2005)
Guizzardi, G., Wagner, G., Almeida, J.P.A., Guizzardi, R.S.S.: Towards ontological foundations for conceptual modeling: the unified foundational ontology (UFO) story. Appl. Ontol. 10(3–4), 259–271 (2015)
Hevner, A.: A three cycle view of design science research. Scand. J. Inf. Syst. 19(2) (2007). http://aisel.aisnet.org/sjis/vol19/iss2/4
Hevner, A.R., March, S.T., Park, J., Ram, S.: Design science in information systems research. MIS Q. 28(1), 75–105 (2004)
Hornáčková, B., Skotnica, M., Pergl, R.: Exploring a role of blockchain smart contracts in enterprise engineering. In: Aveiro, D., Guizzardi, G., Guerreiro, S., Guédria, W. (eds.) EEWC 2018. LNBIP, vol. 334, pp. 113–127. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-06097-8_7
Kühnel, S.: Toward cost-effective business process compliance: a research agenda, pp. 2379–2384 (2017)
Lamela Seijas, P., Thompson, S.: Marlowe: financial contracts on blockchain. In: Margaria, T., Steffen, B. (eds.) ISoLA 2018. LNCS, vol. 11247, pp. 356–375. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03427-6_27
Mannaert, H., De Bruyn, P., Verelst, J.: Exploring entropy in software systems: towards a precise definition and design rules. In: Proceedings of the Seventh International Conference on Systems (ICONS), Saint Gilles, Reunion Island, pp. 93–99 (2012)
Mascardi, V., Cordì, V., Rosso, P.: A comparison of upper ontologies. In: WOA (2007)
Mráz, O., Náplava, P., Pergl, R., Skotnica, M.: Converting DEMO PSI transaction pattern into BPMN: a complete method. In: Aveiro, D., Pergl, R., Guizzardi, G., Almeida, J.P., Magalhães, R., Lekkerkerk, H. (eds.) EEWC 2017. LNBIP, vol. 284, pp. 85–98. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57955-9_7
Mulder, M.A.T.: Validating the DEMO specification language. In: Aveiro, D., Guizzardi, G., Guerreiro, S., Guédria, W. (eds.) EEWC 2018. LNBIP, vol. 334, pp. 131–143. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-06097-8_8
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2009). http://www.bitcoin.org/bitcoin.pdf
NEO: Neo smart contract introduction. http://docs.neo.org/en-us/sc/introduction.html. Accessed 2 Jan 2018
Norta, A.: Designing a smart-contract application layer for transacting decentralized autonomous organizations. In: Singh, M., Gupta, P.K., Tyagi, V., Sharma, A., Ören, T., Grosky, W. (eds.) ICACDS 2016. CCIS, vol. 721, pp. 595–604. Springer, Singapore (2017). https://doi.org/10.1007/978-981-10-5427-3_61
OASIS: Legalxml. http://www.legalxml.org. Accessed 29 Jan 2019
Olbrich, S., Simon, C.: Process modelling towards e-government-visualisation and semantic modelling of legal regulations as executable process sets. Electron. J. E-gov. 6(1) (2008)
OMG: Business Process Model and Notation (BPMN), version 2.0, January 2011. http://www.omg.org/spec/BPMN/2.0
OMG: Case Management Model and Notation (CMMN), version 1.1, December 2016. https://www.omg.org/spec/CMMN/1.1/
OMG: Decision Model and Notation (DMN), version 1.2, January 2019. https://www.omg.org/spec/DMN/1.2/
Preethi, K.: Eli5: What do we mean by “blockchains are trustless”? Medium. https://medium.com/@preethikasireddy/eli5-what-do-we-mean-by-blockchains-are-trustless-aa420635d5f6
Process, J.C.: Jsr 223: Scripting for the Javatm platform. https://www.jcp.org/en/jsr/detail?id=223. Accessed 29 Jan 2019
Rumbaugh, J., Jacobson, I., Booch, G.: Unified Modeling Language Reference Manual, 2nd edn. Pearson Higher Education, New York (2004)
Sadiq, S., Governatori, G., Namiri, K.: Modeling control objectives for business process compliance. In: Alonso, G., Dadam, P., Rosemann, M. (eds.) BPM 2007. LNCS, vol. 4714, pp. 149–164. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-75183-0_12
Siena, A.: Engineering law-compliant requirements: the nomos framework (2010)
Siena, A.: Engineering law-compliant requirements: the nomos framework. Ph.D. dissertation, University of Trento, March 2010
Skotnica, M., van Kervel, S.J.H., Pergl, R.: A DEMO machine - a formal foundation for execution of DEMO models. In: Aveiro, D., Pergl, R., Guizzardi, G., Almeida, J.P., Magalhães, R., Lekkerkerk, H. (eds.) EEWC 2017. LNBIP, vol. 284, pp. 18–32. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57955-9_2
Skotnica, M., van Kervel, S.J.H., Pergl, R.: Towards the ontological foundations for the software executable DEMO action and fact models. In: Aveiro, D., Pergl, R., Gouveia, D. (eds.) EEWC 2016. LNBIP, vol. 252, pp. 151–165. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-39567-8_10
Soltana, G., Fourneret, E., Adedjouma, M., Sabetzadeh, M., Briand, L.: Using UML for modeling procedural legal rules: approach and a study of Luxembourg’s tax law. In: Dingel, J., Schulte, W., Ramos, I., Abrahão, S., Insfran, E. (eds.) MODELS 2014. LNCS, vol. 8767, pp. 450–466. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11653-2_28
Strahonja, V.: Modeling legislation by using UML state machine diagrams, pp. 624–627 (2006)
Swan, M.: Blockchain. O‘Reilly Media Inc, Sebastopol (2015)
Szabo, N.: Smart contracts: building blocks for digital markets. www.fon.hum.uva.nl (1996). http://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2.html
Techopedia: Definition - what does unified modeling language (UML) mean? https://www.techopedia.com/definition/3243/unified-modeling-language-uml. Accessed 29 Jan 2019
Tobler, C.: Essential Eu Competition Law in Charts. HVG-ORAC Publishing House Ltd., Budapest (2011)
Tobler, C., Beglinger, J.: Essential Eu Law in Charts, 4th edn. HVG-ORAC Publishing House Ltd., Budapest (2018)
Tobler, C., Beglinger, J.: Essential EU Law in Text, 4th edn. HVG-ORAC Publishing House Ltd, Budapest (2018)
Verdonck, M., Gailly, F., de Cesare, S., Poels, G.: Ontology-driven conceptual modeling: systematic literature mapping and review. Appl. Ontol. 10(3–4), 197–227 (2015)
Xanthaki, H.: Drafting Legislation: Art and Technology of Rules for Regulation. Bloomsbury Publishing (2014). https://books.google.cz/books?id=AzLtBQAAQBAJ
Acknowledgement
This research has been supported by CTU SGS grant No. SGS18/120/OHK3/1T/18.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Skotnica, M., Pergl, R. (2020). Das Contract - A Visual Domain Specific Language for Modeling Blockchain Smart Contracts. In: Aveiro, D., Guizzardi, G., Borbinha, J. (eds) Advances in Enterprise Engineering XIII. EEWC 2019. Lecture Notes in Business Information Processing, vol 374. Springer, Cham. https://doi.org/10.1007/978-3-030-37933-9_10
Download citation
DOI: https://doi.org/10.1007/978-3-030-37933-9_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-37932-2
Online ISBN: 978-3-030-37933-9
eBook Packages: Computer ScienceComputer Science (R0)