Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Zilliqa/scilla-coq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contract as Automata

State-Transition Systems for Smart Contracts: semantics and properties.

Building Instructions

Requirements

We recommend installing the requirements via opam:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-fcsl-pcm

Building the project

make clean; make -j

Project Structure

  • Core/Automata2.v - definition of the automata-based language semantics;
  • Contracts/Puzzle.v - a simple puzzle-solving game contract and its properties;
  • Contracts/Crowdfunding.v - the Crowdfunding contract and its properties;