@xyo-network/xl1-protocol-model 3.1.3 → 4.0.0
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/README.md +1 -1
- package/dist/neutral/BlockNumber/BlockNumber.d.ts +3 -3
- package/dist/neutral/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/BlockNumber/EthBlockNumber.d.ts +3 -3
- package/dist/neutral/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/BlockNumber/xl1BlockNumber.d.ts +3 -3
- package/dist/neutral/BlockNumber/xl1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/Step/StepHash.d.ts +1 -1
- package/dist/neutral/Step/StepHash.d.ts.map +1 -1
- package/dist/neutral/Step/StepIdentity.d.ts +1 -1
- package/dist/neutral/Step/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/Step/StepSizes.d.ts +1 -1
- package/dist/neutral/Step/StepSizes.d.ts.map +1 -1
- package/dist/neutral/TransferPayload.d.ts +5 -5
- package/dist/neutral/block/BlockBoundWitness.d.ts +159 -159
- package/dist/neutral/block/HydratedBlock.d.ts +426 -426
- package/dist/neutral/block/signed/SignedBlockBoundWitness.d.ts +44 -44
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +86 -86
- package/dist/neutral/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +100 -100
- package/dist/neutral/block/unsigned/UnsignedBlockBoundWitness.d.ts +38 -38
- package/dist/neutral/chain/Chain.d.ts +1 -1
- package/dist/neutral/chain/Chain.d.ts.map +1 -1
- package/dist/neutral/chain/ChainAnalyzer.d.ts +1 -1
- package/dist/neutral/chain/ChainAnalyzer.d.ts.map +1 -1
- package/dist/neutral/chain/ChainId.d.ts +3 -3
- package/dist/neutral/chain/ChainId.d.ts.map +1 -1
- package/dist/neutral/fields/BlockNumber.d.ts +2 -2
- package/dist/neutral/fields/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/index.mjs +52 -52
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/map/AsyncMap.d.ts +1 -1
- package/dist/neutral/map/AsyncMap.d.ts.map +1 -1
- package/dist/neutral/model/AccountBalance.d.ts +26 -26
- package/dist/neutral/model/AccountBalance.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +3 -3
- package/dist/neutral/model/BlockRange/BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +3 -3
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/Range.d.ts +2 -2
- package/dist/neutral/model/BlockRange/xl1BlockRange.d.ts +3 -3
- package/dist/neutral/model/BlockRange/xl1BlockRange.d.ts.map +1 -1
- package/dist/neutral/model/BlockRate.d.ts +8 -8
- package/dist/neutral/model/ChainQualification.d.ts +7 -7
- package/dist/neutral/model/Context/BaseContext.zod.d.ts +1 -1
- package/dist/neutral/model/Context/BaseContext.zod.d.ts.map +1 -1
- package/dist/neutral/model/Context/BlockContext.zod.d.ts +6 -6
- package/dist/neutral/model/Context/CachingContext.zod.d.ts +1 -1
- package/dist/neutral/model/Context/ChainContext.zod.d.ts +42 -42
- package/dist/neutral/model/Context/HeadContext.zod.d.ts +19 -19
- package/dist/neutral/model/GatewayName.d.ts +1 -1
- package/dist/neutral/model/GatewayName.d.ts.map +1 -1
- package/dist/neutral/model/HydratedTransaction.d.ts +630 -630
- package/dist/neutral/model/PayloadMap.d.ts +1 -1
- package/dist/neutral/model/PayloadMap.d.ts.map +1 -1
- package/dist/neutral/model/PositionId.d.ts +1 -1
- package/dist/neutral/model/PositionId.d.ts.map +1 -1
- package/dist/neutral/model/Stake.d.ts +3 -3
- package/dist/neutral/model/SyncStepSummary.d.ts +96 -96
- package/dist/neutral/model/addresses.d.ts +1 -1
- package/dist/neutral/model/addresses.d.ts.map +1 -1
- package/dist/neutral/payload/StepIdentityPayload.d.ts +1 -1
- package/dist/neutral/payload/StepIdentityPayload.d.ts.map +1 -1
- package/dist/neutral/payload/application/Exchange/ExchangeOutcome.d.ts +2 -2
- package/dist/neutral/payload/application/Exchange/ExchangeOutcome.d.ts.map +1 -1
- package/dist/neutral/payload/application/Exchange/ExchangeTerms.d.ts +3 -3
- package/dist/neutral/payload/application/Exchange/ExchangeTerms.d.ts.map +1 -1
- package/dist/neutral/payload/application/Exchange/PartySecretReveal.d.ts +1 -1
- package/dist/neutral/payload/application/Exchange/PartySecretReveal.d.ts.map +1 -1
- package/dist/neutral/payload/application/Ordinal/Inscription.d.ts +1 -1
- package/dist/neutral/payload/application/Ordinal/Inscription.d.ts.map +1 -1
- package/dist/neutral/payload/application/Ordinal/OrdinalTransfer.d.ts +2 -2
- package/dist/neutral/payload/application/Ordinal/OrdinalTransfer.d.ts.map +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenDeploy.d.ts +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenDeploy.d.ts.map +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenMint.d.ts +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenMint.d.ts.map +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenTransfer.d.ts +1 -1
- package/dist/neutral/payload/application/Xrc20/TokenTransfer.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeCompletion.d.ts +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeCompletion.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts +10 -10
- package/dist/neutral/payload/elevatable/Bridge/BridgeDestinationObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeDetails.d.ts +16 -16
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts +9 -9
- package/dist/neutral/payload/elevatable/Bridge/BridgeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts +10 -10
- package/dist/neutral/payload/elevatable/Bridge/BridgeSourceObservation.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts +1 -1
- package/dist/neutral/payload/elevatable/ChainStakeIntent.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Executable.d.ts +1 -1
- package/dist/neutral/payload/elevatable/Executable.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Hash.d.ts +3 -3
- package/dist/neutral/payload/elevatable/Hash.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/StepComplete.d.ts +2 -2
- package/dist/neutral/payload/elevatable/StepComplete.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/Time.d.ts +12 -12
- package/dist/neutral/rejection/BlockRejectionPayload.d.ts +33 -33
- package/dist/neutral/rejection/RejectionError.d.ts +1 -1
- package/dist/neutral/rejection/TransactionRejectionPayload.d.ts +41 -41
- package/dist/neutral/transaction/TransactionBoundWitness.d.ts +568 -568
- package/dist/neutral/transaction/TransactionFees.d.ts +41 -41
- package/dist/neutral/transaction/TransactionFees.d.ts.map +1 -1
- package/package.json +13 -17
|
@@ -2,10 +2,10 @@ import { z } from 'zod/mini';
|
|
|
2
2
|
/** BlockBoundWitnessFieldsZod constant. */
|
|
3
3
|
export declare const BlockBoundWitnessFieldsZod: z.ZodMiniObject<{
|
|
4
4
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber, number>>;
|
|
5
|
-
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk
|
|
6
|
-
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
5
|
+
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk").BrandedHex, string>>;
|
|
6
|
+
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
7
7
|
protocol: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
8
|
-
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
8
|
+
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
/** BlockBoundWitnessMetaZod constant. */
|
|
11
11
|
export declare const BlockBoundWitnessMetaZod: z.ZodMiniObject<{
|
|
@@ -15,10 +15,10 @@ export declare const BlockBoundWitnessMetaZod: z.ZodMiniObject<{
|
|
|
15
15
|
export declare const BlockBoundWitnessZod: z.ZodMiniObject<{
|
|
16
16
|
$epoch: z.ZodMiniNumber<number>;
|
|
17
17
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber, number>>;
|
|
18
|
-
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk
|
|
19
|
-
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
18
|
+
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk").BrandedHex, string>>;
|
|
19
|
+
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
20
20
|
protocol: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
21
|
-
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
21
|
+
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
22
22
|
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
23
23
|
readonly __schema: true;
|
|
24
24
|
}>;
|
|
@@ -27,16 +27,16 @@ export declare const BlockBoundWitnessZod: z.ZodMiniObject<{
|
|
|
27
27
|
} & {
|
|
28
28
|
readonly __address: true;
|
|
29
29
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
30
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
30
|
+
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
31
31
|
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>>;
|
|
32
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
32
|
+
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
33
33
|
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
34
34
|
readonly __hex: true;
|
|
35
35
|
} & {
|
|
36
36
|
readonly __address: true;
|
|
37
37
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
38
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
39
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
38
|
+
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
39
|
+
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
/** BlockBoundWitness type. */
|
|
42
42
|
export type BlockBoundWitness = z.infer<typeof BlockBoundWitnessZod>;
|
|
@@ -44,8 +44,8 @@ export type BlockBoundWitness = z.infer<typeof BlockBoundWitnessZod>;
|
|
|
44
44
|
export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
|
|
45
45
|
$epoch: number;
|
|
46
46
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
47
|
-
chain: import("@xylabs/sdk
|
|
48
|
-
previous: import("@xylabs/sdk
|
|
47
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
48
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
49
49
|
schema: "network.xyo.boundwitness" & {
|
|
50
50
|
readonly __schema: true;
|
|
51
51
|
};
|
|
@@ -54,26 +54,26 @@ export declare const isBlockBoundWitness: <T>(value: T) => value is T & {
|
|
|
54
54
|
} & {
|
|
55
55
|
readonly __address: true;
|
|
56
56
|
}))[];
|
|
57
|
-
payload_hashes: import("@xylabs/sdk
|
|
57
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
58
58
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
59
|
-
previous_hashes: (import("@xylabs/sdk
|
|
60
|
-
$signatures: (import("@xylabs/sdk
|
|
59
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
60
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
61
61
|
protocol?: number | undefined;
|
|
62
|
-
step_hashes?: import("@xylabs/sdk
|
|
62
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
63
63
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
64
64
|
readonly __hex: true;
|
|
65
65
|
} & {
|
|
66
66
|
readonly __address: true;
|
|
67
67
|
}) | undefined;
|
|
68
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
68
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
69
69
|
};
|
|
70
70
|
/** Converts a value to BlockBoundWitness, throwing if invalid. */
|
|
71
71
|
export declare const asBlockBoundWitness: {
|
|
72
72
|
<T>(value: T): (T & {
|
|
73
73
|
$epoch: number;
|
|
74
74
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
75
|
-
chain: import("@xylabs/sdk
|
|
76
|
-
previous: import("@xylabs/sdk
|
|
75
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
76
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
77
77
|
schema: "network.xyo.boundwitness" & {
|
|
78
78
|
readonly __schema: true;
|
|
79
79
|
};
|
|
@@ -82,24 +82,24 @@ export declare const asBlockBoundWitness: {
|
|
|
82
82
|
} & {
|
|
83
83
|
readonly __address: true;
|
|
84
84
|
}))[];
|
|
85
|
-
payload_hashes: import("@xylabs/sdk
|
|
85
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
86
86
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
87
|
-
previous_hashes: (import("@xylabs/sdk
|
|
88
|
-
$signatures: (import("@xylabs/sdk
|
|
87
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
88
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
89
89
|
protocol?: number | undefined;
|
|
90
|
-
step_hashes?: import("@xylabs/sdk
|
|
90
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
91
91
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
92
92
|
readonly __hex: true;
|
|
93
93
|
} & {
|
|
94
94
|
readonly __address: true;
|
|
95
95
|
}) | undefined;
|
|
96
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
96
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
97
97
|
}) | undefined;
|
|
98
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
98
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
99
99
|
$epoch: number;
|
|
100
100
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
101
|
-
chain: import("@xylabs/sdk
|
|
102
|
-
previous: import("@xylabs/sdk
|
|
101
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
102
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
103
103
|
schema: "network.xyo.boundwitness" & {
|
|
104
104
|
readonly __schema: true;
|
|
105
105
|
};
|
|
@@ -108,18 +108,18 @@ export declare const asBlockBoundWitness: {
|
|
|
108
108
|
} & {
|
|
109
109
|
readonly __address: true;
|
|
110
110
|
}))[];
|
|
111
|
-
payload_hashes: import("@xylabs/sdk
|
|
111
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
112
112
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
113
|
-
previous_hashes: (import("@xylabs/sdk
|
|
114
|
-
$signatures: (import("@xylabs/sdk
|
|
113
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
114
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
115
115
|
protocol?: number | undefined;
|
|
116
|
-
step_hashes?: import("@xylabs/sdk
|
|
116
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
117
117
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
118
118
|
readonly __hex: true;
|
|
119
119
|
} & {
|
|
120
120
|
readonly __address: true;
|
|
121
121
|
}) | undefined;
|
|
122
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
122
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
/** toBlockBoundWitness constant. */
|
|
@@ -127,8 +127,8 @@ export declare const toBlockBoundWitness: {
|
|
|
127
127
|
<T>(value: T): (T & {
|
|
128
128
|
$epoch: number;
|
|
129
129
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
130
|
-
chain: import("@xylabs/sdk
|
|
131
|
-
previous: import("@xylabs/sdk
|
|
130
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
131
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
132
132
|
schema: "network.xyo.boundwitness" & {
|
|
133
133
|
readonly __schema: true;
|
|
134
134
|
};
|
|
@@ -137,24 +137,24 @@ export declare const toBlockBoundWitness: {
|
|
|
137
137
|
} & {
|
|
138
138
|
readonly __address: true;
|
|
139
139
|
}))[];
|
|
140
|
-
payload_hashes: import("@xylabs/sdk
|
|
140
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
141
141
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
142
|
-
previous_hashes: (import("@xylabs/sdk
|
|
143
|
-
$signatures: (import("@xylabs/sdk
|
|
142
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
143
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
144
144
|
protocol?: number | undefined;
|
|
145
|
-
step_hashes?: import("@xylabs/sdk
|
|
145
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
146
146
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
147
147
|
readonly __hex: true;
|
|
148
148
|
} & {
|
|
149
149
|
readonly __address: true;
|
|
150
150
|
}) | undefined;
|
|
151
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
151
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
152
152
|
}) | undefined;
|
|
153
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
153
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
154
154
|
$epoch: number;
|
|
155
155
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
156
|
-
chain: import("@xylabs/sdk
|
|
157
|
-
previous: import("@xylabs/sdk
|
|
156
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
157
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
158
158
|
schema: "network.xyo.boundwitness" & {
|
|
159
159
|
readonly __schema: true;
|
|
160
160
|
};
|
|
@@ -163,28 +163,28 @@ export declare const toBlockBoundWitness: {
|
|
|
163
163
|
} & {
|
|
164
164
|
readonly __address: true;
|
|
165
165
|
}))[];
|
|
166
|
-
payload_hashes: import("@xylabs/sdk
|
|
166
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
167
167
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
168
|
-
previous_hashes: (import("@xylabs/sdk
|
|
169
|
-
$signatures: (import("@xylabs/sdk
|
|
168
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
169
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
170
170
|
protocol?: number | undefined;
|
|
171
|
-
step_hashes?: import("@xylabs/sdk
|
|
171
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
172
172
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
173
173
|
readonly __hex: true;
|
|
174
174
|
} & {
|
|
175
175
|
readonly __address: true;
|
|
176
176
|
}) | undefined;
|
|
177
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
177
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
/** @deprecated use WithHashMetaZod(BlockBoundWitnessZod) instead */
|
|
181
181
|
export declare const BlockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
182
182
|
$epoch: z.ZodMiniNumber<number>;
|
|
183
183
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber, number>>;
|
|
184
|
-
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk
|
|
185
|
-
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
184
|
+
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk").BrandedHex, string>>;
|
|
185
|
+
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
186
186
|
protocol: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
187
|
-
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
187
|
+
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
188
188
|
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
189
189
|
readonly __schema: true;
|
|
190
190
|
}>;
|
|
@@ -193,18 +193,18 @@ export declare const BlockBoundWitnessWithHashMetaZod: z.ZodMiniObject<{
|
|
|
193
193
|
} & {
|
|
194
194
|
readonly __address: true;
|
|
195
195
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
196
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
196
|
+
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
197
197
|
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>>;
|
|
198
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
198
|
+
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
199
199
|
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
200
200
|
readonly __hex: true;
|
|
201
201
|
} & {
|
|
202
202
|
readonly __address: true;
|
|
203
203
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
204
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
205
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
206
|
-
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
207
|
-
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
204
|
+
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
205
|
+
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
206
|
+
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
207
|
+
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
208
208
|
}, z.core.$strip>;
|
|
209
209
|
/** @deprecated use WithHashMeta(BlockBoundWitness) instead */
|
|
210
210
|
/** BlockBoundWitnessWithHashMeta type. */
|
|
@@ -213,8 +213,8 @@ export type BlockBoundWitnessWithHashMeta = z.infer<typeof BlockBoundWitnessWith
|
|
|
213
213
|
export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is T & {
|
|
214
214
|
$epoch: number;
|
|
215
215
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
216
|
-
chain: import("@xylabs/sdk
|
|
217
|
-
previous: import("@xylabs/sdk
|
|
216
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
217
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
218
218
|
schema: "network.xyo.boundwitness" & {
|
|
219
219
|
readonly __schema: true;
|
|
220
220
|
};
|
|
@@ -223,28 +223,28 @@ export declare const isBlockBoundWitnessWithHashMeta: <T>(value: T) => value is
|
|
|
223
223
|
} & {
|
|
224
224
|
readonly __address: true;
|
|
225
225
|
}))[];
|
|
226
|
-
payload_hashes: import("@xylabs/sdk
|
|
226
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
227
227
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
228
|
-
previous_hashes: (import("@xylabs/sdk
|
|
229
|
-
$signatures: (import("@xylabs/sdk
|
|
230
|
-
_hash: import("@xylabs/sdk
|
|
231
|
-
_dataHash: import("@xylabs/sdk
|
|
228
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
229
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
230
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
231
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
232
232
|
protocol?: number | undefined;
|
|
233
|
-
step_hashes?: import("@xylabs/sdk
|
|
233
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
234
234
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
235
235
|
readonly __hex: true;
|
|
236
236
|
} & {
|
|
237
237
|
readonly __address: true;
|
|
238
238
|
}) | undefined;
|
|
239
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
239
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
240
240
|
};
|
|
241
241
|
/** Converts a value to BlockBoundWitnessWithHashMeta, throwing if invalid. */
|
|
242
242
|
export declare const asBlockBoundWitnessWithHashMeta: {
|
|
243
243
|
<T>(value: T): (T & {
|
|
244
244
|
$epoch: number;
|
|
245
245
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
246
|
-
chain: import("@xylabs/sdk
|
|
247
|
-
previous: import("@xylabs/sdk
|
|
246
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
247
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
248
248
|
schema: "network.xyo.boundwitness" & {
|
|
249
249
|
readonly __schema: true;
|
|
250
250
|
};
|
|
@@ -253,26 +253,26 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
253
253
|
} & {
|
|
254
254
|
readonly __address: true;
|
|
255
255
|
}))[];
|
|
256
|
-
payload_hashes: import("@xylabs/sdk
|
|
256
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
257
257
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
258
|
-
previous_hashes: (import("@xylabs/sdk
|
|
259
|
-
$signatures: (import("@xylabs/sdk
|
|
260
|
-
_hash: import("@xylabs/sdk
|
|
261
|
-
_dataHash: import("@xylabs/sdk
|
|
258
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
259
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
260
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
261
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
262
262
|
protocol?: number | undefined;
|
|
263
|
-
step_hashes?: import("@xylabs/sdk
|
|
263
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
264
264
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
265
265
|
readonly __hex: true;
|
|
266
266
|
} & {
|
|
267
267
|
readonly __address: true;
|
|
268
268
|
}) | undefined;
|
|
269
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
269
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
270
270
|
}) | undefined;
|
|
271
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
271
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
272
272
|
$epoch: number;
|
|
273
273
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
274
|
-
chain: import("@xylabs/sdk
|
|
275
|
-
previous: import("@xylabs/sdk
|
|
274
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
275
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
276
276
|
schema: "network.xyo.boundwitness" & {
|
|
277
277
|
readonly __schema: true;
|
|
278
278
|
};
|
|
@@ -281,20 +281,20 @@ export declare const asBlockBoundWitnessWithHashMeta: {
|
|
|
281
281
|
} & {
|
|
282
282
|
readonly __address: true;
|
|
283
283
|
}))[];
|
|
284
|
-
payload_hashes: import("@xylabs/sdk
|
|
284
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
285
285
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
286
|
-
previous_hashes: (import("@xylabs/sdk
|
|
287
|
-
$signatures: (import("@xylabs/sdk
|
|
288
|
-
_hash: import("@xylabs/sdk
|
|
289
|
-
_dataHash: import("@xylabs/sdk
|
|
286
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
287
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
288
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
289
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
290
290
|
protocol?: number | undefined;
|
|
291
|
-
step_hashes?: import("@xylabs/sdk
|
|
291
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
292
292
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
293
293
|
readonly __hex: true;
|
|
294
294
|
} & {
|
|
295
295
|
readonly __address: true;
|
|
296
296
|
}) | undefined;
|
|
297
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
297
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
298
298
|
};
|
|
299
299
|
};
|
|
300
300
|
/** toBlockBoundWitnessWithHashMeta constant. */
|
|
@@ -302,8 +302,8 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
302
302
|
<T>(value: T): (T & {
|
|
303
303
|
$epoch: number;
|
|
304
304
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
305
|
-
chain: import("@xylabs/sdk
|
|
306
|
-
previous: import("@xylabs/sdk
|
|
305
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
306
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
307
307
|
schema: "network.xyo.boundwitness" & {
|
|
308
308
|
readonly __schema: true;
|
|
309
309
|
};
|
|
@@ -312,26 +312,26 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
312
312
|
} & {
|
|
313
313
|
readonly __address: true;
|
|
314
314
|
}))[];
|
|
315
|
-
payload_hashes: import("@xylabs/sdk
|
|
315
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
316
316
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
317
|
-
previous_hashes: (import("@xylabs/sdk
|
|
318
|
-
$signatures: (import("@xylabs/sdk
|
|
319
|
-
_hash: import("@xylabs/sdk
|
|
320
|
-
_dataHash: import("@xylabs/sdk
|
|
317
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
318
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
319
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
320
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
321
321
|
protocol?: number | undefined;
|
|
322
|
-
step_hashes?: import("@xylabs/sdk
|
|
322
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
323
323
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
324
324
|
readonly __hex: true;
|
|
325
325
|
} & {
|
|
326
326
|
readonly __address: true;
|
|
327
327
|
}) | undefined;
|
|
328
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
328
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
329
329
|
}) | undefined;
|
|
330
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
330
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
331
331
|
$epoch: number;
|
|
332
332
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
333
|
-
chain: import("@xylabs/sdk
|
|
334
|
-
previous: import("@xylabs/sdk
|
|
333
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
334
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
335
335
|
schema: "network.xyo.boundwitness" & {
|
|
336
336
|
readonly __schema: true;
|
|
337
337
|
};
|
|
@@ -340,30 +340,30 @@ export declare const toBlockBoundWitnessWithHashMeta: {
|
|
|
340
340
|
} & {
|
|
341
341
|
readonly __address: true;
|
|
342
342
|
}))[];
|
|
343
|
-
payload_hashes: import("@xylabs/sdk
|
|
343
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
344
344
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
345
|
-
previous_hashes: (import("@xylabs/sdk
|
|
346
|
-
$signatures: (import("@xylabs/sdk
|
|
347
|
-
_hash: import("@xylabs/sdk
|
|
348
|
-
_dataHash: import("@xylabs/sdk
|
|
345
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
346
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
347
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
348
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
349
349
|
protocol?: number | undefined;
|
|
350
|
-
step_hashes?: import("@xylabs/sdk
|
|
350
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
351
351
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
352
352
|
readonly __hex: true;
|
|
353
353
|
} & {
|
|
354
354
|
readonly __address: true;
|
|
355
355
|
}) | undefined;
|
|
356
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
356
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
357
357
|
};
|
|
358
358
|
};
|
|
359
359
|
/** @deprecated use WithStorageMetaZod(BlockBoundWitnessZod) instead */
|
|
360
360
|
export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
361
361
|
$epoch: z.ZodMiniNumber<number>;
|
|
362
362
|
block: import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber, number>>;
|
|
363
|
-
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk
|
|
364
|
-
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
363
|
+
chain: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@xylabs/sdk").BrandedHex, string>>;
|
|
364
|
+
previous: z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
365
365
|
protocol: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
366
|
-
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
366
|
+
step_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
367
367
|
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
368
368
|
readonly __schema: true;
|
|
369
369
|
}>;
|
|
@@ -372,18 +372,18 @@ export declare const BlockBoundWitnessWithStorageMetaZod: z.ZodMiniObject<{
|
|
|
372
372
|
} & {
|
|
373
373
|
readonly __address: true;
|
|
374
374
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
375
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
375
|
+
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
376
376
|
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").BrandedSchema<string>, string>>>;
|
|
377
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
377
|
+
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
378
378
|
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
379
379
|
readonly __hex: true;
|
|
380
380
|
} & {
|
|
381
381
|
readonly __address: true;
|
|
382
382
|
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").XyoQuantAddress, string>>]>>;
|
|
383
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
384
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
385
|
-
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
386
|
-
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk
|
|
383
|
+
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
384
|
+
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
385
|
+
_hash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
386
|
+
_dataHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
387
387
|
_sequence: z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").LocalSequence, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-js").QualifiedSequence, string>>]>;
|
|
388
388
|
}, z.core.$strip>;
|
|
389
389
|
/** @deprecated use WithStorageMeta(BlockBoundWitness) instead */
|
|
@@ -393,8 +393,8 @@ export type BlockBoundWitnessWithStorageMeta = z.infer<typeof BlockBoundWitnessW
|
|
|
393
393
|
export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value is T & {
|
|
394
394
|
$epoch: number;
|
|
395
395
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
396
|
-
chain: import("@xylabs/sdk
|
|
397
|
-
previous: import("@xylabs/sdk
|
|
396
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
397
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
398
398
|
schema: "network.xyo.boundwitness" & {
|
|
399
399
|
readonly __schema: true;
|
|
400
400
|
};
|
|
@@ -403,29 +403,29 @@ export declare const isBlockBoundWitnessWithStorageMeta: <T>(value: T) => value
|
|
|
403
403
|
} & {
|
|
404
404
|
readonly __address: true;
|
|
405
405
|
}))[];
|
|
406
|
-
payload_hashes: import("@xylabs/sdk
|
|
406
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
407
407
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
408
|
-
previous_hashes: (import("@xylabs/sdk
|
|
409
|
-
$signatures: (import("@xylabs/sdk
|
|
410
|
-
_hash: import("@xylabs/sdk
|
|
411
|
-
_dataHash: import("@xylabs/sdk
|
|
408
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
409
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
410
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
411
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
412
412
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
413
413
|
protocol?: number | undefined;
|
|
414
|
-
step_hashes?: import("@xylabs/sdk
|
|
414
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
415
415
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
416
416
|
readonly __hex: true;
|
|
417
417
|
} & {
|
|
418
418
|
readonly __address: true;
|
|
419
419
|
}) | undefined;
|
|
420
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
420
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
421
421
|
};
|
|
422
422
|
/** Converts a value to BlockBoundWitnessWithStorageMeta, throwing if invalid. */
|
|
423
423
|
export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
424
424
|
<T>(value: T): (T & {
|
|
425
425
|
$epoch: number;
|
|
426
426
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
427
|
-
chain: import("@xylabs/sdk
|
|
428
|
-
previous: import("@xylabs/sdk
|
|
427
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
428
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
429
429
|
schema: "network.xyo.boundwitness" & {
|
|
430
430
|
readonly __schema: true;
|
|
431
431
|
};
|
|
@@ -434,27 +434,27 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
434
434
|
} & {
|
|
435
435
|
readonly __address: true;
|
|
436
436
|
}))[];
|
|
437
|
-
payload_hashes: import("@xylabs/sdk
|
|
437
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
438
438
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
439
|
-
previous_hashes: (import("@xylabs/sdk
|
|
440
|
-
$signatures: (import("@xylabs/sdk
|
|
441
|
-
_hash: import("@xylabs/sdk
|
|
442
|
-
_dataHash: import("@xylabs/sdk
|
|
439
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
440
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
441
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
442
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
443
443
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
444
444
|
protocol?: number | undefined;
|
|
445
|
-
step_hashes?: import("@xylabs/sdk
|
|
445
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
446
446
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
447
447
|
readonly __hex: true;
|
|
448
448
|
} & {
|
|
449
449
|
readonly __address: true;
|
|
450
450
|
}) | undefined;
|
|
451
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
451
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
452
452
|
}) | undefined;
|
|
453
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
453
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
454
454
|
$epoch: number;
|
|
455
455
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
456
|
-
chain: import("@xylabs/sdk
|
|
457
|
-
previous: import("@xylabs/sdk
|
|
456
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
457
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
458
458
|
schema: "network.xyo.boundwitness" & {
|
|
459
459
|
readonly __schema: true;
|
|
460
460
|
};
|
|
@@ -463,21 +463,21 @@ export declare const asBlockBoundWitnessWithStorageMeta: {
|
|
|
463
463
|
} & {
|
|
464
464
|
readonly __address: true;
|
|
465
465
|
}))[];
|
|
466
|
-
payload_hashes: import("@xylabs/sdk
|
|
466
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
467
467
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
468
|
-
previous_hashes: (import("@xylabs/sdk
|
|
469
|
-
$signatures: (import("@xylabs/sdk
|
|
470
|
-
_hash: import("@xylabs/sdk
|
|
471
|
-
_dataHash: import("@xylabs/sdk
|
|
468
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
469
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
470
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
471
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
472
472
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
473
473
|
protocol?: number | undefined;
|
|
474
|
-
step_hashes?: import("@xylabs/sdk
|
|
474
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
475
475
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
476
476
|
readonly __hex: true;
|
|
477
477
|
} & {
|
|
478
478
|
readonly __address: true;
|
|
479
479
|
}) | undefined;
|
|
480
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
480
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
481
481
|
};
|
|
482
482
|
};
|
|
483
483
|
/** toBlockBoundWitnessWithStorageMeta constant. */
|
|
@@ -485,8 +485,8 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
485
485
|
<T>(value: T): (T & {
|
|
486
486
|
$epoch: number;
|
|
487
487
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
488
|
-
chain: import("@xylabs/sdk
|
|
489
|
-
previous: import("@xylabs/sdk
|
|
488
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
489
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
490
490
|
schema: "network.xyo.boundwitness" & {
|
|
491
491
|
readonly __schema: true;
|
|
492
492
|
};
|
|
@@ -495,27 +495,27 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
495
495
|
} & {
|
|
496
496
|
readonly __address: true;
|
|
497
497
|
}))[];
|
|
498
|
-
payload_hashes: import("@xylabs/sdk
|
|
498
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
499
499
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
500
|
-
previous_hashes: (import("@xylabs/sdk
|
|
501
|
-
$signatures: (import("@xylabs/sdk
|
|
502
|
-
_hash: import("@xylabs/sdk
|
|
503
|
-
_dataHash: import("@xylabs/sdk
|
|
500
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
501
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
502
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
503
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
504
504
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
505
505
|
protocol?: number | undefined;
|
|
506
|
-
step_hashes?: import("@xylabs/sdk
|
|
506
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
507
507
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
508
508
|
readonly __hex: true;
|
|
509
509
|
} & {
|
|
510
510
|
readonly __address: true;
|
|
511
511
|
}) | undefined;
|
|
512
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
512
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
513
513
|
}) | undefined;
|
|
514
|
-
<T>(value: T, assert: import("@xylabs/sdk
|
|
514
|
+
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
515
515
|
$epoch: number;
|
|
516
516
|
block: import("../BlockNumber/xl1BlockNumber.ts").XL1BlockNumber;
|
|
517
|
-
chain: import("@xylabs/sdk
|
|
518
|
-
previous: import("@xylabs/sdk
|
|
517
|
+
chain: import("@xylabs/sdk").BrandedHex;
|
|
518
|
+
previous: import("@xylabs/sdk").BrandedHash | null;
|
|
519
519
|
schema: "network.xyo.boundwitness" & {
|
|
520
520
|
readonly __schema: true;
|
|
521
521
|
};
|
|
@@ -524,21 +524,21 @@ export declare const toBlockBoundWitnessWithStorageMeta: {
|
|
|
524
524
|
} & {
|
|
525
525
|
readonly __address: true;
|
|
526
526
|
}))[];
|
|
527
|
-
payload_hashes: import("@xylabs/sdk
|
|
527
|
+
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
528
528
|
payload_schemas: import("@xyo-network/sdk-js").BrandedSchema<string>[];
|
|
529
|
-
previous_hashes: (import("@xylabs/sdk
|
|
530
|
-
$signatures: (import("@xylabs/sdk
|
|
531
|
-
_hash: import("@xylabs/sdk
|
|
532
|
-
_dataHash: import("@xylabs/sdk
|
|
529
|
+
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
530
|
+
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
531
|
+
_hash: import("@xylabs/sdk").BrandedHash;
|
|
532
|
+
_dataHash: import("@xylabs/sdk").BrandedHash;
|
|
533
533
|
_sequence: import("@xyo-network/sdk-js").LocalSequence | import("@xyo-network/sdk-js").QualifiedSequence;
|
|
534
534
|
protocol?: number | undefined;
|
|
535
|
-
step_hashes?: import("@xylabs/sdk
|
|
535
|
+
step_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
536
536
|
$destination?: import("@xyo-network/sdk-js").XyoQuantAddress | (Lowercase<string> & {
|
|
537
537
|
readonly __hex: true;
|
|
538
538
|
} & {
|
|
539
539
|
readonly __address: true;
|
|
540
540
|
}) | undefined;
|
|
541
|
-
$sourceQuery?: import("@xylabs/sdk
|
|
541
|
+
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
//# sourceMappingURL=BlockBoundWitness.d.ts.map
|