@sentio/protos 2.2.0 → 2.3.0-rc.2

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.
@@ -562,7 +562,6 @@ export interface DataBinding {
562
562
  export interface ProcessResult {
563
563
  gauges: GaugeResult[];
564
564
  counters: CounterResult[];
565
- logs: LogResult[];
566
565
  events: EventTrackingResult[];
567
566
  exports: ExportResult[];
568
567
  }
@@ -612,14 +611,6 @@ export interface CounterResult {
612
611
  runtimeInfo: RuntimeInfo | undefined;
613
612
  }
614
613
 
615
- export interface LogResult {
616
- metadata: RecordMetaData | undefined;
617
- level: LogLevel;
618
- message: string;
619
- attributes2: { [key: string]: any } | undefined;
620
- runtimeInfo: RuntimeInfo | undefined;
621
- }
622
-
623
614
  export interface EventTrackingResult {
624
615
  metadata: RecordMetaData | undefined;
625
616
  distinctEntityId: string;
@@ -686,6 +677,10 @@ export const ProjectConfig = {
686
677
  return obj;
687
678
  },
688
679
 
680
+ create(base?: DeepPartial<ProjectConfig>): ProjectConfig {
681
+ return ProjectConfig.fromPartial(base ?? {});
682
+ },
683
+
689
684
  fromPartial(object: DeepPartial<ProjectConfig>): ProjectConfig {
690
685
  const message = createBaseProjectConfig();
691
686
  message.name = object.name ?? "";
@@ -727,6 +722,10 @@ export const ProcessConfigRequest = {
727
722
  return obj;
728
723
  },
729
724
 
725
+ create(base?: DeepPartial<ProcessConfigRequest>): ProcessConfigRequest {
726
+ return ProcessConfigRequest.fromPartial(base ?? {});
727
+ },
728
+
730
729
  fromPartial(_: DeepPartial<ProcessConfigRequest>): ProcessConfigRequest {
731
730
  const message = createBaseProcessConfigRequest();
732
731
  return message;
@@ -867,6 +866,10 @@ export const ProcessConfigResponse = {
867
866
  return obj;
868
867
  },
869
868
 
869
+ create(base?: DeepPartial<ProcessConfigResponse>): ProcessConfigResponse {
870
+ return ProcessConfigResponse.fromPartial(base ?? {});
871
+ },
872
+
870
873
  fromPartial(object: DeepPartial<ProcessConfigResponse>): ProcessConfigResponse {
871
874
  const message = createBaseProcessConfigResponse();
872
875
  message.config = (object.config !== undefined && object.config !== null)
@@ -1057,6 +1060,10 @@ export const ContractConfig = {
1057
1060
  return obj;
1058
1061
  },
1059
1062
 
1063
+ create(base?: DeepPartial<ContractConfig>): ContractConfig {
1064
+ return ContractConfig.fromPartial(base ?? {});
1065
+ },
1066
+
1060
1067
  fromPartial(object: DeepPartial<ContractConfig>): ContractConfig {
1061
1068
  const message = createBaseContractConfig();
1062
1069
  message.contract = (object.contract !== undefined && object.contract !== null)
@@ -1111,6 +1118,10 @@ export const TotalPerEntityAggregation = {
1111
1118
  return obj;
1112
1119
  },
1113
1120
 
1121
+ create(base?: DeepPartial<TotalPerEntityAggregation>): TotalPerEntityAggregation {
1122
+ return TotalPerEntityAggregation.fromPartial(base ?? {});
1123
+ },
1124
+
1114
1125
  fromPartial(_: DeepPartial<TotalPerEntityAggregation>): TotalPerEntityAggregation {
1115
1126
  const message = createBaseTotalPerEntityAggregation();
1116
1127
  return message;
@@ -1167,6 +1178,10 @@ export const RetentionConfig = {
1167
1178
  return obj;
1168
1179
  },
1169
1180
 
1181
+ create(base?: DeepPartial<RetentionConfig>): RetentionConfig {
1182
+ return RetentionConfig.fromPartial(base ?? {});
1183
+ },
1184
+
1170
1185
  fromPartial(object: DeepPartial<RetentionConfig>): RetentionConfig {
1171
1186
  const message = createBaseRetentionConfig();
1172
1187
  message.retentionEventName = object.retentionEventName ?? "";
@@ -1284,6 +1299,10 @@ export const EventTrackingConfig = {
1284
1299
  return obj;
1285
1300
  },
1286
1301
 
1302
+ create(base?: DeepPartial<EventTrackingConfig>): EventTrackingConfig {
1303
+ return EventTrackingConfig.fromPartial(base ?? {});
1304
+ },
1305
+
1287
1306
  fromPartial(object: DeepPartial<EventTrackingConfig>): EventTrackingConfig {
1288
1307
  const message = createBaseEventTrackingConfig();
1289
1308
  message.eventName = object.eventName ?? "";
@@ -1350,6 +1369,10 @@ export const ExportConfig = {
1350
1369
  return obj;
1351
1370
  },
1352
1371
 
1372
+ create(base?: DeepPartial<ExportConfig>): ExportConfig {
1373
+ return ExportConfig.fromPartial(base ?? {});
1374
+ },
1375
+
1353
1376
  fromPartial(object: DeepPartial<ExportConfig>): ExportConfig {
1354
1377
  const message = createBaseExportConfig();
1355
1378
  message.name = object.name ?? "";
@@ -1462,6 +1485,10 @@ export const MetricConfig = {
1462
1485
  return obj;
1463
1486
  },
1464
1487
 
1488
+ create(base?: DeepPartial<MetricConfig>): MetricConfig {
1489
+ return MetricConfig.fromPartial(base ?? {});
1490
+ },
1491
+
1465
1492
  fromPartial(object: DeepPartial<MetricConfig>): MetricConfig {
1466
1493
  const message = createBaseMetricConfig();
1467
1494
  message.name = object.name ?? "";
@@ -1563,6 +1590,10 @@ export const AggregationConfig = {
1563
1590
  return obj;
1564
1591
  },
1565
1592
 
1593
+ create(base?: DeepPartial<AggregationConfig>): AggregationConfig {
1594
+ return AggregationConfig.fromPartial(base ?? {});
1595
+ },
1596
+
1566
1597
  fromPartial(object: DeepPartial<AggregationConfig>): AggregationConfig {
1567
1598
  const message = createBaseAggregationConfig();
1568
1599
  message.intervalInMinutes = object.intervalInMinutes?.map((e) => e) || [];
@@ -1681,6 +1712,10 @@ export const AccountConfig = {
1681
1712
  return obj;
1682
1713
  },
1683
1714
 
1715
+ create(base?: DeepPartial<AccountConfig>): AccountConfig {
1716
+ return AccountConfig.fromPartial(base ?? {});
1717
+ },
1718
+
1684
1719
  fromPartial(object: DeepPartial<AccountConfig>): AccountConfig {
1685
1720
  const message = createBaseAccountConfig();
1686
1721
  message.chainId = object.chainId ?? "";
@@ -1743,6 +1778,10 @@ export const HandleInterval = {
1743
1778
  return obj;
1744
1779
  },
1745
1780
 
1781
+ create(base?: DeepPartial<HandleInterval>): HandleInterval {
1782
+ return HandleInterval.fromPartial(base ?? {});
1783
+ },
1784
+
1746
1785
  fromPartial(object: DeepPartial<HandleInterval>): HandleInterval {
1747
1786
  const message = createBaseHandleInterval();
1748
1787
  message.recentInterval = object.recentInterval ?? 0;
@@ -1827,6 +1866,10 @@ export const OnIntervalConfig = {
1827
1866
  return obj;
1828
1867
  },
1829
1868
 
1869
+ create(base?: DeepPartial<OnIntervalConfig>): OnIntervalConfig {
1870
+ return OnIntervalConfig.fromPartial(base ?? {});
1871
+ },
1872
+
1830
1873
  fromPartial(object: DeepPartial<OnIntervalConfig>): OnIntervalConfig {
1831
1874
  const message = createBaseOnIntervalConfig();
1832
1875
  message.handlerId = object.handlerId ?? 0;
@@ -1893,6 +1936,10 @@ export const AptosOnIntervalConfig = {
1893
1936
  return obj;
1894
1937
  },
1895
1938
 
1939
+ create(base?: DeepPartial<AptosOnIntervalConfig>): AptosOnIntervalConfig {
1940
+ return AptosOnIntervalConfig.fromPartial(base ?? {});
1941
+ },
1942
+
1896
1943
  fromPartial(object: DeepPartial<AptosOnIntervalConfig>): AptosOnIntervalConfig {
1897
1944
  const message = createBaseAptosOnIntervalConfig();
1898
1945
  message.intervalConfig = (object.intervalConfig !== undefined && object.intervalConfig !== null)
@@ -1969,6 +2016,10 @@ export const ContractInfo = {
1969
2016
  return obj;
1970
2017
  },
1971
2018
 
2019
+ create(base?: DeepPartial<ContractInfo>): ContractInfo {
2020
+ return ContractInfo.fromPartial(base ?? {});
2021
+ },
2022
+
1972
2023
  fromPartial(object: DeepPartial<ContractInfo>): ContractInfo {
1973
2024
  const message = createBaseContractInfo();
1974
2025
  message.name = object.name ?? "";
@@ -2046,6 +2097,10 @@ export const TemplateInstance = {
2046
2097
  return obj;
2047
2098
  },
2048
2099
 
2100
+ create(base?: DeepPartial<TemplateInstance>): TemplateInstance {
2101
+ return TemplateInstance.fromPartial(base ?? {});
2102
+ },
2103
+
2049
2104
  fromPartial(object: DeepPartial<TemplateInstance>): TemplateInstance {
2050
2105
  const message = createBaseTemplateInstance();
2051
2106
  message.contract = (object.contract !== undefined && object.contract !== null)
@@ -2106,6 +2161,10 @@ export const StartRequest = {
2106
2161
  return obj;
2107
2162
  },
2108
2163
 
2164
+ create(base?: DeepPartial<StartRequest>): StartRequest {
2165
+ return StartRequest.fromPartial(base ?? {});
2166
+ },
2167
+
2109
2168
  fromPartial(object: DeepPartial<StartRequest>): StartRequest {
2110
2169
  const message = createBaseStartRequest();
2111
2170
  message.templateInstances = object.templateInstances?.map((e) => TemplateInstance.fromPartial(e)) || [];
@@ -2153,6 +2212,10 @@ export const BlockHandlerConfig = {
2153
2212
  return obj;
2154
2213
  },
2155
2214
 
2215
+ create(base?: DeepPartial<BlockHandlerConfig>): BlockHandlerConfig {
2216
+ return BlockHandlerConfig.fromPartial(base ?? {});
2217
+ },
2218
+
2156
2219
  fromPartial(object: DeepPartial<BlockHandlerConfig>): BlockHandlerConfig {
2157
2220
  const message = createBaseBlockHandlerConfig();
2158
2221
  message.handlerId = object.handlerId ?? 0;
@@ -2218,6 +2281,10 @@ export const EthFetchConfig = {
2218
2281
  return obj;
2219
2282
  },
2220
2283
 
2284
+ create(base?: DeepPartial<EthFetchConfig>): EthFetchConfig {
2285
+ return EthFetchConfig.fromPartial(base ?? {});
2286
+ },
2287
+
2221
2288
  fromPartial(object: DeepPartial<EthFetchConfig>): EthFetchConfig {
2222
2289
  const message = createBaseEthFetchConfig();
2223
2290
  message.transaction = object.transaction ?? false;
@@ -2286,6 +2353,10 @@ export const TraceHandlerConfig = {
2286
2353
  return obj;
2287
2354
  },
2288
2355
 
2356
+ create(base?: DeepPartial<TraceHandlerConfig>): TraceHandlerConfig {
2357
+ return TraceHandlerConfig.fromPartial(base ?? {});
2358
+ },
2359
+
2289
2360
  fromPartial(object: DeepPartial<TraceHandlerConfig>): TraceHandlerConfig {
2290
2361
  const message = createBaseTraceHandlerConfig();
2291
2362
  message.signature = object.signature ?? "";
@@ -2348,6 +2419,10 @@ export const TransactionHandlerConfig = {
2348
2419
  return obj;
2349
2420
  },
2350
2421
 
2422
+ create(base?: DeepPartial<TransactionHandlerConfig>): TransactionHandlerConfig {
2423
+ return TransactionHandlerConfig.fromPartial(base ?? {});
2424
+ },
2425
+
2351
2426
  fromPartial(object: DeepPartial<TransactionHandlerConfig>): TransactionHandlerConfig {
2352
2427
  const message = createBaseTransactionHandlerConfig();
2353
2428
  message.handlerId = object.handlerId ?? 0;
@@ -2421,6 +2496,10 @@ export const LogHandlerConfig = {
2421
2496
  return obj;
2422
2497
  },
2423
2498
 
2499
+ create(base?: DeepPartial<LogHandlerConfig>): LogHandlerConfig {
2500
+ return LogHandlerConfig.fromPartial(base ?? {});
2501
+ },
2502
+
2424
2503
  fromPartial(object: DeepPartial<LogHandlerConfig>): LogHandlerConfig {
2425
2504
  const message = createBaseLogHandlerConfig();
2426
2505
  message.filters = object.filters?.map((e) => LogFilter.fromPartial(e)) || [];
@@ -2495,6 +2574,10 @@ export const LogFilter = {
2495
2574
  return obj;
2496
2575
  },
2497
2576
 
2577
+ create(base?: DeepPartial<LogFilter>): LogFilter {
2578
+ return LogFilter.fromPartial(base ?? {});
2579
+ },
2580
+
2498
2581
  fromPartial(object: DeepPartial<LogFilter>): LogFilter {
2499
2582
  const message = createBaseLogFilter();
2500
2583
  message.topics = object.topics?.map((e) => Topic.fromPartial(e)) || [];
@@ -2562,6 +2645,10 @@ export const InstructionHandlerConfig = {
2562
2645
  return obj;
2563
2646
  },
2564
2647
 
2648
+ create(base?: DeepPartial<InstructionHandlerConfig>): InstructionHandlerConfig {
2649
+ return InstructionHandlerConfig.fromPartial(base ?? {});
2650
+ },
2651
+
2565
2652
  fromPartial(object: DeepPartial<InstructionHandlerConfig>): InstructionHandlerConfig {
2566
2653
  const message = createBaseInstructionHandlerConfig();
2567
2654
  message.innerInstruction = object.innerInstruction ?? false;
@@ -2611,6 +2698,10 @@ export const MoveFetchConfig = {
2611
2698
  return obj;
2612
2699
  },
2613
2700
 
2701
+ create(base?: DeepPartial<MoveFetchConfig>): MoveFetchConfig {
2702
+ return MoveFetchConfig.fromPartial(base ?? {});
2703
+ },
2704
+
2614
2705
  fromPartial(object: DeepPartial<MoveFetchConfig>): MoveFetchConfig {
2615
2706
  const message = createBaseMoveFetchConfig();
2616
2707
  message.resourceChanges = object.resourceChanges ?? false;
@@ -2681,6 +2772,10 @@ export const MoveEventHandlerConfig = {
2681
2772
  return obj;
2682
2773
  },
2683
2774
 
2775
+ create(base?: DeepPartial<MoveEventHandlerConfig>): MoveEventHandlerConfig {
2776
+ return MoveEventHandlerConfig.fromPartial(base ?? {});
2777
+ },
2778
+
2684
2779
  fromPartial(object: DeepPartial<MoveEventHandlerConfig>): MoveEventHandlerConfig {
2685
2780
  const message = createBaseMoveEventHandlerConfig();
2686
2781
  message.filters = object.filters?.map((e) => MoveEventFilter.fromPartial(e)) || [];
@@ -2742,6 +2837,10 @@ export const MoveEventFilter = {
2742
2837
  return obj;
2743
2838
  },
2744
2839
 
2840
+ create(base?: DeepPartial<MoveEventFilter>): MoveEventFilter {
2841
+ return MoveEventFilter.fromPartial(base ?? {});
2842
+ },
2843
+
2745
2844
  fromPartial(object: DeepPartial<MoveEventFilter>): MoveEventFilter {
2746
2845
  const message = createBaseMoveEventFilter();
2747
2846
  message.type = object.type ?? "";
@@ -2813,6 +2912,10 @@ export const MoveCallHandlerConfig = {
2813
2912
  return obj;
2814
2913
  },
2815
2914
 
2915
+ create(base?: DeepPartial<MoveCallHandlerConfig>): MoveCallHandlerConfig {
2916
+ return MoveCallHandlerConfig.fromPartial(base ?? {});
2917
+ },
2918
+
2816
2919
  fromPartial(object: DeepPartial<MoveCallHandlerConfig>): MoveCallHandlerConfig {
2817
2920
  const message = createBaseMoveCallHandlerConfig();
2818
2921
  message.filters = object.filters?.map((e) => MoveCallFilter.fromPartial(e)) || [];
@@ -2894,6 +2997,10 @@ export const MoveCallFilter = {
2894
2997
  return obj;
2895
2998
  },
2896
2999
 
3000
+ create(base?: DeepPartial<MoveCallFilter>): MoveCallFilter {
3001
+ return MoveCallFilter.fromPartial(base ?? {});
3002
+ },
3003
+
2897
3004
  fromPartial(object: DeepPartial<MoveCallFilter>): MoveCallFilter {
2898
3005
  const message = createBaseMoveCallFilter();
2899
3006
  message.function = object.function ?? "";
@@ -2948,6 +3055,10 @@ export const Topic = {
2948
3055
  return obj;
2949
3056
  },
2950
3057
 
3058
+ create(base?: DeepPartial<Topic>): Topic {
3059
+ return Topic.fromPartial(base ?? {});
3060
+ },
3061
+
2951
3062
  fromPartial(object: DeepPartial<Topic>): Topic {
2952
3063
  const message = createBaseTopic();
2953
3064
  message.hashes = object.hashes?.map((e) => e) || [];
@@ -3001,6 +3112,10 @@ export const ProcessBindingsRequest = {
3001
3112
  return obj;
3002
3113
  },
3003
3114
 
3115
+ create(base?: DeepPartial<ProcessBindingsRequest>): ProcessBindingsRequest {
3116
+ return ProcessBindingsRequest.fromPartial(base ?? {});
3117
+ },
3118
+
3004
3119
  fromPartial(object: DeepPartial<ProcessBindingsRequest>): ProcessBindingsRequest {
3005
3120
  const message = createBaseProcessBindingsRequest();
3006
3121
  message.bindings = object.bindings?.map((e) => DataBinding.fromPartial(e)) || [];
@@ -3058,6 +3173,10 @@ export const ProcessBindingResponse = {
3058
3173
  return obj;
3059
3174
  },
3060
3175
 
3176
+ create(base?: DeepPartial<ProcessBindingResponse>): ProcessBindingResponse {
3177
+ return ProcessBindingResponse.fromPartial(base ?? {});
3178
+ },
3179
+
3061
3180
  fromPartial(object: DeepPartial<ProcessBindingResponse>): ProcessBindingResponse {
3062
3181
  const message = createBaseProcessBindingResponse();
3063
3182
  message.result = (object.result !== undefined && object.result !== null)
@@ -3200,6 +3319,10 @@ export const Data = {
3200
3319
  return obj;
3201
3320
  },
3202
3321
 
3322
+ create(base?: DeepPartial<Data>): Data {
3323
+ return Data.fromPartial(base ?? {});
3324
+ },
3325
+
3203
3326
  fromPartial(object: DeepPartial<Data>): Data {
3204
3327
  const message = createBaseData();
3205
3328
  message.ethLog = (object.ethLog !== undefined && object.ethLog !== null)
@@ -3316,6 +3439,10 @@ export const Data_EthLog = {
3316
3439
  return obj;
3317
3440
  },
3318
3441
 
3442
+ create(base?: DeepPartial<Data_EthLog>): Data_EthLog {
3443
+ return Data_EthLog.fromPartial(base ?? {});
3444
+ },
3445
+
3319
3446
  fromPartial(object: DeepPartial<Data_EthLog>): Data_EthLog {
3320
3447
  const message = createBaseData_EthLog();
3321
3448
  message.log = object.log ?? undefined;
@@ -3367,6 +3494,10 @@ export const Data_EthBlock = {
3367
3494
  return obj;
3368
3495
  },
3369
3496
 
3497
+ create(base?: DeepPartial<Data_EthBlock>): Data_EthBlock {
3498
+ return Data_EthBlock.fromPartial(base ?? {});
3499
+ },
3500
+
3370
3501
  fromPartial(object: DeepPartial<Data_EthBlock>): Data_EthBlock {
3371
3502
  const message = createBaseData_EthBlock();
3372
3503
  message.block = object.block ?? undefined;
@@ -3440,6 +3571,10 @@ export const Data_EthTransaction = {
3440
3571
  return obj;
3441
3572
  },
3442
3573
 
3574
+ create(base?: DeepPartial<Data_EthTransaction>): Data_EthTransaction {
3575
+ return Data_EthTransaction.fromPartial(base ?? {});
3576
+ },
3577
+
3443
3578
  fromPartial(object: DeepPartial<Data_EthTransaction>): Data_EthTransaction {
3444
3579
  const message = createBaseData_EthTransaction();
3445
3580
  message.transaction = object.transaction ?? undefined;
@@ -3530,6 +3665,10 @@ export const Data_EthTrace = {
3530
3665
  return obj;
3531
3666
  },
3532
3667
 
3668
+ create(base?: DeepPartial<Data_EthTrace>): Data_EthTrace {
3669
+ return Data_EthTrace.fromPartial(base ?? {});
3670
+ },
3671
+
3533
3672
  fromPartial(object: DeepPartial<Data_EthTrace>): Data_EthTrace {
3534
3673
  const message = createBaseData_EthTrace();
3535
3674
  message.trace = object.trace ?? undefined;
@@ -3619,6 +3758,10 @@ export const Data_SolInstruction = {
3619
3758
  return obj;
3620
3759
  },
3621
3760
 
3761
+ create(base?: DeepPartial<Data_SolInstruction>): Data_SolInstruction {
3762
+ return Data_SolInstruction.fromPartial(base ?? {});
3763
+ },
3764
+
3622
3765
  fromPartial(object: DeepPartial<Data_SolInstruction>): Data_SolInstruction {
3623
3766
  const message = createBaseData_SolInstruction();
3624
3767
  message.instructionData = object.instructionData ?? "";
@@ -3670,6 +3813,10 @@ export const Data_AptEvent = {
3670
3813
  return obj;
3671
3814
  },
3672
3815
 
3816
+ create(base?: DeepPartial<Data_AptEvent>): Data_AptEvent {
3817
+ return Data_AptEvent.fromPartial(base ?? {});
3818
+ },
3819
+
3673
3820
  fromPartial(object: DeepPartial<Data_AptEvent>): Data_AptEvent {
3674
3821
  const message = createBaseData_AptEvent();
3675
3822
  message.transaction = object.transaction ?? undefined;
@@ -3717,6 +3864,10 @@ export const Data_AptCall = {
3717
3864
  return obj;
3718
3865
  },
3719
3866
 
3867
+ create(base?: DeepPartial<Data_AptCall>): Data_AptCall {
3868
+ return Data_AptCall.fromPartial(base ?? {});
3869
+ },
3870
+
3720
3871
  fromPartial(object: DeepPartial<Data_AptCall>): Data_AptCall {
3721
3872
  const message = createBaseData_AptCall();
3722
3873
  message.transaction = object.transaction ?? undefined;
@@ -3786,6 +3937,10 @@ export const Data_AptResource = {
3786
3937
  return obj;
3787
3938
  },
3788
3939
 
3940
+ create(base?: DeepPartial<Data_AptResource>): Data_AptResource {
3941
+ return Data_AptResource.fromPartial(base ?? {});
3942
+ },
3943
+
3789
3944
  fromPartial(object: DeepPartial<Data_AptResource>): Data_AptResource {
3790
3945
  const message = createBaseData_AptResource();
3791
3946
  message.resources = object.resources?.map((e) => e) || [];
@@ -3835,6 +3990,10 @@ export const Data_SuiEvent = {
3835
3990
  return obj;
3836
3991
  },
3837
3992
 
3993
+ create(base?: DeepPartial<Data_SuiEvent>): Data_SuiEvent {
3994
+ return Data_SuiEvent.fromPartial(base ?? {});
3995
+ },
3996
+
3838
3997
  fromPartial(object: DeepPartial<Data_SuiEvent>): Data_SuiEvent {
3839
3998
  const message = createBaseData_SuiEvent();
3840
3999
  message.transaction = object.transaction ?? undefined;
@@ -3882,6 +4041,10 @@ export const Data_SuiCall = {
3882
4041
  return obj;
3883
4042
  },
3884
4043
 
4044
+ create(base?: DeepPartial<Data_SuiCall>): Data_SuiCall {
4045
+ return Data_SuiCall.fromPartial(base ?? {});
4046
+ },
4047
+
3885
4048
  fromPartial(object: DeepPartial<Data_SuiCall>): Data_SuiCall {
3886
4049
  const message = createBaseData_SuiCall();
3887
4050
  message.transaction = object.transaction ?? undefined;
@@ -3960,6 +4123,10 @@ export const DataBinding = {
3960
4123
  return obj;
3961
4124
  },
3962
4125
 
4126
+ create(base?: DeepPartial<DataBinding>): DataBinding {
4127
+ return DataBinding.fromPartial(base ?? {});
4128
+ },
4129
+
3963
4130
  fromPartial(object: DeepPartial<DataBinding>): DataBinding {
3964
4131
  const message = createBaseDataBinding();
3965
4132
  message.data = (object.data !== undefined && object.data !== null) ? Data.fromPartial(object.data) : undefined;
@@ -3970,7 +4137,7 @@ export const DataBinding = {
3970
4137
  };
3971
4138
 
3972
4139
  function createBaseProcessResult(): ProcessResult {
3973
- return { gauges: [], counters: [], logs: [], events: [], exports: [] };
4140
+ return { gauges: [], counters: [], events: [], exports: [] };
3974
4141
  }
3975
4142
 
3976
4143
  export const ProcessResult = {
@@ -3981,9 +4148,6 @@ export const ProcessResult = {
3981
4148
  for (const v of message.counters) {
3982
4149
  CounterResult.encode(v!, writer.uint32(18).fork()).ldelim();
3983
4150
  }
3984
- for (const v of message.logs) {
3985
- LogResult.encode(v!, writer.uint32(26).fork()).ldelim();
3986
- }
3987
4151
  for (const v of message.events) {
3988
4152
  EventTrackingResult.encode(v!, writer.uint32(34).fork()).ldelim();
3989
4153
  }
@@ -4006,9 +4170,6 @@ export const ProcessResult = {
4006
4170
  case 2:
4007
4171
  message.counters.push(CounterResult.decode(reader, reader.uint32()));
4008
4172
  break;
4009
- case 3:
4010
- message.logs.push(LogResult.decode(reader, reader.uint32()));
4011
- break;
4012
4173
  case 4:
4013
4174
  message.events.push(EventTrackingResult.decode(reader, reader.uint32()));
4014
4175
  break;
@@ -4027,7 +4188,6 @@ export const ProcessResult = {
4027
4188
  return {
4028
4189
  gauges: Array.isArray(object?.gauges) ? object.gauges.map((e: any) => GaugeResult.fromJSON(e)) : [],
4029
4190
  counters: Array.isArray(object?.counters) ? object.counters.map((e: any) => CounterResult.fromJSON(e)) : [],
4030
- logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => LogResult.fromJSON(e)) : [],
4031
4191
  events: Array.isArray(object?.events) ? object.events.map((e: any) => EventTrackingResult.fromJSON(e)) : [],
4032
4192
  exports: Array.isArray(object?.exports) ? object.exports.map((e: any) => ExportResult.fromJSON(e)) : [],
4033
4193
  };
@@ -4045,11 +4205,6 @@ export const ProcessResult = {
4045
4205
  } else {
4046
4206
  obj.counters = [];
4047
4207
  }
4048
- if (message.logs) {
4049
- obj.logs = message.logs.map((e) => e ? LogResult.toJSON(e) : undefined);
4050
- } else {
4051
- obj.logs = [];
4052
- }
4053
4208
  if (message.events) {
4054
4209
  obj.events = message.events.map((e) => e ? EventTrackingResult.toJSON(e) : undefined);
4055
4210
  } else {
@@ -4063,11 +4218,14 @@ export const ProcessResult = {
4063
4218
  return obj;
4064
4219
  },
4065
4220
 
4221
+ create(base?: DeepPartial<ProcessResult>): ProcessResult {
4222
+ return ProcessResult.fromPartial(base ?? {});
4223
+ },
4224
+
4066
4225
  fromPartial(object: DeepPartial<ProcessResult>): ProcessResult {
4067
4226
  const message = createBaseProcessResult();
4068
4227
  message.gauges = object.gauges?.map((e) => GaugeResult.fromPartial(e)) || [];
4069
4228
  message.counters = object.counters?.map((e) => CounterResult.fromPartial(e)) || [];
4070
- message.logs = object.logs?.map((e) => LogResult.fromPartial(e)) || [];
4071
4229
  message.events = object.events?.map((e) => EventTrackingResult.fromPartial(e)) || [];
4072
4230
  message.exports = object.exports?.map((e) => ExportResult.fromPartial(e)) || [];
4073
4231
  return message;
@@ -4203,6 +4361,10 @@ export const RecordMetaData = {
4203
4361
  return obj;
4204
4362
  },
4205
4363
 
4364
+ create(base?: DeepPartial<RecordMetaData>): RecordMetaData {
4365
+ return RecordMetaData.fromPartial(base ?? {});
4366
+ },
4367
+
4206
4368
  fromPartial(object: DeepPartial<RecordMetaData>): RecordMetaData {
4207
4369
  const message = createBaseRecordMetaData();
4208
4370
  message.address = object.address ?? "";
@@ -4270,6 +4432,10 @@ export const RecordMetaData_LabelsEntry = {
4270
4432
  return obj;
4271
4433
  },
4272
4434
 
4435
+ create(base?: DeepPartial<RecordMetaData_LabelsEntry>): RecordMetaData_LabelsEntry {
4436
+ return RecordMetaData_LabelsEntry.fromPartial(base ?? {});
4437
+ },
4438
+
4273
4439
  fromPartial(object: DeepPartial<RecordMetaData_LabelsEntry>): RecordMetaData_LabelsEntry {
4274
4440
  const message = createBaseRecordMetaData_LabelsEntry();
4275
4441
  message.key = object.key ?? "";
@@ -4337,6 +4503,10 @@ export const MetricValue = {
4337
4503
  return obj;
4338
4504
  },
4339
4505
 
4506
+ create(base?: DeepPartial<MetricValue>): MetricValue {
4507
+ return MetricValue.fromPartial(base ?? {});
4508
+ },
4509
+
4340
4510
  fromPartial(object: DeepPartial<MetricValue>): MetricValue {
4341
4511
  const message = createBaseMetricValue();
4342
4512
  message.bigDecimal = object.bigDecimal ?? undefined;
@@ -4399,6 +4569,10 @@ export const BigInteger = {
4399
4569
  return obj;
4400
4570
  },
4401
4571
 
4572
+ create(base?: DeepPartial<BigInteger>): BigInteger {
4573
+ return BigInteger.fromPartial(base ?? {});
4574
+ },
4575
+
4402
4576
  fromPartial(object: DeepPartial<BigInteger>): BigInteger {
4403
4577
  const message = createBaseBigInteger();
4404
4578
  message.negative = object.negative ?? false;
@@ -4447,6 +4621,10 @@ export const RuntimeInfo = {
4447
4621
  return obj;
4448
4622
  },
4449
4623
 
4624
+ create(base?: DeepPartial<RuntimeInfo>): RuntimeInfo {
4625
+ return RuntimeInfo.fromPartial(base ?? {});
4626
+ },
4627
+
4450
4628
  fromPartial(object: DeepPartial<RuntimeInfo>): RuntimeInfo {
4451
4629
  const message = createBaseRuntimeInfo();
4452
4630
  message.from = object.from ?? 0;
@@ -4515,6 +4693,10 @@ export const GaugeResult = {
4515
4693
  return obj;
4516
4694
  },
4517
4695
 
4696
+ create(base?: DeepPartial<GaugeResult>): GaugeResult {
4697
+ return GaugeResult.fromPartial(base ?? {});
4698
+ },
4699
+
4518
4700
  fromPartial(object: DeepPartial<GaugeResult>): GaugeResult {
4519
4701
  const message = createBaseGaugeResult();
4520
4702
  message.metadata = (object.metadata !== undefined && object.metadata !== null)
@@ -4599,6 +4781,10 @@ export const CounterResult = {
4599
4781
  return obj;
4600
4782
  },
4601
4783
 
4784
+ create(base?: DeepPartial<CounterResult>): CounterResult {
4785
+ return CounterResult.fromPartial(base ?? {});
4786
+ },
4787
+
4602
4788
  fromPartial(object: DeepPartial<CounterResult>): CounterResult {
4603
4789
  const message = createBaseCounterResult();
4604
4790
  message.metadata = (object.metadata !== undefined && object.metadata !== null)
@@ -4615,97 +4801,6 @@ export const CounterResult = {
4615
4801
  },
4616
4802
  };
4617
4803
 
4618
- function createBaseLogResult(): LogResult {
4619
- return { metadata: undefined, level: 0, message: "", attributes2: undefined, runtimeInfo: undefined };
4620
- }
4621
-
4622
- export const LogResult = {
4623
- encode(message: LogResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
4624
- if (message.metadata !== undefined) {
4625
- RecordMetaData.encode(message.metadata, writer.uint32(10).fork()).ldelim();
4626
- }
4627
- if (message.level !== 0) {
4628
- writer.uint32(16).int32(message.level);
4629
- }
4630
- if (message.message !== "") {
4631
- writer.uint32(26).string(message.message);
4632
- }
4633
- if (message.attributes2 !== undefined) {
4634
- Struct.encode(Struct.wrap(message.attributes2), writer.uint32(58).fork()).ldelim();
4635
- }
4636
- if (message.runtimeInfo !== undefined) {
4637
- RuntimeInfo.encode(message.runtimeInfo, writer.uint32(34).fork()).ldelim();
4638
- }
4639
- return writer;
4640
- },
4641
-
4642
- decode(input: _m0.Reader | Uint8Array, length?: number): LogResult {
4643
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
4644
- let end = length === undefined ? reader.len : reader.pos + length;
4645
- const message = createBaseLogResult();
4646
- while (reader.pos < end) {
4647
- const tag = reader.uint32();
4648
- switch (tag >>> 3) {
4649
- case 1:
4650
- message.metadata = RecordMetaData.decode(reader, reader.uint32());
4651
- break;
4652
- case 2:
4653
- message.level = reader.int32() as any;
4654
- break;
4655
- case 3:
4656
- message.message = reader.string();
4657
- break;
4658
- case 7:
4659
- message.attributes2 = Struct.unwrap(Struct.decode(reader, reader.uint32()));
4660
- break;
4661
- case 4:
4662
- message.runtimeInfo = RuntimeInfo.decode(reader, reader.uint32());
4663
- break;
4664
- default:
4665
- reader.skipType(tag & 7);
4666
- break;
4667
- }
4668
- }
4669
- return message;
4670
- },
4671
-
4672
- fromJSON(object: any): LogResult {
4673
- return {
4674
- metadata: isSet(object.metadata) ? RecordMetaData.fromJSON(object.metadata) : undefined,
4675
- level: isSet(object.level) ? logLevelFromJSON(object.level) : 0,
4676
- message: isSet(object.message) ? String(object.message) : "",
4677
- attributes2: isObject(object.attributes2) ? object.attributes2 : undefined,
4678
- runtimeInfo: isSet(object.runtimeInfo) ? RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
4679
- };
4680
- },
4681
-
4682
- toJSON(message: LogResult): unknown {
4683
- const obj: any = {};
4684
- message.metadata !== undefined &&
4685
- (obj.metadata = message.metadata ? RecordMetaData.toJSON(message.metadata) : undefined);
4686
- message.level !== undefined && (obj.level = logLevelToJSON(message.level));
4687
- message.message !== undefined && (obj.message = message.message);
4688
- message.attributes2 !== undefined && (obj.attributes2 = message.attributes2);
4689
- message.runtimeInfo !== undefined &&
4690
- (obj.runtimeInfo = message.runtimeInfo ? RuntimeInfo.toJSON(message.runtimeInfo) : undefined);
4691
- return obj;
4692
- },
4693
-
4694
- fromPartial(object: DeepPartial<LogResult>): LogResult {
4695
- const message = createBaseLogResult();
4696
- message.metadata = (object.metadata !== undefined && object.metadata !== null)
4697
- ? RecordMetaData.fromPartial(object.metadata)
4698
- : undefined;
4699
- message.level = object.level ?? 0;
4700
- message.message = object.message ?? "";
4701
- message.attributes2 = object.attributes2 ?? undefined;
4702
- message.runtimeInfo = (object.runtimeInfo !== undefined && object.runtimeInfo !== null)
4703
- ? RuntimeInfo.fromPartial(object.runtimeInfo)
4704
- : undefined;
4705
- return message;
4706
- },
4707
- };
4708
-
4709
4804
  function createBaseEventTrackingResult(): EventTrackingResult {
4710
4805
  return {
4711
4806
  metadata: undefined,
@@ -4806,6 +4901,10 @@ export const EventTrackingResult = {
4806
4901
  return obj;
4807
4902
  },
4808
4903
 
4904
+ create(base?: DeepPartial<EventTrackingResult>): EventTrackingResult {
4905
+ return EventTrackingResult.fromPartial(base ?? {});
4906
+ },
4907
+
4809
4908
  fromPartial(object: DeepPartial<EventTrackingResult>): EventTrackingResult {
4810
4909
  const message = createBaseEventTrackingResult();
4811
4910
  message.metadata = (object.metadata !== undefined && object.metadata !== null)
@@ -4883,6 +4982,10 @@ export const ExportResult = {
4883
4982
  return obj;
4884
4983
  },
4885
4984
 
4985
+ create(base?: DeepPartial<ExportResult>): ExportResult {
4986
+ return ExportResult.fromPartial(base ?? {});
4987
+ },
4988
+
4886
4989
  fromPartial(object: DeepPartial<ExportResult>): ExportResult {
4887
4990
  const message = createBaseExportResult();
4888
4991
  message.metadata = (object.metadata !== undefined && object.metadata !== null)