From 3c563c78d47318ca65d3cc41c50b8d665635fcf7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 26 Apr 2017 14:11:35 +0200 Subject: consider auditors when selecting exchange for payment --- src/types.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/types.ts') 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. -- cgit v1.2.3