aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-15 20:16:42 +0200
committerFlorian Dold <florian@dold.me>2022-09-16 16:31:16 +0200
commitb7f7b956028566c689d802258937deb081d5dc60 (patch)
tree26b955114d22ed11d2591d710505bf24b3ee76cc /packages/taler-util
parent5d0837913901a2947c66209d64855b324824757d (diff)
wallet-core: towards faster coin selection
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/walletTypes.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 7fcb752b1..c3e5c6ed0 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -694,6 +694,7 @@ const codecForDenominationInfo = (): Codec<DenominationInfo> =>
.property("stampExpireWithdraw", codecForTimestamp)
.property("stampExpireLegal", codecForTimestamp)
.property("stampExpireDeposit", codecForTimestamp)
+ .property("exchangeBaseUrl", codecForString())
.build("codecForDenominationInfo");
export interface DenominationInfo {
@@ -747,6 +748,8 @@ export interface DenominationInfo {
* Data after which coins of this denomination can't be deposited anymore.
*/
stampExpireDeposit: TalerProtocolTimestamp;
+
+ exchangeBaseUrl: string;
}
export type Operation = "deposit" | "withdraw" | "refresh" | "refund";