aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-12 17:47:14 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-12 17:47:14 +0200
commit0ef5140e334085f150a60da6f6233dc2ecfb4a89 (patch)
tree9232dafb57bd652225155f1a6f27ec087ae7faac /src/types.ts
parente8bec33231a620579ccd1acd30824fd6c3a13dc2 (diff)
downloadwallet-core-0ef5140e334085f150a60da6f6233dc2ecfb4a89.tar.xz
add exchanges to currency info
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index 6ac87639f..5b2fa285c 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -82,10 +82,20 @@ export interface AuditorRecord {
expirationStamp: number;
}
+export interface ExchangeForCurrencyRecord {
+ /**
+ * Priority for automatic selection when withdrawing.
+ */
+ priority: number;
+ pinnedPub: string;
+ baseUrl: string;
+}
+
export interface CurrencyRecord {
name: string;
fractionalDigits: number;
auditors: AuditorRecord[];
+ exchanges: ExchangeForCurrencyRecord[];
}