@xyo-network/xl1-protocol 1.14.17 → 1.18.2
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 +4 -12
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +29 -29
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts.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/model/BlockRange/XL1BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/StepIdentity.d.ts +1 -1
- package/dist/neutral/model/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +20 -20
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +10 -10
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts +16 -16
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts +45 -13
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -1
- package/dist/neutral/zod/Chain.d.ts +2 -2
- package/dist/neutral/zod/Chain.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +853 -501
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +1471 -823
- package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts +5 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -1
- package/dist/neutral/zod/Sequence.d.ts +1 -1
- package/dist/neutral/zod/Sequence.d.ts.map +1 -1
- package/dist/neutral/zod/Stake.d.ts +74 -18
- package/dist/neutral/zod/Stake.d.ts.map +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +1407 -751
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionFees.d.ts +39 -39
- package/dist/neutral/zod/TransactionFees.d.ts.map +1 -1
- package/dist/neutral/zod/TransferPair.d.ts +10 -2
- package/dist/neutral/zod/TransferPair.d.ts.map +1 -1
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +334 -190
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -55
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +185 -105
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +219 -123
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +97 -49
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -1
- package/package.json +31 -31
- package/src/block/AllowedBlockPayload.ts +3 -3
- package/src/model/BlockNumber/BlockNumber.ts +1 -1
- package/src/model/BlockNumber/EthBlockNumber.ts +1 -1
- package/src/model/BlockNumber/Numberish.ts +1 -1
- package/src/model/BlockNumber/XL1BlockNumber.ts +1 -1
- package/src/model/BlockRange/BlockRange.ts +1 -1
- package/src/model/BlockRange/EthBlockRange.ts +1 -1
- package/src/model/BlockRange/Numberish.ts +1 -1
- package/src/model/BlockRange/Range.ts +1 -1
- package/src/model/BlockRange/XL1BlockRange.ts +1 -1
- package/src/model/StepIdentity.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDetails.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeIntent.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +1 -1
- package/src/payload/elevatable/Time.ts +1 -1
- package/src/payload/elevatable/TransferPayload.ts +1 -1
- package/src/xl1/isXL1Factory.ts +1 -1
- package/src/zod/ArrayBuffer.ts +1 -1
- package/src/zod/Chain.ts +1 -1
- package/src/zod/HydratedBlock.ts +1 -1
- package/src/zod/HydratedTransaction.ts +3 -3
- package/src/zod/Sequence.ts +1 -1
- package/src/zod/Stake.ts +1 -1
- package/src/zod/TimeDomain.ts +1 -1
- package/src/zod/TransactionBoundWitness.ts +1 -1
- package/src/zod/TransactionFees.ts +1 -1
- package/src/zod/TransferPair.ts +1 -1
- package/src/zod/block/BlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +1 -1
- package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +1 -1
- package/src/zod/payload/WithHashMetaish.ts +1 -1
- package/src/zod/payload/WithStorageMetaish.ts +1 -1
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
3
3
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
4
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5
|
-
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
5
|
+
readonly __hex: true;
|
|
6
|
+
} & {
|
|
7
|
+
readonly __address: true;
|
|
8
|
+
}, string>>>;
|
|
9
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
6
10
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
8
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
12
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
13
|
+
readonly __hex: true;
|
|
14
|
+
} & {
|
|
15
|
+
readonly __address: true;
|
|
16
|
+
}, string>>>;
|
|
17
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
18
|
+
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
11
19
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
12
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
13
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
20
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
21
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
14
22
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
23
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
16
24
|
$epoch: z.ZodNumber;
|
|
17
25
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
18
26
|
schema: z.ZodString;
|
|
@@ -20,56 +28,80 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
20
28
|
export type HydratedBlock = z.infer<typeof HydratedBlockZod>;
|
|
21
29
|
export declare const isHydratedBlock: <T>(value: T) => value is T & [{
|
|
22
30
|
schema: "network.xyo.boundwitness";
|
|
23
|
-
addresses:
|
|
24
|
-
|
|
31
|
+
addresses: (Lowercase<string> & {
|
|
32
|
+
readonly __hex: true;
|
|
33
|
+
} & {
|
|
34
|
+
readonly __address: true;
|
|
35
|
+
})[];
|
|
36
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
25
37
|
payload_schemas: string[];
|
|
26
|
-
previous_hashes: (import("@xylabs/hex").
|
|
27
|
-
$signatures: (import("@xylabs/hex").
|
|
38
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
39
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
28
40
|
block: import("../index.ts").XL1BlockNumber;
|
|
29
|
-
chain: import("@xylabs/hex").
|
|
30
|
-
previous: import("@xylabs/hex").
|
|
41
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
42
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
31
43
|
$epoch: number;
|
|
32
|
-
$destination?:
|
|
33
|
-
|
|
44
|
+
$destination?: (Lowercase<string> & {
|
|
45
|
+
readonly __hex: true;
|
|
46
|
+
} & {
|
|
47
|
+
readonly __address: true;
|
|
48
|
+
}) | undefined;
|
|
49
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
34
50
|
protocol?: number | undefined;
|
|
35
|
-
step_hashes?: import("@xylabs/hex").
|
|
51
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
36
52
|
}, {
|
|
37
53
|
schema: string;
|
|
38
54
|
}[]];
|
|
39
55
|
export declare const asHydratedBlock: {
|
|
40
56
|
<T>(value: T): (T & [{
|
|
41
57
|
schema: "network.xyo.boundwitness";
|
|
42
|
-
addresses:
|
|
43
|
-
|
|
58
|
+
addresses: (Lowercase<string> & {
|
|
59
|
+
readonly __hex: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly __address: true;
|
|
62
|
+
})[];
|
|
63
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
44
64
|
payload_schemas: string[];
|
|
45
|
-
previous_hashes: (import("@xylabs/hex").
|
|
46
|
-
$signatures: (import("@xylabs/hex").
|
|
65
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
66
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
47
67
|
block: import("../index.ts").XL1BlockNumber;
|
|
48
|
-
chain: import("@xylabs/hex").
|
|
49
|
-
previous: import("@xylabs/hex").
|
|
68
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
69
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
50
70
|
$epoch: number;
|
|
51
|
-
$destination?:
|
|
52
|
-
|
|
71
|
+
$destination?: (Lowercase<string> & {
|
|
72
|
+
readonly __hex: true;
|
|
73
|
+
} & {
|
|
74
|
+
readonly __address: true;
|
|
75
|
+
}) | undefined;
|
|
76
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
53
77
|
protocol?: number | undefined;
|
|
54
|
-
step_hashes?: import("@xylabs/hex").
|
|
78
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
55
79
|
}, {
|
|
56
80
|
schema: string;
|
|
57
81
|
}[]]) | undefined;
|
|
58
82
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
59
83
|
schema: "network.xyo.boundwitness";
|
|
60
|
-
addresses:
|
|
61
|
-
|
|
84
|
+
addresses: (Lowercase<string> & {
|
|
85
|
+
readonly __hex: true;
|
|
86
|
+
} & {
|
|
87
|
+
readonly __address: true;
|
|
88
|
+
})[];
|
|
89
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
62
90
|
payload_schemas: string[];
|
|
63
|
-
previous_hashes: (import("@xylabs/hex").
|
|
64
|
-
$signatures: (import("@xylabs/hex").
|
|
91
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
92
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
65
93
|
block: import("../index.ts").XL1BlockNumber;
|
|
66
|
-
chain: import("@xylabs/hex").
|
|
67
|
-
previous: import("@xylabs/hex").
|
|
94
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
95
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
68
96
|
$epoch: number;
|
|
69
|
-
$destination?:
|
|
70
|
-
|
|
97
|
+
$destination?: (Lowercase<string> & {
|
|
98
|
+
readonly __hex: true;
|
|
99
|
+
} & {
|
|
100
|
+
readonly __address: true;
|
|
101
|
+
}) | undefined;
|
|
102
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
71
103
|
protocol?: number | undefined;
|
|
72
|
-
step_hashes?: import("@xylabs/hex").
|
|
104
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
73
105
|
}, {
|
|
74
106
|
schema: string;
|
|
75
107
|
}[]];
|
|
@@ -77,341 +109,461 @@ export declare const asHydratedBlock: {
|
|
|
77
109
|
export declare const toHydratedBlock: {
|
|
78
110
|
<T>(value: T): (T & [{
|
|
79
111
|
schema: "network.xyo.boundwitness";
|
|
80
|
-
addresses:
|
|
81
|
-
|
|
112
|
+
addresses: (Lowercase<string> & {
|
|
113
|
+
readonly __hex: true;
|
|
114
|
+
} & {
|
|
115
|
+
readonly __address: true;
|
|
116
|
+
})[];
|
|
117
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
82
118
|
payload_schemas: string[];
|
|
83
|
-
previous_hashes: (import("@xylabs/hex").
|
|
84
|
-
$signatures: (import("@xylabs/hex").
|
|
119
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
120
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
85
121
|
block: import("../index.ts").XL1BlockNumber;
|
|
86
|
-
chain: import("@xylabs/hex").
|
|
87
|
-
previous: import("@xylabs/hex").
|
|
122
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
123
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
88
124
|
$epoch: number;
|
|
89
|
-
$destination?:
|
|
90
|
-
|
|
125
|
+
$destination?: (Lowercase<string> & {
|
|
126
|
+
readonly __hex: true;
|
|
127
|
+
} & {
|
|
128
|
+
readonly __address: true;
|
|
129
|
+
}) | undefined;
|
|
130
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
91
131
|
protocol?: number | undefined;
|
|
92
|
-
step_hashes?: import("@xylabs/hex").
|
|
132
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
93
133
|
}, {
|
|
94
134
|
schema: string;
|
|
95
135
|
}[]]) | undefined;
|
|
96
136
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
97
137
|
schema: "network.xyo.boundwitness";
|
|
98
|
-
addresses:
|
|
99
|
-
|
|
138
|
+
addresses: (Lowercase<string> & {
|
|
139
|
+
readonly __hex: true;
|
|
140
|
+
} & {
|
|
141
|
+
readonly __address: true;
|
|
142
|
+
})[];
|
|
143
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
100
144
|
payload_schemas: string[];
|
|
101
|
-
previous_hashes: (import("@xylabs/hex").
|
|
102
|
-
$signatures: (import("@xylabs/hex").
|
|
145
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
146
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
103
147
|
block: import("../index.ts").XL1BlockNumber;
|
|
104
|
-
chain: import("@xylabs/hex").
|
|
105
|
-
previous: import("@xylabs/hex").
|
|
148
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
149
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
106
150
|
$epoch: number;
|
|
107
|
-
$destination?:
|
|
108
|
-
|
|
151
|
+
$destination?: (Lowercase<string> & {
|
|
152
|
+
readonly __hex: true;
|
|
153
|
+
} & {
|
|
154
|
+
readonly __address: true;
|
|
155
|
+
}) | undefined;
|
|
156
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
109
157
|
protocol?: number | undefined;
|
|
110
|
-
step_hashes?: import("@xylabs/hex").
|
|
158
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
111
159
|
}, {
|
|
112
160
|
schema: string;
|
|
113
161
|
}[]];
|
|
114
162
|
};
|
|
115
163
|
export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
116
164
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
117
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
118
|
-
|
|
165
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
166
|
+
readonly __hex: true;
|
|
167
|
+
} & {
|
|
168
|
+
readonly __address: true;
|
|
169
|
+
}, string>>>;
|
|
170
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
119
171
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
120
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
121
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
122
|
-
|
|
123
|
-
|
|
172
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
173
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
174
|
+
readonly __hex: true;
|
|
175
|
+
} & {
|
|
176
|
+
readonly __address: true;
|
|
177
|
+
}, string>>>;
|
|
178
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
179
|
+
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
124
180
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
125
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
126
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
181
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
182
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
127
183
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
128
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
184
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
129
185
|
$epoch: z.ZodNumber;
|
|
130
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
131
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
186
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
187
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
132
188
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
133
189
|
schema: z.ZodString;
|
|
134
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
135
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
190
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
191
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
136
192
|
}, z.core.$strip>>], null>;
|
|
137
193
|
export type HydratedBlockWithHashMeta = z.infer<typeof HydratedBlockWithHashMetaZod>;
|
|
138
194
|
export declare const isHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
139
195
|
schema: "network.xyo.boundwitness";
|
|
140
|
-
addresses:
|
|
141
|
-
|
|
196
|
+
addresses: (Lowercase<string> & {
|
|
197
|
+
readonly __hex: true;
|
|
198
|
+
} & {
|
|
199
|
+
readonly __address: true;
|
|
200
|
+
})[];
|
|
201
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
142
202
|
payload_schemas: string[];
|
|
143
|
-
previous_hashes: (import("@xylabs/hex").
|
|
144
|
-
$signatures: (import("@xylabs/hex").
|
|
203
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
204
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
145
205
|
block: import("../index.ts").XL1BlockNumber;
|
|
146
|
-
chain: import("@xylabs/hex").
|
|
147
|
-
previous: import("@xylabs/hex").
|
|
206
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
207
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
148
208
|
$epoch: number;
|
|
149
|
-
_hash: import("@xylabs/hex").
|
|
150
|
-
_dataHash: import("@xylabs/hex").
|
|
151
|
-
$destination?:
|
|
152
|
-
|
|
209
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
210
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
211
|
+
$destination?: (Lowercase<string> & {
|
|
212
|
+
readonly __hex: true;
|
|
213
|
+
} & {
|
|
214
|
+
readonly __address: true;
|
|
215
|
+
}) | undefined;
|
|
216
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
153
217
|
protocol?: number | undefined;
|
|
154
|
-
step_hashes?: import("@xylabs/hex").
|
|
218
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
155
219
|
}, {
|
|
156
220
|
schema: string;
|
|
157
|
-
_hash: import("@xylabs/hex").
|
|
158
|
-
_dataHash: import("@xylabs/hex").
|
|
221
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
222
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
159
223
|
}[]];
|
|
160
224
|
export declare const asHydratedBlockWithHashMeta: {
|
|
161
225
|
<T>(value: T): (T & [{
|
|
162
226
|
schema: "network.xyo.boundwitness";
|
|
163
|
-
addresses:
|
|
164
|
-
|
|
227
|
+
addresses: (Lowercase<string> & {
|
|
228
|
+
readonly __hex: true;
|
|
229
|
+
} & {
|
|
230
|
+
readonly __address: true;
|
|
231
|
+
})[];
|
|
232
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
165
233
|
payload_schemas: string[];
|
|
166
|
-
previous_hashes: (import("@xylabs/hex").
|
|
167
|
-
$signatures: (import("@xylabs/hex").
|
|
234
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
235
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
168
236
|
block: import("../index.ts").XL1BlockNumber;
|
|
169
|
-
chain: import("@xylabs/hex").
|
|
170
|
-
previous: import("@xylabs/hex").
|
|
237
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
238
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
171
239
|
$epoch: number;
|
|
172
|
-
_hash: import("@xylabs/hex").
|
|
173
|
-
_dataHash: import("@xylabs/hex").
|
|
174
|
-
$destination?:
|
|
175
|
-
|
|
240
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
241
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
242
|
+
$destination?: (Lowercase<string> & {
|
|
243
|
+
readonly __hex: true;
|
|
244
|
+
} & {
|
|
245
|
+
readonly __address: true;
|
|
246
|
+
}) | undefined;
|
|
247
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
176
248
|
protocol?: number | undefined;
|
|
177
|
-
step_hashes?: import("@xylabs/hex").
|
|
249
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
178
250
|
}, {
|
|
179
251
|
schema: string;
|
|
180
|
-
_hash: import("@xylabs/hex").
|
|
181
|
-
_dataHash: import("@xylabs/hex").
|
|
252
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
253
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
182
254
|
}[]]) | undefined;
|
|
183
255
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
184
256
|
schema: "network.xyo.boundwitness";
|
|
185
|
-
addresses:
|
|
186
|
-
|
|
257
|
+
addresses: (Lowercase<string> & {
|
|
258
|
+
readonly __hex: true;
|
|
259
|
+
} & {
|
|
260
|
+
readonly __address: true;
|
|
261
|
+
})[];
|
|
262
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
187
263
|
payload_schemas: string[];
|
|
188
|
-
previous_hashes: (import("@xylabs/hex").
|
|
189
|
-
$signatures: (import("@xylabs/hex").
|
|
264
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
265
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
190
266
|
block: import("../index.ts").XL1BlockNumber;
|
|
191
|
-
chain: import("@xylabs/hex").
|
|
192
|
-
previous: import("@xylabs/hex").
|
|
267
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
268
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
193
269
|
$epoch: number;
|
|
194
|
-
_hash: import("@xylabs/hex").
|
|
195
|
-
_dataHash: import("@xylabs/hex").
|
|
196
|
-
$destination?:
|
|
197
|
-
|
|
270
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
271
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
272
|
+
$destination?: (Lowercase<string> & {
|
|
273
|
+
readonly __hex: true;
|
|
274
|
+
} & {
|
|
275
|
+
readonly __address: true;
|
|
276
|
+
}) | undefined;
|
|
277
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
198
278
|
protocol?: number | undefined;
|
|
199
|
-
step_hashes?: import("@xylabs/hex").
|
|
279
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
200
280
|
}, {
|
|
201
281
|
schema: string;
|
|
202
|
-
_hash: import("@xylabs/hex").
|
|
203
|
-
_dataHash: import("@xylabs/hex").
|
|
282
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
283
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
204
284
|
}[]];
|
|
205
285
|
};
|
|
206
286
|
export declare const toHydratedBlockWithHashMeta: {
|
|
207
287
|
<T>(value: T): (T & [{
|
|
208
288
|
schema: "network.xyo.boundwitness";
|
|
209
|
-
addresses:
|
|
210
|
-
|
|
289
|
+
addresses: (Lowercase<string> & {
|
|
290
|
+
readonly __hex: true;
|
|
291
|
+
} & {
|
|
292
|
+
readonly __address: true;
|
|
293
|
+
})[];
|
|
294
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
211
295
|
payload_schemas: string[];
|
|
212
|
-
previous_hashes: (import("@xylabs/hex").
|
|
213
|
-
$signatures: (import("@xylabs/hex").
|
|
296
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
297
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
214
298
|
block: import("../index.ts").XL1BlockNumber;
|
|
215
|
-
chain: import("@xylabs/hex").
|
|
216
|
-
previous: import("@xylabs/hex").
|
|
299
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
300
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
217
301
|
$epoch: number;
|
|
218
|
-
_hash: import("@xylabs/hex").
|
|
219
|
-
_dataHash: import("@xylabs/hex").
|
|
220
|
-
$destination?:
|
|
221
|
-
|
|
302
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
303
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
304
|
+
$destination?: (Lowercase<string> & {
|
|
305
|
+
readonly __hex: true;
|
|
306
|
+
} & {
|
|
307
|
+
readonly __address: true;
|
|
308
|
+
}) | undefined;
|
|
309
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
222
310
|
protocol?: number | undefined;
|
|
223
|
-
step_hashes?: import("@xylabs/hex").
|
|
311
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
224
312
|
}, {
|
|
225
313
|
schema: string;
|
|
226
|
-
_hash: import("@xylabs/hex").
|
|
227
|
-
_dataHash: import("@xylabs/hex").
|
|
314
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
315
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
228
316
|
}[]]) | undefined;
|
|
229
317
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
230
318
|
schema: "network.xyo.boundwitness";
|
|
231
|
-
addresses:
|
|
232
|
-
|
|
319
|
+
addresses: (Lowercase<string> & {
|
|
320
|
+
readonly __hex: true;
|
|
321
|
+
} & {
|
|
322
|
+
readonly __address: true;
|
|
323
|
+
})[];
|
|
324
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
233
325
|
payload_schemas: string[];
|
|
234
|
-
previous_hashes: (import("@xylabs/hex").
|
|
235
|
-
$signatures: (import("@xylabs/hex").
|
|
326
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
327
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
236
328
|
block: import("../index.ts").XL1BlockNumber;
|
|
237
|
-
chain: import("@xylabs/hex").
|
|
238
|
-
previous: import("@xylabs/hex").
|
|
329
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
330
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
239
331
|
$epoch: number;
|
|
240
|
-
_hash: import("@xylabs/hex").
|
|
241
|
-
_dataHash: import("@xylabs/hex").
|
|
242
|
-
$destination?:
|
|
243
|
-
|
|
332
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
333
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
334
|
+
$destination?: (Lowercase<string> & {
|
|
335
|
+
readonly __hex: true;
|
|
336
|
+
} & {
|
|
337
|
+
readonly __address: true;
|
|
338
|
+
}) | undefined;
|
|
339
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
244
340
|
protocol?: number | undefined;
|
|
245
|
-
step_hashes?: import("@xylabs/hex").
|
|
341
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
246
342
|
}, {
|
|
247
343
|
schema: string;
|
|
248
|
-
_hash: import("@xylabs/hex").
|
|
249
|
-
_dataHash: import("@xylabs/hex").
|
|
344
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
345
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
250
346
|
}[]];
|
|
251
347
|
};
|
|
252
348
|
export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
253
349
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
254
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
255
|
-
|
|
350
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
351
|
+
readonly __hex: true;
|
|
352
|
+
} & {
|
|
353
|
+
readonly __address: true;
|
|
354
|
+
}, string>>>;
|
|
355
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
256
356
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
257
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
258
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
259
|
-
|
|
260
|
-
|
|
357
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
358
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
359
|
+
readonly __hex: true;
|
|
360
|
+
} & {
|
|
361
|
+
readonly __address: true;
|
|
362
|
+
}, string>>>;
|
|
363
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
364
|
+
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
261
365
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
262
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
263
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
366
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
367
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
264
368
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
265
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
369
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
266
370
|
$epoch: z.ZodNumber;
|
|
267
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
268
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
371
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
372
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
269
373
|
_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>>]>;
|
|
270
374
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
271
375
|
schema: z.ZodString;
|
|
272
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
273
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
376
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
377
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
274
378
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
275
379
|
}, z.core.$strip>>], null>;
|
|
276
380
|
export type HydratedBlockWithStorageMeta = z.infer<typeof HydratedBlockWithStorageMetaZod>;
|
|
277
381
|
export declare const isHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
278
382
|
schema: "network.xyo.boundwitness";
|
|
279
|
-
addresses:
|
|
280
|
-
|
|
383
|
+
addresses: (Lowercase<string> & {
|
|
384
|
+
readonly __hex: true;
|
|
385
|
+
} & {
|
|
386
|
+
readonly __address: true;
|
|
387
|
+
})[];
|
|
388
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
281
389
|
payload_schemas: string[];
|
|
282
|
-
previous_hashes: (import("@xylabs/hex").
|
|
283
|
-
$signatures: (import("@xylabs/hex").
|
|
390
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
391
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
284
392
|
block: import("../index.ts").XL1BlockNumber;
|
|
285
|
-
chain: import("@xylabs/hex").
|
|
286
|
-
previous: import("@xylabs/hex").
|
|
393
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
394
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
287
395
|
$epoch: number;
|
|
288
|
-
_hash: import("@xylabs/hex").
|
|
289
|
-
_dataHash: import("@xylabs/hex").
|
|
396
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
397
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
290
398
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
291
|
-
$destination?:
|
|
292
|
-
|
|
399
|
+
$destination?: (Lowercase<string> & {
|
|
400
|
+
readonly __hex: true;
|
|
401
|
+
} & {
|
|
402
|
+
readonly __address: true;
|
|
403
|
+
}) | undefined;
|
|
404
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
293
405
|
protocol?: number | undefined;
|
|
294
|
-
step_hashes?: import("@xylabs/hex").
|
|
406
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
295
407
|
}, {
|
|
296
408
|
schema: string;
|
|
297
|
-
_hash: import("@xylabs/hex").
|
|
298
|
-
_dataHash: import("@xylabs/hex").
|
|
409
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
410
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
299
411
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
300
412
|
}[]];
|
|
301
413
|
export declare const asHydratedBlockWithStorageMeta: {
|
|
302
414
|
<T>(value: T): (T & [{
|
|
303
415
|
schema: "network.xyo.boundwitness";
|
|
304
|
-
addresses:
|
|
305
|
-
|
|
416
|
+
addresses: (Lowercase<string> & {
|
|
417
|
+
readonly __hex: true;
|
|
418
|
+
} & {
|
|
419
|
+
readonly __address: true;
|
|
420
|
+
})[];
|
|
421
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
306
422
|
payload_schemas: string[];
|
|
307
|
-
previous_hashes: (import("@xylabs/hex").
|
|
308
|
-
$signatures: (import("@xylabs/hex").
|
|
423
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
424
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
309
425
|
block: import("../index.ts").XL1BlockNumber;
|
|
310
|
-
chain: import("@xylabs/hex").
|
|
311
|
-
previous: import("@xylabs/hex").
|
|
426
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
427
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
312
428
|
$epoch: number;
|
|
313
|
-
_hash: import("@xylabs/hex").
|
|
314
|
-
_dataHash: import("@xylabs/hex").
|
|
429
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
430
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
315
431
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
316
|
-
$destination?:
|
|
317
|
-
|
|
432
|
+
$destination?: (Lowercase<string> & {
|
|
433
|
+
readonly __hex: true;
|
|
434
|
+
} & {
|
|
435
|
+
readonly __address: true;
|
|
436
|
+
}) | undefined;
|
|
437
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
318
438
|
protocol?: number | undefined;
|
|
319
|
-
step_hashes?: import("@xylabs/hex").
|
|
439
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
320
440
|
}, {
|
|
321
441
|
schema: string;
|
|
322
|
-
_hash: import("@xylabs/hex").
|
|
323
|
-
_dataHash: import("@xylabs/hex").
|
|
442
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
443
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
324
444
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
325
445
|
}[]]) | undefined;
|
|
326
446
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
327
447
|
schema: "network.xyo.boundwitness";
|
|
328
|
-
addresses:
|
|
329
|
-
|
|
448
|
+
addresses: (Lowercase<string> & {
|
|
449
|
+
readonly __hex: true;
|
|
450
|
+
} & {
|
|
451
|
+
readonly __address: true;
|
|
452
|
+
})[];
|
|
453
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
330
454
|
payload_schemas: string[];
|
|
331
|
-
previous_hashes: (import("@xylabs/hex").
|
|
332
|
-
$signatures: (import("@xylabs/hex").
|
|
455
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
456
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
333
457
|
block: import("../index.ts").XL1BlockNumber;
|
|
334
|
-
chain: import("@xylabs/hex").
|
|
335
|
-
previous: import("@xylabs/hex").
|
|
458
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
459
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
336
460
|
$epoch: number;
|
|
337
|
-
_hash: import("@xylabs/hex").
|
|
338
|
-
_dataHash: import("@xylabs/hex").
|
|
461
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
462
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
339
463
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
340
|
-
$destination?:
|
|
341
|
-
|
|
464
|
+
$destination?: (Lowercase<string> & {
|
|
465
|
+
readonly __hex: true;
|
|
466
|
+
} & {
|
|
467
|
+
readonly __address: true;
|
|
468
|
+
}) | undefined;
|
|
469
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
342
470
|
protocol?: number | undefined;
|
|
343
|
-
step_hashes?: import("@xylabs/hex").
|
|
471
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
344
472
|
}, {
|
|
345
473
|
schema: string;
|
|
346
|
-
_hash: import("@xylabs/hex").
|
|
347
|
-
_dataHash: import("@xylabs/hex").
|
|
474
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
475
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
348
476
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
349
477
|
}[]];
|
|
350
478
|
};
|
|
351
479
|
export declare const toHydratedBlockWithStorageMeta: {
|
|
352
480
|
<T>(value: T): (T & [{
|
|
353
481
|
schema: "network.xyo.boundwitness";
|
|
354
|
-
addresses:
|
|
355
|
-
|
|
482
|
+
addresses: (Lowercase<string> & {
|
|
483
|
+
readonly __hex: true;
|
|
484
|
+
} & {
|
|
485
|
+
readonly __address: true;
|
|
486
|
+
})[];
|
|
487
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
356
488
|
payload_schemas: string[];
|
|
357
|
-
previous_hashes: (import("@xylabs/hex").
|
|
358
|
-
$signatures: (import("@xylabs/hex").
|
|
489
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
490
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
359
491
|
block: import("../index.ts").XL1BlockNumber;
|
|
360
|
-
chain: import("@xylabs/hex").
|
|
361
|
-
previous: import("@xylabs/hex").
|
|
492
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
493
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
362
494
|
$epoch: number;
|
|
363
|
-
_hash: import("@xylabs/hex").
|
|
364
|
-
_dataHash: import("@xylabs/hex").
|
|
495
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
496
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
365
497
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
366
|
-
$destination?:
|
|
367
|
-
|
|
498
|
+
$destination?: (Lowercase<string> & {
|
|
499
|
+
readonly __hex: true;
|
|
500
|
+
} & {
|
|
501
|
+
readonly __address: true;
|
|
502
|
+
}) | undefined;
|
|
503
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
368
504
|
protocol?: number | undefined;
|
|
369
|
-
step_hashes?: import("@xylabs/hex").
|
|
505
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
370
506
|
}, {
|
|
371
507
|
schema: string;
|
|
372
|
-
_hash: import("@xylabs/hex").
|
|
373
|
-
_dataHash: import("@xylabs/hex").
|
|
508
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
509
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
374
510
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
375
511
|
}[]]) | undefined;
|
|
376
512
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
377
513
|
schema: "network.xyo.boundwitness";
|
|
378
|
-
addresses:
|
|
379
|
-
|
|
514
|
+
addresses: (Lowercase<string> & {
|
|
515
|
+
readonly __hex: true;
|
|
516
|
+
} & {
|
|
517
|
+
readonly __address: true;
|
|
518
|
+
})[];
|
|
519
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
380
520
|
payload_schemas: string[];
|
|
381
|
-
previous_hashes: (import("@xylabs/hex").
|
|
382
|
-
$signatures: (import("@xylabs/hex").
|
|
521
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
522
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
383
523
|
block: import("../index.ts").XL1BlockNumber;
|
|
384
|
-
chain: import("@xylabs/hex").
|
|
385
|
-
previous: import("@xylabs/hex").
|
|
524
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
525
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
386
526
|
$epoch: number;
|
|
387
|
-
_hash: import("@xylabs/hex").
|
|
388
|
-
_dataHash: import("@xylabs/hex").
|
|
527
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
528
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
389
529
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
390
|
-
$destination?:
|
|
391
|
-
|
|
530
|
+
$destination?: (Lowercase<string> & {
|
|
531
|
+
readonly __hex: true;
|
|
532
|
+
} & {
|
|
533
|
+
readonly __address: true;
|
|
534
|
+
}) | undefined;
|
|
535
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
392
536
|
protocol?: number | undefined;
|
|
393
|
-
step_hashes?: import("@xylabs/hex").
|
|
537
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
394
538
|
}, {
|
|
395
539
|
schema: string;
|
|
396
|
-
_hash: import("@xylabs/hex").
|
|
397
|
-
_dataHash: import("@xylabs/hex").
|
|
540
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
541
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
398
542
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
399
543
|
}[]];
|
|
400
544
|
};
|
|
401
545
|
export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
402
546
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
403
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
404
|
-
|
|
547
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
548
|
+
readonly __hex: true;
|
|
549
|
+
} & {
|
|
550
|
+
readonly __address: true;
|
|
551
|
+
}, string>>>;
|
|
552
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
405
553
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
406
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
407
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
408
|
-
|
|
409
|
-
|
|
554
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
555
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
556
|
+
readonly __hex: true;
|
|
557
|
+
} & {
|
|
558
|
+
readonly __address: true;
|
|
559
|
+
}, string>>>;
|
|
560
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
561
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
410
562
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
411
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
412
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
563
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
564
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
413
565
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
414
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
566
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
415
567
|
$epoch: z.ZodNumber;
|
|
416
568
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
417
569
|
schema: z.ZodString;
|
|
@@ -419,56 +571,80 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
419
571
|
export type SignedHydratedBlock = z.infer<typeof SignedHydratedBlockZod>;
|
|
420
572
|
export declare const isSignedHydratedBlock: <T>(value: T) => value is T & [{
|
|
421
573
|
schema: "network.xyo.boundwitness";
|
|
422
|
-
addresses:
|
|
423
|
-
|
|
574
|
+
addresses: (Lowercase<string> & {
|
|
575
|
+
readonly __hex: true;
|
|
576
|
+
} & {
|
|
577
|
+
readonly __address: true;
|
|
578
|
+
})[];
|
|
579
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
424
580
|
payload_schemas: string[];
|
|
425
|
-
previous_hashes: (import("@xylabs/hex").
|
|
426
|
-
$signatures: import("@xylabs/hex").
|
|
581
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
582
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
427
583
|
block: import("../index.ts").XL1BlockNumber;
|
|
428
|
-
chain: import("@xylabs/hex").
|
|
429
|
-
previous: import("@xylabs/hex").
|
|
584
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
585
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
430
586
|
$epoch: number;
|
|
431
|
-
$destination?:
|
|
432
|
-
|
|
587
|
+
$destination?: (Lowercase<string> & {
|
|
588
|
+
readonly __hex: true;
|
|
589
|
+
} & {
|
|
590
|
+
readonly __address: true;
|
|
591
|
+
}) | undefined;
|
|
592
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
433
593
|
protocol?: number | undefined;
|
|
434
|
-
step_hashes?: import("@xylabs/hex").
|
|
594
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
435
595
|
}, {
|
|
436
596
|
schema: string;
|
|
437
597
|
}[]];
|
|
438
598
|
export declare const asSignedHydratedBlock: {
|
|
439
599
|
<T>(value: T): (T & [{
|
|
440
600
|
schema: "network.xyo.boundwitness";
|
|
441
|
-
addresses:
|
|
442
|
-
|
|
601
|
+
addresses: (Lowercase<string> & {
|
|
602
|
+
readonly __hex: true;
|
|
603
|
+
} & {
|
|
604
|
+
readonly __address: true;
|
|
605
|
+
})[];
|
|
606
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
443
607
|
payload_schemas: string[];
|
|
444
|
-
previous_hashes: (import("@xylabs/hex").
|
|
445
|
-
$signatures: import("@xylabs/hex").
|
|
608
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
609
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
446
610
|
block: import("../index.ts").XL1BlockNumber;
|
|
447
|
-
chain: import("@xylabs/hex").
|
|
448
|
-
previous: import("@xylabs/hex").
|
|
611
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
612
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
449
613
|
$epoch: number;
|
|
450
|
-
$destination?:
|
|
451
|
-
|
|
614
|
+
$destination?: (Lowercase<string> & {
|
|
615
|
+
readonly __hex: true;
|
|
616
|
+
} & {
|
|
617
|
+
readonly __address: true;
|
|
618
|
+
}) | undefined;
|
|
619
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
452
620
|
protocol?: number | undefined;
|
|
453
|
-
step_hashes?: import("@xylabs/hex").
|
|
621
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
454
622
|
}, {
|
|
455
623
|
schema: string;
|
|
456
624
|
}[]]) | undefined;
|
|
457
625
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
458
626
|
schema: "network.xyo.boundwitness";
|
|
459
|
-
addresses:
|
|
460
|
-
|
|
627
|
+
addresses: (Lowercase<string> & {
|
|
628
|
+
readonly __hex: true;
|
|
629
|
+
} & {
|
|
630
|
+
readonly __address: true;
|
|
631
|
+
})[];
|
|
632
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
461
633
|
payload_schemas: string[];
|
|
462
|
-
previous_hashes: (import("@xylabs/hex").
|
|
463
|
-
$signatures: import("@xylabs/hex").
|
|
634
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
635
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
464
636
|
block: import("../index.ts").XL1BlockNumber;
|
|
465
|
-
chain: import("@xylabs/hex").
|
|
466
|
-
previous: import("@xylabs/hex").
|
|
637
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
638
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
467
639
|
$epoch: number;
|
|
468
|
-
$destination?:
|
|
469
|
-
|
|
640
|
+
$destination?: (Lowercase<string> & {
|
|
641
|
+
readonly __hex: true;
|
|
642
|
+
} & {
|
|
643
|
+
readonly __address: true;
|
|
644
|
+
}) | undefined;
|
|
645
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
470
646
|
protocol?: number | undefined;
|
|
471
|
-
step_hashes?: import("@xylabs/hex").
|
|
647
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
472
648
|
}, {
|
|
473
649
|
schema: string;
|
|
474
650
|
}[]];
|
|
@@ -476,55 +652,79 @@ export declare const asSignedHydratedBlock: {
|
|
|
476
652
|
export declare const toSignedHydratedBlock: {
|
|
477
653
|
<T>(value: T): (T & [{
|
|
478
654
|
schema: "network.xyo.boundwitness";
|
|
479
|
-
addresses:
|
|
480
|
-
|
|
655
|
+
addresses: (Lowercase<string> & {
|
|
656
|
+
readonly __hex: true;
|
|
657
|
+
} & {
|
|
658
|
+
readonly __address: true;
|
|
659
|
+
})[];
|
|
660
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
481
661
|
payload_schemas: string[];
|
|
482
|
-
previous_hashes: (import("@xylabs/hex").
|
|
483
|
-
$signatures: import("@xylabs/hex").
|
|
662
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
663
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
484
664
|
block: import("../index.ts").XL1BlockNumber;
|
|
485
|
-
chain: import("@xylabs/hex").
|
|
486
|
-
previous: import("@xylabs/hex").
|
|
665
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
666
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
487
667
|
$epoch: number;
|
|
488
|
-
$destination?:
|
|
489
|
-
|
|
668
|
+
$destination?: (Lowercase<string> & {
|
|
669
|
+
readonly __hex: true;
|
|
670
|
+
} & {
|
|
671
|
+
readonly __address: true;
|
|
672
|
+
}) | undefined;
|
|
673
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
490
674
|
protocol?: number | undefined;
|
|
491
|
-
step_hashes?: import("@xylabs/hex").
|
|
675
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
492
676
|
}, {
|
|
493
677
|
schema: string;
|
|
494
678
|
}[]]) | undefined;
|
|
495
679
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
496
680
|
schema: "network.xyo.boundwitness";
|
|
497
|
-
addresses:
|
|
498
|
-
|
|
681
|
+
addresses: (Lowercase<string> & {
|
|
682
|
+
readonly __hex: true;
|
|
683
|
+
} & {
|
|
684
|
+
readonly __address: true;
|
|
685
|
+
})[];
|
|
686
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
499
687
|
payload_schemas: string[];
|
|
500
|
-
previous_hashes: (import("@xylabs/hex").
|
|
501
|
-
$signatures: import("@xylabs/hex").
|
|
688
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
689
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
502
690
|
block: import("../index.ts").XL1BlockNumber;
|
|
503
|
-
chain: import("@xylabs/hex").
|
|
504
|
-
previous: import("@xylabs/hex").
|
|
691
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
692
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
505
693
|
$epoch: number;
|
|
506
|
-
$destination?:
|
|
507
|
-
|
|
694
|
+
$destination?: (Lowercase<string> & {
|
|
695
|
+
readonly __hex: true;
|
|
696
|
+
} & {
|
|
697
|
+
readonly __address: true;
|
|
698
|
+
}) | undefined;
|
|
699
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
508
700
|
protocol?: number | undefined;
|
|
509
|
-
step_hashes?: import("@xylabs/hex").
|
|
701
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
510
702
|
}, {
|
|
511
703
|
schema: string;
|
|
512
704
|
}[]];
|
|
513
705
|
};
|
|
514
706
|
export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
515
707
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
516
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
517
|
-
|
|
708
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
709
|
+
readonly __hex: true;
|
|
710
|
+
} & {
|
|
711
|
+
readonly __address: true;
|
|
712
|
+
}, string>>>;
|
|
713
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
518
714
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
519
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
520
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
521
|
-
|
|
522
|
-
|
|
715
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
716
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
717
|
+
readonly __hex: true;
|
|
718
|
+
} & {
|
|
719
|
+
readonly __address: true;
|
|
720
|
+
}, string>>>;
|
|
721
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
722
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
523
723
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
524
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
525
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
724
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
725
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
526
726
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
527
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
727
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
528
728
|
$epoch: z.ZodNumber;
|
|
529
729
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
530
730
|
schema: z.ZodString;
|
|
@@ -532,56 +732,80 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
|
532
732
|
export type SignedHydratedBlockToJson = z.infer<typeof SignedHydratedBlockToJsonZod>;
|
|
533
733
|
export declare const isSignedHydratedBlockToJson: <T>(value: T) => value is T & [{
|
|
534
734
|
schema: "network.xyo.boundwitness";
|
|
535
|
-
addresses:
|
|
536
|
-
|
|
735
|
+
addresses: (Lowercase<string> & {
|
|
736
|
+
readonly __hex: true;
|
|
737
|
+
} & {
|
|
738
|
+
readonly __address: true;
|
|
739
|
+
})[];
|
|
740
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
537
741
|
payload_schemas: string[];
|
|
538
|
-
previous_hashes: (import("@xylabs/hex").
|
|
539
|
-
$signatures: import("@xylabs/hex").
|
|
742
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
743
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
540
744
|
block: import("../index.ts").XL1BlockNumber;
|
|
541
|
-
chain: import("@xylabs/hex").
|
|
542
|
-
previous: import("@xylabs/hex").
|
|
745
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
746
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
543
747
|
$epoch: number;
|
|
544
|
-
$destination?:
|
|
545
|
-
|
|
748
|
+
$destination?: (Lowercase<string> & {
|
|
749
|
+
readonly __hex: true;
|
|
750
|
+
} & {
|
|
751
|
+
readonly __address: true;
|
|
752
|
+
}) | undefined;
|
|
753
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
546
754
|
protocol?: number | undefined;
|
|
547
|
-
step_hashes?: import("@xylabs/hex").
|
|
755
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
548
756
|
}, {
|
|
549
757
|
schema: string;
|
|
550
758
|
}[]];
|
|
551
759
|
export declare const asSignedHydratedBlockToJson: {
|
|
552
760
|
<T>(value: T): (T & [{
|
|
553
761
|
schema: "network.xyo.boundwitness";
|
|
554
|
-
addresses:
|
|
555
|
-
|
|
762
|
+
addresses: (Lowercase<string> & {
|
|
763
|
+
readonly __hex: true;
|
|
764
|
+
} & {
|
|
765
|
+
readonly __address: true;
|
|
766
|
+
})[];
|
|
767
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
556
768
|
payload_schemas: string[];
|
|
557
|
-
previous_hashes: (import("@xylabs/hex").
|
|
558
|
-
$signatures: import("@xylabs/hex").
|
|
769
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
770
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
559
771
|
block: import("../index.ts").XL1BlockNumber;
|
|
560
|
-
chain: import("@xylabs/hex").
|
|
561
|
-
previous: import("@xylabs/hex").
|
|
772
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
773
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
562
774
|
$epoch: number;
|
|
563
|
-
$destination?:
|
|
564
|
-
|
|
775
|
+
$destination?: (Lowercase<string> & {
|
|
776
|
+
readonly __hex: true;
|
|
777
|
+
} & {
|
|
778
|
+
readonly __address: true;
|
|
779
|
+
}) | undefined;
|
|
780
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
565
781
|
protocol?: number | undefined;
|
|
566
|
-
step_hashes?: import("@xylabs/hex").
|
|
782
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
567
783
|
}, {
|
|
568
784
|
schema: string;
|
|
569
785
|
}[]]) | undefined;
|
|
570
786
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
571
787
|
schema: "network.xyo.boundwitness";
|
|
572
|
-
addresses:
|
|
573
|
-
|
|
788
|
+
addresses: (Lowercase<string> & {
|
|
789
|
+
readonly __hex: true;
|
|
790
|
+
} & {
|
|
791
|
+
readonly __address: true;
|
|
792
|
+
})[];
|
|
793
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
574
794
|
payload_schemas: string[];
|
|
575
|
-
previous_hashes: (import("@xylabs/hex").
|
|
576
|
-
$signatures: import("@xylabs/hex").
|
|
795
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
796
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
577
797
|
block: import("../index.ts").XL1BlockNumber;
|
|
578
|
-
chain: import("@xylabs/hex").
|
|
579
|
-
previous: import("@xylabs/hex").
|
|
798
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
799
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
580
800
|
$epoch: number;
|
|
581
|
-
$destination?:
|
|
582
|
-
|
|
801
|
+
$destination?: (Lowercase<string> & {
|
|
802
|
+
readonly __hex: true;
|
|
803
|
+
} & {
|
|
804
|
+
readonly __address: true;
|
|
805
|
+
}) | undefined;
|
|
806
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
583
807
|
protocol?: number | undefined;
|
|
584
|
-
step_hashes?: import("@xylabs/hex").
|
|
808
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
585
809
|
}, {
|
|
586
810
|
schema: string;
|
|
587
811
|
}[]];
|
|
@@ -589,371 +813,499 @@ export declare const asSignedHydratedBlockToJson: {
|
|
|
589
813
|
export declare const toSignedHydratedBlockToJson: {
|
|
590
814
|
<T>(value: T): (T & [{
|
|
591
815
|
schema: "network.xyo.boundwitness";
|
|
592
|
-
addresses:
|
|
593
|
-
|
|
816
|
+
addresses: (Lowercase<string> & {
|
|
817
|
+
readonly __hex: true;
|
|
818
|
+
} & {
|
|
819
|
+
readonly __address: true;
|
|
820
|
+
})[];
|
|
821
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
594
822
|
payload_schemas: string[];
|
|
595
|
-
previous_hashes: (import("@xylabs/hex").
|
|
596
|
-
$signatures: import("@xylabs/hex").
|
|
823
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
824
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
597
825
|
block: import("../index.ts").XL1BlockNumber;
|
|
598
|
-
chain: import("@xylabs/hex").
|
|
599
|
-
previous: import("@xylabs/hex").
|
|
826
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
827
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
600
828
|
$epoch: number;
|
|
601
|
-
$destination?:
|
|
602
|
-
|
|
829
|
+
$destination?: (Lowercase<string> & {
|
|
830
|
+
readonly __hex: true;
|
|
831
|
+
} & {
|
|
832
|
+
readonly __address: true;
|
|
833
|
+
}) | undefined;
|
|
834
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
603
835
|
protocol?: number | undefined;
|
|
604
|
-
step_hashes?: import("@xylabs/hex").
|
|
836
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
605
837
|
}, {
|
|
606
838
|
schema: string;
|
|
607
839
|
}[]]) | undefined;
|
|
608
840
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
609
841
|
schema: "network.xyo.boundwitness";
|
|
610
|
-
addresses:
|
|
611
|
-
|
|
842
|
+
addresses: (Lowercase<string> & {
|
|
843
|
+
readonly __hex: true;
|
|
844
|
+
} & {
|
|
845
|
+
readonly __address: true;
|
|
846
|
+
})[];
|
|
847
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
612
848
|
payload_schemas: string[];
|
|
613
|
-
previous_hashes: (import("@xylabs/hex").
|
|
614
|
-
$signatures: import("@xylabs/hex").
|
|
849
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
850
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
615
851
|
block: import("../index.ts").XL1BlockNumber;
|
|
616
|
-
chain: import("@xylabs/hex").
|
|
617
|
-
previous: import("@xylabs/hex").
|
|
852
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
853
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
618
854
|
$epoch: number;
|
|
619
|
-
$destination?:
|
|
620
|
-
|
|
855
|
+
$destination?: (Lowercase<string> & {
|
|
856
|
+
readonly __hex: true;
|
|
857
|
+
} & {
|
|
858
|
+
readonly __address: true;
|
|
859
|
+
}) | undefined;
|
|
860
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
621
861
|
protocol?: number | undefined;
|
|
622
|
-
step_hashes?: import("@xylabs/hex").
|
|
862
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
623
863
|
}, {
|
|
624
864
|
schema: string;
|
|
625
865
|
}[]];
|
|
626
866
|
};
|
|
627
867
|
export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
628
868
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
629
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
630
|
-
|
|
869
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
870
|
+
readonly __hex: true;
|
|
871
|
+
} & {
|
|
872
|
+
readonly __address: true;
|
|
873
|
+
}, string>>>;
|
|
874
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
631
875
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
632
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
633
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
634
|
-
|
|
635
|
-
|
|
876
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
877
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
878
|
+
readonly __hex: true;
|
|
879
|
+
} & {
|
|
880
|
+
readonly __address: true;
|
|
881
|
+
}, string>>>;
|
|
882
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
883
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
636
884
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
637
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
638
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
885
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
886
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
639
887
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
640
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
888
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
641
889
|
$epoch: z.ZodNumber;
|
|
642
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
643
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
890
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
891
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
644
892
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
645
893
|
schema: z.ZodString;
|
|
646
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
647
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
894
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
895
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
648
896
|
}, z.core.$strip>>], null>;
|
|
649
897
|
export type SignedHydratedBlockWithHashMeta = z.infer<typeof SignedHydratedBlockWithHashMetaZod>;
|
|
650
898
|
export declare const SignedHydratedBlockWithHashMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
651
899
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
652
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
653
|
-
|
|
900
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
901
|
+
readonly __hex: true;
|
|
902
|
+
} & {
|
|
903
|
+
readonly __address: true;
|
|
904
|
+
}, string>>>;
|
|
905
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
654
906
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
655
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
656
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
657
|
-
|
|
658
|
-
|
|
907
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
908
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
909
|
+
readonly __hex: true;
|
|
910
|
+
} & {
|
|
911
|
+
readonly __address: true;
|
|
912
|
+
}, string>>>;
|
|
913
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
914
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
659
915
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
660
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
661
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
916
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
917
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
662
918
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
663
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
919
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
664
920
|
$epoch: z.ZodNumber;
|
|
665
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
666
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
921
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
922
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
667
923
|
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
668
924
|
schema: z.ZodString;
|
|
669
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
670
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
925
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
926
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
671
927
|
}, z.core.$strip>>], null>;
|
|
672
928
|
export declare const isSignedHydratedBlockWithHashMeta: <T>(value: T) => value is T & [{
|
|
673
929
|
schema: "network.xyo.boundwitness";
|
|
674
|
-
addresses:
|
|
675
|
-
|
|
930
|
+
addresses: (Lowercase<string> & {
|
|
931
|
+
readonly __hex: true;
|
|
932
|
+
} & {
|
|
933
|
+
readonly __address: true;
|
|
934
|
+
})[];
|
|
935
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
676
936
|
payload_schemas: string[];
|
|
677
|
-
previous_hashes: (import("@xylabs/hex").
|
|
678
|
-
$signatures: import("@xylabs/hex").
|
|
937
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
938
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
679
939
|
block: import("../index.ts").XL1BlockNumber;
|
|
680
|
-
chain: import("@xylabs/hex").
|
|
681
|
-
previous: import("@xylabs/hex").
|
|
940
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
941
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
682
942
|
$epoch: number;
|
|
683
|
-
_hash: import("@xylabs/hex").
|
|
684
|
-
_dataHash: import("@xylabs/hex").
|
|
685
|
-
$destination?:
|
|
686
|
-
|
|
943
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
944
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
945
|
+
$destination?: (Lowercase<string> & {
|
|
946
|
+
readonly __hex: true;
|
|
947
|
+
} & {
|
|
948
|
+
readonly __address: true;
|
|
949
|
+
}) | undefined;
|
|
950
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
687
951
|
protocol?: number | undefined;
|
|
688
|
-
step_hashes?: import("@xylabs/hex").
|
|
952
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
689
953
|
}, {
|
|
690
954
|
schema: string;
|
|
691
|
-
_hash: import("@xylabs/hex").
|
|
692
|
-
_dataHash: import("@xylabs/hex").
|
|
955
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
956
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
693
957
|
}[]];
|
|
694
958
|
export declare const asSignedHydratedBlockWithHashMeta: {
|
|
695
959
|
<T>(value: T): (T & [{
|
|
696
960
|
schema: "network.xyo.boundwitness";
|
|
697
|
-
addresses:
|
|
698
|
-
|
|
961
|
+
addresses: (Lowercase<string> & {
|
|
962
|
+
readonly __hex: true;
|
|
963
|
+
} & {
|
|
964
|
+
readonly __address: true;
|
|
965
|
+
})[];
|
|
966
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
699
967
|
payload_schemas: string[];
|
|
700
|
-
previous_hashes: (import("@xylabs/hex").
|
|
701
|
-
$signatures: import("@xylabs/hex").
|
|
968
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
969
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
702
970
|
block: import("../index.ts").XL1BlockNumber;
|
|
703
|
-
chain: import("@xylabs/hex").
|
|
704
|
-
previous: import("@xylabs/hex").
|
|
971
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
972
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
705
973
|
$epoch: number;
|
|
706
|
-
_hash: import("@xylabs/hex").
|
|
707
|
-
_dataHash: import("@xylabs/hex").
|
|
708
|
-
$destination?:
|
|
709
|
-
|
|
974
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
975
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
976
|
+
$destination?: (Lowercase<string> & {
|
|
977
|
+
readonly __hex: true;
|
|
978
|
+
} & {
|
|
979
|
+
readonly __address: true;
|
|
980
|
+
}) | undefined;
|
|
981
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
710
982
|
protocol?: number | undefined;
|
|
711
|
-
step_hashes?: import("@xylabs/hex").
|
|
983
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
712
984
|
}, {
|
|
713
985
|
schema: string;
|
|
714
|
-
_hash: import("@xylabs/hex").
|
|
715
|
-
_dataHash: import("@xylabs/hex").
|
|
986
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
987
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
716
988
|
}[]]) | undefined;
|
|
717
989
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
718
990
|
schema: "network.xyo.boundwitness";
|
|
719
|
-
addresses:
|
|
720
|
-
|
|
991
|
+
addresses: (Lowercase<string> & {
|
|
992
|
+
readonly __hex: true;
|
|
993
|
+
} & {
|
|
994
|
+
readonly __address: true;
|
|
995
|
+
})[];
|
|
996
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
721
997
|
payload_schemas: string[];
|
|
722
|
-
previous_hashes: (import("@xylabs/hex").
|
|
723
|
-
$signatures: import("@xylabs/hex").
|
|
998
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
999
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
724
1000
|
block: import("../index.ts").XL1BlockNumber;
|
|
725
|
-
chain: import("@xylabs/hex").
|
|
726
|
-
previous: import("@xylabs/hex").
|
|
1001
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1002
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
727
1003
|
$epoch: number;
|
|
728
|
-
_hash: import("@xylabs/hex").
|
|
729
|
-
_dataHash: import("@xylabs/hex").
|
|
730
|
-
$destination?:
|
|
731
|
-
|
|
1004
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1005
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1006
|
+
$destination?: (Lowercase<string> & {
|
|
1007
|
+
readonly __hex: true;
|
|
1008
|
+
} & {
|
|
1009
|
+
readonly __address: true;
|
|
1010
|
+
}) | undefined;
|
|
1011
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
732
1012
|
protocol?: number | undefined;
|
|
733
|
-
step_hashes?: import("@xylabs/hex").
|
|
1013
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
734
1014
|
}, {
|
|
735
1015
|
schema: string;
|
|
736
|
-
_hash: import("@xylabs/hex").
|
|
737
|
-
_dataHash: import("@xylabs/hex").
|
|
1016
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1017
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
738
1018
|
}[]];
|
|
739
1019
|
};
|
|
740
1020
|
export declare const toSignedHydratedBlockWithHashMeta: {
|
|
741
1021
|
<T>(value: T): (T & [{
|
|
742
1022
|
schema: "network.xyo.boundwitness";
|
|
743
|
-
addresses:
|
|
744
|
-
|
|
1023
|
+
addresses: (Lowercase<string> & {
|
|
1024
|
+
readonly __hex: true;
|
|
1025
|
+
} & {
|
|
1026
|
+
readonly __address: true;
|
|
1027
|
+
})[];
|
|
1028
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
745
1029
|
payload_schemas: string[];
|
|
746
|
-
previous_hashes: (import("@xylabs/hex").
|
|
747
|
-
$signatures: import("@xylabs/hex").
|
|
1030
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1031
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
748
1032
|
block: import("../index.ts").XL1BlockNumber;
|
|
749
|
-
chain: import("@xylabs/hex").
|
|
750
|
-
previous: import("@xylabs/hex").
|
|
1033
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1034
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
751
1035
|
$epoch: number;
|
|
752
|
-
_hash: import("@xylabs/hex").
|
|
753
|
-
_dataHash: import("@xylabs/hex").
|
|
754
|
-
$destination?:
|
|
755
|
-
|
|
1036
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1037
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1038
|
+
$destination?: (Lowercase<string> & {
|
|
1039
|
+
readonly __hex: true;
|
|
1040
|
+
} & {
|
|
1041
|
+
readonly __address: true;
|
|
1042
|
+
}) | undefined;
|
|
1043
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
756
1044
|
protocol?: number | undefined;
|
|
757
|
-
step_hashes?: import("@xylabs/hex").
|
|
1045
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
758
1046
|
}, {
|
|
759
1047
|
schema: string;
|
|
760
|
-
_hash: import("@xylabs/hex").
|
|
761
|
-
_dataHash: import("@xylabs/hex").
|
|
1048
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1049
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
762
1050
|
}[]]) | undefined;
|
|
763
1051
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
764
1052
|
schema: "network.xyo.boundwitness";
|
|
765
|
-
addresses:
|
|
766
|
-
|
|
1053
|
+
addresses: (Lowercase<string> & {
|
|
1054
|
+
readonly __hex: true;
|
|
1055
|
+
} & {
|
|
1056
|
+
readonly __address: true;
|
|
1057
|
+
})[];
|
|
1058
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
767
1059
|
payload_schemas: string[];
|
|
768
|
-
previous_hashes: (import("@xylabs/hex").
|
|
769
|
-
$signatures: import("@xylabs/hex").
|
|
1060
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1061
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
770
1062
|
block: import("../index.ts").XL1BlockNumber;
|
|
771
|
-
chain: import("@xylabs/hex").
|
|
772
|
-
previous: import("@xylabs/hex").
|
|
1063
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1064
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
773
1065
|
$epoch: number;
|
|
774
|
-
_hash: import("@xylabs/hex").
|
|
775
|
-
_dataHash: import("@xylabs/hex").
|
|
776
|
-
$destination?:
|
|
777
|
-
|
|
1066
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1067
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1068
|
+
$destination?: (Lowercase<string> & {
|
|
1069
|
+
readonly __hex: true;
|
|
1070
|
+
} & {
|
|
1071
|
+
readonly __address: true;
|
|
1072
|
+
}) | undefined;
|
|
1073
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
778
1074
|
protocol?: number | undefined;
|
|
779
|
-
step_hashes?: import("@xylabs/hex").
|
|
1075
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
780
1076
|
}, {
|
|
781
1077
|
schema: string;
|
|
782
|
-
_hash: import("@xylabs/hex").
|
|
783
|
-
_dataHash: import("@xylabs/hex").
|
|
1078
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1079
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
784
1080
|
}[]];
|
|
785
1081
|
};
|
|
786
1082
|
export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
787
1083
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
788
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
789
|
-
|
|
1084
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1085
|
+
readonly __hex: true;
|
|
1086
|
+
} & {
|
|
1087
|
+
readonly __address: true;
|
|
1088
|
+
}, string>>>;
|
|
1089
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
790
1090
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
791
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
792
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
793
|
-
|
|
794
|
-
|
|
1091
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1092
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1093
|
+
readonly __hex: true;
|
|
1094
|
+
} & {
|
|
1095
|
+
readonly __address: true;
|
|
1096
|
+
}, string>>>;
|
|
1097
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1098
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
795
1099
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
796
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
797
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1100
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1101
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
798
1102
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
799
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1103
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
800
1104
|
$epoch: z.ZodNumber;
|
|
801
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
802
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1105
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1106
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
803
1107
|
_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>>]>;
|
|
804
1108
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
805
1109
|
schema: z.ZodString;
|
|
806
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
807
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1110
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1111
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
808
1112
|
_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>>]>;
|
|
809
1113
|
}, z.core.$strip>>], null>;
|
|
810
1114
|
export type SignedHydratedBlockWithStorageMeta = z.infer<typeof SignedHydratedBlockWithStorageMetaZod>;
|
|
811
1115
|
export declare const isSignedHydratedBlockWithStorageMeta: <T>(value: T) => value is T & [{
|
|
812
1116
|
schema: "network.xyo.boundwitness";
|
|
813
|
-
addresses:
|
|
814
|
-
|
|
1117
|
+
addresses: (Lowercase<string> & {
|
|
1118
|
+
readonly __hex: true;
|
|
1119
|
+
} & {
|
|
1120
|
+
readonly __address: true;
|
|
1121
|
+
})[];
|
|
1122
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
815
1123
|
payload_schemas: string[];
|
|
816
|
-
previous_hashes: (import("@xylabs/hex").
|
|
817
|
-
$signatures: import("@xylabs/hex").
|
|
1124
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1125
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
818
1126
|
block: import("../index.ts").XL1BlockNumber;
|
|
819
|
-
chain: import("@xylabs/hex").
|
|
820
|
-
previous: import("@xylabs/hex").
|
|
1127
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1128
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
821
1129
|
$epoch: number;
|
|
822
|
-
_hash: import("@xylabs/hex").
|
|
823
|
-
_dataHash: import("@xylabs/hex").
|
|
1130
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1131
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
824
1132
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
825
|
-
$destination?:
|
|
826
|
-
|
|
1133
|
+
$destination?: (Lowercase<string> & {
|
|
1134
|
+
readonly __hex: true;
|
|
1135
|
+
} & {
|
|
1136
|
+
readonly __address: true;
|
|
1137
|
+
}) | undefined;
|
|
1138
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
827
1139
|
protocol?: number | undefined;
|
|
828
|
-
step_hashes?: import("@xylabs/hex").
|
|
1140
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
829
1141
|
}, {
|
|
830
1142
|
schema: string;
|
|
831
|
-
_hash: import("@xylabs/hex").
|
|
832
|
-
_dataHash: import("@xylabs/hex").
|
|
1143
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1144
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
833
1145
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
834
1146
|
}[]];
|
|
835
1147
|
export declare const asSignedHydratedBlockWithStorageMeta: {
|
|
836
1148
|
<T>(value: T): (T & [{
|
|
837
1149
|
schema: "network.xyo.boundwitness";
|
|
838
|
-
addresses:
|
|
839
|
-
|
|
1150
|
+
addresses: (Lowercase<string> & {
|
|
1151
|
+
readonly __hex: true;
|
|
1152
|
+
} & {
|
|
1153
|
+
readonly __address: true;
|
|
1154
|
+
})[];
|
|
1155
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
840
1156
|
payload_schemas: string[];
|
|
841
|
-
previous_hashes: (import("@xylabs/hex").
|
|
842
|
-
$signatures: import("@xylabs/hex").
|
|
1157
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1158
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
843
1159
|
block: import("../index.ts").XL1BlockNumber;
|
|
844
|
-
chain: import("@xylabs/hex").
|
|
845
|
-
previous: import("@xylabs/hex").
|
|
1160
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1161
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
846
1162
|
$epoch: number;
|
|
847
|
-
_hash: import("@xylabs/hex").
|
|
848
|
-
_dataHash: import("@xylabs/hex").
|
|
1163
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1164
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
849
1165
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
850
|
-
$destination?:
|
|
851
|
-
|
|
1166
|
+
$destination?: (Lowercase<string> & {
|
|
1167
|
+
readonly __hex: true;
|
|
1168
|
+
} & {
|
|
1169
|
+
readonly __address: true;
|
|
1170
|
+
}) | undefined;
|
|
1171
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
852
1172
|
protocol?: number | undefined;
|
|
853
|
-
step_hashes?: import("@xylabs/hex").
|
|
1173
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
854
1174
|
}, {
|
|
855
1175
|
schema: string;
|
|
856
|
-
_hash: import("@xylabs/hex").
|
|
857
|
-
_dataHash: import("@xylabs/hex").
|
|
1176
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1177
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
858
1178
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
859
1179
|
}[]]) | undefined;
|
|
860
1180
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
861
1181
|
schema: "network.xyo.boundwitness";
|
|
862
|
-
addresses:
|
|
863
|
-
|
|
1182
|
+
addresses: (Lowercase<string> & {
|
|
1183
|
+
readonly __hex: true;
|
|
1184
|
+
} & {
|
|
1185
|
+
readonly __address: true;
|
|
1186
|
+
})[];
|
|
1187
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
864
1188
|
payload_schemas: string[];
|
|
865
|
-
previous_hashes: (import("@xylabs/hex").
|
|
866
|
-
$signatures: import("@xylabs/hex").
|
|
1189
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1190
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
867
1191
|
block: import("../index.ts").XL1BlockNumber;
|
|
868
|
-
chain: import("@xylabs/hex").
|
|
869
|
-
previous: import("@xylabs/hex").
|
|
1192
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1193
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
870
1194
|
$epoch: number;
|
|
871
|
-
_hash: import("@xylabs/hex").
|
|
872
|
-
_dataHash: import("@xylabs/hex").
|
|
1195
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1196
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
873
1197
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
874
|
-
$destination?:
|
|
875
|
-
|
|
1198
|
+
$destination?: (Lowercase<string> & {
|
|
1199
|
+
readonly __hex: true;
|
|
1200
|
+
} & {
|
|
1201
|
+
readonly __address: true;
|
|
1202
|
+
}) | undefined;
|
|
1203
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
876
1204
|
protocol?: number | undefined;
|
|
877
|
-
step_hashes?: import("@xylabs/hex").
|
|
1205
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
878
1206
|
}, {
|
|
879
1207
|
schema: string;
|
|
880
|
-
_hash: import("@xylabs/hex").
|
|
881
|
-
_dataHash: import("@xylabs/hex").
|
|
1208
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1209
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
882
1210
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
883
1211
|
}[]];
|
|
884
1212
|
};
|
|
885
1213
|
export declare const toSignedHydratedBlockWithStorageMeta: {
|
|
886
1214
|
<T>(value: T): (T & [{
|
|
887
1215
|
schema: "network.xyo.boundwitness";
|
|
888
|
-
addresses:
|
|
889
|
-
|
|
1216
|
+
addresses: (Lowercase<string> & {
|
|
1217
|
+
readonly __hex: true;
|
|
1218
|
+
} & {
|
|
1219
|
+
readonly __address: true;
|
|
1220
|
+
})[];
|
|
1221
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
890
1222
|
payload_schemas: string[];
|
|
891
|
-
previous_hashes: (import("@xylabs/hex").
|
|
892
|
-
$signatures: import("@xylabs/hex").
|
|
1223
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1224
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
893
1225
|
block: import("../index.ts").XL1BlockNumber;
|
|
894
|
-
chain: import("@xylabs/hex").
|
|
895
|
-
previous: import("@xylabs/hex").
|
|
1226
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1227
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
896
1228
|
$epoch: number;
|
|
897
|
-
_hash: import("@xylabs/hex").
|
|
898
|
-
_dataHash: import("@xylabs/hex").
|
|
1229
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1230
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
899
1231
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
900
|
-
$destination?:
|
|
901
|
-
|
|
1232
|
+
$destination?: (Lowercase<string> & {
|
|
1233
|
+
readonly __hex: true;
|
|
1234
|
+
} & {
|
|
1235
|
+
readonly __address: true;
|
|
1236
|
+
}) | undefined;
|
|
1237
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
902
1238
|
protocol?: number | undefined;
|
|
903
|
-
step_hashes?: import("@xylabs/hex").
|
|
1239
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
904
1240
|
}, {
|
|
905
1241
|
schema: string;
|
|
906
|
-
_hash: import("@xylabs/hex").
|
|
907
|
-
_dataHash: import("@xylabs/hex").
|
|
1242
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1243
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
908
1244
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
909
1245
|
}[]]) | undefined;
|
|
910
1246
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
911
1247
|
schema: "network.xyo.boundwitness";
|
|
912
|
-
addresses:
|
|
913
|
-
|
|
1248
|
+
addresses: (Lowercase<string> & {
|
|
1249
|
+
readonly __hex: true;
|
|
1250
|
+
} & {
|
|
1251
|
+
readonly __address: true;
|
|
1252
|
+
})[];
|
|
1253
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
914
1254
|
payload_schemas: string[];
|
|
915
|
-
previous_hashes: (import("@xylabs/hex").
|
|
916
|
-
$signatures: import("@xylabs/hex").
|
|
1255
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1256
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
917
1257
|
block: import("../index.ts").XL1BlockNumber;
|
|
918
|
-
chain: import("@xylabs/hex").
|
|
919
|
-
previous: import("@xylabs/hex").
|
|
1258
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1259
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
920
1260
|
$epoch: number;
|
|
921
|
-
_hash: import("@xylabs/hex").
|
|
922
|
-
_dataHash: import("@xylabs/hex").
|
|
1261
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1262
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
923
1263
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
924
|
-
$destination?:
|
|
925
|
-
|
|
1264
|
+
$destination?: (Lowercase<string> & {
|
|
1265
|
+
readonly __hex: true;
|
|
1266
|
+
} & {
|
|
1267
|
+
readonly __address: true;
|
|
1268
|
+
}) | undefined;
|
|
1269
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
926
1270
|
protocol?: number | undefined;
|
|
927
|
-
step_hashes?: import("@xylabs/hex").
|
|
1271
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
928
1272
|
}, {
|
|
929
1273
|
schema: string;
|
|
930
|
-
_hash: import("@xylabs/hex").
|
|
931
|
-
_dataHash: import("@xylabs/hex").
|
|
1274
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1275
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
932
1276
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
933
1277
|
}[]];
|
|
934
1278
|
};
|
|
935
1279
|
export declare const SignedHydratedBlockWithStorageMetaishZod: z.ZodTuple<[z.ZodUnion<readonly [z.ZodObject<{
|
|
936
1280
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
937
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
938
|
-
|
|
1281
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1282
|
+
readonly __hex: true;
|
|
1283
|
+
} & {
|
|
1284
|
+
readonly __address: true;
|
|
1285
|
+
}, string>>>;
|
|
1286
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
939
1287
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
940
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
941
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
942
|
-
|
|
943
|
-
|
|
1288
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1289
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1290
|
+
readonly __hex: true;
|
|
1291
|
+
} & {
|
|
1292
|
+
readonly __address: true;
|
|
1293
|
+
}, string>>>;
|
|
1294
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1295
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
944
1296
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
945
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
946
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1297
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1298
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
947
1299
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
948
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1300
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
949
1301
|
$epoch: z.ZodNumber;
|
|
950
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
951
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1302
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1303
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
952
1304
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
953
1305
|
}, z.core.$strip>]>, z.ZodArray<z.ZodObject<{
|
|
954
1306
|
schema: z.ZodString;
|
|
955
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
956
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1307
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1308
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
957
1309
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
958
1310
|
}, z.core.$strip>>], null>;
|
|
959
1311
|
//# sourceMappingURL=HydratedBlock.d.ts.map
|