aboutsummaryrefslogtreecommitdiff
path: root/src/dbTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-28 02:49:27 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-28 02:49:27 +0200
commit1390175a9afc53948dd1d6f8a2f88e51c1bf53cc (patch)
tree1e65581f11354ec61532dbbf3174e9bd26b515c4 /src/dbTypes.ts
parent70c0a557f9c89a2a0006f74bd8b361b62660bde2 (diff)
downloadwallet-core-1390175a9afc53948dd1d6f8a2f88e51c1bf53cc.tar.xz
rudimentary taler://withdraw support
Diffstat (limited to 'src/dbTypes.ts')
-rw-r--r--src/dbTypes.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/dbTypes.ts b/src/dbTypes.ts
index 55b2ddbe3..d9fd2e9d9 100644
--- a/src/dbTypes.ts
+++ b/src/dbTypes.ts
@@ -81,6 +81,16 @@ export interface ReserveRecord {
*/
timestamp_depleted: number;
+
+ /**
+ * Time when the information about this reserve was posted to the bank.
+ *
+ * Only applies if bankWithdrawStatusUrl is defined.
+ *
+ * Set to 0 if that hasn't happened yet.
+ */
+ timestamp_reserve_info_posted: number;
+
/**
* Time when the reserve was confirmed.
*
@@ -117,6 +127,14 @@ export interface ReserveRecord {
* transfered funds for this reserve.
*/
senderWire?: string;
+
+ /**
+ * Wire information (as payto URI) for the exchange, specifically
+ * the account that was transferred to when creating the reserve.
+ */
+ exchangeWire: string;
+
+ bankWithdrawStatusUrl?: string;
}