@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.
- package/dist/neutral/block/AllowedBlockPayload.d.ts +4 -12
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +29 -28
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/StepIdentity.d.ts +1 -1
- package/dist/neutral/model/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +20 -20
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +10 -10
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts +16 -16
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts +45 -17
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -1
- package/dist/neutral/zod/Chain.d.ts +2 -2
- package/dist/neutral/zod/Chain.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +853 -501
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +1471 -823
- package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts +5 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -1
- package/dist/neutral/zod/Sequence.d.ts +1 -1
- package/dist/neutral/zod/Sequence.d.ts.map +1 -1
- package/dist/neutral/zod/Stake.d.ts +74 -18
- package/dist/neutral/zod/Stake.d.ts.map +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +1407 -751
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionFees.d.ts +39 -39
- package/dist/neutral/zod/TransactionFees.d.ts.map +1 -1
- package/dist/neutral/zod/TransferPair.d.ts +10 -2
- package/dist/neutral/zod/TransferPair.d.ts.map +1 -1
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +334 -190
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -55
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +185 -105
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +219 -123
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +97 -49
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -1
- package/package.json +31 -31
- package/src/block/AllowedBlockPayload.ts +3 -3
- package/src/model/BlockNumber/BlockNumber.ts +1 -1
- package/src/model/BlockNumber/EthBlockNumber.ts +1 -1
- package/src/model/BlockNumber/Numberish.ts +1 -1
- package/src/model/BlockNumber/XL1BlockNumber.ts +1 -1
- package/src/model/BlockRange/BlockRange.ts +1 -1
- package/src/model/BlockRange/EthBlockRange.ts +1 -1
- package/src/model/BlockRange/Numberish.ts +1 -1
- package/src/model/BlockRange/Range.ts +1 -1
- package/src/model/BlockRange/XL1BlockRange.ts +1 -1
- package/src/model/StepIdentity.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDetails.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeIntent.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +1 -1
- package/src/payload/elevatable/Time.ts +1 -1
- package/src/payload/elevatable/TransferPayload.ts +3 -2
- package/src/xl1/isXL1Factory.ts +1 -1
- package/src/zod/ArrayBuffer.ts +1 -1
- package/src/zod/Chain.ts +1 -1
- package/src/zod/HydratedBlock.ts +1 -1
- package/src/zod/HydratedTransaction.ts +1 -1
- package/src/zod/Sequence.ts +1 -1
- package/src/zod/Stake.ts +1 -1
- package/src/zod/TimeDomain.ts +1 -1
- package/src/zod/TransactionBoundWitness.ts +1 -1
- package/src/zod/TransactionFees.ts +1 -1
- package/src/zod/TransferPair.ts +1 -1
- package/src/zod/block/BlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +1 -1
- package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +1 -1
- package/src/zod/payload/WithHashMetaish.ts +1 -1
- package/src/zod/payload/WithStorageMetaish.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../../src/zod/block/BlockBoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
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
|
|
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<
|
|
5
|
-
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
5
|
+
readonly __hex: true;
|
|
6
|
+
} & {
|
|
7
|
+
readonly __address: true;
|
|
8
|
+
}, string>>>;
|
|
9
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
6
10
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
8
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
12
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
13
|
+
readonly __hex: true;
|
|
14
|
+
} & {
|
|
15
|
+
readonly __address: true;
|
|
16
|
+
}, string>>>;
|
|
17
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
18
|
+
$signatures: z.ZodArray<z.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").
|
|
13
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
20
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
21
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
14
22
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
23
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
16
24
|
$epoch: z.ZodNumber;
|
|
17
25
|
}, z.core.$strip>;
|
|
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:
|
|
22
|
-
|
|
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").
|
|
25
|
-
$signatures: import("@xylabs/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").
|
|
28
|
-
previous: import("@xylabs/hex").
|
|
39
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
40
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
29
41
|
$epoch: number;
|
|
30
|
-
$destination?:
|
|
31
|
-
|
|
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").
|
|
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:
|
|
39
|
-
|
|
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").
|
|
42
|
-
$signatures: import("@xylabs/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").
|
|
45
|
-
previous: import("@xylabs/hex").
|
|
64
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
65
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
46
66
|
$epoch: number;
|
|
47
|
-
$destination?:
|
|
48
|
-
|
|
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").
|
|
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:
|
|
55
|
-
|
|
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").
|
|
58
|
-
$signatures: import("@xylabs/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").
|
|
61
|
-
previous: import("@xylabs/hex").
|
|
88
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
89
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
62
90
|
$epoch: number;
|
|
63
|
-
$destination?:
|
|
64
|
-
|
|
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").
|
|
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:
|
|
73
|
-
|
|
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").
|
|
76
|
-
$signatures: import("@xylabs/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").
|
|
79
|
-
previous: import("@xylabs/hex").
|
|
114
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
115
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
80
116
|
$epoch: number;
|
|
81
|
-
$destination?:
|
|
82
|
-
|
|
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").
|
|
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:
|
|
89
|
-
|
|
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").
|
|
92
|
-
$signatures: import("@xylabs/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").
|
|
95
|
-
previous: import("@xylabs/hex").
|
|
138
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
139
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
96
140
|
$epoch: number;
|
|
97
|
-
$destination?:
|
|
98
|
-
|
|
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").
|
|
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,
|
|
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
|
|
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<
|
|
5
|
-
|
|
4
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
5
|
+
readonly __hex: true;
|
|
6
|
+
} & {
|
|
7
|
+
readonly __address: true;
|
|
8
|
+
}, string>>>;
|
|
9
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
6
10
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
7
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
8
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
12
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
13
|
+
readonly __hex: true;
|
|
14
|
+
} & {
|
|
15
|
+
readonly __address: true;
|
|
16
|
+
}, string>>>;
|
|
17
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
18
|
+
$signatures: z.ZodArray<z.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").
|
|
13
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
20
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
21
|
+
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
14
22
|
protocol: z.ZodOptional<z.ZodNumber>;
|
|
15
|
-
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
23
|
+
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
16
24
|
$epoch: z.ZodNumber;
|
|
17
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
18
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
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:
|
|
24
|
-
|
|
31
|
+
addresses: (Lowercase<string> & {
|
|
32
|
+
readonly __hex: true;
|
|
33
|
+
} & {
|
|
34
|
+
readonly __address: true;
|
|
35
|
+
})[];
|
|
36
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
25
37
|
payload_schemas: string[];
|
|
26
|
-
previous_hashes: (import("@xylabs/hex").
|
|
27
|
-
$signatures: import("@xylabs/hex").
|
|
38
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
39
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
28
40
|
block: import("../../../index.ts").XL1BlockNumber;
|
|
29
|
-
chain: import("@xylabs/hex").
|
|
30
|
-
previous: import("@xylabs/hex").
|
|
41
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
42
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
31
43
|
$epoch: number;
|
|
32
|
-
_hash: import("@xylabs/hex").
|
|
33
|
-
_dataHash: import("@xylabs/hex").
|
|
34
|
-
$destination?:
|
|
35
|
-
|
|
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").
|
|
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:
|
|
43
|
-
|
|
58
|
+
addresses: (Lowercase<string> & {
|
|
59
|
+
readonly __hex: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly __address: true;
|
|
62
|
+
})[];
|
|
63
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
44
64
|
payload_schemas: string[];
|
|
45
|
-
previous_hashes: (import("@xylabs/hex").
|
|
46
|
-
$signatures: import("@xylabs/hex").
|
|
65
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
66
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
47
67
|
block: import("../../../index.ts").XL1BlockNumber;
|
|
48
|
-
chain: import("@xylabs/hex").
|
|
49
|
-
previous: import("@xylabs/hex").
|
|
68
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
69
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
50
70
|
$epoch: number;
|
|
51
|
-
_hash: import("@xylabs/hex").
|
|
52
|
-
_dataHash: import("@xylabs/hex").
|
|
53
|
-
$destination?:
|
|
54
|
-
|
|
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").
|
|
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:
|
|
61
|
-
|
|
84
|
+
addresses: (Lowercase<string> & {
|
|
85
|
+
readonly __hex: true;
|
|
86
|
+
} & {
|
|
87
|
+
readonly __address: true;
|
|
88
|
+
})[];
|
|
89
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
62
90
|
payload_schemas: string[];
|
|
63
|
-
previous_hashes: (import("@xylabs/hex").
|
|
64
|
-
$signatures: import("@xylabs/hex").
|
|
91
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
92
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
65
93
|
block: import("../../../index.ts").XL1BlockNumber;
|
|
66
|
-
chain: import("@xylabs/hex").
|
|
67
|
-
previous: import("@xylabs/hex").
|
|
94
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
95
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
68
96
|
$epoch: number;
|
|
69
|
-
_hash: import("@xylabs/hex").
|
|
70
|
-
_dataHash: import("@xylabs/hex").
|
|
71
|
-
$destination?:
|
|
72
|
-
|
|
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").
|
|
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<
|
|
80
|
-
|
|
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").
|
|
83
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
84
|
-
|
|
85
|
-
|
|
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").
|
|
88
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
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").
|
|
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:
|
|
95
|
-
|
|
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").
|
|
98
|
-
$signatures: import("@xylabs/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").
|
|
101
|
-
previous: import("@xylabs/hex").
|
|
144
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
145
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
102
146
|
$epoch: number;
|
|
103
|
-
$destination?:
|
|
104
|
-
|
|
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").
|
|
154
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
107
155
|
} & {
|
|
108
156
|
schema: "network.xyo.boundwitness";
|
|
109
|
-
addresses:
|
|
110
|
-
|
|
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").
|
|
113
|
-
$signatures: import("@xylabs/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").
|
|
116
|
-
previous: import("@xylabs/hex").
|
|
167
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
168
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
117
169
|
$epoch: number;
|
|
118
|
-
_hash: import("@xylabs/hex").
|
|
119
|
-
_dataHash: import("@xylabs/hex").
|
|
120
|
-
$destination?:
|
|
121
|
-
|
|
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").
|
|
179
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
124
180
|
}, {
|
|
125
181
|
schema: "network.xyo.boundwitness";
|
|
126
|
-
addresses:
|
|
127
|
-
|
|
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").
|
|
130
|
-
$signatures: import("@xylabs/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").
|
|
133
|
-
previous: import("@xylabs/hex").
|
|
192
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
193
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
134
194
|
$epoch: number;
|
|
135
|
-
$destination?:
|
|
136
|
-
|
|
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").
|
|
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:
|
|
145
|
-
|
|
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").
|
|
148
|
-
$signatures: import("@xylabs/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").
|
|
151
|
-
previous: import("@xylabs/hex").
|
|
218
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
219
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
152
220
|
$epoch: number;
|
|
153
|
-
_hash: import("@xylabs/hex").
|
|
154
|
-
_dataHash: import("@xylabs/hex").
|
|
155
|
-
$destination?:
|
|
156
|
-
|
|
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").
|
|
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:
|
|
163
|
-
|
|
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").
|
|
166
|
-
$signatures: import("@xylabs/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").
|
|
169
|
-
previous: import("@xylabs/hex").
|
|
244
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
245
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
170
246
|
$epoch: number;
|
|
171
|
-
_hash: import("@xylabs/hex").
|
|
172
|
-
_dataHash: import("@xylabs/hex").
|
|
173
|
-
$destination?:
|
|
174
|
-
|
|
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").
|
|
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,
|
|
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"}
|