@sentio/sdk 1.33.1 → 1.34.0
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/aptos/context.js +0 -3
- package/lib/aptos/context.js.map +1 -1
- package/lib/core/context.js +0 -6
- package/lib/core/context.js.map +1 -1
- package/lib/core/logger.js.map +1 -1
- package/lib/core/meter.d.ts +2 -8
- package/lib/core/meter.js +15 -18
- package/lib/core/meter.js.map +1 -1
- package/lib/core/numberish.js +10 -2
- package/lib/core/numberish.js.map +1 -1
- package/lib/gen/chainquery/protos/chainquery.d.ts +25 -2
- package/lib/gen/chainquery/protos/chainquery.js +49 -9
- package/lib/gen/chainquery/protos/chainquery.js.map +1 -1
- package/lib/gen/processor/protos/processor.d.ts +11 -171
- package/lib/gen/processor/protos/processor.js +61 -429
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/lib/service.d.ts +3 -7
- package/lib/service.js +31 -152
- package/lib/service.js.map +1 -1
- package/lib/testing/test-processor-server.d.ts +3 -5
- package/lib/testing/test-processor-server.js +28 -15
- package/lib/testing/test-processor-server.js.map +1 -1
- package/lib/utils/chain.js +1 -0
- package/lib/utils/chain.js.map +1 -1
- package/package.json +1 -1
- package/src/aptos/context.ts +1 -3
- package/src/core/context.ts +1 -6
- package/src/core/logger.ts +1 -1
- package/src/core/meter.ts +16 -18
- package/src/core/numberish.ts +11 -2
- package/src/gen/chainquery/protos/chainquery.ts +60 -11
- package/src/gen/processor/protos/processor.ts +60 -571
- package/src/service.ts +39 -202
- package/src/testing/test-processor-server.ts +33 -23
- package/src/utils/chain.ts +1 -0
|
@@ -4,6 +4,51 @@ import Long from "long";
|
|
|
4
4
|
import { Empty } from "../../google/protobuf/empty";
|
|
5
5
|
import _m0 from "protobufjs/minimal";
|
|
6
6
|
|
|
7
|
+
export enum MetricType {
|
|
8
|
+
UNKNOWN_TYPE = 0,
|
|
9
|
+
COUNTER = 1,
|
|
10
|
+
GAUGE = 2,
|
|
11
|
+
HISTOGRAM = 3,
|
|
12
|
+
UNRECOGNIZED = -1,
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function metricTypeFromJSON(object: any): MetricType {
|
|
16
|
+
switch (object) {
|
|
17
|
+
case 0:
|
|
18
|
+
case "UNKNOWN_TYPE":
|
|
19
|
+
return MetricType.UNKNOWN_TYPE;
|
|
20
|
+
case 1:
|
|
21
|
+
case "COUNTER":
|
|
22
|
+
return MetricType.COUNTER;
|
|
23
|
+
case 2:
|
|
24
|
+
case "GAUGE":
|
|
25
|
+
return MetricType.GAUGE;
|
|
26
|
+
case 3:
|
|
27
|
+
case "HISTOGRAM":
|
|
28
|
+
return MetricType.HISTOGRAM;
|
|
29
|
+
case -1:
|
|
30
|
+
case "UNRECOGNIZED":
|
|
31
|
+
default:
|
|
32
|
+
return MetricType.UNRECOGNIZED;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function metricTypeToJSON(object: MetricType): string {
|
|
37
|
+
switch (object) {
|
|
38
|
+
case MetricType.UNKNOWN_TYPE:
|
|
39
|
+
return "UNKNOWN_TYPE";
|
|
40
|
+
case MetricType.COUNTER:
|
|
41
|
+
return "COUNTER";
|
|
42
|
+
case MetricType.GAUGE:
|
|
43
|
+
return "GAUGE";
|
|
44
|
+
case MetricType.HISTOGRAM:
|
|
45
|
+
return "HISTOGRAM";
|
|
46
|
+
case MetricType.UNRECOGNIZED:
|
|
47
|
+
default:
|
|
48
|
+
return "UNRECOGNIZED";
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
7
52
|
export enum AggregationType {
|
|
8
53
|
COUNT = 0,
|
|
9
54
|
SUM = 1,
|
|
@@ -81,7 +126,7 @@ export enum HandlerType {
|
|
|
81
126
|
ETH_LOG = 1,
|
|
82
127
|
ETH_BLOCK = 2,
|
|
83
128
|
ETH_TRACE = 5,
|
|
84
|
-
|
|
129
|
+
SOL_INSTRUCTION = 4,
|
|
85
130
|
APT_EVENT = 6,
|
|
86
131
|
APT_CALL = 7,
|
|
87
132
|
APT_RESOURCE = 8,
|
|
@@ -104,8 +149,8 @@ export function handlerTypeFromJSON(object: any): HandlerType {
|
|
|
104
149
|
case "ETH_TRACE":
|
|
105
150
|
return HandlerType.ETH_TRACE;
|
|
106
151
|
case 4:
|
|
107
|
-
case "
|
|
108
|
-
return HandlerType.
|
|
152
|
+
case "SOL_INSTRUCTION":
|
|
153
|
+
return HandlerType.SOL_INSTRUCTION;
|
|
109
154
|
case 6:
|
|
110
155
|
case "APT_EVENT":
|
|
111
156
|
return HandlerType.APT_EVENT;
|
|
@@ -135,8 +180,8 @@ export function handlerTypeToJSON(object: HandlerType): string {
|
|
|
135
180
|
return "ETH_BLOCK";
|
|
136
181
|
case HandlerType.ETH_TRACE:
|
|
137
182
|
return "ETH_TRACE";
|
|
138
|
-
case HandlerType.
|
|
139
|
-
return "
|
|
183
|
+
case HandlerType.SOL_INSTRUCTION:
|
|
184
|
+
return "SOL_INSTRUCTION";
|
|
140
185
|
case HandlerType.APT_EVENT:
|
|
141
186
|
return "APT_EVENT";
|
|
142
187
|
case HandlerType.APT_CALL:
|
|
@@ -221,7 +266,6 @@ export interface ProcessConfigResponse {
|
|
|
221
266
|
|
|
222
267
|
export interface ContractConfig {
|
|
223
268
|
contract: ContractInfo | undefined;
|
|
224
|
-
blockConfigs: BlockHandlerConfig[];
|
|
225
269
|
intervalConfigs: OnIntervalConfig[];
|
|
226
270
|
logConfigs: LogHandlerConfig[];
|
|
227
271
|
traceConfigs: TraceHandlerConfig[];
|
|
@@ -296,7 +340,7 @@ export interface MetricConfig {
|
|
|
296
340
|
description: string;
|
|
297
341
|
unit: string;
|
|
298
342
|
sparse: boolean;
|
|
299
|
-
|
|
343
|
+
type: MetricType;
|
|
300
344
|
aggregationConfig: AggregationConfig | undefined;
|
|
301
345
|
}
|
|
302
346
|
|
|
@@ -403,19 +447,6 @@ export interface Topic {
|
|
|
403
447
|
hashes: string[];
|
|
404
448
|
}
|
|
405
449
|
|
|
406
|
-
export interface ProcessTransactionsRequest {
|
|
407
|
-
chainId: string;
|
|
408
|
-
transactions: RawTransaction[];
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
export interface ProcessInstructionsRequest {
|
|
412
|
-
instructions: Instruction[];
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export interface ProcessBlocksRequest {
|
|
416
|
-
blockBindings: BlockBinding[];
|
|
417
|
-
}
|
|
418
|
-
|
|
419
450
|
export interface ProcessBindingsRequest {
|
|
420
451
|
bindings: DataBinding[];
|
|
421
452
|
}
|
|
@@ -445,16 +476,10 @@ export interface Data {
|
|
|
445
476
|
|
|
446
477
|
export interface DataBinding {
|
|
447
478
|
data: Data | undefined;
|
|
448
|
-
handlerId: number;
|
|
449
479
|
handlerType: HandlerType;
|
|
450
480
|
handlerIds: number[];
|
|
451
481
|
}
|
|
452
482
|
|
|
453
|
-
export interface BlockBinding {
|
|
454
|
-
block: RawBlock | undefined;
|
|
455
|
-
handlerIds: number[];
|
|
456
|
-
}
|
|
457
|
-
|
|
458
483
|
export interface RawBlock {
|
|
459
484
|
raw: Uint8Array;
|
|
460
485
|
}
|
|
@@ -467,14 +492,6 @@ export interface ProcessResult {
|
|
|
467
492
|
exports: ExportResult[];
|
|
468
493
|
}
|
|
469
494
|
|
|
470
|
-
export interface DataDescriptor {
|
|
471
|
-
name: string;
|
|
472
|
-
description: string;
|
|
473
|
-
unit: string;
|
|
474
|
-
sparse: boolean;
|
|
475
|
-
resolutionInSeconds: number;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
495
|
export interface RecordMetaData {
|
|
479
496
|
address: string;
|
|
480
497
|
contractName: string;
|
|
@@ -483,7 +500,6 @@ export interface RecordMetaData {
|
|
|
483
500
|
chainId: string;
|
|
484
501
|
transactionIndex: number;
|
|
485
502
|
logIndex: number;
|
|
486
|
-
dataDescriptor: DataDescriptor | undefined;
|
|
487
503
|
name: string;
|
|
488
504
|
labels: { [key: string]: string };
|
|
489
505
|
}
|
|
@@ -849,7 +865,6 @@ export const ProcessConfigResponse = {
|
|
|
849
865
|
function createBaseContractConfig(): ContractConfig {
|
|
850
866
|
return {
|
|
851
867
|
contract: undefined,
|
|
852
|
-
blockConfigs: [],
|
|
853
868
|
intervalConfigs: [],
|
|
854
869
|
logConfigs: [],
|
|
855
870
|
traceConfigs: [],
|
|
@@ -870,9 +885,6 @@ export const ContractConfig = {
|
|
|
870
885
|
if (message.contract !== undefined) {
|
|
871
886
|
ContractInfo.encode(message.contract, writer.uint32(10).fork()).ldelim();
|
|
872
887
|
}
|
|
873
|
-
for (const v of message.blockConfigs) {
|
|
874
|
-
BlockHandlerConfig.encode(v!, writer.uint32(58).fork()).ldelim();
|
|
875
|
-
}
|
|
876
888
|
for (const v of message.intervalConfigs) {
|
|
877
889
|
OnIntervalConfig.encode(v!, writer.uint32(90).fork()).ldelim();
|
|
878
890
|
}
|
|
@@ -916,11 +928,6 @@ export const ContractConfig = {
|
|
|
916
928
|
case 1:
|
|
917
929
|
message.contract = ContractInfo.decode(reader, reader.uint32());
|
|
918
930
|
break;
|
|
919
|
-
case 7:
|
|
920
|
-
message.blockConfigs.push(
|
|
921
|
-
BlockHandlerConfig.decode(reader, reader.uint32())
|
|
922
|
-
);
|
|
923
|
-
break;
|
|
924
931
|
case 11:
|
|
925
932
|
message.intervalConfigs.push(
|
|
926
933
|
OnIntervalConfig.decode(reader, reader.uint32())
|
|
@@ -974,9 +981,6 @@ export const ContractConfig = {
|
|
|
974
981
|
contract: isSet(object.contract)
|
|
975
982
|
? ContractInfo.fromJSON(object.contract)
|
|
976
983
|
: undefined,
|
|
977
|
-
blockConfigs: Array.isArray(object?.blockConfigs)
|
|
978
|
-
? object.blockConfigs.map((e: any) => BlockHandlerConfig.fromJSON(e))
|
|
979
|
-
: [],
|
|
980
984
|
intervalConfigs: Array.isArray(object?.intervalConfigs)
|
|
981
985
|
? object.intervalConfigs.map((e: any) => OnIntervalConfig.fromJSON(e))
|
|
982
986
|
: [],
|
|
@@ -1017,13 +1021,6 @@ export const ContractConfig = {
|
|
|
1017
1021
|
(obj.contract = message.contract
|
|
1018
1022
|
? ContractInfo.toJSON(message.contract)
|
|
1019
1023
|
: undefined);
|
|
1020
|
-
if (message.blockConfigs) {
|
|
1021
|
-
obj.blockConfigs = message.blockConfigs.map((e) =>
|
|
1022
|
-
e ? BlockHandlerConfig.toJSON(e) : undefined
|
|
1023
|
-
);
|
|
1024
|
-
} else {
|
|
1025
|
-
obj.blockConfigs = [];
|
|
1026
|
-
}
|
|
1027
1024
|
if (message.intervalConfigs) {
|
|
1028
1025
|
obj.intervalConfigs = message.intervalConfigs.map((e) =>
|
|
1029
1026
|
e ? OnIntervalConfig.toJSON(e) : undefined
|
|
@@ -1078,8 +1075,6 @@ export const ContractConfig = {
|
|
|
1078
1075
|
object.contract !== undefined && object.contract !== null
|
|
1079
1076
|
? ContractInfo.fromPartial(object.contract)
|
|
1080
1077
|
: undefined;
|
|
1081
|
-
message.blockConfigs =
|
|
1082
|
-
object.blockConfigs?.map((e) => BlockHandlerConfig.fromPartial(e)) || [];
|
|
1083
1078
|
message.intervalConfigs =
|
|
1084
1079
|
object.intervalConfigs?.map((e) => OnIntervalConfig.fromPartial(e)) || [];
|
|
1085
1080
|
message.logConfigs =
|
|
@@ -1442,7 +1437,7 @@ function createBaseMetricConfig(): MetricConfig {
|
|
|
1442
1437
|
description: "",
|
|
1443
1438
|
unit: "",
|
|
1444
1439
|
sparse: false,
|
|
1445
|
-
|
|
1440
|
+
type: 0,
|
|
1446
1441
|
aggregationConfig: undefined,
|
|
1447
1442
|
};
|
|
1448
1443
|
}
|
|
@@ -1464,8 +1459,8 @@ export const MetricConfig = {
|
|
|
1464
1459
|
if (message.sparse === true) {
|
|
1465
1460
|
writer.uint32(32).bool(message.sparse);
|
|
1466
1461
|
}
|
|
1467
|
-
if (message.
|
|
1468
|
-
writer.uint32(
|
|
1462
|
+
if (message.type !== 0) {
|
|
1463
|
+
writer.uint32(56).int32(message.type);
|
|
1469
1464
|
}
|
|
1470
1465
|
if (message.aggregationConfig !== undefined) {
|
|
1471
1466
|
AggregationConfig.encode(
|
|
@@ -1495,8 +1490,8 @@ export const MetricConfig = {
|
|
|
1495
1490
|
case 4:
|
|
1496
1491
|
message.sparse = reader.bool();
|
|
1497
1492
|
break;
|
|
1498
|
-
case
|
|
1499
|
-
message.
|
|
1493
|
+
case 7:
|
|
1494
|
+
message.type = reader.int32() as any;
|
|
1500
1495
|
break;
|
|
1501
1496
|
case 6:
|
|
1502
1497
|
message.aggregationConfig = AggregationConfig.decode(
|
|
@@ -1518,9 +1513,7 @@ export const MetricConfig = {
|
|
|
1518
1513
|
description: isSet(object.description) ? String(object.description) : "",
|
|
1519
1514
|
unit: isSet(object.unit) ? String(object.unit) : "",
|
|
1520
1515
|
sparse: isSet(object.sparse) ? Boolean(object.sparse) : false,
|
|
1521
|
-
|
|
1522
|
-
? Number(object.resolutionInSeconds)
|
|
1523
|
-
: 0,
|
|
1516
|
+
type: isSet(object.type) ? metricTypeFromJSON(object.type) : 0,
|
|
1524
1517
|
aggregationConfig: isSet(object.aggregationConfig)
|
|
1525
1518
|
? AggregationConfig.fromJSON(object.aggregationConfig)
|
|
1526
1519
|
: undefined,
|
|
@@ -1534,8 +1527,7 @@ export const MetricConfig = {
|
|
|
1534
1527
|
(obj.description = message.description);
|
|
1535
1528
|
message.unit !== undefined && (obj.unit = message.unit);
|
|
1536
1529
|
message.sparse !== undefined && (obj.sparse = message.sparse);
|
|
1537
|
-
message.
|
|
1538
|
-
(obj.resolutionInSeconds = Math.round(message.resolutionInSeconds));
|
|
1530
|
+
message.type !== undefined && (obj.type = metricTypeToJSON(message.type));
|
|
1539
1531
|
message.aggregationConfig !== undefined &&
|
|
1540
1532
|
(obj.aggregationConfig = message.aggregationConfig
|
|
1541
1533
|
? AggregationConfig.toJSON(message.aggregationConfig)
|
|
@@ -1549,7 +1541,7 @@ export const MetricConfig = {
|
|
|
1549
1541
|
message.description = object.description ?? "";
|
|
1550
1542
|
message.unit = object.unit ?? "";
|
|
1551
1543
|
message.sparse = object.sparse ?? false;
|
|
1552
|
-
message.
|
|
1544
|
+
message.type = object.type ?? 0;
|
|
1553
1545
|
message.aggregationConfig =
|
|
1554
1546
|
object.aggregationConfig !== undefined &&
|
|
1555
1547
|
object.aggregationConfig !== null
|
|
@@ -3049,217 +3041,6 @@ export const Topic = {
|
|
|
3049
3041
|
},
|
|
3050
3042
|
};
|
|
3051
3043
|
|
|
3052
|
-
function createBaseProcessTransactionsRequest(): ProcessTransactionsRequest {
|
|
3053
|
-
return { chainId: "", transactions: [] };
|
|
3054
|
-
}
|
|
3055
|
-
|
|
3056
|
-
export const ProcessTransactionsRequest = {
|
|
3057
|
-
encode(
|
|
3058
|
-
message: ProcessTransactionsRequest,
|
|
3059
|
-
writer: _m0.Writer = _m0.Writer.create()
|
|
3060
|
-
): _m0.Writer {
|
|
3061
|
-
if (message.chainId !== "") {
|
|
3062
|
-
writer.uint32(10).string(message.chainId);
|
|
3063
|
-
}
|
|
3064
|
-
for (const v of message.transactions) {
|
|
3065
|
-
RawTransaction.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
3066
|
-
}
|
|
3067
|
-
return writer;
|
|
3068
|
-
},
|
|
3069
|
-
|
|
3070
|
-
decode(
|
|
3071
|
-
input: _m0.Reader | Uint8Array,
|
|
3072
|
-
length?: number
|
|
3073
|
-
): ProcessTransactionsRequest {
|
|
3074
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3075
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3076
|
-
const message = createBaseProcessTransactionsRequest();
|
|
3077
|
-
while (reader.pos < end) {
|
|
3078
|
-
const tag = reader.uint32();
|
|
3079
|
-
switch (tag >>> 3) {
|
|
3080
|
-
case 1:
|
|
3081
|
-
message.chainId = reader.string();
|
|
3082
|
-
break;
|
|
3083
|
-
case 2:
|
|
3084
|
-
message.transactions.push(
|
|
3085
|
-
RawTransaction.decode(reader, reader.uint32())
|
|
3086
|
-
);
|
|
3087
|
-
break;
|
|
3088
|
-
default:
|
|
3089
|
-
reader.skipType(tag & 7);
|
|
3090
|
-
break;
|
|
3091
|
-
}
|
|
3092
|
-
}
|
|
3093
|
-
return message;
|
|
3094
|
-
},
|
|
3095
|
-
|
|
3096
|
-
fromJSON(object: any): ProcessTransactionsRequest {
|
|
3097
|
-
return {
|
|
3098
|
-
chainId: isSet(object.chainId) ? String(object.chainId) : "",
|
|
3099
|
-
transactions: Array.isArray(object?.transactions)
|
|
3100
|
-
? object.transactions.map((e: any) => RawTransaction.fromJSON(e))
|
|
3101
|
-
: [],
|
|
3102
|
-
};
|
|
3103
|
-
},
|
|
3104
|
-
|
|
3105
|
-
toJSON(message: ProcessTransactionsRequest): unknown {
|
|
3106
|
-
const obj: any = {};
|
|
3107
|
-
message.chainId !== undefined && (obj.chainId = message.chainId);
|
|
3108
|
-
if (message.transactions) {
|
|
3109
|
-
obj.transactions = message.transactions.map((e) =>
|
|
3110
|
-
e ? RawTransaction.toJSON(e) : undefined
|
|
3111
|
-
);
|
|
3112
|
-
} else {
|
|
3113
|
-
obj.transactions = [];
|
|
3114
|
-
}
|
|
3115
|
-
return obj;
|
|
3116
|
-
},
|
|
3117
|
-
|
|
3118
|
-
fromPartial(
|
|
3119
|
-
object: DeepPartial<ProcessTransactionsRequest>
|
|
3120
|
-
): ProcessTransactionsRequest {
|
|
3121
|
-
const message = createBaseProcessTransactionsRequest();
|
|
3122
|
-
message.chainId = object.chainId ?? "";
|
|
3123
|
-
message.transactions =
|
|
3124
|
-
object.transactions?.map((e) => RawTransaction.fromPartial(e)) || [];
|
|
3125
|
-
return message;
|
|
3126
|
-
},
|
|
3127
|
-
};
|
|
3128
|
-
|
|
3129
|
-
function createBaseProcessInstructionsRequest(): ProcessInstructionsRequest {
|
|
3130
|
-
return { instructions: [] };
|
|
3131
|
-
}
|
|
3132
|
-
|
|
3133
|
-
export const ProcessInstructionsRequest = {
|
|
3134
|
-
encode(
|
|
3135
|
-
message: ProcessInstructionsRequest,
|
|
3136
|
-
writer: _m0.Writer = _m0.Writer.create()
|
|
3137
|
-
): _m0.Writer {
|
|
3138
|
-
for (const v of message.instructions) {
|
|
3139
|
-
Instruction.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
3140
|
-
}
|
|
3141
|
-
return writer;
|
|
3142
|
-
},
|
|
3143
|
-
|
|
3144
|
-
decode(
|
|
3145
|
-
input: _m0.Reader | Uint8Array,
|
|
3146
|
-
length?: number
|
|
3147
|
-
): ProcessInstructionsRequest {
|
|
3148
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3149
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3150
|
-
const message = createBaseProcessInstructionsRequest();
|
|
3151
|
-
while (reader.pos < end) {
|
|
3152
|
-
const tag = reader.uint32();
|
|
3153
|
-
switch (tag >>> 3) {
|
|
3154
|
-
case 1:
|
|
3155
|
-
message.instructions.push(
|
|
3156
|
-
Instruction.decode(reader, reader.uint32())
|
|
3157
|
-
);
|
|
3158
|
-
break;
|
|
3159
|
-
default:
|
|
3160
|
-
reader.skipType(tag & 7);
|
|
3161
|
-
break;
|
|
3162
|
-
}
|
|
3163
|
-
}
|
|
3164
|
-
return message;
|
|
3165
|
-
},
|
|
3166
|
-
|
|
3167
|
-
fromJSON(object: any): ProcessInstructionsRequest {
|
|
3168
|
-
return {
|
|
3169
|
-
instructions: Array.isArray(object?.instructions)
|
|
3170
|
-
? object.instructions.map((e: any) => Instruction.fromJSON(e))
|
|
3171
|
-
: [],
|
|
3172
|
-
};
|
|
3173
|
-
},
|
|
3174
|
-
|
|
3175
|
-
toJSON(message: ProcessInstructionsRequest): unknown {
|
|
3176
|
-
const obj: any = {};
|
|
3177
|
-
if (message.instructions) {
|
|
3178
|
-
obj.instructions = message.instructions.map((e) =>
|
|
3179
|
-
e ? Instruction.toJSON(e) : undefined
|
|
3180
|
-
);
|
|
3181
|
-
} else {
|
|
3182
|
-
obj.instructions = [];
|
|
3183
|
-
}
|
|
3184
|
-
return obj;
|
|
3185
|
-
},
|
|
3186
|
-
|
|
3187
|
-
fromPartial(
|
|
3188
|
-
object: DeepPartial<ProcessInstructionsRequest>
|
|
3189
|
-
): ProcessInstructionsRequest {
|
|
3190
|
-
const message = createBaseProcessInstructionsRequest();
|
|
3191
|
-
message.instructions =
|
|
3192
|
-
object.instructions?.map((e) => Instruction.fromPartial(e)) || [];
|
|
3193
|
-
return message;
|
|
3194
|
-
},
|
|
3195
|
-
};
|
|
3196
|
-
|
|
3197
|
-
function createBaseProcessBlocksRequest(): ProcessBlocksRequest {
|
|
3198
|
-
return { blockBindings: [] };
|
|
3199
|
-
}
|
|
3200
|
-
|
|
3201
|
-
export const ProcessBlocksRequest = {
|
|
3202
|
-
encode(
|
|
3203
|
-
message: ProcessBlocksRequest,
|
|
3204
|
-
writer: _m0.Writer = _m0.Writer.create()
|
|
3205
|
-
): _m0.Writer {
|
|
3206
|
-
for (const v of message.blockBindings) {
|
|
3207
|
-
BlockBinding.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
3208
|
-
}
|
|
3209
|
-
return writer;
|
|
3210
|
-
},
|
|
3211
|
-
|
|
3212
|
-
decode(
|
|
3213
|
-
input: _m0.Reader | Uint8Array,
|
|
3214
|
-
length?: number
|
|
3215
|
-
): ProcessBlocksRequest {
|
|
3216
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3217
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3218
|
-
const message = createBaseProcessBlocksRequest();
|
|
3219
|
-
while (reader.pos < end) {
|
|
3220
|
-
const tag = reader.uint32();
|
|
3221
|
-
switch (tag >>> 3) {
|
|
3222
|
-
case 2:
|
|
3223
|
-
message.blockBindings.push(
|
|
3224
|
-
BlockBinding.decode(reader, reader.uint32())
|
|
3225
|
-
);
|
|
3226
|
-
break;
|
|
3227
|
-
default:
|
|
3228
|
-
reader.skipType(tag & 7);
|
|
3229
|
-
break;
|
|
3230
|
-
}
|
|
3231
|
-
}
|
|
3232
|
-
return message;
|
|
3233
|
-
},
|
|
3234
|
-
|
|
3235
|
-
fromJSON(object: any): ProcessBlocksRequest {
|
|
3236
|
-
return {
|
|
3237
|
-
blockBindings: Array.isArray(object?.blockBindings)
|
|
3238
|
-
? object.blockBindings.map((e: any) => BlockBinding.fromJSON(e))
|
|
3239
|
-
: [],
|
|
3240
|
-
};
|
|
3241
|
-
},
|
|
3242
|
-
|
|
3243
|
-
toJSON(message: ProcessBlocksRequest): unknown {
|
|
3244
|
-
const obj: any = {};
|
|
3245
|
-
if (message.blockBindings) {
|
|
3246
|
-
obj.blockBindings = message.blockBindings.map((e) =>
|
|
3247
|
-
e ? BlockBinding.toJSON(e) : undefined
|
|
3248
|
-
);
|
|
3249
|
-
} else {
|
|
3250
|
-
obj.blockBindings = [];
|
|
3251
|
-
}
|
|
3252
|
-
return obj;
|
|
3253
|
-
},
|
|
3254
|
-
|
|
3255
|
-
fromPartial(object: DeepPartial<ProcessBlocksRequest>): ProcessBlocksRequest {
|
|
3256
|
-
const message = createBaseProcessBlocksRequest();
|
|
3257
|
-
message.blockBindings =
|
|
3258
|
-
object.blockBindings?.map((e) => BlockBinding.fromPartial(e)) || [];
|
|
3259
|
-
return message;
|
|
3260
|
-
},
|
|
3261
|
-
};
|
|
3262
|
-
|
|
3263
3044
|
function createBaseProcessBindingsRequest(): ProcessBindingsRequest {
|
|
3264
3045
|
return { bindings: [] };
|
|
3265
3046
|
}
|
|
@@ -3654,7 +3435,7 @@ export const Data = {
|
|
|
3654
3435
|
};
|
|
3655
3436
|
|
|
3656
3437
|
function createBaseDataBinding(): DataBinding {
|
|
3657
|
-
return { data: undefined,
|
|
3438
|
+
return { data: undefined, handlerType: 0, handlerIds: [] };
|
|
3658
3439
|
}
|
|
3659
3440
|
|
|
3660
3441
|
export const DataBinding = {
|
|
@@ -3665,9 +3446,6 @@ export const DataBinding = {
|
|
|
3665
3446
|
if (message.data !== undefined) {
|
|
3666
3447
|
Data.encode(message.data, writer.uint32(10).fork()).ldelim();
|
|
3667
3448
|
}
|
|
3668
|
-
if (message.handlerId !== 0) {
|
|
3669
|
-
writer.uint32(16).int32(message.handlerId);
|
|
3670
|
-
}
|
|
3671
3449
|
if (message.handlerType !== 0) {
|
|
3672
3450
|
writer.uint32(24).int32(message.handlerType);
|
|
3673
3451
|
}
|
|
@@ -3689,9 +3467,6 @@ export const DataBinding = {
|
|
|
3689
3467
|
case 1:
|
|
3690
3468
|
message.data = Data.decode(reader, reader.uint32());
|
|
3691
3469
|
break;
|
|
3692
|
-
case 2:
|
|
3693
|
-
message.handlerId = reader.int32();
|
|
3694
|
-
break;
|
|
3695
3470
|
case 3:
|
|
3696
3471
|
message.handlerType = reader.int32() as any;
|
|
3697
3472
|
break;
|
|
@@ -3716,7 +3491,6 @@ export const DataBinding = {
|
|
|
3716
3491
|
fromJSON(object: any): DataBinding {
|
|
3717
3492
|
return {
|
|
3718
3493
|
data: isSet(object.data) ? Data.fromJSON(object.data) : undefined,
|
|
3719
|
-
handlerId: isSet(object.handlerId) ? Number(object.handlerId) : 0,
|
|
3720
3494
|
handlerType: isSet(object.handlerType)
|
|
3721
3495
|
? handlerTypeFromJSON(object.handlerType)
|
|
3722
3496
|
: 0,
|
|
@@ -3730,8 +3504,6 @@ export const DataBinding = {
|
|
|
3730
3504
|
const obj: any = {};
|
|
3731
3505
|
message.data !== undefined &&
|
|
3732
3506
|
(obj.data = message.data ? Data.toJSON(message.data) : undefined);
|
|
3733
|
-
message.handlerId !== undefined &&
|
|
3734
|
-
(obj.handlerId = Math.round(message.handlerId));
|
|
3735
3507
|
message.handlerType !== undefined &&
|
|
3736
3508
|
(obj.handlerType = handlerTypeToJSON(message.handlerType));
|
|
3737
3509
|
if (message.handlerIds) {
|
|
@@ -3748,93 +3520,12 @@ export const DataBinding = {
|
|
|
3748
3520
|
object.data !== undefined && object.data !== null
|
|
3749
3521
|
? Data.fromPartial(object.data)
|
|
3750
3522
|
: undefined;
|
|
3751
|
-
message.handlerId = object.handlerId ?? 0;
|
|
3752
3523
|
message.handlerType = object.handlerType ?? 0;
|
|
3753
3524
|
message.handlerIds = object.handlerIds?.map((e) => e) || [];
|
|
3754
3525
|
return message;
|
|
3755
3526
|
},
|
|
3756
3527
|
};
|
|
3757
3528
|
|
|
3758
|
-
function createBaseBlockBinding(): BlockBinding {
|
|
3759
|
-
return { block: undefined, handlerIds: [] };
|
|
3760
|
-
}
|
|
3761
|
-
|
|
3762
|
-
export const BlockBinding = {
|
|
3763
|
-
encode(
|
|
3764
|
-
message: BlockBinding,
|
|
3765
|
-
writer: _m0.Writer = _m0.Writer.create()
|
|
3766
|
-
): _m0.Writer {
|
|
3767
|
-
if (message.block !== undefined) {
|
|
3768
|
-
RawBlock.encode(message.block, writer.uint32(10).fork()).ldelim();
|
|
3769
|
-
}
|
|
3770
|
-
writer.uint32(18).fork();
|
|
3771
|
-
for (const v of message.handlerIds) {
|
|
3772
|
-
writer.int32(v);
|
|
3773
|
-
}
|
|
3774
|
-
writer.ldelim();
|
|
3775
|
-
return writer;
|
|
3776
|
-
},
|
|
3777
|
-
|
|
3778
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): BlockBinding {
|
|
3779
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3780
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3781
|
-
const message = createBaseBlockBinding();
|
|
3782
|
-
while (reader.pos < end) {
|
|
3783
|
-
const tag = reader.uint32();
|
|
3784
|
-
switch (tag >>> 3) {
|
|
3785
|
-
case 1:
|
|
3786
|
-
message.block = RawBlock.decode(reader, reader.uint32());
|
|
3787
|
-
break;
|
|
3788
|
-
case 2:
|
|
3789
|
-
if ((tag & 7) === 2) {
|
|
3790
|
-
const end2 = reader.uint32() + reader.pos;
|
|
3791
|
-
while (reader.pos < end2) {
|
|
3792
|
-
message.handlerIds.push(reader.int32());
|
|
3793
|
-
}
|
|
3794
|
-
} else {
|
|
3795
|
-
message.handlerIds.push(reader.int32());
|
|
3796
|
-
}
|
|
3797
|
-
break;
|
|
3798
|
-
default:
|
|
3799
|
-
reader.skipType(tag & 7);
|
|
3800
|
-
break;
|
|
3801
|
-
}
|
|
3802
|
-
}
|
|
3803
|
-
return message;
|
|
3804
|
-
},
|
|
3805
|
-
|
|
3806
|
-
fromJSON(object: any): BlockBinding {
|
|
3807
|
-
return {
|
|
3808
|
-
block: isSet(object.block) ? RawBlock.fromJSON(object.block) : undefined,
|
|
3809
|
-
handlerIds: Array.isArray(object?.handlerIds)
|
|
3810
|
-
? object.handlerIds.map((e: any) => Number(e))
|
|
3811
|
-
: [],
|
|
3812
|
-
};
|
|
3813
|
-
},
|
|
3814
|
-
|
|
3815
|
-
toJSON(message: BlockBinding): unknown {
|
|
3816
|
-
const obj: any = {};
|
|
3817
|
-
message.block !== undefined &&
|
|
3818
|
-
(obj.block = message.block ? RawBlock.toJSON(message.block) : undefined);
|
|
3819
|
-
if (message.handlerIds) {
|
|
3820
|
-
obj.handlerIds = message.handlerIds.map((e) => Math.round(e));
|
|
3821
|
-
} else {
|
|
3822
|
-
obj.handlerIds = [];
|
|
3823
|
-
}
|
|
3824
|
-
return obj;
|
|
3825
|
-
},
|
|
3826
|
-
|
|
3827
|
-
fromPartial(object: DeepPartial<BlockBinding>): BlockBinding {
|
|
3828
|
-
const message = createBaseBlockBinding();
|
|
3829
|
-
message.block =
|
|
3830
|
-
object.block !== undefined && object.block !== null
|
|
3831
|
-
? RawBlock.fromPartial(object.block)
|
|
3832
|
-
: undefined;
|
|
3833
|
-
message.handlerIds = object.handlerIds?.map((e) => e) || [];
|
|
3834
|
-
return message;
|
|
3835
|
-
},
|
|
3836
|
-
};
|
|
3837
|
-
|
|
3838
3529
|
function createBaseRawBlock(): RawBlock {
|
|
3839
3530
|
return { raw: new Uint8Array() };
|
|
3840
3531
|
}
|
|
@@ -4022,104 +3713,6 @@ export const ProcessResult = {
|
|
|
4022
3713
|
},
|
|
4023
3714
|
};
|
|
4024
3715
|
|
|
4025
|
-
function createBaseDataDescriptor(): DataDescriptor {
|
|
4026
|
-
return {
|
|
4027
|
-
name: "",
|
|
4028
|
-
description: "",
|
|
4029
|
-
unit: "",
|
|
4030
|
-
sparse: false,
|
|
4031
|
-
resolutionInSeconds: 0,
|
|
4032
|
-
};
|
|
4033
|
-
}
|
|
4034
|
-
|
|
4035
|
-
export const DataDescriptor = {
|
|
4036
|
-
encode(
|
|
4037
|
-
message: DataDescriptor,
|
|
4038
|
-
writer: _m0.Writer = _m0.Writer.create()
|
|
4039
|
-
): _m0.Writer {
|
|
4040
|
-
if (message.name !== "") {
|
|
4041
|
-
writer.uint32(10).string(message.name);
|
|
4042
|
-
}
|
|
4043
|
-
if (message.description !== "") {
|
|
4044
|
-
writer.uint32(26).string(message.description);
|
|
4045
|
-
}
|
|
4046
|
-
if (message.unit !== "") {
|
|
4047
|
-
writer.uint32(18).string(message.unit);
|
|
4048
|
-
}
|
|
4049
|
-
if (message.sparse === true) {
|
|
4050
|
-
writer.uint32(32).bool(message.sparse);
|
|
4051
|
-
}
|
|
4052
|
-
if (message.resolutionInSeconds !== 0) {
|
|
4053
|
-
writer.uint32(40).int32(message.resolutionInSeconds);
|
|
4054
|
-
}
|
|
4055
|
-
return writer;
|
|
4056
|
-
},
|
|
4057
|
-
|
|
4058
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): DataDescriptor {
|
|
4059
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
4060
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
4061
|
-
const message = createBaseDataDescriptor();
|
|
4062
|
-
while (reader.pos < end) {
|
|
4063
|
-
const tag = reader.uint32();
|
|
4064
|
-
switch (tag >>> 3) {
|
|
4065
|
-
case 1:
|
|
4066
|
-
message.name = reader.string();
|
|
4067
|
-
break;
|
|
4068
|
-
case 3:
|
|
4069
|
-
message.description = reader.string();
|
|
4070
|
-
break;
|
|
4071
|
-
case 2:
|
|
4072
|
-
message.unit = reader.string();
|
|
4073
|
-
break;
|
|
4074
|
-
case 4:
|
|
4075
|
-
message.sparse = reader.bool();
|
|
4076
|
-
break;
|
|
4077
|
-
case 5:
|
|
4078
|
-
message.resolutionInSeconds = reader.int32();
|
|
4079
|
-
break;
|
|
4080
|
-
default:
|
|
4081
|
-
reader.skipType(tag & 7);
|
|
4082
|
-
break;
|
|
4083
|
-
}
|
|
4084
|
-
}
|
|
4085
|
-
return message;
|
|
4086
|
-
},
|
|
4087
|
-
|
|
4088
|
-
fromJSON(object: any): DataDescriptor {
|
|
4089
|
-
return {
|
|
4090
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
4091
|
-
description: isSet(object.description) ? String(object.description) : "",
|
|
4092
|
-
unit: isSet(object.unit) ? String(object.unit) : "",
|
|
4093
|
-
sparse: isSet(object.sparse) ? Boolean(object.sparse) : false,
|
|
4094
|
-
resolutionInSeconds: isSet(object.resolutionInSeconds)
|
|
4095
|
-
? Number(object.resolutionInSeconds)
|
|
4096
|
-
: 0,
|
|
4097
|
-
};
|
|
4098
|
-
},
|
|
4099
|
-
|
|
4100
|
-
toJSON(message: DataDescriptor): unknown {
|
|
4101
|
-
const obj: any = {};
|
|
4102
|
-
message.name !== undefined && (obj.name = message.name);
|
|
4103
|
-
message.description !== undefined &&
|
|
4104
|
-
(obj.description = message.description);
|
|
4105
|
-
message.unit !== undefined && (obj.unit = message.unit);
|
|
4106
|
-
message.sparse !== undefined && (obj.sparse = message.sparse);
|
|
4107
|
-
message.resolutionInSeconds !== undefined &&
|
|
4108
|
-
(obj.resolutionInSeconds = Math.round(message.resolutionInSeconds));
|
|
4109
|
-
return obj;
|
|
4110
|
-
},
|
|
4111
|
-
|
|
4112
|
-
fromPartial(object: DeepPartial<DataDescriptor>): DataDescriptor {
|
|
4113
|
-
const message = createBaseDataDescriptor();
|
|
4114
|
-
message.name = object.name ?? "";
|
|
4115
|
-
message.description = object.description ?? "";
|
|
4116
|
-
message.unit = object.unit ?? "";
|
|
4117
|
-
message.sparse = object.sparse ?? false;
|
|
4118
|
-
message.resolutionInSeconds = object.resolutionInSeconds ?? 0;
|
|
4119
|
-
return message;
|
|
4120
|
-
},
|
|
4121
|
-
};
|
|
4122
|
-
|
|
4123
3716
|
function createBaseRecordMetaData(): RecordMetaData {
|
|
4124
3717
|
return {
|
|
4125
3718
|
address: "",
|
|
@@ -4129,7 +3722,6 @@ function createBaseRecordMetaData(): RecordMetaData {
|
|
|
4129
3722
|
chainId: "",
|
|
4130
3723
|
transactionIndex: 0,
|
|
4131
3724
|
logIndex: 0,
|
|
4132
|
-
dataDescriptor: undefined,
|
|
4133
3725
|
name: "",
|
|
4134
3726
|
labels: {},
|
|
4135
3727
|
};
|
|
@@ -4161,12 +3753,6 @@ export const RecordMetaData = {
|
|
|
4161
3753
|
if (message.logIndex !== 0) {
|
|
4162
3754
|
writer.uint32(32).int32(message.logIndex);
|
|
4163
3755
|
}
|
|
4164
|
-
if (message.dataDescriptor !== undefined) {
|
|
4165
|
-
DataDescriptor.encode(
|
|
4166
|
-
message.dataDescriptor,
|
|
4167
|
-
writer.uint32(66).fork()
|
|
4168
|
-
).ldelim();
|
|
4169
|
-
}
|
|
4170
3756
|
if (message.name !== "") {
|
|
4171
3757
|
writer.uint32(82).string(message.name);
|
|
4172
3758
|
}
|
|
@@ -4207,12 +3793,6 @@ export const RecordMetaData = {
|
|
|
4207
3793
|
case 4:
|
|
4208
3794
|
message.logIndex = reader.int32();
|
|
4209
3795
|
break;
|
|
4210
|
-
case 8:
|
|
4211
|
-
message.dataDescriptor = DataDescriptor.decode(
|
|
4212
|
-
reader,
|
|
4213
|
-
reader.uint32()
|
|
4214
|
-
);
|
|
4215
|
-
break;
|
|
4216
3796
|
case 10:
|
|
4217
3797
|
message.name = reader.string();
|
|
4218
3798
|
break;
|
|
@@ -4250,9 +3830,6 @@ export const RecordMetaData = {
|
|
|
4250
3830
|
? Number(object.transactionIndex)
|
|
4251
3831
|
: 0,
|
|
4252
3832
|
logIndex: isSet(object.logIndex) ? Number(object.logIndex) : 0,
|
|
4253
|
-
dataDescriptor: isSet(object.dataDescriptor)
|
|
4254
|
-
? DataDescriptor.fromJSON(object.dataDescriptor)
|
|
4255
|
-
: undefined,
|
|
4256
3833
|
name: isSet(object.name) ? String(object.name) : "",
|
|
4257
3834
|
labels: isObject(object.labels)
|
|
4258
3835
|
? Object.entries(object.labels).reduce<{ [key: string]: string }>(
|
|
@@ -4280,10 +3857,6 @@ export const RecordMetaData = {
|
|
|
4280
3857
|
(obj.transactionIndex = Math.round(message.transactionIndex));
|
|
4281
3858
|
message.logIndex !== undefined &&
|
|
4282
3859
|
(obj.logIndex = Math.round(message.logIndex));
|
|
4283
|
-
message.dataDescriptor !== undefined &&
|
|
4284
|
-
(obj.dataDescriptor = message.dataDescriptor
|
|
4285
|
-
? DataDescriptor.toJSON(message.dataDescriptor)
|
|
4286
|
-
: undefined);
|
|
4287
3860
|
message.name !== undefined && (obj.name = message.name);
|
|
4288
3861
|
obj.labels = {};
|
|
4289
3862
|
if (message.labels) {
|
|
@@ -4306,10 +3879,6 @@ export const RecordMetaData = {
|
|
|
4306
3879
|
message.chainId = object.chainId ?? "";
|
|
4307
3880
|
message.transactionIndex = object.transactionIndex ?? 0;
|
|
4308
3881
|
message.logIndex = object.logIndex ?? 0;
|
|
4309
|
-
message.dataDescriptor =
|
|
4310
|
-
object.dataDescriptor !== undefined && object.dataDescriptor !== null
|
|
4311
|
-
? DataDescriptor.fromPartial(object.dataDescriptor)
|
|
4312
|
-
: undefined;
|
|
4313
3882
|
message.name = object.name ?? "";
|
|
4314
3883
|
message.labels = Object.entries(object.labels ?? {}).reduce<{
|
|
4315
3884
|
[key: string]: string;
|
|
@@ -5164,46 +4733,6 @@ export const ProcessorDefinition = {
|
|
|
5164
4733
|
responseStream: false,
|
|
5165
4734
|
options: {},
|
|
5166
4735
|
},
|
|
5167
|
-
processLogs: {
|
|
5168
|
-
name: "ProcessLogs",
|
|
5169
|
-
requestType: ProcessBindingsRequest,
|
|
5170
|
-
requestStream: false,
|
|
5171
|
-
responseType: ProcessBindingResponse,
|
|
5172
|
-
responseStream: false,
|
|
5173
|
-
options: {},
|
|
5174
|
-
},
|
|
5175
|
-
processTraces: {
|
|
5176
|
-
name: "ProcessTraces",
|
|
5177
|
-
requestType: ProcessBindingsRequest,
|
|
5178
|
-
requestStream: false,
|
|
5179
|
-
responseType: ProcessBindingResponse,
|
|
5180
|
-
responseStream: false,
|
|
5181
|
-
options: {},
|
|
5182
|
-
},
|
|
5183
|
-
processTransactions: {
|
|
5184
|
-
name: "ProcessTransactions",
|
|
5185
|
-
requestType: ProcessTransactionsRequest,
|
|
5186
|
-
requestStream: false,
|
|
5187
|
-
responseType: ProcessBindingResponse,
|
|
5188
|
-
responseStream: false,
|
|
5189
|
-
options: {},
|
|
5190
|
-
},
|
|
5191
|
-
processInstructions: {
|
|
5192
|
-
name: "ProcessInstructions",
|
|
5193
|
-
requestType: ProcessInstructionsRequest,
|
|
5194
|
-
requestStream: false,
|
|
5195
|
-
responseType: ProcessBindingResponse,
|
|
5196
|
-
responseStream: false,
|
|
5197
|
-
options: {},
|
|
5198
|
-
},
|
|
5199
|
-
processBlocks: {
|
|
5200
|
-
name: "ProcessBlocks",
|
|
5201
|
-
requestType: ProcessBlocksRequest,
|
|
5202
|
-
requestStream: false,
|
|
5203
|
-
responseType: ProcessBindingResponse,
|
|
5204
|
-
responseStream: false,
|
|
5205
|
-
options: {},
|
|
5206
|
-
},
|
|
5207
4736
|
processBindings: {
|
|
5208
4737
|
name: "ProcessBindings",
|
|
5209
4738
|
requestType: ProcessBindingsRequest,
|
|
@@ -5228,26 +4757,6 @@ export interface ProcessorServiceImplementation<CallContextExt = {}> {
|
|
|
5228
4757
|
request: ProcessConfigRequest,
|
|
5229
4758
|
context: CallContext & CallContextExt
|
|
5230
4759
|
): Promise<DeepPartial<ProcessConfigResponse>>;
|
|
5231
|
-
processLogs(
|
|
5232
|
-
request: ProcessBindingsRequest,
|
|
5233
|
-
context: CallContext & CallContextExt
|
|
5234
|
-
): Promise<DeepPartial<ProcessBindingResponse>>;
|
|
5235
|
-
processTraces(
|
|
5236
|
-
request: ProcessBindingsRequest,
|
|
5237
|
-
context: CallContext & CallContextExt
|
|
5238
|
-
): Promise<DeepPartial<ProcessBindingResponse>>;
|
|
5239
|
-
processTransactions(
|
|
5240
|
-
request: ProcessTransactionsRequest,
|
|
5241
|
-
context: CallContext & CallContextExt
|
|
5242
|
-
): Promise<DeepPartial<ProcessBindingResponse>>;
|
|
5243
|
-
processInstructions(
|
|
5244
|
-
request: ProcessInstructionsRequest,
|
|
5245
|
-
context: CallContext & CallContextExt
|
|
5246
|
-
): Promise<DeepPartial<ProcessBindingResponse>>;
|
|
5247
|
-
processBlocks(
|
|
5248
|
-
request: ProcessBlocksRequest,
|
|
5249
|
-
context: CallContext & CallContextExt
|
|
5250
|
-
): Promise<DeepPartial<ProcessBindingResponse>>;
|
|
5251
4760
|
processBindings(
|
|
5252
4761
|
request: ProcessBindingsRequest,
|
|
5253
4762
|
context: CallContext & CallContextExt
|
|
@@ -5267,26 +4776,6 @@ export interface ProcessorClient<CallOptionsExt = {}> {
|
|
|
5267
4776
|
request: DeepPartial<ProcessConfigRequest>,
|
|
5268
4777
|
options?: CallOptions & CallOptionsExt
|
|
5269
4778
|
): Promise<ProcessConfigResponse>;
|
|
5270
|
-
processLogs(
|
|
5271
|
-
request: DeepPartial<ProcessBindingsRequest>,
|
|
5272
|
-
options?: CallOptions & CallOptionsExt
|
|
5273
|
-
): Promise<ProcessBindingResponse>;
|
|
5274
|
-
processTraces(
|
|
5275
|
-
request: DeepPartial<ProcessBindingsRequest>,
|
|
5276
|
-
options?: CallOptions & CallOptionsExt
|
|
5277
|
-
): Promise<ProcessBindingResponse>;
|
|
5278
|
-
processTransactions(
|
|
5279
|
-
request: DeepPartial<ProcessTransactionsRequest>,
|
|
5280
|
-
options?: CallOptions & CallOptionsExt
|
|
5281
|
-
): Promise<ProcessBindingResponse>;
|
|
5282
|
-
processInstructions(
|
|
5283
|
-
request: DeepPartial<ProcessInstructionsRequest>,
|
|
5284
|
-
options?: CallOptions & CallOptionsExt
|
|
5285
|
-
): Promise<ProcessBindingResponse>;
|
|
5286
|
-
processBlocks(
|
|
5287
|
-
request: DeepPartial<ProcessBlocksRequest>,
|
|
5288
|
-
options?: CallOptions & CallOptionsExt
|
|
5289
|
-
): Promise<ProcessBindingResponse>;
|
|
5290
4779
|
processBindings(
|
|
5291
4780
|
request: DeepPartial<ProcessBindingsRequest>,
|
|
5292
4781
|
options?: CallOptions & CallOptionsExt
|