aboutsummaryrefslogtreecommitdiff
path: root/src/types/talerTypes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/talerTypes.ts')
-rw-r--r--src/types/talerTypes.ts16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts
index e65c82383..2ecb82340 100644
--- a/src/types/talerTypes.ts
+++ b/src/types/talerTypes.ts
@@ -148,10 +148,10 @@ export class Auditor {
*/
export interface RecoupRequest {
/**
- * Denomination public key of the coin we want to get
+ * Hashed enomination public key of the coin we want to get
* paid back.
*/
- denom_pub: string;
+ denom_pub_hash: string;
/**
* Signature over the coin public key by the denomination.
@@ -744,6 +744,10 @@ export class TipPickupGetResponse {
stamp_created: Timestamp;
}
+export class WithdrawResponse {
+ ev_sig: string;
+}
+
export type AmountString = string;
export type Base32String = string;
export type EddsaSignatureString = string;
@@ -976,3 +980,11 @@ export const codecForRecoupConfirmation = () =>
.property("exchange_pub", codecForString)
.build("RecoupConfirmation"),
);
+
+
+export const codecForWithdrawResponse = () =>
+ typecheckedCodec<WithdrawResponse>(
+ makeCodecForObject<WithdrawResponse>()
+ .property("ev_sig", codecForString)
+ .build("WithdrawResponse"),
+ ); \ No newline at end of file