gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: fix design document code highlight


From: gnunet
Subject: [taler-docs] branch master updated: fix design document code highlight
Date: Thu, 13 Jun 2024 10:00:41 +0200

This is an automated email from the git hooks/post-receive script.

christian-blaettler pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 0cb6b9d4 fix design document code highlight
0cb6b9d4 is described below

commit 0cb6b9d4878f4acc45e833ec8abbfaaf58b99d03
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Thu Jun 13 10:00:37 2024 +0200

    fix design document code highlight
---
 design-documents/046-mumimo-contracts.rst | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/design-documents/046-mumimo-contracts.rst 
b/design-documents/046-mumimo-contracts.rst
index 1c60a891..8caa9399 100644
--- a/design-documents/046-mumimo-contracts.rst
+++ b/design-documents/046-mumimo-contracts.rst
@@ -90,7 +90,7 @@ New Contract Terms Format
 
 The contract terms v1 will have the following structure:
 
-.. ts:def::
+.. ts:def:: ContractTermsV1
 
   interface ContractTermsV1 {
     // This is version 1, the previous contract terms SHOULD
@@ -212,6 +212,8 @@ The contract terms v1 will have the following structure:
     exchanges: Exchange[];
   }
 
+.. ts:def:: ContractChoice
+
   interface ContractChoice {
     // Price to be paid for this choice. Could be 0.
     // The price is in addition to other instruments,
@@ -232,6 +234,8 @@ The contract terms v1 will have the following structure:
     max_fee: Amount;
   }
 
+.. ts:def:: ContractInput
+
   type ContractInput =
     | ContractInputRation
     | ContractInputToken;
@@ -319,10 +323,14 @@ The contract terms v1 will have the following structure:
     number?: Integer;
   }
 
+.. ts:def:: ContractTokenDetails
+
   type ContractTokenDetails =
     | ContractSubscriptionTokenDetails
     | ContractDiscountTokenDetails
 
+.. ts:def:: ContractSubscriptionTokenDetails
+
   interface ContractSubscriptionTokenDetails {
     class: "subscription";
 
@@ -334,6 +342,7 @@ The contract terms v1 will have the following structure:
     trusted_domains: string[];
   };
 
+.. ts:def:: ContractDiscountTokenDetails
 
   interface ContractDiscountTokenDetails {
     class: "discount";
@@ -349,7 +358,6 @@ The contract terms v1 will have the following structure:
     expected_domains: string[];
   };
 
-
 .. ts:def:: ContractTokenFamily
 
   interface ContractTokenFamily {
@@ -387,11 +395,13 @@ The contract terms v1 will have the following structure:
     ass_sig?: EddsaSignature;
   };
 
+.. ts:def:: TokenIssuePublicKey
 
   type TokenIssuePublicKey =
     | TokenIssueRsaPublicKey
     | TokenIssueCsPublicKey;
 
+.. ts:def:: TokenIssueRsaPublicKey
 
   interface TokenIssueRsaPublicKey {
     cipher: "RSA";
@@ -406,6 +416,7 @@ The contract terms v1 will have the following structure:
     valid_before: Timestamp;
   }
 
+.. ts:def:: TokenIssueCsPublicKey
 
   interface TokenIssueCsPublicKey {
     cipher: "CS";

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]