@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,216 +1,312 @@
1
- import type * as z from 'zod';
1
+ import type { z } from 'zod';
2
2
  export declare const SignedBlockBoundWitnessWithStorageMetaZod: 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.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
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.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
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
- _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
18
- _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
25
+ _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
26
+ _dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
19
27
  _sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
20
28
  }, z.core.$strip>;
21
29
  export type SignedBlockBoundWitnessWithStorageMeta = z.infer<typeof SignedBlockBoundWitnessWithStorageMetaZod>;
22
30
  export declare const isSignedBlockBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
23
31
  schema: "network.xyo.boundwitness";
24
- addresses: import("@xylabs/hex").Address[];
25
- payload_hashes: import("@xylabs/hex").Hash[];
32
+ addresses: (Lowercase<string> & {
33
+ readonly __hex: true;
34
+ } & {
35
+ readonly __address: true;
36
+ })[];
37
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
26
38
  payload_schemas: string[];
27
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
28
- $signatures: import("@xylabs/hex").Hex[];
39
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
40
+ $signatures: import("@xylabs/hex").BrandedHex[];
29
41
  block: import("../../../index.ts").XL1BlockNumber;
30
- chain: import("@xylabs/hex").Hex;
31
- previous: import("@xylabs/hex").Hash | null;
42
+ chain: import("@xylabs/hex").BrandedHex;
43
+ previous: import("@xylabs/hex").BrandedHash | null;
32
44
  $epoch: number;
33
- _hash: import("@xylabs/hex").Hash;
34
- _dataHash: import("@xylabs/hex").Hash;
45
+ _hash: import("@xylabs/hex").BrandedHash;
46
+ _dataHash: import("@xylabs/hex").BrandedHash;
35
47
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
36
- $destination?: import("@xylabs/hex").Address | undefined;
37
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
48
+ $destination?: (Lowercase<string> & {
49
+ readonly __hex: true;
50
+ } & {
51
+ readonly __address: true;
52
+ }) | undefined;
53
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
38
54
  protocol?: number | undefined;
39
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
55
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
40
56
  };
41
57
  export declare const asSignedBlockBoundWitnessWithStorageMeta: {
42
58
  <T>(value: T): (T & {
43
59
  schema: "network.xyo.boundwitness";
44
- addresses: import("@xylabs/hex").Address[];
45
- payload_hashes: import("@xylabs/hex").Hash[];
60
+ addresses: (Lowercase<string> & {
61
+ readonly __hex: true;
62
+ } & {
63
+ readonly __address: true;
64
+ })[];
65
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
46
66
  payload_schemas: string[];
47
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
48
- $signatures: import("@xylabs/hex").Hex[];
67
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
68
+ $signatures: import("@xylabs/hex").BrandedHex[];
49
69
  block: import("../../../index.ts").XL1BlockNumber;
50
- chain: import("@xylabs/hex").Hex;
51
- previous: import("@xylabs/hex").Hash | null;
70
+ chain: import("@xylabs/hex").BrandedHex;
71
+ previous: import("@xylabs/hex").BrandedHash | null;
52
72
  $epoch: number;
53
- _hash: import("@xylabs/hex").Hash;
54
- _dataHash: import("@xylabs/hex").Hash;
73
+ _hash: import("@xylabs/hex").BrandedHash;
74
+ _dataHash: import("@xylabs/hex").BrandedHash;
55
75
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
56
- $destination?: import("@xylabs/hex").Address | undefined;
57
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
76
+ $destination?: (Lowercase<string> & {
77
+ readonly __hex: true;
78
+ } & {
79
+ readonly __address: true;
80
+ }) | undefined;
81
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
58
82
  protocol?: number | undefined;
59
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
83
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
60
84
  }) | undefined;
61
85
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
62
86
  schema: "network.xyo.boundwitness";
63
- addresses: import("@xylabs/hex").Address[];
64
- payload_hashes: import("@xylabs/hex").Hash[];
87
+ addresses: (Lowercase<string> & {
88
+ readonly __hex: true;
89
+ } & {
90
+ readonly __address: true;
91
+ })[];
92
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
65
93
  payload_schemas: string[];
66
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
67
- $signatures: import("@xylabs/hex").Hex[];
94
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
95
+ $signatures: import("@xylabs/hex").BrandedHex[];
68
96
  block: import("../../../index.ts").XL1BlockNumber;
69
- chain: import("@xylabs/hex").Hex;
70
- previous: import("@xylabs/hex").Hash | null;
97
+ chain: import("@xylabs/hex").BrandedHex;
98
+ previous: import("@xylabs/hex").BrandedHash | null;
71
99
  $epoch: number;
72
- _hash: import("@xylabs/hex").Hash;
73
- _dataHash: import("@xylabs/hex").Hash;
100
+ _hash: import("@xylabs/hex").BrandedHash;
101
+ _dataHash: import("@xylabs/hex").BrandedHash;
74
102
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
75
- $destination?: import("@xylabs/hex").Address | undefined;
76
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
103
+ $destination?: (Lowercase<string> & {
104
+ readonly __hex: true;
105
+ } & {
106
+ readonly __address: true;
107
+ }) | undefined;
108
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
77
109
  protocol?: number | undefined;
78
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
110
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
79
111
  };
80
112
  };
81
113
  export declare const SignedBlockBoundWitnessWithStorageMetaishZod: z.ZodPipe<z.ZodObject<{
82
114
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
83
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
84
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
115
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
116
+ readonly __hex: true;
117
+ } & {
118
+ readonly __address: true;
119
+ }, string>>>;
120
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
85
121
  payload_schemas: z.ZodArray<z.ZodString>;
86
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
87
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
88
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
89
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
122
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
123
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
124
+ readonly __hex: true;
125
+ } & {
126
+ readonly __address: true;
127
+ }, string>>>;
128
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
129
+ $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
90
130
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
91
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
92
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
131
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
132
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
93
133
  protocol: z.ZodOptional<z.ZodNumber>;
94
- step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
134
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
95
135
  $epoch: z.ZodNumber;
96
136
  }, z.core.$strip>, z.ZodTransform<{
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[];
145
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
146
+ $signatures: import("@xylabs/hex").BrandedHex[];
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: "network.xyo.boundwitness";
113
- addresses: import("@xylabs/hex").Address[];
114
- payload_hashes: import("@xylabs/hex").Hash[];
161
+ addresses: (Lowercase<string> & {
162
+ readonly __hex: true;
163
+ } & {
164
+ readonly __address: true;
165
+ })[];
166
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
115
167
  payload_schemas: string[];
116
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
117
- $signatures: import("@xylabs/hex").Hex[];
168
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
169
+ $signatures: import("@xylabs/hex").BrandedHex[];
118
170
  block: import("../../../index.ts").XL1BlockNumber;
119
- chain: import("@xylabs/hex").Hex;
120
- previous: import("@xylabs/hex").Hash | null;
171
+ chain: import("@xylabs/hex").BrandedHex;
172
+ previous: import("@xylabs/hex").BrandedHash | null;
121
173
  $epoch: number;
122
- _hash: import("@xylabs/hex").Hash;
123
- _dataHash: import("@xylabs/hex").Hash;
174
+ _hash: import("@xylabs/hex").BrandedHash;
175
+ _dataHash: import("@xylabs/hex").BrandedHash;
124
176
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
125
- $destination?: import("@xylabs/hex").Address | undefined;
126
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
177
+ $destination?: (Lowercase<string> & {
178
+ readonly __hex: true;
179
+ } & {
180
+ readonly __address: true;
181
+ }) | undefined;
182
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
127
183
  protocol?: number | undefined;
128
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
184
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
129
185
  }, {
130
186
  schema: "network.xyo.boundwitness";
131
- addresses: import("@xylabs/hex").Address[];
132
- payload_hashes: import("@xylabs/hex").Hash[];
187
+ addresses: (Lowercase<string> & {
188
+ readonly __hex: true;
189
+ } & {
190
+ readonly __address: true;
191
+ })[];
192
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
133
193
  payload_schemas: string[];
134
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
135
- $signatures: import("@xylabs/hex").Hex[];
194
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
195
+ $signatures: import("@xylabs/hex").BrandedHex[];
136
196
  block: import("../../../index.ts").XL1BlockNumber;
137
- chain: import("@xylabs/hex").Hex;
138
- previous: import("@xylabs/hex").Hash | null;
197
+ chain: import("@xylabs/hex").BrandedHex;
198
+ previous: import("@xylabs/hex").BrandedHash | null;
139
199
  $epoch: number;
140
- $destination?: import("@xylabs/hex").Address | undefined;
141
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
200
+ $destination?: (Lowercase<string> & {
201
+ readonly __hex: true;
202
+ } & {
203
+ readonly __address: true;
204
+ }) | undefined;
205
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
142
206
  protocol?: number | undefined;
143
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
207
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
144
208
  }>>;
145
209
  export type SignedBlockBoundWitnessWithStorageMetaish = z.input<typeof SignedBlockBoundWitnessWithStorageMetaishZod>;
146
210
  export declare const toSignedBlockBoundWitnessWithStorageMeta: {
147
211
  <T>(value: T): (T & {
148
212
  schema: "network.xyo.boundwitness";
149
- addresses: import("@xylabs/hex").Address[];
150
- payload_hashes: import("@xylabs/hex").Hash[];
213
+ addresses: (Lowercase<string> & {
214
+ readonly __hex: true;
215
+ } & {
216
+ readonly __address: true;
217
+ })[];
218
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
151
219
  payload_schemas: string[];
152
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
153
- $signatures: import("@xylabs/hex").Hex[];
220
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
221
+ $signatures: import("@xylabs/hex").BrandedHex[];
154
222
  block: import("../../../index.ts").XL1BlockNumber;
155
- chain: import("@xylabs/hex").Hex;
156
- previous: import("@xylabs/hex").Hash | null;
223
+ chain: import("@xylabs/hex").BrandedHex;
224
+ previous: import("@xylabs/hex").BrandedHash | null;
157
225
  $epoch: number;
158
- $destination?: import("@xylabs/hex").Address | undefined;
159
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
226
+ $destination?: (Lowercase<string> & {
227
+ readonly __hex: true;
228
+ } & {
229
+ readonly __address: true;
230
+ }) | undefined;
231
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
160
232
  protocol?: number | undefined;
161
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
233
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
162
234
  } & {
163
235
  schema: "network.xyo.boundwitness";
164
- addresses: import("@xylabs/hex").Address[];
165
- payload_hashes: import("@xylabs/hex").Hash[];
236
+ addresses: (Lowercase<string> & {
237
+ readonly __hex: true;
238
+ } & {
239
+ readonly __address: true;
240
+ })[];
241
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
166
242
  payload_schemas: string[];
167
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
168
- $signatures: import("@xylabs/hex").Hex[];
243
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
244
+ $signatures: import("@xylabs/hex").BrandedHex[];
169
245
  block: import("../../../index.ts").XL1BlockNumber;
170
- chain: import("@xylabs/hex").Hex;
171
- previous: import("@xylabs/hex").Hash | null;
246
+ chain: import("@xylabs/hex").BrandedHex;
247
+ previous: import("@xylabs/hex").BrandedHash | null;
172
248
  $epoch: number;
173
- _hash: import("@xylabs/hex").Hash;
174
- _dataHash: import("@xylabs/hex").Hash;
249
+ _hash: import("@xylabs/hex").BrandedHash;
250
+ _dataHash: import("@xylabs/hex").BrandedHash;
175
251
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
176
- $destination?: import("@xylabs/hex").Address | undefined;
177
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
252
+ $destination?: (Lowercase<string> & {
253
+ readonly __hex: true;
254
+ } & {
255
+ readonly __address: true;
256
+ }) | undefined;
257
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
178
258
  protocol?: number | undefined;
179
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
259
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
180
260
  }) | undefined;
181
261
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
182
262
  schema: "network.xyo.boundwitness";
183
- addresses: import("@xylabs/hex").Address[];
184
- payload_hashes: import("@xylabs/hex").Hash[];
263
+ addresses: (Lowercase<string> & {
264
+ readonly __hex: true;
265
+ } & {
266
+ readonly __address: true;
267
+ })[];
268
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
185
269
  payload_schemas: string[];
186
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
187
- $signatures: import("@xylabs/hex").Hex[];
270
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
271
+ $signatures: import("@xylabs/hex").BrandedHex[];
188
272
  block: import("../../../index.ts").XL1BlockNumber;
189
- chain: import("@xylabs/hex").Hex;
190
- previous: import("@xylabs/hex").Hash | null;
273
+ chain: import("@xylabs/hex").BrandedHex;
274
+ previous: import("@xylabs/hex").BrandedHash | null;
191
275
  $epoch: number;
192
- $destination?: import("@xylabs/hex").Address | undefined;
193
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
276
+ $destination?: (Lowercase<string> & {
277
+ readonly __hex: true;
278
+ } & {
279
+ readonly __address: true;
280
+ }) | undefined;
281
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
194
282
  protocol?: number | undefined;
195
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
283
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
196
284
  } & {
197
285
  schema: "network.xyo.boundwitness";
198
- addresses: import("@xylabs/hex").Address[];
199
- payload_hashes: import("@xylabs/hex").Hash[];
286
+ addresses: (Lowercase<string> & {
287
+ readonly __hex: true;
288
+ } & {
289
+ readonly __address: true;
290
+ })[];
291
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
200
292
  payload_schemas: string[];
201
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
202
- $signatures: import("@xylabs/hex").Hex[];
293
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
294
+ $signatures: import("@xylabs/hex").BrandedHex[];
203
295
  block: import("../../../index.ts").XL1BlockNumber;
204
- chain: import("@xylabs/hex").Hex;
205
- previous: import("@xylabs/hex").Hash | null;
296
+ chain: import("@xylabs/hex").BrandedHex;
297
+ previous: import("@xylabs/hex").BrandedHash | null;
206
298
  $epoch: number;
207
- _hash: import("@xylabs/hex").Hash;
208
- _dataHash: import("@xylabs/hex").Hash;
299
+ _hash: import("@xylabs/hex").BrandedHash;
300
+ _dataHash: import("@xylabs/hex").BrandedHash;
209
301
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
210
- $destination?: import("@xylabs/hex").Address | undefined;
211
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
302
+ $destination?: (Lowercase<string> & {
303
+ readonly __hex: true;
304
+ } & {
305
+ readonly __address: true;
306
+ }) | undefined;
307
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
212
308
  protocol?: number | undefined;
213
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
309
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
214
310
  };
215
311
  };
216
312
  //# sourceMappingURL=SignedBlockBoundWitnessWithStorageMeta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignedBlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;iBAA8D,CAAA;AAEpH,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;CAA0D,CAAA;AAC/G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA;AAED,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQvD,CAAA;AAEF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AAEpH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA"}
1
+ {"version":3,"file":"SignedBlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAI5B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8D,CAAA;AAEpH,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAA;AAC/G,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA;AAED,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQvD,CAAA;AAEF,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4CAA4C,CAAC,CAAA;AAEpH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpD,CAAA"}