@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
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type * as z from 'zod';
|
|
2
|
+
export declare const SignedBlockBoundWitnessZod: z.ZodObject<{
|
|
3
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
5
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
6
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
8
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
9
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
10
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
11
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
12
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
13
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
16
|
+
$epoch: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type SignedBlockBoundWitness = z.infer<typeof SignedBlockBoundWitnessZod>;
|
|
19
|
+
export declare const isSignedBlockBoundWitness: <T>(value: T) => value is T & {
|
|
20
|
+
schema: "network.xyo.boundwitness";
|
|
21
|
+
addresses: import("@xylabs/hex").Address[];
|
|
22
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
23
|
+
payload_schemas: string[];
|
|
24
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
25
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
26
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
27
|
+
chain: import("@xylabs/hex").Hex;
|
|
28
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
29
|
+
$epoch: number;
|
|
30
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
31
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
32
|
+
protocol?: number | undefined;
|
|
33
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
34
|
+
};
|
|
35
|
+
export declare const asSignedBlockBoundWitness: {
|
|
36
|
+
(value: unknown): {
|
|
37
|
+
schema: "network.xyo.boundwitness";
|
|
38
|
+
addresses: import("@xylabs/hex").Address[];
|
|
39
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
40
|
+
payload_schemas: string[];
|
|
41
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
42
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
43
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
44
|
+
chain: import("@xylabs/hex").Hex;
|
|
45
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
46
|
+
$epoch: number;
|
|
47
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
48
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
49
|
+
protocol?: number | undefined;
|
|
50
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
53
|
+
schema: "network.xyo.boundwitness";
|
|
54
|
+
addresses: import("@xylabs/hex").Address[];
|
|
55
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
56
|
+
payload_schemas: string[];
|
|
57
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
58
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
59
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
60
|
+
chain: import("@xylabs/hex").Hex;
|
|
61
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
62
|
+
$epoch: number;
|
|
63
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
64
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
65
|
+
protocol?: number | undefined;
|
|
66
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare const toSignedBlockBoundWitness: {
|
|
70
|
+
(value: unknown): {
|
|
71
|
+
schema: "network.xyo.boundwitness";
|
|
72
|
+
addresses: import("@xylabs/hex").Address[];
|
|
73
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
74
|
+
payload_schemas: string[];
|
|
75
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
76
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
77
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
78
|
+
chain: import("@xylabs/hex").Hex;
|
|
79
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
80
|
+
$epoch: number;
|
|
81
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
82
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
83
|
+
protocol?: number | undefined;
|
|
84
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
87
|
+
schema: "network.xyo.boundwitness";
|
|
88
|
+
addresses: import("@xylabs/hex").Address[];
|
|
89
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
90
|
+
payload_schemas: string[];
|
|
91
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
92
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
93
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
94
|
+
chain: import("@xylabs/hex").Hex;
|
|
95
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
96
|
+
$epoch: number;
|
|
97
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
98
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
99
|
+
protocol?: number | undefined;
|
|
100
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=SignedBlockBoundWitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedBlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAEM,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import type * as z from 'zod';
|
|
2
|
+
export declare const SignedBlockBoundWitnessWithHashMetaZod: z.ZodObject<{
|
|
3
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
5
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
6
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
8
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
9
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
10
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
11
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
12
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
13
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
16
|
+
$epoch: z.ZodNumber;
|
|
17
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
18
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type SignedBlockBoundWitnessWithHashMeta = z.infer<typeof SignedBlockBoundWitnessWithHashMetaZod>;
|
|
21
|
+
export declare const isSignedBlockBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
22
|
+
schema: "network.xyo.boundwitness";
|
|
23
|
+
addresses: import("@xylabs/hex").Address[];
|
|
24
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
25
|
+
payload_schemas: string[];
|
|
26
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
27
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
28
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
29
|
+
chain: import("@xylabs/hex").Hex;
|
|
30
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
31
|
+
$epoch: number;
|
|
32
|
+
_hash: import("@xylabs/hex").Hash;
|
|
33
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
34
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
35
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
36
|
+
protocol?: number | undefined;
|
|
37
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
38
|
+
};
|
|
39
|
+
export declare const asSignedBlockBoundWitnessWithHashMeta: {
|
|
40
|
+
(value: unknown): {
|
|
41
|
+
schema: "network.xyo.boundwitness";
|
|
42
|
+
addresses: import("@xylabs/hex").Address[];
|
|
43
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
44
|
+
payload_schemas: string[];
|
|
45
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
46
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
47
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
48
|
+
chain: import("@xylabs/hex").Hex;
|
|
49
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
50
|
+
$epoch: number;
|
|
51
|
+
_hash: import("@xylabs/hex").Hash;
|
|
52
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
53
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
54
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
55
|
+
protocol?: number | undefined;
|
|
56
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
59
|
+
schema: "network.xyo.boundwitness";
|
|
60
|
+
addresses: import("@xylabs/hex").Address[];
|
|
61
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
62
|
+
payload_schemas: string[];
|
|
63
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
64
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
65
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
66
|
+
chain: import("@xylabs/hex").Hex;
|
|
67
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
68
|
+
$epoch: number;
|
|
69
|
+
_hash: import("@xylabs/hex").Hash;
|
|
70
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
71
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
72
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
73
|
+
protocol?: number | undefined;
|
|
74
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
export declare const SignedBlockBoundWitnessWithHashMetaishZod: z.ZodPipe<z.ZodObject<{
|
|
78
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
79
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
80
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
81
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
82
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
83
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
84
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
85
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
86
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
87
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
88
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
89
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
91
|
+
$epoch: z.ZodNumber;
|
|
92
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
93
|
+
schema: "network.xyo.boundwitness";
|
|
94
|
+
addresses: import("@xylabs/hex").Address[];
|
|
95
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
96
|
+
payload_schemas: string[];
|
|
97
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
98
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
99
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
100
|
+
chain: import("@xylabs/hex").Hex;
|
|
101
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
102
|
+
$epoch: number;
|
|
103
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
104
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
105
|
+
protocol?: number | undefined;
|
|
106
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
107
|
+
} & {
|
|
108
|
+
schema: "network.xyo.boundwitness";
|
|
109
|
+
addresses: import("@xylabs/hex").Address[];
|
|
110
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
111
|
+
payload_schemas: string[];
|
|
112
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
113
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
114
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
115
|
+
chain: import("@xylabs/hex").Hex;
|
|
116
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
117
|
+
$epoch: number;
|
|
118
|
+
_hash: import("@xylabs/hex").Hash;
|
|
119
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
120
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
121
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
122
|
+
protocol?: number | undefined;
|
|
123
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
schema: "network.xyo.boundwitness";
|
|
126
|
+
addresses: import("@xylabs/hex").Address[];
|
|
127
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
128
|
+
payload_schemas: string[];
|
|
129
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
130
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
131
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
132
|
+
chain: import("@xylabs/hex").Hex;
|
|
133
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
134
|
+
$epoch: number;
|
|
135
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
136
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
137
|
+
protocol?: number | undefined;
|
|
138
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
139
|
+
}>>;
|
|
140
|
+
export type SignedBlockBoundWitnessWithHashMetaish = z.input<typeof SignedBlockBoundWitnessWithHashMetaishZod>;
|
|
141
|
+
export declare const toSignedBlockBoundWitnessWithHashMeta: {
|
|
142
|
+
(value: unknown): {
|
|
143
|
+
schema: "network.xyo.boundwitness";
|
|
144
|
+
addresses: import("@xylabs/hex").Address[];
|
|
145
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
146
|
+
payload_schemas: string[];
|
|
147
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
148
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
149
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
150
|
+
chain: import("@xylabs/hex").Hex;
|
|
151
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
152
|
+
$epoch: number;
|
|
153
|
+
_hash: import("@xylabs/hex").Hash;
|
|
154
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
155
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
156
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
157
|
+
protocol?: number | undefined;
|
|
158
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
161
|
+
schema: "network.xyo.boundwitness";
|
|
162
|
+
addresses: import("@xylabs/hex").Address[];
|
|
163
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
164
|
+
payload_schemas: string[];
|
|
165
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
166
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
167
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
168
|
+
chain: import("@xylabs/hex").Hex;
|
|
169
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
170
|
+
$epoch: number;
|
|
171
|
+
_hash: import("@xylabs/hex").Hash;
|
|
172
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
173
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
174
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
175
|
+
protocol?: number | undefined;
|
|
176
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=SignedBlockBoundWitnessWithHashMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedBlockBoundWitnessWithHashMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;iBAA2D,CAAA;AAE9G,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAExG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;CAAuD,CAAA;AACzG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA;AAElJ,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQpD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import type * as z from 'zod';
|
|
2
|
+
export declare const SignedBlockBoundWitnessWithStorageMetaZod: z.ZodObject<{
|
|
3
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
5
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
6
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
8
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
9
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
10
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
11
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
12
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
13
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
16
|
+
$epoch: z.ZodNumber;
|
|
17
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
18
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
19
|
+
_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>>]>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type SignedBlockBoundWitnessWithStorageMeta = z.infer<typeof SignedBlockBoundWitnessWithStorageMetaZod>;
|
|
22
|
+
export declare const isSignedBlockBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
23
|
+
schema: "network.xyo.boundwitness";
|
|
24
|
+
addresses: import("@xylabs/hex").Address[];
|
|
25
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
26
|
+
payload_schemas: string[];
|
|
27
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
28
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
29
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
30
|
+
chain: import("@xylabs/hex").Hex;
|
|
31
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
32
|
+
$epoch: number;
|
|
33
|
+
_hash: import("@xylabs/hex").Hash;
|
|
34
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
35
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
36
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
37
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
38
|
+
protocol?: number | undefined;
|
|
39
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
40
|
+
};
|
|
41
|
+
export declare const asSignedBlockBoundWitnessWithStorageMeta: {
|
|
42
|
+
(value: unknown): {
|
|
43
|
+
schema: "network.xyo.boundwitness";
|
|
44
|
+
addresses: import("@xylabs/hex").Address[];
|
|
45
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
46
|
+
payload_schemas: string[];
|
|
47
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
48
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
49
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
50
|
+
chain: import("@xylabs/hex").Hex;
|
|
51
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
52
|
+
$epoch: number;
|
|
53
|
+
_hash: import("@xylabs/hex").Hash;
|
|
54
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
55
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
56
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
57
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
58
|
+
protocol?: number | undefined;
|
|
59
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
60
|
+
} | undefined;
|
|
61
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
62
|
+
schema: "network.xyo.boundwitness";
|
|
63
|
+
addresses: import("@xylabs/hex").Address[];
|
|
64
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
65
|
+
payload_schemas: string[];
|
|
66
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
67
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
68
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
69
|
+
chain: import("@xylabs/hex").Hex;
|
|
70
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
71
|
+
$epoch: number;
|
|
72
|
+
_hash: import("@xylabs/hex").Hash;
|
|
73
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
74
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
75
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
76
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
77
|
+
protocol?: number | undefined;
|
|
78
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export declare const SignedBlockBoundWitnessWithStorageMetaishZod: z.ZodPipe<z.ZodObject<{
|
|
82
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
83
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
84
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
85
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
86
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
87
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
88
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
89
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
|
|
90
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
91
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
92
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
93
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
95
|
+
$epoch: z.ZodNumber;
|
|
96
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
97
|
+
schema: "network.xyo.boundwitness";
|
|
98
|
+
addresses: import("@xylabs/hex").Address[];
|
|
99
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
100
|
+
payload_schemas: string[];
|
|
101
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
102
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
103
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
104
|
+
chain: import("@xylabs/hex").Hex;
|
|
105
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
106
|
+
$epoch: number;
|
|
107
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
108
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
109
|
+
protocol?: number | undefined;
|
|
110
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
111
|
+
} & {
|
|
112
|
+
schema: "network.xyo.boundwitness";
|
|
113
|
+
addresses: import("@xylabs/hex").Address[];
|
|
114
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
115
|
+
payload_schemas: string[];
|
|
116
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
117
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
118
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
119
|
+
chain: import("@xylabs/hex").Hex;
|
|
120
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
121
|
+
$epoch: number;
|
|
122
|
+
_hash: import("@xylabs/hex").Hash;
|
|
123
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
124
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
125
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
126
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
127
|
+
protocol?: number | undefined;
|
|
128
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
129
|
+
}, {
|
|
130
|
+
schema: "network.xyo.boundwitness";
|
|
131
|
+
addresses: import("@xylabs/hex").Address[];
|
|
132
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
133
|
+
payload_schemas: string[];
|
|
134
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
135
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
136
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
137
|
+
chain: import("@xylabs/hex").Hex;
|
|
138
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
139
|
+
$epoch: number;
|
|
140
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
141
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
142
|
+
protocol?: number | undefined;
|
|
143
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
144
|
+
}>>;
|
|
145
|
+
export type SignedBlockBoundWitnessWithStorageMetaish = z.input<typeof SignedBlockBoundWitnessWithStorageMetaishZod>;
|
|
146
|
+
export declare const toSignedBlockBoundWitnessWithStorageMeta: {
|
|
147
|
+
(value: unknown): ({
|
|
148
|
+
schema: "network.xyo.boundwitness";
|
|
149
|
+
addresses: import("@xylabs/hex").Address[];
|
|
150
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
151
|
+
payload_schemas: string[];
|
|
152
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
153
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
154
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
155
|
+
chain: import("@xylabs/hex").Hex;
|
|
156
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
157
|
+
$epoch: number;
|
|
158
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
159
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
160
|
+
protocol?: number | undefined;
|
|
161
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
162
|
+
} & {
|
|
163
|
+
schema: "network.xyo.boundwitness";
|
|
164
|
+
addresses: import("@xylabs/hex").Address[];
|
|
165
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
166
|
+
payload_schemas: string[];
|
|
167
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
168
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
169
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
170
|
+
chain: import("@xylabs/hex").Hex;
|
|
171
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
172
|
+
$epoch: number;
|
|
173
|
+
_hash: import("@xylabs/hex").Hash;
|
|
174
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
175
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
176
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
177
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
178
|
+
protocol?: number | undefined;
|
|
179
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
180
|
+
}) | undefined;
|
|
181
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
182
|
+
schema: "network.xyo.boundwitness";
|
|
183
|
+
addresses: import("@xylabs/hex").Address[];
|
|
184
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
185
|
+
payload_schemas: string[];
|
|
186
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
187
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
188
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
189
|
+
chain: import("@xylabs/hex").Hex;
|
|
190
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
191
|
+
$epoch: number;
|
|
192
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
193
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
194
|
+
protocol?: number | undefined;
|
|
195
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
196
|
+
} & {
|
|
197
|
+
schema: "network.xyo.boundwitness";
|
|
198
|
+
addresses: import("@xylabs/hex").Address[];
|
|
199
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
200
|
+
payload_schemas: string[];
|
|
201
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
202
|
+
$signatures: import("@xylabs/hex").Hex[];
|
|
203
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
204
|
+
chain: import("@xylabs/hex").Hex;
|
|
205
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
206
|
+
$epoch: number;
|
|
207
|
+
_hash: import("@xylabs/hex").Hash;
|
|
208
|
+
_dataHash: import("@xylabs/hex").Hash;
|
|
209
|
+
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
210
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
211
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
212
|
+
protocol?: number | undefined;
|
|
213
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
//# sourceMappingURL=SignedBlockBoundWitnessWithStorageMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignedBlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;iBAA8D,CAAA;AAEpH,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;CAA0D,CAAA;AAC/G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA;AAED,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQvD,CAAA;AAEF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AAEpH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0CAA0C,CAAA;AACxD,cAAc,6CAA6C,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type * as z from 'zod';
|
|
2
|
+
export declare const UnsignedBlockBoundWitnessZod: z.ZodObject<{
|
|
3
|
+
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
5
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
6
|
+
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
8
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
|
|
9
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
10
|
+
$signatures: z.ZodArray<z.ZodNull>;
|
|
11
|
+
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
|
|
12
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
|
|
13
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
|
+
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
16
|
+
$epoch: z.ZodNumber;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type UnsignedBlockBoundWitness = z.infer<typeof UnsignedBlockBoundWitnessZod>;
|
|
19
|
+
export declare const isUnsignedBlockBoundWitness: <T>(value: T) => value is T & {
|
|
20
|
+
schema: "network.xyo.boundwitness";
|
|
21
|
+
addresses: import("@xylabs/hex").Address[];
|
|
22
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
23
|
+
payload_schemas: string[];
|
|
24
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
25
|
+
$signatures: null[];
|
|
26
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
27
|
+
chain: import("@xylabs/hex").Hex;
|
|
28
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
29
|
+
$epoch: number;
|
|
30
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
31
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
32
|
+
protocol?: number | undefined;
|
|
33
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
34
|
+
};
|
|
35
|
+
export declare const asUnsignedBlockBoundWitness: {
|
|
36
|
+
(value: unknown): {
|
|
37
|
+
schema: "network.xyo.boundwitness";
|
|
38
|
+
addresses: import("@xylabs/hex").Address[];
|
|
39
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
40
|
+
payload_schemas: string[];
|
|
41
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
42
|
+
$signatures: null[];
|
|
43
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
44
|
+
chain: import("@xylabs/hex").Hex;
|
|
45
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
46
|
+
$epoch: number;
|
|
47
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
48
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
49
|
+
protocol?: number | undefined;
|
|
50
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
53
|
+
schema: "network.xyo.boundwitness";
|
|
54
|
+
addresses: import("@xylabs/hex").Address[];
|
|
55
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
56
|
+
payload_schemas: string[];
|
|
57
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
58
|
+
$signatures: null[];
|
|
59
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
60
|
+
chain: import("@xylabs/hex").Hex;
|
|
61
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
62
|
+
$epoch: number;
|
|
63
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
64
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
65
|
+
protocol?: number | undefined;
|
|
66
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare const toUnsignedBlockBoundWitness: {
|
|
70
|
+
(value: unknown): {
|
|
71
|
+
schema: "network.xyo.boundwitness";
|
|
72
|
+
addresses: import("@xylabs/hex").Address[];
|
|
73
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
74
|
+
payload_schemas: string[];
|
|
75
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
76
|
+
$signatures: null[];
|
|
77
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
78
|
+
chain: import("@xylabs/hex").Hex;
|
|
79
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
80
|
+
$epoch: number;
|
|
81
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
82
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
83
|
+
protocol?: number | undefined;
|
|
84
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
(value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
|
|
87
|
+
schema: "network.xyo.boundwitness";
|
|
88
|
+
addresses: import("@xylabs/hex").Address[];
|
|
89
|
+
payload_hashes: import("@xylabs/hex").Hash[];
|
|
90
|
+
payload_schemas: string[];
|
|
91
|
+
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
92
|
+
$signatures: null[];
|
|
93
|
+
block: import("../../../index.ts").XL1BlockNumber;
|
|
94
|
+
chain: import("@xylabs/hex").Hex;
|
|
95
|
+
previous: import("@xylabs/hex").Hash | null;
|
|
96
|
+
$epoch: number;
|
|
97
|
+
$destination?: import("@xylabs/hex").Address | undefined;
|
|
98
|
+
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
99
|
+
protocol?: number | undefined;
|
|
100
|
+
step_hashes?: import("@xylabs/hex").Hash[] | undefined;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=UnsignedBlockBoundWitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnsignedBlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/unsigned/UnsignedBlockBoundWitness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;iBAEI,CAAA;AAE7C,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AAEpF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;CAA6C,CAAA;AACrF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4E,CAAA;AACpH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/unsigned/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|