diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-07-11 13:26:07 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-07-11 13:26:07 +0530 |
commit | afda237e5fd4b4d243423f0b4b686a22b5ab5d8a (patch) | |
tree | f8838c2078d40bc5d82dc4980766d13b421e4143 /src/types | |
parent | 6e688975c75c52fe69286531615952d56114fcc7 (diff) | |
download | wallet-core-afda237e5fd4b4d243423f0b4b686a22b5ab5d8a.tar.xz |
updated getWithdrawalDetailsForAmount
Diffstat (limited to 'src/types')
-rw-r--r-- | src/types/walletTypes.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts index 8bc4f97af..d61d04692 100644 --- a/src/types/walletTypes.ts +++ b/src/types/walletTypes.ts @@ -41,6 +41,7 @@ import { makeCodecOptional, Codec, } from "../util/codec"; +import { AmountString } from "./talerTypes"; /** * Response for the create reserve request to the wallet. @@ -489,3 +490,26 @@ export interface ExchangeListItem { currency: string; paytoUris: string[]; } + +export interface ManualWithdrawalDetails { + /** + * Did the user accept the current version of the exchange's + * terms of service? + */ + tosAccepted: boolean; + + /** + * Amount that the user will transfer to the exchange. + */ + rawAmount: AmountString; + + /** + * Amount that will be added to the user's wallet balance. + */ + effectiveAmount: AmountString; + + /** + * Ways to pay the exchange. + */ + paytoUris: string[]; +} |