@sentio/protos 2.22.3 → 2.22.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/lib/chainquery/protos/chainquery.d.ts +24 -0
- package/lib/chainquery/protos/chainquery.d.ts.map +1 -1
- package/lib/chainquery/protos/chainquery.js +8 -0
- package/lib/chainquery/protos/chainquery.js.map +1 -1
- package/lib/processor/protos/processor.d.ts +14 -0
- package/lib/processor/protos/processor.d.ts.map +1 -1
- package/lib/processor/protos/processor.js +85 -2
- package/lib/processor/protos/processor.js.map +1 -1
- package/package.json +1 -1
- package/src/chainquery/protos/chainquery.ts +16 -0
- package/src/processor/protos/processor.ts +99 -2
package/package.json
CHANGED
|
@@ -1604,6 +1604,14 @@ export const RemoteResultTransferServiceDefinition = {
|
|
|
1604
1604
|
responseStream: false,
|
|
1605
1605
|
options: {},
|
|
1606
1606
|
},
|
|
1607
|
+
destroyResult: {
|
|
1608
|
+
name: "DestroyResult",
|
|
1609
|
+
requestType: RemoteResultRequest,
|
|
1610
|
+
requestStream: false,
|
|
1611
|
+
responseType: VoidResponse,
|
|
1612
|
+
responseStream: false,
|
|
1613
|
+
options: {},
|
|
1614
|
+
},
|
|
1607
1615
|
},
|
|
1608
1616
|
} as const;
|
|
1609
1617
|
|
|
@@ -1612,6 +1620,10 @@ export interface RemoteResultTransferServiceImplementation<CallContextExt = {}>
|
|
|
1612
1620
|
request: RemoteResultRequest,
|
|
1613
1621
|
context: CallContext & CallContextExt,
|
|
1614
1622
|
): Promise<DeepPartial<RemoteResultResponse>>;
|
|
1623
|
+
destroyResult(
|
|
1624
|
+
request: RemoteResultRequest,
|
|
1625
|
+
context: CallContext & CallContextExt,
|
|
1626
|
+
): Promise<DeepPartial<VoidResponse>>;
|
|
1615
1627
|
}
|
|
1616
1628
|
|
|
1617
1629
|
export interface RemoteResultTransferServiceClient<CallOptionsExt = {}> {
|
|
@@ -1619,6 +1631,10 @@ export interface RemoteResultTransferServiceClient<CallOptionsExt = {}> {
|
|
|
1619
1631
|
request: DeepPartial<RemoteResultRequest>,
|
|
1620
1632
|
options?: CallOptions & CallOptionsExt,
|
|
1621
1633
|
): Promise<RemoteResultResponse>;
|
|
1634
|
+
destroyResult(
|
|
1635
|
+
request: DeepPartial<RemoteResultRequest>,
|
|
1636
|
+
options?: CallOptions & CallOptionsExt,
|
|
1637
|
+
): Promise<VoidResponse>;
|
|
1622
1638
|
}
|
|
1623
1639
|
|
|
1624
1640
|
declare var self: any | undefined;
|
|
@@ -469,6 +469,7 @@ export interface BlockHandlerConfig {
|
|
|
469
469
|
export interface EthFetchConfig {
|
|
470
470
|
transaction: boolean;
|
|
471
471
|
transactionReceipt: boolean;
|
|
472
|
+
transactionReceiptLogs: boolean;
|
|
472
473
|
block: boolean;
|
|
473
474
|
trace: boolean;
|
|
474
475
|
}
|
|
@@ -534,6 +535,12 @@ export interface MoveCallFilter {
|
|
|
534
535
|
withTypeArguments: boolean;
|
|
535
536
|
includeFailed: boolean;
|
|
536
537
|
publicKeyPrefix: string;
|
|
538
|
+
fromAndToAddress?: MoveCallFilter_FromAndToAddress | undefined;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export interface MoveCallFilter_FromAndToAddress {
|
|
542
|
+
from: string;
|
|
543
|
+
to: string;
|
|
537
544
|
}
|
|
538
545
|
|
|
539
546
|
export interface Topic {
|
|
@@ -2410,7 +2417,7 @@ export const BlockHandlerConfig = {
|
|
|
2410
2417
|
};
|
|
2411
2418
|
|
|
2412
2419
|
function createBaseEthFetchConfig(): EthFetchConfig {
|
|
2413
|
-
return { transaction: false, transactionReceipt: false, block: false, trace: false };
|
|
2420
|
+
return { transaction: false, transactionReceipt: false, transactionReceiptLogs: false, block: false, trace: false };
|
|
2414
2421
|
}
|
|
2415
2422
|
|
|
2416
2423
|
export const EthFetchConfig = {
|
|
@@ -2421,6 +2428,9 @@ export const EthFetchConfig = {
|
|
|
2421
2428
|
if (message.transactionReceipt === true) {
|
|
2422
2429
|
writer.uint32(16).bool(message.transactionReceipt);
|
|
2423
2430
|
}
|
|
2431
|
+
if (message.transactionReceiptLogs === true) {
|
|
2432
|
+
writer.uint32(40).bool(message.transactionReceiptLogs);
|
|
2433
|
+
}
|
|
2424
2434
|
if (message.block === true) {
|
|
2425
2435
|
writer.uint32(24).bool(message.block);
|
|
2426
2436
|
}
|
|
@@ -2443,6 +2453,9 @@ export const EthFetchConfig = {
|
|
|
2443
2453
|
case 2:
|
|
2444
2454
|
message.transactionReceipt = reader.bool();
|
|
2445
2455
|
break;
|
|
2456
|
+
case 5:
|
|
2457
|
+
message.transactionReceiptLogs = reader.bool();
|
|
2458
|
+
break;
|
|
2446
2459
|
case 3:
|
|
2447
2460
|
message.block = reader.bool();
|
|
2448
2461
|
break;
|
|
@@ -2461,6 +2474,7 @@ export const EthFetchConfig = {
|
|
|
2461
2474
|
return {
|
|
2462
2475
|
transaction: isSet(object.transaction) ? Boolean(object.transaction) : false,
|
|
2463
2476
|
transactionReceipt: isSet(object.transactionReceipt) ? Boolean(object.transactionReceipt) : false,
|
|
2477
|
+
transactionReceiptLogs: isSet(object.transactionReceiptLogs) ? Boolean(object.transactionReceiptLogs) : false,
|
|
2464
2478
|
block: isSet(object.block) ? Boolean(object.block) : false,
|
|
2465
2479
|
trace: isSet(object.trace) ? Boolean(object.trace) : false,
|
|
2466
2480
|
};
|
|
@@ -2470,6 +2484,7 @@ export const EthFetchConfig = {
|
|
|
2470
2484
|
const obj: any = {};
|
|
2471
2485
|
message.transaction !== undefined && (obj.transaction = message.transaction);
|
|
2472
2486
|
message.transactionReceipt !== undefined && (obj.transactionReceipt = message.transactionReceipt);
|
|
2487
|
+
message.transactionReceiptLogs !== undefined && (obj.transactionReceiptLogs = message.transactionReceiptLogs);
|
|
2473
2488
|
message.block !== undefined && (obj.block = message.block);
|
|
2474
2489
|
message.trace !== undefined && (obj.trace = message.trace);
|
|
2475
2490
|
return obj;
|
|
@@ -2483,6 +2498,7 @@ export const EthFetchConfig = {
|
|
|
2483
2498
|
const message = createBaseEthFetchConfig();
|
|
2484
2499
|
message.transaction = object.transaction ?? false;
|
|
2485
2500
|
message.transactionReceipt = object.transactionReceipt ?? false;
|
|
2501
|
+
message.transactionReceiptLogs = object.transactionReceiptLogs ?? false;
|
|
2486
2502
|
message.block = object.block ?? false;
|
|
2487
2503
|
message.trace = object.trace ?? false;
|
|
2488
2504
|
return message;
|
|
@@ -3185,7 +3201,14 @@ export const MoveCallHandlerConfig = {
|
|
|
3185
3201
|
};
|
|
3186
3202
|
|
|
3187
3203
|
function createBaseMoveCallFilter(): MoveCallFilter {
|
|
3188
|
-
return {
|
|
3204
|
+
return {
|
|
3205
|
+
function: "",
|
|
3206
|
+
typeArguments: [],
|
|
3207
|
+
withTypeArguments: false,
|
|
3208
|
+
includeFailed: false,
|
|
3209
|
+
publicKeyPrefix: "",
|
|
3210
|
+
fromAndToAddress: undefined,
|
|
3211
|
+
};
|
|
3189
3212
|
}
|
|
3190
3213
|
|
|
3191
3214
|
export const MoveCallFilter = {
|
|
@@ -3205,6 +3228,9 @@ export const MoveCallFilter = {
|
|
|
3205
3228
|
if (message.publicKeyPrefix !== "") {
|
|
3206
3229
|
writer.uint32(42).string(message.publicKeyPrefix);
|
|
3207
3230
|
}
|
|
3231
|
+
if (message.fromAndToAddress !== undefined) {
|
|
3232
|
+
MoveCallFilter_FromAndToAddress.encode(message.fromAndToAddress, writer.uint32(50).fork()).ldelim();
|
|
3233
|
+
}
|
|
3208
3234
|
return writer;
|
|
3209
3235
|
},
|
|
3210
3236
|
|
|
@@ -3230,6 +3256,9 @@ export const MoveCallFilter = {
|
|
|
3230
3256
|
case 5:
|
|
3231
3257
|
message.publicKeyPrefix = reader.string();
|
|
3232
3258
|
break;
|
|
3259
|
+
case 6:
|
|
3260
|
+
message.fromAndToAddress = MoveCallFilter_FromAndToAddress.decode(reader, reader.uint32());
|
|
3261
|
+
break;
|
|
3233
3262
|
default:
|
|
3234
3263
|
reader.skipType(tag & 7);
|
|
3235
3264
|
break;
|
|
@@ -3245,6 +3274,9 @@ export const MoveCallFilter = {
|
|
|
3245
3274
|
withTypeArguments: isSet(object.withTypeArguments) ? Boolean(object.withTypeArguments) : false,
|
|
3246
3275
|
includeFailed: isSet(object.includeFailed) ? Boolean(object.includeFailed) : false,
|
|
3247
3276
|
publicKeyPrefix: isSet(object.publicKeyPrefix) ? String(object.publicKeyPrefix) : "",
|
|
3277
|
+
fromAndToAddress: isSet(object.fromAndToAddress)
|
|
3278
|
+
? MoveCallFilter_FromAndToAddress.fromJSON(object.fromAndToAddress)
|
|
3279
|
+
: undefined,
|
|
3248
3280
|
};
|
|
3249
3281
|
},
|
|
3250
3282
|
|
|
@@ -3259,6 +3291,9 @@ export const MoveCallFilter = {
|
|
|
3259
3291
|
message.withTypeArguments !== undefined && (obj.withTypeArguments = message.withTypeArguments);
|
|
3260
3292
|
message.includeFailed !== undefined && (obj.includeFailed = message.includeFailed);
|
|
3261
3293
|
message.publicKeyPrefix !== undefined && (obj.publicKeyPrefix = message.publicKeyPrefix);
|
|
3294
|
+
message.fromAndToAddress !== undefined && (obj.fromAndToAddress = message.fromAndToAddress
|
|
3295
|
+
? MoveCallFilter_FromAndToAddress.toJSON(message.fromAndToAddress)
|
|
3296
|
+
: undefined);
|
|
3262
3297
|
return obj;
|
|
3263
3298
|
},
|
|
3264
3299
|
|
|
@@ -3273,6 +3308,68 @@ export const MoveCallFilter = {
|
|
|
3273
3308
|
message.withTypeArguments = object.withTypeArguments ?? false;
|
|
3274
3309
|
message.includeFailed = object.includeFailed ?? false;
|
|
3275
3310
|
message.publicKeyPrefix = object.publicKeyPrefix ?? "";
|
|
3311
|
+
message.fromAndToAddress = (object.fromAndToAddress !== undefined && object.fromAndToAddress !== null)
|
|
3312
|
+
? MoveCallFilter_FromAndToAddress.fromPartial(object.fromAndToAddress)
|
|
3313
|
+
: undefined;
|
|
3314
|
+
return message;
|
|
3315
|
+
},
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
function createBaseMoveCallFilter_FromAndToAddress(): MoveCallFilter_FromAndToAddress {
|
|
3319
|
+
return { from: "", to: "" };
|
|
3320
|
+
}
|
|
3321
|
+
|
|
3322
|
+
export const MoveCallFilter_FromAndToAddress = {
|
|
3323
|
+
encode(message: MoveCallFilter_FromAndToAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
3324
|
+
if (message.from !== "") {
|
|
3325
|
+
writer.uint32(10).string(message.from);
|
|
3326
|
+
}
|
|
3327
|
+
if (message.to !== "") {
|
|
3328
|
+
writer.uint32(18).string(message.to);
|
|
3329
|
+
}
|
|
3330
|
+
return writer;
|
|
3331
|
+
},
|
|
3332
|
+
|
|
3333
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MoveCallFilter_FromAndToAddress {
|
|
3334
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
3335
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
3336
|
+
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
3337
|
+
while (reader.pos < end) {
|
|
3338
|
+
const tag = reader.uint32();
|
|
3339
|
+
switch (tag >>> 3) {
|
|
3340
|
+
case 1:
|
|
3341
|
+
message.from = reader.string();
|
|
3342
|
+
break;
|
|
3343
|
+
case 2:
|
|
3344
|
+
message.to = reader.string();
|
|
3345
|
+
break;
|
|
3346
|
+
default:
|
|
3347
|
+
reader.skipType(tag & 7);
|
|
3348
|
+
break;
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
return message;
|
|
3352
|
+
},
|
|
3353
|
+
|
|
3354
|
+
fromJSON(object: any): MoveCallFilter_FromAndToAddress {
|
|
3355
|
+
return { from: isSet(object.from) ? String(object.from) : "", to: isSet(object.to) ? String(object.to) : "" };
|
|
3356
|
+
},
|
|
3357
|
+
|
|
3358
|
+
toJSON(message: MoveCallFilter_FromAndToAddress): unknown {
|
|
3359
|
+
const obj: any = {};
|
|
3360
|
+
message.from !== undefined && (obj.from = message.from);
|
|
3361
|
+
message.to !== undefined && (obj.to = message.to);
|
|
3362
|
+
return obj;
|
|
3363
|
+
},
|
|
3364
|
+
|
|
3365
|
+
create(base?: DeepPartial<MoveCallFilter_FromAndToAddress>): MoveCallFilter_FromAndToAddress {
|
|
3366
|
+
return MoveCallFilter_FromAndToAddress.fromPartial(base ?? {});
|
|
3367
|
+
},
|
|
3368
|
+
|
|
3369
|
+
fromPartial(object: DeepPartial<MoveCallFilter_FromAndToAddress>): MoveCallFilter_FromAndToAddress {
|
|
3370
|
+
const message = createBaseMoveCallFilter_FromAndToAddress();
|
|
3371
|
+
message.from = object.from ?? "";
|
|
3372
|
+
message.to = object.to ?? "";
|
|
3276
3373
|
return message;
|
|
3277
3374
|
},
|
|
3278
3375
|
};
|