[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] 02/02: DD46: remove limits struct
From: |
gnunet |
Subject: |
[taler-docs] 02/02: DD46: remove limits struct |
Date: |
Fri, 15 Mar 2024 10:10:54 +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 df78b4db6eb5820cd3f2eab592c329777bbc28fd
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Fri Mar 15 10:10:48 2024 +0100
DD46: remove limits struct
---
design-documents/046-mumimo-contracts.rst | 35 +------------------------------
1 file changed, 1 insertion(+), 34 deletions(-)
diff --git a/design-documents/046-mumimo-contracts.rst
b/design-documents/046-mumimo-contracts.rst
index 4daa7465..7d234110 100644
--- a/design-documents/046-mumimo-contracts.rst
+++ b/design-documents/046-mumimo-contracts.rst
@@ -214,47 +214,14 @@ The contract terms v1 will have the following structure:
// contract without storing it separately in their database.
extra?: any;
- // Fee limits and wire account details by currency.
- limits: { [currency: string]: CurrencyLimit };
- }
-
-.. ts:def:: CurrencyLimit
-
- interface CurrencyLimit {
-
- // The hash of the merchant instance's wire details.
- h_wire: HashCode;
-
- // Wire transfer method identifier for the wire method associated with
``h_wire``.
- // The wallet may only select exchanges via a matching auditor if the
- // exchange also supports this wire method.
- // The wire transfer fees must be added based on this wire transfer method.
- wire_method: string;
-
// Maximum total deposit fee accepted by the merchant for this contract.
max_fee: Amount;
- // 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;
-
- // Over how many customer transactions does the merchant expect to
- // amortize wire fees on average? If the exchange's wire fee is
- // above ``max_wire_fee``, the difference is divided by this number
- // to compute the expected customer's contribution to the wire fee.
- // The customer's contribution may further be reduced by the difference
- // 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;
-
// Exchanges that the merchant accepts for this currency.
exchanges: Exchange[];
}
-
.. ts:def:: ContractChoice
interface ContractChoice {
@@ -267,7 +234,7 @@ The contract terms v1 will have the following structure:
// once the contract is paid.
outputs: ContractOutput[];
- // Map from authority labels to meta data abou the
+ // Map from authority labels to meta data about the
// respective token authority.
token_types: { [authority_label: string]: TokenAuthority };
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.