From 5ec68febc9ac8f9ed753bf11186553321705fc85 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 18 May 2021 18:33:08 +0200 Subject: more amounts needed --- core/api-exchange.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core') diff --git a/core/api-exchange.rst b/core/api-exchange.rst index b8f61a8a..d0168376 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; -- cgit v1.2.3