@sentio/runtime 3.8.0-rc3.2 → 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/lib/{chunk-EXIISBRV.js → chunk-GY7OBH64.js} +161 -9
- package/lib/chunk-GY7OBH64.js.map +1 -0
- package/lib/{chunk-4ZC4G6EI.js → chunk-W5SMLSTL.js} +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/{processor-MLp_j8IT.d.ts → processor-D1hP2eBU.d.ts} +5 -0
- package/lib/processor-runner.js +23 -2
- package/lib/processor-runner.js.map +1 -1
- package/lib/test-processor.test.d.ts +1 -1
- package/package.json +1 -1
- package/src/full-service.ts +22 -0
- package/src/gen/processor/protos/processor.ts +90 -2
- package/lib/chunk-EXIISBRV.js.map +0 -1
- /package/lib/{chunk-4ZC4G6EI.js.map → chunk-W5SMLSTL.js.map} +0 -0
|
@@ -11036,13 +11036,16 @@ var Data_EthLog = {
|
|
|
11036
11036
|
}
|
|
11037
11037
|
};
|
|
11038
11038
|
function createBaseData_EthBlock() {
|
|
11039
|
-
return { block: void 0 };
|
|
11039
|
+
return { block: void 0, rawBlock: "" };
|
|
11040
11040
|
}
|
|
11041
11041
|
var Data_EthBlock = {
|
|
11042
11042
|
encode(message, writer = import_minimal6.default.Writer.create()) {
|
|
11043
11043
|
if (message.block !== void 0) {
|
|
11044
11044
|
Struct.encode(Struct.wrap(message.block), writer.uint32(18).fork()).ldelim();
|
|
11045
11045
|
}
|
|
11046
|
+
if (message.rawBlock !== "") {
|
|
11047
|
+
writer.uint32(10).string(message.rawBlock);
|
|
11048
|
+
}
|
|
11046
11049
|
return writer;
|
|
11047
11050
|
},
|
|
11048
11051
|
decode(input, length) {
|
|
@@ -11058,6 +11061,12 @@ var Data_EthBlock = {
|
|
|
11058
11061
|
}
|
|
11059
11062
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
11060
11063
|
continue;
|
|
11064
|
+
case 1:
|
|
11065
|
+
if (tag !== 10) {
|
|
11066
|
+
break;
|
|
11067
|
+
}
|
|
11068
|
+
message.rawBlock = reader.string();
|
|
11069
|
+
continue;
|
|
11061
11070
|
}
|
|
11062
11071
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11063
11072
|
break;
|
|
@@ -11067,13 +11076,19 @@ var Data_EthBlock = {
|
|
|
11067
11076
|
return message;
|
|
11068
11077
|
},
|
|
11069
11078
|
fromJSON(object) {
|
|
11070
|
-
return {
|
|
11079
|
+
return {
|
|
11080
|
+
block: isObject3(object.block) ? object.block : void 0,
|
|
11081
|
+
rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
|
|
11082
|
+
};
|
|
11071
11083
|
},
|
|
11072
11084
|
toJSON(message) {
|
|
11073
11085
|
const obj = {};
|
|
11074
11086
|
if (message.block !== void 0) {
|
|
11075
11087
|
obj.block = message.block;
|
|
11076
11088
|
}
|
|
11089
|
+
if (message.rawBlock !== "") {
|
|
11090
|
+
obj.rawBlock = message.rawBlock;
|
|
11091
|
+
}
|
|
11077
11092
|
return obj;
|
|
11078
11093
|
},
|
|
11079
11094
|
create(base) {
|
|
@@ -11082,6 +11097,7 @@ var Data_EthBlock = {
|
|
|
11082
11097
|
fromPartial(object) {
|
|
11083
11098
|
const message = createBaseData_EthBlock();
|
|
11084
11099
|
message.block = object.block ?? void 0;
|
|
11100
|
+
message.rawBlock = object.rawBlock ?? "";
|
|
11085
11101
|
return message;
|
|
11086
11102
|
}
|
|
11087
11103
|
};
|
|
@@ -11265,7 +11281,11 @@ function createBaseData_EthTrace() {
|
|
|
11265
11281
|
timestamp: void 0,
|
|
11266
11282
|
transaction: void 0,
|
|
11267
11283
|
transactionReceipt: void 0,
|
|
11268
|
-
block: void 0
|
|
11284
|
+
block: void 0,
|
|
11285
|
+
rawTrace: "",
|
|
11286
|
+
rawTransaction: void 0,
|
|
11287
|
+
rawTransactionReceipt: void 0,
|
|
11288
|
+
rawBlock: void 0
|
|
11269
11289
|
};
|
|
11270
11290
|
}
|
|
11271
11291
|
var Data_EthTrace = {
|
|
@@ -11285,6 +11305,18 @@ var Data_EthTrace = {
|
|
|
11285
11305
|
if (message.block !== void 0) {
|
|
11286
11306
|
Struct.encode(Struct.wrap(message.block), writer.uint32(50).fork()).ldelim();
|
|
11287
11307
|
}
|
|
11308
|
+
if (message.rawTrace !== "") {
|
|
11309
|
+
writer.uint32(58).string(message.rawTrace);
|
|
11310
|
+
}
|
|
11311
|
+
if (message.rawTransaction !== void 0) {
|
|
11312
|
+
writer.uint32(66).string(message.rawTransaction);
|
|
11313
|
+
}
|
|
11314
|
+
if (message.rawTransactionReceipt !== void 0) {
|
|
11315
|
+
writer.uint32(74).string(message.rawTransactionReceipt);
|
|
11316
|
+
}
|
|
11317
|
+
if (message.rawBlock !== void 0) {
|
|
11318
|
+
writer.uint32(82).string(message.rawBlock);
|
|
11319
|
+
}
|
|
11288
11320
|
return writer;
|
|
11289
11321
|
},
|
|
11290
11322
|
decode(input, length) {
|
|
@@ -11324,6 +11356,30 @@ var Data_EthTrace = {
|
|
|
11324
11356
|
}
|
|
11325
11357
|
message.block = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
11326
11358
|
continue;
|
|
11359
|
+
case 7:
|
|
11360
|
+
if (tag !== 58) {
|
|
11361
|
+
break;
|
|
11362
|
+
}
|
|
11363
|
+
message.rawTrace = reader.string();
|
|
11364
|
+
continue;
|
|
11365
|
+
case 8:
|
|
11366
|
+
if (tag !== 66) {
|
|
11367
|
+
break;
|
|
11368
|
+
}
|
|
11369
|
+
message.rawTransaction = reader.string();
|
|
11370
|
+
continue;
|
|
11371
|
+
case 9:
|
|
11372
|
+
if (tag !== 74) {
|
|
11373
|
+
break;
|
|
11374
|
+
}
|
|
11375
|
+
message.rawTransactionReceipt = reader.string();
|
|
11376
|
+
continue;
|
|
11377
|
+
case 10:
|
|
11378
|
+
if (tag !== 82) {
|
|
11379
|
+
break;
|
|
11380
|
+
}
|
|
11381
|
+
message.rawBlock = reader.string();
|
|
11382
|
+
continue;
|
|
11327
11383
|
}
|
|
11328
11384
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11329
11385
|
break;
|
|
@@ -11338,7 +11394,11 @@ var Data_EthTrace = {
|
|
|
11338
11394
|
timestamp: isSet4(object.timestamp) ? fromJsonTimestamp2(object.timestamp) : void 0,
|
|
11339
11395
|
transaction: isObject3(object.transaction) ? object.transaction : void 0,
|
|
11340
11396
|
transactionReceipt: isObject3(object.transactionReceipt) ? object.transactionReceipt : void 0,
|
|
11341
|
-
block: isObject3(object.block) ? object.block : void 0
|
|
11397
|
+
block: isObject3(object.block) ? object.block : void 0,
|
|
11398
|
+
rawTrace: isSet4(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
|
|
11399
|
+
rawTransaction: isSet4(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
|
|
11400
|
+
rawTransactionReceipt: isSet4(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
|
|
11401
|
+
rawBlock: isSet4(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
|
|
11342
11402
|
};
|
|
11343
11403
|
},
|
|
11344
11404
|
toJSON(message) {
|
|
@@ -11358,6 +11418,18 @@ var Data_EthTrace = {
|
|
|
11358
11418
|
if (message.block !== void 0) {
|
|
11359
11419
|
obj.block = message.block;
|
|
11360
11420
|
}
|
|
11421
|
+
if (message.rawTrace !== "") {
|
|
11422
|
+
obj.rawTrace = message.rawTrace;
|
|
11423
|
+
}
|
|
11424
|
+
if (message.rawTransaction !== void 0) {
|
|
11425
|
+
obj.rawTransaction = message.rawTransaction;
|
|
11426
|
+
}
|
|
11427
|
+
if (message.rawTransactionReceipt !== void 0) {
|
|
11428
|
+
obj.rawTransactionReceipt = message.rawTransactionReceipt;
|
|
11429
|
+
}
|
|
11430
|
+
if (message.rawBlock !== void 0) {
|
|
11431
|
+
obj.rawBlock = message.rawBlock;
|
|
11432
|
+
}
|
|
11361
11433
|
return obj;
|
|
11362
11434
|
},
|
|
11363
11435
|
create(base) {
|
|
@@ -11370,6 +11442,10 @@ var Data_EthTrace = {
|
|
|
11370
11442
|
message.transaction = object.transaction ?? void 0;
|
|
11371
11443
|
message.transactionReceipt = object.transactionReceipt ?? void 0;
|
|
11372
11444
|
message.block = object.block ?? void 0;
|
|
11445
|
+
message.rawTrace = object.rawTrace ?? "";
|
|
11446
|
+
message.rawTransaction = object.rawTransaction ?? void 0;
|
|
11447
|
+
message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
|
|
11448
|
+
message.rawBlock = object.rawBlock ?? void 0;
|
|
11373
11449
|
return message;
|
|
11374
11450
|
}
|
|
11375
11451
|
};
|
|
@@ -23036,13 +23112,16 @@ var Data_EthLog2 = {
|
|
|
23036
23112
|
}
|
|
23037
23113
|
};
|
|
23038
23114
|
function createBaseData_EthBlock2() {
|
|
23039
|
-
return { block: void 0 };
|
|
23115
|
+
return { block: void 0, rawBlock: "" };
|
|
23040
23116
|
}
|
|
23041
23117
|
var Data_EthBlock2 = {
|
|
23042
23118
|
encode(message, writer = import_minimal12.default.Writer.create()) {
|
|
23043
23119
|
if (message.block !== void 0) {
|
|
23044
23120
|
Struct2.encode(Struct2.wrap(message.block), writer.uint32(18).fork()).ldelim();
|
|
23045
23121
|
}
|
|
23122
|
+
if (message.rawBlock !== "") {
|
|
23123
|
+
writer.uint32(10).string(message.rawBlock);
|
|
23124
|
+
}
|
|
23046
23125
|
return writer;
|
|
23047
23126
|
},
|
|
23048
23127
|
decode(input, length) {
|
|
@@ -23058,6 +23137,12 @@ var Data_EthBlock2 = {
|
|
|
23058
23137
|
}
|
|
23059
23138
|
message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
|
|
23060
23139
|
continue;
|
|
23140
|
+
case 1:
|
|
23141
|
+
if (tag !== 10) {
|
|
23142
|
+
break;
|
|
23143
|
+
}
|
|
23144
|
+
message.rawBlock = reader.string();
|
|
23145
|
+
continue;
|
|
23061
23146
|
}
|
|
23062
23147
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23063
23148
|
break;
|
|
@@ -23067,13 +23152,19 @@ var Data_EthBlock2 = {
|
|
|
23067
23152
|
return message;
|
|
23068
23153
|
},
|
|
23069
23154
|
fromJSON(object) {
|
|
23070
|
-
return {
|
|
23155
|
+
return {
|
|
23156
|
+
block: isObject6(object.block) ? object.block : void 0,
|
|
23157
|
+
rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : ""
|
|
23158
|
+
};
|
|
23071
23159
|
},
|
|
23072
23160
|
toJSON(message) {
|
|
23073
23161
|
const obj = {};
|
|
23074
23162
|
if (message.block !== void 0) {
|
|
23075
23163
|
obj.block = message.block;
|
|
23076
23164
|
}
|
|
23165
|
+
if (message.rawBlock !== "") {
|
|
23166
|
+
obj.rawBlock = message.rawBlock;
|
|
23167
|
+
}
|
|
23077
23168
|
return obj;
|
|
23078
23169
|
},
|
|
23079
23170
|
create(base) {
|
|
@@ -23082,6 +23173,7 @@ var Data_EthBlock2 = {
|
|
|
23082
23173
|
fromPartial(object) {
|
|
23083
23174
|
const message = createBaseData_EthBlock2();
|
|
23084
23175
|
message.block = object.block ?? void 0;
|
|
23176
|
+
message.rawBlock = object.rawBlock ?? "";
|
|
23085
23177
|
return message;
|
|
23086
23178
|
}
|
|
23087
23179
|
};
|
|
@@ -23265,7 +23357,11 @@ function createBaseData_EthTrace2() {
|
|
|
23265
23357
|
timestamp: void 0,
|
|
23266
23358
|
transaction: void 0,
|
|
23267
23359
|
transactionReceipt: void 0,
|
|
23268
|
-
block: void 0
|
|
23360
|
+
block: void 0,
|
|
23361
|
+
rawTrace: "",
|
|
23362
|
+
rawTransaction: void 0,
|
|
23363
|
+
rawTransactionReceipt: void 0,
|
|
23364
|
+
rawBlock: void 0
|
|
23269
23365
|
};
|
|
23270
23366
|
}
|
|
23271
23367
|
var Data_EthTrace2 = {
|
|
@@ -23285,6 +23381,18 @@ var Data_EthTrace2 = {
|
|
|
23285
23381
|
if (message.block !== void 0) {
|
|
23286
23382
|
Struct2.encode(Struct2.wrap(message.block), writer.uint32(50).fork()).ldelim();
|
|
23287
23383
|
}
|
|
23384
|
+
if (message.rawTrace !== "") {
|
|
23385
|
+
writer.uint32(58).string(message.rawTrace);
|
|
23386
|
+
}
|
|
23387
|
+
if (message.rawTransaction !== void 0) {
|
|
23388
|
+
writer.uint32(66).string(message.rawTransaction);
|
|
23389
|
+
}
|
|
23390
|
+
if (message.rawTransactionReceipt !== void 0) {
|
|
23391
|
+
writer.uint32(74).string(message.rawTransactionReceipt);
|
|
23392
|
+
}
|
|
23393
|
+
if (message.rawBlock !== void 0) {
|
|
23394
|
+
writer.uint32(82).string(message.rawBlock);
|
|
23395
|
+
}
|
|
23288
23396
|
return writer;
|
|
23289
23397
|
},
|
|
23290
23398
|
decode(input, length) {
|
|
@@ -23324,6 +23432,30 @@ var Data_EthTrace2 = {
|
|
|
23324
23432
|
}
|
|
23325
23433
|
message.block = Struct2.unwrap(Struct2.decode(reader, reader.uint32()));
|
|
23326
23434
|
continue;
|
|
23435
|
+
case 7:
|
|
23436
|
+
if (tag !== 58) {
|
|
23437
|
+
break;
|
|
23438
|
+
}
|
|
23439
|
+
message.rawTrace = reader.string();
|
|
23440
|
+
continue;
|
|
23441
|
+
case 8:
|
|
23442
|
+
if (tag !== 66) {
|
|
23443
|
+
break;
|
|
23444
|
+
}
|
|
23445
|
+
message.rawTransaction = reader.string();
|
|
23446
|
+
continue;
|
|
23447
|
+
case 9:
|
|
23448
|
+
if (tag !== 74) {
|
|
23449
|
+
break;
|
|
23450
|
+
}
|
|
23451
|
+
message.rawTransactionReceipt = reader.string();
|
|
23452
|
+
continue;
|
|
23453
|
+
case 10:
|
|
23454
|
+
if (tag !== 82) {
|
|
23455
|
+
break;
|
|
23456
|
+
}
|
|
23457
|
+
message.rawBlock = reader.string();
|
|
23458
|
+
continue;
|
|
23327
23459
|
}
|
|
23328
23460
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23329
23461
|
break;
|
|
@@ -23338,7 +23470,11 @@ var Data_EthTrace2 = {
|
|
|
23338
23470
|
timestamp: isSet8(object.timestamp) ? fromJsonTimestamp4(object.timestamp) : void 0,
|
|
23339
23471
|
transaction: isObject6(object.transaction) ? object.transaction : void 0,
|
|
23340
23472
|
transactionReceipt: isObject6(object.transactionReceipt) ? object.transactionReceipt : void 0,
|
|
23341
|
-
block: isObject6(object.block) ? object.block : void 0
|
|
23473
|
+
block: isObject6(object.block) ? object.block : void 0,
|
|
23474
|
+
rawTrace: isSet8(object.rawTrace) ? globalThis.String(object.rawTrace) : "",
|
|
23475
|
+
rawTransaction: isSet8(object.rawTransaction) ? globalThis.String(object.rawTransaction) : void 0,
|
|
23476
|
+
rawTransactionReceipt: isSet8(object.rawTransactionReceipt) ? globalThis.String(object.rawTransactionReceipt) : void 0,
|
|
23477
|
+
rawBlock: isSet8(object.rawBlock) ? globalThis.String(object.rawBlock) : void 0
|
|
23342
23478
|
};
|
|
23343
23479
|
},
|
|
23344
23480
|
toJSON(message) {
|
|
@@ -23358,6 +23494,18 @@ var Data_EthTrace2 = {
|
|
|
23358
23494
|
if (message.block !== void 0) {
|
|
23359
23495
|
obj.block = message.block;
|
|
23360
23496
|
}
|
|
23497
|
+
if (message.rawTrace !== "") {
|
|
23498
|
+
obj.rawTrace = message.rawTrace;
|
|
23499
|
+
}
|
|
23500
|
+
if (message.rawTransaction !== void 0) {
|
|
23501
|
+
obj.rawTransaction = message.rawTransaction;
|
|
23502
|
+
}
|
|
23503
|
+
if (message.rawTransactionReceipt !== void 0) {
|
|
23504
|
+
obj.rawTransactionReceipt = message.rawTransactionReceipt;
|
|
23505
|
+
}
|
|
23506
|
+
if (message.rawBlock !== void 0) {
|
|
23507
|
+
obj.rawBlock = message.rawBlock;
|
|
23508
|
+
}
|
|
23361
23509
|
return obj;
|
|
23362
23510
|
},
|
|
23363
23511
|
create(base) {
|
|
@@ -23370,6 +23518,10 @@ var Data_EthTrace2 = {
|
|
|
23370
23518
|
message.transaction = object.transaction ?? void 0;
|
|
23371
23519
|
message.transactionReceipt = object.transactionReceipt ?? void 0;
|
|
23372
23520
|
message.block = object.block ?? void 0;
|
|
23521
|
+
message.rawTrace = object.rawTrace ?? "";
|
|
23522
|
+
message.rawTransaction = object.rawTransaction ?? void 0;
|
|
23523
|
+
message.rawTransactionReceipt = object.rawTransactionReceipt ?? void 0;
|
|
23524
|
+
message.rawBlock = object.rawBlock ?? void 0;
|
|
23373
23525
|
return message;
|
|
23374
23526
|
}
|
|
23375
23527
|
};
|
|
@@ -26081,4 +26233,4 @@ long/index.js:
|
|
|
26081
26233
|
* SPDX-License-Identifier: Apache-2.0
|
|
26082
26234
|
*)
|
|
26083
26235
|
*/
|
|
26084
|
-
//# sourceMappingURL=chunk-
|
|
26236
|
+
//# sourceMappingURL=chunk-GY7OBH64.js.map
|