diff options
author | Florian Dold <florian@dold.me> | 2023-01-10 17:31:01 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-10 17:31:36 +0100 |
commit | a82d8fab696d3fca24c2f1c48a1646107e38cef8 (patch) | |
tree | cb493f6072ec4a761df214db920d709629a1eee1 /packages/taler-wallet-core/src/db.ts | |
parent | 688518ec7311ea0dc68e1cce6d363a00609ef9f8 (diff) | |
download | wallet-core-a82d8fab696d3fca24c2f1c48a1646107e38cef8.tar.xz |
wallet-core: KYC mvp
Only hard withdrawal KYC is supporte so far, and no long-polling is done
yet.
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index 04fee9495..c56c3a9b5 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1327,6 +1327,11 @@ export type WgInfo = | WgInfoBankPeerPush | WgInfoBankRecoup; + +export interface WithdrawalKycPendingInfo { + paytoHash: string; + requirementRow: number; +} /** * Group of withdrawal operations that need to be executed. * (Either for a normal withdrawal or from a tip.) @@ -1342,6 +1347,8 @@ export interface WithdrawalGroupRecord { wgInfo: WgInfo; + kycPending?: WithdrawalKycPendingInfo; + /** * Secret seed used to derive planchets. * Stored since planchets are created lazily. |