We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LO

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Logic in Computer Science

Title: Reactive Synthesis of Smart Contract Control Flows

Abstract: Smart contracts are small but highly error-prone programs that implement agreements between multiple parties. We present a reactive synthesis approach for the automatic construction of smart contract state machines. Towards this end, we extend temporal stream logic (TSL) with universally quantified parameters over infinite domains. Parameterized TSL is a convenient logic to specify the temporal control flow, i.e., the correct order of transactions, as well as the data flow of the contract's fields. We develop a two-step approach that 1) synthesizes a finite representation of the - in general - infinite-state system and 2) splits the system into a compact hierarchical architecture that enables the implementation of the state machine in Solidity. We implement the approach in our prototype tool SCSynt, which - within seconds - automatically constructs Solidity code that realizes the specified control flow.
Subjects: Logic in Computer Science (cs.LO); Cryptography and Security (cs.CR); Programming Languages (cs.PL)
Cite as: arXiv:2205.06039 [cs.LO]
  (or arXiv:2205.06039v5 [cs.LO] for this version)

Submission history

From: Jana Hofmann [view email]
[v1] Thu, 12 May 2022 11:52:40 GMT (163kb,D)
[v2] Fri, 13 May 2022 07:14:36 GMT (163kb,D)
[v3] Sun, 21 Aug 2022 18:18:17 GMT (184kb,D)
[v4] Thu, 23 Feb 2023 18:09:23 GMT (156kb,D)
[v5] Thu, 27 Jul 2023 09:50:58 GMT (127kb,D)

Link back to: arXiv, form interface, contact.