@sentio/protos 2.11.7 → 2.12.0-rc.2

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sentio/protos",
3
3
  "license": "Apache-2.0",
4
- "version": "2.11.7",
4
+ "version": "2.12.0-rc.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "compile": "tsc",
@@ -20,5 +20,5 @@
20
20
  "files": [
21
21
  "{lib,src}"
22
22
  ],
23
- "gitHead": "4d7e1b0ca602518e06d0061436ba3548fb3a74da"
23
+ "gitHead": "30cacb5e962916459cd2341ebbfb6728e4aaa028"
24
24
  }
@@ -128,6 +128,7 @@ export enum HandlerType {
128
128
  ETH_LOG = 1,
129
129
  ETH_BLOCK = 2,
130
130
  ETH_TRACE = 5,
131
+ ETH_TRANSACTION = 11,
131
132
  SOL_INSTRUCTION = 4,
132
133
  APT_EVENT = 6,
133
134
  APT_CALL = 7,
@@ -152,6 +153,9 @@ export function handlerTypeFromJSON(object: any): HandlerType {
152
153
  case 5:
153
154
  case "ETH_TRACE":
154
155
  return HandlerType.ETH_TRACE;
156
+ case 11:
157
+ case "ETH_TRANSACTION":
158
+ return HandlerType.ETH_TRANSACTION;
155
159
  case 4:
156
160
  case "SOL_INSTRUCTION":
157
161
  return HandlerType.SOL_INSTRUCTION;
@@ -190,6 +194,8 @@ export function handlerTypeToJSON(object: HandlerType): string {
190
194
  return "ETH_BLOCK";
191
195
  case HandlerType.ETH_TRACE:
192
196
  return "ETH_TRACE";
197
+ case HandlerType.ETH_TRANSACTION:
198
+ return "ETH_TRANSACTION";
193
199
  case HandlerType.SOL_INSTRUCTION:
194
200
  return "SOL_INSTRUCTION";
195
201
  case HandlerType.APT_EVENT:
@@ -457,6 +463,7 @@ export interface EthFetchConfig {
457
463
  transaction: boolean;
458
464
  transactionReceipt: boolean;
459
465
  block: boolean;
466
+ trace: boolean;
460
467
  }
461
468
 
462
469
  export interface TraceHandlerConfig {
@@ -560,6 +567,7 @@ export interface Data_EthTransaction {
560
567
  timestamp: Date | undefined;
561
568
  transactionReceipt?: { [key: string]: any } | undefined;
562
569
  block?: { [key: string]: any } | undefined;
570
+ trace?: { [key: string]: any } | undefined;
563
571
  }
564
572
 
565
573
  export interface Data_EthTrace {
@@ -2371,7 +2379,7 @@ export const BlockHandlerConfig = {
2371
2379
  };
2372
2380
 
2373
2381
  function createBaseEthFetchConfig(): EthFetchConfig {
2374
- return { transaction: false, transactionReceipt: false, block: false };
2382
+ return { transaction: false, transactionReceipt: false, block: false, trace: false };
2375
2383
  }
2376
2384
 
2377
2385
  export const EthFetchConfig = {
@@ -2385,6 +2393,9 @@ export const EthFetchConfig = {
2385
2393
  if (message.block === true) {
2386
2394
  writer.uint32(24).bool(message.block);
2387
2395
  }
2396
+ if (message.trace === true) {
2397
+ writer.uint32(32).bool(message.trace);
2398
+ }
2388
2399
  return writer;
2389
2400
  },
2390
2401
 
@@ -2404,6 +2415,9 @@ export const EthFetchConfig = {
2404
2415
  case 3:
2405
2416
  message.block = reader.bool();
2406
2417
  break;
2418
+ case 4:
2419
+ message.trace = reader.bool();
2420
+ break;
2407
2421
  default:
2408
2422
  reader.skipType(tag & 7);
2409
2423
  break;
@@ -2417,6 +2431,7 @@ export const EthFetchConfig = {
2417
2431
  transaction: isSet(object.transaction) ? Boolean(object.transaction) : false,
2418
2432
  transactionReceipt: isSet(object.transactionReceipt) ? Boolean(object.transactionReceipt) : false,
2419
2433
  block: isSet(object.block) ? Boolean(object.block) : false,
2434
+ trace: isSet(object.trace) ? Boolean(object.trace) : false,
2420
2435
  };
2421
2436
  },
2422
2437
 
@@ -2425,6 +2440,7 @@ export const EthFetchConfig = {
2425
2440
  message.transaction !== undefined && (obj.transaction = message.transaction);
2426
2441
  message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
2427
2442
  message.block !== undefined && (obj.block = message.block);
2443
+ message.trace !== undefined && (obj.trace = message.trace);
2428
2444
  return obj;
2429
2445
  },
2430
2446
 
@@ -2437,6 +2453,7 @@ export const EthFetchConfig = {
2437
2453
  message.transaction = object.transaction ?? false;
2438
2454
  message.transactionReceipt = object.transactionReceipt ?? false;
2439
2455
  message.block = object.block ?? false;
2456
+ message.trace = object.trace ?? false;
2440
2457
  return message;
2441
2458
  },
2442
2459
  };
@@ -3666,7 +3683,13 @@ export const Data_EthBlock = {
3666
3683
  };
3667
3684
 
3668
3685
  function createBaseData_EthTransaction(): Data_EthTransaction {
3669
- return { transaction: undefined, timestamp: undefined, transactionReceipt: undefined, block: undefined };
3686
+ return {
3687
+ transaction: undefined,
3688
+ timestamp: undefined,
3689
+ transactionReceipt: undefined,
3690
+ block: undefined,
3691
+ trace: undefined,
3692
+ };
3670
3693
  }
3671
3694
 
3672
3695
  export const Data_EthTransaction = {
@@ -3683,6 +3706,9 @@ export const Data_EthTransaction = {
3683
3706
  if (message.block !== undefined) {
3684
3707
  Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
3685
3708
  }
3709
+ if (message.trace !== undefined) {
3710
+ Struct.encode(Struct.wrap(message.trace), writer.uint32(58).fork()).ldelim();
3711
+ }
3686
3712
  return writer;
3687
3713
  },
3688
3714
 
@@ -3705,6 +3731,9 @@ export const Data_EthTransaction = {
3705
3731
  case 6:
3706
3732
  message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
3707
3733
  break;
3734
+ case 7:
3735
+ message.trace = Struct.unwrap(Struct.decode(reader, reader.uint32()));
3736
+ break;
3708
3737
  default:
3709
3738
  reader.skipType(tag & 7);
3710
3739
  break;
@@ -3719,6 +3748,7 @@ export const Data_EthTransaction = {
3719
3748
  timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
3720
3749
  transactionReceipt: isObject(object.transactionReceipt) ? object.transactionReceipt : undefined,
3721
3750
  block: isObject(object.block) ? object.block : undefined,
3751
+ trace: isObject(object.trace) ? object.trace : undefined,
3722
3752
  };
3723
3753
  },
3724
3754
 
@@ -3728,6 +3758,7 @@ export const Data_EthTransaction = {
3728
3758
  message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());
3729
3759
  message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
3730
3760
  message.block !== undefined && (obj.block = message.block);
3761
+ message.trace !== undefined && (obj.trace = message.trace);
3731
3762
  return obj;
3732
3763
  },
3733
3764
 
@@ -3741,6 +3772,7 @@ export const Data_EthTransaction = {
3741
3772
  message.timestamp = object.timestamp ?? undefined;
3742
3773
  message.transactionReceipt = object.transactionReceipt ?? undefined;
3743
3774
  message.block = object.block ?? undefined;
3775
+ message.trace = object.trace ?? undefined;
3744
3776
  return message;
3745
3777
  },
3746
3778
  };