@sentio/runtime 2.54.0-rc.5 → 2.54.0-rc.7
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-S3TCBETB.js +131 -0
- package/lib/{chunk-TFBOZ4CH.js.map → chunk-S3TCBETB.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/processor-runner.js +30 -30
- package/lib/processor-runner.js.map +1 -1
- package/package.json +1 -1
- package/src/full-service.ts +22 -5
- package/src/gen/processor/protos/processor.ts +385 -9
- package/src/gen/service/common/protos/common.ts +255 -10
- package/lib/chunk-TFBOZ4CH.js +0 -131
@@ -215,6 +215,8 @@ export enum HandlerType {
|
|
215
215
|
SUI_OBJECT = 10,
|
216
216
|
SUI_OBJECT_CHANGE = 12,
|
217
217
|
FUEL_CALL = 13,
|
218
|
+
FUEL_RECEIPT = 19,
|
219
|
+
FUEL_TRANSACTION = 20,
|
218
220
|
FUEL_BLOCK = 17,
|
219
221
|
COSMOS_CALL = 14,
|
220
222
|
STARKNET_EVENT = 15,
|
@@ -267,6 +269,12 @@ export function handlerTypeFromJSON(object: any): HandlerType {
|
|
267
269
|
case 13:
|
268
270
|
case "FUEL_CALL":
|
269
271
|
return HandlerType.FUEL_CALL;
|
272
|
+
case 19:
|
273
|
+
case "FUEL_RECEIPT":
|
274
|
+
return HandlerType.FUEL_RECEIPT;
|
275
|
+
case 20:
|
276
|
+
case "FUEL_TRANSACTION":
|
277
|
+
return HandlerType.FUEL_TRANSACTION;
|
270
278
|
case 17:
|
271
279
|
case "FUEL_BLOCK":
|
272
280
|
return HandlerType.FUEL_BLOCK;
|
@@ -319,6 +327,10 @@ export function handlerTypeToJSON(object: HandlerType): string {
|
|
319
327
|
return "SUI_OBJECT_CHANGE";
|
320
328
|
case HandlerType.FUEL_CALL:
|
321
329
|
return "FUEL_CALL";
|
330
|
+
case HandlerType.FUEL_RECEIPT:
|
331
|
+
return "FUEL_RECEIPT";
|
332
|
+
case HandlerType.FUEL_TRANSACTION:
|
333
|
+
return "FUEL_TRANSACTION";
|
322
334
|
case HandlerType.FUEL_BLOCK:
|
323
335
|
return "FUEL_BLOCK";
|
324
336
|
case HandlerType.COSMOS_CALL:
|
@@ -680,6 +692,7 @@ export interface LogHandlerConfig {
|
|
680
692
|
export interface FuelAssetHandlerConfig {
|
681
693
|
filters: FuelAssetHandlerConfig_AssetFilter[];
|
682
694
|
handlerId: number;
|
695
|
+
handlerName: string;
|
683
696
|
}
|
684
697
|
|
685
698
|
export interface FuelAssetHandlerConfig_AssetFilter {
|
@@ -691,11 +704,13 @@ export interface FuelAssetHandlerConfig_AssetFilter {
|
|
691
704
|
export interface FuelLogHandlerConfig {
|
692
705
|
logIds: string[];
|
693
706
|
handlerId: number;
|
707
|
+
handlerName: string;
|
694
708
|
}
|
695
709
|
|
696
710
|
export interface CosmosLogHandlerConfig {
|
697
711
|
logFilters: string[];
|
698
712
|
handlerId: number;
|
713
|
+
handlerName: string;
|
699
714
|
}
|
700
715
|
|
701
716
|
export interface LogFilter {
|
@@ -731,6 +746,7 @@ export interface MoveEventHandlerConfig {
|
|
731
746
|
filters: MoveEventFilter[];
|
732
747
|
handlerId: number;
|
733
748
|
fetchConfig: MoveFetchConfig | undefined;
|
749
|
+
handlerName: string;
|
734
750
|
}
|
735
751
|
|
736
752
|
export interface MoveEventFilter {
|
@@ -742,11 +758,13 @@ export interface MoveCallHandlerConfig {
|
|
742
758
|
filters: MoveCallFilter[];
|
743
759
|
handlerId: number;
|
744
760
|
fetchConfig: MoveFetchConfig | undefined;
|
761
|
+
handlerName: string;
|
745
762
|
}
|
746
763
|
|
747
764
|
export interface MoveResourceChangeConfig {
|
748
765
|
type: string;
|
749
766
|
handlerId: number;
|
767
|
+
handlerName: string;
|
750
768
|
}
|
751
769
|
|
752
770
|
export interface MoveCallFilter {
|
@@ -766,11 +784,13 @@ export interface MoveCallFilter_FromAndToAddress {
|
|
766
784
|
export interface StarknetEventHandlerConfig {
|
767
785
|
filters: StarknetEventFilter[];
|
768
786
|
handlerId: number;
|
787
|
+
handlerName: string;
|
769
788
|
}
|
770
789
|
|
771
790
|
export interface BTCTransactionHandlerConfig {
|
772
791
|
filters: BTCTransactionFilter[];
|
773
792
|
handlerId: number;
|
793
|
+
handlerName: string;
|
774
794
|
}
|
775
795
|
|
776
796
|
export interface BTCTransactionFilter {
|
@@ -833,6 +853,7 @@ export interface FuelCallFilter {
|
|
833
853
|
export interface FuelCallHandlerConfig {
|
834
854
|
filters: FuelCallFilter[];
|
835
855
|
handlerId: number;
|
856
|
+
handlerName: string;
|
836
857
|
}
|
837
858
|
|
838
859
|
export interface Topic {
|
@@ -1046,7 +1067,12 @@ export interface Data {
|
|
1046
1067
|
suiCall?: Data_SuiCall | undefined;
|
1047
1068
|
suiObject?: Data_SuiObject | undefined;
|
1048
1069
|
suiObjectChange?: Data_SuiObjectChange | undefined;
|
1070
|
+
fuelLog?:
|
1071
|
+
| Data_FuelReceipt
|
1072
|
+
| undefined;
|
1073
|
+
/** @deprecated */
|
1049
1074
|
fuelCall?: Data_FuelCall | undefined;
|
1075
|
+
fuelTransaction?: Data_FuelTransaction | undefined;
|
1050
1076
|
fuelBlock?: Data_FuelBlock | undefined;
|
1051
1077
|
cosmosCall?: Data_CosmosCall | undefined;
|
1052
1078
|
starknetEvents?: Data_StarknetEvent | undefined;
|
@@ -1136,6 +1162,17 @@ export interface Data_SuiObjectChange {
|
|
1136
1162
|
slot: bigint;
|
1137
1163
|
}
|
1138
1164
|
|
1165
|
+
export interface Data_FuelReceipt {
|
1166
|
+
transaction: { [key: string]: any } | undefined;
|
1167
|
+
timestamp: Date | undefined;
|
1168
|
+
receiptIndex: bigint;
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
export interface Data_FuelTransaction {
|
1172
|
+
transaction: { [key: string]: any } | undefined;
|
1173
|
+
timestamp: Date | undefined;
|
1174
|
+
}
|
1175
|
+
|
1139
1176
|
export interface Data_FuelCall {
|
1140
1177
|
transaction: { [key: string]: any } | undefined;
|
1141
1178
|
timestamp: Date | undefined;
|
@@ -4491,7 +4528,7 @@ export const LogHandlerConfig = {
|
|
4491
4528
|
};
|
4492
4529
|
|
4493
4530
|
function createBaseFuelAssetHandlerConfig(): FuelAssetHandlerConfig {
|
4494
|
-
return { filters: [], handlerId: 0 };
|
4531
|
+
return { filters: [], handlerId: 0, handlerName: "" };
|
4495
4532
|
}
|
4496
4533
|
|
4497
4534
|
export const FuelAssetHandlerConfig = {
|
@@ -4502,6 +4539,9 @@ export const FuelAssetHandlerConfig = {
|
|
4502
4539
|
if (message.handlerId !== 0) {
|
4503
4540
|
writer.uint32(16).int32(message.handlerId);
|
4504
4541
|
}
|
4542
|
+
if (message.handlerName !== "") {
|
4543
|
+
writer.uint32(26).string(message.handlerName);
|
4544
|
+
}
|
4505
4545
|
return writer;
|
4506
4546
|
},
|
4507
4547
|
|
@@ -4526,6 +4566,13 @@ export const FuelAssetHandlerConfig = {
|
|
4526
4566
|
|
4527
4567
|
message.handlerId = reader.int32();
|
4528
4568
|
continue;
|
4569
|
+
case 3:
|
4570
|
+
if (tag !== 26) {
|
4571
|
+
break;
|
4572
|
+
}
|
4573
|
+
|
4574
|
+
message.handlerName = reader.string();
|
4575
|
+
continue;
|
4529
4576
|
}
|
4530
4577
|
if ((tag & 7) === 4 || tag === 0) {
|
4531
4578
|
break;
|
@@ -4541,6 +4588,7 @@ export const FuelAssetHandlerConfig = {
|
|
4541
4588
|
? object.filters.map((e: any) => FuelAssetHandlerConfig_AssetFilter.fromJSON(e))
|
4542
4589
|
: [],
|
4543
4590
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
4591
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
4544
4592
|
};
|
4545
4593
|
},
|
4546
4594
|
|
@@ -4552,6 +4600,9 @@ export const FuelAssetHandlerConfig = {
|
|
4552
4600
|
if (message.handlerId !== 0) {
|
4553
4601
|
obj.handlerId = Math.round(message.handlerId);
|
4554
4602
|
}
|
4603
|
+
if (message.handlerName !== "") {
|
4604
|
+
obj.handlerName = message.handlerName;
|
4605
|
+
}
|
4555
4606
|
return obj;
|
4556
4607
|
},
|
4557
4608
|
|
@@ -4562,6 +4613,7 @@ export const FuelAssetHandlerConfig = {
|
|
4562
4613
|
const message = createBaseFuelAssetHandlerConfig();
|
4563
4614
|
message.filters = object.filters?.map((e) => FuelAssetHandlerConfig_AssetFilter.fromPartial(e)) || [];
|
4564
4615
|
message.handlerId = object.handlerId ?? 0;
|
4616
|
+
message.handlerName = object.handlerName ?? "";
|
4565
4617
|
return message;
|
4566
4618
|
},
|
4567
4619
|
};
|
@@ -4656,7 +4708,7 @@ export const FuelAssetHandlerConfig_AssetFilter = {
|
|
4656
4708
|
};
|
4657
4709
|
|
4658
4710
|
function createBaseFuelLogHandlerConfig(): FuelLogHandlerConfig {
|
4659
|
-
return { logIds: [], handlerId: 0 };
|
4711
|
+
return { logIds: [], handlerId: 0, handlerName: "" };
|
4660
4712
|
}
|
4661
4713
|
|
4662
4714
|
export const FuelLogHandlerConfig = {
|
@@ -4667,6 +4719,9 @@ export const FuelLogHandlerConfig = {
|
|
4667
4719
|
if (message.handlerId !== 0) {
|
4668
4720
|
writer.uint32(16).int32(message.handlerId);
|
4669
4721
|
}
|
4722
|
+
if (message.handlerName !== "") {
|
4723
|
+
writer.uint32(26).string(message.handlerName);
|
4724
|
+
}
|
4670
4725
|
return writer;
|
4671
4726
|
},
|
4672
4727
|
|
@@ -4691,6 +4746,13 @@ export const FuelLogHandlerConfig = {
|
|
4691
4746
|
|
4692
4747
|
message.handlerId = reader.int32();
|
4693
4748
|
continue;
|
4749
|
+
case 3:
|
4750
|
+
if (tag !== 26) {
|
4751
|
+
break;
|
4752
|
+
}
|
4753
|
+
|
4754
|
+
message.handlerName = reader.string();
|
4755
|
+
continue;
|
4694
4756
|
}
|
4695
4757
|
if ((tag & 7) === 4 || tag === 0) {
|
4696
4758
|
break;
|
@@ -4704,6 +4766,7 @@ export const FuelLogHandlerConfig = {
|
|
4704
4766
|
return {
|
4705
4767
|
logIds: globalThis.Array.isArray(object?.logIds) ? object.logIds.map((e: any) => globalThis.String(e)) : [],
|
4706
4768
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
4769
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
4707
4770
|
};
|
4708
4771
|
},
|
4709
4772
|
|
@@ -4715,6 +4778,9 @@ export const FuelLogHandlerConfig = {
|
|
4715
4778
|
if (message.handlerId !== 0) {
|
4716
4779
|
obj.handlerId = Math.round(message.handlerId);
|
4717
4780
|
}
|
4781
|
+
if (message.handlerName !== "") {
|
4782
|
+
obj.handlerName = message.handlerName;
|
4783
|
+
}
|
4718
4784
|
return obj;
|
4719
4785
|
},
|
4720
4786
|
|
@@ -4725,12 +4791,13 @@ export const FuelLogHandlerConfig = {
|
|
4725
4791
|
const message = createBaseFuelLogHandlerConfig();
|
4726
4792
|
message.logIds = object.logIds?.map((e) => e) || [];
|
4727
4793
|
message.handlerId = object.handlerId ?? 0;
|
4794
|
+
message.handlerName = object.handlerName ?? "";
|
4728
4795
|
return message;
|
4729
4796
|
},
|
4730
4797
|
};
|
4731
4798
|
|
4732
4799
|
function createBaseCosmosLogHandlerConfig(): CosmosLogHandlerConfig {
|
4733
|
-
return { logFilters: [], handlerId: 0 };
|
4800
|
+
return { logFilters: [], handlerId: 0, handlerName: "" };
|
4734
4801
|
}
|
4735
4802
|
|
4736
4803
|
export const CosmosLogHandlerConfig = {
|
@@ -4741,6 +4808,9 @@ export const CosmosLogHandlerConfig = {
|
|
4741
4808
|
if (message.handlerId !== 0) {
|
4742
4809
|
writer.uint32(16).int32(message.handlerId);
|
4743
4810
|
}
|
4811
|
+
if (message.handlerName !== "") {
|
4812
|
+
writer.uint32(26).string(message.handlerName);
|
4813
|
+
}
|
4744
4814
|
return writer;
|
4745
4815
|
},
|
4746
4816
|
|
@@ -4765,6 +4835,13 @@ export const CosmosLogHandlerConfig = {
|
|
4765
4835
|
|
4766
4836
|
message.handlerId = reader.int32();
|
4767
4837
|
continue;
|
4838
|
+
case 3:
|
4839
|
+
if (tag !== 26) {
|
4840
|
+
break;
|
4841
|
+
}
|
4842
|
+
|
4843
|
+
message.handlerName = reader.string();
|
4844
|
+
continue;
|
4768
4845
|
}
|
4769
4846
|
if ((tag & 7) === 4 || tag === 0) {
|
4770
4847
|
break;
|
@@ -4780,6 +4857,7 @@ export const CosmosLogHandlerConfig = {
|
|
4780
4857
|
? object.logFilters.map((e: any) => globalThis.String(e))
|
4781
4858
|
: [],
|
4782
4859
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
4860
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
4783
4861
|
};
|
4784
4862
|
},
|
4785
4863
|
|
@@ -4791,6 +4869,9 @@ export const CosmosLogHandlerConfig = {
|
|
4791
4869
|
if (message.handlerId !== 0) {
|
4792
4870
|
obj.handlerId = Math.round(message.handlerId);
|
4793
4871
|
}
|
4872
|
+
if (message.handlerName !== "") {
|
4873
|
+
obj.handlerName = message.handlerName;
|
4874
|
+
}
|
4794
4875
|
return obj;
|
4795
4876
|
},
|
4796
4877
|
|
@@ -4801,6 +4882,7 @@ export const CosmosLogHandlerConfig = {
|
|
4801
4882
|
const message = createBaseCosmosLogHandlerConfig();
|
4802
4883
|
message.logFilters = object.logFilters?.map((e) => e) || [];
|
4803
4884
|
message.handlerId = object.handlerId ?? 0;
|
4885
|
+
message.handlerName = object.handlerName ?? "";
|
4804
4886
|
return message;
|
4805
4887
|
},
|
4806
4888
|
};
|
@@ -5245,7 +5327,7 @@ export const MoveAccountFetchConfig = {
|
|
5245
5327
|
};
|
5246
5328
|
|
5247
5329
|
function createBaseMoveEventHandlerConfig(): MoveEventHandlerConfig {
|
5248
|
-
return { filters: [], handlerId: 0, fetchConfig: undefined };
|
5330
|
+
return { filters: [], handlerId: 0, fetchConfig: undefined, handlerName: "" };
|
5249
5331
|
}
|
5250
5332
|
|
5251
5333
|
export const MoveEventHandlerConfig = {
|
@@ -5259,6 +5341,9 @@ export const MoveEventHandlerConfig = {
|
|
5259
5341
|
if (message.fetchConfig !== undefined) {
|
5260
5342
|
MoveFetchConfig.encode(message.fetchConfig, writer.uint32(26).fork()).ldelim();
|
5261
5343
|
}
|
5344
|
+
if (message.handlerName !== "") {
|
5345
|
+
writer.uint32(34).string(message.handlerName);
|
5346
|
+
}
|
5262
5347
|
return writer;
|
5263
5348
|
},
|
5264
5349
|
|
@@ -5290,6 +5375,13 @@ export const MoveEventHandlerConfig = {
|
|
5290
5375
|
|
5291
5376
|
message.fetchConfig = MoveFetchConfig.decode(reader, reader.uint32());
|
5292
5377
|
continue;
|
5378
|
+
case 4:
|
5379
|
+
if (tag !== 34) {
|
5380
|
+
break;
|
5381
|
+
}
|
5382
|
+
|
5383
|
+
message.handlerName = reader.string();
|
5384
|
+
continue;
|
5293
5385
|
}
|
5294
5386
|
if ((tag & 7) === 4 || tag === 0) {
|
5295
5387
|
break;
|
@@ -5306,6 +5398,7 @@ export const MoveEventHandlerConfig = {
|
|
5306
5398
|
: [],
|
5307
5399
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
5308
5400
|
fetchConfig: isSet(object.fetchConfig) ? MoveFetchConfig.fromJSON(object.fetchConfig) : undefined,
|
5401
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
5309
5402
|
};
|
5310
5403
|
},
|
5311
5404
|
|
@@ -5320,6 +5413,9 @@ export const MoveEventHandlerConfig = {
|
|
5320
5413
|
if (message.fetchConfig !== undefined) {
|
5321
5414
|
obj.fetchConfig = MoveFetchConfig.toJSON(message.fetchConfig);
|
5322
5415
|
}
|
5416
|
+
if (message.handlerName !== "") {
|
5417
|
+
obj.handlerName = message.handlerName;
|
5418
|
+
}
|
5323
5419
|
return obj;
|
5324
5420
|
},
|
5325
5421
|
|
@@ -5333,6 +5429,7 @@ export const MoveEventHandlerConfig = {
|
|
5333
5429
|
message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
|
5334
5430
|
? MoveFetchConfig.fromPartial(object.fetchConfig)
|
5335
5431
|
: undefined;
|
5432
|
+
message.handlerName = object.handlerName ?? "";
|
5336
5433
|
return message;
|
5337
5434
|
},
|
5338
5435
|
};
|
@@ -5412,7 +5509,7 @@ export const MoveEventFilter = {
|
|
5412
5509
|
};
|
5413
5510
|
|
5414
5511
|
function createBaseMoveCallHandlerConfig(): MoveCallHandlerConfig {
|
5415
|
-
return { filters: [], handlerId: 0, fetchConfig: undefined };
|
5512
|
+
return { filters: [], handlerId: 0, fetchConfig: undefined, handlerName: "" };
|
5416
5513
|
}
|
5417
5514
|
|
5418
5515
|
export const MoveCallHandlerConfig = {
|
@@ -5426,6 +5523,9 @@ export const MoveCallHandlerConfig = {
|
|
5426
5523
|
if (message.fetchConfig !== undefined) {
|
5427
5524
|
MoveFetchConfig.encode(message.fetchConfig, writer.uint32(26).fork()).ldelim();
|
5428
5525
|
}
|
5526
|
+
if (message.handlerName !== "") {
|
5527
|
+
writer.uint32(34).string(message.handlerName);
|
5528
|
+
}
|
5429
5529
|
return writer;
|
5430
5530
|
},
|
5431
5531
|
|
@@ -5457,6 +5557,13 @@ export const MoveCallHandlerConfig = {
|
|
5457
5557
|
|
5458
5558
|
message.fetchConfig = MoveFetchConfig.decode(reader, reader.uint32());
|
5459
5559
|
continue;
|
5560
|
+
case 4:
|
5561
|
+
if (tag !== 34) {
|
5562
|
+
break;
|
5563
|
+
}
|
5564
|
+
|
5565
|
+
message.handlerName = reader.string();
|
5566
|
+
continue;
|
5460
5567
|
}
|
5461
5568
|
if ((tag & 7) === 4 || tag === 0) {
|
5462
5569
|
break;
|
@@ -5473,6 +5580,7 @@ export const MoveCallHandlerConfig = {
|
|
5473
5580
|
: [],
|
5474
5581
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
5475
5582
|
fetchConfig: isSet(object.fetchConfig) ? MoveFetchConfig.fromJSON(object.fetchConfig) : undefined,
|
5583
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
5476
5584
|
};
|
5477
5585
|
},
|
5478
5586
|
|
@@ -5487,6 +5595,9 @@ export const MoveCallHandlerConfig = {
|
|
5487
5595
|
if (message.fetchConfig !== undefined) {
|
5488
5596
|
obj.fetchConfig = MoveFetchConfig.toJSON(message.fetchConfig);
|
5489
5597
|
}
|
5598
|
+
if (message.handlerName !== "") {
|
5599
|
+
obj.handlerName = message.handlerName;
|
5600
|
+
}
|
5490
5601
|
return obj;
|
5491
5602
|
},
|
5492
5603
|
|
@@ -5500,12 +5611,13 @@ export const MoveCallHandlerConfig = {
|
|
5500
5611
|
message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
|
5501
5612
|
? MoveFetchConfig.fromPartial(object.fetchConfig)
|
5502
5613
|
: undefined;
|
5614
|
+
message.handlerName = object.handlerName ?? "";
|
5503
5615
|
return message;
|
5504
5616
|
},
|
5505
5617
|
};
|
5506
5618
|
|
5507
5619
|
function createBaseMoveResourceChangeConfig(): MoveResourceChangeConfig {
|
5508
|
-
return { type: "", handlerId: 0 };
|
5620
|
+
return { type: "", handlerId: 0, handlerName: "" };
|
5509
5621
|
}
|
5510
5622
|
|
5511
5623
|
export const MoveResourceChangeConfig = {
|
@@ -5516,6 +5628,9 @@ export const MoveResourceChangeConfig = {
|
|
5516
5628
|
if (message.handlerId !== 0) {
|
5517
5629
|
writer.uint32(16).int32(message.handlerId);
|
5518
5630
|
}
|
5631
|
+
if (message.handlerName !== "") {
|
5632
|
+
writer.uint32(26).string(message.handlerName);
|
5633
|
+
}
|
5519
5634
|
return writer;
|
5520
5635
|
},
|
5521
5636
|
|
@@ -5540,6 +5655,13 @@ export const MoveResourceChangeConfig = {
|
|
5540
5655
|
|
5541
5656
|
message.handlerId = reader.int32();
|
5542
5657
|
continue;
|
5658
|
+
case 3:
|
5659
|
+
if (tag !== 26) {
|
5660
|
+
break;
|
5661
|
+
}
|
5662
|
+
|
5663
|
+
message.handlerName = reader.string();
|
5664
|
+
continue;
|
5543
5665
|
}
|
5544
5666
|
if ((tag & 7) === 4 || tag === 0) {
|
5545
5667
|
break;
|
@@ -5553,6 +5675,7 @@ export const MoveResourceChangeConfig = {
|
|
5553
5675
|
return {
|
5554
5676
|
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
5555
5677
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
5678
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
5556
5679
|
};
|
5557
5680
|
},
|
5558
5681
|
|
@@ -5564,6 +5687,9 @@ export const MoveResourceChangeConfig = {
|
|
5564
5687
|
if (message.handlerId !== 0) {
|
5565
5688
|
obj.handlerId = Math.round(message.handlerId);
|
5566
5689
|
}
|
5690
|
+
if (message.handlerName !== "") {
|
5691
|
+
obj.handlerName = message.handlerName;
|
5692
|
+
}
|
5567
5693
|
return obj;
|
5568
5694
|
},
|
5569
5695
|
|
@@ -5574,6 +5700,7 @@ export const MoveResourceChangeConfig = {
|
|
5574
5700
|
const message = createBaseMoveResourceChangeConfig();
|
5575
5701
|
message.type = object.type ?? "";
|
5576
5702
|
message.handlerId = object.handlerId ?? 0;
|
5703
|
+
message.handlerName = object.handlerName ?? "";
|
5577
5704
|
return message;
|
5578
5705
|
},
|
5579
5706
|
};
|
@@ -5800,7 +5927,7 @@ export const MoveCallFilter_FromAndToAddress = {
|
|
5800
5927
|
};
|
5801
5928
|
|
5802
5929
|
function createBaseStarknetEventHandlerConfig(): StarknetEventHandlerConfig {
|
5803
|
-
return { filters: [], handlerId: 0 };
|
5930
|
+
return { filters: [], handlerId: 0, handlerName: "" };
|
5804
5931
|
}
|
5805
5932
|
|
5806
5933
|
export const StarknetEventHandlerConfig = {
|
@@ -5811,6 +5938,9 @@ export const StarknetEventHandlerConfig = {
|
|
5811
5938
|
if (message.handlerId !== 0) {
|
5812
5939
|
writer.uint32(16).int32(message.handlerId);
|
5813
5940
|
}
|
5941
|
+
if (message.handlerName !== "") {
|
5942
|
+
writer.uint32(26).string(message.handlerName);
|
5943
|
+
}
|
5814
5944
|
return writer;
|
5815
5945
|
},
|
5816
5946
|
|
@@ -5835,6 +5965,13 @@ export const StarknetEventHandlerConfig = {
|
|
5835
5965
|
|
5836
5966
|
message.handlerId = reader.int32();
|
5837
5967
|
continue;
|
5968
|
+
case 3:
|
5969
|
+
if (tag !== 26) {
|
5970
|
+
break;
|
5971
|
+
}
|
5972
|
+
|
5973
|
+
message.handlerName = reader.string();
|
5974
|
+
continue;
|
5838
5975
|
}
|
5839
5976
|
if ((tag & 7) === 4 || tag === 0) {
|
5840
5977
|
break;
|
@@ -5850,6 +5987,7 @@ export const StarknetEventHandlerConfig = {
|
|
5850
5987
|
? object.filters.map((e: any) => StarknetEventFilter.fromJSON(e))
|
5851
5988
|
: [],
|
5852
5989
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
5990
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
5853
5991
|
};
|
5854
5992
|
},
|
5855
5993
|
|
@@ -5861,6 +5999,9 @@ export const StarknetEventHandlerConfig = {
|
|
5861
5999
|
if (message.handlerId !== 0) {
|
5862
6000
|
obj.handlerId = Math.round(message.handlerId);
|
5863
6001
|
}
|
6002
|
+
if (message.handlerName !== "") {
|
6003
|
+
obj.handlerName = message.handlerName;
|
6004
|
+
}
|
5864
6005
|
return obj;
|
5865
6006
|
},
|
5866
6007
|
|
@@ -5871,12 +6012,13 @@ export const StarknetEventHandlerConfig = {
|
|
5871
6012
|
const message = createBaseStarknetEventHandlerConfig();
|
5872
6013
|
message.filters = object.filters?.map((e) => StarknetEventFilter.fromPartial(e)) || [];
|
5873
6014
|
message.handlerId = object.handlerId ?? 0;
|
6015
|
+
message.handlerName = object.handlerName ?? "";
|
5874
6016
|
return message;
|
5875
6017
|
},
|
5876
6018
|
};
|
5877
6019
|
|
5878
6020
|
function createBaseBTCTransactionHandlerConfig(): BTCTransactionHandlerConfig {
|
5879
|
-
return { filters: [], handlerId: 0 };
|
6021
|
+
return { filters: [], handlerId: 0, handlerName: "" };
|
5880
6022
|
}
|
5881
6023
|
|
5882
6024
|
export const BTCTransactionHandlerConfig = {
|
@@ -5887,6 +6029,9 @@ export const BTCTransactionHandlerConfig = {
|
|
5887
6029
|
if (message.handlerId !== 0) {
|
5888
6030
|
writer.uint32(16).int32(message.handlerId);
|
5889
6031
|
}
|
6032
|
+
if (message.handlerName !== "") {
|
6033
|
+
writer.uint32(26).string(message.handlerName);
|
6034
|
+
}
|
5890
6035
|
return writer;
|
5891
6036
|
},
|
5892
6037
|
|
@@ -5911,6 +6056,13 @@ export const BTCTransactionHandlerConfig = {
|
|
5911
6056
|
|
5912
6057
|
message.handlerId = reader.int32();
|
5913
6058
|
continue;
|
6059
|
+
case 3:
|
6060
|
+
if (tag !== 26) {
|
6061
|
+
break;
|
6062
|
+
}
|
6063
|
+
|
6064
|
+
message.handlerName = reader.string();
|
6065
|
+
continue;
|
5914
6066
|
}
|
5915
6067
|
if ((tag & 7) === 4 || tag === 0) {
|
5916
6068
|
break;
|
@@ -5926,6 +6078,7 @@ export const BTCTransactionHandlerConfig = {
|
|
5926
6078
|
? object.filters.map((e: any) => BTCTransactionFilter.fromJSON(e))
|
5927
6079
|
: [],
|
5928
6080
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
6081
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
5929
6082
|
};
|
5930
6083
|
},
|
5931
6084
|
|
@@ -5937,6 +6090,9 @@ export const BTCTransactionHandlerConfig = {
|
|
5937
6090
|
if (message.handlerId !== 0) {
|
5938
6091
|
obj.handlerId = Math.round(message.handlerId);
|
5939
6092
|
}
|
6093
|
+
if (message.handlerName !== "") {
|
6094
|
+
obj.handlerName = message.handlerName;
|
6095
|
+
}
|
5940
6096
|
return obj;
|
5941
6097
|
},
|
5942
6098
|
|
@@ -5947,6 +6103,7 @@ export const BTCTransactionHandlerConfig = {
|
|
5947
6103
|
const message = createBaseBTCTransactionHandlerConfig();
|
5948
6104
|
message.filters = object.filters?.map((e) => BTCTransactionFilter.fromPartial(e)) || [];
|
5949
6105
|
message.handlerId = object.handlerId ?? 0;
|
6106
|
+
message.handlerName = object.handlerName ?? "";
|
5950
6107
|
return message;
|
5951
6108
|
},
|
5952
6109
|
};
|
@@ -6862,7 +7019,7 @@ export const FuelCallFilter = {
|
|
6862
7019
|
};
|
6863
7020
|
|
6864
7021
|
function createBaseFuelCallHandlerConfig(): FuelCallHandlerConfig {
|
6865
|
-
return { filters: [], handlerId: 0 };
|
7022
|
+
return { filters: [], handlerId: 0, handlerName: "" };
|
6866
7023
|
}
|
6867
7024
|
|
6868
7025
|
export const FuelCallHandlerConfig = {
|
@@ -6873,6 +7030,9 @@ export const FuelCallHandlerConfig = {
|
|
6873
7030
|
if (message.handlerId !== 0) {
|
6874
7031
|
writer.uint32(16).int32(message.handlerId);
|
6875
7032
|
}
|
7033
|
+
if (message.handlerName !== "") {
|
7034
|
+
writer.uint32(26).string(message.handlerName);
|
7035
|
+
}
|
6876
7036
|
return writer;
|
6877
7037
|
},
|
6878
7038
|
|
@@ -6897,6 +7057,13 @@ export const FuelCallHandlerConfig = {
|
|
6897
7057
|
|
6898
7058
|
message.handlerId = reader.int32();
|
6899
7059
|
continue;
|
7060
|
+
case 3:
|
7061
|
+
if (tag !== 26) {
|
7062
|
+
break;
|
7063
|
+
}
|
7064
|
+
|
7065
|
+
message.handlerName = reader.string();
|
7066
|
+
continue;
|
6900
7067
|
}
|
6901
7068
|
if ((tag & 7) === 4 || tag === 0) {
|
6902
7069
|
break;
|
@@ -6912,6 +7079,7 @@ export const FuelCallHandlerConfig = {
|
|
6912
7079
|
? object.filters.map((e: any) => FuelCallFilter.fromJSON(e))
|
6913
7080
|
: [],
|
6914
7081
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
7082
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
6915
7083
|
};
|
6916
7084
|
},
|
6917
7085
|
|
@@ -6923,6 +7091,9 @@ export const FuelCallHandlerConfig = {
|
|
6923
7091
|
if (message.handlerId !== 0) {
|
6924
7092
|
obj.handlerId = Math.round(message.handlerId);
|
6925
7093
|
}
|
7094
|
+
if (message.handlerName !== "") {
|
7095
|
+
obj.handlerName = message.handlerName;
|
7096
|
+
}
|
6926
7097
|
return obj;
|
6927
7098
|
},
|
6928
7099
|
|
@@ -6933,6 +7104,7 @@ export const FuelCallHandlerConfig = {
|
|
6933
7104
|
const message = createBaseFuelCallHandlerConfig();
|
6934
7105
|
message.filters = object.filters?.map((e) => FuelCallFilter.fromPartial(e)) || [];
|
6935
7106
|
message.handlerId = object.handlerId ?? 0;
|
7107
|
+
message.handlerName = object.handlerName ?? "";
|
6936
7108
|
return message;
|
6937
7109
|
},
|
6938
7110
|
};
|
@@ -8492,7 +8664,9 @@ function createBaseData(): Data {
|
|
8492
8664
|
suiCall: undefined,
|
8493
8665
|
suiObject: undefined,
|
8494
8666
|
suiObjectChange: undefined,
|
8667
|
+
fuelLog: undefined,
|
8495
8668
|
fuelCall: undefined,
|
8669
|
+
fuelTransaction: undefined,
|
8496
8670
|
fuelBlock: undefined,
|
8497
8671
|
cosmosCall: undefined,
|
8498
8672
|
starknetEvents: undefined,
|
@@ -8542,9 +8716,15 @@ export const Data = {
|
|
8542
8716
|
if (message.suiObjectChange !== undefined) {
|
8543
8717
|
Data_SuiObjectChange.encode(message.suiObjectChange, writer.uint32(106).fork()).ldelim();
|
8544
8718
|
}
|
8719
|
+
if (message.fuelLog !== undefined) {
|
8720
|
+
Data_FuelReceipt.encode(message.fuelLog, writer.uint32(162).fork()).ldelim();
|
8721
|
+
}
|
8545
8722
|
if (message.fuelCall !== undefined) {
|
8546
8723
|
Data_FuelCall.encode(message.fuelCall, writer.uint32(114).fork()).ldelim();
|
8547
8724
|
}
|
8725
|
+
if (message.fuelTransaction !== undefined) {
|
8726
|
+
Data_FuelTransaction.encode(message.fuelTransaction, writer.uint32(170).fork()).ldelim();
|
8727
|
+
}
|
8548
8728
|
if (message.fuelBlock !== undefined) {
|
8549
8729
|
Data_FuelBlock.encode(message.fuelBlock, writer.uint32(146).fork()).ldelim();
|
8550
8730
|
}
|
@@ -8661,6 +8841,13 @@ export const Data = {
|
|
8661
8841
|
|
8662
8842
|
message.suiObjectChange = Data_SuiObjectChange.decode(reader, reader.uint32());
|
8663
8843
|
continue;
|
8844
|
+
case 20:
|
8845
|
+
if (tag !== 162) {
|
8846
|
+
break;
|
8847
|
+
}
|
8848
|
+
|
8849
|
+
message.fuelLog = Data_FuelReceipt.decode(reader, reader.uint32());
|
8850
|
+
continue;
|
8664
8851
|
case 14:
|
8665
8852
|
if (tag !== 114) {
|
8666
8853
|
break;
|
@@ -8668,6 +8855,13 @@ export const Data = {
|
|
8668
8855
|
|
8669
8856
|
message.fuelCall = Data_FuelCall.decode(reader, reader.uint32());
|
8670
8857
|
continue;
|
8858
|
+
case 21:
|
8859
|
+
if (tag !== 170) {
|
8860
|
+
break;
|
8861
|
+
}
|
8862
|
+
|
8863
|
+
message.fuelTransaction = Data_FuelTransaction.decode(reader, reader.uint32());
|
8864
|
+
continue;
|
8671
8865
|
case 18:
|
8672
8866
|
if (tag !== 146) {
|
8673
8867
|
break;
|
@@ -8729,7 +8923,11 @@ export const Data = {
|
|
8729
8923
|
suiObjectChange: isSet(object.suiObjectChange)
|
8730
8924
|
? Data_SuiObjectChange.fromJSON(object.suiObjectChange)
|
8731
8925
|
: undefined,
|
8926
|
+
fuelLog: isSet(object.fuelLog) ? Data_FuelReceipt.fromJSON(object.fuelLog) : undefined,
|
8732
8927
|
fuelCall: isSet(object.fuelCall) ? Data_FuelCall.fromJSON(object.fuelCall) : undefined,
|
8928
|
+
fuelTransaction: isSet(object.fuelTransaction)
|
8929
|
+
? Data_FuelTransaction.fromJSON(object.fuelTransaction)
|
8930
|
+
: undefined,
|
8733
8931
|
fuelBlock: isSet(object.fuelBlock) ? Data_FuelBlock.fromJSON(object.fuelBlock) : undefined,
|
8734
8932
|
cosmosCall: isSet(object.cosmosCall) ? Data_CosmosCall.fromJSON(object.cosmosCall) : undefined,
|
8735
8933
|
starknetEvents: isSet(object.starknetEvents) ? Data_StarknetEvent.fromJSON(object.starknetEvents) : undefined,
|
@@ -8779,9 +8977,15 @@ export const Data = {
|
|
8779
8977
|
if (message.suiObjectChange !== undefined) {
|
8780
8978
|
obj.suiObjectChange = Data_SuiObjectChange.toJSON(message.suiObjectChange);
|
8781
8979
|
}
|
8980
|
+
if (message.fuelLog !== undefined) {
|
8981
|
+
obj.fuelLog = Data_FuelReceipt.toJSON(message.fuelLog);
|
8982
|
+
}
|
8782
8983
|
if (message.fuelCall !== undefined) {
|
8783
8984
|
obj.fuelCall = Data_FuelCall.toJSON(message.fuelCall);
|
8784
8985
|
}
|
8986
|
+
if (message.fuelTransaction !== undefined) {
|
8987
|
+
obj.fuelTransaction = Data_FuelTransaction.toJSON(message.fuelTransaction);
|
8988
|
+
}
|
8785
8989
|
if (message.fuelBlock !== undefined) {
|
8786
8990
|
obj.fuelBlock = Data_FuelBlock.toJSON(message.fuelBlock);
|
8787
8991
|
}
|
@@ -8842,9 +9046,15 @@ export const Data = {
|
|
8842
9046
|
message.suiObjectChange = (object.suiObjectChange !== undefined && object.suiObjectChange !== null)
|
8843
9047
|
? Data_SuiObjectChange.fromPartial(object.suiObjectChange)
|
8844
9048
|
: undefined;
|
9049
|
+
message.fuelLog = (object.fuelLog !== undefined && object.fuelLog !== null)
|
9050
|
+
? Data_FuelReceipt.fromPartial(object.fuelLog)
|
9051
|
+
: undefined;
|
8845
9052
|
message.fuelCall = (object.fuelCall !== undefined && object.fuelCall !== null)
|
8846
9053
|
? Data_FuelCall.fromPartial(object.fuelCall)
|
8847
9054
|
: undefined;
|
9055
|
+
message.fuelTransaction = (object.fuelTransaction !== undefined && object.fuelTransaction !== null)
|
9056
|
+
? Data_FuelTransaction.fromPartial(object.fuelTransaction)
|
9057
|
+
: undefined;
|
8848
9058
|
message.fuelBlock = (object.fuelBlock !== undefined && object.fuelBlock !== null)
|
8849
9059
|
? Data_FuelBlock.fromPartial(object.fuelBlock)
|
8850
9060
|
: undefined;
|
@@ -10132,6 +10342,172 @@ export const Data_SuiObjectChange = {
|
|
10132
10342
|
},
|
10133
10343
|
};
|
10134
10344
|
|
10345
|
+
function createBaseData_FuelReceipt(): Data_FuelReceipt {
|
10346
|
+
return { transaction: undefined, timestamp: undefined, receiptIndex: BigInt("0") };
|
10347
|
+
}
|
10348
|
+
|
10349
|
+
export const Data_FuelReceipt = {
|
10350
|
+
encode(message: Data_FuelReceipt, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
10351
|
+
if (message.transaction !== undefined) {
|
10352
|
+
Struct.encode(Struct.wrap(message.transaction), writer.uint32(10).fork()).ldelim();
|
10353
|
+
}
|
10354
|
+
if (message.timestamp !== undefined) {
|
10355
|
+
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
10356
|
+
}
|
10357
|
+
if (message.receiptIndex !== BigInt("0")) {
|
10358
|
+
if (BigInt.asIntN(64, message.receiptIndex) !== message.receiptIndex) {
|
10359
|
+
throw new globalThis.Error("value provided for field message.receiptIndex of type int64 too large");
|
10360
|
+
}
|
10361
|
+
writer.uint32(24).int64(message.receiptIndex.toString());
|
10362
|
+
}
|
10363
|
+
return writer;
|
10364
|
+
},
|
10365
|
+
|
10366
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelReceipt {
|
10367
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
10368
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
10369
|
+
const message = createBaseData_FuelReceipt();
|
10370
|
+
while (reader.pos < end) {
|
10371
|
+
const tag = reader.uint32();
|
10372
|
+
switch (tag >>> 3) {
|
10373
|
+
case 1:
|
10374
|
+
if (tag !== 10) {
|
10375
|
+
break;
|
10376
|
+
}
|
10377
|
+
|
10378
|
+
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
10379
|
+
continue;
|
10380
|
+
case 2:
|
10381
|
+
if (tag !== 18) {
|
10382
|
+
break;
|
10383
|
+
}
|
10384
|
+
|
10385
|
+
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
10386
|
+
continue;
|
10387
|
+
case 3:
|
10388
|
+
if (tag !== 24) {
|
10389
|
+
break;
|
10390
|
+
}
|
10391
|
+
|
10392
|
+
message.receiptIndex = longToBigint(reader.int64() as Long);
|
10393
|
+
continue;
|
10394
|
+
}
|
10395
|
+
if ((tag & 7) === 4 || tag === 0) {
|
10396
|
+
break;
|
10397
|
+
}
|
10398
|
+
reader.skipType(tag & 7);
|
10399
|
+
}
|
10400
|
+
return message;
|
10401
|
+
},
|
10402
|
+
|
10403
|
+
fromJSON(object: any): Data_FuelReceipt {
|
10404
|
+
return {
|
10405
|
+
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
10406
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
10407
|
+
receiptIndex: isSet(object.receiptIndex) ? BigInt(object.receiptIndex) : BigInt("0"),
|
10408
|
+
};
|
10409
|
+
},
|
10410
|
+
|
10411
|
+
toJSON(message: Data_FuelReceipt): unknown {
|
10412
|
+
const obj: any = {};
|
10413
|
+
if (message.transaction !== undefined) {
|
10414
|
+
obj.transaction = message.transaction;
|
10415
|
+
}
|
10416
|
+
if (message.timestamp !== undefined) {
|
10417
|
+
obj.timestamp = message.timestamp.toISOString();
|
10418
|
+
}
|
10419
|
+
if (message.receiptIndex !== BigInt("0")) {
|
10420
|
+
obj.receiptIndex = message.receiptIndex.toString();
|
10421
|
+
}
|
10422
|
+
return obj;
|
10423
|
+
},
|
10424
|
+
|
10425
|
+
create(base?: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt {
|
10426
|
+
return Data_FuelReceipt.fromPartial(base ?? {});
|
10427
|
+
},
|
10428
|
+
fromPartial(object: DeepPartial<Data_FuelReceipt>): Data_FuelReceipt {
|
10429
|
+
const message = createBaseData_FuelReceipt();
|
10430
|
+
message.transaction = object.transaction ?? undefined;
|
10431
|
+
message.timestamp = object.timestamp ?? undefined;
|
10432
|
+
message.receiptIndex = object.receiptIndex ?? BigInt("0");
|
10433
|
+
return message;
|
10434
|
+
},
|
10435
|
+
};
|
10436
|
+
|
10437
|
+
function createBaseData_FuelTransaction(): Data_FuelTransaction {
|
10438
|
+
return { transaction: undefined, timestamp: undefined };
|
10439
|
+
}
|
10440
|
+
|
10441
|
+
export const Data_FuelTransaction = {
|
10442
|
+
encode(message: Data_FuelTransaction, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
10443
|
+
if (message.transaction !== undefined) {
|
10444
|
+
Struct.encode(Struct.wrap(message.transaction), writer.uint32(10).fork()).ldelim();
|
10445
|
+
}
|
10446
|
+
if (message.timestamp !== undefined) {
|
10447
|
+
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
10448
|
+
}
|
10449
|
+
return writer;
|
10450
|
+
},
|
10451
|
+
|
10452
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelTransaction {
|
10453
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
10454
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
10455
|
+
const message = createBaseData_FuelTransaction();
|
10456
|
+
while (reader.pos < end) {
|
10457
|
+
const tag = reader.uint32();
|
10458
|
+
switch (tag >>> 3) {
|
10459
|
+
case 1:
|
10460
|
+
if (tag !== 10) {
|
10461
|
+
break;
|
10462
|
+
}
|
10463
|
+
|
10464
|
+
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
10465
|
+
continue;
|
10466
|
+
case 2:
|
10467
|
+
if (tag !== 18) {
|
10468
|
+
break;
|
10469
|
+
}
|
10470
|
+
|
10471
|
+
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
10472
|
+
continue;
|
10473
|
+
}
|
10474
|
+
if ((tag & 7) === 4 || tag === 0) {
|
10475
|
+
break;
|
10476
|
+
}
|
10477
|
+
reader.skipType(tag & 7);
|
10478
|
+
}
|
10479
|
+
return message;
|
10480
|
+
},
|
10481
|
+
|
10482
|
+
fromJSON(object: any): Data_FuelTransaction {
|
10483
|
+
return {
|
10484
|
+
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
10485
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
10486
|
+
};
|
10487
|
+
},
|
10488
|
+
|
10489
|
+
toJSON(message: Data_FuelTransaction): unknown {
|
10490
|
+
const obj: any = {};
|
10491
|
+
if (message.transaction !== undefined) {
|
10492
|
+
obj.transaction = message.transaction;
|
10493
|
+
}
|
10494
|
+
if (message.timestamp !== undefined) {
|
10495
|
+
obj.timestamp = message.timestamp.toISOString();
|
10496
|
+
}
|
10497
|
+
return obj;
|
10498
|
+
},
|
10499
|
+
|
10500
|
+
create(base?: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction {
|
10501
|
+
return Data_FuelTransaction.fromPartial(base ?? {});
|
10502
|
+
},
|
10503
|
+
fromPartial(object: DeepPartial<Data_FuelTransaction>): Data_FuelTransaction {
|
10504
|
+
const message = createBaseData_FuelTransaction();
|
10505
|
+
message.transaction = object.transaction ?? undefined;
|
10506
|
+
message.timestamp = object.timestamp ?? undefined;
|
10507
|
+
return message;
|
10508
|
+
},
|
10509
|
+
};
|
10510
|
+
|
10135
10511
|
function createBaseData_FuelCall(): Data_FuelCall {
|
10136
10512
|
return { transaction: undefined, timestamp: undefined };
|
10137
10513
|
}
|