commit ba11950f168e73aab72e4ff61683688bfdd7eb7e
parent f4cc36c3b3ef69900f2c5a3da760364be7010795
Author: Florian Dold <florian@dold.me>
Date: Mon, 22 Jan 2024 21:35:24 +0100
DD35: management API
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/design-documents/035-regional-currencies.rst b/design-documents/035-regional-currencies.rst
@@ -144,6 +144,16 @@ The last part should probably be hidden by default. There might be nicer ways t
this, such as some hoverable (?) icon after the amount that shows details about what currencies the merchant
accepts.
+Wallet-core API for scope management
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+* ``listGlobalCurrencyExchanges`` lists all ``(currency, exchangeUrl, exchangePub)`` triples
+ where funds are considered to be in global scope (i.e. non-regional).
+* ``listGlobalCurrencyAuditors`` lists all ``(currency, auditorUrl, auditorPub)`` triples
+ where funds are considered to be in global scope (i.e. non-regional).
+* ``addGlobalCurrencyExchange`` and ``removeGlobalCurrencyExchange`` adds/removes a ``(currency, exchangeUrl, exchangePub)``
+* ``addGlobalCurrencyAuditor`` and ``removeGlobalCurrencyAuditor`` adds/removes a ``(currency, auditorUrl, auditorPub)``
+
Implementation Breakdown
^^^^^^^^^^^^^^^^^^^^^^^^