@sentio/protos 3.8.0-rc3.1 → 3.8.0-rc3.3
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
|
@@ -1239,6 +1239,7 @@ export interface Data_EthLog {
|
|
|
1239
1239
|
|
|
1240
1240
|
export interface Data_EthBlock {
|
|
1241
1241
|
block: { [key: string]: any } | undefined;
|
|
1242
|
+
rawBlock: string;
|
|
1242
1243
|
}
|
|
1243
1244
|
|
|
1244
1245
|
export interface Data_EthTransaction {
|
|
@@ -1259,6 +1260,10 @@ export interface Data_EthTrace {
|
|
|
1259
1260
|
transaction?: { [key: string]: any } | undefined;
|
|
1260
1261
|
transactionReceipt?: { [key: string]: any } | undefined;
|
|
1261
1262
|
block?: { [key: string]: any } | undefined;
|
|
1263
|
+
rawTrace: string;
|
|
1264
|
+
rawTransaction?: string | undefined;
|
|
1265
|
+
rawTransactionReceipt?: string | undefined;
|
|
1266
|
+
rawBlock?: string | undefined;
|
|
1262
1267
|
}
|
|
1263
1268
|
|
|
1264
1269
|
export interface Data_SolInstruction {
|
|
@@ -10068,7 +10073,7 @@ export const Data_EthLog = {
|
|
|
10068
10073
|
};
|
|
10069
10074
|
|
|
10070
10075
|
function createBaseData_EthBlock(): Data_EthBlock {
|
|
10071
|
-
return { block: undefined };
|
|
10076
|
+
return { block: undefined, rawBlock: "" };
|
|
10072
10077
|
}
|
|
10073
10078
|
|
|
10074
10079
|
export const Data_EthBlock = {
|
|
@@ -10076,6 +10081,9 @@ export const Data_EthBlock = {
|
|
|
10076
10081
|
if (message.block !== undefined) {
|
|
10077
10082
|
Struct.encode(Struct.wrap(message.block), writer.uint32(18).fork()).ldelim();
|
|
10078
10083
|
}
|
|
10084
|
+
if (message.rawBlock !== "") {
|
|
10085
|
+
writer.uint32(10).string(message.rawBlock);
|
|
10086
|
+
}
|
|
10079
10087
|
return writer;
|
|
10080
10088
|
},
|
|
10081
10089
|
|
|
@@ -10093,6 +10101,13 @@ export const Data_EthBlock = {
|
|
|
10093
10101
|
|
|
10094
10102
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10095
10103
|
continue;
|
|
10104
|
+
case 1:
|
|
10105
|
+
if (tag !== 10) {
|
|
10106
|
+
break;
|
|
10107
|
+
}
|
|
10108
|
+
|
|
10109
|
+
message.rawBlock = reader.string();
|
|
10110
|
+
continue;
|
|
10096
10111
|
}
|
|
10097
10112
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10098
10113
|
break;
|
|
@@ -10103,7 +10118,10 @@ export const Data_EthBlock = {
|
|
|
10103
10118
|
},
|
|
10104
10119
|
|
|
10105
10120
|
fromJSON(object: any): Data_EthBlock {
|
|
10106
|
-
return {
|
|
10121
|
+
return {
|
|
10122
|
+
block: isObject(object.block) ? object.block : undefined,
|
|
10123
|
+
rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : "",
|
|
10124
|
+
};
|
|
10107
10125
|
},
|
|
10108
10126
|
|
|
10109
10127
|
toJSON(message: Data_EthBlock): unknown {
|
|
@@ -10111,6 +10129,9 @@ export const Data_EthBlock = {
|
|
|
10111
10129
|
if (message.block !== undefined) {
|
|
10112
10130
|
obj.block = message.block;
|
|
10113
10131
|
}
|
|
10132
|
+
if (message.rawBlock !== "") {
|
|
10133
|
+
obj.rawBlock = message.rawBlock;
|
|
10134
|
+
}
|
|
10114
10135
|
return obj;
|
|
10115
10136
|
},
|
|
10116
10137
|
|
|
@@ -10120,6 +10141,7 @@ export const Data_EthBlock = {
|
|
|
10120
10141
|
fromPartial(object: DeepPartial<Data_EthBlock>): Data_EthBlock {
|
|
10121
10142
|
const message = createBaseData_EthBlock();
|
|
10122
10143
|
message.block = object.block ?? undefined;
|
|
10144
|
+
message.rawBlock = object.rawBlock ?? "";
|
|
10123
10145
|
return message;
|
|
10124
10146
|
},
|
|
10125
10147
|
};
|
|
@@ -10322,6 +10344,10 @@ function createBaseData_EthTrace(): Data_EthTrace {
|
|
|
10322
10344
|
transaction: undefined,
|
|
10323
10345
|
transactionReceipt: undefined,
|
|
10324
10346
|
block: undefined,
|
|
10347
|
+
rawTrace: "",
|
|
10348
|
+
rawTransaction: undefined,
|
|
10349
|
+
rawTransactionReceipt: undefined,
|
|
10350
|
+
rawBlock: undefined,
|
|
10325
10351
|
};
|
|
10326
10352
|
}
|
|
10327
10353
|
|
|
@@ -10342,6 +10368,18 @@ export const Data_EthTrace = {
|
|
|
10342
10368
|
if (message.block !== undefined) {
|
|
10343
10369
|
Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
|
|
10344
10370
|
}
|
|
10371
|
+
if (message.rawTrace !== "") {
|
|
10372
|
+
writer.uint32(58).string(message.rawTrace);
|
|
10373
|
+
}
|
|
10374
|
+
if (message.rawTransaction !== undefined) {
|
|
10375
|
+
writer.uint32(66).string(message.rawTransaction);
|
|
10376
|
+
}
|
|
10377
|
+
if (message.rawTransactionReceipt !== undefined) {
|
|
10378
|
+
writer.uint32(74).string(message.rawTransactionReceipt);
|
|
10379
|
+
}
|
|
10380
|
+
if (message.rawBlock !== undefined) {
|
|
10381
|
+
writer.uint32(82).string(message.rawBlock);
|
|
10382
|
+
}
|
|
10345
10383
|
return writer;
|
|
10346
10384
|
},
|
|
10347
10385
|
|
|
@@ -10387,6 +10425,34 @@ export const Data_EthTrace = {
|
|
|
10387
10425
|
|
|
10388
10426
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10389
10427
|
continue;
|
|
10428
|
+
case 7:
|
|
10429
|
+
if (tag !== 58) {
|
|
10430
|
+
break;
|
|
10431
|
+
}
|
|
10432
|
+
|
|
10433
|
+
message.rawTrace = reader.string();
|
|
10434
|
+
continue;
|
|
10435
|
+
case 8:
|
|
10436
|
+
if (tag !== 66) {
|
|
10437
|
+
break;
|
|
10438
|
+
}
|
|
10439
|
+
|
|
10440
|
+
message.rawTransaction = reader.string();
|
|
10441
|
+
continue;
|
|
10442
|
+
case 9:
|
|
10443
|
+
if (tag !== 74) {
|
|
10444
|
+
break;
|
|
10445
|
+
}
|
|
10446
|
+
|
|
10447
|
+
message.rawTransactionReceipt = reader.string();
|
|
10448
|
+
continue;
|
|
10449
|
+
case 10:
|
|
10450
|
+
if (tag !== 82) {
|
|
10451
|
+
break;
|
|
10452
|
+
}
|
|
10453
|
+
|
|
10454
|
+
message.rawBlock = reader.string();
|
|
10455
|
+
continue;
|
|
10390
10456
|
}
|
|
10391
10457
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10392
10458
|
break;
|
|
@@ -10403,6 +10469,12 @@ export const Data_EthTrace = {
|
|
|
10403
10469
|
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
10404
10470
|
transactionReceipt: isObject(object.transactionReceipt) ? object.transactionReceipt : undefined,
|
|
10405
10471
|
block: isObject(object.block) ? object.block : undefined,
|
|
10472
|
+
rawTrace: isSet(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
|
|
10473
|
+
rawTransaction: isSet(object.rawTransaction) ? globalThis.String(object.rawTransaction) : undefined,
|
|
10474
|
+
rawTransactionReceipt: isSet(object.rawTransactionReceipt)
|
|
10475
|
+
? globalThis.String(object.rawTransactionReceipt)
|
|
10476
|
+
: undefined,
|
|
10477
|
+
rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : undefined,
|
|
10406
10478
|
};
|
|
10407
10479
|
},
|
|
10408
10480
|
|
|
@@ -10423,6 +10495,18 @@ export const Data_EthTrace = {
|
|
|
10423
10495
|
if (message.block !== undefined) {
|
|
10424
10496
|
obj.block = message.block;
|
|
10425
10497
|
}
|
|
10498
|
+
if (message.rawTrace !== "") {
|
|
10499
|
+
obj.rawTrace = message.rawTrace;
|
|
10500
|
+
}
|
|
10501
|
+
if (message.rawTransaction !== undefined) {
|
|
10502
|
+
obj.rawTransaction = message.rawTransaction;
|
|
10503
|
+
}
|
|
10504
|
+
if (message.rawTransactionReceipt !== undefined) {
|
|
10505
|
+
obj.rawTransactionReceipt = message.rawTransactionReceipt;
|
|
10506
|
+
}
|
|
10507
|
+
if (message.rawBlock !== undefined) {
|
|
10508
|
+
obj.rawBlock = message.rawBlock;
|
|
10509
|
+
}
|
|
10426
10510
|
return obj;
|
|
10427
10511
|
},
|
|
10428
10512
|
|
|
@@ -10436,6 +10520,10 @@ export const Data_EthTrace = {
|
|
|
10436
10520
|
message.transaction = object.transaction ?? undefined;
|
|
10437
10521
|
message.transactionReceipt = object.transactionReceipt ?? undefined;
|
|
10438
10522
|
message.block = object.block ?? undefined;
|
|
10523
|
+
message.rawTrace = object.rawTrace ?? "";
|
|
10524
|
+
message.rawTransaction = object.rawTransaction ?? undefined;
|
|
10525
|
+
message.rawTransactionReceipt = object.rawTransactionReceipt ?? undefined;
|
|
10526
|
+
message.rawBlock = object.rawBlock ?? undefined;
|
|
10439
10527
|
return message;
|
|
10440
10528
|
},
|
|
10441
10529
|
};
|