Tezla, an Intermediate Representation for Static Analysis of Michelson Smart Contracts
; Melo de Sousa, -
Tezla, an Intermediate Representation for Static Analysis of Michelson Smart Contracts, Proc i-cav International Conference on Computer-Aided Verification CAV, Los Angeles, United States, Vol. , pp. - , July, 2020.
Digital Object Identifier:
This paper introduces Tezla, an intermediate representation of Michelson smart contracts that eases the design of static smart contract analysers. This intermediate representation uses a store and preserves the semantics, flow and resource usage of the original smart contract. This enables properties like gas consumption to be statically verified. We provide an automated decompiler of Michelson smart contracts to Tezla. In order to support our claim about the adequacy of Tezla, we develop a static analyser that takes advantage of the Tezla representation of Michelson smart contracts to prove simple but non-trivial properties.