From aab3f917c42c9c38b0d13b69380075e5a0505720 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 1 Nov 2022 17:52:51 +0100 Subject: -harness fixes for kyc --- packages/taler-util/src/backup-types.ts | 1 - packages/taler-util/src/taler-types.ts | 17 ----------------- packages/taler-util/src/wallet-types.ts | 1 - 3 files changed, 19 deletions(-) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/backup-types.ts b/packages/taler-util/src/backup-types.ts index 6c9c7b424..71f5bd04e 100644 --- a/packages/taler-util/src/backup-types.ts +++ b/packages/taler-util/src/backup-types.ts @@ -1104,7 +1104,6 @@ export interface BackupExchangeGlobalFees { purseFee: BackupAmountString; historyTimeout: TalerProtocolDuration; - kycTimeout: TalerProtocolDuration; purseTimeout: TalerProtocolDuration; purseLimit: number; diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index 134f59836..d4f96f5cd 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -772,11 +772,6 @@ export interface GlobalFees { // What date (exclusive) does this fees stop going into effect? end_date: TalerProtocolTimestamp; - // KYC fee, charged when a user wants to create an account. - // The first year of the account_annual_fee after the KYC is - // always included. - kyc_fee: AmountString; - // Account history fee, charged when a user wants to // obtain a reserve/account history. history_fee: AmountString; @@ -798,13 +793,6 @@ export interface GlobalFees { // retain the account history for legal reasons until this time. history_expiration: TalerProtocolDuration; - // How long does the exchange promise to keep funds - // an account for which the KYC has never happened - // after a purse was merged into an account? Basically, - // after this time funds in an account without KYC are - // forfeit. - account_kyc_timeout: TalerProtocolDuration; - // Non-negative number of concurrent purses that any // account holder is allowed to create without having // to pay the purse_fee. @@ -828,8 +816,6 @@ export class WireFeesJson { */ wire_fee: string; - wad_fee: string; - /** * Cost of clising a reserve. */ @@ -1395,12 +1381,10 @@ export const codecForGlobalFees = (): Codec => buildCodecForObject() .property("start_date", codecForTimestamp) .property("end_date", codecForTimestamp) - .property("kyc_fee", codecForAmountString()) .property("history_fee", codecForAmountString()) .property("account_fee", codecForAmountString()) .property("purse_fee", codecForAmountString()) .property("history_expiration", codecForDuration) - .property("account_kyc_timeout", codecForDuration) .property("purse_account_limit", codecForNumber()) .property("purse_timeout", codecForDuration) .property("master_sig", codecForString()) @@ -1423,7 +1407,6 @@ export const codecForWireFeesJson = (): Codec => buildCodecForObject() .property("wire_fee", codecForString()) .property("closing_fee", codecForString()) - .property("wad_fee", codecForString()) .property("sig", codecForString()) .property("start_date", codecForTimestamp) .property("end_date", codecForTimestamp) diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index fc173f1e9..9d95f1ee2 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -766,7 +766,6 @@ export interface ExchangeGlobalFees { purseFee: AmountJson; historyTimeout: TalerProtocolDuration; - kycTimeout: TalerProtocolDuration; purseTimeout: TalerProtocolDuration; purseLimit: number; -- cgit v1.2.3