[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] 08/11: dd46: syntax fixes
From: |
gnunet |
Subject: |
[taler-docs] 08/11: dd46: syntax fixes |
Date: |
Fri, 15 Mar 2024 09:47:01 +0100 |
This is an automated email from the git hooks/post-receive script.
christian-blaettler pushed a commit to branch master
in repository docs.
commit a018517be52b08a20cfeed20f8416cd33f4974e5
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Tue Mar 5 22:13:17 2024 +0100
dd46: syntax fixes
---
design-documents/046-mumimo-contracts.rst | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/design-documents/046-mumimo-contracts.rst
b/design-documents/046-mumimo-contracts.rst
index b76d1539..9c693b01 100644
--- a/design-documents/046-mumimo-contracts.rst
+++ b/design-documents/046-mumimo-contracts.rst
@@ -210,7 +210,7 @@ The contract terms v1 will have the following structure:
// Maximum wire fee accepted by the merchant (customer share to be
// divided by the ``wire_fee_amortization`` factor, and further reduced
// if deposit fees are below ``max_fee``). Default if missing is zero.
- max_wire_fee: Amount;
+ max_wire_fee?: Amount;
// Over how many customer transactions does the merchant expect to
// amortize wire fees on average? If the exchange's wire fee is
@@ -220,7 +220,7 @@ The contract terms v1 will have the following structure:
// between the ``max_fee`` and the sum of the actual deposit fees.
// Optional, default value if missing is 1. 0 and negative values are
// invalid and also interpreted as 1.
- wire_fee_amortization: number;
+ wire_fee_amortization?: number;
// Exchanges that the merchant accepts for this currency.
exchanges: Exchange[];
@@ -269,15 +269,15 @@ The contract terms v1 will have the following structure:
// Map from authority labels to meta data abou the
// respective token authority.
- token_types: { [authority_label: TokenAuthority };
+ token_types: { [authority_label: string]: TokenAuthority };
}
.. ts:def:: ContractInput
type ContractInput =
- | ContractInputRation
- | ContractInputToken;
+ ContractInputRation |
+ ContractInputToken;
.. ts:def:: ContractInputRation
@@ -450,8 +450,8 @@ The contract terms v1 will have the following structure:
.. ts:def:: TokenSignerPublicKey
type TokenSignerPublicKey =
- | DenomGroupRsa
- | DenomGroupCs;
+ DenomGroupRsa |
+ DenomGroupCs;
TODO: may want to do a deep copy and rename
DenomGroup* to TokenSignerPublicKey* here.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-docs] branch master updated (e8f307fe -> a4f2424c), gnunet, 2024/03/15
- [taler-docs] 03/11: better naming for validity range, gnunet, 2024/03/15
- [taler-docs] 01/11: add tokenfamilies api to merchant, gnunet, 2024/03/15
- [taler-docs] 11/11: Merge branch 'feature/tokens', gnunet, 2024/03/15
- [taler-docs] 07/11: dd46: remove old TODO, gnunet, 2024/03/15
- [taler-docs] 02/11: implement feedback on merchant api specification, gnunet, 2024/03/15
- [taler-docs] 08/11: dd46: syntax fixes,
gnunet <=
- [taler-docs] 09/11: dd46: shared type TokenClass for input and output tokens, gnunet, 2024/03/15
- [taler-docs] 04/11: remove can_issue_tokens (for now), gnunet, 2024/03/15
- [taler-docs] 06/11: Merge branch 'master' into feature/tokens, gnunet, 2024/03/15
- [taler-docs] 05/11: add kind to token family, gnunet, 2024/03/15
- [taler-docs] 10/11: Merge branch 'master' into feature/tokens, gnunet, 2024/03/15