@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.
Files changed (110) hide show
  1. package/dist/neutral/block/AllowedBlockPayload.d.ts +4 -12
  2. package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
  3. package/dist/neutral/index.mjs +29 -29
  4. package/dist/neutral/index.mjs.map +1 -1
  5. package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +1 -1
  6. package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
  7. package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +1 -1
  8. package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
  9. package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -1
  10. package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
  11. package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +1 -1
  12. package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
  13. package/dist/neutral/model/BlockRange/BlockRange.d.ts +1 -1
  14. package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
  15. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +1 -1
  16. package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
  17. package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -1
  18. package/dist/neutral/model/BlockRange/Numberish.d.ts.map +1 -1
  19. package/dist/neutral/model/BlockRange/Range.d.ts +1 -1
  20. package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
  21. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +1 -1
  22. package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
  23. package/dist/neutral/model/StepIdentity.d.ts +1 -1
  24. package/dist/neutral/model/StepIdentity.d.ts.map +1 -1
  25. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +11 -11
  26. package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
  27. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +20 -20
  28. package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -1
  29. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +10 -10
  30. package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
  31. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +11 -11
  32. package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
  33. package/dist/neutral/payload/elevatable/Time.d.ts +16 -16
  34. package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
  35. package/dist/neutral/payload/elevatable/TransferPayload.d.ts +45 -13
  36. package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
  37. package/dist/neutral/xl1/isXL1Factory.d.ts +1 -1
  38. package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
  39. package/dist/neutral/zod/ArrayBuffer.d.ts +1 -1
  40. package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -1
  41. package/dist/neutral/zod/Chain.d.ts +2 -2
  42. package/dist/neutral/zod/Chain.d.ts.map +1 -1
  43. package/dist/neutral/zod/HydratedBlock.d.ts +853 -501
  44. package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
  45. package/dist/neutral/zod/HydratedTransaction.d.ts +1471 -823
  46. package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
  47. package/dist/neutral/zod/RewardsRangeOptions.d.ts +5 -1
  48. package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -1
  49. package/dist/neutral/zod/Sequence.d.ts +1 -1
  50. package/dist/neutral/zod/Sequence.d.ts.map +1 -1
  51. package/dist/neutral/zod/Stake.d.ts +74 -18
  52. package/dist/neutral/zod/Stake.d.ts.map +1 -1
  53. package/dist/neutral/zod/TimeDomain.d.ts +1 -1
  54. package/dist/neutral/zod/TimeDomain.d.ts.map +1 -1
  55. package/dist/neutral/zod/TransactionBoundWitness.d.ts +1407 -751
  56. package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
  57. package/dist/neutral/zod/TransactionFees.d.ts +39 -39
  58. package/dist/neutral/zod/TransactionFees.d.ts.map +1 -1
  59. package/dist/neutral/zod/TransferPair.d.ts +10 -2
  60. package/dist/neutral/zod/TransferPair.d.ts.map +1 -1
  61. package/dist/neutral/zod/block/BlockBoundWitness.d.ts +334 -190
  62. package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -1
  63. package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -55
  64. package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
  65. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +185 -105
  66. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
  67. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +219 -123
  68. package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
  69. package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +97 -49
  70. package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
  71. package/dist/neutral/zod/payload/WithHashMetaish.d.ts +8 -8
  72. package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -1
  73. package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +8 -8
  74. package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -1
  75. package/package.json +31 -31
  76. package/src/block/AllowedBlockPayload.ts +3 -3
  77. package/src/model/BlockNumber/BlockNumber.ts +1 -1
  78. package/src/model/BlockNumber/EthBlockNumber.ts +1 -1
  79. package/src/model/BlockNumber/Numberish.ts +1 -1
  80. package/src/model/BlockNumber/XL1BlockNumber.ts +1 -1
  81. package/src/model/BlockRange/BlockRange.ts +1 -1
  82. package/src/model/BlockRange/EthBlockRange.ts +1 -1
  83. package/src/model/BlockRange/Numberish.ts +1 -1
  84. package/src/model/BlockRange/Range.ts +1 -1
  85. package/src/model/BlockRange/XL1BlockRange.ts +1 -1
  86. package/src/model/StepIdentity.ts +1 -1
  87. package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +1 -1
  88. package/src/payload/elevatable/Bridge/BridgeDetails.ts +1 -1
  89. package/src/payload/elevatable/Bridge/BridgeIntent.ts +1 -1
  90. package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +1 -1
  91. package/src/payload/elevatable/Time.ts +1 -1
  92. package/src/payload/elevatable/TransferPayload.ts +1 -1
  93. package/src/xl1/isXL1Factory.ts +1 -1
  94. package/src/zod/ArrayBuffer.ts +1 -1
  95. package/src/zod/Chain.ts +1 -1
  96. package/src/zod/HydratedBlock.ts +1 -1
  97. package/src/zod/HydratedTransaction.ts +3 -3
  98. package/src/zod/Sequence.ts +1 -1
  99. package/src/zod/Stake.ts +1 -1
  100. package/src/zod/TimeDomain.ts +1 -1
  101. package/src/zod/TransactionBoundWitness.ts +1 -1
  102. package/src/zod/TransactionFees.ts +1 -1
  103. package/src/zod/TransferPair.ts +1 -1
  104. package/src/zod/block/BlockBoundWitness.ts +1 -1
  105. package/src/zod/block/signed/SignedBlockBoundWitness.ts +1 -1
  106. package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +1 -1
  107. package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +1 -1
  108. package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +1 -1
  109. package/src/zod/payload/WithHashMetaish.ts +1 -1
  110. package/src/zod/payload/WithStorageMetaish.ts +1 -1
@@ -1,18 +1,26 @@
1
- import * as z from 'zod';
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<import("@xylabs/hex").Address, string>>>;
5
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
8
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
9
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
10
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
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").Hex, string>>;
13
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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: import("@xylabs/hex").Address[];
24
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
27
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
30
- previous: import("@xylabs/hex").Hash | null;
41
+ chain: import("@xylabs/hex").BrandedHex;
42
+ previous: import("@xylabs/hex").BrandedHash | null;
31
43
  $epoch: number;
32
- $destination?: import("@xylabs/hex").Address | undefined;
33
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
43
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
46
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
49
- previous: import("@xylabs/hex").Hash | null;
68
+ chain: import("@xylabs/hex").BrandedHex;
69
+ previous: import("@xylabs/hex").BrandedHash | null;
50
70
  $epoch: number;
51
- $destination?: import("@xylabs/hex").Address | undefined;
52
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
61
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
64
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
67
- previous: import("@xylabs/hex").Hash | null;
94
+ chain: import("@xylabs/hex").BrandedHex;
95
+ previous: import("@xylabs/hex").BrandedHash | null;
68
96
  $epoch: number;
69
- $destination?: import("@xylabs/hex").Address | undefined;
70
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
81
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
84
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
87
- previous: import("@xylabs/hex").Hash | null;
122
+ chain: import("@xylabs/hex").BrandedHex;
123
+ previous: import("@xylabs/hex").BrandedHash | null;
88
124
  $epoch: number;
89
- $destination?: import("@xylabs/hex").Address | undefined;
90
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
99
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
102
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
105
- previous: import("@xylabs/hex").Hash | null;
148
+ chain: import("@xylabs/hex").BrandedHex;
149
+ previous: import("@xylabs/hex").BrandedHash | null;
106
150
  $epoch: number;
107
- $destination?: import("@xylabs/hex").Address | undefined;
108
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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<import("@xylabs/hex").Address, string>>>;
118
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
121
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
122
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
123
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
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").Hex, string>>;
126
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
131
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
135
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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: import("@xylabs/hex").Address[];
141
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
144
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
147
- previous: import("@xylabs/hex").Hash | null;
206
+ chain: import("@xylabs/hex").BrandedHex;
207
+ previous: import("@xylabs/hex").BrandedHash | null;
148
208
  $epoch: number;
149
- _hash: import("@xylabs/hex").Hash;
150
- _dataHash: import("@xylabs/hex").Hash;
151
- $destination?: import("@xylabs/hex").Address | undefined;
152
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
218
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
155
219
  }, {
156
220
  schema: string;
157
- _hash: import("@xylabs/hex").Hash;
158
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
164
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
167
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
170
- previous: import("@xylabs/hex").Hash | null;
237
+ chain: import("@xylabs/hex").BrandedHex;
238
+ previous: import("@xylabs/hex").BrandedHash | null;
171
239
  $epoch: number;
172
- _hash: import("@xylabs/hex").Hash;
173
- _dataHash: import("@xylabs/hex").Hash;
174
- $destination?: import("@xylabs/hex").Address | undefined;
175
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
249
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
178
250
  }, {
179
251
  schema: string;
180
- _hash: import("@xylabs/hex").Hash;
181
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
186
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
189
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
192
- previous: import("@xylabs/hex").Hash | null;
267
+ chain: import("@xylabs/hex").BrandedHex;
268
+ previous: import("@xylabs/hex").BrandedHash | null;
193
269
  $epoch: number;
194
- _hash: import("@xylabs/hex").Hash;
195
- _dataHash: import("@xylabs/hex").Hash;
196
- $destination?: import("@xylabs/hex").Address | undefined;
197
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
279
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
200
280
  }, {
201
281
  schema: string;
202
- _hash: import("@xylabs/hex").Hash;
203
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
210
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
213
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
216
- previous: import("@xylabs/hex").Hash | null;
299
+ chain: import("@xylabs/hex").BrandedHex;
300
+ previous: import("@xylabs/hex").BrandedHash | null;
217
301
  $epoch: number;
218
- _hash: import("@xylabs/hex").Hash;
219
- _dataHash: import("@xylabs/hex").Hash;
220
- $destination?: import("@xylabs/hex").Address | undefined;
221
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
311
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
224
312
  }, {
225
313
  schema: string;
226
- _hash: import("@xylabs/hex").Hash;
227
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
232
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
235
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
238
- previous: import("@xylabs/hex").Hash | null;
329
+ chain: import("@xylabs/hex").BrandedHex;
330
+ previous: import("@xylabs/hex").BrandedHash | null;
239
331
  $epoch: number;
240
- _hash: import("@xylabs/hex").Hash;
241
- _dataHash: import("@xylabs/hex").Hash;
242
- $destination?: import("@xylabs/hex").Address | undefined;
243
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
341
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
246
342
  }, {
247
343
  schema: string;
248
- _hash: import("@xylabs/hex").Hash;
249
- _dataHash: import("@xylabs/hex").Hash;
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<import("@xylabs/hex").Address, string>>>;
255
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
258
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
259
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
260
- $signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
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").Hex, string>>;
263
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
268
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
273
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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: import("@xylabs/hex").Address[];
280
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
283
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
286
- previous: import("@xylabs/hex").Hash | null;
393
+ chain: import("@xylabs/hex").BrandedHex;
394
+ previous: import("@xylabs/hex").BrandedHash | null;
287
395
  $epoch: number;
288
- _hash: import("@xylabs/hex").Hash;
289
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
292
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
406
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
295
407
  }, {
296
408
  schema: string;
297
- _hash: import("@xylabs/hex").Hash;
298
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
305
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
308
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
311
- previous: import("@xylabs/hex").Hash | null;
426
+ chain: import("@xylabs/hex").BrandedHex;
427
+ previous: import("@xylabs/hex").BrandedHash | null;
312
428
  $epoch: number;
313
- _hash: import("@xylabs/hex").Hash;
314
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
317
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
439
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
320
440
  }, {
321
441
  schema: string;
322
- _hash: import("@xylabs/hex").Hash;
323
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
329
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
332
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
335
- previous: import("@xylabs/hex").Hash | null;
458
+ chain: import("@xylabs/hex").BrandedHex;
459
+ previous: import("@xylabs/hex").BrandedHash | null;
336
460
  $epoch: number;
337
- _hash: import("@xylabs/hex").Hash;
338
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
341
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
471
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
344
472
  }, {
345
473
  schema: string;
346
- _hash: import("@xylabs/hex").Hash;
347
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
355
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
358
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
361
- previous: import("@xylabs/hex").Hash | null;
492
+ chain: import("@xylabs/hex").BrandedHex;
493
+ previous: import("@xylabs/hex").BrandedHash | null;
362
494
  $epoch: number;
363
- _hash: import("@xylabs/hex").Hash;
364
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
367
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
505
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
370
506
  }, {
371
507
  schema: string;
372
- _hash: import("@xylabs/hex").Hash;
373
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
379
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
382
- $signatures: (import("@xylabs/hex").Hex | null)[];
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").Hex;
385
- previous: import("@xylabs/hex").Hash | null;
524
+ chain: import("@xylabs/hex").BrandedHex;
525
+ previous: import("@xylabs/hex").BrandedHash | null;
386
526
  $epoch: number;
387
- _hash: import("@xylabs/hex").Hash;
388
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
391
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
537
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
394
538
  }, {
395
539
  schema: string;
396
- _hash: import("@xylabs/hex").Hash;
397
- _dataHash: import("@xylabs/hex").Hash;
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<import("@xylabs/hex").Address, string>>>;
404
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
407
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
408
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
409
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
412
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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: import("@xylabs/hex").Address[];
423
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
426
- $signatures: import("@xylabs/hex").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").Hex;
429
- previous: import("@xylabs/hex").Hash | null;
584
+ chain: import("@xylabs/hex").BrandedHex;
585
+ previous: import("@xylabs/hex").BrandedHash | null;
430
586
  $epoch: number;
431
- $destination?: import("@xylabs/hex").Address | undefined;
432
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
442
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
445
- $signatures: import("@xylabs/hex").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").Hex;
448
- previous: import("@xylabs/hex").Hash | null;
611
+ chain: import("@xylabs/hex").BrandedHex;
612
+ previous: import("@xylabs/hex").BrandedHash | null;
449
613
  $epoch: number;
450
- $destination?: import("@xylabs/hex").Address | undefined;
451
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
460
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
463
- $signatures: import("@xylabs/hex").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").Hex;
466
- previous: import("@xylabs/hex").Hash | null;
637
+ chain: import("@xylabs/hex").BrandedHex;
638
+ previous: import("@xylabs/hex").BrandedHash | null;
467
639
  $epoch: number;
468
- $destination?: import("@xylabs/hex").Address | undefined;
469
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
480
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
483
- $signatures: import("@xylabs/hex").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").Hex;
486
- previous: import("@xylabs/hex").Hash | null;
665
+ chain: import("@xylabs/hex").BrandedHex;
666
+ previous: import("@xylabs/hex").BrandedHash | null;
487
667
  $epoch: number;
488
- $destination?: import("@xylabs/hex").Address | undefined;
489
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
498
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
501
- $signatures: import("@xylabs/hex").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").Hex;
504
- previous: import("@xylabs/hex").Hash | null;
691
+ chain: import("@xylabs/hex").BrandedHex;
692
+ previous: import("@xylabs/hex").BrandedHash | null;
505
693
  $epoch: number;
506
- $destination?: import("@xylabs/hex").Address | undefined;
507
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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<import("@xylabs/hex").Address, string>>>;
517
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
520
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
521
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
522
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
525
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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: import("@xylabs/hex").Address[];
536
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
539
- $signatures: import("@xylabs/hex").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").Hex;
542
- previous: import("@xylabs/hex").Hash | null;
745
+ chain: import("@xylabs/hex").BrandedHex;
746
+ previous: import("@xylabs/hex").BrandedHash | null;
543
747
  $epoch: number;
544
- $destination?: import("@xylabs/hex").Address | undefined;
545
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
555
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
558
- $signatures: import("@xylabs/hex").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").Hex;
561
- previous: import("@xylabs/hex").Hash | null;
772
+ chain: import("@xylabs/hex").BrandedHex;
773
+ previous: import("@xylabs/hex").BrandedHash | null;
562
774
  $epoch: number;
563
- $destination?: import("@xylabs/hex").Address | undefined;
564
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
573
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
576
- $signatures: import("@xylabs/hex").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").Hex;
579
- previous: import("@xylabs/hex").Hash | null;
798
+ chain: import("@xylabs/hex").BrandedHex;
799
+ previous: import("@xylabs/hex").BrandedHash | null;
580
800
  $epoch: number;
581
- $destination?: import("@xylabs/hex").Address | undefined;
582
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
593
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
596
- $signatures: import("@xylabs/hex").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").Hex;
599
- previous: import("@xylabs/hex").Hash | null;
826
+ chain: import("@xylabs/hex").BrandedHex;
827
+ previous: import("@xylabs/hex").BrandedHash | null;
600
828
  $epoch: number;
601
- $destination?: import("@xylabs/hex").Address | undefined;
602
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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: import("@xylabs/hex").Address[];
611
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
614
- $signatures: import("@xylabs/hex").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").Hex;
617
- previous: import("@xylabs/hex").Hash | null;
852
+ chain: import("@xylabs/hex").BrandedHex;
853
+ previous: import("@xylabs/hex").BrandedHash | null;
618
854
  $epoch: number;
619
- $destination?: import("@xylabs/hex").Address | undefined;
620
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
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<import("@xylabs/hex").Address, string>>>;
630
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
633
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
634
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
635
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
638
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
643
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
647
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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<import("@xylabs/hex").Address, string>>>;
653
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
656
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
657
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
658
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
661
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
666
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
670
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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: import("@xylabs/hex").Address[];
675
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
678
- $signatures: import("@xylabs/hex").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").Hex;
681
- previous: import("@xylabs/hex").Hash | null;
940
+ chain: import("@xylabs/hex").BrandedHex;
941
+ previous: import("@xylabs/hex").BrandedHash | null;
682
942
  $epoch: number;
683
- _hash: import("@xylabs/hex").Hash;
684
- _dataHash: import("@xylabs/hex").Hash;
685
- $destination?: import("@xylabs/hex").Address | undefined;
686
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
952
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
689
953
  }, {
690
954
  schema: string;
691
- _hash: import("@xylabs/hex").Hash;
692
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
698
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
701
- $signatures: import("@xylabs/hex").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").Hex;
704
- previous: import("@xylabs/hex").Hash | null;
971
+ chain: import("@xylabs/hex").BrandedHex;
972
+ previous: import("@xylabs/hex").BrandedHash | null;
705
973
  $epoch: number;
706
- _hash: import("@xylabs/hex").Hash;
707
- _dataHash: import("@xylabs/hex").Hash;
708
- $destination?: import("@xylabs/hex").Address | undefined;
709
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
983
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
712
984
  }, {
713
985
  schema: string;
714
- _hash: import("@xylabs/hex").Hash;
715
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
720
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
723
- $signatures: import("@xylabs/hex").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").Hex;
726
- previous: import("@xylabs/hex").Hash | null;
1001
+ chain: import("@xylabs/hex").BrandedHex;
1002
+ previous: import("@xylabs/hex").BrandedHash | null;
727
1003
  $epoch: number;
728
- _hash: import("@xylabs/hex").Hash;
729
- _dataHash: import("@xylabs/hex").Hash;
730
- $destination?: import("@xylabs/hex").Address | undefined;
731
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1013
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
734
1014
  }, {
735
1015
  schema: string;
736
- _hash: import("@xylabs/hex").Hash;
737
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
744
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
747
- $signatures: import("@xylabs/hex").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").Hex;
750
- previous: import("@xylabs/hex").Hash | null;
1033
+ chain: import("@xylabs/hex").BrandedHex;
1034
+ previous: import("@xylabs/hex").BrandedHash | null;
751
1035
  $epoch: number;
752
- _hash: import("@xylabs/hex").Hash;
753
- _dataHash: import("@xylabs/hex").Hash;
754
- $destination?: import("@xylabs/hex").Address | undefined;
755
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1045
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
758
1046
  }, {
759
1047
  schema: string;
760
- _hash: import("@xylabs/hex").Hash;
761
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
766
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
769
- $signatures: import("@xylabs/hex").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").Hex;
772
- previous: import("@xylabs/hex").Hash | null;
1063
+ chain: import("@xylabs/hex").BrandedHex;
1064
+ previous: import("@xylabs/hex").BrandedHash | null;
773
1065
  $epoch: number;
774
- _hash: import("@xylabs/hex").Hash;
775
- _dataHash: import("@xylabs/hex").Hash;
776
- $destination?: import("@xylabs/hex").Address | undefined;
777
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1075
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
780
1076
  }, {
781
1077
  schema: string;
782
- _hash: import("@xylabs/hex").Hash;
783
- _dataHash: import("@xylabs/hex").Hash;
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<import("@xylabs/hex").Address, string>>>;
789
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
792
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
793
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
794
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
797
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
802
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
807
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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: import("@xylabs/hex").Address[];
814
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
817
- $signatures: import("@xylabs/hex").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").Hex;
820
- previous: import("@xylabs/hex").Hash | null;
1127
+ chain: import("@xylabs/hex").BrandedHex;
1128
+ previous: import("@xylabs/hex").BrandedHash | null;
821
1129
  $epoch: number;
822
- _hash: import("@xylabs/hex").Hash;
823
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
826
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1140
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
829
1141
  }, {
830
1142
  schema: string;
831
- _hash: import("@xylabs/hex").Hash;
832
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
839
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
842
- $signatures: import("@xylabs/hex").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").Hex;
845
- previous: import("@xylabs/hex").Hash | null;
1160
+ chain: import("@xylabs/hex").BrandedHex;
1161
+ previous: import("@xylabs/hex").BrandedHash | null;
846
1162
  $epoch: number;
847
- _hash: import("@xylabs/hex").Hash;
848
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
851
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1173
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
854
1174
  }, {
855
1175
  schema: string;
856
- _hash: import("@xylabs/hex").Hash;
857
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
863
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
866
- $signatures: import("@xylabs/hex").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").Hex;
869
- previous: import("@xylabs/hex").Hash | null;
1192
+ chain: import("@xylabs/hex").BrandedHex;
1193
+ previous: import("@xylabs/hex").BrandedHash | null;
870
1194
  $epoch: number;
871
- _hash: import("@xylabs/hex").Hash;
872
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
875
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1205
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
878
1206
  }, {
879
1207
  schema: string;
880
- _hash: import("@xylabs/hex").Hash;
881
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
889
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
892
- $signatures: import("@xylabs/hex").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").Hex;
895
- previous: import("@xylabs/hex").Hash | null;
1226
+ chain: import("@xylabs/hex").BrandedHex;
1227
+ previous: import("@xylabs/hex").BrandedHash | null;
896
1228
  $epoch: number;
897
- _hash: import("@xylabs/hex").Hash;
898
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
901
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1239
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
904
1240
  }, {
905
1241
  schema: string;
906
- _hash: import("@xylabs/hex").Hash;
907
- _dataHash: import("@xylabs/hex").Hash;
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: import("@xylabs/hex").Address[];
913
- payload_hashes: import("@xylabs/hex").Hash[];
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").Hash | null)[];
916
- $signatures: import("@xylabs/hex").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").Hex;
919
- previous: import("@xylabs/hex").Hash | null;
1258
+ chain: import("@xylabs/hex").BrandedHex;
1259
+ previous: import("@xylabs/hex").BrandedHash | null;
920
1260
  $epoch: number;
921
- _hash: import("@xylabs/hex").Hash;
922
- _dataHash: import("@xylabs/hex").Hash;
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?: import("@xylabs/hex").Address | undefined;
925
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
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").Hash[] | undefined;
1271
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
928
1272
  }, {
929
1273
  schema: string;
930
- _hash: import("@xylabs/hex").Hash;
931
- _dataHash: import("@xylabs/hex").Hash;
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<import("@xylabs/hex").Address, string>>>;
938
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
941
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
942
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
943
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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").Hex, string>>;
946
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
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").Hash, string>>>>;
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").Hash, string>>;
951
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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").Hash, string>>;
956
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
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