@xyo-network/xl1-protocol 5.5.1 → 5.5.3
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/modules/protocol-model/block/BlockBoundWitness.d.ts +30 -22
- package/dist/neutral/modules/protocol-model/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/modules/protocol-model/block/HydratedBlock.d.ts +44 -44
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitness.d.ts +6 -6
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +10 -10
- package/dist/neutral/modules/protocol-model/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +12 -12
- package/dist/neutral/modules/protocol-model/block/unsigned/UnsignedBlockBoundWitness.d.ts +6 -6
- package/dist/neutral/modules/protocol-model/model/AccountBalance.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/model/Context/ChainContext.zod.d.ts +3 -3
- package/dist/neutral/modules/protocol-model/model/Context/HeadContext.zod.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/model/SyncStepSummary.d.ts +6 -6
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +7 -7
- package/dist/neutral/modules/schema/boundwitness/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/protocol-model.mjs +1 -1
- package/dist/neutral/protocol-model.mjs.map +2 -2
- package/dist/neutral/schema.mjs +3 -2
- package/dist/neutral/schema.mjs.map +2 -2
- package/package.json +3 -3
|
@@ -8,14 +8,22 @@ export declare const BlockBoundWitnessFieldsZod: z.ZodMiniObject<{
|
|
|
8
8
|
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>>;
|
|
9
9
|
supersedes: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Zod schema for validating Block Bound Witness Meta values.
|
|
13
|
+
*
|
|
14
|
+
* `$epoch` is unsigned client meta: it is stripped before hashing, so nothing about it is covered
|
|
15
|
+
* by the block's signature. The block's clock is the `epoch` of the signed time payload it
|
|
16
|
+
* carries (read it with `epochOfBlock`), and nothing should gate on `$epoch`. The field is
|
|
17
|
+
* tolerated, not required, so blocks that predate the time payload still parse and producers can
|
|
18
|
+
* stop emitting it.
|
|
19
|
+
*/
|
|
12
20
|
export declare const BlockBoundWitnessMetaZod: z.ZodMiniObject<{
|
|
13
|
-
$epoch: z.ZodMiniNumber<number
|
|
21
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
14
22
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
15
23
|
}, z.core.$strip>;
|
|
16
24
|
/** Zod schema for validating Block Bound Witness values. */
|
|
17
25
|
export declare const BlockBoundWitnessZod: z.ZodMiniObject<{
|
|
18
|
-
$epoch: z.ZodMiniNumber<number
|
|
26
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
19
27
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
20
28
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
21
29
|
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@ariestools/sdk").BrandedHex, string>>;
|
|
@@ -46,7 +54,6 @@ export declare const BlockBoundWitnessZod: z.ZodMiniObject<{
|
|
|
46
54
|
export type BlockBoundWitness = z.infer<typeof BlockBoundWitnessZod>;
|
|
47
55
|
/** Type guard that checks if a value is a valid BlockBoundWitness. */
|
|
48
56
|
export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
|
|
49
|
-
$epoch: number;
|
|
50
57
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
51
58
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
52
59
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -62,6 +69,7 @@ export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
|
|
|
62
69
|
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
63
70
|
previous_hashes: (import("@ariestools/sdk").BrandedHash | null)[];
|
|
64
71
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
72
|
+
$epoch?: number | undefined;
|
|
65
73
|
$version?: 1000000 | undefined;
|
|
66
74
|
protocol?: number | undefined;
|
|
67
75
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -76,7 +84,6 @@ export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
|
|
|
76
84
|
/** Converts a value to BlockBoundWitness, throwing if invalid. */
|
|
77
85
|
export declare const asBlockBoundWitness: {
|
|
78
86
|
<T>(value: T): (T & {
|
|
79
|
-
$epoch: number;
|
|
80
87
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
81
88
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
82
89
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -92,6 +99,7 @@ export declare const asBlockBoundWitness: {
|
|
|
92
99
|
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
93
100
|
previous_hashes: (import("@ariestools/sdk").BrandedHash | null)[];
|
|
94
101
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
102
|
+
$epoch?: number | undefined;
|
|
95
103
|
$version?: 1000000 | undefined;
|
|
96
104
|
protocol?: number | undefined;
|
|
97
105
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -104,7 +112,6 @@ export declare const asBlockBoundWitness: {
|
|
|
104
112
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
105
113
|
}) | undefined;
|
|
106
114
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
107
|
-
$epoch: number;
|
|
108
115
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
109
116
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
110
117
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -120,6 +127,7 @@ export declare const asBlockBoundWitness: {
|
|
|
120
127
|
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
121
128
|
previous_hashes: (import("@ariestools/sdk").BrandedHash | null)[];
|
|
122
129
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
130
|
+
$epoch?: number | undefined;
|
|
123
131
|
$version?: 1000000 | undefined;
|
|
124
132
|
protocol?: number | undefined;
|
|
125
133
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -135,7 +143,6 @@ export declare const asBlockBoundWitness: {
|
|
|
135
143
|
/** Safe conversion helper that returns Block Bound Witness when validation succeeds and `undefined` otherwise. */
|
|
136
144
|
export declare const toBlockBoundWitness: {
|
|
137
145
|
(value: unknown): {
|
|
138
|
-
$epoch: number;
|
|
139
146
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
140
147
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
141
148
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -151,6 +158,7 @@ export declare const toBlockBoundWitness: {
|
|
|
151
158
|
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
152
159
|
previous_hashes: (import("@ariestools/sdk").BrandedHash | null)[];
|
|
153
160
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
161
|
+
$epoch?: number | undefined;
|
|
154
162
|
$version?: 1000000 | undefined;
|
|
155
163
|
protocol?: number | undefined;
|
|
156
164
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -163,7 +171,6 @@ export declare const toBlockBoundWitness: {
|
|
|
163
171
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
164
172
|
} | undefined;
|
|
165
173
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
166
|
-
$epoch: number;
|
|
167
174
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
168
175
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
169
176
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -179,6 +186,7 @@ export declare const toBlockBoundWitness: {
|
|
|
179
186
|
payload_schemas: import("@xyo-network/sdk").BrandedSchema<string>[];
|
|
180
187
|
previous_hashes: (import("@ariestools/sdk").BrandedHash | null)[];
|
|
181
188
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
189
|
+
$epoch?: number | undefined;
|
|
182
190
|
$version?: 1000000 | undefined;
|
|
183
191
|
protocol?: number | undefined;
|
|
184
192
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -192,7 +200,7 @@ export declare const toBlockBoundWitness: {
|
|
|
192
200
|
};
|
|
193
201
|
};
|
|
194
202
|
declare const blockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
195
|
-
$epoch: z.ZodMiniNumber<number
|
|
203
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
196
204
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
197
205
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
198
206
|
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@ariestools/sdk").BrandedHex, string>>;
|
|
@@ -223,7 +231,7 @@ declare const blockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
|
223
231
|
}, z.core.$strip>;
|
|
224
232
|
/** @deprecated use WithHashMetaZod(BlockBoundWitnessZod) instead */
|
|
225
233
|
export declare const BlockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
226
|
-
$epoch: z.ZodMiniNumber<number
|
|
234
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
227
235
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
228
236
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
229
237
|
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@ariestools/sdk").BrandedHex, string>>;
|
|
@@ -257,7 +265,6 @@ export declare const BlockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
|
257
265
|
export type BlockBoundWitnessWithHashMeta = z.infer<typeof blockBoundWitnessWithHashMetaZod>;
|
|
258
266
|
/** Type guard that checks if a value is a valid BlockBoundWitnessWithHashMeta. */
|
|
259
267
|
export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
260
|
-
$epoch: number;
|
|
261
268
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
262
269
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
263
270
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -275,6 +282,7 @@ export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is
|
|
|
275
282
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
276
283
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
277
284
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
285
|
+
$epoch?: number | undefined;
|
|
278
286
|
$version?: 1000000 | undefined;
|
|
279
287
|
protocol?: number | undefined;
|
|
280
288
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -289,7 +297,6 @@ export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is
|
|
|
289
297
|
/** Converts a value to BlockBoundWitnessWithHashMeta, throwing if invalid. */
|
|
290
298
|
export declare const asBlockBoundWitnessWithHashMeta: {
|
|
291
299
|
<T>(value: T): (T & {
|
|
292
|
-
$epoch: number;
|
|
293
300
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
294
301
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
295
302
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -307,6 +314,7 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
307
314
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
308
315
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
309
316
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
317
|
+
$epoch?: number | undefined;
|
|
310
318
|
$version?: 1000000 | undefined;
|
|
311
319
|
protocol?: number | undefined;
|
|
312
320
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -319,7 +327,6 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
319
327
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
320
328
|
}) | undefined;
|
|
321
329
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
322
|
-
$epoch: number;
|
|
323
330
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
324
331
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
325
332
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -337,6 +344,7 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
337
344
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
338
345
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
339
346
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
347
|
+
$epoch?: number | undefined;
|
|
340
348
|
$version?: 1000000 | undefined;
|
|
341
349
|
protocol?: number | undefined;
|
|
342
350
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -352,7 +360,6 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
352
360
|
/** Safe conversion helper that returns Block Bound Witness With Hash Meta when validation succeeds and `undefined` otherwise. */
|
|
353
361
|
export declare const toBlockBoundWitnessWithHashMeta: {
|
|
354
362
|
(value: unknown): {
|
|
355
|
-
$epoch: number;
|
|
356
363
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
357
364
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
358
365
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -370,6 +377,7 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
370
377
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
371
378
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
372
379
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
380
|
+
$epoch?: number | undefined;
|
|
373
381
|
$version?: 1000000 | undefined;
|
|
374
382
|
protocol?: number | undefined;
|
|
375
383
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -382,7 +390,6 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
382
390
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
383
391
|
} | undefined;
|
|
384
392
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
385
|
-
$epoch: number;
|
|
386
393
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
387
394
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
388
395
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -400,6 +407,7 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
400
407
|
$signatures: (import("@ariestools/sdk").BrandedHex | null)[];
|
|
401
408
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
402
409
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
410
|
+
$epoch?: number | undefined;
|
|
403
411
|
$version?: 1000000 | undefined;
|
|
404
412
|
protocol?: number | undefined;
|
|
405
413
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -413,7 +421,7 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
413
421
|
};
|
|
414
422
|
};
|
|
415
423
|
declare const blockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
416
|
-
$epoch: z.ZodMiniNumber<number
|
|
424
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
417
425
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
418
426
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
419
427
|
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@ariestools/sdk").BrandedHex, string>>;
|
|
@@ -445,7 +453,7 @@ declare const blockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
|
445
453
|
}, z.core.$strip>;
|
|
446
454
|
/** @deprecated use WithStorageMetaZod(BlockBoundWitnessZod) instead */
|
|
447
455
|
export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
448
|
-
$epoch: z.ZodMiniNumber<number
|
|
456
|
+
$epoch: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
449
457
|
$version: z.ZodMiniOptional<z.ZodMiniLiteral<1000000>>;
|
|
450
458
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber, number>>;
|
|
451
459
|
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@ariestools/sdk").BrandedHex, string>>;
|
|
@@ -480,7 +488,6 @@ export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
|
480
488
|
export type BlockBoundWitnessWithStorageMeta = z.infer<typeof blockBoundWitnessWithStorageMetaZod>;
|
|
481
489
|
/** Type guard that checks if a value is a valid BlockBoundWitnessWithStorageMeta. */
|
|
482
490
|
export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
483
|
-
$epoch: number;
|
|
484
491
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
485
492
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
486
493
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -499,6 +506,7 @@ export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value
|
|
|
499
506
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
500
507
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
501
508
|
_sequence: import("@xyo-network/sdk").LocalSequence | import("@xyo-network/sdk").QualifiedSequence;
|
|
509
|
+
$epoch?: number | undefined;
|
|
502
510
|
$version?: 1000000 | undefined;
|
|
503
511
|
protocol?: number | undefined;
|
|
504
512
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -513,7 +521,6 @@ export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value
|
|
|
513
521
|
/** Converts a value to BlockBoundWitnessWithStorageMeta, throwing if invalid. */
|
|
514
522
|
export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
515
523
|
<T>(value: T): (T & {
|
|
516
|
-
$epoch: number;
|
|
517
524
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
518
525
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
519
526
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -532,6 +539,7 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
532
539
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
533
540
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
534
541
|
_sequence: import("@xyo-network/sdk").LocalSequence | import("@xyo-network/sdk").QualifiedSequence;
|
|
542
|
+
$epoch?: number | undefined;
|
|
535
543
|
$version?: 1000000 | undefined;
|
|
536
544
|
protocol?: number | undefined;
|
|
537
545
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -544,7 +552,6 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
544
552
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
545
553
|
}) | undefined;
|
|
546
554
|
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
547
|
-
$epoch: number;
|
|
548
555
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
549
556
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
550
557
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -563,6 +570,7 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
563
570
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
564
571
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
565
572
|
_sequence: import("@xyo-network/sdk").LocalSequence | import("@xyo-network/sdk").QualifiedSequence;
|
|
573
|
+
$epoch?: number | undefined;
|
|
566
574
|
$version?: 1000000 | undefined;
|
|
567
575
|
protocol?: number | undefined;
|
|
568
576
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -578,7 +586,6 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
578
586
|
/** Safe conversion helper that returns Block Bound Witness With Storage Meta when validation succeeds and `undefined` otherwise. */
|
|
579
587
|
export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
580
588
|
(value: unknown): {
|
|
581
|
-
$epoch: number;
|
|
582
589
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
583
590
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
584
591
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -597,6 +604,7 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
597
604
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
598
605
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
599
606
|
_sequence: import("@xyo-network/sdk").LocalSequence | import("@xyo-network/sdk").QualifiedSequence;
|
|
607
|
+
$epoch?: number | undefined;
|
|
600
608
|
$version?: 1000000 | undefined;
|
|
601
609
|
protocol?: number | undefined;
|
|
602
610
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -609,7 +617,6 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
609
617
|
$sourceQuery?: import("@ariestools/sdk").BrandedHash | undefined;
|
|
610
618
|
} | undefined;
|
|
611
619
|
(value: unknown, assert: import("@ariestools/sdk").ZodFactoryConfig): {
|
|
612
|
-
$epoch: number;
|
|
613
620
|
block: import('../BlockNumber/xl1BlockNumber.js').XL1BlockNumber;
|
|
614
621
|
chain: import("@ariestools/sdk").BrandedHex;
|
|
615
622
|
previous: import("@ariestools/sdk").BrandedHash | null;
|
|
@@ -628,6 +635,7 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
628
635
|
_hash: import("@ariestools/sdk").BrandedHash;
|
|
629
636
|
_dataHash: import("@ariestools/sdk").BrandedHash;
|
|
630
637
|
_sequence: import("@xyo-network/sdk").LocalSequence | import("@xyo-network/sdk").QualifiedSequence;
|
|
638
|
+
$epoch?: number | undefined;
|
|
631
639
|
$version?: 1000000 | undefined;
|
|
632
640
|
protocol?: number | undefined;
|
|
633
641
|
step_hashes?: import("@ariestools/sdk").BrandedHash[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/modules/protocol-model/block/BlockBoundWitness.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAM5B,mE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