@sentio/sdk 2.11.0 → 2.11.1-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/lib/eth/builtin/internal/common.d.ts +10 -2
  2. package/lib/eth/builtin/internal/common.js.map +1 -1
  3. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +24 -24
  4. package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
  5. package/lib/eth/builtin/internal/erc1155-processor.d.ts +9 -9
  6. package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
  7. package/lib/eth/builtin/internal/erc20-processor.d.ts +19 -19
  8. package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
  9. package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +10 -10
  10. package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
  11. package/lib/eth/builtin/internal/erc721-processor.d.ts +15 -15
  12. package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
  13. package/lib/eth/builtin/internal/weth9-processor.d.ts +12 -12
  14. package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
  15. package/lib/eth/codegen/ethers-sentio.js +35 -0
  16. package/lib/eth/codegen/ethers-sentio.js.map +1 -1
  17. package/lib/eth/codegen/functions-handler.js +2 -2
  18. package/lib/eth/codegen/functions-handler.js.map +1 -1
  19. package/lib/eth/trace.d.ts +16 -1
  20. package/lib/eth/trace.js +1 -0
  21. package/lib/eth/trace.js.map +1 -1
  22. package/package.json +5 -5
  23. package/src/eth/builtin/internal/common.ts +10 -1
  24. package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +46 -66
  25. package/src/eth/builtin/internal/erc1155-processor.ts +16 -24
  26. package/src/eth/builtin/internal/erc20-processor.ts +36 -49
  27. package/src/eth/builtin/internal/erc20bytes-processor.ts +18 -25
  28. package/src/eth/builtin/internal/erc721-processor.ts +28 -41
  29. package/src/eth/builtin/internal/weth9-processor.ts +22 -30
  30. package/src/eth/codegen/ethers-sentio.ts +36 -0
  31. package/src/eth/codegen/functions-handler.ts +2 -2
  32. package/src/eth/trace.ts +17 -1
@@ -10,7 +10,6 @@ import {
10
10
  getProcessor,
11
11
  getProvider,
12
12
  transformEtherError,
13
- Trace,
14
13
  BindOptions,
15
14
  BaseProcessor,
16
15
  BaseProcessorTemplate,
@@ -42,8 +41,7 @@ export interface AllowanceCallObject {
42
41
  export type AllowanceCallTrace = TypedCallTrace<
43
42
  [string, string],
44
43
  AllowanceCallObject
45
- > &
46
- Trace;
44
+ >;
47
45
 
48
46
  export interface ApproveCallObject {
49
47
  spender: string;
@@ -53,21 +51,19 @@ export interface ApproveCallObject {
53
51
  export type ApproveCallTrace = TypedCallTrace<
54
52
  [string, bigint],
55
53
  ApproveCallObject
56
- > &
57
- Trace;
54
+ >;
58
55
 
59
56
  export interface BalanceOfCallObject {
60
57
  account: string;
61
58
  }
62
59
 
63
- export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject> &
64
- Trace;
60
+ export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject>;
65
61
 
66
62
  export interface BurnCallObject {
67
63
  amount: bigint;
68
64
  }
69
65
 
70
- export type BurnCallTrace = TypedCallTrace<[bigint], BurnCallObject> & Trace;
66
+ export type BurnCallTrace = TypedCallTrace<[bigint], BurnCallObject>;
71
67
 
72
68
  export interface BurnFromCallObject {
73
69
  account: string;
@@ -77,12 +73,11 @@ export interface BurnFromCallObject {
77
73
  export type BurnFromCallTrace = TypedCallTrace<
78
74
  [string, bigint],
79
75
  BurnFromCallObject
80
- > &
81
- Trace;
76
+ >;
82
77
 
83
78
  export interface DecimalsCallObject {}
84
79
 
85
- export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject> & Trace;
80
+ export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject>;
86
81
 
87
82
  export interface DecreaseAllowanceCallObject {
88
83
  spender: string;
@@ -92,8 +87,7 @@ export interface DecreaseAllowanceCallObject {
92
87
  export type DecreaseAllowanceCallTrace = TypedCallTrace<
93
88
  [string, bigint],
94
89
  DecreaseAllowanceCallObject
95
- > &
96
- Trace;
90
+ >;
97
91
 
98
92
  export interface IncreaseAllowanceCallObject {
99
93
  spender: string;
@@ -103,44 +97,40 @@ export interface IncreaseAllowanceCallObject {
103
97
  export type IncreaseAllowanceCallTrace = TypedCallTrace<
104
98
  [string, bigint],
105
99
  IncreaseAllowanceCallObject
106
- > &
107
- Trace;
100
+ >;
108
101
 
109
102
  export interface LockerCallObject {}
110
103
 
111
- export type LockerCallTrace = TypedCallTrace<[], LockerCallObject> & Trace;
104
+ export type LockerCallTrace = TypedCallTrace<[], LockerCallObject>;
112
105
 
113
106
  export interface NameCallObject {}
114
107
 
115
- export type NameCallTrace = TypedCallTrace<[], NameCallObject> & Trace;
108
+ export type NameCallTrace = TypedCallTrace<[], NameCallObject>;
116
109
 
117
110
  export interface OwnerCallObject {}
118
111
 
119
- export type OwnerCallTrace = TypedCallTrace<[], OwnerCallObject> & Trace;
112
+ export type OwnerCallTrace = TypedCallTrace<[], OwnerCallObject>;
120
113
 
121
114
  export interface RenounceOwnershipCallObject {}
122
115
 
123
116
  export type RenounceOwnershipCallTrace = TypedCallTrace<
124
117
  [],
125
118
  RenounceOwnershipCallObject
126
- > &
127
- Trace;
119
+ >;
128
120
 
129
121
  export interface SetLockerCallObject {
130
122
  _locker: string;
131
123
  }
132
124
 
133
- export type SetLockerCallTrace = TypedCallTrace<[string], SetLockerCallObject> &
134
- Trace;
125
+ export type SetLockerCallTrace = TypedCallTrace<[string], SetLockerCallObject>;
135
126
 
136
127
  export interface SymbolCallObject {}
137
128
 
138
- export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject> & Trace;
129
+ export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject>;
139
130
 
140
131
  export interface TotalSupplyCallObject {}
141
132
 
142
- export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject> &
143
- Trace;
133
+ export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject>;
144
134
 
145
135
  export interface TransferCallObject {
146
136
  recipient: string;
@@ -150,8 +140,7 @@ export interface TransferCallObject {
150
140
  export type TransferCallTrace = TypedCallTrace<
151
141
  [string, bigint],
152
142
  TransferCallObject
153
- > &
154
- Trace;
143
+ >;
155
144
 
156
145
  export interface TransferFromCallObject {
157
146
  sender: string;
@@ -162,8 +151,7 @@ export interface TransferFromCallObject {
162
151
  export type TransferFromCallTrace = TypedCallTrace<
163
152
  [string, string, bigint],
164
153
  TransferFromCallObject
165
- > &
166
- Trace;
154
+ >;
167
155
 
168
156
  export interface TransferOwnershipCallObject {
169
157
  newOwner: string;
@@ -172,8 +160,7 @@ export interface TransferOwnershipCallObject {
172
160
  export type TransferOwnershipCallTrace = TypedCallTrace<
173
161
  [string],
174
162
  TransferOwnershipCallObject
175
- > &
176
- Trace;
163
+ >;
177
164
 
178
165
  const templateContract = ERC20__factory.connect("0x0", DummyProvider);
179
166
 
@@ -394,126 +381,126 @@ export class ERC20Processor extends BaseProcessor<
394
381
  handler: (call: AllowanceCallTrace, ctx: ERC20Context) => void,
395
382
  fetchConfig?: Partial<EthFetchConfig>
396
383
  ): this {
397
- return super.onTrace("0xdd62ed3e", handler, fetchConfig);
384
+ return super.onTrace("0xdd62ed3e", handler as any, fetchConfig);
398
385
  }
399
386
 
400
387
  onCallApprove(
401
388
  handler: (call: ApproveCallTrace, ctx: ERC20Context) => void,
402
389
  fetchConfig?: Partial<EthFetchConfig>
403
390
  ): this {
404
- return super.onTrace("0x095ea7b3", handler, fetchConfig);
391
+ return super.onTrace("0x095ea7b3", handler as any, fetchConfig);
405
392
  }
406
393
 
407
394
  onCallBalanceOf(
408
395
  handler: (call: BalanceOfCallTrace, ctx: ERC20Context) => void,
409
396
  fetchConfig?: Partial<EthFetchConfig>
410
397
  ): this {
411
- return super.onTrace("0x70a08231", handler, fetchConfig);
398
+ return super.onTrace("0x70a08231", handler as any, fetchConfig);
412
399
  }
413
400
 
414
401
  onCallBurn(
415
402
  handler: (call: BurnCallTrace, ctx: ERC20Context) => void,
416
403
  fetchConfig?: Partial<EthFetchConfig>
417
404
  ): this {
418
- return super.onTrace("0x42966c68", handler, fetchConfig);
405
+ return super.onTrace("0x42966c68", handler as any, fetchConfig);
419
406
  }
420
407
 
421
408
  onCallBurnFrom(
422
409
  handler: (call: BurnFromCallTrace, ctx: ERC20Context) => void,
423
410
  fetchConfig?: Partial<EthFetchConfig>
424
411
  ): this {
425
- return super.onTrace("0x79cc6790", handler, fetchConfig);
412
+ return super.onTrace("0x79cc6790", handler as any, fetchConfig);
426
413
  }
427
414
 
428
415
  onCallDecimals(
429
416
  handler: (call: DecimalsCallTrace, ctx: ERC20Context) => void,
430
417
  fetchConfig?: Partial<EthFetchConfig>
431
418
  ): this {
432
- return super.onTrace("0x313ce567", handler, fetchConfig);
419
+ return super.onTrace("0x313ce567", handler as any, fetchConfig);
433
420
  }
434
421
 
435
422
  onCallDecreaseAllowance(
436
423
  handler: (call: DecreaseAllowanceCallTrace, ctx: ERC20Context) => void,
437
424
  fetchConfig?: Partial<EthFetchConfig>
438
425
  ): this {
439
- return super.onTrace("0xa457c2d7", handler, fetchConfig);
426
+ return super.onTrace("0xa457c2d7", handler as any, fetchConfig);
440
427
  }
441
428
 
442
429
  onCallIncreaseAllowance(
443
430
  handler: (call: IncreaseAllowanceCallTrace, ctx: ERC20Context) => void,
444
431
  fetchConfig?: Partial<EthFetchConfig>
445
432
  ): this {
446
- return super.onTrace("0x39509351", handler, fetchConfig);
433
+ return super.onTrace("0x39509351", handler as any, fetchConfig);
447
434
  }
448
435
 
449
436
  onCallLocker(
450
437
  handler: (call: LockerCallTrace, ctx: ERC20Context) => void,
451
438
  fetchConfig?: Partial<EthFetchConfig>
452
439
  ): this {
453
- return super.onTrace("0xd7b96d4e", handler, fetchConfig);
440
+ return super.onTrace("0xd7b96d4e", handler as any, fetchConfig);
454
441
  }
455
442
 
456
443
  onCallName(
457
444
  handler: (call: NameCallTrace, ctx: ERC20Context) => void,
458
445
  fetchConfig?: Partial<EthFetchConfig>
459
446
  ): this {
460
- return super.onTrace("0x06fdde03", handler, fetchConfig);
447
+ return super.onTrace("0x06fdde03", handler as any, fetchConfig);
461
448
  }
462
449
 
463
450
  onCallOwner(
464
451
  handler: (call: OwnerCallTrace, ctx: ERC20Context) => void,
465
452
  fetchConfig?: Partial<EthFetchConfig>
466
453
  ): this {
467
- return super.onTrace("0x8da5cb5b", handler, fetchConfig);
454
+ return super.onTrace("0x8da5cb5b", handler as any, fetchConfig);
468
455
  }
469
456
 
470
457
  onCallRenounceOwnership(
471
458
  handler: (call: RenounceOwnershipCallTrace, ctx: ERC20Context) => void,
472
459
  fetchConfig?: Partial<EthFetchConfig>
473
460
  ): this {
474
- return super.onTrace("0x715018a6", handler, fetchConfig);
461
+ return super.onTrace("0x715018a6", handler as any, fetchConfig);
475
462
  }
476
463
 
477
464
  onCallSetLocker(
478
465
  handler: (call: SetLockerCallTrace, ctx: ERC20Context) => void,
479
466
  fetchConfig?: Partial<EthFetchConfig>
480
467
  ): this {
481
- return super.onTrace("0x171060ec", handler, fetchConfig);
468
+ return super.onTrace("0x171060ec", handler as any, fetchConfig);
482
469
  }
483
470
 
484
471
  onCallSymbol(
485
472
  handler: (call: SymbolCallTrace, ctx: ERC20Context) => void,
486
473
  fetchConfig?: Partial<EthFetchConfig>
487
474
  ): this {
488
- return super.onTrace("0x95d89b41", handler, fetchConfig);
475
+ return super.onTrace("0x95d89b41", handler as any, fetchConfig);
489
476
  }
490
477
 
491
478
  onCallTotalSupply(
492
479
  handler: (call: TotalSupplyCallTrace, ctx: ERC20Context) => void,
493
480
  fetchConfig?: Partial<EthFetchConfig>
494
481
  ): this {
495
- return super.onTrace("0x18160ddd", handler, fetchConfig);
482
+ return super.onTrace("0x18160ddd", handler as any, fetchConfig);
496
483
  }
497
484
 
498
485
  onCallTransfer(
499
486
  handler: (call: TransferCallTrace, ctx: ERC20Context) => void,
500
487
  fetchConfig?: Partial<EthFetchConfig>
501
488
  ): this {
502
- return super.onTrace("0xa9059cbb", handler, fetchConfig);
489
+ return super.onTrace("0xa9059cbb", handler as any, fetchConfig);
503
490
  }
504
491
 
505
492
  onCallTransferFrom(
506
493
  handler: (call: TransferFromCallTrace, ctx: ERC20Context) => void,
507
494
  fetchConfig?: Partial<EthFetchConfig>
508
495
  ): this {
509
- return super.onTrace("0x23b872dd", handler, fetchConfig);
496
+ return super.onTrace("0x23b872dd", handler as any, fetchConfig);
510
497
  }
511
498
 
512
499
  onCallTransferOwnership(
513
500
  handler: (call: TransferOwnershipCallTrace, ctx: ERC20Context) => void,
514
501
  fetchConfig?: Partial<EthFetchConfig>
515
502
  ): this {
516
- return super.onTrace("0xf2fde38b", handler, fetchConfig);
503
+ return super.onTrace("0xf2fde38b", handler as any, fetchConfig);
517
504
  }
518
505
 
519
506
  public static filters = {
@@ -10,7 +10,6 @@ import {
10
10
  getProcessor,
11
11
  getProvider,
12
12
  transformEtherError,
13
- Trace,
14
13
  BindOptions,
15
14
  BaseProcessor,
16
15
  BaseProcessorTemplate,
@@ -34,7 +33,7 @@ import {
34
33
 
35
34
  export interface NameCallObject {}
36
35
 
37
- export type NameCallTrace = TypedCallTrace<[], NameCallObject> & Trace;
36
+ export type NameCallTrace = TypedCallTrace<[], NameCallObject>;
38
37
 
39
38
  export interface ApproveCallObject {
40
39
  spender: string;
@@ -44,13 +43,11 @@ export interface ApproveCallObject {
44
43
  export type ApproveCallTrace = TypedCallTrace<
45
44
  [string, bigint],
46
45
  ApproveCallObject
47
- > &
48
- Trace;
46
+ >;
49
47
 
50
48
  export interface TotalSupplyCallObject {}
51
49
 
52
- export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject> &
53
- Trace;
50
+ export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject>;
54
51
 
55
52
  export interface TransferFromCallObject {
56
53
  from: string;
@@ -61,23 +58,21 @@ export interface TransferFromCallObject {
61
58
  export type TransferFromCallTrace = TypedCallTrace<
62
59
  [string, string, bigint],
63
60
  TransferFromCallObject
64
- > &
65
- Trace;
61
+ >;
66
62
 
67
63
  export interface DecimalsCallObject {}
68
64
 
69
- export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject> & Trace;
65
+ export type DecimalsCallTrace = TypedCallTrace<[], DecimalsCallObject>;
70
66
 
71
67
  export interface BalanceOfCallObject {
72
68
  who: string;
73
69
  }
74
70
 
75
- export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject> &
76
- Trace;
71
+ export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject>;
77
72
 
78
73
  export interface SymbolCallObject {}
79
74
 
80
- export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject> & Trace;
75
+ export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject>;
81
76
 
82
77
  export interface TransferCallObject {
83
78
  to: string;
@@ -87,8 +82,7 @@ export interface TransferCallObject {
87
82
  export type TransferCallTrace = TypedCallTrace<
88
83
  [string, bigint],
89
84
  TransferCallObject
90
- > &
91
- Trace;
85
+ >;
92
86
 
93
87
  export interface AllowanceCallObject {
94
88
  owner: string;
@@ -98,8 +92,7 @@ export interface AllowanceCallObject {
98
92
  export type AllowanceCallTrace = TypedCallTrace<
99
93
  [string, string],
100
94
  AllowanceCallObject
101
- > &
102
- Trace;
95
+ >;
103
96
 
104
97
  const templateContract = ERC20Bytes__factory.connect("0x0", DummyProvider);
105
98
 
@@ -274,63 +267,63 @@ export class ERC20BytesProcessor extends BaseProcessor<
274
267
  handler: (call: NameCallTrace, ctx: ERC20BytesContext) => void,
275
268
  fetchConfig?: Partial<EthFetchConfig>
276
269
  ): this {
277
- return super.onTrace("0x06fdde03", handler, fetchConfig);
270
+ return super.onTrace("0x06fdde03", handler as any, fetchConfig);
278
271
  }
279
272
 
280
273
  onCallApprove(
281
274
  handler: (call: ApproveCallTrace, ctx: ERC20BytesContext) => void,
282
275
  fetchConfig?: Partial<EthFetchConfig>
283
276
  ): this {
284
- return super.onTrace("0x095ea7b3", handler, fetchConfig);
277
+ return super.onTrace("0x095ea7b3", handler as any, fetchConfig);
285
278
  }
286
279
 
287
280
  onCallTotalSupply(
288
281
  handler: (call: TotalSupplyCallTrace, ctx: ERC20BytesContext) => void,
289
282
  fetchConfig?: Partial<EthFetchConfig>
290
283
  ): this {
291
- return super.onTrace("0x18160ddd", handler, fetchConfig);
284
+ return super.onTrace("0x18160ddd", handler as any, fetchConfig);
292
285
  }
293
286
 
294
287
  onCallTransferFrom(
295
288
  handler: (call: TransferFromCallTrace, ctx: ERC20BytesContext) => void,
296
289
  fetchConfig?: Partial<EthFetchConfig>
297
290
  ): this {
298
- return super.onTrace("0x23b872dd", handler, fetchConfig);
291
+ return super.onTrace("0x23b872dd", handler as any, fetchConfig);
299
292
  }
300
293
 
301
294
  onCallDecimals(
302
295
  handler: (call: DecimalsCallTrace, ctx: ERC20BytesContext) => void,
303
296
  fetchConfig?: Partial<EthFetchConfig>
304
297
  ): this {
305
- return super.onTrace("0x313ce567", handler, fetchConfig);
298
+ return super.onTrace("0x313ce567", handler as any, fetchConfig);
306
299
  }
307
300
 
308
301
  onCallBalanceOf(
309
302
  handler: (call: BalanceOfCallTrace, ctx: ERC20BytesContext) => void,
310
303
  fetchConfig?: Partial<EthFetchConfig>
311
304
  ): this {
312
- return super.onTrace("0x70a08231", handler, fetchConfig);
305
+ return super.onTrace("0x70a08231", handler as any, fetchConfig);
313
306
  }
314
307
 
315
308
  onCallSymbol(
316
309
  handler: (call: SymbolCallTrace, ctx: ERC20BytesContext) => void,
317
310
  fetchConfig?: Partial<EthFetchConfig>
318
311
  ): this {
319
- return super.onTrace("0x95d89b41", handler, fetchConfig);
312
+ return super.onTrace("0x95d89b41", handler as any, fetchConfig);
320
313
  }
321
314
 
322
315
  onCallTransfer(
323
316
  handler: (call: TransferCallTrace, ctx: ERC20BytesContext) => void,
324
317
  fetchConfig?: Partial<EthFetchConfig>
325
318
  ): this {
326
- return super.onTrace("0xa9059cbb", handler, fetchConfig);
319
+ return super.onTrace("0xa9059cbb", handler as any, fetchConfig);
327
320
  }
328
321
 
329
322
  onCallAllowance(
330
323
  handler: (call: AllowanceCallTrace, ctx: ERC20BytesContext) => void,
331
324
  fetchConfig?: Partial<EthFetchConfig>
332
325
  ): this {
333
- return super.onTrace("0xdd62ed3e", handler, fetchConfig);
326
+ return super.onTrace("0xdd62ed3e", handler as any, fetchConfig);
334
327
  }
335
328
 
336
329
  public static filters = {
@@ -10,7 +10,6 @@ import {
10
10
  getProcessor,
11
11
  getProvider,
12
12
  transformEtherError,
13
- Trace,
14
13
  BindOptions,
15
14
  BaseProcessor,
16
15
  BaseProcessorTemplate,
@@ -42,20 +41,17 @@ export interface ApproveCallObject {
42
41
  export type ApproveCallTrace = TypedCallTrace<
43
42
  [string, bigint],
44
43
  ApproveCallObject
45
- > &
46
- Trace;
44
+ >;
47
45
 
48
46
  export interface TotalSupplyCallObject {}
49
47
 
50
- export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject> &
51
- Trace;
48
+ export type TotalSupplyCallTrace = TypedCallTrace<[], TotalSupplyCallObject>;
52
49
 
53
50
  export interface BalanceOfCallObject {
54
51
  owner: string;
55
52
  }
56
53
 
57
- export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject> &
58
- Trace;
54
+ export type BalanceOfCallTrace = TypedCallTrace<[string], BalanceOfCallObject>;
59
55
 
60
56
  export interface GetApprovedCallObject {
61
57
  tokenId: bigint;
@@ -64,8 +60,7 @@ export interface GetApprovedCallObject {
64
60
  export type GetApprovedCallTrace = TypedCallTrace<
65
61
  [bigint],
66
62
  GetApprovedCallObject
67
- > &
68
- Trace;
63
+ >;
69
64
 
70
65
  export interface IsApprovedForAllCallObject {
71
66
  owner: string;
@@ -75,19 +70,17 @@ export interface IsApprovedForAllCallObject {
75
70
  export type IsApprovedForAllCallTrace = TypedCallTrace<
76
71
  [string, string],
77
72
  IsApprovedForAllCallObject
78
- > &
79
- Trace;
73
+ >;
80
74
 
81
75
  export interface NameCallObject {}
82
76
 
83
- export type NameCallTrace = TypedCallTrace<[], NameCallObject> & Trace;
77
+ export type NameCallTrace = TypedCallTrace<[], NameCallObject>;
84
78
 
85
79
  export interface OwnerOfCallObject {
86
80
  tokenId: bigint;
87
81
  }
88
82
 
89
- export type OwnerOfCallTrace = TypedCallTrace<[bigint], OwnerOfCallObject> &
90
- Trace;
83
+ export type OwnerOfCallTrace = TypedCallTrace<[bigint], OwnerOfCallObject>;
91
84
 
92
85
  export interface SafeTransferFrom_address_address_uint256CallObject {
93
86
  from: string;
@@ -98,8 +91,7 @@ export interface SafeTransferFrom_address_address_uint256CallObject {
98
91
  export type SafeTransferFrom_address_address_uint256CallTrace = TypedCallTrace<
99
92
  [string, string, bigint],
100
93
  SafeTransferFrom_address_address_uint256CallObject
101
- > &
102
- Trace;
94
+ >;
103
95
 
104
96
  export interface SafeTransferFrom_address_address_uint256_bytesCallObject {
105
97
  from: string;
@@ -112,8 +104,7 @@ export type SafeTransferFrom_address_address_uint256_bytesCallTrace =
112
104
  TypedCallTrace<
113
105
  [string, string, bigint, string],
114
106
  SafeTransferFrom_address_address_uint256_bytesCallObject
115
- > &
116
- Trace;
107
+ >;
117
108
 
118
109
  export interface SetApprovalForAllCallObject {
119
110
  operator: string;
@@ -123,8 +114,7 @@ export interface SetApprovalForAllCallObject {
123
114
  export type SetApprovalForAllCallTrace = TypedCallTrace<
124
115
  [string, boolean],
125
116
  SetApprovalForAllCallObject
126
- > &
127
- Trace;
117
+ >;
128
118
 
129
119
  export interface SupportsInterfaceCallObject {
130
120
  interfaceId: string;
@@ -133,19 +123,17 @@ export interface SupportsInterfaceCallObject {
133
123
  export type SupportsInterfaceCallTrace = TypedCallTrace<
134
124
  [string],
135
125
  SupportsInterfaceCallObject
136
- > &
137
- Trace;
126
+ >;
138
127
 
139
128
  export interface SymbolCallObject {}
140
129
 
141
- export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject> & Trace;
130
+ export type SymbolCallTrace = TypedCallTrace<[], SymbolCallObject>;
142
131
 
143
132
  export interface TokenURICallObject {
144
133
  tokenId: bigint;
145
134
  }
146
135
 
147
- export type TokenURICallTrace = TypedCallTrace<[bigint], TokenURICallObject> &
148
- Trace;
136
+ export type TokenURICallTrace = TypedCallTrace<[bigint], TokenURICallObject>;
149
137
 
150
138
  export interface TransferFromCallObject {
151
139
  from: string;
@@ -156,8 +144,7 @@ export interface TransferFromCallObject {
156
144
  export type TransferFromCallTrace = TypedCallTrace<
157
145
  [string, string, bigint],
158
146
  TransferFromCallObject
159
- > &
160
- Trace;
147
+ >;
161
148
 
162
149
  const templateContract = ERC721__factory.connect("0x0", DummyProvider);
163
150
 
@@ -423,49 +410,49 @@ export class ERC721Processor extends BaseProcessor<
423
410
  handler: (call: ApproveCallTrace, ctx: ERC721Context) => void,
424
411
  fetchConfig?: Partial<EthFetchConfig>
425
412
  ): this {
426
- return super.onTrace("0x095ea7b3", handler, fetchConfig);
413
+ return super.onTrace("0x095ea7b3", handler as any, fetchConfig);
427
414
  }
428
415
 
429
416
  onCallTotalSupply(
430
417
  handler: (call: TotalSupplyCallTrace, ctx: ERC721Context) => void,
431
418
  fetchConfig?: Partial<EthFetchConfig>
432
419
  ): this {
433
- return super.onTrace("0x18160ddd", handler, fetchConfig);
420
+ return super.onTrace("0x18160ddd", handler as any, fetchConfig);
434
421
  }
435
422
 
436
423
  onCallBalanceOf(
437
424
  handler: (call: BalanceOfCallTrace, ctx: ERC721Context) => void,
438
425
  fetchConfig?: Partial<EthFetchConfig>
439
426
  ): this {
440
- return super.onTrace("0x70a08231", handler, fetchConfig);
427
+ return super.onTrace("0x70a08231", handler as any, fetchConfig);
441
428
  }
442
429
 
443
430
  onCallGetApproved(
444
431
  handler: (call: GetApprovedCallTrace, ctx: ERC721Context) => void,
445
432
  fetchConfig?: Partial<EthFetchConfig>
446
433
  ): this {
447
- return super.onTrace("0x081812fc", handler, fetchConfig);
434
+ return super.onTrace("0x081812fc", handler as any, fetchConfig);
448
435
  }
449
436
 
450
437
  onCallIsApprovedForAll(
451
438
  handler: (call: IsApprovedForAllCallTrace, ctx: ERC721Context) => void,
452
439
  fetchConfig?: Partial<EthFetchConfig>
453
440
  ): this {
454
- return super.onTrace("0xe985e9c5", handler, fetchConfig);
441
+ return super.onTrace("0xe985e9c5", handler as any, fetchConfig);
455
442
  }
456
443
 
457
444
  onCallName(
458
445
  handler: (call: NameCallTrace, ctx: ERC721Context) => void,
459
446
  fetchConfig?: Partial<EthFetchConfig>
460
447
  ): this {
461
- return super.onTrace("0x06fdde03", handler, fetchConfig);
448
+ return super.onTrace("0x06fdde03", handler as any, fetchConfig);
462
449
  }
463
450
 
464
451
  onCallOwnerOf(
465
452
  handler: (call: OwnerOfCallTrace, ctx: ERC721Context) => void,
466
453
  fetchConfig?: Partial<EthFetchConfig>
467
454
  ): this {
468
- return super.onTrace("0x6352211e", handler, fetchConfig);
455
+ return super.onTrace("0x6352211e", handler as any, fetchConfig);
469
456
  }
470
457
 
471
458
  onCallSafeTransferFrom_address_address_uint256(
@@ -475,7 +462,7 @@ export class ERC721Processor extends BaseProcessor<
475
462
  ) => void,
476
463
  fetchConfig?: Partial<EthFetchConfig>
477
464
  ): this {
478
- return super.onTrace("0x42842e0e", handler, fetchConfig);
465
+ return super.onTrace("0x42842e0e", handler as any, fetchConfig);
479
466
  }
480
467
 
481
468
  onCallSafeTransferFrom_address_address_uint256_bytes(
@@ -485,42 +472,42 @@ export class ERC721Processor extends BaseProcessor<
485
472
  ) => void,
486
473
  fetchConfig?: Partial<EthFetchConfig>
487
474
  ): this {
488
- return super.onTrace("0xb88d4fde", handler, fetchConfig);
475
+ return super.onTrace("0xb88d4fde", handler as any, fetchConfig);
489
476
  }
490
477
 
491
478
  onCallSetApprovalForAll(
492
479
  handler: (call: SetApprovalForAllCallTrace, ctx: ERC721Context) => void,
493
480
  fetchConfig?: Partial<EthFetchConfig>
494
481
  ): this {
495
- return super.onTrace("0xa22cb465", handler, fetchConfig);
482
+ return super.onTrace("0xa22cb465", handler as any, fetchConfig);
496
483
  }
497
484
 
498
485
  onCallSupportsInterface(
499
486
  handler: (call: SupportsInterfaceCallTrace, ctx: ERC721Context) => void,
500
487
  fetchConfig?: Partial<EthFetchConfig>
501
488
  ): this {
502
- return super.onTrace("0x01ffc9a7", handler, fetchConfig);
489
+ return super.onTrace("0x01ffc9a7", handler as any, fetchConfig);
503
490
  }
504
491
 
505
492
  onCallSymbol(
506
493
  handler: (call: SymbolCallTrace, ctx: ERC721Context) => void,
507
494
  fetchConfig?: Partial<EthFetchConfig>
508
495
  ): this {
509
- return super.onTrace("0x95d89b41", handler, fetchConfig);
496
+ return super.onTrace("0x95d89b41", handler as any, fetchConfig);
510
497
  }
511
498
 
512
499
  onCallTokenURI(
513
500
  handler: (call: TokenURICallTrace, ctx: ERC721Context) => void,
514
501
  fetchConfig?: Partial<EthFetchConfig>
515
502
  ): this {
516
- return super.onTrace("0xc87b56dd", handler, fetchConfig);
503
+ return super.onTrace("0xc87b56dd", handler as any, fetchConfig);
517
504
  }
518
505
 
519
506
  onCallTransferFrom(
520
507
  handler: (call: TransferFromCallTrace, ctx: ERC721Context) => void,
521
508
  fetchConfig?: Partial<EthFetchConfig>
522
509
  ): this {
523
- return super.onTrace("0x23b872dd", handler, fetchConfig);
510
+ return super.onTrace("0x23b872dd", handler as any, fetchConfig);
524
511
  }
525
512
 
526
513
  public static filters = {