@sentio/protos 3.2.0 → 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.
- package/lib/processor/protos/processor.d.ts +17 -0
- package/lib/processor/protos/processor.d.ts.map +1 -1
- package/lib/processor/protos/processor.js +143 -2
- package/lib/processor/protos/processor.js.map +1 -1
- package/lib/service/common/protos/common.d.ts +2 -0
- package/lib/service/common/protos/common.d.ts.map +1 -1
- package/lib/service/common/protos/common.js +30 -0
- package/lib/service/common/protos/common.js.map +1 -1
- package/package.json +1 -1
- package/src/processor/protos/processor.ts +164 -2
- package/src/service/common/protos/common.ts +34 -0
package/package.json
CHANGED
|
@@ -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";
|
|
@@ -781,6 +787,7 @@ export interface InstructionHandlerConfig {
|
|
|
781
787
|
innerInstruction: boolean;
|
|
782
788
|
parsedInstruction: boolean;
|
|
783
789
|
rawDataInstruction: boolean;
|
|
790
|
+
fetchTx: boolean;
|
|
784
791
|
}
|
|
785
792
|
|
|
786
793
|
export interface ResourceConfig {
|
|
@@ -1215,6 +1222,7 @@ export interface Data {
|
|
|
1215
1222
|
fuelBlock?: Data_FuelBlock | undefined;
|
|
1216
1223
|
cosmosCall?: Data_CosmosCall | undefined;
|
|
1217
1224
|
starknetEvents?: Data_StarknetEvent | undefined;
|
|
1225
|
+
solBlock?: Data_SolBlock | undefined;
|
|
1218
1226
|
}
|
|
1219
1227
|
|
|
1220
1228
|
export interface Data_EthLog {
|
|
@@ -1259,6 +1267,13 @@ export interface Data_SolInstruction {
|
|
|
1259
1267
|
programAccountId: string;
|
|
1260
1268
|
accounts: string[];
|
|
1261
1269
|
parsed?: { [key: string]: any } | undefined;
|
|
1270
|
+
rawTransaction?: string | undefined;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export interface Data_SolBlock {
|
|
1274
|
+
rawBlock: string;
|
|
1275
|
+
timestamp: Date | undefined;
|
|
1276
|
+
slot: bigint;
|
|
1262
1277
|
}
|
|
1263
1278
|
|
|
1264
1279
|
export interface Data_AptEvent {
|
|
@@ -5656,7 +5671,7 @@ export const LogFilter = {
|
|
|
5656
5671
|
};
|
|
5657
5672
|
|
|
5658
5673
|
function createBaseInstructionHandlerConfig(): InstructionHandlerConfig {
|
|
5659
|
-
return { innerInstruction: false, parsedInstruction: false, rawDataInstruction: false };
|
|
5674
|
+
return { innerInstruction: false, parsedInstruction: false, rawDataInstruction: false, fetchTx: false };
|
|
5660
5675
|
}
|
|
5661
5676
|
|
|
5662
5677
|
export const InstructionHandlerConfig = {
|
|
@@ -5670,6 +5685,9 @@ export const InstructionHandlerConfig = {
|
|
|
5670
5685
|
if (message.rawDataInstruction !== false) {
|
|
5671
5686
|
writer.uint32(24).bool(message.rawDataInstruction);
|
|
5672
5687
|
}
|
|
5688
|
+
if (message.fetchTx !== false) {
|
|
5689
|
+
writer.uint32(32).bool(message.fetchTx);
|
|
5690
|
+
}
|
|
5673
5691
|
return writer;
|
|
5674
5692
|
},
|
|
5675
5693
|
|
|
@@ -5701,6 +5719,13 @@ export const InstructionHandlerConfig = {
|
|
|
5701
5719
|
|
|
5702
5720
|
message.rawDataInstruction = reader.bool();
|
|
5703
5721
|
continue;
|
|
5722
|
+
case 4:
|
|
5723
|
+
if (tag !== 32) {
|
|
5724
|
+
break;
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
message.fetchTx = reader.bool();
|
|
5728
|
+
continue;
|
|
5704
5729
|
}
|
|
5705
5730
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5706
5731
|
break;
|
|
@@ -5715,6 +5740,7 @@ export const InstructionHandlerConfig = {
|
|
|
5715
5740
|
innerInstruction: isSet(object.innerInstruction) ? globalThis.Boolean(object.innerInstruction) : false,
|
|
5716
5741
|
parsedInstruction: isSet(object.parsedInstruction) ? globalThis.Boolean(object.parsedInstruction) : false,
|
|
5717
5742
|
rawDataInstruction: isSet(object.rawDataInstruction) ? globalThis.Boolean(object.rawDataInstruction) : false,
|
|
5743
|
+
fetchTx: isSet(object.fetchTx) ? globalThis.Boolean(object.fetchTx) : false,
|
|
5718
5744
|
};
|
|
5719
5745
|
},
|
|
5720
5746
|
|
|
@@ -5729,6 +5755,9 @@ export const InstructionHandlerConfig = {
|
|
|
5729
5755
|
if (message.rawDataInstruction !== false) {
|
|
5730
5756
|
obj.rawDataInstruction = message.rawDataInstruction;
|
|
5731
5757
|
}
|
|
5758
|
+
if (message.fetchTx !== false) {
|
|
5759
|
+
obj.fetchTx = message.fetchTx;
|
|
5760
|
+
}
|
|
5732
5761
|
return obj;
|
|
5733
5762
|
},
|
|
5734
5763
|
|
|
@@ -5740,6 +5769,7 @@ export const InstructionHandlerConfig = {
|
|
|
5740
5769
|
message.innerInstruction = object.innerInstruction ?? false;
|
|
5741
5770
|
message.parsedInstruction = object.parsedInstruction ?? false;
|
|
5742
5771
|
message.rawDataInstruction = object.rawDataInstruction ?? false;
|
|
5772
|
+
message.fetchTx = object.fetchTx ?? false;
|
|
5743
5773
|
return message;
|
|
5744
5774
|
},
|
|
5745
5775
|
};
|
|
@@ -9492,6 +9522,7 @@ function createBaseData(): Data {
|
|
|
9492
9522
|
fuelBlock: undefined,
|
|
9493
9523
|
cosmosCall: undefined,
|
|
9494
9524
|
starknetEvents: undefined,
|
|
9525
|
+
solBlock: undefined,
|
|
9495
9526
|
};
|
|
9496
9527
|
}
|
|
9497
9528
|
|
|
@@ -9548,6 +9579,9 @@ export const Data = {
|
|
|
9548
9579
|
if (message.starknetEvents !== undefined) {
|
|
9549
9580
|
Data_StarknetEvent.encode(message.starknetEvents, writer.uint32(130).fork()).ldelim();
|
|
9550
9581
|
}
|
|
9582
|
+
if (message.solBlock !== undefined) {
|
|
9583
|
+
Data_SolBlock.encode(message.solBlock, writer.uint32(178).fork()).ldelim();
|
|
9584
|
+
}
|
|
9551
9585
|
return writer;
|
|
9552
9586
|
},
|
|
9553
9587
|
|
|
@@ -9677,6 +9711,13 @@ export const Data = {
|
|
|
9677
9711
|
|
|
9678
9712
|
message.starknetEvents = Data_StarknetEvent.decode(reader, reader.uint32());
|
|
9679
9713
|
continue;
|
|
9714
|
+
case 22:
|
|
9715
|
+
if (tag !== 178) {
|
|
9716
|
+
break;
|
|
9717
|
+
}
|
|
9718
|
+
|
|
9719
|
+
message.solBlock = Data_SolBlock.decode(reader, reader.uint32());
|
|
9720
|
+
continue;
|
|
9680
9721
|
}
|
|
9681
9722
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9682
9723
|
break;
|
|
@@ -9709,6 +9750,7 @@ export const Data = {
|
|
|
9709
9750
|
fuelBlock: isSet(object.fuelBlock) ? Data_FuelBlock.fromJSON(object.fuelBlock) : undefined,
|
|
9710
9751
|
cosmosCall: isSet(object.cosmosCall) ? Data_CosmosCall.fromJSON(object.cosmosCall) : undefined,
|
|
9711
9752
|
starknetEvents: isSet(object.starknetEvents) ? Data_StarknetEvent.fromJSON(object.starknetEvents) : undefined,
|
|
9753
|
+
solBlock: isSet(object.solBlock) ? Data_SolBlock.fromJSON(object.solBlock) : undefined,
|
|
9712
9754
|
};
|
|
9713
9755
|
},
|
|
9714
9756
|
|
|
@@ -9765,6 +9807,9 @@ export const Data = {
|
|
|
9765
9807
|
if (message.starknetEvents !== undefined) {
|
|
9766
9808
|
obj.starknetEvents = Data_StarknetEvent.toJSON(message.starknetEvents);
|
|
9767
9809
|
}
|
|
9810
|
+
if (message.solBlock !== undefined) {
|
|
9811
|
+
obj.solBlock = Data_SolBlock.toJSON(message.solBlock);
|
|
9812
|
+
}
|
|
9768
9813
|
return obj;
|
|
9769
9814
|
},
|
|
9770
9815
|
|
|
@@ -9824,6 +9869,9 @@ export const Data = {
|
|
|
9824
9869
|
message.starknetEvents = (object.starknetEvents !== undefined && object.starknetEvents !== null)
|
|
9825
9870
|
? Data_StarknetEvent.fromPartial(object.starknetEvents)
|
|
9826
9871
|
: undefined;
|
|
9872
|
+
message.solBlock = (object.solBlock !== undefined && object.solBlock !== null)
|
|
9873
|
+
? Data_SolBlock.fromPartial(object.solBlock)
|
|
9874
|
+
: undefined;
|
|
9827
9875
|
return message;
|
|
9828
9876
|
},
|
|
9829
9877
|
};
|
|
@@ -10393,7 +10441,14 @@ export const Data_EthTrace = {
|
|
|
10393
10441
|
};
|
|
10394
10442
|
|
|
10395
10443
|
function createBaseData_SolInstruction(): Data_SolInstruction {
|
|
10396
|
-
return {
|
|
10444
|
+
return {
|
|
10445
|
+
instructionData: "",
|
|
10446
|
+
slot: BigInt("0"),
|
|
10447
|
+
programAccountId: "",
|
|
10448
|
+
accounts: [],
|
|
10449
|
+
parsed: undefined,
|
|
10450
|
+
rawTransaction: undefined,
|
|
10451
|
+
};
|
|
10397
10452
|
}
|
|
10398
10453
|
|
|
10399
10454
|
export const Data_SolInstruction = {
|
|
@@ -10416,6 +10471,9 @@ export const Data_SolInstruction = {
|
|
|
10416
10471
|
if (message.parsed !== undefined) {
|
|
10417
10472
|
Struct.encode(Struct.wrap(message.parsed), writer.uint32(34).fork()).ldelim();
|
|
10418
10473
|
}
|
|
10474
|
+
if (message.rawTransaction !== undefined) {
|
|
10475
|
+
writer.uint32(50).string(message.rawTransaction);
|
|
10476
|
+
}
|
|
10419
10477
|
return writer;
|
|
10420
10478
|
},
|
|
10421
10479
|
|
|
@@ -10461,6 +10519,13 @@ export const Data_SolInstruction = {
|
|
|
10461
10519
|
|
|
10462
10520
|
message.parsed = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10463
10521
|
continue;
|
|
10522
|
+
case 6:
|
|
10523
|
+
if (tag !== 50) {
|
|
10524
|
+
break;
|
|
10525
|
+
}
|
|
10526
|
+
|
|
10527
|
+
message.rawTransaction = reader.string();
|
|
10528
|
+
continue;
|
|
10464
10529
|
}
|
|
10465
10530
|
if ((tag & 7) === 4 || tag === 0) {
|
|
10466
10531
|
break;
|
|
@@ -10477,6 +10542,7 @@ export const Data_SolInstruction = {
|
|
|
10477
10542
|
programAccountId: isSet(object.programAccountId) ? globalThis.String(object.programAccountId) : "",
|
|
10478
10543
|
accounts: globalThis.Array.isArray(object?.accounts) ? object.accounts.map((e: any) => globalThis.String(e)) : [],
|
|
10479
10544
|
parsed: isObject(object.parsed) ? object.parsed : undefined,
|
|
10545
|
+
rawTransaction: isSet(object.rawTransaction) ? globalThis.String(object.rawTransaction) : undefined,
|
|
10480
10546
|
};
|
|
10481
10547
|
},
|
|
10482
10548
|
|
|
@@ -10497,6 +10563,9 @@ export const Data_SolInstruction = {
|
|
|
10497
10563
|
if (message.parsed !== undefined) {
|
|
10498
10564
|
obj.parsed = message.parsed;
|
|
10499
10565
|
}
|
|
10566
|
+
if (message.rawTransaction !== undefined) {
|
|
10567
|
+
obj.rawTransaction = message.rawTransaction;
|
|
10568
|
+
}
|
|
10500
10569
|
return obj;
|
|
10501
10570
|
},
|
|
10502
10571
|
|
|
@@ -10510,6 +10579,99 @@ export const Data_SolInstruction = {
|
|
|
10510
10579
|
message.programAccountId = object.programAccountId ?? "";
|
|
10511
10580
|
message.accounts = object.accounts?.map((e) => e) || [];
|
|
10512
10581
|
message.parsed = object.parsed ?? undefined;
|
|
10582
|
+
message.rawTransaction = object.rawTransaction ?? undefined;
|
|
10583
|
+
return message;
|
|
10584
|
+
},
|
|
10585
|
+
};
|
|
10586
|
+
|
|
10587
|
+
function createBaseData_SolBlock(): Data_SolBlock {
|
|
10588
|
+
return { rawBlock: "", timestamp: undefined, slot: BigInt("0") };
|
|
10589
|
+
}
|
|
10590
|
+
|
|
10591
|
+
export const Data_SolBlock = {
|
|
10592
|
+
encode(message: Data_SolBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
10593
|
+
if (message.rawBlock !== "") {
|
|
10594
|
+
writer.uint32(10).string(message.rawBlock);
|
|
10595
|
+
}
|
|
10596
|
+
if (message.timestamp !== undefined) {
|
|
10597
|
+
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
|
10598
|
+
}
|
|
10599
|
+
if (message.slot !== BigInt("0")) {
|
|
10600
|
+
if (BigInt.asUintN(64, message.slot) !== message.slot) {
|
|
10601
|
+
throw new globalThis.Error("value provided for field message.slot of type uint64 too large");
|
|
10602
|
+
}
|
|
10603
|
+
writer.uint32(24).uint64(message.slot.toString());
|
|
10604
|
+
}
|
|
10605
|
+
return writer;
|
|
10606
|
+
},
|
|
10607
|
+
|
|
10608
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_SolBlock {
|
|
10609
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
10610
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
10611
|
+
const message = createBaseData_SolBlock();
|
|
10612
|
+
while (reader.pos < end) {
|
|
10613
|
+
const tag = reader.uint32();
|
|
10614
|
+
switch (tag >>> 3) {
|
|
10615
|
+
case 1:
|
|
10616
|
+
if (tag !== 10) {
|
|
10617
|
+
break;
|
|
10618
|
+
}
|
|
10619
|
+
|
|
10620
|
+
message.rawBlock = reader.string();
|
|
10621
|
+
continue;
|
|
10622
|
+
case 2:
|
|
10623
|
+
if (tag !== 18) {
|
|
10624
|
+
break;
|
|
10625
|
+
}
|
|
10626
|
+
|
|
10627
|
+
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
10628
|
+
continue;
|
|
10629
|
+
case 3:
|
|
10630
|
+
if (tag !== 24) {
|
|
10631
|
+
break;
|
|
10632
|
+
}
|
|
10633
|
+
|
|
10634
|
+
message.slot = longToBigint(reader.uint64() as Long);
|
|
10635
|
+
continue;
|
|
10636
|
+
}
|
|
10637
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
10638
|
+
break;
|
|
10639
|
+
}
|
|
10640
|
+
reader.skipType(tag & 7);
|
|
10641
|
+
}
|
|
10642
|
+
return message;
|
|
10643
|
+
},
|
|
10644
|
+
|
|
10645
|
+
fromJSON(object: any): Data_SolBlock {
|
|
10646
|
+
return {
|
|
10647
|
+
rawBlock: isSet(object.rawBlock) ? globalThis.String(object.rawBlock) : "",
|
|
10648
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
10649
|
+
slot: isSet(object.slot) ? BigInt(object.slot) : BigInt("0"),
|
|
10650
|
+
};
|
|
10651
|
+
},
|
|
10652
|
+
|
|
10653
|
+
toJSON(message: Data_SolBlock): unknown {
|
|
10654
|
+
const obj: any = {};
|
|
10655
|
+
if (message.rawBlock !== "") {
|
|
10656
|
+
obj.rawBlock = message.rawBlock;
|
|
10657
|
+
}
|
|
10658
|
+
if (message.timestamp !== undefined) {
|
|
10659
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
10660
|
+
}
|
|
10661
|
+
if (message.slot !== BigInt("0")) {
|
|
10662
|
+
obj.slot = message.slot.toString();
|
|
10663
|
+
}
|
|
10664
|
+
return obj;
|
|
10665
|
+
},
|
|
10666
|
+
|
|
10667
|
+
create(base?: DeepPartial<Data_SolBlock>): Data_SolBlock {
|
|
10668
|
+
return Data_SolBlock.fromPartial(base ?? {});
|
|
10669
|
+
},
|
|
10670
|
+
fromPartial(object: DeepPartial<Data_SolBlock>): Data_SolBlock {
|
|
10671
|
+
const message = createBaseData_SolBlock();
|
|
10672
|
+
message.rawBlock = object.rawBlock ?? "";
|
|
10673
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
10674
|
+
message.slot = object.slot ?? BigInt("0");
|
|
10513
10675
|
return message;
|
|
10514
10676
|
},
|
|
10515
10677
|
};
|
|
@@ -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
|
};
|