@sentio/runtime 3.2.0-rc.7 → 3.3.0-rc.1

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.
@@ -15,7 +15,7 @@ import {
15
15
  require_roots,
16
16
  require_rpc,
17
17
  require_writer
18
- } from "./chunk-WTF2W33M.js";
18
+ } from "./chunk-5M6FVPAW.js";
19
19
  import {
20
20
  init_esm,
21
21
  metrics
@@ -60241,4 +60241,4 @@ long/umd/index.js:
60241
60241
  @noble/curves/esm/secp256k1.js:
60242
60242
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
60243
60243
  */
60244
- //# sourceMappingURL=chunk-G6JGZJP4.js.map
60244
+ //# sourceMappingURL=chunk-D6CHVWKJ.js.map
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as StoreContext, E as ExecutionConfig } from './processor-BUTmbpmJ.js';
2
- export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-BUTmbpmJ.js';
1
+ import { S as StoreContext, E as ExecutionConfig } from './processor-MLp_j8IT.js';
2
+ export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-MLp_j8IT.js';
3
3
  import * as _sentio_protos from '@sentio/protos';
4
4
  import { ProcessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, ProcessConfigResponse, StartRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, DataBinding, PreparedData, PreprocessResult, ProcessStreamRequest, HandlerType, PreprocessStreamRequest, DeepPartial, PreprocessStreamResponse, ProcessStreamResponse } from '@sentio/protos';
5
5
  import { Required } from 'utility-types';
package/lib/index.js CHANGED
@@ -24,11 +24,11 @@ import {
24
24
  providerMetrics,
25
25
  recordRuntimeInfo,
26
26
  timeoutError
27
- } from "./chunk-G6JGZJP4.js";
27
+ } from "./chunk-D6CHVWKJ.js";
28
28
  import {
29
29
  Plugin,
30
30
  PluginManager
31
- } from "./chunk-WTF2W33M.js";
31
+ } from "./chunk-5M6FVPAW.js";
32
32
  import "./chunk-I45UXGDM.js";
33
33
  import "./chunk-KVSDPGUI.js";
34
34
 
@@ -279,6 +279,7 @@ declare enum HandlerType {
279
279
  FUEL_BLOCK = 17,
280
280
  COSMOS_CALL = 14,
281
281
  STARKNET_EVENT = 15,
282
+ SOL_BLOCK = 21,
282
283
  UNRECOGNIZED = -1
283
284
  }
284
285
  declare enum LogLevel {
@@ -350,6 +351,7 @@ interface Data {
350
351
  fuelBlock?: Data_FuelBlock | undefined;
351
352
  cosmosCall?: Data_CosmosCall | undefined;
352
353
  starknetEvents?: Data_StarknetEvent | undefined;
354
+ solBlock?: Data_SolBlock | undefined;
353
355
  }
354
356
  declare const Data: {
355
357
  encode(message: Data, writer?: _m0.Writer): _m0.Writer;
@@ -457,6 +459,7 @@ interface Data_SolInstruction {
457
459
  parsed?: {
458
460
  [key: string]: any;
459
461
  } | undefined;
462
+ rawTransaction?: string | undefined;
460
463
  }
461
464
  declare const Data_SolInstruction: {
462
465
  encode(message: Data_SolInstruction, writer?: _m0.Writer): _m0.Writer;
@@ -466,6 +469,19 @@ declare const Data_SolInstruction: {
466
469
  create(base?: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
467
470
  fromPartial(object: DeepPartial<Data_SolInstruction>): Data_SolInstruction;
468
471
  };
472
+ interface Data_SolBlock {
473
+ rawBlock: string;
474
+ timestamp: Date | undefined;
475
+ slot: bigint;
476
+ }
477
+ declare const Data_SolBlock: {
478
+ encode(message: Data_SolBlock, writer?: _m0.Writer): _m0.Writer;
479
+ decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolBlock;
480
+ fromJSON(object: any): Data_SolBlock;
481
+ toJSON(message: Data_SolBlock): unknown;
482
+ create(base?: DeepPartial<Data_SolBlock>): Data_SolBlock;
483
+ fromPartial(object: DeepPartial<Data_SolBlock>): Data_SolBlock;
484
+ };
469
485
  interface Data_AptEvent {
470
486
  rawEvent: string;
471
487
  eventIndex: number;
@@ -20,7 +20,7 @@ import {
20
20
  require_lib3,
21
21
  require_src,
22
22
  withAbort
23
- } from "./chunk-G6JGZJP4.js";
23
+ } from "./chunk-D6CHVWKJ.js";
24
24
  import {
25
25
  ExecutionConfig,
26
26
  HandlerType,
@@ -30,7 +30,7 @@ import {
30
30
  ProcessorDefinition,
31
31
  ProcessorV3Definition,
32
32
  require_minimal2 as require_minimal
33
- } from "./chunk-WTF2W33M.js";
33
+ } from "./chunk-5M6FVPAW.js";
34
34
  import {
35
35
  DiagConsoleLogger,
36
36
  DiagLogLevel,
@@ -1,4 +1,4 @@
1
- import { P as Plugin, D as DataBinding, a as ProcessResult, H as HandlerType } from './processor-BUTmbpmJ.js';
1
+ import { P as Plugin, D as DataBinding, a as ProcessResult, H as HandlerType } from './processor-MLp_j8IT.js';
2
2
  import { ProcessStreamResponse_Partitions, InitResponse, ProcessConfigResponse } from '@sentio/protos';
3
3
  import 'rxjs';
4
4
  import 'node:async_hooks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "3.2.0-rc.7",
3
+ "version": "3.3.0-rc.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -220,6 +220,7 @@ export enum HandlerType {
220
220
  FUEL_BLOCK = 17,
221
221
  COSMOS_CALL = 14,
222
222
  STARKNET_EVENT = 15,
223
+ SOL_BLOCK = 21,
223
224
  UNRECOGNIZED = -1,
224
225
  }
225
226
 
@@ -282,6 +283,9 @@ export function handlerTypeFromJSON(object: any): HandlerType {
282
283
  case 15:
283
284
  case "STARKNET_EVENT":
284
285
  return HandlerType.STARKNET_EVENT;
286
+ case 21:
287
+ case "SOL_BLOCK":
288
+ return HandlerType.SOL_BLOCK;
285
289
  case -1:
286
290
  case "UNRECOGNIZED":
287
291
  default:
@@ -329,6 +333,8 @@ export function handlerTypeToJSON(object: HandlerType): string {
329
333
  return "COSMOS_CALL";
330
334
  case HandlerType.STARKNET_EVENT:
331
335
  return "STARKNET_EVENT";
336
+ case HandlerType.SOL_BLOCK:
337
+ return "SOL_BLOCK";
332
338
  case HandlerType.UNRECOGNIZED:
333
339
  default:
334
340
  return "UNRECOGNIZED";
@@ -787,6 +793,7 @@ export interface InstructionHandlerConfig {
787
793
  innerInstruction: boolean;
788
794
  parsedInstruction: boolean;
789
795
  rawDataInstruction: boolean;
796
+ fetchTx: boolean;
790
797
  }
791
798
 
792
799
  export interface ResourceConfig {
@@ -1229,6 +1236,7 @@ export interface Data {
1229
1236
  fuelBlock?: Data_FuelBlock | undefined;
1230
1237
  cosmosCall?: Data_CosmosCall | undefined;
1231
1238
  starknetEvents?: Data_StarknetEvent | undefined;
1239
+ solBlock?: Data_SolBlock | undefined;
1232
1240
  }
1233
1241
 
1234
1242
  export interface Data_EthLog {
@@ -1273,6 +1281,13 @@ export interface Data_SolInstruction {
1273
1281
  programAccountId: string;
1274
1282
  accounts: string[];
1275
1283
  parsed?: { [key: string]: any } | undefined;
1284
+ rawTransaction?: string | undefined;
1285
+ }
1286
+
1287
+ export interface Data_SolBlock {
1288
+ rawBlock: string;
1289
+ timestamp: Date | undefined;
1290
+ slot: bigint;
1276
1291
  }
1277
1292
 
1278
1293
  export interface Data_AptEvent {
@@ -5746,7 +5761,7 @@ export const LogFilter = {
5746
5761
  };
5747
5762
 
5748
5763
  function createBaseInstructionHandlerConfig(): InstructionHandlerConfig {
5749
- return { innerInstruction: false, parsedInstruction: false, rawDataInstruction: false };
5764
+ return { innerInstruction: false, parsedInstruction: false, rawDataInstruction: false, fetchTx: false };
5750
5765
  }
5751
5766
 
5752
5767
  export const InstructionHandlerConfig = {
@@ -5760,6 +5775,9 @@ export const InstructionHandlerConfig = {
5760
5775
  if (message.rawDataInstruction !== false) {
5761
5776
  writer.uint32(24).bool(message.rawDataInstruction);
5762
5777
  }
5778
+ if (message.fetchTx !== false) {
5779
+ writer.uint32(32).bool(message.fetchTx);
5780
+ }
5763
5781
  return writer;
5764
5782
  },
5765
5783
 
@@ -5791,6 +5809,13 @@ export const InstructionHandlerConfig = {
5791
5809
 
5792
5810
  message.rawDataInstruction = reader.bool();
5793
5811
  continue;
5812
+ case 4:
5813
+ if (tag !== 32) {
5814
+ break;
5815
+ }
5816
+
5817
+ message.fetchTx = reader.bool();
5818
+ continue;
5794
5819
  }
5795
5820
  if ((tag & 7) === 4 || tag === 0) {
5796
5821
  break;
@@ -5805,6 +5830,7 @@ export const InstructionHandlerConfig = {
5805
5830
  innerInstruction: isSet(object.innerInstruction) ? globalThis.Boolean(object.innerInstruction) : false,
5806
5831
  parsedInstruction: isSet(object.parsedInstruction) ? globalThis.Boolean(object.parsedInstruction) : false,
5807
5832
  rawDataInstruction: isSet(object.rawDataInstruction) ? globalThis.Boolean(object.rawDataInstruction) : false,
5833
+ fetchTx: isSet(object.fetchTx) ? globalThis.Boolean(object.fetchTx) : false,
5808
5834
  };
5809
5835
  },
5810
5836
 
@@ -5819,6 +5845,9 @@ export const InstructionHandlerConfig = {
5819
5845
  if (message.rawDataInstruction !== false) {
5820
5846
  obj.rawDataInstruction = message.rawDataInstruction;
5821
5847
  }
5848
+ if (message.fetchTx !== false) {
5849
+ obj.fetchTx = message.fetchTx;
5850
+ }
5822
5851
  return obj;
5823
5852
  },
5824
5853
 
@@ -5830,6 +5859,7 @@ export const InstructionHandlerConfig = {
5830
5859
  message.innerInstruction = object.innerInstruction ?? false;
5831
5860
  message.parsedInstruction = object.parsedInstruction ?? false;
5832
5861
  message.rawDataInstruction = object.rawDataInstruction ?? false;
5862
+ message.fetchTx = object.fetchTx ?? false;
5833
5863
  return message;
5834
5864
  },
5835
5865
  };
@@ -9600,6 +9630,7 @@ function createBaseData(): Data {
9600
9630
  fuelBlock: undefined,
9601
9631
  cosmosCall: undefined,
9602
9632
  starknetEvents: undefined,
9633
+ solBlock: undefined,
9603
9634
  };
9604
9635
  }
9605
9636
 
@@ -9659,6 +9690,9 @@ export const Data = {
9659
9690
  if (message.starknetEvents !== undefined) {
9660
9691
  Data_StarknetEvent.encode(message.starknetEvents, writer.uint32(130).fork()).ldelim();
9661
9692
  }
9693
+ if (message.solBlock !== undefined) {
9694
+ Data_SolBlock.encode(message.solBlock, writer.uint32(178).fork()).ldelim();
9695
+ }
9662
9696
  return writer;
9663
9697
  },
9664
9698
 
@@ -9795,6 +9829,13 @@ export const Data = {
9795
9829
 
9796
9830
  message.starknetEvents = Data_StarknetEvent.decode(reader, reader.uint32());
9797
9831
  continue;
9832
+ case 22:
9833
+ if (tag !== 178) {
9834
+ break;
9835
+ }
9836
+
9837
+ message.solBlock = Data_SolBlock.decode(reader, reader.uint32());
9838
+ continue;
9798
9839
  }
9799
9840
  if ((tag & 7) === 4 || tag === 0) {
9800
9841
  break;
@@ -9828,6 +9869,7 @@ export const Data = {
9828
9869
  fuelBlock: isSet(object.fuelBlock) ? Data_FuelBlock.fromJSON(object.fuelBlock) : undefined,
9829
9870
  cosmosCall: isSet(object.cosmosCall) ? Data_CosmosCall.fromJSON(object.cosmosCall) : undefined,
9830
9871
  starknetEvents: isSet(object.starknetEvents) ? Data_StarknetEvent.fromJSON(object.starknetEvents) : undefined,
9872
+ solBlock: isSet(object.solBlock) ? Data_SolBlock.fromJSON(object.solBlock) : undefined,
9831
9873
  };
9832
9874
  },
9833
9875
 
@@ -9887,6 +9929,9 @@ export const Data = {
9887
9929
  if (message.starknetEvents !== undefined) {
9888
9930
  obj.starknetEvents = Data_StarknetEvent.toJSON(message.starknetEvents);
9889
9931
  }
9932
+ if (message.solBlock !== undefined) {
9933
+ obj.solBlock = Data_SolBlock.toJSON(message.solBlock);
9934
+ }
9890
9935
  return obj;
9891
9936
  },
9892
9937
 
@@ -9949,6 +9994,9 @@ export const Data = {
9949
9994
  message.starknetEvents = (object.starknetEvents !== undefined && object.starknetEvents !== null)
9950
9995
  ? Data_StarknetEvent.fromPartial(object.starknetEvents)
9951
9996
  : undefined;
9997
+ message.solBlock = (object.solBlock !== undefined && object.solBlock !== null)
9998
+ ? Data_SolBlock.fromPartial(object.solBlock)
9999
+ : undefined;
9952
10000
  return message;
9953
10001
  },
9954
10002
  };
@@ -10518,7 +10566,14 @@ export const Data_EthTrace = {
10518
10566
  };
10519
10567
 
10520
10568
  function createBaseData_SolInstruction(): Data_SolInstruction {
10521
- return { instructionData: "", slot: BigInt("0"), programAccountId: "", accounts: [], parsed: undefined };
10569
+ return {
10570
+ instructionData: "",
10571
+ slot: BigInt("0"),
10572
+ programAccountId: "",
10573
+ accounts: [],
10574
+ parsed: undefined,
10575
+ rawTransaction: undefined,
10576
+ };
10522
10577
  }
10523
10578
 
10524
10579
  export const Data_SolInstruction = {
@@ -10541,6 +10596,9 @@ export const Data_SolInstruction = {
10541
10596
  if (message.parsed !== undefined) {
10542
10597
  Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
10543
10598
  }
10599
+ if (message.rawTransaction !== undefined) {
10600
+ writer.uint32(50).string(message.rawTransaction);
10601
+ }
10544
10602
  return writer;
10545
10603
  },
10546
10604
 
@@ -10586,6 +10644,13 @@ export const Data_SolInstruction = {
10586
10644
 
10587
10645
  message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
10588
10646
  continue;
10647
+ case 6:
10648
+ if (tag !== 50) {
10649
+ break;
10650
+ }
10651
+
10652
+ message.rawTransaction = reader.string();
10653
+ continue;
10589
10654
  }
10590
10655
  if ((tag & 7) === 4 || tag === 0) {
10591
10656
  break;
@@ -10602,6 +10667,7 @@ export const Data_SolInstruction = {
10602
10667
  programAccountId: isSet(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
10603
10668
  accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => globalThis.String(e)) : [],
10604
10669
  parsed: isObject(object.parsed) ? object.parsed : undefined,
10670
+ rawTransaction: isSet(object.rawTransaction) ? globalThis.String(object.rawTransaction) : undefined,
10605
10671
  };
10606
10672
  },
10607
10673
 
@@ -10622,6 +10688,9 @@ export const Data_SolInstruction = {
10622
10688
  if (message.parsed !== undefined) {
10623
10689
  obj.parsed = message.parsed;
10624
10690
  }
10691
+ if (message.rawTransaction !== undefined) {
10692
+ obj.rawTransaction = message.rawTransaction;
10693
+ }
10625
10694
  return obj;
10626
10695
  },
10627
10696
 
@@ -10635,6 +10704,99 @@ export const Data_SolInstruction = {
10635
10704
  message.programAccountId = object.programAccountId ?? "";
10636
10705
  message.accounts = object.accounts?.map((e) => e) || [];
10637
10706
  message.parsed = object.parsed ?? undefined;
10707
+ message.rawTransaction = object.rawTransaction ?? undefined;
10708
+ return message;
10709
+ },
10710
+ };
10711
+
10712
+ function createBaseData_SolBlock(): Data_SolBlock {
10713
+ return { rawBlock: "", timestamp: undefined, slot: BigInt("0") };
10714
+ }
10715
+
10716
+ export const Data_SolBlock = {
10717
+ encode(message: Data_SolBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
10718
+ if (message.rawBlock !== "") {
10719
+ writer.uint32(10).string(message.rawBlock);
10720
+ }
10721
+ if (message.timestamp !== undefined) {
10722
+ Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
10723
+ }
10724
+ if (message.slot !== BigInt("0")) {
10725
+ if (BigInt.asUintN(64, message.slot) !== message.slot) {
10726
+ throw new globalThis.Error("value provided for field message.slot of type uint64 too large");
10727
+ }
10728
+ writer.uint32(24).uint64(message.slot.toString());
10729
+ }
10730
+ return writer;
10731
+ },
10732
+
10733
+ decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolBlock {
10734
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
10735
+ let end = length === undefined ? reader.len : reader.pos + length;
10736
+ const message = createBaseData_SolBlock();
10737
+ while (reader.pos < end) {
10738
+ const tag = reader.uint32();
10739
+ switch (tag >>> 3) {
10740
+ case 1:
10741
+ if (tag !== 10) {
10742
+ break;
10743
+ }
10744
+
10745
+ message.rawBlock = reader.string();
10746
+ continue;
10747
+ case 2:
10748
+ if (tag !== 18) {
10749
+ break;
10750
+ }
10751
+
10752
+ message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
10753
+ continue;
10754
+ case 3:
10755
+ if (tag !== 24) {
10756
+ break;
10757
+ }
10758
+
10759
+ message.slot = longToBigint(reader.uint64() as Long);
10760
+ continue;
10761
+ }
10762
+ if ((tag & 7) === 4 || tag === 0) {
10763
+ break;
10764
+ }
10765
+ reader.skipType(tag & 7);
10766
+ }
10767
+ return message;
10768
+ },
10769
+
10770
+ fromJSON(object: any): Data_SolBlock {
10771
+ return {
10772
+ rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : "",
10773
+ timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
10774
+ slot: isSet(object.slot) ? BigInt(object.slot) : BigInt("0"),
10775
+ };
10776
+ },
10777
+
10778
+ toJSON(message: Data_SolBlock): unknown {
10779
+ const obj: any = {};
10780
+ if (message.rawBlock !== "") {
10781
+ obj.rawBlock = message.rawBlock;
10782
+ }
10783
+ if (message.timestamp !== undefined) {
10784
+ obj.timestamp = message.timestamp.toISOString();
10785
+ }
10786
+ if (message.slot !== BigInt("0")) {
10787
+ obj.slot = message.slot.toString();
10788
+ }
10789
+ return obj;
10790
+ },
10791
+
10792
+ create(base?: DeepPartial<Data_SolBlock>): Data_SolBlock {
10793
+ return Data_SolBlock.fromPartial(base ?? {});
10794
+ },
10795
+ fromPartial(object: DeepPartial<Data_SolBlock>): Data_SolBlock {
10796
+ const message = createBaseData_SolBlock();
10797
+ message.rawBlock = object.rawBlock ?? "";
10798
+ message.timestamp = object.timestamp ?? undefined;
10799
+ message.slot = object.slot ?? BigInt("0");
10638
10800
  return message;
10639
10801
  },
10640
10802
  };
@@ -540,6 +540,7 @@ export interface Project {
540
540
  enableMaterializedView: boolean;
541
541
  defaultTimerange: TimeRangeLite | undefined;
542
542
  communityProject?: CommunityProject | undefined;
543
+ sentioNetwork: boolean;
543
544
  }
544
545
 
545
546
  export enum Project_Visibility {
@@ -1729,6 +1730,7 @@ export interface Account {
1729
1730
  usageOverCapLimit: string;
1730
1731
  status: string;
1731
1732
  prepaidBalance: Money | undefined;
1733
+ walletAddress: string;
1732
1734
  }
1733
1735
 
1734
1736
  export interface ImportedProject {
@@ -3410,6 +3412,7 @@ function createBaseProject(): Project {
3410
3412
  enableMaterializedView: false,
3411
3413
  defaultTimerange: undefined,
3412
3414
  communityProject: undefined,
3415
+ sentioNetwork: false,
3413
3416
  };
3414
3417
  }
3415
3418
 
@@ -3484,6 +3487,9 @@ export const Project = {
3484
3487
  if (message.communityProject !== undefined) {
3485
3488
  CommunityProject.encode(message.communityProject, writer.uint32(178).fork()).ldelim();
3486
3489
  }
3490
+ if (message.sentioNetwork !== false) {
3491
+ writer.uint32(184).bool(message.sentioNetwork);
3492
+ }
3487
3493
  return writer;
3488
3494
  },
3489
3495
 
@@ -3641,6 +3647,13 @@ export const Project = {
3641
3647
 
3642
3648
  message.communityProject = CommunityProject.decode(reader, reader.uint32());
3643
3649
  continue;
3650
+ case 23:
3651
+ if (tag !== 184) {
3652
+ break;
3653
+ }
3654
+
3655
+ message.sentioNetwork = reader.bool();
3656
+ continue;
3644
3657
  }
3645
3658
  if ((tag & 7) === 4 || tag === 0) {
3646
3659
  break;
@@ -3679,6 +3692,7 @@ export const Project = {
3679
3692
  : false,
3680
3693
  defaultTimerange: isSet(object.defaultTimerange) ? TimeRangeLite.fromJSON(object.defaultTimerange) : undefined,
3681
3694
  communityProject: isSet(object.communityProject) ? CommunityProject.fromJSON(object.communityProject) : undefined,
3695
+ sentioNetwork: isSet(object.sentioNetwork) ? globalThis.Boolean(object.sentioNetwork) : false,
3682
3696
  };
3683
3697
  },
3684
3698
 
@@ -3747,6 +3761,9 @@ export const Project = {
3747
3761
  if (message.communityProject !== undefined) {
3748
3762
  obj.communityProject = CommunityProject.toJSON(message.communityProject);
3749
3763
  }
3764
+ if (message.sentioNetwork !== false) {
3765
+ obj.sentioNetwork = message.sentioNetwork;
3766
+ }
3750
3767
  return obj;
3751
3768
  },
3752
3769
 
@@ -3782,6 +3799,7 @@ export const Project = {
3782
3799
  message.communityProject = (object.communityProject !== undefined && object.communityProject !== null)
3783
3800
  ? CommunityProject.fromPartial(object.communityProject)
3784
3801
  : undefined;
3802
+ message.sentioNetwork = object.sentioNetwork ?? false;
3785
3803
  return message;
3786
3804
  },
3787
3805
  };
@@ -10992,6 +11010,7 @@ function createBaseAccount(): Account {
10992
11010
  usageOverCapLimit: "",
10993
11011
  status: "",
10994
11012
  prepaidBalance: undefined,
11013
+ walletAddress: "",
10995
11014
  };
10996
11015
  }
10997
11016
 
@@ -11030,6 +11049,9 @@ export const Account = {
11030
11049
  if (message.prepaidBalance !== undefined) {
11031
11050
  Money.encode(message.prepaidBalance, writer.uint32(106).fork()).ldelim();
11032
11051
  }
11052
+ if (message.walletAddress !== "") {
11053
+ writer.uint32(114).string(message.walletAddress);
11054
+ }
11033
11055
  return writer;
11034
11056
  },
11035
11057
 
@@ -11117,6 +11139,13 @@ export const Account = {
11117
11139
 
11118
11140
  message.prepaidBalance = Money.decode(reader, reader.uint32());
11119
11141
  continue;
11142
+ case 14:
11143
+ if (tag !== 114) {
11144
+ break;
11145
+ }
11146
+
11147
+ message.walletAddress = reader.string();
11148
+ continue;
11120
11149
  }
11121
11150
  if ((tag & 7) === 4 || tag === 0) {
11122
11151
  break;
@@ -11139,6 +11168,7 @@ export const Account = {
11139
11168
  usageOverCapLimit: isSet(object.usageOverCapLimit) ? globalThis.String(object.usageOverCapLimit) : "",
11140
11169
  status: isSet(object.status) ? globalThis.String(object.status) : "",
11141
11170
  prepaidBalance: isSet(object.prepaidBalance) ? Money.fromJSON(object.prepaidBalance) : undefined,
11171
+ walletAddress: isSet(object.walletAddress) ? globalThis.String(object.walletAddress) : "",
11142
11172
  };
11143
11173
  },
11144
11174
 
@@ -11177,6 +11207,9 @@ export const Account = {
11177
11207
  if (message.prepaidBalance !== undefined) {
11178
11208
  obj.prepaidBalance = Money.toJSON(message.prepaidBalance);
11179
11209
  }
11210
+ if (message.walletAddress !== "") {
11211
+ obj.walletAddress = message.walletAddress;
11212
+ }
11180
11213
  return obj;
11181
11214
  },
11182
11215
 
@@ -11198,6 +11231,7 @@ export const Account = {
11198
11231
  message.prepaidBalance = (object.prepaidBalance !== undefined && object.prepaidBalance !== null)
11199
11232
  ? Money.fromPartial(object.prepaidBalance)
11200
11233
  : undefined;
11234
+ message.walletAddress = object.walletAddress ?? "";
11201
11235
  return message;
11202
11236
  },
11203
11237
  };