@xyo-network/xl1-protocol 1.24.38 → 1.24.40

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.
@@ -9,7 +9,13 @@ export declare const BlockBoundWitnessFieldsZod: z.ZodObject<{
9
9
  export declare const BlockBoundWitnessMetaZod: z.ZodObject<{
10
10
  $epoch: z.ZodNumber;
11
11
  }, z.core.$strip>;
12
- export declare const BlockBoundWitnessZod: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
12
+ export declare const BlockBoundWitnessZod: z.ZodObject<{
13
+ $epoch: z.ZodNumber;
14
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
15
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
16
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
17
+ protocol: z.ZodOptional<z.ZodNumber>;
18
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
13
19
  schema: z.ZodLiteral<"network.xyo.boundwitness" & {
14
20
  readonly __schema: true;
15
21
  }>;
@@ -28,17 +34,13 @@ export declare const BlockBoundWitnessZod: z.ZodIntersection<z.ZodIntersection<z
28
34
  }, string>>>;
29
35
  $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
30
36
  $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
31
- }, z.core.$strip>, z.ZodObject<{
32
- block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
33
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
34
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
35
- protocol: z.ZodOptional<z.ZodNumber>;
36
- step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
37
- }, z.core.$strip>>, z.ZodObject<{
38
- $epoch: z.ZodNumber;
39
- }, z.core.$strip>>;
37
+ }, z.core.$strip>;
40
38
  export type BlockBoundWitness = z.infer<typeof BlockBoundWitnessZod>;
41
39
  export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
40
+ $epoch: number;
41
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
42
+ chain: import("@xylabs/sdk-js").BrandedHex;
43
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
42
44
  schema: "network.xyo.boundwitness" & {
43
45
  readonly __schema: true;
44
46
  };
@@ -51,23 +53,21 @@ export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
51
53
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
52
54
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
53
55
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
56
+ protocol?: number | undefined;
57
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
54
58
  $destination?: (Lowercase<string> & {
55
59
  readonly __hex: true;
56
60
  } & {
57
61
  readonly __address: true;
58
62
  }) | undefined;
59
63
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
60
- } & {
61
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
62
- chain: import("@xylabs/sdk-js").BrandedHex;
63
- previous: import("@xylabs/sdk-js").BrandedHash | null;
64
- protocol?: number | undefined;
65
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
66
- } & {
67
- $epoch: number;
68
64
  };
69
65
  export declare const asBlockBoundWitness: {
70
66
  <T>(value: T): (T & {
67
+ $epoch: number;
68
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
69
+ chain: import("@xylabs/sdk-js").BrandedHex;
70
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
71
71
  schema: "network.xyo.boundwitness" & {
72
72
  readonly __schema: true;
73
73
  };
@@ -80,22 +80,20 @@ export declare const asBlockBoundWitness: {
80
80
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
81
81
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
82
82
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
83
+ protocol?: number | undefined;
84
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
83
85
  $destination?: (Lowercase<string> & {
84
86
  readonly __hex: true;
85
87
  } & {
86
88
  readonly __address: true;
87
89
  }) | undefined;
88
90
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
89
- } & {
91
+ }) | undefined;
92
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
93
+ $epoch: number;
90
94
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
91
95
  chain: import("@xylabs/sdk-js").BrandedHex;
92
96
  previous: import("@xylabs/sdk-js").BrandedHash | null;
93
- protocol?: number | undefined;
94
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
95
- } & {
96
- $epoch: number;
97
- }) | undefined;
98
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
99
97
  schema: "network.xyo.boundwitness" & {
100
98
  readonly __schema: true;
101
99
  };
@@ -108,24 +106,22 @@ export declare const asBlockBoundWitness: {
108
106
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
109
107
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
110
108
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
109
+ protocol?: number | undefined;
110
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
111
111
  $destination?: (Lowercase<string> & {
112
112
  readonly __hex: true;
113
113
  } & {
114
114
  readonly __address: true;
115
115
  }) | undefined;
116
116
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
117
- } & {
118
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
119
- chain: import("@xylabs/sdk-js").BrandedHex;
120
- previous: import("@xylabs/sdk-js").BrandedHash | null;
121
- protocol?: number | undefined;
122
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
123
- } & {
124
- $epoch: number;
125
117
  };
126
118
  };
127
119
  export declare const toBlockBoundWitness: {
128
120
  <T>(value: T): (T & {
121
+ $epoch: number;
122
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
123
+ chain: import("@xylabs/sdk-js").BrandedHex;
124
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
129
125
  schema: "network.xyo.boundwitness" & {
130
126
  readonly __schema: true;
131
127
  };
@@ -138,22 +134,20 @@ export declare const toBlockBoundWitness: {
138
134
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
139
135
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
140
136
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
137
+ protocol?: number | undefined;
138
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
141
139
  $destination?: (Lowercase<string> & {
142
140
  readonly __hex: true;
143
141
  } & {
144
142
  readonly __address: true;
145
143
  }) | undefined;
146
144
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
147
- } & {
145
+ }) | undefined;
146
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
147
+ $epoch: number;
148
148
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
149
149
  chain: import("@xylabs/sdk-js").BrandedHex;
150
150
  previous: import("@xylabs/sdk-js").BrandedHash | null;
151
- protocol?: number | undefined;
152
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
153
- } & {
154
- $epoch: number;
155
- }) | undefined;
156
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
157
151
  schema: "network.xyo.boundwitness" & {
158
152
  readonly __schema: true;
159
153
  };
@@ -166,23 +160,24 @@ export declare const toBlockBoundWitness: {
166
160
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
167
161
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
168
162
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
163
+ protocol?: number | undefined;
164
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
169
165
  $destination?: (Lowercase<string> & {
170
166
  readonly __hex: true;
171
167
  } & {
172
168
  readonly __address: true;
173
169
  }) | undefined;
174
170
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
175
- } & {
176
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
177
- chain: import("@xylabs/sdk-js").BrandedHex;
178
- previous: import("@xylabs/sdk-js").BrandedHash | null;
179
- protocol?: number | undefined;
180
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
181
- } & {
182
- $epoch: number;
183
171
  };
184
172
  };
185
- export declare const BlockBoundWitnessWithHashMetaZod: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
173
+ /** @deprecated use WithHashMetaZod(BlockBoundWitnessZod) instead */
174
+ export declare const BlockBoundWitnessWithHashMetaZod: z.ZodObject<{
175
+ $epoch: z.ZodNumber;
176
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
177
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
178
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
179
+ protocol: z.ZodOptional<z.ZodNumber>;
180
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
186
181
  schema: z.ZodLiteral<"network.xyo.boundwitness" & {
187
182
  readonly __schema: true;
188
183
  }>;
@@ -201,20 +196,16 @@ export declare const BlockBoundWitnessWithHashMetaZod: z.ZodIntersection<z.ZodIn
201
196
  }, string>>>;
202
197
  $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
203
198
  $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
204
- }, z.core.$strip>, z.ZodObject<{
205
- block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
206
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
207
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
208
- protocol: z.ZodOptional<z.ZodNumber>;
209
- step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
210
- }, z.core.$strip>>, z.ZodObject<{
211
- $epoch: z.ZodNumber;
212
- }, z.core.$strip>>, z.ZodObject<{
213
199
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
214
200
  _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
215
- }, z.core.$strip>>;
201
+ }, z.core.$strip>;
202
+ /** @deprecated use WithHashMeta(BlockBoundWitness) instead */
216
203
  export type BlockBoundWitnessWithHashMeta = z.infer<typeof BlockBoundWitnessWithHashMetaZod>;
217
204
  export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
205
+ $epoch: number;
206
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
207
+ chain: import("@xylabs/sdk-js").BrandedHex;
208
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
218
209
  schema: "network.xyo.boundwitness" & {
219
210
  readonly __schema: true;
220
211
  };
@@ -227,26 +218,23 @@ export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is
227
218
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
228
219
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
229
220
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
221
+ _hash: import("@xylabs/sdk-js").BrandedHash;
222
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
223
+ protocol?: number | undefined;
224
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
230
225
  $destination?: (Lowercase<string> & {
231
226
  readonly __hex: true;
232
227
  } & {
233
228
  readonly __address: true;
234
229
  }) | undefined;
235
230
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
236
- } & {
237
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
238
- chain: import("@xylabs/sdk-js").BrandedHex;
239
- previous: import("@xylabs/sdk-js").BrandedHash | null;
240
- protocol?: number | undefined;
241
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
242
- } & {
243
- $epoch: number;
244
- } & {
245
- _hash: import("@xylabs/sdk-js").BrandedHash;
246
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
247
231
  };
248
232
  export declare const asBlockBoundWitnessWithHashMeta: {
249
233
  <T>(value: T): (T & {
234
+ $epoch: number;
235
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
236
+ chain: import("@xylabs/sdk-js").BrandedHex;
237
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
250
238
  schema: "network.xyo.boundwitness" & {
251
239
  readonly __schema: true;
252
240
  };
@@ -259,25 +247,22 @@ export declare const asBlockBoundWitnessWithHashMeta: {
259
247
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
260
248
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
261
249
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
250
+ _hash: import("@xylabs/sdk-js").BrandedHash;
251
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
252
+ protocol?: number | undefined;
253
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
262
254
  $destination?: (Lowercase<string> & {
263
255
  readonly __hex: true;
264
256
  } & {
265
257
  readonly __address: true;
266
258
  }) | undefined;
267
259
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
268
- } & {
260
+ }) | undefined;
261
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
262
+ $epoch: number;
269
263
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
270
264
  chain: import("@xylabs/sdk-js").BrandedHex;
271
265
  previous: import("@xylabs/sdk-js").BrandedHash | null;
272
- protocol?: number | undefined;
273
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
274
- } & {
275
- $epoch: number;
276
- } & {
277
- _hash: import("@xylabs/sdk-js").BrandedHash;
278
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
279
- }) | undefined;
280
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
281
266
  schema: "network.xyo.boundwitness" & {
282
267
  readonly __schema: true;
283
268
  };
@@ -290,27 +275,24 @@ export declare const asBlockBoundWitnessWithHashMeta: {
290
275
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
291
276
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
292
277
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
278
+ _hash: import("@xylabs/sdk-js").BrandedHash;
279
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
280
+ protocol?: number | undefined;
281
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
293
282
  $destination?: (Lowercase<string> & {
294
283
  readonly __hex: true;
295
284
  } & {
296
285
  readonly __address: true;
297
286
  }) | undefined;
298
287
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
299
- } & {
300
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
301
- chain: import("@xylabs/sdk-js").BrandedHex;
302
- previous: import("@xylabs/sdk-js").BrandedHash | null;
303
- protocol?: number | undefined;
304
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
305
- } & {
306
- $epoch: number;
307
- } & {
308
- _hash: import("@xylabs/sdk-js").BrandedHash;
309
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
310
288
  };
311
289
  };
312
290
  export declare const toBlockBoundWitnessWithHashMeta: {
313
291
  <T>(value: T): (T & {
292
+ $epoch: number;
293
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
294
+ chain: import("@xylabs/sdk-js").BrandedHex;
295
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
314
296
  schema: "network.xyo.boundwitness" & {
315
297
  readonly __schema: true;
316
298
  };
@@ -323,25 +305,22 @@ export declare const toBlockBoundWitnessWithHashMeta: {
323
305
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
324
306
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
325
307
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
308
+ _hash: import("@xylabs/sdk-js").BrandedHash;
309
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
310
+ protocol?: number | undefined;
311
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
326
312
  $destination?: (Lowercase<string> & {
327
313
  readonly __hex: true;
328
314
  } & {
329
315
  readonly __address: true;
330
316
  }) | undefined;
331
317
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
332
- } & {
318
+ }) | undefined;
319
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
320
+ $epoch: number;
333
321
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
334
322
  chain: import("@xylabs/sdk-js").BrandedHex;
335
323
  previous: import("@xylabs/sdk-js").BrandedHash | null;
336
- protocol?: number | undefined;
337
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
338
- } & {
339
- $epoch: number;
340
- } & {
341
- _hash: import("@xylabs/sdk-js").BrandedHash;
342
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
343
- }) | undefined;
344
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
345
324
  schema: "network.xyo.boundwitness" & {
346
325
  readonly __schema: true;
347
326
  };
@@ -354,26 +333,26 @@ export declare const toBlockBoundWitnessWithHashMeta: {
354
333
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
355
334
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
356
335
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
336
+ _hash: import("@xylabs/sdk-js").BrandedHash;
337
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
338
+ protocol?: number | undefined;
339
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
357
340
  $destination?: (Lowercase<string> & {
358
341
  readonly __hex: true;
359
342
  } & {
360
343
  readonly __address: true;
361
344
  }) | undefined;
362
345
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
363
- } & {
364
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
365
- chain: import("@xylabs/sdk-js").BrandedHex;
366
- previous: import("@xylabs/sdk-js").BrandedHash | null;
367
- protocol?: number | undefined;
368
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
369
- } & {
370
- $epoch: number;
371
- } & {
372
- _hash: import("@xylabs/sdk-js").BrandedHash;
373
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
374
346
  };
375
347
  };
376
- export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
348
+ /** @deprecated use WithStorageMetaZod(BlockBoundWitnessZod) instead */
349
+ export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodObject<{
350
+ $epoch: z.ZodNumber;
351
+ block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
352
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
353
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
354
+ protocol: z.ZodOptional<z.ZodNumber>;
355
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
377
356
  schema: z.ZodLiteral<"network.xyo.boundwitness" & {
378
357
  readonly __schema: true;
379
358
  }>;
@@ -392,21 +371,17 @@ export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodIntersection<z.Zo
392
371
  }, string>>>;
393
372
  $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
394
373
  $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>, z.ZodNull]>>;
395
- }, z.core.$strip>, z.ZodObject<{
396
- block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber, number>>;
397
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHex, string>>;
398
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>;
399
- protocol: z.ZodOptional<z.ZodNumber>;
400
- step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>>>;
401
- }, z.core.$strip>>, z.ZodObject<{
402
- $epoch: z.ZodNumber;
403
- }, z.core.$strip>>, z.ZodObject<{
404
374
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
405
375
  _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").BrandedHash, string>>;
406
376
  _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
407
- }, z.core.$strip>>;
377
+ }, z.core.$strip>;
378
+ /** @deprecated use WithStorageMeta(BlockBoundWitness) instead */
408
379
  export type BlockBoundWitnessWithStorageMeta = z.infer<typeof BlockBoundWitnessWithStorageMetaZod>;
409
380
  export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
381
+ $epoch: number;
382
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
383
+ chain: import("@xylabs/sdk-js").BrandedHex;
384
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
410
385
  schema: "network.xyo.boundwitness" & {
411
386
  readonly __schema: true;
412
387
  };
@@ -419,27 +394,24 @@ export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value
419
394
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
420
395
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
421
396
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
397
+ _hash: import("@xylabs/sdk-js").BrandedHash;
398
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
399
+ _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
400
+ protocol?: number | undefined;
401
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
422
402
  $destination?: (Lowercase<string> & {
423
403
  readonly __hex: true;
424
404
  } & {
425
405
  readonly __address: true;
426
406
  }) | undefined;
427
407
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
428
- } & {
429
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
430
- chain: import("@xylabs/sdk-js").BrandedHex;
431
- previous: import("@xylabs/sdk-js").BrandedHash | null;
432
- protocol?: number | undefined;
433
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
434
- } & {
435
- $epoch: number;
436
- } & {
437
- _hash: import("@xylabs/sdk-js").BrandedHash;
438
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
439
- _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
440
408
  };
441
409
  export declare const asBlockBoundWitnessWithStorageMeta: {
442
410
  <T>(value: T): (T & {
411
+ $epoch: number;
412
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
413
+ chain: import("@xylabs/sdk-js").BrandedHex;
414
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
443
415
  schema: "network.xyo.boundwitness" & {
444
416
  readonly __schema: true;
445
417
  };
@@ -452,26 +424,23 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
452
424
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
453
425
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
454
426
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
427
+ _hash: import("@xylabs/sdk-js").BrandedHash;
428
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
429
+ _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
430
+ protocol?: number | undefined;
431
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
455
432
  $destination?: (Lowercase<string> & {
456
433
  readonly __hex: true;
457
434
  } & {
458
435
  readonly __address: true;
459
436
  }) | undefined;
460
437
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
461
- } & {
438
+ }) | undefined;
439
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
440
+ $epoch: number;
462
441
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
463
442
  chain: import("@xylabs/sdk-js").BrandedHex;
464
443
  previous: import("@xylabs/sdk-js").BrandedHash | null;
465
- protocol?: number | undefined;
466
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
467
- } & {
468
- $epoch: number;
469
- } & {
470
- _hash: import("@xylabs/sdk-js").BrandedHash;
471
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
472
- _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
473
- }) | undefined;
474
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
475
444
  schema: "network.xyo.boundwitness" & {
476
445
  readonly __schema: true;
477
446
  };
@@ -484,28 +453,25 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
484
453
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
485
454
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
486
455
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
456
+ _hash: import("@xylabs/sdk-js").BrandedHash;
457
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
458
+ _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
459
+ protocol?: number | undefined;
460
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
487
461
  $destination?: (Lowercase<string> & {
488
462
  readonly __hex: true;
489
463
  } & {
490
464
  readonly __address: true;
491
465
  }) | undefined;
492
466
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
493
- } & {
494
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
495
- chain: import("@xylabs/sdk-js").BrandedHex;
496
- previous: import("@xylabs/sdk-js").BrandedHash | null;
497
- protocol?: number | undefined;
498
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
499
- } & {
500
- $epoch: number;
501
- } & {
502
- _hash: import("@xylabs/sdk-js").BrandedHash;
503
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
504
- _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
505
467
  };
506
468
  };
507
469
  export declare const toBlockBoundWitnessWithStorageMeta: {
508
470
  <T>(value: T): (T & {
471
+ $epoch: number;
472
+ block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
473
+ chain: import("@xylabs/sdk-js").BrandedHex;
474
+ previous: import("@xylabs/sdk-js").BrandedHash | null;
509
475
  schema: "network.xyo.boundwitness" & {
510
476
  readonly __schema: true;
511
477
  };
@@ -518,26 +484,23 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
518
484
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
519
485
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
520
486
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
487
+ _hash: import("@xylabs/sdk-js").BrandedHash;
488
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
489
+ _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
490
+ protocol?: number | undefined;
491
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
521
492
  $destination?: (Lowercase<string> & {
522
493
  readonly __hex: true;
523
494
  } & {
524
495
  readonly __address: true;
525
496
  }) | undefined;
526
497
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
527
- } & {
498
+ }) | undefined;
499
+ <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
500
+ $epoch: number;
528
501
  block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
529
502
  chain: import("@xylabs/sdk-js").BrandedHex;
530
503
  previous: import("@xylabs/sdk-js").BrandedHash | null;
531
- protocol?: number | undefined;
532
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
533
- } & {
534
- $epoch: number;
535
- } & {
536
- _hash: import("@xylabs/sdk-js").BrandedHash;
537
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
538
- _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
539
- }) | undefined;
540
- <T>(value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & {
541
504
  schema: "network.xyo.boundwitness" & {
542
505
  readonly __schema: true;
543
506
  };
@@ -550,24 +513,17 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
550
513
  payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
551
514
  previous_hashes: (import("@xylabs/sdk-js").BrandedHash | null)[];
552
515
  $signatures: (import("@xylabs/sdk-js").BrandedHex | null)[];
516
+ _hash: import("@xylabs/sdk-js").BrandedHash;
517
+ _dataHash: import("@xylabs/sdk-js").BrandedHash;
518
+ _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
519
+ protocol?: number | undefined;
520
+ step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
553
521
  $destination?: (Lowercase<string> & {
554
522
  readonly __hex: true;
555
523
  } & {
556
524
  readonly __address: true;
557
525
  }) | undefined;
558
526
  $sourceQuery?: import("@xylabs/sdk-js").BrandedHash | undefined;
559
- } & {
560
- block: import("../BlockNumber/XL1BlockNumber.ts").XL1BlockNumber;
561
- chain: import("@xylabs/sdk-js").BrandedHex;
562
- previous: import("@xylabs/sdk-js").BrandedHash | null;
563
- protocol?: number | undefined;
564
- step_hashes?: import("@xylabs/sdk-js").BrandedHash[] | undefined;
565
- } & {
566
- $epoch: number;
567
- } & {
568
- _hash: import("@xylabs/sdk-js").BrandedHash;
569
- _dataHash: import("@xylabs/sdk-js").BrandedHash;
570
- _sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
571
527
  };
572
528
  };
573
529
  //# sourceMappingURL=BlockBoundWitness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/block/BlockBoundWitness.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;iBAAmC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAwG,CAAA;AAEzI,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAC5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAE5F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAoD,CAAA;AAEjG,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE5F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAA;AAC7F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAChI,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAEhI,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAuD,CAAA;AAEvG,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAElG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AACnG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA;AACzI,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/block/BlockBoundWitness.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;iBAAmC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAI/B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAC5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAE5F,oEAAoE;AACpE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAwC,CAAA;AAErF,8DAA8D;AAE9D,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE5F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsD,CAAA;AAClG,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyF,CAAA;AACrI,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyF,CAAA;AAErI,uEAAuE;AACvE,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA2C,CAAA;AAE3F,iEAAiE;AAEjE,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAElG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyD,CAAA;AACxG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+F,CAAA;AAC9I,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+F,CAAA"}