summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-18 18:33:08 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-18 18:33:08 +0200
commit5ec68febc9ac8f9ed753bf11186553321705fc85 (patch)
tree1c1a4ec39d183333eb373bc15d5d77b586a1b91a /core
parentd35d8df37b02c23561c5af1d8fc70f69f99a4fab (diff)
downloaddocs-5ec68febc9ac8f9ed753bf11186553321705fc85.tar.gz
docs-5ec68febc9ac8f9ed753bf11186553321705fc85.tar.bz2
docs-5ec68febc9ac8f9ed753bf11186553321705fc85.zip
more amounts needed
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index b8f61a8..d016837 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2596,6 +2596,10 @@ Wallet-to-wallet transfers
total_purse_amount: Amount;
// Total amount deposited into the purse so far.
+ // If 'total_deposit_amount' minus 'deposit_fees'
+ // exceeds 'purse_value_after_fees', and a
+ // 'merge_request' exists for the purse, then the
+ // purse will (have been) merged with the account.
total_deposit_amount: Amount;
// Indicative time by which the purse expires
@@ -2603,6 +2607,10 @@ Wallet-to-wallet transfers
// point, all of the deposits made will be auto-refunded.
purse_expiration: Timestamp;
+ // Desired total amount to be merged into the reserve.
+ // (excludes fees).
+ purse_value_after_fees: Amount;
+
// Indicative time at which the exchange is answering the
// status request. Used as part of 'exchange_sig'.
status_timestamp: Timestamp;
@@ -2610,6 +2618,9 @@ Wallet-to-wallet transfers
// Maximum deposit fees that can be charged under the contract.
max_deposit_fees: Amount;
+ // Deposit fees charged so far to all deposited coins.
+ deposit_fees: Amount;
+
// SHA-512 hash of the contact of the purse.
h_contract_terms: HashCode;