Obsidian

Author:

Coblenz Michael1ORCID,Oei Reed2,Etzel Tyler3,Koronkevich Paulette4,Baker Miles5,Bloem Yannick6,Myers Brad A.1,Sunshine Joshua1,Aldrich Jonathan1ORCID

Affiliation:

1. Carnegie Mellon University, PA, USA

2. University of Illinois at Urbana-Champaign, Urbana, IL, USA

3. Facebook, CA, USA

4. University of British Columbia, Vancouver, BC, Canada

5. Amazon, Seattle, WA, USA

6. Apple, Inc, Cupertino, CA, USA

Abstract

Blockchain platforms are coming into use for processing critical transactions among participants who have not established mutual trust. Many blockchains are programmable, supporting smart contracts , which maintain persistent state and support transactions that transform the state. Unfortunately, bugs in many smart contracts have been exploited by hackers. Obsidian is a novel programming language with a type system that enables static detection of bugs that are common in smart contracts today. Obsidian is based on a core calculus, Silica, for which we proved type soundness. Obsidian uses typestate to detect improper state manipulation and uses linear types to detect abuse of assets. We integrated a permissions system that encodes a notion of ownership to allow for safe, flexible aliasing. We describe two case studies that evaluate Obsidian’s applicability to the domains of parametric insurance and supply chain management, finding that Obsidian’s type system facilitates reasoning about high-level states and ownership of resources. We compared our Obsidian implementation to a Solidity implementation, observing that the Solidity implementation requires much boilerplate checking and tracking of state, whereas Obsidian does this work statically.

Funder

National Science Foundation

Ripple, Inc.

U.S. Department of Defense

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Cited by 13 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. TRAC: A Tool for Data-Aware Coordination;Lecture Notes in Computer Science;2024

2. Coconut: Typestates for Embedded Systems;Lecture Notes in Computer Science;2024

3. Pacta sunt servanda: Legal contracts in;Science of Computer Programming;2023-01

4. Protocol-Based Smart Contract Generation;Financial Cryptography and Data Security. FC 2022 International Workshops;2023

5. Formal Methods for the Verification of Smart Contracts: A Review;2022 15th International Conference on Security of Information and Networks (SIN);2022-11-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3