From a8e48b88b322913e1dd7c038838187e7e99a3004 Mon Sep 17 00:00:00 2001 From: Usame Algan Date: Mon, 14 Aug 2023 10:46:05 +0200 Subject: [PATCH] Add readableDescription to TransactionInfo type --- src/types/transactions.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/types/transactions.ts b/src/types/transactions.ts index 3f246559..3eb40f7d 100644 --- a/src/types/transactions.ts +++ b/src/types/transactions.ts @@ -124,6 +124,7 @@ export type Transfer = { recipient: AddressEx direction: TransferDirection transferInfo: TransferInfo + readableDescription?: string } export type SetFallbackHandler = { @@ -194,6 +195,7 @@ export type SettingsChange = { type: TransactionInfoType.SETTINGS_CHANGE dataDecoded: DataDecoded settingsInfo?: SettingsInfo + readableDescription?: string } export type Custom = { @@ -204,6 +206,7 @@ export type Custom = { methodName?: string actionCount?: number isCancellation: boolean + readableDescription?: string } export type MultiSend = { @@ -214,6 +217,7 @@ export type MultiSend = { methodName: 'multiSend' actionCount: number isCancellation: boolean + readableDescription?: string } export type Cancellation = Custom & { @@ -226,6 +230,7 @@ export type Creation = { transactionHash: string implementation?: AddressEx factory?: AddressEx + readableDescription?: string } export type TransactionInfo = Transfer | SettingsChange | Custom | MultiSend | Cancellation | Creation