Skip to Main content Skip to Navigation
Conference papers

Formal Verification of Smart Contracts: Short Paper

Abstract : Ethereum is a framework for cryptocurrencies which uses blockchain technology to provide an open global computing platform, called the Ethereum Virtual Machine (EVM). EVM executes bytecode on a simple stack machine. Programmers do not usually write EVM code; instead, they can program in a JavaScript-like language, called Solidity, that compiles to bytecode. Since the main purpose of EVM is to execute smart contracts that manage and transfer digital assets (called Ether), security is of paramount importance. However, writing secure smart contracts can be extremely difficult: due to the openness of Ethereum, both programs and pseudonymous users can call into the public methods of other programs, leading to potentially dangerous compositions of trusted and untrusted code. This risk was recently illustrated by an attack on TheDAO contract that exploited subtle details of the EVM semantics to transfer roughly $50M worth of Ether into the control of an attacker. In this paper, we outline a framework to analyze and verify both the runtime safety and the functional correctness of Ethereum contracts by translation to F*, a functional programming language aimed at program verification.
Complete list of metadata

Cited literature [10 references]  Display  Hide  Download
Contributor : Thomas Sibut-Pinote Connect in order to contact the contributor
Submitted on : Tuesday, November 29, 2016 - 1:38:19 PM
Last modification on : Friday, August 5, 2022 - 9:26:01 AM
Long-term archiving on: : Monday, March 27, 2017 - 8:31:13 AM


Files produced by the author(s)



Karthikeyan Bhargavan, Antoine Delignat-Lavaud, Cédric Fournet, Anitha Gollamudi, Georges Gonthier, et al.. Formal Verification of Smart Contracts: Short Paper. ACM Workshop on Programming Languages and Analysis for Security, Oct 2016, Vienna, Austria. ⟨10.1145/2993600.2993611⟩. ⟨hal-01400469⟩



Record views


Files downloads