@xyo-network/xl1-protocol 1.14.16 → 1.18.1

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 -28
  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 -17
  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 +3 -2
  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 +1 -1
  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 +1 @@
1
- {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../src/zod/block/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAKxB,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;iBAAmC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;iBAEY,CAAA;AAE7C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;CAAqC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAC5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAE5F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;iBACb,CAAA;AAEhC,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE5F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;CAAiD,CAAA;AAC7F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAChI,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAEhI,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;iBACb,CAAA;AAEnC,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAElG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AACnG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA;AACzI,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../src/zod/block/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,0BAA0B;;;;;;iBAMrC,CAAA;AAEF,eAAO,MAAM,wBAAwB;;iBAAmC,CAAA;AAExE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;iBAEY,CAAA;AAE7C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAC5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAE5F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;iBACb,CAAA;AAEhC,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAA;AAE5F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAA;AAC7F,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAChI,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoF,CAAA;AAEhI,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;iBACb,CAAA;AAEnC,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAA;AAElG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;CAAoD,CAAA;AACnG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA;AACzI,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0F,CAAA"}
@@ -1,103 +1,151 @@
1
- import type * as z from 'zod';
1
+ import type { z } from 'zod';
2
2
  export declare const SignedBlockBoundWitnessZod: 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
25
  }, z.core.$strip>;
18
26
  export type SignedBlockBoundWitness = z.infer<typeof SignedBlockBoundWitnessZod>;
19
27
  export declare const isSignedBlockBoundWitness: <T>(value: T) => value is T & {
20
28
  schema: "network.xyo.boundwitness";
21
- addresses: import("@xylabs/hex").Address[];
22
- payload_hashes: import("@xylabs/hex").Hash[];
29
+ addresses: (Lowercase<string> & {
30
+ readonly __hex: true;
31
+ } & {
32
+ readonly __address: true;
33
+ })[];
34
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
23
35
  payload_schemas: string[];
24
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
25
- $signatures: import("@xylabs/hex").Hex[];
36
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
37
+ $signatures: import("@xylabs/hex").BrandedHex[];
26
38
  block: import("../../../index.ts").XL1BlockNumber;
27
- chain: import("@xylabs/hex").Hex;
28
- previous: import("@xylabs/hex").Hash | null;
39
+ chain: import("@xylabs/hex").BrandedHex;
40
+ previous: import("@xylabs/hex").BrandedHash | null;
29
41
  $epoch: number;
30
- $destination?: import("@xylabs/hex").Address | undefined;
31
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
42
+ $destination?: (Lowercase<string> & {
43
+ readonly __hex: true;
44
+ } & {
45
+ readonly __address: true;
46
+ }) | undefined;
47
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
32
48
  protocol?: number | undefined;
33
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
49
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
34
50
  };
35
51
  export declare const asSignedBlockBoundWitness: {
36
52
  <T>(value: T): (T & {
37
53
  schema: "network.xyo.boundwitness";
38
- addresses: import("@xylabs/hex").Address[];
39
- payload_hashes: import("@xylabs/hex").Hash[];
54
+ addresses: (Lowercase<string> & {
55
+ readonly __hex: true;
56
+ } & {
57
+ readonly __address: true;
58
+ })[];
59
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
40
60
  payload_schemas: string[];
41
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
42
- $signatures: import("@xylabs/hex").Hex[];
61
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
62
+ $signatures: import("@xylabs/hex").BrandedHex[];
43
63
  block: import("../../../index.ts").XL1BlockNumber;
44
- chain: import("@xylabs/hex").Hex;
45
- previous: import("@xylabs/hex").Hash | null;
64
+ chain: import("@xylabs/hex").BrandedHex;
65
+ previous: import("@xylabs/hex").BrandedHash | null;
46
66
  $epoch: number;
47
- $destination?: import("@xylabs/hex").Address | undefined;
48
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
67
+ $destination?: (Lowercase<string> & {
68
+ readonly __hex: true;
69
+ } & {
70
+ readonly __address: true;
71
+ }) | undefined;
72
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
49
73
  protocol?: number | undefined;
50
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
74
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
51
75
  }) | undefined;
52
76
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
53
77
  schema: "network.xyo.boundwitness";
54
- addresses: import("@xylabs/hex").Address[];
55
- payload_hashes: import("@xylabs/hex").Hash[];
78
+ addresses: (Lowercase<string> & {
79
+ readonly __hex: true;
80
+ } & {
81
+ readonly __address: true;
82
+ })[];
83
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
56
84
  payload_schemas: string[];
57
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
58
- $signatures: import("@xylabs/hex").Hex[];
85
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
86
+ $signatures: import("@xylabs/hex").BrandedHex[];
59
87
  block: import("../../../index.ts").XL1BlockNumber;
60
- chain: import("@xylabs/hex").Hex;
61
- previous: import("@xylabs/hex").Hash | null;
88
+ chain: import("@xylabs/hex").BrandedHex;
89
+ previous: import("@xylabs/hex").BrandedHash | null;
62
90
  $epoch: number;
63
- $destination?: import("@xylabs/hex").Address | undefined;
64
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
91
+ $destination?: (Lowercase<string> & {
92
+ readonly __hex: true;
93
+ } & {
94
+ readonly __address: true;
95
+ }) | undefined;
96
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
65
97
  protocol?: number | undefined;
66
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
98
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
67
99
  };
68
100
  };
69
101
  export declare const toSignedBlockBoundWitness: {
70
102
  <T>(value: T): (T & {
71
103
  schema: "network.xyo.boundwitness";
72
- addresses: import("@xylabs/hex").Address[];
73
- payload_hashes: import("@xylabs/hex").Hash[];
104
+ addresses: (Lowercase<string> & {
105
+ readonly __hex: true;
106
+ } & {
107
+ readonly __address: true;
108
+ })[];
109
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
74
110
  payload_schemas: string[];
75
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
76
- $signatures: import("@xylabs/hex").Hex[];
111
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
112
+ $signatures: import("@xylabs/hex").BrandedHex[];
77
113
  block: import("../../../index.ts").XL1BlockNumber;
78
- chain: import("@xylabs/hex").Hex;
79
- previous: import("@xylabs/hex").Hash | null;
114
+ chain: import("@xylabs/hex").BrandedHex;
115
+ previous: import("@xylabs/hex").BrandedHash | null;
80
116
  $epoch: number;
81
- $destination?: import("@xylabs/hex").Address | undefined;
82
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
117
+ $destination?: (Lowercase<string> & {
118
+ readonly __hex: true;
119
+ } & {
120
+ readonly __address: true;
121
+ }) | undefined;
122
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
83
123
  protocol?: number | undefined;
84
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
124
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
85
125
  }) | undefined;
86
126
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
87
127
  schema: "network.xyo.boundwitness";
88
- addresses: import("@xylabs/hex").Address[];
89
- payload_hashes: import("@xylabs/hex").Hash[];
128
+ addresses: (Lowercase<string> & {
129
+ readonly __hex: true;
130
+ } & {
131
+ readonly __address: true;
132
+ })[];
133
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
90
134
  payload_schemas: string[];
91
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
92
- $signatures: import("@xylabs/hex").Hex[];
135
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
136
+ $signatures: import("@xylabs/hex").BrandedHex[];
93
137
  block: import("../../../index.ts").XL1BlockNumber;
94
- chain: import("@xylabs/hex").Hex;
95
- previous: import("@xylabs/hex").Hash | null;
138
+ chain: import("@xylabs/hex").BrandedHex;
139
+ previous: import("@xylabs/hex").BrandedHash | null;
96
140
  $epoch: number;
97
- $destination?: import("@xylabs/hex").Address | undefined;
98
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
141
+ $destination?: (Lowercase<string> & {
142
+ readonly __hex: true;
143
+ } & {
144
+ readonly __address: true;
145
+ }) | undefined;
146
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
99
147
  protocol?: number | undefined;
100
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
148
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
101
149
  };
102
150
  };
103
151
  //# sourceMappingURL=SignedBlockBoundWitness.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignedBlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;iBAEM,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA"}
1
+ {"version":3,"file":"SignedBlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitness.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAI5B,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;iBAEM,CAAA;AAE7C,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwE,CAAA"}
@@ -1,179 +1,259 @@
1
- import type * as z from 'zod';
1
+ import type { z } from 'zod';
2
2
  export declare const SignedBlockBoundWitnessWithHashMetaZod: 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
  }, z.core.$strip>;
20
28
  export type SignedBlockBoundWitnessWithHashMeta = z.infer<typeof SignedBlockBoundWitnessWithHashMetaZod>;
21
29
  export declare const isSignedBlockBoundWitnessWithHashMeta: <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[];
38
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
39
+ $signatures: import("@xylabs/hex").BrandedHex[];
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
- _hash: import("@xylabs/hex").Hash;
33
- _dataHash: import("@xylabs/hex").Hash;
34
- $destination?: import("@xylabs/hex").Address | undefined;
35
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
44
+ _hash: import("@xylabs/hex").BrandedHash;
45
+ _dataHash: import("@xylabs/hex").BrandedHash;
46
+ $destination?: (Lowercase<string> & {
47
+ readonly __hex: true;
48
+ } & {
49
+ readonly __address: true;
50
+ }) | undefined;
51
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
36
52
  protocol?: number | undefined;
37
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
53
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
38
54
  };
39
55
  export declare const asSignedBlockBoundWitnessWithHashMeta: {
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[];
65
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
66
+ $signatures: import("@xylabs/hex").BrandedHex[];
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
- _hash: import("@xylabs/hex").Hash;
52
- _dataHash: import("@xylabs/hex").Hash;
53
- $destination?: import("@xylabs/hex").Address | undefined;
54
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
71
+ _hash: import("@xylabs/hex").BrandedHash;
72
+ _dataHash: import("@xylabs/hex").BrandedHash;
73
+ $destination?: (Lowercase<string> & {
74
+ readonly __hex: true;
75
+ } & {
76
+ readonly __address: true;
77
+ }) | undefined;
78
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
55
79
  protocol?: number | undefined;
56
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
80
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
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[];
91
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
92
+ $signatures: import("@xylabs/hex").BrandedHex[];
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
- _hash: import("@xylabs/hex").Hash;
70
- _dataHash: import("@xylabs/hex").Hash;
71
- $destination?: import("@xylabs/hex").Address | undefined;
72
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
97
+ _hash: import("@xylabs/hex").BrandedHash;
98
+ _dataHash: import("@xylabs/hex").BrandedHash;
99
+ $destination?: (Lowercase<string> & {
100
+ readonly __hex: true;
101
+ } & {
102
+ readonly __address: true;
103
+ }) | undefined;
104
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
73
105
  protocol?: number | undefined;
74
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
106
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
75
107
  };
76
108
  };
77
109
  export declare const SignedBlockBoundWitnessWithHashMetaishZod: z.ZodPipe<z.ZodObject<{
78
110
  schema: z.ZodLiteral<"network.xyo.boundwitness">;
79
- addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
80
- payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
111
+ addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
112
+ readonly __hex: true;
113
+ } & {
114
+ readonly __address: true;
115
+ }, string>>>;
116
+ payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
81
117
  payload_schemas: z.ZodArray<z.ZodString>;
82
- previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
83
- $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Address, string>>>;
84
- $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
85
- $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>>;
118
+ previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
119
+ $destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
120
+ readonly __hex: true;
121
+ } & {
122
+ readonly __address: true;
123
+ }, string>>>;
124
+ $sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
125
+ $signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
86
126
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../../../index.ts").XL1BlockNumber, number>>;
87
- chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
88
- previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
127
+ chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
128
+ previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
89
129
  protocol: z.ZodOptional<z.ZodNumber>;
90
- step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
130
+ step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
91
131
  $epoch: z.ZodNumber;
92
132
  }, z.core.$strip>, z.ZodTransform<{
93
133
  schema: "network.xyo.boundwitness";
94
- addresses: import("@xylabs/hex").Address[];
95
- payload_hashes: import("@xylabs/hex").Hash[];
134
+ addresses: (Lowercase<string> & {
135
+ readonly __hex: true;
136
+ } & {
137
+ readonly __address: true;
138
+ })[];
139
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
96
140
  payload_schemas: string[];
97
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
98
- $signatures: import("@xylabs/hex").Hex[];
141
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
142
+ $signatures: import("@xylabs/hex").BrandedHex[];
99
143
  block: import("../../../index.ts").XL1BlockNumber;
100
- chain: import("@xylabs/hex").Hex;
101
- previous: import("@xylabs/hex").Hash | null;
144
+ chain: import("@xylabs/hex").BrandedHex;
145
+ previous: import("@xylabs/hex").BrandedHash | null;
102
146
  $epoch: number;
103
- $destination?: import("@xylabs/hex").Address | undefined;
104
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
147
+ $destination?: (Lowercase<string> & {
148
+ readonly __hex: true;
149
+ } & {
150
+ readonly __address: true;
151
+ }) | undefined;
152
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
105
153
  protocol?: number | undefined;
106
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
154
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
107
155
  } & {
108
156
  schema: "network.xyo.boundwitness";
109
- addresses: import("@xylabs/hex").Address[];
110
- payload_hashes: import("@xylabs/hex").Hash[];
157
+ addresses: (Lowercase<string> & {
158
+ readonly __hex: true;
159
+ } & {
160
+ readonly __address: true;
161
+ })[];
162
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
111
163
  payload_schemas: string[];
112
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
113
- $signatures: import("@xylabs/hex").Hex[];
164
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
165
+ $signatures: import("@xylabs/hex").BrandedHex[];
114
166
  block: import("../../../index.ts").XL1BlockNumber;
115
- chain: import("@xylabs/hex").Hex;
116
- previous: import("@xylabs/hex").Hash | null;
167
+ chain: import("@xylabs/hex").BrandedHex;
168
+ previous: import("@xylabs/hex").BrandedHash | null;
117
169
  $epoch: number;
118
- _hash: import("@xylabs/hex").Hash;
119
- _dataHash: import("@xylabs/hex").Hash;
120
- $destination?: import("@xylabs/hex").Address | undefined;
121
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
170
+ _hash: import("@xylabs/hex").BrandedHash;
171
+ _dataHash: import("@xylabs/hex").BrandedHash;
172
+ $destination?: (Lowercase<string> & {
173
+ readonly __hex: true;
174
+ } & {
175
+ readonly __address: true;
176
+ }) | undefined;
177
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
122
178
  protocol?: number | undefined;
123
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
179
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
124
180
  }, {
125
181
  schema: "network.xyo.boundwitness";
126
- addresses: import("@xylabs/hex").Address[];
127
- payload_hashes: import("@xylabs/hex").Hash[];
182
+ addresses: (Lowercase<string> & {
183
+ readonly __hex: true;
184
+ } & {
185
+ readonly __address: true;
186
+ })[];
187
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
128
188
  payload_schemas: string[];
129
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
130
- $signatures: import("@xylabs/hex").Hex[];
189
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
190
+ $signatures: import("@xylabs/hex").BrandedHex[];
131
191
  block: import("../../../index.ts").XL1BlockNumber;
132
- chain: import("@xylabs/hex").Hex;
133
- previous: import("@xylabs/hex").Hash | null;
192
+ chain: import("@xylabs/hex").BrandedHex;
193
+ previous: import("@xylabs/hex").BrandedHash | null;
134
194
  $epoch: number;
135
- $destination?: import("@xylabs/hex").Address | undefined;
136
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
195
+ $destination?: (Lowercase<string> & {
196
+ readonly __hex: true;
197
+ } & {
198
+ readonly __address: true;
199
+ }) | undefined;
200
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
137
201
  protocol?: number | undefined;
138
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
202
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
139
203
  }>>;
140
204
  export type SignedBlockBoundWitnessWithHashMetaish = z.input<typeof SignedBlockBoundWitnessWithHashMetaishZod>;
141
205
  export declare const toSignedBlockBoundWitnessWithHashMeta: {
142
206
  <T>(value: T): (T & {
143
207
  schema: "network.xyo.boundwitness";
144
- addresses: import("@xylabs/hex").Address[];
145
- payload_hashes: import("@xylabs/hex").Hash[];
208
+ addresses: (Lowercase<string> & {
209
+ readonly __hex: true;
210
+ } & {
211
+ readonly __address: true;
212
+ })[];
213
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
146
214
  payload_schemas: string[];
147
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
148
- $signatures: import("@xylabs/hex").Hex[];
215
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
216
+ $signatures: import("@xylabs/hex").BrandedHex[];
149
217
  block: import("../../../index.ts").XL1BlockNumber;
150
- chain: import("@xylabs/hex").Hex;
151
- previous: import("@xylabs/hex").Hash | null;
218
+ chain: import("@xylabs/hex").BrandedHex;
219
+ previous: import("@xylabs/hex").BrandedHash | null;
152
220
  $epoch: number;
153
- _hash: import("@xylabs/hex").Hash;
154
- _dataHash: import("@xylabs/hex").Hash;
155
- $destination?: import("@xylabs/hex").Address | undefined;
156
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
221
+ _hash: import("@xylabs/hex").BrandedHash;
222
+ _dataHash: import("@xylabs/hex").BrandedHash;
223
+ $destination?: (Lowercase<string> & {
224
+ readonly __hex: true;
225
+ } & {
226
+ readonly __address: true;
227
+ }) | undefined;
228
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
157
229
  protocol?: number | undefined;
158
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
230
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
159
231
  }) | undefined;
160
232
  <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
161
233
  schema: "network.xyo.boundwitness";
162
- addresses: import("@xylabs/hex").Address[];
163
- payload_hashes: import("@xylabs/hex").Hash[];
234
+ addresses: (Lowercase<string> & {
235
+ readonly __hex: true;
236
+ } & {
237
+ readonly __address: true;
238
+ })[];
239
+ payload_hashes: import("@xylabs/hex").BrandedHash[];
164
240
  payload_schemas: string[];
165
- previous_hashes: (import("@xylabs/hex").Hash | null)[];
166
- $signatures: import("@xylabs/hex").Hex[];
241
+ previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
242
+ $signatures: import("@xylabs/hex").BrandedHex[];
167
243
  block: import("../../../index.ts").XL1BlockNumber;
168
- chain: import("@xylabs/hex").Hex;
169
- previous: import("@xylabs/hex").Hash | null;
244
+ chain: import("@xylabs/hex").BrandedHex;
245
+ previous: import("@xylabs/hex").BrandedHash | null;
170
246
  $epoch: number;
171
- _hash: import("@xylabs/hex").Hash;
172
- _dataHash: import("@xylabs/hex").Hash;
173
- $destination?: import("@xylabs/hex").Address | undefined;
174
- $sourceQuery?: import("@xylabs/hex").Hash | undefined;
247
+ _hash: import("@xylabs/hex").BrandedHash;
248
+ _dataHash: import("@xylabs/hex").BrandedHash;
249
+ $destination?: (Lowercase<string> & {
250
+ readonly __hex: true;
251
+ } & {
252
+ readonly __address: true;
253
+ }) | undefined;
254
+ $sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
175
255
  protocol?: number | undefined;
176
- step_hashes?: import("@xylabs/hex").Hash[] | undefined;
256
+ step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
177
257
  };
178
258
  };
179
259
  //# sourceMappingURL=SignedBlockBoundWitnessWithHashMeta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignedBlockBoundWitnessWithHashMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,CAAC,MAAM,KAAK,CAAA;AAI7B,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;iBAA2D,CAAA;AAE9G,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAExG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;CAAuD,CAAA;AACzG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA;AAElJ,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQpD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA"}
1
+ {"version":3,"file":"SignedBlockBoundWitnessWithHashMeta.d.ts","sourceRoot":"","sources":["../../../../../src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAI5B,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;iBAA2D,CAAA;AAE9G,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAA;AAExG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;CAAuD,CAAA;AACzG,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA;AAElJ,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQpD,CAAA;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAA;AAE9G,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgG,CAAA"}