aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts13
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.