Lune

ISSTA2023顶会

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

Pengcheng Fang, Zhenhua Zou, Xusheng Xiao, Zhuotao Liu

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • martFL: Enabling Utility-Driven Data Marketplace with a Robust and Verifiable Federated Learning Architecture 引用了 HyperService: Interoperability and Programmability Across Heterogeneous Blockchains
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. martFL: Enabling Utility-Driven Data Marketplace with a Robust and Verifiable Federated Learning ArchitectureQi Li, Zhuotao Liu, Qi Li, Ke XuCCS 2023 · 19 次引用
  2. CodeArt: Better Code Models by Attention Regularization When Symbols Are LackingZian Su, Xiangzhe Xu, Ziyang Huang, Zhuo Zhang 等FSE 2024 · 1 次引用

它引用的 Paper7

  1. Securify: Practical Security Analysis of Smart ContractsPetar Tsankov, Andrei Marian Dan, Dana Drachsler-Cohen, Arthur Gervais 等CCS 2018 · 1,108 次引用
  2. Town Crier: An Authenticated Data Feed for Smart ContractsFan Zhang, Ethan Cecchetti, Kyle Croman, Ari Juels 等CCS 2016 · 668 次引用
  3. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary 等ACL 2020 · 539 次引用
  4. Iteratively Questioning and Answering for Interpretable Legal Judgment PredictionHaoxi Zhong, Yuzhong Wang, Cunchao Tu, Tianyang Zhang 等AAAI 2020 · 133 次引用
  5. HyperService: Interoperability and Programmability Across Heterogeneous BlockchainsZhuotao Liu, Yangxi Xiang, Jian Shi, Peng Gao 等CCS 2019 · 128 次引用

相关 Paper

  1. Automating User Notice Generation for Smart Contract FunctionsXing Hu, Zhipeng Gao, Xin Xia, David Lo 等ASE 2021 · 23 次引用
  2. Towards Trustworthy Smart Contract Synthesis: A Multi-Agent Framework with Lean-Based VerificationBowei Zhang, Hanbing Liu, Qixin Tian, Siyu Chen 等ACL 2026
  3. HISyn: human learning-inspired natural language programmingZifan Nan, Hui Guan, Xipeng ShenFSE 2020 · 12 次引用
  4. ACORD: An Expert-Annotated Retrieval Dataset for Legal Contract DraftingSteven H. Wang, Maksim Zubkov, Kexin Fan, Sarah Harrell 等ACL 2025 · 14 次引用
  5. Thought Is All You Need: Smart Contract Vulnerability Detection with Thought-Augmented Large Language ModelChaoyuan Peng, Muhui Jiang, Yajin Zhou, Lei WuFSE 2026
黄昏的海面,两侧是细线勾勒的悬崖