@xyo-network/xl1-protocol 1.14.8 → 1.14.10
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 +159 -213
- 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/zod/BlockBoundWitness.d.ts +91 -91
- package/dist/neutral/zod/BlockBoundWitness.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 +56 -56
- package/dist/neutral/zod/HydratedTransaction.d.ts +900 -1034
- package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
- 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 +206 -206
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/index.d.ts +0 -1
- package/dist/neutral/zod/index.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/zod/BlockBoundWitness.ts +15 -17
- package/src/zod/HydratedTransaction.ts +1 -18
- package/src/zod/Permission.ts +1 -1
- package/src/zod/Stake.ts +1 -0
- package/src/zod/TransactionBoundWitness.ts +20 -20
- package/src/zod/index.ts +0 -1
- package/dist/neutral/zod/BoundWitness.d.ts +0 -111
- package/dist/neutral/zod/BoundWitness.d.ts.map +0 -1
- package/src/zod/BoundWitness.ts +0 -59
|
@@ -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;
|
|
@@ -406,9 +406,9 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
406
406
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
407
407
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
408
408
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
409
|
-
$signatures: z.ZodArray<z.
|
|
409
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
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>>>>;
|
|
@@ -423,9 +423,9 @@ export declare const isSignedHydratedBlock: (value: unknown) => value is [{
|
|
|
423
423
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
424
424
|
payload_schemas: string[];
|
|
425
425
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
426
|
-
$signatures:
|
|
426
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -442,9 +442,9 @@ export declare const asSignedHydratedBlock: {
|
|
|
442
442
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
443
443
|
payload_schemas: string[];
|
|
444
444
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
445
|
-
$signatures:
|
|
445
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -460,9 +460,9 @@ export declare const asSignedHydratedBlock: {
|
|
|
460
460
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
461
461
|
payload_schemas: string[];
|
|
462
462
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
463
|
-
$signatures:
|
|
463
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -480,9 +480,9 @@ export declare const toSignedHydratedBlock: {
|
|
|
480
480
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
481
481
|
payload_schemas: string[];
|
|
482
482
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
483
|
-
$signatures:
|
|
483
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -498,9 +498,9 @@ export declare const toSignedHydratedBlock: {
|
|
|
498
498
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
499
499
|
payload_schemas: string[];
|
|
500
500
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
501
|
-
$signatures:
|
|
501
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -519,9 +519,9 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
|
519
519
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
520
520
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
521
521
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
522
|
-
$signatures: z.ZodArray<z.
|
|
522
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
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>>>>;
|
|
@@ -536,9 +536,9 @@ export declare const isSignedHydratedBlockToJson: (value: unknown) => value is [
|
|
|
536
536
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
537
537
|
payload_schemas: string[];
|
|
538
538
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
539
|
-
$signatures:
|
|
539
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -555,9 +555,9 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
555
555
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
556
556
|
payload_schemas: string[];
|
|
557
557
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
558
|
-
$signatures:
|
|
558
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -573,9 +573,9 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
573
573
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
574
574
|
payload_schemas: string[];
|
|
575
575
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
576
|
-
$signatures:
|
|
576
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -593,9 +593,9 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
593
593
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
594
594
|
payload_schemas: string[];
|
|
595
595
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
596
|
-
$signatures:
|
|
596
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -611,9 +611,9 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
611
611
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
612
612
|
payload_schemas: string[];
|
|
613
613
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
614
|
-
$signatures:
|
|
614
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -632,9 +632,9 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject
|
|
|
632
632
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
633
633
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
634
634
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
635
|
-
$signatures: z.ZodArray<z.
|
|
635
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
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>>>>;
|
|
@@ -653,9 +653,9 @@ export declare const isSignedHydratedBlockWithHashMeta: (value: unknown) => valu
|
|
|
653
653
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
654
654
|
payload_schemas: string[];
|
|
655
655
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
656
|
-
$signatures:
|
|
656
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -676,9 +676,9 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
676
676
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
677
677
|
payload_schemas: string[];
|
|
678
678
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
679
|
-
$signatures:
|
|
679
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -698,9 +698,9 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
698
698
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
699
699
|
payload_schemas: string[];
|
|
700
700
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
701
|
-
$signatures:
|
|
701
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -722,9 +722,9 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
722
722
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
723
723
|
payload_schemas: string[];
|
|
724
724
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
725
|
-
$signatures:
|
|
725
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -744,9 +744,9 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
744
744
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
745
745
|
payload_schemas: string[];
|
|
746
746
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
747
|
-
$signatures:
|
|
747
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
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;
|
|
@@ -769,9 +769,9 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObj
|
|
|
769
769
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
770
770
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
771
771
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
772
|
-
$signatures: z.ZodArray<z.
|
|
772
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
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>>>>;
|