Powered by OpenAIRE graph
Found an issue? Give us feedback
addClaim

Smart Derivative Contracts in DatalogMTL

Authors: A. Colombo; L. Bellomarini; S. Ceri; E. Laurenza;

Smart Derivative Contracts in DatalogMTL

Abstract

Derivative contracts, either from traditional finance or reproduced in the crypto world in the form of smart contracts, are a very popular financial instrument widely used in the industry and of great interest to supervisors, financial intermediaries, and investment banks. With the expansion of Decentralized Finance (DeFi) environments, where no or little intermediation is involved, these contracts are also being deployed into a technological infrastructure, the blockchain, in the form of executable scripts. Unfortunately, these scripts are often criticized as their business logic is very complex, also due to the need to handle the temporal dimension, the implementations are hard to explain and communicate, and the adopted languages are highly procedural and very technical. Consequently, DeFi derivatives are often untrusted by non-IT users and hard to supervise. This joint work of the researchers of the Central Bank of Italy and the Polytechnic University of Milan aims at bridging this gap by presenting the first declarative, logic-based, and executable implementation of a DeFi derivative contract. In particular, leveraging the extensive experience of the database and reasoning-based AI communities about logical languages for knowledge representation and reasoning, we adopt the DatalogMTL language for temporal reasoning to encode the Ethereum Perpetual Future (ETH-PERP) smart contract. We show how the language conveys simplicity, understandability, and transparency for non-technical users. To validate our implementation, we execute the smart contract in Vadalog, a modern reasoner supporting DatalogMTL.

Country
Italy
Keywords

derivatives, smart contracts, Datalog, DatalogMTL, reasoning

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!