@xyo-network/xl1-protocol 1.14.17 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/block/AllowedBlockPayload.d.ts +4 -12
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +29 -29
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Numberish.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/StepIdentity.d.ts +1 -1
- package/dist/neutral/model/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +20 -20
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +10 -10
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +11 -11
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts +16 -16
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts +45 -13
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts +1 -1
- package/dist/neutral/xl1/isXL1Factory.d.ts.map +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts +1 -1
- package/dist/neutral/zod/ArrayBuffer.d.ts.map +1 -1
- package/dist/neutral/zod/Chain.d.ts +2 -2
- package/dist/neutral/zod/Chain.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +853 -501
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +1471 -823
- package/dist/neutral/zod/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts +5 -1
- package/dist/neutral/zod/RewardsRangeOptions.d.ts.map +1 -1
- package/dist/neutral/zod/Sequence.d.ts +1 -1
- package/dist/neutral/zod/Sequence.d.ts.map +1 -1
- package/dist/neutral/zod/Stake.d.ts +74 -18
- package/dist/neutral/zod/Stake.d.ts.map +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts +1 -1
- package/dist/neutral/zod/TimeDomain.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +1407 -751
- package/dist/neutral/zod/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/TransactionFees.d.ts +39 -39
- package/dist/neutral/zod/TransactionFees.d.ts.map +1 -1
- package/dist/neutral/zod/TransferPair.d.ts +10 -2
- package/dist/neutral/zod/TransferPair.d.ts.map +1 -1
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +334 -190
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -55
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +185 -105
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +219 -123
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -1
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +97 -49
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +8 -8
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -1
- package/package.json +31 -31
- package/src/block/AllowedBlockPayload.ts +3 -3
- package/src/model/BlockNumber/BlockNumber.ts +1 -1
- package/src/model/BlockNumber/EthBlockNumber.ts +1 -1
- package/src/model/BlockNumber/Numberish.ts +1 -1
- package/src/model/BlockNumber/XL1BlockNumber.ts +1 -1
- package/src/model/BlockRange/BlockRange.ts +1 -1
- package/src/model/BlockRange/EthBlockRange.ts +1 -1
- package/src/model/BlockRange/Numberish.ts +1 -1
- package/src/model/BlockRange/Range.ts +1 -1
- package/src/model/BlockRange/XL1BlockRange.ts +1 -1
- package/src/model/StepIdentity.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDestinationObservation.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeDetails.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeIntent.ts +1 -1
- package/src/payload/elevatable/Bridge/BridgeSourceObservation.ts +1 -1
- package/src/payload/elevatable/Time.ts +1 -1
- package/src/payload/elevatable/TransferPayload.ts +1 -1
- package/src/xl1/isXL1Factory.ts +1 -1
- package/src/zod/ArrayBuffer.ts +1 -1
- package/src/zod/Chain.ts +1 -1
- package/src/zod/HydratedBlock.ts +1 -1
- package/src/zod/HydratedTransaction.ts +3 -3
- package/src/zod/Sequence.ts +1 -1
- package/src/zod/Stake.ts +1 -1
- package/src/zod/TimeDomain.ts +1 -1
- package/src/zod/TransactionBoundWitness.ts +1 -1
- package/src/zod/TransactionFees.ts +1 -1
- package/src/zod/TransferPair.ts +1 -1
- package/src/zod/block/BlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitness.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +1 -1
- package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +1 -1
- package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +1 -1
- package/src/zod/payload/WithHashMetaish.ts +1 -1
- package/src/zod/payload/WithStorageMetaish.ts +1 -1
|
@@ -1,216 +1,312 @@
|
|
|
1
|
-
import type
|
|
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<
|
|
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
|
_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:
|
|
25
|
-
|
|
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").
|
|
28
|
-
$signatures: import("@xylabs/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").
|
|
31
|
-
previous: import("@xylabs/hex").
|
|
42
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
43
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
32
44
|
$epoch: number;
|
|
33
|
-
_hash: import("@xylabs/hex").
|
|
34
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
37
|
-
|
|
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").
|
|
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:
|
|
45
|
-
|
|
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").
|
|
48
|
-
$signatures: import("@xylabs/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").
|
|
51
|
-
previous: import("@xylabs/hex").
|
|
70
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
71
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
52
72
|
$epoch: number;
|
|
53
|
-
_hash: import("@xylabs/hex").
|
|
54
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
57
|
-
|
|
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").
|
|
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:
|
|
64
|
-
|
|
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").
|
|
67
|
-
$signatures: import("@xylabs/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").
|
|
70
|
-
previous: import("@xylabs/hex").
|
|
97
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
98
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
71
99
|
$epoch: number;
|
|
72
|
-
_hash: import("@xylabs/hex").
|
|
73
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
76
|
-
|
|
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").
|
|
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<
|
|
84
|
-
|
|
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").
|
|
87
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
88
|
-
|
|
89
|
-
|
|
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").
|
|
92
|
-
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
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").
|
|
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:
|
|
99
|
-
|
|
138
|
+
addresses: (Lowercase<string> & {
|
|
139
|
+
readonly __hex: true;
|
|
140
|
+
} & {
|
|
141
|
+
readonly __address: true;
|
|
142
|
+
})[];
|
|
143
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
100
144
|
payload_schemas: string[];
|
|
101
|
-
previous_hashes: (import("@xylabs/hex").
|
|
102
|
-
$signatures: import("@xylabs/hex").
|
|
145
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
146
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
103
147
|
block: import("../../../index.ts").XL1BlockNumber;
|
|
104
|
-
chain: import("@xylabs/hex").
|
|
105
|
-
previous: import("@xylabs/hex").
|
|
148
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
149
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
106
150
|
$epoch: number;
|
|
107
|
-
$destination?:
|
|
108
|
-
|
|
151
|
+
$destination?: (Lowercase<string> & {
|
|
152
|
+
readonly __hex: true;
|
|
153
|
+
} & {
|
|
154
|
+
readonly __address: true;
|
|
155
|
+
}) | undefined;
|
|
156
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
109
157
|
protocol?: number | undefined;
|
|
110
|
-
step_hashes?: import("@xylabs/hex").
|
|
158
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
111
159
|
} & {
|
|
112
160
|
schema: "network.xyo.boundwitness";
|
|
113
|
-
addresses:
|
|
114
|
-
|
|
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").
|
|
117
|
-
$signatures: import("@xylabs/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").
|
|
120
|
-
previous: import("@xylabs/hex").
|
|
171
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
172
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
121
173
|
$epoch: number;
|
|
122
|
-
_hash: import("@xylabs/hex").
|
|
123
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
126
|
-
|
|
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").
|
|
184
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
129
185
|
}, {
|
|
130
186
|
schema: "network.xyo.boundwitness";
|
|
131
|
-
addresses:
|
|
132
|
-
|
|
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").
|
|
135
|
-
$signatures: import("@xylabs/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").
|
|
138
|
-
previous: import("@xylabs/hex").
|
|
197
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
198
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
139
199
|
$epoch: number;
|
|
140
|
-
$destination?:
|
|
141
|
-
|
|
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").
|
|
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:
|
|
150
|
-
|
|
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").
|
|
153
|
-
$signatures: import("@xylabs/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").
|
|
156
|
-
previous: import("@xylabs/hex").
|
|
223
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
224
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
157
225
|
$epoch: number;
|
|
158
|
-
$destination?:
|
|
159
|
-
|
|
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").
|
|
233
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
162
234
|
} & {
|
|
163
235
|
schema: "network.xyo.boundwitness";
|
|
164
|
-
addresses:
|
|
165
|
-
|
|
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").
|
|
168
|
-
$signatures: import("@xylabs/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").
|
|
171
|
-
previous: import("@xylabs/hex").
|
|
246
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
247
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
172
248
|
$epoch: number;
|
|
173
|
-
_hash: import("@xylabs/hex").
|
|
174
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
177
|
-
|
|
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").
|
|
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:
|
|
184
|
-
|
|
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").
|
|
187
|
-
$signatures: import("@xylabs/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").
|
|
190
|
-
previous: import("@xylabs/hex").
|
|
273
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
274
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
191
275
|
$epoch: number;
|
|
192
|
-
$destination?:
|
|
193
|
-
|
|
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").
|
|
283
|
+
step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
|
|
196
284
|
} & {
|
|
197
285
|
schema: "network.xyo.boundwitness";
|
|
198
|
-
addresses:
|
|
199
|
-
|
|
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").
|
|
202
|
-
$signatures: import("@xylabs/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").
|
|
205
|
-
previous: import("@xylabs/hex").
|
|
296
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
297
|
+
previous: import("@xylabs/hex").BrandedHash | null;
|
|
206
298
|
$epoch: number;
|
|
207
|
-
_hash: import("@xylabs/hex").
|
|
208
|
-
_dataHash: import("@xylabs/hex").
|
|
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?:
|
|
211
|
-
|
|
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").
|
|
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,
|
|
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"}
|