Current browse context:
cs.LO
Change to browse by:
References & Citations
Computer Science > Logic in Computer Science
Title: Reactive Synthesis of Smart Contract Control Flows
(Submitted on 12 May 2022 (v1), last revised 27 Jul 2023 (this version, v5))
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.
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.