@xyo-network/xl1-protocol 1.14.13 → 1.14.15
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 +269 -181
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +15 -5
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/Range.d.ts +5 -5
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +4 -4
- 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 +213 -42
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +63 -63
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +63 -63
- package/dist/neutral/zod/TransactionFees.d.ts +14 -14
- 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
|
@@ -60,7 +60,7 @@ export declare const TransactionBoundWitnessZod: z.ZodObject<{
|
|
|
60
60
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
61
|
}, z.core.$strip>;
|
|
62
62
|
export type TransactionBoundWitness = z.infer<typeof TransactionBoundWitnessZod>;
|
|
63
|
-
export declare const isTransactionBoundWitness: (value:
|
|
63
|
+
export declare const isTransactionBoundWitness: <T>(value: T) => value is T & {
|
|
64
64
|
schema: "network.xyo.boundwitness";
|
|
65
65
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
66
66
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -82,7 +82,7 @@ export declare const isTransactionBoundWitness: (value: unknown) => value is {
|
|
|
82
82
|
script?: string[] | undefined;
|
|
83
83
|
};
|
|
84
84
|
export declare const asTransactionBoundWitness: {
|
|
85
|
-
(value:
|
|
85
|
+
<T>(value: T): (T & {
|
|
86
86
|
schema: "network.xyo.boundwitness";
|
|
87
87
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
88
88
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -102,8 +102,8 @@ export declare const asTransactionBoundWitness: {
|
|
|
102
102
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
103
103
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
104
104
|
script?: string[] | undefined;
|
|
105
|
-
} | undefined;
|
|
106
|
-
(value:
|
|
105
|
+
}) | undefined;
|
|
106
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
107
107
|
schema: "network.xyo.boundwitness";
|
|
108
108
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
109
109
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -126,7 +126,7 @@ export declare const asTransactionBoundWitness: {
|
|
|
126
126
|
};
|
|
127
127
|
};
|
|
128
128
|
export declare const toTransactionBoundWitness: {
|
|
129
|
-
(value:
|
|
129
|
+
<T>(value: T): (T & {
|
|
130
130
|
schema: "network.xyo.boundwitness";
|
|
131
131
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
132
132
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -146,8 +146,8 @@ export declare const toTransactionBoundWitness: {
|
|
|
146
146
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
147
147
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
148
148
|
script?: string[] | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
(value:
|
|
149
|
+
}) | undefined;
|
|
150
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
151
151
|
schema: "network.xyo.boundwitness";
|
|
152
152
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
153
153
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -193,7 +193,7 @@ export declare const TransactionBoundWitnessWithHashMetaZod: z.ZodObject<{
|
|
|
193
193
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").Hash, string>>;
|
|
194
194
|
}, z.core.$strip>;
|
|
195
195
|
export type TransactionBoundWitnessWithHashMeta = z.infer<typeof TransactionBoundWitnessWithHashMetaZod>;
|
|
196
|
-
export declare const isTransactionBoundWitnessWithHashMeta: (value:
|
|
196
|
+
export declare const isTransactionBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
197
197
|
schema: "network.xyo.boundwitness";
|
|
198
198
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
199
199
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -217,7 +217,7 @@ export declare const isTransactionBoundWitnessWithHashMeta: (value: unknown) =>
|
|
|
217
217
|
script?: string[] | undefined;
|
|
218
218
|
};
|
|
219
219
|
export declare const asTransactionBoundWitnessWithHashMeta: {
|
|
220
|
-
(value:
|
|
220
|
+
<T>(value: T): (T & {
|
|
221
221
|
schema: "network.xyo.boundwitness";
|
|
222
222
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
223
223
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -239,8 +239,8 @@ export declare const asTransactionBoundWitnessWithHashMeta: {
|
|
|
239
239
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
240
240
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
241
241
|
script?: string[] | undefined;
|
|
242
|
-
} | undefined;
|
|
243
|
-
(value:
|
|
242
|
+
}) | undefined;
|
|
243
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
244
244
|
schema: "network.xyo.boundwitness";
|
|
245
245
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
246
246
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -265,7 +265,7 @@ export declare const asTransactionBoundWitnessWithHashMeta: {
|
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
267
|
export declare const toTransactionBoundWitnessWithHashMeta: {
|
|
268
|
-
(value:
|
|
268
|
+
<T>(value: T): (T & {
|
|
269
269
|
schema: "network.xyo.boundwitness";
|
|
270
270
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
271
271
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -287,8 +287,8 @@ export declare const toTransactionBoundWitnessWithHashMeta: {
|
|
|
287
287
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
288
288
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
289
289
|
script?: string[] | undefined;
|
|
290
|
-
} | undefined;
|
|
291
|
-
(value:
|
|
290
|
+
}) | undefined;
|
|
291
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
292
292
|
schema: "network.xyo.boundwitness";
|
|
293
293
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
294
294
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -337,7 +337,7 @@ export declare const TransactionBoundWitnessWithStorageMetaZod: z.ZodObject<{
|
|
|
337
337
|
_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>>]>;
|
|
338
338
|
}, z.core.$strip>;
|
|
339
339
|
export type TransactionBoundWitnessWithStorageMeta = z.infer<typeof TransactionBoundWitnessWithStorageMetaZod>;
|
|
340
|
-
export declare const isTransactionBoundWitnessWithStorageMeta: (value:
|
|
340
|
+
export declare const isTransactionBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
341
341
|
schema: "network.xyo.boundwitness";
|
|
342
342
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
343
343
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -362,7 +362,7 @@ export declare const isTransactionBoundWitnessWithStorageMeta: (value: unknown)
|
|
|
362
362
|
script?: string[] | undefined;
|
|
363
363
|
};
|
|
364
364
|
export declare const asTransactionBoundWitnessWithStorageMeta: {
|
|
365
|
-
(value:
|
|
365
|
+
<T>(value: T): (T & {
|
|
366
366
|
schema: "network.xyo.boundwitness";
|
|
367
367
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
368
368
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -385,8 +385,8 @@ export declare const asTransactionBoundWitnessWithStorageMeta: {
|
|
|
385
385
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
386
386
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
387
387
|
script?: string[] | undefined;
|
|
388
|
-
} | undefined;
|
|
389
|
-
(value:
|
|
388
|
+
}) | undefined;
|
|
389
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
390
390
|
schema: "network.xyo.boundwitness";
|
|
391
391
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
392
392
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -412,7 +412,7 @@ export declare const asTransactionBoundWitnessWithStorageMeta: {
|
|
|
412
412
|
};
|
|
413
413
|
};
|
|
414
414
|
export declare const toTransactionBoundWitnessWithStorageMeta: {
|
|
415
|
-
(value:
|
|
415
|
+
<T>(value: T): (T & {
|
|
416
416
|
schema: "network.xyo.boundwitness";
|
|
417
417
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
418
418
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -435,8 +435,8 @@ export declare const toTransactionBoundWitnessWithStorageMeta: {
|
|
|
435
435
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
436
436
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
437
437
|
script?: string[] | undefined;
|
|
438
|
-
} | undefined;
|
|
439
|
-
(value:
|
|
438
|
+
}) | undefined;
|
|
439
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
440
440
|
schema: "network.xyo.boundwitness";
|
|
441
441
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
442
442
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -483,7 +483,7 @@ export declare const UnsignedTransactionBoundWitnessZod: z.ZodObject<{
|
|
|
483
483
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
484
|
}, z.core.$strip>;
|
|
485
485
|
export type UnsignedTransactionBoundWitness = z.infer<typeof UnsignedTransactionBoundWitnessZod>;
|
|
486
|
-
export declare const isUnsignedTransactionBoundWitness: (value:
|
|
486
|
+
export declare const isUnsignedTransactionBoundWitness: <T>(value: T) => value is T & {
|
|
487
487
|
schema: "network.xyo.boundwitness";
|
|
488
488
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
489
489
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -505,7 +505,7 @@ export declare const isUnsignedTransactionBoundWitness: (value: unknown) => valu
|
|
|
505
505
|
script?: string[] | undefined;
|
|
506
506
|
};
|
|
507
507
|
export declare const asUnsignedTransactionBoundWitness: {
|
|
508
|
-
(value:
|
|
508
|
+
<T>(value: T): (T & {
|
|
509
509
|
schema: "network.xyo.boundwitness";
|
|
510
510
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
511
511
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -525,8 +525,8 @@ export declare const asUnsignedTransactionBoundWitness: {
|
|
|
525
525
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
526
526
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
527
527
|
script?: string[] | undefined;
|
|
528
|
-
} | undefined;
|
|
529
|
-
(value:
|
|
528
|
+
}) | undefined;
|
|
529
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
530
530
|
schema: "network.xyo.boundwitness";
|
|
531
531
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
532
532
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -549,7 +549,7 @@ export declare const asUnsignedTransactionBoundWitness: {
|
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
551
|
export declare const toUnsignedTransactionBoundWitness: {
|
|
552
|
-
(value:
|
|
552
|
+
<T>(value: T): (T & {
|
|
553
553
|
schema: "network.xyo.boundwitness";
|
|
554
554
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
555
555
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -569,8 +569,8 @@ export declare const toUnsignedTransactionBoundWitness: {
|
|
|
569
569
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
570
570
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
571
571
|
script?: string[] | undefined;
|
|
572
|
-
} | undefined;
|
|
573
|
-
(value:
|
|
572
|
+
}) | undefined;
|
|
573
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
574
574
|
schema: "network.xyo.boundwitness";
|
|
575
575
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
576
576
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -616,7 +616,7 @@ export declare const UnsignedTransactionBoundWitnessWithHashMetaZod: z.ZodObject
|
|
|
616
616
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").Hash, string>>;
|
|
617
617
|
}, z.core.$strip>;
|
|
618
618
|
export type UnsignedTransactionBoundWitnessWithHashMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithHashMetaZod>;
|
|
619
|
-
export declare const isUnsignedTransactionBoundWitnessWithHashMeta: (value:
|
|
619
|
+
export declare const isUnsignedTransactionBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
620
620
|
schema: "network.xyo.boundwitness";
|
|
621
621
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
622
622
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -640,7 +640,7 @@ export declare const isUnsignedTransactionBoundWitnessWithHashMeta: (value: unkn
|
|
|
640
640
|
script?: string[] | undefined;
|
|
641
641
|
};
|
|
642
642
|
export declare const asUnsignedTransactionBoundWitnessWithHashMeta: {
|
|
643
|
-
(value:
|
|
643
|
+
<T>(value: T): (T & {
|
|
644
644
|
schema: "network.xyo.boundwitness";
|
|
645
645
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
646
646
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -662,8 +662,8 @@ export declare const asUnsignedTransactionBoundWitnessWithHashMeta: {
|
|
|
662
662
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
663
663
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
664
664
|
script?: string[] | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
(value:
|
|
665
|
+
}) | undefined;
|
|
666
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
667
667
|
schema: "network.xyo.boundwitness";
|
|
668
668
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
669
669
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -688,7 +688,7 @@ export declare const asUnsignedTransactionBoundWitnessWithHashMeta: {
|
|
|
688
688
|
};
|
|
689
689
|
};
|
|
690
690
|
export declare const toUnsignedTransactionBoundWitnessWithHashMeta: {
|
|
691
|
-
(value:
|
|
691
|
+
<T>(value: T): (T & {
|
|
692
692
|
schema: "network.xyo.boundwitness";
|
|
693
693
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
694
694
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -710,8 +710,8 @@ export declare const toUnsignedTransactionBoundWitnessWithHashMeta: {
|
|
|
710
710
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
711
711
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
712
712
|
script?: string[] | undefined;
|
|
713
|
-
} | undefined;
|
|
714
|
-
(value:
|
|
713
|
+
}) | undefined;
|
|
714
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
715
715
|
schema: "network.xyo.boundwitness";
|
|
716
716
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
717
717
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -760,7 +760,7 @@ export declare const UnsignedTransactionBoundWitnessWithStorageMetaZod: z.ZodObj
|
|
|
760
760
|
_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>>]>;
|
|
761
761
|
}, z.core.$strip>;
|
|
762
762
|
export type UnsignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof UnsignedTransactionBoundWitnessWithStorageMetaZod>;
|
|
763
|
-
export declare const isUnsignedTransactionBoundWitnessWithStorageMeta: (value:
|
|
763
|
+
export declare const isUnsignedTransactionBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
764
764
|
schema: "network.xyo.boundwitness";
|
|
765
765
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
766
766
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -785,7 +785,7 @@ export declare const isUnsignedTransactionBoundWitnessWithStorageMeta: (value: u
|
|
|
785
785
|
script?: string[] | undefined;
|
|
786
786
|
};
|
|
787
787
|
export declare const asUnsignedTransactionBoundWitnessWithStorageMeta: {
|
|
788
|
-
(value:
|
|
788
|
+
<T>(value: T): (T & {
|
|
789
789
|
schema: "network.xyo.boundwitness";
|
|
790
790
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
791
791
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -808,8 +808,8 @@ export declare const asUnsignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
808
808
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
809
809
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
810
810
|
script?: string[] | undefined;
|
|
811
|
-
} | undefined;
|
|
812
|
-
(value:
|
|
811
|
+
}) | undefined;
|
|
812
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
813
813
|
schema: "network.xyo.boundwitness";
|
|
814
814
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
815
815
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -835,7 +835,7 @@ export declare const asUnsignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
837
|
export declare const toUnsignedTransactionBoundWitnessWithStorageMeta: {
|
|
838
|
-
(value:
|
|
838
|
+
<T>(value: T): (T & {
|
|
839
839
|
schema: "network.xyo.boundwitness";
|
|
840
840
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
841
841
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -858,8 +858,8 @@ export declare const toUnsignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
858
858
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
859
859
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
860
860
|
script?: string[] | undefined;
|
|
861
|
-
} | undefined;
|
|
862
|
-
(value:
|
|
861
|
+
}) | undefined;
|
|
862
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
863
863
|
schema: "network.xyo.boundwitness";
|
|
864
864
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
865
865
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -906,7 +906,7 @@ export declare const SignedTransactionBoundWitnessZod: z.ZodObject<{
|
|
|
906
906
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
907
907
|
}, z.core.$strip>;
|
|
908
908
|
export type SignedTransactionBoundWitness = z.infer<typeof SignedTransactionBoundWitnessZod>;
|
|
909
|
-
export declare const isSignedTransactionBoundWitness: (value:
|
|
909
|
+
export declare const isSignedTransactionBoundWitness: <T>(value: T) => value is T & {
|
|
910
910
|
schema: "network.xyo.boundwitness";
|
|
911
911
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
912
912
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -928,7 +928,7 @@ export declare const isSignedTransactionBoundWitness: (value: unknown) => value
|
|
|
928
928
|
script?: string[] | undefined;
|
|
929
929
|
};
|
|
930
930
|
export declare const asSignedTransactionBoundWitness: {
|
|
931
|
-
(value:
|
|
931
|
+
<T>(value: T): (T & {
|
|
932
932
|
schema: "network.xyo.boundwitness";
|
|
933
933
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
934
934
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -948,8 +948,8 @@ export declare const asSignedTransactionBoundWitness: {
|
|
|
948
948
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
949
949
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
950
950
|
script?: string[] | undefined;
|
|
951
|
-
} | undefined;
|
|
952
|
-
(value:
|
|
951
|
+
}) | undefined;
|
|
952
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
953
953
|
schema: "network.xyo.boundwitness";
|
|
954
954
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
955
955
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -972,7 +972,7 @@ export declare const asSignedTransactionBoundWitness: {
|
|
|
972
972
|
};
|
|
973
973
|
};
|
|
974
974
|
export declare const toSignedTransactionBoundWitness: {
|
|
975
|
-
(value:
|
|
975
|
+
<T>(value: T): (T & {
|
|
976
976
|
schema: "network.xyo.boundwitness";
|
|
977
977
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
978
978
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -992,8 +992,8 @@ export declare const toSignedTransactionBoundWitness: {
|
|
|
992
992
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
993
993
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
994
994
|
script?: string[] | undefined;
|
|
995
|
-
} | undefined;
|
|
996
|
-
(value:
|
|
995
|
+
}) | undefined;
|
|
996
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
997
997
|
schema: "network.xyo.boundwitness";
|
|
998
998
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
999
999
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1039,7 +1039,7 @@ export declare const SignedTransactionBoundWitnessWithHashMetaZod: z.ZodObject<{
|
|
|
1039
1039
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").Hash, string>>;
|
|
1040
1040
|
}, z.core.$strip>;
|
|
1041
1041
|
export type SignedTransactionBoundWitnessWithHashMeta = z.infer<typeof SignedTransactionBoundWitnessWithHashMetaZod>;
|
|
1042
|
-
export declare const isSignedTransactionBoundWitnessWithHashMeta: (value:
|
|
1042
|
+
export declare const isSignedTransactionBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
1043
1043
|
schema: "network.xyo.boundwitness";
|
|
1044
1044
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1045
1045
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1063,7 +1063,7 @@ export declare const isSignedTransactionBoundWitnessWithHashMeta: (value: unknow
|
|
|
1063
1063
|
script?: string[] | undefined;
|
|
1064
1064
|
};
|
|
1065
1065
|
export declare const asSignedTransactionBoundWitnessWithHashMeta: {
|
|
1066
|
-
(value:
|
|
1066
|
+
<T>(value: T): (T & {
|
|
1067
1067
|
schema: "network.xyo.boundwitness";
|
|
1068
1068
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1069
1069
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1085,8 +1085,8 @@ export declare const asSignedTransactionBoundWitnessWithHashMeta: {
|
|
|
1085
1085
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
1086
1086
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
1087
1087
|
script?: string[] | undefined;
|
|
1088
|
-
} | undefined;
|
|
1089
|
-
(value:
|
|
1088
|
+
}) | undefined;
|
|
1089
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
1090
1090
|
schema: "network.xyo.boundwitness";
|
|
1091
1091
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1092
1092
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1111,7 +1111,7 @@ export declare const asSignedTransactionBoundWitnessWithHashMeta: {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
1113
|
export declare const toSignedTransactionBoundWitnessWithHashMeta: {
|
|
1114
|
-
(value:
|
|
1114
|
+
<T>(value: T): (T & {
|
|
1115
1115
|
schema: "network.xyo.boundwitness";
|
|
1116
1116
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1117
1117
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1133,8 +1133,8 @@ export declare const toSignedTransactionBoundWitnessWithHashMeta: {
|
|
|
1133
1133
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
1134
1134
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
1135
1135
|
script?: string[] | undefined;
|
|
1136
|
-
} | undefined;
|
|
1137
|
-
(value:
|
|
1136
|
+
}) | undefined;
|
|
1137
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
1138
1138
|
schema: "network.xyo.boundwitness";
|
|
1139
1139
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1140
1140
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1183,7 +1183,7 @@ export declare const SignedTransactionBoundWitnessWithStorageMetaZod: z.ZodObjec
|
|
|
1183
1183
|
_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>>]>;
|
|
1184
1184
|
}, z.core.$strip>;
|
|
1185
1185
|
export type SignedTransactionBoundWitnessWithStorageMeta = z.infer<typeof SignedTransactionBoundWitnessWithStorageMetaZod>;
|
|
1186
|
-
export declare const isSignedTransactionBoundWitnessWithStorageMeta: (value:
|
|
1186
|
+
export declare const isSignedTransactionBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
1187
1187
|
schema: "network.xyo.boundwitness";
|
|
1188
1188
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1189
1189
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1208,7 +1208,7 @@ export declare const isSignedTransactionBoundWitnessWithStorageMeta: (value: unk
|
|
|
1208
1208
|
script?: string[] | undefined;
|
|
1209
1209
|
};
|
|
1210
1210
|
export declare const asSignedTransactionBoundWitnessWithStorageMeta: {
|
|
1211
|
-
(value:
|
|
1211
|
+
<T>(value: T): (T & {
|
|
1212
1212
|
schema: "network.xyo.boundwitness";
|
|
1213
1213
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1214
1214
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1231,8 +1231,8 @@ export declare const asSignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
1231
1231
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
1232
1232
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
1233
1233
|
script?: string[] | undefined;
|
|
1234
|
-
} | undefined;
|
|
1235
|
-
(value:
|
|
1234
|
+
}) | undefined;
|
|
1235
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
1236
1236
|
schema: "network.xyo.boundwitness";
|
|
1237
1237
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1238
1238
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1258,7 +1258,7 @@ export declare const asSignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
1258
1258
|
};
|
|
1259
1259
|
};
|
|
1260
1260
|
export declare const toSignedTransactionBoundWitnessWithStorageMeta: {
|
|
1261
|
-
(value:
|
|
1261
|
+
<T>(value: T): (T & {
|
|
1262
1262
|
schema: "network.xyo.boundwitness";
|
|
1263
1263
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1264
1264
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -1281,8 +1281,8 @@ export declare const toSignedTransactionBoundWitnessWithStorageMeta: {
|
|
|
1281
1281
|
$destination?: import("@xylabs/sdk-js").Address | undefined;
|
|
1282
1282
|
$sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
|
|
1283
1283
|
script?: string[] | undefined;
|
|
1284
|
-
} | undefined;
|
|
1285
|
-
(value:
|
|
1284
|
+
}) | undefined;
|
|
1285
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
1286
1286
|
schema: "network.xyo.boundwitness";
|
|
1287
1287
|
addresses: import("@xylabs/sdk-js").Address[];
|
|
1288
1288
|
payload_hashes: import("@xylabs/sdk-js").Hash[];
|
|
@@ -9,20 +9,20 @@ export declare const TransactionFeesHexZod: z.ZodObject<{
|
|
|
9
9
|
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/sdk-js").Hex, string>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
export type TransactionFeesHex = z.infer<typeof TransactionFeesHexZod>;
|
|
12
|
-
export declare const isTransactionFeesHex: (value:
|
|
12
|
+
export declare const isTransactionFeesHex: <T>(value: T) => value is T & {
|
|
13
13
|
base: import("@xylabs/sdk-js").Hex;
|
|
14
14
|
gasLimit: import("@xylabs/sdk-js").Hex;
|
|
15
15
|
gasPrice: import("@xylabs/sdk-js").Hex;
|
|
16
16
|
priority: import("@xylabs/sdk-js").Hex;
|
|
17
17
|
};
|
|
18
18
|
export declare const asTransactionFeesHex: {
|
|
19
|
-
(value:
|
|
19
|
+
<T>(value: T): (T & {
|
|
20
20
|
base: import("@xylabs/sdk-js").Hex;
|
|
21
21
|
gasLimit: import("@xylabs/sdk-js").Hex;
|
|
22
22
|
gasPrice: import("@xylabs/sdk-js").Hex;
|
|
23
23
|
priority: import("@xylabs/sdk-js").Hex;
|
|
24
|
-
} | undefined;
|
|
25
|
-
(value:
|
|
24
|
+
}) | undefined;
|
|
25
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
26
26
|
base: import("@xylabs/sdk-js").Hex;
|
|
27
27
|
gasLimit: import("@xylabs/sdk-js").Hex;
|
|
28
28
|
gasPrice: import("@xylabs/sdk-js").Hex;
|
|
@@ -30,13 +30,13 @@ export declare const asTransactionFeesHex: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
export declare const toTransactionFeesHex: {
|
|
33
|
-
(value:
|
|
33
|
+
<T>(value: T): (T & {
|
|
34
34
|
base: import("@xylabs/sdk-js").Hex;
|
|
35
35
|
gasLimit: import("@xylabs/sdk-js").Hex;
|
|
36
36
|
gasPrice: import("@xylabs/sdk-js").Hex;
|
|
37
37
|
priority: import("@xylabs/sdk-js").Hex;
|
|
38
|
-
} | undefined;
|
|
39
|
-
(value:
|
|
38
|
+
}) | undefined;
|
|
39
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
40
40
|
base: import("@xylabs/sdk-js").Hex;
|
|
41
41
|
gasLimit: import("@xylabs/sdk-js").Hex;
|
|
42
42
|
gasPrice: import("@xylabs/sdk-js").Hex;
|
|
@@ -50,20 +50,20 @@ export declare const TransactionFeesBigIntZod: z.ZodObject<{
|
|
|
50
50
|
priority: z.ZodBigInt;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
export type TransactionFeesBigInt = z.infer<typeof TransactionFeesBigIntZod>;
|
|
53
|
-
export declare const isTransactionFeesBigInt: (value:
|
|
53
|
+
export declare const isTransactionFeesBigInt: <T>(value: T) => value is T & {
|
|
54
54
|
base: bigint;
|
|
55
55
|
gasLimit: bigint;
|
|
56
56
|
gasPrice: bigint;
|
|
57
57
|
priority: bigint;
|
|
58
58
|
};
|
|
59
59
|
export declare const asTransactionFeesBigInt: {
|
|
60
|
-
(value:
|
|
60
|
+
<T>(value: T): (T & {
|
|
61
61
|
base: bigint;
|
|
62
62
|
gasLimit: bigint;
|
|
63
63
|
gasPrice: bigint;
|
|
64
64
|
priority: bigint;
|
|
65
|
-
} | undefined;
|
|
66
|
-
(value:
|
|
65
|
+
}) | undefined;
|
|
66
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
67
67
|
base: bigint;
|
|
68
68
|
gasLimit: bigint;
|
|
69
69
|
gasPrice: bigint;
|
|
@@ -71,13 +71,13 @@ export declare const asTransactionFeesBigInt: {
|
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
export declare const toTransactionFeesBigInt: {
|
|
74
|
-
(value:
|
|
74
|
+
<T>(value: T): (T & {
|
|
75
75
|
base: bigint;
|
|
76
76
|
gasLimit: bigint;
|
|
77
77
|
gasPrice: bigint;
|
|
78
78
|
priority: bigint;
|
|
79
|
-
} | undefined;
|
|
80
|
-
(value:
|
|
79
|
+
}) | undefined;
|
|
80
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
|
|
81
81
|
base: bigint;
|
|
82
82
|
gasLimit: bigint;
|
|
83
83
|
gasPrice: bigint;
|