aboutsummaryrefslogtreecommitdiff
path: root/src/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts
index e0baa169b..c6111bd09 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -474,6 +474,9 @@ export class Contract {
@Checkable.String
H_wire: string;
+ @Checkable.String
+ wire_method: string;
+
@Checkable.Optional(Checkable.String)
summary?: string;
@@ -535,6 +538,20 @@ export class Contract {
}
+export interface WireFee {
+ wireFee: AmountJson;
+ closingFee: AmountJson;
+ startStamp: number;
+ endStamp: number;
+ sig: string;
+}
+
+export interface ExchangeWireFeesRecord {
+ exchangeBaseUrl: string;
+ feesForType: { [type: string]: WireFee[] };
+}
+
+
export type PayCoinInfo = Array<{ updatedCoin: CoinRecord, sig: CoinPaySig }>;