@xyo-network/xl1-protocol 1.14.7 → 1.14.9
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/dist/neutral/index.mjs +42 -42
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +2 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +2 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -0
- package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +2 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +2 -2
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +2 -2
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +2 -2
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/ChainId.d.ts +2 -2
- package/dist/neutral/model/ChainId.d.ts.map +1 -1
- package/dist/neutral/model/GatewayName.d.ts +3 -2
- package/dist/neutral/model/GatewayName.d.ts.map +1 -1
- package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts +2 -2
- package/dist/neutral/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -1
- package/dist/neutral/zod/BlockBoundWitness.d.ts +55 -55
- package/dist/neutral/zod/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/BoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/Chain.d.ts +1 -2
- package/dist/neutral/zod/Chain.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +37 -37
- package/dist/neutral/zod/HydratedTransaction.d.ts +180 -180
- package/dist/neutral/zod/Permission.d.ts.map +1 -1
- package/dist/neutral/zod/Stake.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +170 -170
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/package.json +19 -19
- package/src/model/BlockNumber/BlockNumber.ts +4 -2
- package/src/model/BlockNumber/EthBlockNumber.ts +5 -3
- package/src/model/BlockNumber/Numberish.ts +2 -0
- package/src/model/BlockNumber/XL1BlockNumber.ts +5 -3
- package/src/model/BlockRange/BlockRange.ts +6 -4
- package/src/model/BlockRange/EthBlockRange.ts +5 -4
- package/src/model/BlockRange/XL1BlockRange.ts +5 -4
- package/src/model/ChainId.ts +2 -2
- package/src/model/GatewayName.ts +3 -1
- package/src/validation/payload/InBlockPayloadValidationFunction.ts +2 -2
- package/src/zod/BlockBoundWitness.ts +12 -12
- package/src/zod/BoundWitness.ts +3 -4
- package/src/zod/Permission.ts +1 -1
- package/src/zod/Stake.ts +1 -0
- package/src/zod/TransactionBoundWitness.ts +17 -17
|
@@ -9,7 +9,7 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
9
9
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
10
10
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
11
11
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
12
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
12
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
13
13
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
14
|
protocol: z.ZodNumber;
|
|
15
15
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -26,7 +26,7 @@ export declare const isHydratedBlock: (value: unknown) => value is [{
|
|
|
26
26
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
27
27
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
28
28
|
block: import("../index.ts").XL1BlockNumber;
|
|
29
|
-
chain: import("
|
|
29
|
+
chain: import("@xylabs/hex").Hex;
|
|
30
30
|
previous: import("@xylabs/hex").Hash | null;
|
|
31
31
|
protocol: number;
|
|
32
32
|
$epoch: number;
|
|
@@ -45,7 +45,7 @@ export declare const asHydratedBlock: {
|
|
|
45
45
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
46
46
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
47
47
|
block: import("../index.ts").XL1BlockNumber;
|
|
48
|
-
chain: import("
|
|
48
|
+
chain: import("@xylabs/hex").Hex;
|
|
49
49
|
previous: import("@xylabs/hex").Hash | null;
|
|
50
50
|
protocol: number;
|
|
51
51
|
$epoch: number;
|
|
@@ -63,7 +63,7 @@ export declare const asHydratedBlock: {
|
|
|
63
63
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
64
64
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
65
65
|
block: import("../index.ts").XL1BlockNumber;
|
|
66
|
-
chain: import("
|
|
66
|
+
chain: import("@xylabs/hex").Hex;
|
|
67
67
|
previous: import("@xylabs/hex").Hash | null;
|
|
68
68
|
protocol: number;
|
|
69
69
|
$epoch: number;
|
|
@@ -83,7 +83,7 @@ export declare const toHydratedBlock: {
|
|
|
83
83
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
84
84
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
85
85
|
block: import("../index.ts").XL1BlockNumber;
|
|
86
|
-
chain: import("
|
|
86
|
+
chain: import("@xylabs/hex").Hex;
|
|
87
87
|
previous: import("@xylabs/hex").Hash | null;
|
|
88
88
|
protocol: number;
|
|
89
89
|
$epoch: number;
|
|
@@ -101,7 +101,7 @@ export declare const toHydratedBlock: {
|
|
|
101
101
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
102
102
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
103
103
|
block: import("../index.ts").XL1BlockNumber;
|
|
104
|
-
chain: import("
|
|
104
|
+
chain: import("@xylabs/hex").Hex;
|
|
105
105
|
previous: import("@xylabs/hex").Hash | null;
|
|
106
106
|
protocol: number;
|
|
107
107
|
$epoch: number;
|
|
@@ -122,7 +122,7 @@ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
122
122
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
123
123
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
124
124
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
125
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
125
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
126
126
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
127
127
|
protocol: z.ZodNumber;
|
|
128
128
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -143,7 +143,7 @@ export declare const isHydratedBlockWithHashMeta: (value: unknown) => value is [
|
|
|
143
143
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
144
144
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
145
145
|
block: import("../index.ts").XL1BlockNumber;
|
|
146
|
-
chain: import("
|
|
146
|
+
chain: import("@xylabs/hex").Hex;
|
|
147
147
|
previous: import("@xylabs/hex").Hash | null;
|
|
148
148
|
protocol: number;
|
|
149
149
|
$epoch: number;
|
|
@@ -166,7 +166,7 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
166
166
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
167
167
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
168
168
|
block: import("../index.ts").XL1BlockNumber;
|
|
169
|
-
chain: import("
|
|
169
|
+
chain: import("@xylabs/hex").Hex;
|
|
170
170
|
previous: import("@xylabs/hex").Hash | null;
|
|
171
171
|
protocol: number;
|
|
172
172
|
$epoch: number;
|
|
@@ -188,7 +188,7 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
188
188
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
189
189
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
190
190
|
block: import("../index.ts").XL1BlockNumber;
|
|
191
|
-
chain: import("
|
|
191
|
+
chain: import("@xylabs/hex").Hex;
|
|
192
192
|
previous: import("@xylabs/hex").Hash | null;
|
|
193
193
|
protocol: number;
|
|
194
194
|
$epoch: number;
|
|
@@ -212,7 +212,7 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
212
212
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
213
213
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
214
214
|
block: import("../index.ts").XL1BlockNumber;
|
|
215
|
-
chain: import("
|
|
215
|
+
chain: import("@xylabs/hex").Hex;
|
|
216
216
|
previous: import("@xylabs/hex").Hash | null;
|
|
217
217
|
protocol: number;
|
|
218
218
|
$epoch: number;
|
|
@@ -234,7 +234,7 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
234
234
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
235
235
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
236
236
|
block: import("../index.ts").XL1BlockNumber;
|
|
237
|
-
chain: import("
|
|
237
|
+
chain: import("@xylabs/hex").Hex;
|
|
238
238
|
previous: import("@xylabs/hex").Hash | null;
|
|
239
239
|
protocol: number;
|
|
240
240
|
$epoch: number;
|
|
@@ -259,7 +259,7 @@ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
259
259
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
260
260
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
261
261
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
262
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
262
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
263
263
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
264
264
|
protocol: z.ZodNumber;
|
|
265
265
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -282,7 +282,7 @@ export declare const isHydratedBlockWithStorageMeta: (value: unknown) => value i
|
|
|
282
282
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
283
283
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
284
284
|
block: import("../index.ts").XL1BlockNumber;
|
|
285
|
-
chain: import("
|
|
285
|
+
chain: import("@xylabs/hex").Hex;
|
|
286
286
|
previous: import("@xylabs/hex").Hash | null;
|
|
287
287
|
protocol: number;
|
|
288
288
|
$epoch: number;
|
|
@@ -307,7 +307,7 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
307
307
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
308
308
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
309
309
|
block: import("../index.ts").XL1BlockNumber;
|
|
310
|
-
chain: import("
|
|
310
|
+
chain: import("@xylabs/hex").Hex;
|
|
311
311
|
previous: import("@xylabs/hex").Hash | null;
|
|
312
312
|
protocol: number;
|
|
313
313
|
$epoch: number;
|
|
@@ -331,7 +331,7 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
331
331
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
332
332
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
333
333
|
block: import("../index.ts").XL1BlockNumber;
|
|
334
|
-
chain: import("
|
|
334
|
+
chain: import("@xylabs/hex").Hex;
|
|
335
335
|
previous: import("@xylabs/hex").Hash | null;
|
|
336
336
|
protocol: number;
|
|
337
337
|
$epoch: number;
|
|
@@ -357,7 +357,7 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
357
357
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
358
358
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
359
359
|
block: import("../index.ts").XL1BlockNumber;
|
|
360
|
-
chain: import("
|
|
360
|
+
chain: import("@xylabs/hex").Hex;
|
|
361
361
|
previous: import("@xylabs/hex").Hash | null;
|
|
362
362
|
protocol: number;
|
|
363
363
|
$epoch: number;
|
|
@@ -381,7 +381,7 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
381
381
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
382
382
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
383
383
|
block: import("../index.ts").XL1BlockNumber;
|
|
384
|
-
chain: import("
|
|
384
|
+
chain: import("@xylabs/hex").Hex;
|
|
385
385
|
previous: import("@xylabs/hex").Hash | null;
|
|
386
386
|
protocol: number;
|
|
387
387
|
$epoch: number;
|
|
@@ -408,7 +408,7 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
408
408
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
409
409
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
410
410
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
411
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
411
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
412
412
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
413
413
|
protocol: z.ZodNumber;
|
|
414
414
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -425,7 +425,7 @@ export declare const isSignedHydratedBlock: (value: unknown) => value is [{
|
|
|
425
425
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
426
426
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
427
427
|
block: import("../index.ts").XL1BlockNumber;
|
|
428
|
-
chain: import("
|
|
428
|
+
chain: import("@xylabs/hex").Hex;
|
|
429
429
|
previous: import("@xylabs/hex").Hash | null;
|
|
430
430
|
protocol: number;
|
|
431
431
|
$epoch: number;
|
|
@@ -444,7 +444,7 @@ export declare const asSignedHydratedBlock: {
|
|
|
444
444
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
445
445
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
446
446
|
block: import("../index.ts").XL1BlockNumber;
|
|
447
|
-
chain: import("
|
|
447
|
+
chain: import("@xylabs/hex").Hex;
|
|
448
448
|
previous: import("@xylabs/hex").Hash | null;
|
|
449
449
|
protocol: number;
|
|
450
450
|
$epoch: number;
|
|
@@ -462,7 +462,7 @@ export declare const asSignedHydratedBlock: {
|
|
|
462
462
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
463
463
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
464
464
|
block: import("../index.ts").XL1BlockNumber;
|
|
465
|
-
chain: import("
|
|
465
|
+
chain: import("@xylabs/hex").Hex;
|
|
466
466
|
previous: import("@xylabs/hex").Hash | null;
|
|
467
467
|
protocol: number;
|
|
468
468
|
$epoch: number;
|
|
@@ -482,7 +482,7 @@ export declare const toSignedHydratedBlock: {
|
|
|
482
482
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
483
483
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
484
484
|
block: import("../index.ts").XL1BlockNumber;
|
|
485
|
-
chain: import("
|
|
485
|
+
chain: import("@xylabs/hex").Hex;
|
|
486
486
|
previous: import("@xylabs/hex").Hash | null;
|
|
487
487
|
protocol: number;
|
|
488
488
|
$epoch: number;
|
|
@@ -500,7 +500,7 @@ export declare const toSignedHydratedBlock: {
|
|
|
500
500
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
501
501
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
502
502
|
block: import("../index.ts").XL1BlockNumber;
|
|
503
|
-
chain: import("
|
|
503
|
+
chain: import("@xylabs/hex").Hex;
|
|
504
504
|
previous: import("@xylabs/hex").Hash | null;
|
|
505
505
|
protocol: number;
|
|
506
506
|
$epoch: number;
|
|
@@ -521,7 +521,7 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
|
521
521
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
522
522
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
523
523
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
524
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
524
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
525
525
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
526
526
|
protocol: z.ZodNumber;
|
|
527
527
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -538,7 +538,7 @@ export declare const isSignedHydratedBlockToJson: (value: unknown) => value is [
|
|
|
538
538
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
539
539
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
540
540
|
block: import("../index.ts").XL1BlockNumber;
|
|
541
|
-
chain: import("
|
|
541
|
+
chain: import("@xylabs/hex").Hex;
|
|
542
542
|
previous: import("@xylabs/hex").Hash | null;
|
|
543
543
|
protocol: number;
|
|
544
544
|
$epoch: number;
|
|
@@ -557,7 +557,7 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
557
557
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
558
558
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
559
559
|
block: import("../index.ts").XL1BlockNumber;
|
|
560
|
-
chain: import("
|
|
560
|
+
chain: import("@xylabs/hex").Hex;
|
|
561
561
|
previous: import("@xylabs/hex").Hash | null;
|
|
562
562
|
protocol: number;
|
|
563
563
|
$epoch: number;
|
|
@@ -575,7 +575,7 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
575
575
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
576
576
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
577
577
|
block: import("../index.ts").XL1BlockNumber;
|
|
578
|
-
chain: import("
|
|
578
|
+
chain: import("@xylabs/hex").Hex;
|
|
579
579
|
previous: import("@xylabs/hex").Hash | null;
|
|
580
580
|
protocol: number;
|
|
581
581
|
$epoch: number;
|
|
@@ -595,7 +595,7 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
595
595
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
596
596
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
597
597
|
block: import("../index.ts").XL1BlockNumber;
|
|
598
|
-
chain: import("
|
|
598
|
+
chain: import("@xylabs/hex").Hex;
|
|
599
599
|
previous: import("@xylabs/hex").Hash | null;
|
|
600
600
|
protocol: number;
|
|
601
601
|
$epoch: number;
|
|
@@ -613,7 +613,7 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
613
613
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
614
614
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
615
615
|
block: import("../index.ts").XL1BlockNumber;
|
|
616
|
-
chain: import("
|
|
616
|
+
chain: import("@xylabs/hex").Hex;
|
|
617
617
|
previous: import("@xylabs/hex").Hash | null;
|
|
618
618
|
protocol: number;
|
|
619
619
|
$epoch: number;
|
|
@@ -634,7 +634,7 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject
|
|
|
634
634
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
635
635
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
636
636
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
637
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
637
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
638
638
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
639
639
|
protocol: z.ZodNumber;
|
|
640
640
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
@@ -655,7 +655,7 @@ export declare const isSignedHydratedBlockWithHashMeta: (value: unknown) => valu
|
|
|
655
655
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
656
656
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
657
657
|
block: import("../index.ts").XL1BlockNumber;
|
|
658
|
-
chain: import("
|
|
658
|
+
chain: import("@xylabs/hex").Hex;
|
|
659
659
|
previous: import("@xylabs/hex").Hash | null;
|
|
660
660
|
protocol: number;
|
|
661
661
|
$epoch: number;
|
|
@@ -678,7 +678,7 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
678
678
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
679
679
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
680
680
|
block: import("../index.ts").XL1BlockNumber;
|
|
681
|
-
chain: import("
|
|
681
|
+
chain: import("@xylabs/hex").Hex;
|
|
682
682
|
previous: import("@xylabs/hex").Hash | null;
|
|
683
683
|
protocol: number;
|
|
684
684
|
$epoch: number;
|
|
@@ -700,7 +700,7 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
700
700
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
701
701
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
702
702
|
block: import("../index.ts").XL1BlockNumber;
|
|
703
|
-
chain: import("
|
|
703
|
+
chain: import("@xylabs/hex").Hex;
|
|
704
704
|
previous: import("@xylabs/hex").Hash | null;
|
|
705
705
|
protocol: number;
|
|
706
706
|
$epoch: number;
|
|
@@ -724,7 +724,7 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
724
724
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
725
725
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
726
726
|
block: import("../index.ts").XL1BlockNumber;
|
|
727
|
-
chain: import("
|
|
727
|
+
chain: import("@xylabs/hex").Hex;
|
|
728
728
|
previous: import("@xylabs/hex").Hash | null;
|
|
729
729
|
protocol: number;
|
|
730
730
|
$epoch: number;
|
|
@@ -746,7 +746,7 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
746
746
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
747
747
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
748
748
|
block: import("../index.ts").XL1BlockNumber;
|
|
749
|
-
chain: import("
|
|
749
|
+
chain: import("@xylabs/hex").Hex;
|
|
750
750
|
previous: import("@xylabs/hex").Hash | null;
|
|
751
751
|
protocol: number;
|
|
752
752
|
$epoch: number;
|
|
@@ -771,7 +771,7 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObj
|
|
|
771
771
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
772
772
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
773
773
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
774
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("
|
|
774
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
775
775
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
776
776
|
protocol: z.ZodNumber;
|
|
777
777
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|