diff options
Diffstat (limited to 'packages/taler-wallet-core/src/types/dbTypes.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/dbTypes.ts | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/packages/taler-wallet-core/src/types/dbTypes.ts b/packages/taler-wallet-core/src/types/dbTypes.ts index 18a1102b4..3a42b8dbc 100644 --- a/packages/taler-wallet-core/src/types/dbTypes.ts +++ b/packages/taler-wallet-core/src/types/dbTypes.ts @@ -109,14 +109,6 @@ export interface WalletReserveHistoryCreditItem { export interface WalletReserveHistoryWithdrawItem { expectedAmount?: AmountJson; - /** - * Hash of the blinded coin. - * - * When this value is set, it indicates that a withdrawal is active - * in the wallet for the - */ - expectedCoinEvHash?: string; - type: WalletReserveHistoryItemType.Withdraw; /** @@ -921,11 +913,9 @@ export interface TipRecord { merchantBaseUrl: string; /** - * Planchets, the members included in TipPlanchetDetail will be sent to the - * merchant. + * Denomination selection made by the wallet for picking up + * this tip. */ - planchets?: TipPlanchet[]; - denomsSel: DenomSelectionState; /** @@ -934,6 +924,11 @@ export interface TipRecord { walletTipId: string; /** + * Secret seed used to derive planchets for this tip. + */ + secretSeed: string; + + /** * The merchant's identifier for this tip. */ merchantTipId: string; @@ -984,6 +979,8 @@ export interface RefreshGroupRecord { */ finishedPerCoin: boolean[]; + timestampCreated: Timestamp; + /** * Timestamp when the refresh session finished. */ @@ -1024,19 +1021,6 @@ export interface RefreshSessionRecord { } /** - * Tipping planchet stored in the database. - */ -export interface TipPlanchet { - blindingKey: string; - coinEv: string; - coinPriv: string; - coinPub: string; - coinValue: AmountJson; - denomPubHash: string; - denomPub: string; -} - -/** * Wire fee for one wire method as stored in the * wallet's database. */ @@ -1106,6 +1090,7 @@ export interface WalletRefundItemCommon { obtainedTime: Timestamp; refundAmount: AmountJson; + refundFee: AmountJson; /** @@ -1116,6 +1101,10 @@ export interface WalletRefundItemCommon { * coin are refreshed in the same refresh operation. */ totalRefreshCostBound: AmountJson; + + coinPub: string; + + rtransactionId: number; } /** @@ -1267,10 +1256,23 @@ export interface PurchaseRecord { proposalId: string; /** + * Private key for the nonce. + */ + noncePriv: string; + + /** + * Public key for the nonce. + */ + noncePub: string; + + /** * Contract terms we got from the merchant. */ contractTermsRaw: string; + /** + * Parsed contract terms. + */ contractData: WalletContractData; /** |