iSyn: Semi-automated Smart Contract Synthesis from Legal Financial Agreements

被引:1
|
作者
Fang, Pengcheng [1 ]
Zou, Zhenhua [2 ]
Xiao, Xusheng [3 ]
Liu, Zhuotao [2 ]
机构
[1] Case Western Reserve Univ, Dept Comp & Data Sci, Cleveland, OH 44106 USA
[2] Tsinghua Univ, Inst Network Sci & Cyberspace, Beijing, Peoples R China
[3] Arizona State Univ, Sch Comp & Augmented Intelligence, Tempe, AZ USA
来源
PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023 | 2023年
基金
美国国家科学基金会;
关键词
Smart Contracts; Program Synthesis; Natural Language Processing;
D O I
10.1145/3597926.3598091
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Embracing software-driven smart contracts to fulfill legal agreements is a promising direction for digital transformation in the legal sector. Existing solutions mostly consider smart contracts as simple add-ons, without leveraging the programmability of smart contracts to realize complex semantics of legal agreements. In this paper, we propose iSyn, the first end-to-end system that synthesizes smart contracts to fulfill the semantics of financial legal agreements, with minimal human interventions. The design of iSyn centers around a novel intermediate representation (SmartIR) that closes the gap between the natural language sentences and smart contract statements. Specifically, iSyn includes a synergistic pipeline that unifies multiple NLP-techniques to accurately construct SmartIR instances given legal agreements, and performs template-based synthesis based on the SmartIR instances to synthesize smart contracts. We also design a validation framework to verify the correctness and detect known vulnerabilities of the synthesized smart contracts. We evaluate iSyn using legal agreements centering around financial transactions. The results show that iSyn-synthesized smart contracts are syntactically similar and semantically correct (or within a few edits), compared with the "ground truth" smart contracts manually developed by inspecting the legal agreements.
引用
收藏
页码:727 / 739
页数:13
相关论文
共 7 条
  • [1] Automated generation of smart contract code from legal contract specifications with SYMBOLEO2SC
    Rasti, Aidin
    Anda, Amal Ahmed
    Alfuhaid, Sofana
    Parvizimosaed, Alireza
    Amyot, Daniel
    Roveri, Marco
    Logrippo, Luigi
    Mylopoulos, John
    SOFTWARE AND SYSTEMS MODELING, 2024,
  • [2] Semi-Automated Information Extraction from Unstructured Threat Advisories
    Ramnani, Roshni R.
    Shivaram, Karthik
    Sengupta, Shubhashis
    Annervaz, K. M.
    PROCEEDINGS OF THE 10TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, 2017, : 181 - 187
  • [3] Semi-Automated evidence synthesis in health psychology: current methods and future prospects
    Marshall, Iain J.
    Johnson, Blair T.
    Wang, Zigeng
    Rajasekaran, Sanguthevar
    Wallace, Byron C.
    HEALTH PSYCHOLOGY REVIEW, 2020, 14 (01) : 145 - 158
  • [4] Semi-automated development of conceptual models from natural language text
    Omar, Mussa
    Baryannis, George
    DATA & KNOWLEDGE ENGINEERING, 2020, 127 (127)
  • [5] Symboleo2SC: From Legal Contract Specifications to Smart Contracts
    Rasti, Aidin
    Amyot, Daniel
    Parvizimosaed, Alireza
    Roveri, Marco
    Logrippo, Luigi
    Anda, Amal Ahmed
    Mylopoulos, John
    PROCEEDINGS OF THE 25TH INTERNATIONAL ACM/IEEE CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022, 2022, : 300 - 310
  • [6] A Semi-automated generation of Entity-Relationship Diagram based on Morphosyntactic Tagging from the Requirements Written in a Serbian Natural Language
    Kuk, Kristijan
    Angeleski, Misa
    Popovic, Brankica
    IEEE JOINT 19TH INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND INFORMATICS AND 7TH INTERNATIONAL CONFERENCE ON RECENT ACHIEVEMENTS IN MECHATRONICS, AUTOMATION, COMPUTER SCIENCES AND ROBOTICS (CINTI-MACRO 2019), 2019, : 85 - 90
  • [7] From free-text to structured safety management: Introduction of a semi-automated classification method of railway hazard reports to elements on a bow-tie diagram
    Hughes, Peter
    Shipp, David
    Figueres-Esteban, Miguel
    van Gulijk, Coen
    SAFETY SCIENCE, 2018, 110 : 11 - 19