@sentio/protos 2.55.0 → 2.55.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/package.json
CHANGED
|
@@ -1166,11 +1166,6 @@ export interface Data_FuelTransaction {
|
|
|
1166
1166
|
timestamp: Date | undefined;
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
1169
|
-
export interface Data_FuelCall {
|
|
1170
|
-
transaction: { [key: string]: any } | undefined;
|
|
1171
|
-
timestamp: Date | undefined;
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
1169
|
export interface Data_FuelBlock {
|
|
1175
1170
|
block: { [key: string]: any } | undefined;
|
|
1176
1171
|
timestamp: Date | undefined;
|
|
@@ -10496,80 +10491,6 @@ export const Data_FuelTransaction = {
|
|
|
10496
10491
|
},
|
|
10497
10492
|
};
|
|
10498
10493
|
|
|
10499
|
-
function createBaseData_FuelCall(): Data_FuelCall {
|
|
10500
|
-
return { transaction: undefined, timestamp: undefined };
|
|
10501
|
-
}
|
|
10502
|
-
|
|
10503
|
-
export const Data_FuelCall = {
|
|
10504
|
-
encode(message: Data_FuelCall, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
10505
|
-
if (message.transaction !== undefined) {
|
|
10506
|
-
Struct.encode(Struct.wrap(message.transaction), writer.uint32(10).fork()).ldelim();
|
|
10507
|
-
}
|
|
10508
|
-
if (message.timestamp !== undefined) {
|
|
10509
|
-
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
|
10510
|
-
}
|
|
10511
|
-
return writer;
|
|
10512
|
-
},
|
|
10513
|
-
|
|
10514
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelCall {
|
|
10515
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
10516
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
10517
|
-
const message = createBaseData_FuelCall();
|
|
10518
|
-
while (reader.pos < end) {
|
|
10519
|
-
const tag = reader.uint32();
|
|
10520
|
-
switch (tag >>> 3) {
|
|
10521
|
-
case 1:
|
|
10522
|
-
if (tag !== 10) {
|
|
10523
|
-
break;
|
|
10524
|
-
}
|
|
10525
|
-
|
|
10526
|
-
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
10527
|
-
continue;
|
|
10528
|
-
case 2:
|
|
10529
|
-
if (tag !== 18) {
|
|
10530
|
-
break;
|
|
10531
|
-
}
|
|
10532
|
-
|
|
10533
|
-
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
10534
|
-
continue;
|
|
10535
|
-
}
|
|
10536
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
10537
|
-
break;
|
|
10538
|
-
}
|
|
10539
|
-
reader.skipType(tag & 7);
|
|
10540
|
-
}
|
|
10541
|
-
return message;
|
|
10542
|
-
},
|
|
10543
|
-
|
|
10544
|
-
fromJSON(object: any): Data_FuelCall {
|
|
10545
|
-
return {
|
|
10546
|
-
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
10547
|
-
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
10548
|
-
};
|
|
10549
|
-
},
|
|
10550
|
-
|
|
10551
|
-
toJSON(message: Data_FuelCall): unknown {
|
|
10552
|
-
const obj: any = {};
|
|
10553
|
-
if (message.transaction !== undefined) {
|
|
10554
|
-
obj.transaction = message.transaction;
|
|
10555
|
-
}
|
|
10556
|
-
if (message.timestamp !== undefined) {
|
|
10557
|
-
obj.timestamp = message.timestamp.toISOString();
|
|
10558
|
-
}
|
|
10559
|
-
return obj;
|
|
10560
|
-
},
|
|
10561
|
-
|
|
10562
|
-
create(base?: DeepPartial<Data_FuelCall>): Data_FuelCall {
|
|
10563
|
-
return Data_FuelCall.fromPartial(base ?? {});
|
|
10564
|
-
},
|
|
10565
|
-
fromPartial(object: DeepPartial<Data_FuelCall>): Data_FuelCall {
|
|
10566
|
-
const message = createBaseData_FuelCall();
|
|
10567
|
-
message.transaction = object.transaction ?? undefined;
|
|
10568
|
-
message.timestamp = object.timestamp ?? undefined;
|
|
10569
|
-
return message;
|
|
10570
|
-
},
|
|
10571
|
-
};
|
|
10572
|
-
|
|
10573
10494
|
function createBaseData_FuelBlock(): Data_FuelBlock {
|
|
10574
10495
|
return { block: undefined, timestamp: undefined };
|
|
10575
10496
|
}
|