diff options
author | Florian Dold <florian@dold.me> | 2024-03-25 20:31:56 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-25 20:31:56 +0100 |
commit | bd70ccfddfb9f993a5951a31be5bdc982fe1a58f (patch) | |
tree | bc631a948ec7ce5e52619c850622e8f91df4d7e7 /packages/taler-util/src/wallet-types.ts | |
parent | 31b7ce31a3d34149d2397f999a86c14100bd72ac (diff) | |
download | wallet-core-bd70ccfddfb9f993a5951a31be5bdc982fe1a58f.tar.xz |
wallet-core: re-denomination of withdrawal groups
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 0b09b0dbf..723e5a282 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1548,16 +1548,23 @@ export interface WithdrawalDetailsForAmount { scopeInfo: ScopeInfo; } +export interface DenomSelItem { + denomPubHash: string; + count: number; + /** + * Number of denoms/planchets to skip, because + * a re-denomination effectively deleted them. + */ + skip?: number; +} + /** * Selected denominations withn some extra info. */ export interface DenomSelectionState { totalCoinValue: AmountString; totalWithdrawCost: AmountString; - selectedDenoms: { - denomPubHash: string; - count: number; - }[]; + selectedDenoms: DenomSelItem[]; } /** |