Skip to main content

Showing 1–20 of 20 results for author: Zunino, R

.
  1. arXiv:2406.07700  [pdf, other

    cs.CR

    Scalable UTXO Smart Contracts via Fine-Grained Distributed State

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Current UTXO-based smart contracts face an efficiency bottleneck, requiring any transaction sent to a contract to specify the entire updated contract state. This requirement becomes particularly burdensome when the contract state contains dynamic data structures, such as maps, which are needed in many use cases for tracking users interactions with the contract. The problem is twofold: on the one h… ▽ More

    Submitted 11 June, 2024; originally announced June 2024.

  2. arXiv:2404.04129  [pdf, other

    cs.CR cs.PL

    Smart Contract Languages: a comparative analysis

    Authors: Massimo Bartoletti, Lorenzo Benetollo, Michele Bugliesi, Silvia Crafa, Giacomo Dal Sasso, Roberto Pettinau, Andrea Pinna, Mattia Piras, Sabina Rossi, Stefano Salis, Alvise Spanò, Viacheslav Tkachenko, Roberto Tonelli, Roberto Zunino

    Abstract: Decentralized blockchain platforms support the secure exchange of assets among users without relying on trusted third parties. These exchanges are programmed with smart contracts, computer programs directly executed by blockchain nodes. Multiple smart contract languages are available nowadays to developers, each with its own distinctive features, strengths, and weaknesses. In this paper, we examin… ▽ More

    Submitted 5 April, 2024; originally announced April 2024.

  3. arXiv:2403.09880  [pdf, other

    cs.CR

    How To Save Fees in Bitcoin Smart Contracts: a Simple Optimistic Off-chain Protocol

    Authors: Dario Maddaloni, Riccardo Marchesin, Roberto Zunino

    Abstract: We consider the execution of smart contracts on Bitcoin. There, every contract step corresponds to appending to the blockchain a new transaction that spends the output representing the old contract state, creating a new one for the updated state. This standard procedure requires the contract participants to pay transaction fees for every execution step. In this paper, we introduce a protocol that… ▽ More

    Submitted 29 April, 2024; v1 submitted 14 March, 2024; originally announced March 2024.

  4. arXiv:2309.10781  [pdf, other

    cs.CR

    DeFi composability as MEV non-interference

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Complex DeFi services are usually constructed by composing a variety of simpler smart contracts. The permissionless nature of the blockchains where these smart contracts are executed makes DeFi services exposed to security risks, since adversaries can target any of the underlying contracts to economically damage the compound service. We introduce a new notion of secure composability of smart contr… ▽ More

    Submitted 8 January, 2024; v1 submitted 19 September, 2023; originally announced September 2023.

  5. arXiv:2305.09545  [pdf, ps, other

    cs.CR

    Secure compilation of rich smart contracts on poor UTXO blockchains

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Most blockchain platforms from Ethereum onwards render smart contracts as stateful reactive objects that update their state and transfer crypto-assets in response to transactions. A drawback of this design is that when users submit a transaction, they cannot predict in which state it will be executed. This exposes them to transaction-ordering attacks, a widespread class of attacks where adversarie… ▽ More

    Submitted 22 April, 2024; v1 submitted 16 May, 2023; originally announced May 2023.

  6. arXiv:2302.02154  [pdf, other

    cs.CR

    A theoretical basis for Blockchain Extractable Value

    Authors: Massimo Bartoletti, Roberto Zunino

    Abstract: Extractable Value refers to a wide class of economic attacks to public blockchains, where adversaries with the power to reorder, drop or insert transactions in a block can "extract" value from smart contracts. Empirical research has shown that mainstream protocols, like e.g. decentralized exchanges, are massively targeted by these attacks, with detrimental effects on their users and on the blockch… ▽ More

    Submitted 16 May, 2023; v1 submitted 4 February, 2023; originally announced February 2023.

  7. Sound approximate and asymptotic probabilistic bisimulations for PCTL

    Authors: Massimo Bartoletti, Maurizio Murgia, Roberto Zunino

    Abstract: We tackle the problem of establishing the soundness of approximate bisimilarity with respect to PCTL and its relaxed semantics. To this purpose, we consider a notion of bisimilarity inspired by the one introduced by Desharnais, Laviolette, and Tracol, and parametric with respect to an approximation error $δ$, and to the depth $n$ of the observation along traces. Essentially, our soundness theorem… ▽ More

    Submitted 30 March, 2023; v1 submitted 4 November, 2021; originally announced November 2021.

    Journal ref: Logical Methods in Computer Science, Volume 19, Issue 1 (March 31, 2023) lmcs:10158

  8. Verifying liquidity of recursive Bitcoin contracts

    Authors: Massimo Bartoletti, Stefano Lande, Maurizio Murgia, Roberto Zunino

    Abstract: Smart contracts - computer protocols that regulate the exchange of crypto-assets in trustless environments - have become popular with the spread of blockchain technologies. A landmark security property of smart contracts is liquidity: in a non-liquid contract, it may happen that some assets remain frozen, i.e. not redeemable by anyone. The relevance of this issue is witnessed by recent liquidity a… ▽ More

    Submitted 31 January, 2022; v1 submitted 28 November, 2020; originally announced November 2020.

    Comments: arXiv admin note: text overlap with arXiv:2003.00296

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 1 (February 1, 2022) lmcs:6943

  9. arXiv:2010.01347  [pdf, ps, other

    cs.CR

    Computationally sound Bitcoin tokens

    Authors: Massimo Bartoletti, Stefano Lande, Roberto Zunino

    Abstract: We propose a secure and efficient implementation of fungible tokens on Bitcoin. Our technique is based on a small extension of the Bitcoin script language, which allows the spending conditions in a transaction to depend on the neighbour transactions. We show that our implementation is computationally sound: that is, adversaries can make tokens diverge from their ideal functionality only with negli… ▽ More

    Submitted 9 February, 2021; v1 submitted 3 October, 2020; originally announced October 2020.

  10. arXiv:2009.12140  [pdf, ps, other

    cs.CR

    A formal model of Algorand smart contracts

    Authors: Massimo Bartoletti, Andrea Bracciali, Cristian Lepore, Alceste Scalas, Roberto Zunino

    Abstract: We develop a formal model of Algorand stateless smart contracts (stateless ASC1.) We exploit our model to prove fundamental properties of the Algorand blockchain, and to establish the security of some archetypal smart contracts. While doing this, we highlight various design patterns supported by Algorand. We perform experiments to validate the coherence of our formal model w.r.t. the actual implem… ▽ More

    Submitted 26 January, 2021; v1 submitted 25 September, 2020; originally announced September 2020.

  11. arXiv:2006.03918  [pdf, ps, other

    cs.PL cs.CR

    Bitcoin covenants unchained

    Authors: Massimo Bartoletti, Stefano Lande, Roberto Zunino

    Abstract: Covenants are linguistic primitives that extend the Bitcoin script language, allowing transactions to constrain the scripts of the redeeming ones. Advocated as a way of improving the expressiveness of Bitcoin contracts while preserving the simplicity of the UTXO design, various forms of covenants have been proposed over the years. A common drawback of the existing descriptions is the lack of forma… ▽ More

    Submitted 26 July, 2020; v1 submitted 6 June, 2020; originally announced June 2020.

  12. arXiv:2003.00296  [pdf, ps, other

    cs.CR cs.PL

    Renegotiation and recursion in Bitcoin contracts

    Authors: Massimo Bartoletti, Maurizio Murgia, Roberto Zunino

    Abstract: BitML is a process calculus to express smart contracts that can be run on Bitcoin. One of its current limitations is that, once a contract has been stipulated, the participants cannot renegotiate its terms: this prevents expressing common financial contracts, where funds have to be added by participants at run-time. In this paper, we extend BitML with a new primitive for contract renegotiation. At… ▽ More

    Submitted 21 April, 2020; v1 submitted 29 February, 2020; originally announced March 2020.

    Comments: Full version of the paper presented at COORDINATION 2020

  13. arXiv:1905.07639  [pdf, other

    cs.PL

    Develo** secure Bitcoin contracts with BitML

    Authors: Nicola Atzei, Massimo Bartoletti, Stefano Lande, Nobuko Yoshida, Roberto Zunino

    Abstract: We present a toolchain for develo** and verifying smart contracts that can be executed on Bitcoin. The toolchain is based on BitML, a recent domain-specific language for smart contracts with a computationally sound embedding into Bitcoin. Our toolchain automatically verifies relevant properties of contracts, among which liquidity, ensuring that funds do not remain frozen within a contract foreve… ▽ More

    Submitted 2 August, 2019; v1 submitted 18 May, 2019; originally announced May 2019.

  14. Efficient Finite Difference Method for Computing Sensitivities of Biochemical Reactions

    Authors: Vo Hong Thanh, Roberto Zunino, Corrado Priami

    Abstract: Sensitivity analysis of biochemical reactions aims at quantifying the dependence of the reaction dynamics on the reaction rates. The computation of the parameter sensitivities, however, poses many computational challenges when taking stochastic noise into account. This paper proposes a new finite difference method for efficiently computing sensitivities of biochemical reactions. We employ propensi… ▽ More

    Submitted 4 September, 2018; v1 submitted 28 July, 2017; originally announced July 2017.

    Comments: 29 pages with 6 figures, 2 tables

    Journal ref: Proceedings of The Royal Society A, 474(2218), 2018

  15. Contract agreements via logic

    Authors: Massimo Bartoletti, Tiziana Cimoli, Paolo Di Giamberardino, Roberto Zunino

    Abstract: We relate two contract models: one based on event structures and game theory, and the other one based on logic. In particular, we show that the notions of agreement and winning strategies in the game-theoretic model are related to that of provability in the logical model.

    Submitted 17 October, 2013; v1 submitted 31 May, 2013; originally announced June 2013.

    Comments: In Proceedings ICE 2013, arXiv:1310.4019

    Journal ref: EPTCS 131, 2013, pp. 5-19

  16. An event-based model for contracts

    Authors: Massimo Bartoletti, Tiziana Cimoli, G. Michele Pinna, Roberto Zunino

    Abstract: We introduce a basic model for contracts. Our model extends event structures with a new relation, which faithfully captures the circular dependencies among contract clauses. We establish whether an agreement exists which respects all the contracts at hand (i.e. all the dependencies can be resolved), and we detect the obligations of each participant. The main technical contribution is a corresp… ▽ More

    Submitted 26 February, 2013; originally announced February 2013.

    Comments: In Proceedings PLACES 2012, arXiv:1302.5798

    Journal ref: EPTCS 109, 2013, pp. 13-20

  17. Honesty by Ty**

    Authors: Massimo Bartoletti, Alceste Scalas, Emilio Tuosto, Roberto Zunino

    Abstract: We propose a type system for a calculus of contracting processes. Processes can establish sessions by stipulating contracts, and then can interact either by kee** the promises made, or not. Type safety guarantees that a typeable process is honest - that is, it abides by the contracts it has stipulated in all possible contexts, even in presence of dishonest adversaries. Type inference is decidabl… ▽ More

    Submitted 27 December, 2016; v1 submitted 12 November, 2012; originally announced November 2012.

    ACM Class: D.2.4; D.3.1; D.3.2; F.3.1; F.3.2

    Journal ref: Logical Methods in Computer Science, Volume 12, Issue 4 (April 27, 2017) lmcs:2619

  18. arXiv:1201.6188  [pdf, ps, other

    cs.PL

    On the realizability of contracts in dishonest systems

    Authors: Massimo Bartoletti, Emilio Tuosto, Roberto Zunino

    Abstract: We develop a theory of contracting systems, where behavioural contracts may be violated by dishonest participants after they have been agreed upon - unlike in traditional approaches based on behavioural types. We consider the contracts of \cite{CastagnaPadovaniGesbert09toplas}, and we embed them in a calculus that allows distributed participants to advertise contracts, reach agreements, query the… ▽ More

    Submitted 30 January, 2012; originally announced January 2012.

  19. arXiv:1108.0471  [pdf, ps, other

    cs.PL cs.DC cs.LO cs.SE

    Contracts in distributed systems

    Authors: Massimo Bartoletti, Emilio Tuosto, Roberto Zunino

    Abstract: We present a parametric calculus for contract-based computing in distributed systems. By abstracting from the actual contract language, our calculus generalises both the contracts-as-processes and contracts-as-formulae paradigms. The calculus features primitives for advertising contracts, for reaching agreements, and for querying the fulfilment of contracts. Coordination among principals happens… ▽ More

    Submitted 1 August, 2011; originally announced August 2011.

    Comments: In Proceedings ICE 2011, arXiv:1108.0144

    Journal ref: EPTCS 59, 2011, pp. 130-147

  20. arXiv:1010.5570  [pdf, ps, other

    cs.PL cs.LO cs.SE

    Primitives for Contract-based Synchronization

    Authors: Massimo Bartoletti, Roberto Zunino

    Abstract: We investigate how contracts can be used to regulate the interaction between processes. To do that, we study a variant of the concurrent constraints calculus presented in [1], featuring primitives for multi-party synchronization via contracts. We proceed in two directions. First, we exploit our primitives to model some contract-based interactions. Then, we discuss how several models for concurrenc… ▽ More

    Submitted 27 October, 2010; originally announced October 2010.

    Comments: In Proceedings ICE 2010, arXiv:1010.5308

    Journal ref: EPTCS 38, 2010, pp. 67-82