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 metadatas

Cited literature [10 references]  Display  Hide  Download

https://hal.inria.fr/hal-01400469
Contributor : Thomas Sibut-Pinote <>
Submitted on : Tuesday, November 29, 2016 - 1:38:19 PM
Last modification on : Friday, May 25, 2018 - 12:02:06 PM
Long-term archiving on : Monday, March 27, 2017 - 8:31:13 AM

File

solidether.pdf
Files produced by the author(s)

Identifiers

Citation

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⟩

Share

Metrics

Record views

925

Files downloads

1434