@sentio/protos 3.8.0-rc3.2 → 3.8.0-rc3.4
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 {
|
|
@@ -1267,6 +1272,7 @@ export interface Data_SolInstruction {
|
|
|
1267
1272
|
programAccountId: string;
|
|
1268
1273
|
accounts: string[];
|
|
1269
1274
|
parsed?: { [key: string]: any } | undefined;
|
|
1275
|
+
rawParsed?: string | undefined;
|
|
1270
1276
|
rawTransaction?: string | undefined;
|
|
1271
1277
|
}
|
|
1272
1278
|
|
|
@@ -10068,7 +10074,7 @@ export const Data_EthLog = {
|
|
|
10068
10074
|
};
|
|
10069
10075
|
|
|
10070
10076
|
function createBaseData_EthBlock(): Data_EthBlock {
|
|
10071
|
-
return { block: undefined };
|
|
10077
|
+
return { block: undefined, rawBlock: "" };
|
|
10072
10078
|
}
|
|
10073
10079
|
|
|
10074
10080
|
export const Data_EthBlock = {
|
|
@@ -10076,6 +10082,9 @@ export const Data_EthBlock = {
|
|
|
10076
10082
|
if (message.block !== undefined) {
|
|
10077
10083
|
Struct.encode(Struct.wrap(message.block), writer.uint32(18).fork()).ldelim();
|
|
10078
10084
|
}
|
|
10085
|
+
if (message.rawBlock !== "") {
|
|
10086
|
+
writer.uint32(10).string(message.rawBlock);
|
|
10087
|
+
}
|
|
10079
10088
|
return writer;
|
|
10080
10089
|
},
|
|
10081
10090
|
|
|
@@ -10093,6 +10102,13 @@ export const Data_EthBlock = {
|
|
|
10093
10102
|
|
|
10094
10103
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10095
10104
|
continue;
|
|
10105
|
+
case 1:
|
|
10106
|
+
if (tag !== 10) {
|
|
10107
|
+
break;
|
|
10108
|
+
}
|
|
10109
|
+
|
|
10110
|
+
message.rawBlock = reader.string();
|
|
10111
|
+
continue;
|
|
10096
10112
|
}
|
|
10097
10113
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10098
10114
|
break;
|
|
@@ -10103,7 +10119,10 @@ export const Data_EthBlock = {
|
|
|
10103
10119
|
},
|
|
10104
10120
|
|
|
10105
10121
|
fromJSON(object: any): Data_EthBlock {
|
|
10106
|
-
return {
|
|
10122
|
+
return {
|
|
10123
|
+
block: isObject(object.block) ? object.block : undefined,
|
|
10124
|
+
rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : "",
|
|
10125
|
+
};
|
|
10107
10126
|
},
|
|
10108
10127
|
|
|
10109
10128
|
toJSON(message: Data_EthBlock): unknown {
|
|
@@ -10111,6 +10130,9 @@ export const Data_EthBlock = {
|
|
|
10111
10130
|
if (message.block !== undefined) {
|
|
10112
10131
|
obj.block = message.block;
|
|
10113
10132
|
}
|
|
10133
|
+
if (message.rawBlock !== "") {
|
|
10134
|
+
obj.rawBlock = message.rawBlock;
|
|
10135
|
+
}
|
|
10114
10136
|
return obj;
|
|
10115
10137
|
},
|
|
10116
10138
|
|
|
@@ -10120,6 +10142,7 @@ export const Data_EthBlock = {
|
|
|
10120
10142
|
fromPartial(object: DeepPartial<Data_EthBlock>): Data_EthBlock {
|
|
10121
10143
|
const message = createBaseData_EthBlock();
|
|
10122
10144
|
message.block = object.block ?? undefined;
|
|
10145
|
+
message.rawBlock = object.rawBlock ?? "";
|
|
10123
10146
|
return message;
|
|
10124
10147
|
},
|
|
10125
10148
|
};
|
|
@@ -10322,6 +10345,10 @@ function createBaseData_EthTrace(): Data_EthTrace {
|
|
|
10322
10345
|
transaction: undefined,
|
|
10323
10346
|
transactionReceipt: undefined,
|
|
10324
10347
|
block: undefined,
|
|
10348
|
+
rawTrace: "",
|
|
10349
|
+
rawTransaction: undefined,
|
|
10350
|
+
rawTransactionReceipt: undefined,
|
|
10351
|
+
rawBlock: undefined,
|
|
10325
10352
|
};
|
|
10326
10353
|
}
|
|
10327
10354
|
|
|
@@ -10342,6 +10369,18 @@ export const Data_EthTrace = {
|
|
|
10342
10369
|
if (message.block !== undefined) {
|
|
10343
10370
|
Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
|
|
10344
10371
|
}
|
|
10372
|
+
if (message.rawTrace !== "") {
|
|
10373
|
+
writer.uint32(58).string(message.rawTrace);
|
|
10374
|
+
}
|
|
10375
|
+
if (message.rawTransaction !== undefined) {
|
|
10376
|
+
writer.uint32(66).string(message.rawTransaction);
|
|
10377
|
+
}
|
|
10378
|
+
if (message.rawTransactionReceipt !== undefined) {
|
|
10379
|
+
writer.uint32(74).string(message.rawTransactionReceipt);
|
|
10380
|
+
}
|
|
10381
|
+
if (message.rawBlock !== undefined) {
|
|
10382
|
+
writer.uint32(82).string(message.rawBlock);
|
|
10383
|
+
}
|
|
10345
10384
|
return writer;
|
|
10346
10385
|
},
|
|
10347
10386
|
|
|
@@ -10387,6 +10426,34 @@ export const Data_EthTrace = {
|
|
|
10387
10426
|
|
|
10388
10427
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10389
10428
|
continue;
|
|
10429
|
+
case 7:
|
|
10430
|
+
if (tag !== 58) {
|
|
10431
|
+
break;
|
|
10432
|
+
}
|
|
10433
|
+
|
|
10434
|
+
message.rawTrace = reader.string();
|
|
10435
|
+
continue;
|
|
10436
|
+
case 8:
|
|
10437
|
+
if (tag !== 66) {
|
|
10438
|
+
break;
|
|
10439
|
+
}
|
|
10440
|
+
|
|
10441
|
+
message.rawTransaction = reader.string();
|
|
10442
|
+
continue;
|
|
10443
|
+
case 9:
|
|
10444
|
+
if (tag !== 74) {
|
|
10445
|
+
break;
|
|
10446
|
+
}
|
|
10447
|
+
|
|
10448
|
+
message.rawTransactionReceipt = reader.string();
|
|
10449
|
+
continue;
|
|
10450
|
+
case 10:
|
|
10451
|
+
if (tag !== 82) {
|
|
10452
|
+
break;
|
|
10453
|
+
}
|
|
10454
|
+
|
|
10455
|
+
message.rawBlock = reader.string();
|
|
10456
|
+
continue;
|
|
10390
10457
|
}
|
|
10391
10458
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10392
10459
|
break;
|
|
@@ -10403,6 +10470,12 @@ export const Data_EthTrace = {
|
|
|
10403
10470
|
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
10404
10471
|
transactionReceipt: isObject(object.transactionReceipt) ? object.transactionReceipt : undefined,
|
|
10405
10472
|
block: isObject(object.block) ? object.block : undefined,
|
|
10473
|
+
rawTrace: isSet(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
|
|
10474
|
+
rawTransaction: isSet(object.rawTransaction) ? globalThis.String(object.rawTransaction) : undefined,
|
|
10475
|
+
rawTransactionReceipt: isSet(object.rawTransactionReceipt)
|
|
10476
|
+
? globalThis.String(object.rawTransactionReceipt)
|
|
10477
|
+
: undefined,
|
|
10478
|
+
rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : undefined,
|
|
10406
10479
|
};
|
|
10407
10480
|
},
|
|
10408
10481
|
|
|
@@ -10423,6 +10496,18 @@ export const Data_EthTrace = {
|
|
|
10423
10496
|
if (message.block !== undefined) {
|
|
10424
10497
|
obj.block = message.block;
|
|
10425
10498
|
}
|
|
10499
|
+
if (message.rawTrace !== "") {
|
|
10500
|
+
obj.rawTrace = message.rawTrace;
|
|
10501
|
+
}
|
|
10502
|
+
if (message.rawTransaction !== undefined) {
|
|
10503
|
+
obj.rawTransaction = message.rawTransaction;
|
|
10504
|
+
}
|
|
10505
|
+
if (message.rawTransactionReceipt !== undefined) {
|
|
10506
|
+
obj.rawTransactionReceipt = message.rawTransactionReceipt;
|
|
10507
|
+
}
|
|
10508
|
+
if (message.rawBlock !== undefined) {
|
|
10509
|
+
obj.rawBlock = message.rawBlock;
|
|
10510
|
+
}
|
|
10426
10511
|
return obj;
|
|
10427
10512
|
},
|
|
10428
10513
|
|
|
@@ -10436,6 +10521,10 @@ export const Data_EthTrace = {
|
|
|
10436
10521
|
message.transaction = object.transaction ?? undefined;
|
|
10437
10522
|
message.transactionReceipt = object.transactionReceipt ?? undefined;
|
|
10438
10523
|
message.block = object.block ?? undefined;
|
|
10524
|
+
message.rawTrace = object.rawTrace ?? "";
|
|
10525
|
+
message.rawTransaction = object.rawTransaction ?? undefined;
|
|
10526
|
+
message.rawTransactionReceipt = object.rawTransactionReceipt ?? undefined;
|
|
10527
|
+
message.rawBlock = object.rawBlock ?? undefined;
|
|
10439
10528
|
return message;
|
|
10440
10529
|
},
|
|
10441
10530
|
};
|
|
@@ -10447,6 +10536,7 @@ function createBaseData_SolInstruction(): Data_SolInstruction {
|
|
|
10447
10536
|
programAccountId: "",
|
|
10448
10537
|
accounts: [],
|
|
10449
10538
|
parsed: undefined,
|
|
10539
|
+
rawParsed: undefined,
|
|
10450
10540
|
rawTransaction: undefined,
|
|
10451
10541
|
};
|
|
10452
10542
|
}
|
|
@@ -10471,6 +10561,9 @@ export const Data_SolInstruction = {
|
|
|
10471
10561
|
if (message.parsed !== undefined) {
|
|
10472
10562
|
Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
|
|
10473
10563
|
}
|
|
10564
|
+
if (message.rawParsed !== undefined) {
|
|
10565
|
+
writer.uint32(58).string(message.rawParsed);
|
|
10566
|
+
}
|
|
10474
10567
|
if (message.rawTransaction !== undefined) {
|
|
10475
10568
|
writer.uint32(50).string(message.rawTransaction);
|
|
10476
10569
|
}
|
|
@@ -10519,6 +10612,13 @@ export const Data_SolInstruction = {
|
|
|
10519
10612
|
|
|
10520
10613
|
message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10521
10614
|
continue;
|
|
10615
|
+
case 7:
|
|
10616
|
+
if (tag !== 58) {
|
|
10617
|
+
break;
|
|
10618
|
+
}
|
|
10619
|
+
|
|
10620
|
+
message.rawParsed = reader.string();
|
|
10621
|
+
continue;
|
|
10522
10622
|
case 6:
|
|
10523
10623
|
if (tag !== 50) {
|
|
10524
10624
|
break;
|
|
@@ -10542,6 +10642,7 @@ export const Data_SolInstruction = {
|
|
|
10542
10642
|
programAccountId: isSet(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
|
|
10543
10643
|
accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => globalThis.String(e)) : [],
|
|
10544
10644
|
parsed: isObject(object.parsed) ? object.parsed : undefined,
|
|
10645
|
+
rawParsed: isSet(object.rawParsed) ? globalThis.String(object.rawParsed) : undefined,
|
|
10545
10646
|
rawTransaction: isSet(object.rawTransaction) ? globalThis.String(object.rawTransaction) : undefined,
|
|
10546
10647
|
};
|
|
10547
10648
|
},
|
|
@@ -10563,6 +10664,9 @@ export const Data_SolInstruction = {
|
|
|
10563
10664
|
if (message.parsed !== undefined) {
|
|
10564
10665
|
obj.parsed = message.parsed;
|
|
10565
10666
|
}
|
|
10667
|
+
if (message.rawParsed !== undefined) {
|
|
10668
|
+
obj.rawParsed = message.rawParsed;
|
|
10669
|
+
}
|
|
10566
10670
|
if (message.rawTransaction !== undefined) {
|
|
10567
10671
|
obj.rawTransaction = message.rawTransaction;
|
|
10568
10672
|
}
|
|
@@ -10579,6 +10683,7 @@ export const Data_SolInstruction = {
|
|
|
10579
10683
|
message.programAccountId = object.programAccountId ?? "";
|
|
10580
10684
|
message.accounts = object.accounts?.map((e) => e) || [];
|
|
10581
10685
|
message.parsed = object.parsed ?? undefined;
|
|
10686
|
+
message.rawParsed = object.rawParsed ?? undefined;
|
|
10582
10687
|
message.rawTransaction = object.rawTransaction ?? undefined;
|
|
10583
10688
|
return message;
|
|
10584
10689
|
},
|