<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">LLM-based DatalogMTL Modelling of MiCAR-compliant Crypto-Assets Markets</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Andrea</forename><surname>Colombo</surname></persName>
							<email>andrea1.colombo@polimi.it</email>
							<affiliation key="aff0">
								<orgName type="department" key="dep1">Politecnico di Milano</orgName>
								<orgName type="department" key="dep2">Dipartimento di Elettronica</orgName>
								<orgName type="institution">Informazione e Bioingegneria</orgName>
								<address>
									<settlement>Milan</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Teodoro</forename><surname>Baldazzi</surname></persName>
							<email>teodoro.baldazzi@uniroma3.it</email>
							<affiliation key="aff1">
								<orgName type="department">Department of Computer Science and Engineering</orgName>
								<orgName type="institution">Università Roma Tre</orgName>
								<address>
									<settlement>Rome</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Luigi</forename><surname>Bellomarini</surname></persName>
							<email>luigi.bellomarini@bancaditalia.it</email>
							<affiliation key="aff2">
								<orgName type="institution">Banca d&apos;Italia</orgName>
								<address>
									<settlement>Rome</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Andrea</forename><surname>Gentili</surname></persName>
							<email>andrea.gentili@bancaditalia.it</email>
							<affiliation key="aff2">
								<orgName type="institution">Banca d&apos;Italia</orgName>
								<address>
									<settlement>Rome</settlement>
									<country key="IT">Italy</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Emanuel</forename><surname>Sallinger</surname></persName>
							<email>sallinger@dbai.tuwien.ac.at</email>
							<affiliation key="aff3">
								<orgName type="department">Faculty of Informatics</orgName>
								<orgName type="institution">TU Wien</orgName>
								<address>
									<settlement>Vienna</settlement>
									<country key="AT">Austria</country>
								</address>
							</affiliation>
							<affiliation key="aff4">
								<orgName type="department">Department of Computer Science</orgName>
								<orgName type="institution">University of Oxford</orgName>
								<address>
									<settlement>Oxford</settlement>
									<country key="GB">UK</country>
								</address>
							</affiliation>
						</author>
						<author>
							<affiliation key="aff5">
								<address>
									<settlement>Dallas</settlement>
									<region>Texas</region>
									<country key="US">USA</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">LLM-based DatalogMTL Modelling of MiCAR-compliant Crypto-Assets Markets</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">270E1537F15BD8D48F50EF7AA7EFB10D</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T19:11+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>DatalogMTL</term>
					<term>crypto assets</term>
					<term>MiCAR</term>
					<term>large language models</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Recent extensions of Datalog that consider the temporal dimension as a first-class citizen have unlocked the possibility of using its temporal variants, such as DatalogMTL, to model and reason about complex financial domains. Very relevant ones are crypto-activity markets, which, according to the recent Markets in Crypto-Assets Regulation (MiCAR) of the EU, are described by white papers published by crypto-assets issuers.</p><p>In particular, the issuers publish semi-structured information about the assets they are willing to offer. Then, the assets are implemented in decentralized finance contexts (i.e., in a blockchain) as executable scripts known as smart contracts. However, these scripts are often criticized for their complexity, which makes them challenging to understand and communicate. On the other hand, in our experience, the availability of a declarative and executable representation of a crypto-activity market fosters a better understanding of that market as well as improved transparency, reproducibility and, as a consequence, increased fairness. These characteristics are of major interest to the financial authorities for example for supervision purposes.</p><p>In this paper, we study the problem of automatically translating textual descriptions of crypto-assets, written according to the MiCAR specifications, into DatalogMTL programs that represent and capture the respective crypto-activity market. To this end, we opt for a machine translation approach and leverage a Large Language Model. We discuss promising techniques and preliminary experimental results.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Knowledge Representation and Reasoning (KRR) formalisms, such as Datalog and its extensions, are gathering increasing attention in industrial contexts. This is particularly evident in the financial sector, with applications in the so-called Decentralized Finance (DeFi), a novel financial paradigm that leverages distributed ledger technologies to offer services without intermediaries. Logical languages such as Datalog effectively balance expressive power and computational complexity, enabling, thanks to their extension to the temporal dimension, the creation of concise and efficiently executable formalizations of smart contracts, i.e., executable scripts that implement a financial asset <ref type="bibr" target="#b0">[1,</ref><ref type="bibr" target="#b1">2,</ref><ref type="bibr" target="#b2">3]</ref>. Additionally, the inherent step-by-step nature of logical reasoning aligns closely with concepts of explainability, thereby supporting transparency in decision-making activities. The declarative paradigm promotes simplicity, trustworthiness, compactness, and code comprehensibility, making it algorithm-independent and more aligned with high-level specifications, policies, and standards. Among these, the recent Markets in Crypto-Assets Regulation (MiCAR) of the European Union <ref type="bibr" target="#b3">[4]</ref> introduces rules for crypto-activity issuers, such as the requirements for white papers, i.e., semi-structured documents containing all information about the crypto assets being offered or admitted to trading. The availability of such Information on the reserve of assets 7</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Table 1</head><p>Templates for e-money (left) and asset-references (right) token white paper contents.</p><p>templates is appealing if combined with the impressive power of state-of-the-art Large Language Models (LLMs), which have proved to be capable of understanding and manipulating complex unstructured data as text. One of the most promising applications is using LLMs to analyze white papers, their compliance with rules, and their features, which may impact financial markets, raising the interest of financial authorities. Leveraging Large Language Models for the automatic translation of natural language descriptions into executable code on a blockchain is a novel and unexplored field due to the challenges of (i) converting text to programming languages an LLM has rarely seen, and (ii) ensuring the fidelity and quality of the translated content <ref type="bibr" target="#b4">[5]</ref>. Recent works, such as SolMover <ref type="bibr" target="#b5">[6]</ref>, build frameworks that, by employing LLMs, try to understand coding concepts and use them to translate from a code like Solidity into a non-trained source language. While results are promising, this approach is a code-to-code translation, thus not directly a natural language (NL)-to-code translation. Other works are based on a human-LLM continuous dialogue, such as via ChatGPT, that supports the writing of Solidity code for smart contracts, although human intervention and correction are still required <ref type="bibr" target="#b6">[7]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Contribution.</head><p>In this short work, we present our preliminary approach that aims at translating white papers into an executable and inherently transparent language as DatalogMTL. Our approach leverages the semi-structured format enforced by the MiCAR to build a pipeline that supports a pre-trained LLM agent in the translation task by (i) reducing the amount of information passed to the model, filtering in only specific sections of the white paper, and (ii) implementing token-specific pre-and post-processing steps that help the LLM achieve an executable output.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Background</head><p>In this section, we briefly recall DatalogMTL foundations required for its use in crypto-activity modelling, i.e., to model smart contracts. Then, we outline the main aspects of interest introduced by the MiCAR.</p><p>DatalogMTL. DatalogMTL <ref type="bibr" target="#b7">[8,</ref><ref type="bibr" target="#b8">9]</ref> is a recently developed extension of Datalog with operators from Metric Temporal Logic (MTL) interpreted over the rational timeline and with stratified negation under stable model semantics. In <ref type="bibr" target="#b9">[10]</ref>, we showed how the only required temporal operator for implementing financial markets in DatalogMTL is the use of ⊟ [𝑡 1 ,𝑡 2 ] over a punctual interval, i.e., up to 𝑡 1 = 𝑡 2 . Informally speaking, given the rule ⊟ [𝑡 1 ,𝑡 2 ] 𝐴 1 → 𝐴 2 and a time interval [𝑥, 𝑦], the ⊟ operator defines the satisfaction of an atom 𝐴 2 within the interval [𝑥 + 𝑡 2 , 𝑦 + 𝑡 1 ], based on the continuous satisfaction of an atom 𝐴 1 within the interval [𝑥, 𝑦], where 𝑥 + 𝑡 2 ≤ 𝑦 + 𝑡 1 . The idea is that, by considering punctual intervals, we can model the evolving market at any timestamp and create rules that react in case an event occurs, such as a transfer of assets between two market participants.</p><p>The MiCA Regulation in the EU. The Markets in Crypto-Assets (MiCA) regulation, enacted by the European Union, covers three categories: asset-referenced tokens, e-money tokens, and other crypto-assets. Since the scope of the third category is broader, in this work we will focus only on the first two more specific tokens. For each crypto asset category, the MiCAR contains norms regarding the content of the white paper. While no official template has been published yet, we report in Table <ref type="table">1</ref> the likely structure of the templates, following the consultations that are in progress <ref type="bibr" target="#b10">[11]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">LLM-based White Paper Translation Pipeline</head><p>The problem of translating an arbitrary NL whitepaper into a DatalogMTL specification is inherently complex and our experience shows that pure machine translation approaches, where the LLM is directly tasked with the NL-to-DatalogMTL translation goal (even when fine-tuning is involved) are not effective and lead to arbitrary programs, highly affected by hallucinations and overall incorrect. To overcome these difficulties, we suggest a paradigm shift and follow a template-based technique, implemented in the pipeline shown in Figure <ref type="figure" target="#fig_0">1</ref>. Overview. We pre-define a set of market mechanisms ℳ that represent standard "functional components" of a market, such as creation (minting), selling of a token (redemption), and so on. For each pattern, we feature pre-built templatized (i.e., with formal variables) DatalogMTL rules decorated with a natural language description. Examples are in Figure <ref type="figure">2</ref>. Then, given a white paper, we can first select the templatized rules according to the token type, and iteratively prompt the LLM with all the information required to specialize the rules to the white paper content. LLM-based Rules Specialization. Algorithm 1 describes the process we developed to adapt the generic rules to the token-specific features. Based on a custom input MiCAR-compliant white paper, the corresponding set of templatized rules Σ, either e-money token or asset-referenced token, is considered. Then, for each market mechanism 𝑀 of the set ℳ of mechanisms (line 1), we consider the set of templatized rules 𝑅, their description 𝐷 that we have pre-defined, and we extract the portion 𝐼 of the white paper that contains relevant information for the mechanism (lines 2-4). Each mechanism is also decorated with a set of keywords 𝒦, which describe the content of the mechanism and activate optional pre-processing steps (lines 5-7). Thus, if the mechanism deals with one of the topics defined by the keywords, a pre-processing LLM call will be performed to rewrite the information that was inserted in the white paper fields. The aim of this step is to support the LLM-translation task by simplifying, if possible, the textual input. For instance, this is the case of temporal information such as the specification of market opening days, which can be defined in multiple formats, e.g., the market is closed on weekends. Then, the LLM is provided 𝑅, 𝐷 and 𝐼 and is prompted to perform the actual specification (line 8): "These are Datalog rules: {R} where {D}. Modify them according to this information: {I}" Finally, the LLM generates the translated rules, and we perform post-processing checks (line 9-11), such as detection of syntax or programmatically identifiable errors. In case checks are not passed, the LLM is asked to repeat the task until they are passed. Minting 𝑞 is the minimum quantity that it's possible to hold 𝑞 is the minimum quantity that it's possible to hold ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑢, 𝑛 , 𝑅𝑒𝑑𝑒𝑒𝑚𝑂𝑟𝑑𝑒𝑟 𝑢, 𝑞 , 𝑞 ≤ 𝑛 → 𝑅𝑒𝑑𝑒𝑒𝑚(𝑢, 𝑞) ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑢, 𝑛 , 𝑅𝑒𝑑𝑒𝑒𝑚𝑂𝑟𝑑𝑒𝑟 𝑢, 𝑞 , 𝑞 ≤ 𝑛 → 𝑅𝑒𝑑𝑒𝑒𝑚(𝑢, 𝑞)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Redemption</head><p>The rule describes that you need enough units in balance for redeeming The rule describes that you need enough units in balance for redeeming ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑠, 𝑜 , 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑠, 𝑟, 𝑢, 𝑏 , 𝑏 = 𝑏 , 𝑜 ≥ 𝑢 → 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟𝐴𝑝𝑝𝑟𝑜𝑣𝑒𝑑(𝑠, 𝑟, 𝑢, 𝑏) ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑠, 𝑜 , 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑠, 𝑟, 𝑢, 𝑏 , 𝑏 = 𝑏 , 𝑜 &lt; 𝑢 → 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟𝐷𝑒𝑛𝑖𝑒𝑑(𝑠, 𝑟, 𝑢, 𝑏) ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑠, 𝑜 , 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑠, 𝑟, 𝑢, 𝑏 , 𝑏 = 𝑏 , 𝑜 ≥ 𝑢 → 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟𝐴𝑝𝑝𝑟𝑜𝑣𝑒𝑑 𝑠, 𝑟, 𝑢, 𝑏 ⊟ , 𝐵𝑎𝑙𝑎𝑛𝑐𝑒 𝑠, 𝑜 , 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟 𝑠, 𝑟, 𝑢, 𝑏 , 𝑏 = 𝑏 , 𝑜 &lt; 𝑢 → 𝑇𝑟𝑎𝑛𝑠𝑓𝑒𝑟𝐷𝑒𝑛𝑖𝑒𝑑(𝑠, 𝑟, 𝑢, 𝑏)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Transfer</head><p>𝑏 is a supported blockchain for the token 𝑏 is a supported blockchain for the token Figure <ref type="figure">2</ref>: Examples of templatized rules Σ of some relevant token mechanisms, namely, the collateral acceptance terms, minting and redemption, and transfer conditions. Each mechanism is defined as a pair of DatalogMTL rules -NL description that illustrates some relevant aspects of the rules, i.e., either the role of the variables or a generic description. The number of pre-defined rules in the mechanism is arbitrary and, as we shall see, will help the translation mechanism. Possible differences between e-money tokens and asset-referenced ones might refer either to the rules or to the descriptions and depend on the different nature of the token.</p><p>Algorithm 1 Rules Specialization. ◁ LLM is asked to rewrite the information 7: end if 8:</p><p>𝑅 * ← LLMPrompt(𝑅, 𝐷, 𝐼)</p><p>◁ LLM is prompted to adapt the rules R according to I 9: while 𝑅 * .𝑐ℎ𝑒𝑐𝑘𝑠 not passed do 10:</p><p>𝑅 * ← 𝐿𝐿𝑀 𝑃 𝑟𝑜𝑚𝑝𝑡(𝑅, 𝐷, 𝐼)</p><p>◁ LLM is asked to repeat the task 11: end while 12: end for For our preliminary experiments and tests, we employed a pre-trained LLaMA 3 70B as our reference LLM. The model was prompted with system content providing a generic DatalogMTL adaptation example. We opted not to perform fine-tuning since (i) few-shot learning demonstrated promising results in our initial trials, and (ii) there is a current lack of large-scale datasets of DatalogMTL rules.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Example 1 (X-Coin -Supported Blockchain). Consider the market mechanism 𝑀 = Transfer for a hypothetical e-money token named X-Coin. It defines the conditions required by the white paper for the approval of a transfer of tokens between a Sender 𝑠 and a</head><p>Receiver 𝑟 of 𝑢 units on the blockchain 𝑏. For instance, suppose the only main conditions for approving a transfer are (i) having enough tokens in the sender's balance, and (ii) that the transfer occurs on a supported blockchain. Figure <ref type="figure" target="#fig_2">3</ref> illustrates the pipeline in action for the Transfer mechanism. In this example, the variable 𝑏 1 (refer to Figure <ref type="figure">2</ref>) has been instantiated and the model has also created additional rules to account for the multiple blockchains, i.e., inserting OR conditions. To achieve this, the input has been automatically pre-processed: since the mechanism referred to the supported blockchain technology, a step to separate each blockchain type has been activated. Then, post-processing checks have controlled the syntax in the output, such as the presence of all initial predicates and the absence of additional undesired predicates.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>DatalogMTL Market Formalization.</head><p>By collecting all the rules that have been generated or modified in Algorithm 1, we can create a DatalogMTL program that formalizes the token's specific market that, if extensional facts are injected, is executable in a DatalogMTL engine. Full examples of our approach over existing crypto activities, converting natural language white papers into a DatalogMTL formalization, can be found in our repository <ref type="bibr" target="#b11">[12]</ref>. Such programs are executable if the required extensional facts are provided and replicate the conditions laid out in the white papers.</p><p>Discussion and Limitations. We developed the pipeline with the goal of producing DatalogMTL programs that are executable in any reasoner engine that supports the MTL extension of Datalog. Thus, engines like the MeTeoR <ref type="bibr" target="#b12">[13]</ref> and Vadalog <ref type="bibr" target="#b13">[14]</ref> systems can execute the generated programs. However, in all cases, the extensional database to practically run the program should be manually (or semi-automatically) generated, in the scenario you aim to reproduce or test the market for particular use cases, which is our goal for future work. In particular, any interested user might inject a market scenario and run the corresponding DatalogMTL program to see what the consequences of such a scenario would be.</p><p>Finally, while the semantic correctness of the resulting programs can be evaluated using rule-based checks or domain-specific constraints, which involve detecting rule-specific features, assessing the content correctness is more challenging. Specifically, verifying that the translated rules, including potential errors introduced by the LLM, accurately replicate the mechanisms of a specific token remains difficult, particularly in an automated way. In fact, although employing human evaluators seems like a straightforward solution, automatic checks and correctness experiments would require a gold standard, i.e., the true sets of market rules, which is so far unavailable. Nevertheless, our pipeline is strictly guided, with the presence of specific regulations and pre-defined rule templates that mitigate the issue of creating unreliable DatalogMTL representations of crypto-markets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusion and Future Work</head><p>In this work, we presented the first approach that, by employing the enormous power of pre-trained LLMs in a controlled fashion, tries to model crypto activity markets in a tractable and inherently transparent formal language, i.e., DatalogMTL. Preliminary results show that we can automatically generate executable DatalogMTL programs starting from white papers in natural language by carefully instructing the LLM to perform the translation task and by leveraging the semi-structured nature of the MiCAR. In future works, we will expand on this approach and industrialize it on a larger scale, allowing stakeholders to get a DatalogMTL formalization of any MiCAR-compliant token. We will also test whether such programs fully replicate the markets by simulating their evolution and comparing it with the real market they aim to represent.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Proposed approach to convert white papers into DatalogMTL programs.</figDesc><graphic coords="3,104.60,230.07,383.52,187.01" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>1 :</head><label>1</label><figDesc>for ∀𝑀 ∈ ℳ do ◁ For each Token's Market Mechanism 2: 𝑅 ← Σ .GetRules(M ) ◁ Get generalized DatalogMTL rules 3: 𝐷 ← Σ .GetDescription(M ) ◁ Get the description for the mechanism variables 4: 𝐼 ← WhitePaper .GetRelevantFields(M ) ◁ Query the Textual Information from the White Paper 5: if M .Keywords ∈ 𝒦 then ◁ Mechanism deals with a topic requiring pre-processing 6: 𝐼 ← LLMRewrite(𝐼)</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3:The LLM-enhanced translation pipeline in action for the Transfer mechanism for the X-Coin white paper. The pipeline takes as input the E1 field of the X-Coin white paper, since we know, from MiCAR, that we can find in that field the information about the blockchain. In output, we have the DatalogMTL rules that have been specialized according to the specific white paper content.</figDesc><graphic coords="5,93.32,65.61,406.15,129.39" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head></head><label></label><figDesc>𝑀𝑖𝑛𝑡𝑂𝑟𝑑𝑒𝑟 𝑏, 𝑞, 𝑡 , 𝑡 = 𝑡 → 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 𝑀𝑖𝑛𝑡𝑂𝑟𝑑𝑒𝑟 𝑏, 𝑞, 𝑡 , 𝑡 = 𝑡 → 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 𝑀𝑖𝑛𝑡𝑂𝑟𝑑𝑒𝑟 𝑏, 𝑞, 𝑡 , 𝑡 = 𝑡 → 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 Collateral Acceptance 𝑡 and 𝑡 are acceptable collaterals, as fiat currencies, physical assets or cryptocurrencies 𝑡 can be a fiat currency or a short-term treasury bond acceptable as collateral 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 , 𝑃𝑟𝑖𝑐𝑒 𝑡, 𝑝 , 𝑞 ≥ 𝑞 → 𝑀𝑖𝑛𝑡(𝑏, 𝑞 * 𝑝) 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 , 𝑃𝑟𝑖𝑐𝑒 𝑡, 𝑝 , 𝑞 &lt; 𝑞 → 𝑀𝑖𝑛𝑡(𝑏, 0) 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 , 𝑞 ≥ 𝑞 → 𝑀𝑖𝑛𝑡(𝑏, 𝑞) 𝐶𝑜𝑙𝑙𝑎𝑡𝑒𝑟𝑎𝑙𝐴𝑐𝑐𝑒𝑝𝑡 𝑏, 𝑞, 𝑡 , 𝑞 &lt; 𝑞 → 𝑀𝑖𝑛𝑡(𝑏, 0)</figDesc><table><row><cell>Mechanism</cell><cell>E-Money Token</cell><cell>Asset-Referenced Token</cell></row></table></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgments</head><p>This work has been funded by the Vienna Science and Technology Fund (WWTF) [10.47379/VRG18013, 10.47379/NXT22018, 10.47379/ICT2201]. The views expressed in the paper are those of the authors and do not necessarily reflect those of the Bank of Italy.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Modelling Smart Contracts with DatalogMTL</title>
		<author>
			<persName><forename type="first">M</forename><surname>Nissl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Sallinger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">EDBT/ICDT Workshops</title>
				<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="volume">3135</biblScope>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<title level="m" type="main">Fine-tuning large enterprise language models via ontological reasoning</title>
		<author>
			<persName><forename type="first">T</forename><surname>Baldazzi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Bellomarini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Ceri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Colombo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Gentili</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Sallinger</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2023">2023</date>
			<publisher>Springer</publisher>
			<biblScope unit="page" from="86" to="94" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Towards FATEful Smart Contracts</title>
		<author>
			<persName><forename type="first">L</forename><surname>Bellomarini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Favorito</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Laurenza</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Nissl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Sallinger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">6th Distributed Ledger Technology Workshop</title>
				<meeting><address><addrLine>Turin, Italy</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2024">May 14-15, 2024. 2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<ptr target="https://shorturl.at/QAyRM" />
		<title level="m">Regulation -2023/1114 -en -eur</title>
				<imprint>
			<publisher>EU</publisher>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Automatic Smart Contract Generation Through LLMs: When The Stochastic Parrot Fails</title>
		<author>
			<persName><forename type="first">F</forename><surname>Barbàra</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">A</forename><surname>Napoli</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Gatteschi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Schifanella</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">6th Distributed Ledger Technology Workshop</title>
				<imprint>
			<date type="published" when="2024">2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">R</forename><surname>Karanjai</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Xu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Shi</surname></persName>
		</author>
		<title level="m">SolMover: Smart Contract Code Translation Based on Concepts</title>
				<meeting><address><addrLine>New York, NY, USA</addrLine></address></meeting>
		<imprint>
			<publisher>Association for Computing Machinery</publisher>
			<date type="published" when="2024">2024</date>
			<biblScope unit="page" from="112" to="121" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Model-Driven Smart Contract Generation Leveraging ChatGPT</title>
		<author>
			<persName><forename type="first">N</forename><surname>Petrović</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Al-Azzoni</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Advances in Systems Engineering</title>
				<meeting><address><addrLine>Nature Switzerland</addrLine></address></meeting>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2023">2023</date>
			<biblScope unit="page" from="387" to="396" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Querying Log Data with Metric Temporal Logic</title>
		<author>
			<persName><forename type="first">S</forename><surname>Brandt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><forename type="middle">G</forename><surname>Kalayci</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Ryzhikov</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Xiao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zakharyaschev</surname></persName>
		</author>
		<idno type="DOI">10.1613/jair.1.11229</idno>
	</analytic>
	<monogr>
		<title level="j">J. Artif. Int. Res</title>
		<imprint>
			<biblScope unit="volume">62</biblScope>
			<biblScope unit="page" from="829" to="877" />
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Reasoning Techniques in DatalogMTL</title>
		<author>
			<persName><forename type="first">P</forename><surname>Walega</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Zawidzki</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><forename type="middle">C</forename><surname>Grau</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of Datalog 2</title>
				<meeting>Datalog 2</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Smart Derivative Contracts in DatalogMTL</title>
		<author>
			<persName><forename type="first">A</forename><surname>Colombo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Bellomarini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Ceri</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Laurenza</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the EDBT Conference</title>
				<meeting>the EDBT Conference</meeting>
		<imprint>
			<date type="published" when="2023">2023</date>
			<biblScope unit="volume">26</biblScope>
			<biblScope unit="page" from="773" to="781" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Legal NLP Meets MiCAR: Advancing the Analysis of Crypto White Papers</title>
		<author>
			<persName><forename type="first">C</forename><surname>Camassa</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the Natural Legal Language Processing Workshop 2023</title>
				<meeting>the Natural Legal Language Processing Workshop 2023</meeting>
		<imprint>
			<date type="published" when="2023">2023</date>
			<biblScope unit="page" from="138" to="148" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<monogr>
		<author>
			<persName><forename type="first">A</forename><surname>Colombo</surname></persName>
		</author>
		<ptr target="https://bit.ly/MiCARTranslations" />
		<title level="m">MiCAR White Paper -DatalogMTL Translation Examples</title>
				<imprint>
			<date type="published" when="2024-08-14">2024. Accessed on 14/08/2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Meteor: Practical reasoning in datalog with metric temporal operators</title>
		<author>
			<persName><forename type="first">D</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Hu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">A</forename><surname>Wałęga</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><forename type="middle">C</forename><surname>Grau</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the AAAI Conference on Artificial Intelligence</title>
				<meeting>the AAAI Conference on Artificial Intelligence</meeting>
		<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="volume">36</biblScope>
			<biblScope unit="page" from="5906" to="5913" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">The Temporal Vadalog System</title>
		<author>
			<persName><forename type="first">L</forename><surname>Bellomarini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">L</forename><surname>Blasi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Nissl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Sallinger</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Rules and Reasoning: 6th International Joint Conference on Rules and Reasoning, RuleML+RR 2022</title>
				<meeting><address><addrLine>Berlin, Germany</addrLine></address></meeting>
		<imprint>
			<publisher>Springer-Verlag</publisher>
			<date type="published" when="2022">September 26-28, 2022. 2022</date>
			<biblScope unit="page" from="130" to="145" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
