diff options
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r-- | src/walletTypes.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts index 32a5b0192..e136b4e01 100644 --- a/src/walletTypes.ts +++ b/src/walletTypes.ts @@ -70,7 +70,7 @@ export class CreateReserveResponse { * * Sent to the wallet frontend to be rendered and shown to the user. */ -export interface ReserveCreationInfo { +export interface ExchangeWithdrawDetails { /** * Exchange that the reserve will be created at. */ @@ -108,6 +108,11 @@ export interface ReserveCreationInfo { isAudited: boolean; /** + * Did the user already accept the current terms of service for the exchange? + */ + termsOfServiceAccepted: boolean; + + /** * The exchange is trusted directly. */ isTrusted: boolean; @@ -148,8 +153,8 @@ export interface ReserveCreationInfo { } export interface WithdrawDetails { - withdrawInfo: DownloadedWithdrawInfo; - reserveCreationInfo: ReserveCreationInfo | undefined; + bankWithdrawDetails: BankWithdrawDetails; + exchangeWithdrawDetails: ExchangeWithdrawDetails | undefined; } /** @@ -449,7 +454,7 @@ export interface PreparePayResultPaid { nextUrl: string; } -export interface DownloadedWithdrawInfo { +export interface BankWithdrawDetails { selectionDone: boolean; transferDone: boolean; amount: AmountJson; |