@sentio/protos 1.37.4 → 1.37.5-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.
|
@@ -207,7 +207,6 @@ export interface RawTransaction {
|
|
|
207
207
|
slot?: bigint | undefined;
|
|
208
208
|
}
|
|
209
209
|
export interface Data {
|
|
210
|
-
raw: Uint8Array;
|
|
211
210
|
ethLog?: Data_EthLog | undefined;
|
|
212
211
|
ethBlock?: Data_EthBlock | undefined;
|
|
213
212
|
ethTransaction?: Data_EthTransaction | undefined;
|
|
@@ -221,7 +220,9 @@ export interface Data_EthLog {
|
|
|
221
220
|
log: {
|
|
222
221
|
[key: string]: any;
|
|
223
222
|
} | undefined;
|
|
224
|
-
transaction?:
|
|
223
|
+
transaction?: {
|
|
224
|
+
[key: string]: any;
|
|
225
|
+
} | undefined;
|
|
225
226
|
}
|
|
226
227
|
export interface Data_EthBlock {
|
|
227
228
|
block: {
|
|
@@ -232,14 +233,20 @@ export interface Data_EthTransaction {
|
|
|
232
233
|
transaction: {
|
|
233
234
|
[key: string]: any;
|
|
234
235
|
} | undefined;
|
|
235
|
-
transactionReceipt?:
|
|
236
|
+
transactionReceipt?: {
|
|
237
|
+
[key: string]: any;
|
|
238
|
+
} | undefined;
|
|
236
239
|
}
|
|
237
240
|
export interface Data_EthTrace {
|
|
238
241
|
trace: {
|
|
239
242
|
[key: string]: any;
|
|
240
243
|
} | undefined;
|
|
241
|
-
transaction?:
|
|
242
|
-
|
|
244
|
+
transaction?: {
|
|
245
|
+
[key: string]: any;
|
|
246
|
+
} | undefined;
|
|
247
|
+
transactionReceipt?: {
|
|
248
|
+
[key: string]: any;
|
|
249
|
+
} | undefined;
|
|
243
250
|
}
|
|
244
251
|
export interface Data_SolInstruction {
|
|
245
252
|
instructionData: string;
|
|
@@ -2381,7 +2381,6 @@ exports.RawTransaction = {
|
|
|
2381
2381
|
};
|
|
2382
2382
|
function createBaseData() {
|
|
2383
2383
|
return {
|
|
2384
|
-
raw: new Uint8Array(),
|
|
2385
2384
|
ethLog: undefined,
|
|
2386
2385
|
ethBlock: undefined,
|
|
2387
2386
|
ethTransaction: undefined,
|
|
@@ -2394,9 +2393,6 @@ function createBaseData() {
|
|
|
2394
2393
|
}
|
|
2395
2394
|
exports.Data = {
|
|
2396
2395
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
2397
|
-
if (message.raw.length !== 0) {
|
|
2398
|
-
writer.uint32(10).bytes(message.raw);
|
|
2399
|
-
}
|
|
2400
2396
|
if (message.ethLog !== undefined) {
|
|
2401
2397
|
exports.Data_EthLog.encode(message.ethLog, writer.uint32(18).fork()).ldelim();
|
|
2402
2398
|
}
|
|
@@ -2430,9 +2426,6 @@ exports.Data = {
|
|
|
2430
2426
|
while (reader.pos < end) {
|
|
2431
2427
|
const tag = reader.uint32();
|
|
2432
2428
|
switch (tag >>> 3) {
|
|
2433
|
-
case 1:
|
|
2434
|
-
message.raw = reader.bytes();
|
|
2435
|
-
break;
|
|
2436
2429
|
case 2:
|
|
2437
2430
|
message.ethLog = exports.Data_EthLog.decode(reader, reader.uint32());
|
|
2438
2431
|
break;
|
|
@@ -2466,7 +2459,6 @@ exports.Data = {
|
|
|
2466
2459
|
},
|
|
2467
2460
|
fromJSON(object) {
|
|
2468
2461
|
return {
|
|
2469
|
-
raw: isSet(object.raw) ? bytesFromBase64(object.raw) : new Uint8Array(),
|
|
2470
2462
|
ethLog: isSet(object.ethLog) ? exports.Data_EthLog.fromJSON(object.ethLog) : undefined,
|
|
2471
2463
|
ethBlock: isSet(object.ethBlock) ? exports.Data_EthBlock.fromJSON(object.ethBlock) : undefined,
|
|
2472
2464
|
ethTransaction: isSet(object.ethTransaction) ? exports.Data_EthTransaction.fromJSON(object.ethTransaction) : undefined,
|
|
@@ -2479,7 +2471,6 @@ exports.Data = {
|
|
|
2479
2471
|
},
|
|
2480
2472
|
toJSON(message) {
|
|
2481
2473
|
const obj = {};
|
|
2482
|
-
message.raw !== undefined && (obj.raw = base64FromBytes(message.raw !== undefined ? message.raw : new Uint8Array()));
|
|
2483
2474
|
message.ethLog !== undefined && (obj.ethLog = message.ethLog ? exports.Data_EthLog.toJSON(message.ethLog) : undefined);
|
|
2484
2475
|
message.ethBlock !== undefined &&
|
|
2485
2476
|
(obj.ethBlock = message.ethBlock ? exports.Data_EthBlock.toJSON(message.ethBlock) : undefined);
|
|
@@ -2498,7 +2489,6 @@ exports.Data = {
|
|
|
2498
2489
|
},
|
|
2499
2490
|
fromPartial(object) {
|
|
2500
2491
|
const message = createBaseData();
|
|
2501
|
-
message.raw = object.raw ?? new Uint8Array();
|
|
2502
2492
|
message.ethLog =
|
|
2503
2493
|
object.ethLog !== undefined && object.ethLog !== null ? exports.Data_EthLog.fromPartial(object.ethLog) : undefined;
|
|
2504
2494
|
message.ethBlock =
|
|
@@ -2533,7 +2523,7 @@ exports.Data_EthLog = {
|
|
|
2533
2523
|
struct_1.Struct.encode(struct_1.Struct.wrap(message.log), writer.uint32(26).fork()).ldelim();
|
|
2534
2524
|
}
|
|
2535
2525
|
if (message.transaction !== undefined) {
|
|
2536
|
-
writer.uint32(18).
|
|
2526
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.transaction), writer.uint32(18).fork()).ldelim();
|
|
2537
2527
|
}
|
|
2538
2528
|
return writer;
|
|
2539
2529
|
},
|
|
@@ -2548,7 +2538,7 @@ exports.Data_EthLog = {
|
|
|
2548
2538
|
message.log = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2549
2539
|
break;
|
|
2550
2540
|
case 2:
|
|
2551
|
-
message.transaction = reader.
|
|
2541
|
+
message.transaction = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2552
2542
|
break;
|
|
2553
2543
|
default:
|
|
2554
2544
|
reader.skipType(tag & 7);
|
|
@@ -2560,14 +2550,13 @@ exports.Data_EthLog = {
|
|
|
2560
2550
|
fromJSON(object) {
|
|
2561
2551
|
return {
|
|
2562
2552
|
log: isObject(object.log) ? object.log : undefined,
|
|
2563
|
-
transaction:
|
|
2553
|
+
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
2564
2554
|
};
|
|
2565
2555
|
},
|
|
2566
2556
|
toJSON(message) {
|
|
2567
2557
|
const obj = {};
|
|
2568
2558
|
message.log !== undefined && (obj.log = message.log);
|
|
2569
|
-
message.transaction !== undefined &&
|
|
2570
|
-
(obj.transaction = message.transaction !== undefined ? base64FromBytes(message.transaction) : undefined);
|
|
2559
|
+
message.transaction !== undefined && (obj.transaction = message.transaction);
|
|
2571
2560
|
return obj;
|
|
2572
2561
|
},
|
|
2573
2562
|
fromPartial(object) {
|
|
@@ -2627,7 +2616,7 @@ exports.Data_EthTransaction = {
|
|
|
2627
2616
|
struct_1.Struct.encode(struct_1.Struct.wrap(message.transaction), writer.uint32(34).fork()).ldelim();
|
|
2628
2617
|
}
|
|
2629
2618
|
if (message.transactionReceipt !== undefined) {
|
|
2630
|
-
writer.uint32(26).
|
|
2619
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.transactionReceipt), writer.uint32(26).fork()).ldelim();
|
|
2631
2620
|
}
|
|
2632
2621
|
return writer;
|
|
2633
2622
|
},
|
|
@@ -2642,7 +2631,7 @@ exports.Data_EthTransaction = {
|
|
|
2642
2631
|
message.transaction = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2643
2632
|
break;
|
|
2644
2633
|
case 3:
|
|
2645
|
-
message.transactionReceipt = reader.
|
|
2634
|
+
message.transactionReceipt = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2646
2635
|
break;
|
|
2647
2636
|
default:
|
|
2648
2637
|
reader.skipType(tag & 7);
|
|
@@ -2654,15 +2643,13 @@ exports.Data_EthTransaction = {
|
|
|
2654
2643
|
fromJSON(object) {
|
|
2655
2644
|
return {
|
|
2656
2645
|
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
2657
|
-
transactionReceipt:
|
|
2646
|
+
transactionReceipt: isObject(object.transactionReceipt) ? object.transactionReceipt : undefined,
|
|
2658
2647
|
};
|
|
2659
2648
|
},
|
|
2660
2649
|
toJSON(message) {
|
|
2661
2650
|
const obj = {};
|
|
2662
2651
|
message.transaction !== undefined && (obj.transaction = message.transaction);
|
|
2663
|
-
message.transactionReceipt !== undefined &&
|
|
2664
|
-
(obj.transactionReceipt =
|
|
2665
|
-
message.transactionReceipt !== undefined ? base64FromBytes(message.transactionReceipt) : undefined);
|
|
2652
|
+
message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
|
|
2666
2653
|
return obj;
|
|
2667
2654
|
},
|
|
2668
2655
|
fromPartial(object) {
|
|
@@ -2681,10 +2668,10 @@ exports.Data_EthTrace = {
|
|
|
2681
2668
|
struct_1.Struct.encode(struct_1.Struct.wrap(message.trace), writer.uint32(34).fork()).ldelim();
|
|
2682
2669
|
}
|
|
2683
2670
|
if (message.transaction !== undefined) {
|
|
2684
|
-
writer.uint32(18).
|
|
2671
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.transaction), writer.uint32(18).fork()).ldelim();
|
|
2685
2672
|
}
|
|
2686
2673
|
if (message.transactionReceipt !== undefined) {
|
|
2687
|
-
writer.uint32(26).
|
|
2674
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.transactionReceipt), writer.uint32(26).fork()).ldelim();
|
|
2688
2675
|
}
|
|
2689
2676
|
return writer;
|
|
2690
2677
|
},
|
|
@@ -2699,10 +2686,10 @@ exports.Data_EthTrace = {
|
|
|
2699
2686
|
message.trace = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2700
2687
|
break;
|
|
2701
2688
|
case 2:
|
|
2702
|
-
message.transaction = reader.
|
|
2689
|
+
message.transaction = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2703
2690
|
break;
|
|
2704
2691
|
case 3:
|
|
2705
|
-
message.transactionReceipt = reader.
|
|
2692
|
+
message.transactionReceipt = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
2706
2693
|
break;
|
|
2707
2694
|
default:
|
|
2708
2695
|
reader.skipType(tag & 7);
|
|
@@ -2714,18 +2701,15 @@ exports.Data_EthTrace = {
|
|
|
2714
2701
|
fromJSON(object) {
|
|
2715
2702
|
return {
|
|
2716
2703
|
trace: isObject(object.trace) ? object.trace : undefined,
|
|
2717
|
-
transaction:
|
|
2718
|
-
transactionReceipt:
|
|
2704
|
+
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
2705
|
+
transactionReceipt: isObject(object.transactionReceipt) ? object.transactionReceipt : undefined,
|
|
2719
2706
|
};
|
|
2720
2707
|
},
|
|
2721
2708
|
toJSON(message) {
|
|
2722
2709
|
const obj = {};
|
|
2723
2710
|
message.trace !== undefined && (obj.trace = message.trace);
|
|
2724
|
-
message.transaction !== undefined &&
|
|
2725
|
-
|
|
2726
|
-
message.transactionReceipt !== undefined &&
|
|
2727
|
-
(obj.transactionReceipt =
|
|
2728
|
-
message.transactionReceipt !== undefined ? base64FromBytes(message.transactionReceipt) : undefined);
|
|
2711
|
+
message.transaction !== undefined && (obj.transaction = message.transaction);
|
|
2712
|
+
message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
|
|
2729
2713
|
return obj;
|
|
2730
2714
|
},
|
|
2731
2715
|
fromPartial(object) {
|