Skip to content

Commit a78a315

Browse files
committed
Add readableDescription to TransactionInfo type
1 parent 1217b60 commit a78a315

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/types/transactions.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ export type Transfer = {
124124
recipient: AddressEx
125125
direction: TransferDirection
126126
transferInfo: TransferInfo
127+
humanDescription?: string
127128
}
128129

129130
export type SetFallbackHandler = {
@@ -194,6 +195,7 @@ export type SettingsChange = {
194195
type: TransactionInfoType.SETTINGS_CHANGE
195196
dataDecoded: DataDecoded
196197
settingsInfo?: SettingsInfo
198+
humanDescription?: string
197199
}
198200

199201
export type Custom = {
@@ -204,6 +206,7 @@ export type Custom = {
204206
methodName?: string
205207
actionCount?: number
206208
isCancellation: boolean
209+
humanDescription?: string
207210
}
208211

209212
export type MultiSend = {
@@ -214,6 +217,7 @@ export type MultiSend = {
214217
methodName: 'multiSend'
215218
actionCount: number
216219
isCancellation: boolean
220+
humanDescription?: string
217221
}
218222

219223
export type Cancellation = Custom & {
@@ -226,6 +230,7 @@ export type Creation = {
226230
transactionHash: string
227231
implementation?: AddressEx
228232
factory?: AddressEx
233+
humanDescription?: string
229234
}
230235

231236
export type TransactionInfo = Transfer | SettingsChange | Custom | MultiSend | Cancellation | Creation

0 commit comments

Comments
 (0)