@@ -10,9 +10,9 @@ export enum Operation {
10
10
export type InternalTransaction = {
11
11
operation : Operation
12
12
to : string
13
- value : string | null
14
- data : string | null
15
- dataDecoded : DataDecoded | null
13
+ value ? : string
14
+ data ? : string
15
+ dataDecoded ? : DataDecoded
16
16
}
17
17
18
18
export type ValueDecodedType = InternalTransaction [ ]
@@ -21,12 +21,12 @@ export type Parameter = {
21
21
name : string
22
22
type : string
23
23
value : ParamValue
24
- valueDecoded : ValueDecodedType | null
24
+ valueDecoded ? : ValueDecodedType
25
25
}
26
26
27
27
export type DataDecoded = {
28
28
method : string
29
- parameters : Parameter [ ] | null
29
+ parameters ? : Parameter [ ]
30
30
}
31
31
32
32
export enum TransactionStatus {
@@ -67,20 +67,20 @@ export enum SettingsInfoType {
67
67
export type Erc20Transfer = {
68
68
type : TransactionTokenType . ERC20
69
69
tokenAddress : string
70
- tokenName : string | null
71
- tokenSymbol : string | null
72
- logoUri : string | null
73
- decimals : number | null
70
+ tokenName ? : string
71
+ tokenSymbol ? : string
72
+ logoUri ? : string
73
+ decimals ? : number
74
74
value : string
75
75
}
76
76
77
77
export type Erc721Transfer = {
78
78
type : TransactionTokenType . ERC721
79
79
tokenAddress : string
80
80
tokenId : string
81
- tokenName : string | null
82
- tokenSymbol : string | null
83
- logoUri : string | null
81
+ tokenName ? : string
82
+ tokenSymbol ? : string
83
+ logoUri ? : string
84
84
}
85
85
86
86
export type NativeCoinTransfer = {
@@ -165,16 +165,16 @@ export type SettingsInfo =
165
165
export type SettingsChange = {
166
166
type : 'SettingsChange'
167
167
dataDecoded : DataDecoded
168
- settingsInfo : SettingsInfo | null
168
+ settingsInfo ? : SettingsInfo
169
169
}
170
170
171
171
export interface Custom {
172
172
type : 'Custom'
173
173
to : AddressEx
174
174
dataSize : string
175
175
value : string
176
- methodName : string | null
177
- actionCount : number | null
176
+ methodName ? : string
177
+ actionCount ? : number
178
178
isCancellation : boolean
179
179
}
180
180
@@ -196,8 +196,8 @@ export type Creation = {
196
196
type : 'Creation'
197
197
creator : AddressEx
198
198
transactionHash : string
199
- implementation : AddressEx | null
200
- factory : AddressEx | null
199
+ implementation ? : AddressEx
200
+ factory ? : AddressEx
201
201
}
202
202
203
203
export type TransactionInfo = Transfer | SettingsChange | Custom | MultiSend | Cancellation | Creation
@@ -212,7 +212,7 @@ export type MultisigExecutionInfo = {
212
212
nonce : number
213
213
confirmationsRequired : number
214
214
confirmationsSubmitted : number
215
- missingSigners : AddressEx [ ] | null
215
+ missingSigners ? : AddressEx [ ]
216
216
}
217
217
218
218
export type ExecutionInfo = ModuleExecutionInfo | MultisigExecutionInfo
@@ -290,18 +290,18 @@ export type TransactionListPage = Page<TransactionListItem>
290
290
export type MultisigTransactionRequest = {
291
291
to : string
292
292
value : string
293
- data : string | null
293
+ data ? : string
294
294
nonce : string
295
295
operation : Operation
296
296
safeTxGas : string
297
297
baseGas : string
298
298
gasPrice : string
299
299
gasToken : string
300
- refundReceiver : string | null
300
+ refundReceiver ? : string
301
301
safeTxHash : string
302
302
sender : string
303
- signature ?: string | null
304
- origin : string | null
303
+ signature ?: string
304
+ origin ? : string
305
305
}
306
306
307
307
/* Transaction details types */
@@ -312,12 +312,12 @@ export type SafeAppInfo = {
312
312
}
313
313
314
314
export type TransactionData = {
315
- hexData : string | null
316
- dataDecoded : DataDecoded | null
315
+ hexData ? : string
316
+ dataDecoded ? : DataDecoded
317
317
to : AddressEx
318
- value : string | null
318
+ value ? : string
319
319
operation : Operation
320
- addressInfoIndex : { [ key : string ] : AddressEx } | null
320
+ addressInfoIndex ? : { [ key : string ] : AddressEx }
321
321
trustedDelegateCallTarget : boolean
322
322
}
323
323
@@ -328,7 +328,7 @@ export type ModuleExecutionDetails = {
328
328
329
329
export type MultisigConfirmation = {
330
330
signer : AddressEx
331
- signature : string | null
331
+ signature ? : string
332
332
submittedAt : number
333
333
}
334
334
@@ -342,25 +342,25 @@ export type MultisigExecutionDetails = {
342
342
gasToken : string
343
343
refundReceiver : AddressEx
344
344
safeTxHash : string
345
- executor : AddressEx | null
345
+ executor ? : AddressEx
346
346
signers : AddressEx [ ]
347
347
confirmationsRequired : number
348
348
confirmations : MultisigConfirmation [ ]
349
- rejectors : AddressEx [ ] | null
350
- gasTokenInfo : TokenInfo | null
349
+ rejectors ? : AddressEx [ ]
350
+ gasTokenInfo ? : TokenInfo
351
351
}
352
352
353
353
export type DetailedExecutionInfo = ModuleExecutionDetails | MultisigExecutionDetails
354
354
355
355
export type TransactionDetails = {
356
356
txId : string
357
- executedAt : number | null
357
+ executedAt ? : number
358
358
txStatus : TransactionStatus
359
359
txInfo : TransactionInfo
360
- txData : TransactionData | null
361
- detailedExecutionInfo : DetailedExecutionInfo | null
362
- txHash : string | null
363
- safeAppInfo : SafeAppInfo | null
360
+ txData ? : TransactionData
361
+ detailedExecutionInfo ? : DetailedExecutionInfo
362
+ txHash ? : string
363
+ safeAppInfo ? : SafeAppInfo
364
364
}
365
365
366
366
/* Transaction details types end */
0 commit comments