diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-04-26 14:11:35 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-04-26 14:11:35 +0200 |
commit | 3c563c78d47318ca65d3cc41c50b8d665635fcf7 (patch) | |
tree | 6f12b20f2fb2f2dbc21a1795fde2a1d069547784 /src/types.ts | |
parent | a787cf2f6ca939c8166070bd1addd43f66b0bce6 (diff) | |
download | wallet-core-3c563c78d47318ca65d3cc41c50b8d665635fcf7.tar.xz |
consider auditors when selecting exchange for payment
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 87b77b8ac..e0baa169b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -216,9 +216,22 @@ export class Denomination { } +export interface Auditor { + // official name + name: string; + + // Auditor's public key + auditor_pub: string; + + // Base URL of the auditor + url: string; +} + + export interface ExchangeRecord { baseUrl: string; masterPublicKey: string; + auditors: Auditor[]; /** * Timestamp for last update. |