aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-01 17:52:51 +0100
committerFlorian Dold <florian@dold.me>2022-11-01 17:52:51 +0100
commitaab3f917c42c9c38b0d13b69380075e5a0505720 (patch)
treeca150783ed6d0dccdb0bbfcb9a20c0285269f237 /packages/taler-util/src
parent504d9f09b433cec44b7992b8d8d7255760d86aa4 (diff)
downloadwallet-core-aab3f917c42c9c38b0d13b69380075e5a0505720.tar.xz
-harness fixes for kyc
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r--packages/taler-util/src/backup-types.ts1
-rw-r--r--packages/taler-util/src/taler-types.ts17
-rw-r--r--packages/taler-util/src/wallet-types.ts1
3 files changed, 0 insertions, 19 deletions
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<GlobalFees> =>
buildCodecForObject<GlobalFees>()
.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<WireFeesJson> =>
buildCodecForObject<WireFeesJson>()
.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;