User-defined smart contracts using answer set programming

Research output: Chapter in Book/Report/Conference proceedingConference proceeding contributionpeer-review

5 Citations (Scopus)

Abstract

We present a novel approach to the creation of smart contracts that takes an existing legal document and allows it to be incrementally elaborated into a tested smart contract by domain experts. Smart contracts are currently built with compiled imperative languages, and suffer from lack of agility, elevated risks from errors and security flaws, and high development costs. This paper describes a smart editor that uses a declarative language (Answer Set Programming (ASP)) to represent the business logic of legal documents. The document is incrementally elaborated in a fixed sequence of steps beginning with an ontology discovery step that identifies the explicit and implicit artefacts and applicable constraints. This information is used to generate ASP representations which provide the foundation required for modelling the legal logic. Furthermore, we have achieved the verbalisation of rules built during modelling, and have developed a method of representing artefacts visually which allows logic modelling, model validation and program verification to be visual. During these steps, the original legal document is enhanced with additional embedded information, which results in a tested executable ASP program which can then be used as a smart contract if modifications are made to the blockchain smart contract infrastructure.

Original languageEnglish
Title of host publicationAI 2021: Advances in Artificial Intelligence
Subtitle of host publication34th Australasian Joint Conference, AI 2021, Sydney, NSW, Australia, February 2–4, 2022, proceedings
EditorsGuodong Long, Xinghuo Yu, Sen Wang
Place of PublicationCham, Switzerland
PublisherSpringer, Springer Nature
Pages291-303
Number of pages13
ISBN (Electronic)9783030975463
ISBN (Print)9783030975456
DOIs
Publication statusPublished - 2022
Event34th Australasian Joint Conference on Artificial Intelligence, AI 2021 - Virtual, Online
Duration: 2 Feb 20224 Feb 2022

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume13151
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference34th Australasian Joint Conference on Artificial Intelligence, AI 2021
CityVirtual, Online
Period2/02/224/02/22

Keywords

  • Answer Set Programming
  • Legal Logic
  • Model Validation
  • Ontology
  • Smart Contract
  • Verbalisation
  • Visualisation

Fingerprint

Dive into the research topics of 'User-defined smart contracts using answer set programming'. Together they form a unique fingerprint.

Cite this