Analysis of Smart Contracts Balances - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Article Dans Une Revue Blockchain: Research and Applications Année : 2021

Analysis of Smart Contracts Balances

Résumé

We define a technique for analyzing updates of smart contracts balances due to transfers of digital assets. The analysis addresses a lightweight smart contract language and consists of a two-step translation. First, we define the input-output behaviours of smart contract functions by means of a simple functional language with static dispatch. Then we associate the terms of this intermediate language with cost equations that compute the loss or gain of digital assets. The resulting equations can be fed to an off-the-shelf cost analyzer to provide upper bounds to the loss or gain. Our analysis has been prototyped and we report its assessments and discuss extensions with additional features.
Fichier principal
Vignette du fichier
EtherAnalysisNEW.pdf (656.84 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03347233 , version 1 (17-09-2021)

Identifiants

Citer

Laneve Cosimo, Claudio Sacerdoti Coen. Analysis of Smart Contracts Balances. Blockchain: Research and Applications, 2021, 2 (3), pp.100020. ⟨10.1016/j.bcra.2021.100020⟩. ⟨hal-03347233⟩
60 Consultations
101 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More