@xyo-network/xl1-protocol 1.14.12 → 1.14.14
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/block/AllowedBlockPayload.d.ts +3 -3
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +270 -182
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts +0 -3
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +214 -43
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +9 -9
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +9 -9
- package/dist/neutral/zod/TransactionFees.d.ts +2 -2
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +345 -0
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/index.d.ts +4 -0
- package/dist/neutral/zod/block/index.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +179 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +216 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/index.d.ts +4 -0
- package/dist/neutral/zod/block/signed/index.d.ts.map +1 -0
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +103 -0
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/unsigned/index.d.ts +2 -0
- package/dist/neutral/zod/block/unsigned/index.d.ts.map +1 -0
- package/dist/neutral/zod/index.d.ts +2 -1
- package/dist/neutral/zod/index.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +27 -0
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -0
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +30 -0
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -0
- package/dist/neutral/zod/payload/index.d.ts +3 -0
- package/dist/neutral/zod/payload/index.d.ts.map +1 -0
- package/package.json +22 -21
- package/src/payload/elevatable/Time.ts +1 -3
- package/src/payload/elevatable/TransferPayload.ts +1 -3
- package/src/zod/HydratedBlock.ts +17 -1
- package/src/zod/block/BlockBoundWitness.ts +48 -0
- package/src/zod/block/index.ts +3 -0
- package/src/zod/block/signed/SignedBlockBoundWitness.ts +17 -0
- package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +29 -0
- package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +35 -0
- package/src/zod/block/signed/index.ts +3 -0
- package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +17 -0
- package/src/zod/block/unsigned/index.ts +1 -0
- package/src/zod/index.ts +2 -1
- package/src/zod/payload/WithHashMetaish.ts +23 -0
- package/src/zod/payload/WithStorageMetaish.ts +23 -0
- package/src/zod/payload/index.ts +2 -0
- package/dist/neutral/zod/BlockBoundWitness.d.ts +0 -1011
- package/dist/neutral/zod/BlockBoundWitness.d.ts.map +0 -1
- package/src/zod/BlockBoundWitness.ts +0 -114
|
@@ -11,14 +11,14 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
11
11
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
12
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
|
-
protocol: z.ZodNumber
|
|
14
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
16
16
|
$epoch: z.ZodNumber;
|
|
17
17
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
18
18
|
schema: z.ZodString;
|
|
19
19
|
}, z.core.$strict>>], null>;
|
|
20
20
|
export type HydratedBlock = z.infer<typeof HydratedBlockZod>;
|
|
21
|
-
export declare const isHydratedBlock: (value:
|
|
21
|
+
export declare const isHydratedBlock: <T>(value: T) => value is T & [{
|
|
22
22
|
schema: "network.xyo.boundwitness";
|
|
23
23
|
addresses: import("@xylabs/hex").Address[];
|
|
24
24
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -28,10 +28,10 @@ export declare const isHydratedBlock: (value: unknown) => value is [{
|
|
|
28
28
|
block: import("../index.ts").XL1BlockNumber;
|
|
29
29
|
chain: import("@xylabs/hex").Hex;
|
|
30
30
|
previous: import("@xylabs/hex").Hash | null;
|
|
31
|
-
protocol: number;
|
|
32
31
|
$epoch: number;
|
|
33
32
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
34
33
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
34
|
+
protocol?: number | undefined;
|
|
35
35
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
schema: string;
|
|
@@ -47,10 +47,10 @@ export declare const asHydratedBlock: {
|
|
|
47
47
|
block: import("../index.ts").XL1BlockNumber;
|
|
48
48
|
chain: import("@xylabs/hex").Hex;
|
|
49
49
|
previous: import("@xylabs/hex").Hash | null;
|
|
50
|
-
protocol: number;
|
|
51
50
|
$epoch: number;
|
|
52
51
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
53
52
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
53
|
+
protocol?: number | undefined;
|
|
54
54
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
schema: string;
|
|
@@ -65,10 +65,10 @@ export declare const asHydratedBlock: {
|
|
|
65
65
|
block: import("../index.ts").XL1BlockNumber;
|
|
66
66
|
chain: import("@xylabs/hex").Hex;
|
|
67
67
|
previous: import("@xylabs/hex").Hash | null;
|
|
68
|
-
protocol: number;
|
|
69
68
|
$epoch: number;
|
|
70
69
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
71
70
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
71
|
+
protocol?: number | undefined;
|
|
72
72
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
73
73
|
}, {
|
|
74
74
|
schema: string;
|
|
@@ -85,10 +85,10 @@ export declare const toHydratedBlock: {
|
|
|
85
85
|
block: import("../index.ts").XL1BlockNumber;
|
|
86
86
|
chain: import("@xylabs/hex").Hex;
|
|
87
87
|
previous: import("@xylabs/hex").Hash | null;
|
|
88
|
-
protocol: number;
|
|
89
88
|
$epoch: number;
|
|
90
89
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
91
90
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
91
|
+
protocol?: number | undefined;
|
|
92
92
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
schema: string;
|
|
@@ -103,10 +103,10 @@ export declare const toHydratedBlock: {
|
|
|
103
103
|
block: import("../index.ts").XL1BlockNumber;
|
|
104
104
|
chain: import("@xylabs/hex").Hex;
|
|
105
105
|
previous: import("@xylabs/hex").Hash | null;
|
|
106
|
-
protocol: number;
|
|
107
106
|
$epoch: number;
|
|
108
107
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
109
108
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
109
|
+
protocol?: number | undefined;
|
|
110
110
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
111
111
|
}, {
|
|
112
112
|
schema: string;
|
|
@@ -124,7 +124,7 @@ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
124
124
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
125
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
|
-
protocol: z.ZodNumber
|
|
127
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
128
128
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
129
129
|
$epoch: z.ZodNumber;
|
|
130
130
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
@@ -135,7 +135,7 @@ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
135
135
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
136
136
|
}, z.core.$strip>>], null>;
|
|
137
137
|
export type HydratedBlockWithHashMeta = z.infer<typeof HydratedBlockWithHashMetaZod>;
|
|
138
|
-
export declare const isHydratedBlockWithHashMeta: (value:
|
|
138
|
+
export declare const isHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
139
139
|
schema: "network.xyo.boundwitness";
|
|
140
140
|
addresses: import("@xylabs/hex").Address[];
|
|
141
141
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -145,12 +145,12 @@ export declare const isHydratedBlockWithHashMeta: (value: unknown) => value is [
|
|
|
145
145
|
block: import("../index.ts").XL1BlockNumber;
|
|
146
146
|
chain: import("@xylabs/hex").Hex;
|
|
147
147
|
previous: import("@xylabs/hex").Hash | null;
|
|
148
|
-
protocol: number;
|
|
149
148
|
$epoch: number;
|
|
150
149
|
_hash: import("@xylabs/hex").Hash;
|
|
151
150
|
_dataHash: import("@xylabs/hex").Hash;
|
|
152
151
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
153
152
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
153
|
+
protocol?: number | undefined;
|
|
154
154
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
155
155
|
}, {
|
|
156
156
|
schema: string;
|
|
@@ -168,12 +168,12 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
168
168
|
block: import("../index.ts").XL1BlockNumber;
|
|
169
169
|
chain: import("@xylabs/hex").Hex;
|
|
170
170
|
previous: import("@xylabs/hex").Hash | null;
|
|
171
|
-
protocol: number;
|
|
172
171
|
$epoch: number;
|
|
173
172
|
_hash: import("@xylabs/hex").Hash;
|
|
174
173
|
_dataHash: import("@xylabs/hex").Hash;
|
|
175
174
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
176
175
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
176
|
+
protocol?: number | undefined;
|
|
177
177
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
178
178
|
}, {
|
|
179
179
|
schema: string;
|
|
@@ -190,12 +190,12 @@ export declare const asHydratedBlockWithHashMeta: {
|
|
|
190
190
|
block: import("../index.ts").XL1BlockNumber;
|
|
191
191
|
chain: import("@xylabs/hex").Hex;
|
|
192
192
|
previous: import("@xylabs/hex").Hash | null;
|
|
193
|
-
protocol: number;
|
|
194
193
|
$epoch: number;
|
|
195
194
|
_hash: import("@xylabs/hex").Hash;
|
|
196
195
|
_dataHash: import("@xylabs/hex").Hash;
|
|
197
196
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
198
197
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
198
|
+
protocol?: number | undefined;
|
|
199
199
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
200
200
|
}, {
|
|
201
201
|
schema: string;
|
|
@@ -214,12 +214,12 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
214
214
|
block: import("../index.ts").XL1BlockNumber;
|
|
215
215
|
chain: import("@xylabs/hex").Hex;
|
|
216
216
|
previous: import("@xylabs/hex").Hash | null;
|
|
217
|
-
protocol: number;
|
|
218
217
|
$epoch: number;
|
|
219
218
|
_hash: import("@xylabs/hex").Hash;
|
|
220
219
|
_dataHash: import("@xylabs/hex").Hash;
|
|
221
220
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
222
221
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
222
|
+
protocol?: number | undefined;
|
|
223
223
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
224
224
|
}, {
|
|
225
225
|
schema: string;
|
|
@@ -236,12 +236,12 @@ export declare const toHydratedBlockWithHashMeta: {
|
|
|
236
236
|
block: import("../index.ts").XL1BlockNumber;
|
|
237
237
|
chain: import("@xylabs/hex").Hex;
|
|
238
238
|
previous: import("@xylabs/hex").Hash | null;
|
|
239
|
-
protocol: number;
|
|
240
239
|
$epoch: number;
|
|
241
240
|
_hash: import("@xylabs/hex").Hash;
|
|
242
241
|
_dataHash: import("@xylabs/hex").Hash;
|
|
243
242
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
244
243
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
244
|
+
protocol?: number | undefined;
|
|
245
245
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
246
246
|
}, {
|
|
247
247
|
schema: string;
|
|
@@ -261,7 +261,7 @@ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
261
261
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
262
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
|
-
protocol: z.ZodNumber
|
|
264
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
265
265
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
266
266
|
$epoch: z.ZodNumber;
|
|
267
267
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
@@ -274,7 +274,7 @@ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
|
274
274
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
275
275
|
}, z.core.$strip>>], null>;
|
|
276
276
|
export type HydratedBlockWithStorageMeta = z.infer<typeof HydratedBlockWithStorageMetaZod>;
|
|
277
|
-
export declare const isHydratedBlockWithStorageMeta: (value:
|
|
277
|
+
export declare const isHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
278
278
|
schema: "network.xyo.boundwitness";
|
|
279
279
|
addresses: import("@xylabs/hex").Address[];
|
|
280
280
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -284,13 +284,13 @@ export declare const isHydratedBlockWithStorageMeta: (value: unknown) => value i
|
|
|
284
284
|
block: import("../index.ts").XL1BlockNumber;
|
|
285
285
|
chain: import("@xylabs/hex").Hex;
|
|
286
286
|
previous: import("@xylabs/hex").Hash | null;
|
|
287
|
-
protocol: number;
|
|
288
287
|
$epoch: number;
|
|
289
288
|
_hash: import("@xylabs/hex").Hash;
|
|
290
289
|
_dataHash: import("@xylabs/hex").Hash;
|
|
291
290
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
292
291
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
293
292
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
293
|
+
protocol?: number | undefined;
|
|
294
294
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
schema: string;
|
|
@@ -309,13 +309,13 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
309
309
|
block: import("../index.ts").XL1BlockNumber;
|
|
310
310
|
chain: import("@xylabs/hex").Hex;
|
|
311
311
|
previous: import("@xylabs/hex").Hash | null;
|
|
312
|
-
protocol: number;
|
|
313
312
|
$epoch: number;
|
|
314
313
|
_hash: import("@xylabs/hex").Hash;
|
|
315
314
|
_dataHash: import("@xylabs/hex").Hash;
|
|
316
315
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
317
316
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
318
317
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
318
|
+
protocol?: number | undefined;
|
|
319
319
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
320
320
|
}, {
|
|
321
321
|
schema: string;
|
|
@@ -333,13 +333,13 @@ export declare const asHydratedBlockWithStorageMeta: {
|
|
|
333
333
|
block: import("../index.ts").XL1BlockNumber;
|
|
334
334
|
chain: import("@xylabs/hex").Hex;
|
|
335
335
|
previous: import("@xylabs/hex").Hash | null;
|
|
336
|
-
protocol: number;
|
|
337
336
|
$epoch: number;
|
|
338
337
|
_hash: import("@xylabs/hex").Hash;
|
|
339
338
|
_dataHash: import("@xylabs/hex").Hash;
|
|
340
339
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
341
340
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
342
341
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
342
|
+
protocol?: number | undefined;
|
|
343
343
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
344
344
|
}, {
|
|
345
345
|
schema: string;
|
|
@@ -359,13 +359,13 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
359
359
|
block: import("../index.ts").XL1BlockNumber;
|
|
360
360
|
chain: import("@xylabs/hex").Hex;
|
|
361
361
|
previous: import("@xylabs/hex").Hash | null;
|
|
362
|
-
protocol: number;
|
|
363
362
|
$epoch: number;
|
|
364
363
|
_hash: import("@xylabs/hex").Hash;
|
|
365
364
|
_dataHash: import("@xylabs/hex").Hash;
|
|
366
365
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
367
366
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
368
367
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
368
|
+
protocol?: number | undefined;
|
|
369
369
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
370
370
|
}, {
|
|
371
371
|
schema: string;
|
|
@@ -383,13 +383,13 @@ export declare const toHydratedBlockWithStorageMeta: {
|
|
|
383
383
|
block: import("../index.ts").XL1BlockNumber;
|
|
384
384
|
chain: import("@xylabs/hex").Hex;
|
|
385
385
|
previous: import("@xylabs/hex").Hash | null;
|
|
386
|
-
protocol: number;
|
|
387
386
|
$epoch: number;
|
|
388
387
|
_hash: import("@xylabs/hex").Hash;
|
|
389
388
|
_dataHash: import("@xylabs/hex").Hash;
|
|
390
389
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
391
390
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
392
391
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
392
|
+
protocol?: number | undefined;
|
|
393
393
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
394
394
|
}, {
|
|
395
395
|
schema: string;
|
|
@@ -410,14 +410,14 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
410
410
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
411
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
|
-
protocol: z.ZodNumber
|
|
413
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
414
414
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
415
415
|
$epoch: z.ZodNumber;
|
|
416
416
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
417
417
|
schema: z.ZodString;
|
|
418
418
|
}, z.core.$strict>>], null>;
|
|
419
419
|
export type SignedHydratedBlock = z.infer<typeof SignedHydratedBlockZod>;
|
|
420
|
-
export declare const isSignedHydratedBlock: (value:
|
|
420
|
+
export declare const isSignedHydratedBlock: <T>(value: T) => value is T & [{
|
|
421
421
|
schema: "network.xyo.boundwitness";
|
|
422
422
|
addresses: import("@xylabs/hex").Address[];
|
|
423
423
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -427,10 +427,10 @@ export declare const isSignedHydratedBlock: (value: unknown) => value is [{
|
|
|
427
427
|
block: import("../index.ts").XL1BlockNumber;
|
|
428
428
|
chain: import("@xylabs/hex").Hex;
|
|
429
429
|
previous: import("@xylabs/hex").Hash | null;
|
|
430
|
-
protocol: number;
|
|
431
430
|
$epoch: number;
|
|
432
431
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
433
432
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
433
|
+
protocol?: number | undefined;
|
|
434
434
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
435
435
|
}, {
|
|
436
436
|
schema: string;
|
|
@@ -446,10 +446,10 @@ export declare const asSignedHydratedBlock: {
|
|
|
446
446
|
block: import("../index.ts").XL1BlockNumber;
|
|
447
447
|
chain: import("@xylabs/hex").Hex;
|
|
448
448
|
previous: import("@xylabs/hex").Hash | null;
|
|
449
|
-
protocol: number;
|
|
450
449
|
$epoch: number;
|
|
451
450
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
452
451
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
452
|
+
protocol?: number | undefined;
|
|
453
453
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
schema: string;
|
|
@@ -464,10 +464,10 @@ export declare const asSignedHydratedBlock: {
|
|
|
464
464
|
block: import("../index.ts").XL1BlockNumber;
|
|
465
465
|
chain: import("@xylabs/hex").Hex;
|
|
466
466
|
previous: import("@xylabs/hex").Hash | null;
|
|
467
|
-
protocol: number;
|
|
468
467
|
$epoch: number;
|
|
469
468
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
470
469
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
470
|
+
protocol?: number | undefined;
|
|
471
471
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
schema: string;
|
|
@@ -484,10 +484,10 @@ export declare const toSignedHydratedBlock: {
|
|
|
484
484
|
block: import("../index.ts").XL1BlockNumber;
|
|
485
485
|
chain: import("@xylabs/hex").Hex;
|
|
486
486
|
previous: import("@xylabs/hex").Hash | null;
|
|
487
|
-
protocol: number;
|
|
488
487
|
$epoch: number;
|
|
489
488
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
490
489
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
490
|
+
protocol?: number | undefined;
|
|
491
491
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
492
492
|
}, {
|
|
493
493
|
schema: string;
|
|
@@ -502,10 +502,10 @@ export declare const toSignedHydratedBlock: {
|
|
|
502
502
|
block: import("../index.ts").XL1BlockNumber;
|
|
503
503
|
chain: import("@xylabs/hex").Hex;
|
|
504
504
|
previous: import("@xylabs/hex").Hash | null;
|
|
505
|
-
protocol: number;
|
|
506
505
|
$epoch: number;
|
|
507
506
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
508
507
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
508
|
+
protocol?: number | undefined;
|
|
509
509
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
510
510
|
}, {
|
|
511
511
|
schema: string;
|
|
@@ -523,14 +523,14 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
|
523
523
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
524
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
|
-
protocol: z.ZodNumber
|
|
526
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
527
527
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
528
528
|
$epoch: z.ZodNumber;
|
|
529
529
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
530
530
|
schema: z.ZodString;
|
|
531
531
|
}, z.core.$strict>>], null>;
|
|
532
532
|
export type SignedHydratedBlockToJson = z.infer<typeof SignedHydratedBlockToJsonZod>;
|
|
533
|
-
export declare const isSignedHydratedBlockToJson: (value:
|
|
533
|
+
export declare const isSignedHydratedBlockToJson: <T>(value: T) => value is T & [{
|
|
534
534
|
schema: "network.xyo.boundwitness";
|
|
535
535
|
addresses: import("@xylabs/hex").Address[];
|
|
536
536
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -540,10 +540,10 @@ export declare const isSignedHydratedBlockToJson: (value: unknown) => value is [
|
|
|
540
540
|
block: import("../index.ts").XL1BlockNumber;
|
|
541
541
|
chain: import("@xylabs/hex").Hex;
|
|
542
542
|
previous: import("@xylabs/hex").Hash | null;
|
|
543
|
-
protocol: number;
|
|
544
543
|
$epoch: number;
|
|
545
544
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
546
545
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
546
|
+
protocol?: number | undefined;
|
|
547
547
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
548
548
|
}, {
|
|
549
549
|
schema: string;
|
|
@@ -559,10 +559,10 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
559
559
|
block: import("../index.ts").XL1BlockNumber;
|
|
560
560
|
chain: import("@xylabs/hex").Hex;
|
|
561
561
|
previous: import("@xylabs/hex").Hash | null;
|
|
562
|
-
protocol: number;
|
|
563
562
|
$epoch: number;
|
|
564
563
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
565
564
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
565
|
+
protocol?: number | undefined;
|
|
566
566
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
567
567
|
}, {
|
|
568
568
|
schema: string;
|
|
@@ -577,10 +577,10 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
577
577
|
block: import("../index.ts").XL1BlockNumber;
|
|
578
578
|
chain: import("@xylabs/hex").Hex;
|
|
579
579
|
previous: import("@xylabs/hex").Hash | null;
|
|
580
|
-
protocol: number;
|
|
581
580
|
$epoch: number;
|
|
582
581
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
583
582
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
583
|
+
protocol?: number | undefined;
|
|
584
584
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
585
585
|
}, {
|
|
586
586
|
schema: string;
|
|
@@ -597,10 +597,10 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
597
597
|
block: import("../index.ts").XL1BlockNumber;
|
|
598
598
|
chain: import("@xylabs/hex").Hex;
|
|
599
599
|
previous: import("@xylabs/hex").Hash | null;
|
|
600
|
-
protocol: number;
|
|
601
600
|
$epoch: number;
|
|
602
601
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
603
602
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
603
|
+
protocol?: number | undefined;
|
|
604
604
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
605
605
|
}, {
|
|
606
606
|
schema: string;
|
|
@@ -615,10 +615,10 @@ export declare const toSignedHydratedBlockToJson: {
|
|
|
615
615
|
block: import("../index.ts").XL1BlockNumber;
|
|
616
616
|
chain: import("@xylabs/hex").Hex;
|
|
617
617
|
previous: import("@xylabs/hex").Hash | null;
|
|
618
|
-
protocol: number;
|
|
619
618
|
$epoch: number;
|
|
620
619
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
621
620
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
621
|
+
protocol?: number | undefined;
|
|
622
622
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
623
623
|
}, {
|
|
624
624
|
schema: string;
|
|
@@ -636,7 +636,7 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject
|
|
|
636
636
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
637
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
|
-
protocol: z.ZodNumber
|
|
639
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
640
640
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
641
641
|
$epoch: z.ZodNumber;
|
|
642
642
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
@@ -647,7 +647,29 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject
|
|
|
647
647
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
648
648
|
}, z.core.$strip>>], null>;
|
|
649
649
|
export type SignedHydratedBlockWithHashMeta = z.infer<typeof SignedHydratedBlockWithHashMetaZod>;
|
|
650
|
-
export declare const
|
|
650
|
+
export declare const SignedHydratedBlockWithHashMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
651
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
652
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
653
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
654
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
655
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
656
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
657
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
658
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
659
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
660
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
661
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
662
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
663
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
664
|
+
$epoch: z.ZodNumber;
|
|
665
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
666
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
667
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
668
|
+
schema: z.ZodString;
|
|
669
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
670
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
671
|
+
}, z.core.$strip>>], null>;
|
|
672
|
+
export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
651
673
|
schema: "network.xyo.boundwitness";
|
|
652
674
|
addresses: import("@xylabs/hex").Address[];
|
|
653
675
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -657,12 +679,12 @@ export declare const isSignedHydratedBlockWithHashMeta: (value: unknown) => valu
|
|
|
657
679
|
block: import("../index.ts").XL1BlockNumber;
|
|
658
680
|
chain: import("@xylabs/hex").Hex;
|
|
659
681
|
previous: import("@xylabs/hex").Hash | null;
|
|
660
|
-
protocol: number;
|
|
661
682
|
$epoch: number;
|
|
662
683
|
_hash: import("@xylabs/hex").Hash;
|
|
663
684
|
_dataHash: import("@xylabs/hex").Hash;
|
|
664
685
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
665
686
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
687
|
+
protocol?: number | undefined;
|
|
666
688
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
667
689
|
}, {
|
|
668
690
|
schema: string;
|
|
@@ -680,12 +702,12 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
680
702
|
block: import("../index.ts").XL1BlockNumber;
|
|
681
703
|
chain: import("@xylabs/hex").Hex;
|
|
682
704
|
previous: import("@xylabs/hex").Hash | null;
|
|
683
|
-
protocol: number;
|
|
684
705
|
$epoch: number;
|
|
685
706
|
_hash: import("@xylabs/hex").Hash;
|
|
686
707
|
_dataHash: import("@xylabs/hex").Hash;
|
|
687
708
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
688
709
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
710
|
+
protocol?: number | undefined;
|
|
689
711
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
690
712
|
}, {
|
|
691
713
|
schema: string;
|
|
@@ -702,12 +724,12 @@ export declare const asSignedHydratedBlockWithHashMeta: {
|
|
|
702
724
|
block: import("../index.ts").XL1BlockNumber;
|
|
703
725
|
chain: import("@xylabs/hex").Hex;
|
|
704
726
|
previous: import("@xylabs/hex").Hash | null;
|
|
705
|
-
protocol: number;
|
|
706
727
|
$epoch: number;
|
|
707
728
|
_hash: import("@xylabs/hex").Hash;
|
|
708
729
|
_dataHash: import("@xylabs/hex").Hash;
|
|
709
730
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
710
731
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
732
|
+
protocol?: number | undefined;
|
|
711
733
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
712
734
|
}, {
|
|
713
735
|
schema: string;
|
|
@@ -726,12 +748,12 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
726
748
|
block: import("../index.ts").XL1BlockNumber;
|
|
727
749
|
chain: import("@xylabs/hex").Hex;
|
|
728
750
|
previous: import("@xylabs/hex").Hash | null;
|
|
729
|
-
protocol: number;
|
|
730
751
|
$epoch: number;
|
|
731
752
|
_hash: import("@xylabs/hex").Hash;
|
|
732
753
|
_dataHash: import("@xylabs/hex").Hash;
|
|
733
754
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
734
755
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
756
|
+
protocol?: number | undefined;
|
|
735
757
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
736
758
|
}, {
|
|
737
759
|
schema: string;
|
|
@@ -748,12 +770,12 @@ export declare const toSignedHydratedBlockWithHashMeta: {
|
|
|
748
770
|
block: import("../index.ts").XL1BlockNumber;
|
|
749
771
|
chain: import("@xylabs/hex").Hex;
|
|
750
772
|
previous: import("@xylabs/hex").Hash | null;
|
|
751
|
-
protocol: number;
|
|
752
773
|
$epoch: number;
|
|
753
774
|
_hash: import("@xylabs/hex").Hash;
|
|
754
775
|
_dataHash: import("@xylabs/hex").Hash;
|
|
755
776
|
$destination?: import("@xylabs/hex").Address | undefined;
|
|
756
777
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
778
|
+
protocol?: number | undefined;
|
|
757
779
|
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
758
780
|
}, {
|
|
759
781
|
schema: string;
|
|
@@ -773,7 +795,7 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObj
|
|
|
773
795
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
774
796
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
775
797
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
776
|
-
protocol: z.ZodNumber
|
|
798
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
777
799
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
778
800
|
$epoch: z.ZodNumber;
|
|
779
801
|
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
@@ -785,4 +807,153 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObj
|
|
|
785
807
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
786
808
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
787
809
|
}, z.core.$strip>>], null>;
|
|
810
|
+
export type SignedHydratedBlockWithStorageMeta = z.infer<typeof SignedHydratedBlockWithStorageMetaZod>;
|
|
811
|
+
export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
812
|
+
schema: "network.xyo.boundwitness";
|
|
813
|
+
addresses: import("@xylabs/hex").Address[];
|
|
814
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
815
|
+
payload_schemas: string[];
|
|
816
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
817
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
818
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
819
|
+
chain: import("@xylabs/hex").Hex;
|
|
820
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
821
|
+
$epoch: number;
|
|
822
|
+
_hash: import("@xylabs/hex").Hash;
|
|
823
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
824
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
825
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
826
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
827
|
+
protocol?: number | undefined;
|
|
828
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
829
|
+
}, {
|
|
830
|
+
schema: string;
|
|
831
|
+
_hash: import("@xylabs/hex").Hash;
|
|
832
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
833
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
834
|
+
}[]];
|
|
835
|
+
export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
836
|
+
(value: unknown): [{
|
|
837
|
+
schema: "network.xyo.boundwitness";
|
|
838
|
+
addresses: import("@xylabs/hex").Address[];
|
|
839
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
840
|
+
payload_schemas: string[];
|
|
841
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
842
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
843
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
844
|
+
chain: import("@xylabs/hex").Hex;
|
|
845
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
846
|
+
$epoch: number;
|
|
847
|
+
_hash: import("@xylabs/hex").Hash;
|
|
848
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
849
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
850
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
851
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
852
|
+
protocol?: number | undefined;
|
|
853
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
854
|
+
}, {
|
|
855
|
+
schema: string;
|
|
856
|
+
_hash: import("@xylabs/hex").Hash;
|
|
857
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
858
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
859
|
+
}[]] | undefined;
|
|
860
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
|
|
861
|
+
schema: "network.xyo.boundwitness";
|
|
862
|
+
addresses: import("@xylabs/hex").Address[];
|
|
863
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
864
|
+
payload_schemas: string[];
|
|
865
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
866
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
867
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
868
|
+
chain: import("@xylabs/hex").Hex;
|
|
869
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
870
|
+
$epoch: number;
|
|
871
|
+
_hash: import("@xylabs/hex").Hash;
|
|
872
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
873
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
874
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
875
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
876
|
+
protocol?: number | undefined;
|
|
877
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
878
|
+
}, {
|
|
879
|
+
schema: string;
|
|
880
|
+
_hash: import("@xylabs/hex").Hash;
|
|
881
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
882
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
883
|
+
}[]];
|
|
884
|
+
};
|
|
885
|
+
export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
886
|
+
(value: unknown): [{
|
|
887
|
+
schema: "network.xyo.boundwitness";
|
|
888
|
+
addresses: import("@xylabs/hex").Address[];
|
|
889
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
890
|
+
payload_schemas: string[];
|
|
891
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
892
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
893
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
894
|
+
chain: import("@xylabs/hex").Hex;
|
|
895
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
896
|
+
$epoch: number;
|
|
897
|
+
_hash: import("@xylabs/hex").Hash;
|
|
898
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
899
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
900
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
901
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
902
|
+
protocol?: number | undefined;
|
|
903
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
904
|
+
}, {
|
|
905
|
+
schema: string;
|
|
906
|
+
_hash: import("@xylabs/hex").Hash;
|
|
907
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
908
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
909
|
+
}[]] | undefined;
|
|
910
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): [{
|
|
911
|
+
schema: "network.xyo.boundwitness";
|
|
912
|
+
addresses: import("@xylabs/hex").Address[];
|
|
913
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
914
|
+
payload_schemas: string[];
|
|
915
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
916
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
917
|
+
block: import("../index.ts").XL1BlockNumber;
|
|
918
|
+
chain: import("@xylabs/hex").Hex;
|
|
919
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
920
|
+
$epoch: number;
|
|
921
|
+
_hash: import("@xylabs/hex").Hash;
|
|
922
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
923
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
924
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
925
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
926
|
+
protocol?: number | undefined;
|
|
927
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
928
|
+
}, {
|
|
929
|
+
schema: string;
|
|
930
|
+
_hash: import("@xylabs/hex").Hash;
|
|
931
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
932
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
933
|
+
}[]];
|
|
934
|
+
};
|
|
935
|
+
export declare const SignedHydratedBlockWithStorageMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
936
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
937
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
938
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
939
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
940
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
941
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
942
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
943
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
944
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
945
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
946
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
947
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
948
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
949
|
+
$epoch: z.ZodNumber;
|
|
950
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
951
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
952
|
+
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
953
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
954
|
+
schema: z.ZodString;
|
|
955
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
956
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
957
|
+
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
958
|
+
}, z.core.$strip>>], null>;
|
|
788
959
|
//# sourceMappingURL=HydratedBlock.d.ts.map
|