From d580bb8927852a76820ab8c0002ac57a47f06cd0 Mon Sep 17 00:00:00 2001 From: jakobsn Date: Mon, 11 May 2026 08:46:49 +0000 Subject: [PATCH] Revert "Merge branch 'randomTradeSummary' into 'master'" This reverts merge request !27 --- packages/core/src/protocols/hdwalletv1.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/packages/core/src/protocols/hdwalletv1.ts b/packages/core/src/protocols/hdwalletv1.ts index dadf335..b12b173 100644 --- a/packages/core/src/protocols/hdwalletv1.ts +++ b/packages/core/src/protocols/hdwalletv1.ts @@ -134,27 +134,11 @@ export interface ErrorMessage extends ProtocolMessage { error: string; } -export interface TxSummaryTokenChange { - categoryId: string; // hex token category ID - fungibleAmount: string; // signed bigint as string (negative = spending, positive = receiving) - nftCount?: number; - symbol?: string; - decimals?: number; -} - -export interface TxSummary { - netBchSats: string; // signed bigint as string (negative = spending, positive = receiving) - tokenChanges: TxSummaryTokenChange[]; -} - export interface SignTransactionRequest extends ProtocolMessage { action: RelayMsgAction.SignTransactionRequest; transaction: WcSignTransactionRequest; sequence: number; inputPaths: [number, PathName, number][]; // [inputIndex, pathName, addressIndex] - /// Dapp-provided transaction summary. Wallets should use this for display - /// when present rather than parsing the raw transaction themselves. - txSummary?: TxSummary; } export interface SignTransactionResponse extends ProtocolMessage {