diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-03-01 19:39:17 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-03-01 19:39:17 +0100 |
commit | 9a197d619c02f7787311b191da3da693380304b6 (patch) | |
tree | 1e2132a4b9d8ba1e7c16705acf0a6269c54644a1 /lib/wallet/types.ts | |
parent | 65eabbf6daceb6a183014b2f09341fd73ca73c21 (diff) | |
download | wallet-core-9a197d619c02f7787311b191da3da693380304b6.tar.xz |
mint->exchange
Diffstat (limited to 'lib/wallet/types.ts')
-rw-r--r-- | lib/wallet/types.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/wallet/types.ts b/lib/wallet/types.ts index 9c7b21b7c..a0e22dbca 100644 --- a/lib/wallet/types.ts +++ b/lib/wallet/types.ts @@ -43,11 +43,11 @@ export class AmountJson { @Checkable.Class export class CreateReserveResponse { /** - * Mint URL where the bank should create the reserve. + * Exchange URL where the bank should create the reserve. * The URL is canonicalized in the response. */ @Checkable.String - mint: string; + exchange: string; @Checkable.String reservePub: string; @@ -95,14 +95,14 @@ export class Denomination { } -export interface IMintInfo { +export interface IExchangeInfo { baseUrl: string; masterPublicKey: string; denoms: Denomination[]; } export interface ReserveCreationInfo { - mintInfo: IMintInfo; + exchangeInfo: IExchangeInfo; selectedDenoms: Denomination[]; withdrawFee: AmountJson; overhead: AmountJson; @@ -117,13 +117,13 @@ export interface PreCoin { blindingKey: string; withdrawSig: string; coinEv: string; - mintBaseUrl: string; + exchangeBaseUrl: string; coinValue: AmountJson; } export interface Reserve { - mint_base_url: string + exchange_base_url: string reserve_priv: string; reserve_pub: string; } @@ -144,7 +144,7 @@ export interface Coin { denomPub: string; denomSig: string; currentAmount: AmountJson; - mintBaseUrl: string; + exchangeBaseUrl: string; } @@ -266,4 +266,4 @@ export interface CheckRepurchaseResult { export interface Notifier { notify(); -}
\ No newline at end of file +} |