Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Smart Contract Design Meets State Machine Synthesis: Case Studies   Modern blockchain systems support creation of smart contracts -- stateful
programs hosted and executed on a blockchain. Smart contracts hold and transfer
significant amounts of digital currency which makes them an attractive target
for security attacks. It has been shown that many contracts deployed to public
ledgers contain security vulnerabilities. Moreover, the design of blockchain
systems does not allow the code of the smart contract to be changed after it
has been deployed to the system. Therefore, it is important to guarantee the
correctness of smart contracts prior to their deployment.
  Formal verification is widely used to check smart contracts for correctness
with respect to given specification. In this work we consider program synthesis
techniques in which the specification is used to generate
correct-by-construction programs. We focus on one of the special cases of
program synthesis where programs are modeled with finite state machines (FSMs).
We show how FSM synthesis can be applied to the problem of automatic smart
contract generation. Several case studies of smart contracts are outlined:
crowdfunding platform, blinded auction and a license contract. For each case
study we specify the corresponding smart contract with a set of formulas in
linear temporal logic (LTL) and use this specification together with test
scenarios to synthesize a FSM model for that contract. These models are later
used to generate executable Solidity code which can be directly used in a
blockchain system.

22
The categories of this paper are: chao-dyn
30
The categories of this paper are: q-alg
35
The categories of this paper are: mtrl-th
28
The categories of this paper are: alg-geom
36
The categories of this paper are: cmp-lg
23
The categories of this paper are: solv-int
27
The categories of this paper are: comp-gas
2
The categories of this paper are: math
34
The categories of this paper are: chem-ph
9
The categories of this paper are: nlin
5
The categories of this paper are: gr-qc
26
The categories of this paper are: bayes-an
6
The categories of this paper are: astro-ph
20
The categories of this paper are: acc-phys
7
The categories of this paper are: hep-th
19
The categories of this paper are: eess