@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,23 +1,35 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
export declare const HydratedTransactionZod: z.ZodTuple<[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.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
11
19
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
12
20
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
13
21
|
fees: z.ZodObject<{
|
|
14
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
15
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
16
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
17
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
22
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
23
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
24
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
25
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
18
26
|
}, z.core.$strip>;
|
|
19
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
20
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
27
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
28
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
29
|
+
readonly __hex: true;
|
|
30
|
+
} & {
|
|
31
|
+
readonly __address: true;
|
|
32
|
+
}, string>>;
|
|
21
33
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
34
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
23
35
|
schema: z.ZodString;
|
|
@@ -25,23 +37,35 @@ export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
25
37
|
export type HydratedTransaction = z.infer<typeof HydratedTransactionZod>;
|
|
26
38
|
export declare const isHydratedTransaction: <T>(value: T) => value is T & [{
|
|
27
39
|
schema: "network.xyo.boundwitness";
|
|
28
|
-
addresses:
|
|
29
|
-
|
|
40
|
+
addresses: (Lowercase<string> & {
|
|
41
|
+
readonly __hex: true;
|
|
42
|
+
} & {
|
|
43
|
+
readonly __address: true;
|
|
44
|
+
})[];
|
|
45
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
30
46
|
payload_schemas: string[];
|
|
31
|
-
previous_hashes: (import("@xylabs/hex").
|
|
32
|
-
$signatures: (import("@xylabs/hex").
|
|
47
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
48
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
33
49
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
34
50
|
exp: import("../index.ts").XL1BlockNumber;
|
|
35
51
|
fees: {
|
|
36
|
-
base: import("@xylabs/hex").
|
|
37
|
-
gasLimit: import("@xylabs/hex").
|
|
38
|
-
gasPrice: import("@xylabs/hex").
|
|
39
|
-
priority: import("@xylabs/hex").
|
|
52
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
53
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
54
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
55
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
40
56
|
};
|
|
41
|
-
chain: import("@xylabs/hex").
|
|
42
|
-
from:
|
|
43
|
-
|
|
44
|
-
|
|
57
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
58
|
+
from: Lowercase<string> & {
|
|
59
|
+
readonly __hex: true;
|
|
60
|
+
} & {
|
|
61
|
+
readonly __address: true;
|
|
62
|
+
};
|
|
63
|
+
$destination?: (Lowercase<string> & {
|
|
64
|
+
readonly __hex: true;
|
|
65
|
+
} & {
|
|
66
|
+
readonly __address: true;
|
|
67
|
+
}) | undefined;
|
|
68
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
45
69
|
script?: string[] | undefined;
|
|
46
70
|
}, {
|
|
47
71
|
schema: string;
|
|
@@ -49,46 +73,70 @@ export declare const isHydratedTransaction: <T>(value: T) => value is T & [{
|
|
|
49
73
|
export declare const asHydratedTransaction: {
|
|
50
74
|
<T>(value: T): (T & [{
|
|
51
75
|
schema: "network.xyo.boundwitness";
|
|
52
|
-
addresses:
|
|
53
|
-
|
|
76
|
+
addresses: (Lowercase<string> & {
|
|
77
|
+
readonly __hex: true;
|
|
78
|
+
} & {
|
|
79
|
+
readonly __address: true;
|
|
80
|
+
})[];
|
|
81
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
54
82
|
payload_schemas: string[];
|
|
55
|
-
previous_hashes: (import("@xylabs/hex").
|
|
56
|
-
$signatures: (import("@xylabs/hex").
|
|
83
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
84
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
57
85
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
58
86
|
exp: import("../index.ts").XL1BlockNumber;
|
|
59
87
|
fees: {
|
|
60
|
-
base: import("@xylabs/hex").
|
|
61
|
-
gasLimit: import("@xylabs/hex").
|
|
62
|
-
gasPrice: import("@xylabs/hex").
|
|
63
|
-
priority: import("@xylabs/hex").
|
|
64
|
-
};
|
|
65
|
-
chain: import("@xylabs/hex").
|
|
66
|
-
from:
|
|
67
|
-
|
|
68
|
-
|
|
88
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
89
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
90
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
91
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
92
|
+
};
|
|
93
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
94
|
+
from: Lowercase<string> & {
|
|
95
|
+
readonly __hex: true;
|
|
96
|
+
} & {
|
|
97
|
+
readonly __address: true;
|
|
98
|
+
};
|
|
99
|
+
$destination?: (Lowercase<string> & {
|
|
100
|
+
readonly __hex: true;
|
|
101
|
+
} & {
|
|
102
|
+
readonly __address: true;
|
|
103
|
+
}) | undefined;
|
|
104
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
69
105
|
script?: string[] | undefined;
|
|
70
106
|
}, {
|
|
71
107
|
schema: string;
|
|
72
108
|
}[]]) | undefined;
|
|
73
109
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
74
110
|
schema: "network.xyo.boundwitness";
|
|
75
|
-
addresses:
|
|
76
|
-
|
|
111
|
+
addresses: (Lowercase<string> & {
|
|
112
|
+
readonly __hex: true;
|
|
113
|
+
} & {
|
|
114
|
+
readonly __address: true;
|
|
115
|
+
})[];
|
|
116
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
77
117
|
payload_schemas: string[];
|
|
78
|
-
previous_hashes: (import("@xylabs/hex").
|
|
79
|
-
$signatures: (import("@xylabs/hex").
|
|
118
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
119
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
80
120
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
81
121
|
exp: import("../index.ts").XL1BlockNumber;
|
|
82
122
|
fees: {
|
|
83
|
-
base: import("@xylabs/hex").
|
|
84
|
-
gasLimit: import("@xylabs/hex").
|
|
85
|
-
gasPrice: import("@xylabs/hex").
|
|
86
|
-
priority: import("@xylabs/hex").
|
|
87
|
-
};
|
|
88
|
-
chain: import("@xylabs/hex").
|
|
89
|
-
from:
|
|
90
|
-
|
|
91
|
-
|
|
123
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
124
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
125
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
126
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
127
|
+
};
|
|
128
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
129
|
+
from: Lowercase<string> & {
|
|
130
|
+
readonly __hex: true;
|
|
131
|
+
} & {
|
|
132
|
+
readonly __address: true;
|
|
133
|
+
};
|
|
134
|
+
$destination?: (Lowercase<string> & {
|
|
135
|
+
readonly __hex: true;
|
|
136
|
+
} & {
|
|
137
|
+
readonly __address: true;
|
|
138
|
+
}) | undefined;
|
|
139
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
92
140
|
script?: string[] | undefined;
|
|
93
141
|
}, {
|
|
94
142
|
schema: string;
|
|
@@ -97,46 +145,70 @@ export declare const asHydratedTransaction: {
|
|
|
97
145
|
export declare const toHydratedTransaction: {
|
|
98
146
|
<T>(value: T): (T & [{
|
|
99
147
|
schema: "network.xyo.boundwitness";
|
|
100
|
-
addresses:
|
|
101
|
-
|
|
148
|
+
addresses: (Lowercase<string> & {
|
|
149
|
+
readonly __hex: true;
|
|
150
|
+
} & {
|
|
151
|
+
readonly __address: true;
|
|
152
|
+
})[];
|
|
153
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
102
154
|
payload_schemas: string[];
|
|
103
|
-
previous_hashes: (import("@xylabs/hex").
|
|
104
|
-
$signatures: (import("@xylabs/hex").
|
|
155
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
156
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
105
157
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
106
158
|
exp: import("../index.ts").XL1BlockNumber;
|
|
107
159
|
fees: {
|
|
108
|
-
base: import("@xylabs/hex").
|
|
109
|
-
gasLimit: import("@xylabs/hex").
|
|
110
|
-
gasPrice: import("@xylabs/hex").
|
|
111
|
-
priority: import("@xylabs/hex").
|
|
112
|
-
};
|
|
113
|
-
chain: import("@xylabs/hex").
|
|
114
|
-
from:
|
|
115
|
-
|
|
116
|
-
|
|
160
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
161
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
162
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
163
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
164
|
+
};
|
|
165
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
166
|
+
from: Lowercase<string> & {
|
|
167
|
+
readonly __hex: true;
|
|
168
|
+
} & {
|
|
169
|
+
readonly __address: true;
|
|
170
|
+
};
|
|
171
|
+
$destination?: (Lowercase<string> & {
|
|
172
|
+
readonly __hex: true;
|
|
173
|
+
} & {
|
|
174
|
+
readonly __address: true;
|
|
175
|
+
}) | undefined;
|
|
176
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
117
177
|
script?: string[] | undefined;
|
|
118
178
|
}, {
|
|
119
179
|
schema: string;
|
|
120
180
|
}[]]) | undefined;
|
|
121
181
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
122
182
|
schema: "network.xyo.boundwitness";
|
|
123
|
-
addresses:
|
|
124
|
-
|
|
183
|
+
addresses: (Lowercase<string> & {
|
|
184
|
+
readonly __hex: true;
|
|
185
|
+
} & {
|
|
186
|
+
readonly __address: true;
|
|
187
|
+
})[];
|
|
188
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
125
189
|
payload_schemas: string[];
|
|
126
|
-
previous_hashes: (import("@xylabs/hex").
|
|
127
|
-
$signatures: (import("@xylabs/hex").
|
|
190
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
191
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
128
192
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
129
193
|
exp: import("../index.ts").XL1BlockNumber;
|
|
130
194
|
fees: {
|
|
131
|
-
base: import("@xylabs/hex").
|
|
132
|
-
gasLimit: import("@xylabs/hex").
|
|
133
|
-
gasPrice: import("@xylabs/hex").
|
|
134
|
-
priority: import("@xylabs/hex").
|
|
135
|
-
};
|
|
136
|
-
chain: import("@xylabs/hex").
|
|
137
|
-
from:
|
|
138
|
-
|
|
139
|
-
|
|
195
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
196
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
197
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
198
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
199
|
+
};
|
|
200
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
201
|
+
from: Lowercase<string> & {
|
|
202
|
+
readonly __hex: true;
|
|
203
|
+
} & {
|
|
204
|
+
readonly __address: true;
|
|
205
|
+
};
|
|
206
|
+
$destination?: (Lowercase<string> & {
|
|
207
|
+
readonly __hex: true;
|
|
208
|
+
} & {
|
|
209
|
+
readonly __address: true;
|
|
210
|
+
}) | undefined;
|
|
211
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
140
212
|
script?: string[] | undefined;
|
|
141
213
|
}, {
|
|
142
214
|
schema: string;
|
|
@@ -144,369 +216,525 @@ export declare const toHydratedTransaction: {
|
|
|
144
216
|
};
|
|
145
217
|
export declare const HydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
146
218
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
147
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
148
|
-
|
|
219
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
220
|
+
readonly __hex: true;
|
|
221
|
+
} & {
|
|
222
|
+
readonly __address: true;
|
|
223
|
+
}, string>>>;
|
|
224
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
149
225
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
150
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
151
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
152
|
-
|
|
153
|
-
|
|
226
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
227
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
228
|
+
readonly __hex: true;
|
|
229
|
+
} & {
|
|
230
|
+
readonly __address: true;
|
|
231
|
+
}, string>>>;
|
|
232
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
233
|
+
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
154
234
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
155
235
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
156
236
|
fees: z.ZodObject<{
|
|
157
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
158
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
159
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
160
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
237
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
238
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
239
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
240
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
161
241
|
}, z.core.$strip>;
|
|
162
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
163
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
242
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
243
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
244
|
+
readonly __hex: true;
|
|
245
|
+
} & {
|
|
246
|
+
readonly __address: true;
|
|
247
|
+
}, string>>;
|
|
164
248
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
165
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
166
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
249
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
250
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
167
251
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
168
252
|
schema: z.ZodString;
|
|
169
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
170
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
253
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
254
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
171
255
|
}, z.core.$strip>>], null>;
|
|
172
256
|
export type HydratedTransactionWithHashMeta = z.infer<typeof HydratedTransactionWithHashMetaZod>;
|
|
173
257
|
export declare const isHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
174
258
|
schema: "network.xyo.boundwitness";
|
|
175
|
-
addresses:
|
|
176
|
-
|
|
259
|
+
addresses: (Lowercase<string> & {
|
|
260
|
+
readonly __hex: true;
|
|
261
|
+
} & {
|
|
262
|
+
readonly __address: true;
|
|
263
|
+
})[];
|
|
264
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
177
265
|
payload_schemas: string[];
|
|
178
|
-
previous_hashes: (import("@xylabs/hex").
|
|
179
|
-
$signatures: (import("@xylabs/hex").
|
|
266
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
267
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
180
268
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
181
269
|
exp: import("../index.ts").XL1BlockNumber;
|
|
182
270
|
fees: {
|
|
183
|
-
base: import("@xylabs/hex").
|
|
184
|
-
gasLimit: import("@xylabs/hex").
|
|
185
|
-
gasPrice: import("@xylabs/hex").
|
|
186
|
-
priority: import("@xylabs/hex").
|
|
271
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
272
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
273
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
274
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
187
275
|
};
|
|
188
|
-
chain: import("@xylabs/hex").
|
|
189
|
-
from:
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
276
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
277
|
+
from: Lowercase<string> & {
|
|
278
|
+
readonly __hex: true;
|
|
279
|
+
} & {
|
|
280
|
+
readonly __address: true;
|
|
281
|
+
};
|
|
282
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
283
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
284
|
+
$destination?: (Lowercase<string> & {
|
|
285
|
+
readonly __hex: true;
|
|
286
|
+
} & {
|
|
287
|
+
readonly __address: true;
|
|
288
|
+
}) | undefined;
|
|
289
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
194
290
|
script?: string[] | undefined;
|
|
195
291
|
}, {
|
|
196
292
|
schema: string;
|
|
197
|
-
_hash: import("@xylabs/hex").
|
|
198
|
-
_dataHash: import("@xylabs/hex").
|
|
293
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
294
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
199
295
|
}[]];
|
|
200
296
|
export declare const asHydratedTransactionWithHashMeta: {
|
|
201
297
|
<T>(value: T): (T & [{
|
|
202
298
|
schema: "network.xyo.boundwitness";
|
|
203
|
-
addresses:
|
|
204
|
-
|
|
299
|
+
addresses: (Lowercase<string> & {
|
|
300
|
+
readonly __hex: true;
|
|
301
|
+
} & {
|
|
302
|
+
readonly __address: true;
|
|
303
|
+
})[];
|
|
304
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
205
305
|
payload_schemas: string[];
|
|
206
|
-
previous_hashes: (import("@xylabs/hex").
|
|
207
|
-
$signatures: (import("@xylabs/hex").
|
|
306
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
307
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
208
308
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
209
309
|
exp: import("../index.ts").XL1BlockNumber;
|
|
210
310
|
fees: {
|
|
211
|
-
base: import("@xylabs/hex").
|
|
212
|
-
gasLimit: import("@xylabs/hex").
|
|
213
|
-
gasPrice: import("@xylabs/hex").
|
|
214
|
-
priority: import("@xylabs/hex").
|
|
215
|
-
};
|
|
216
|
-
chain: import("@xylabs/hex").
|
|
217
|
-
from:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
311
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
312
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
313
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
314
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
315
|
+
};
|
|
316
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
317
|
+
from: Lowercase<string> & {
|
|
318
|
+
readonly __hex: true;
|
|
319
|
+
} & {
|
|
320
|
+
readonly __address: true;
|
|
321
|
+
};
|
|
322
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
323
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
324
|
+
$destination?: (Lowercase<string> & {
|
|
325
|
+
readonly __hex: true;
|
|
326
|
+
} & {
|
|
327
|
+
readonly __address: true;
|
|
328
|
+
}) | undefined;
|
|
329
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
222
330
|
script?: string[] | undefined;
|
|
223
331
|
}, {
|
|
224
332
|
schema: string;
|
|
225
|
-
_hash: import("@xylabs/hex").
|
|
226
|
-
_dataHash: import("@xylabs/hex").
|
|
333
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
334
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
227
335
|
}[]]) | undefined;
|
|
228
336
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
229
337
|
schema: "network.xyo.boundwitness";
|
|
230
|
-
addresses:
|
|
231
|
-
|
|
338
|
+
addresses: (Lowercase<string> & {
|
|
339
|
+
readonly __hex: true;
|
|
340
|
+
} & {
|
|
341
|
+
readonly __address: true;
|
|
342
|
+
})[];
|
|
343
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
232
344
|
payload_schemas: string[];
|
|
233
|
-
previous_hashes: (import("@xylabs/hex").
|
|
234
|
-
$signatures: (import("@xylabs/hex").
|
|
345
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
346
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
235
347
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
236
348
|
exp: import("../index.ts").XL1BlockNumber;
|
|
237
349
|
fees: {
|
|
238
|
-
base: import("@xylabs/hex").
|
|
239
|
-
gasLimit: import("@xylabs/hex").
|
|
240
|
-
gasPrice: import("@xylabs/hex").
|
|
241
|
-
priority: import("@xylabs/hex").
|
|
242
|
-
};
|
|
243
|
-
chain: import("@xylabs/hex").
|
|
244
|
-
from:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
350
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
351
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
352
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
353
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
354
|
+
};
|
|
355
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
356
|
+
from: Lowercase<string> & {
|
|
357
|
+
readonly __hex: true;
|
|
358
|
+
} & {
|
|
359
|
+
readonly __address: true;
|
|
360
|
+
};
|
|
361
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
362
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
363
|
+
$destination?: (Lowercase<string> & {
|
|
364
|
+
readonly __hex: true;
|
|
365
|
+
} & {
|
|
366
|
+
readonly __address: true;
|
|
367
|
+
}) | undefined;
|
|
368
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
249
369
|
script?: string[] | undefined;
|
|
250
370
|
}, {
|
|
251
371
|
schema: string;
|
|
252
|
-
_hash: import("@xylabs/hex").
|
|
253
|
-
_dataHash: import("@xylabs/hex").
|
|
372
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
373
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
254
374
|
}[]];
|
|
255
375
|
};
|
|
256
376
|
export declare const toHydratedTransactionWithHashMeta: {
|
|
257
377
|
<T>(value: T): (T & [{
|
|
258
378
|
schema: "network.xyo.boundwitness";
|
|
259
|
-
addresses:
|
|
260
|
-
|
|
379
|
+
addresses: (Lowercase<string> & {
|
|
380
|
+
readonly __hex: true;
|
|
381
|
+
} & {
|
|
382
|
+
readonly __address: true;
|
|
383
|
+
})[];
|
|
384
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
261
385
|
payload_schemas: string[];
|
|
262
|
-
previous_hashes: (import("@xylabs/hex").
|
|
263
|
-
$signatures: (import("@xylabs/hex").
|
|
386
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
387
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
264
388
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
265
389
|
exp: import("../index.ts").XL1BlockNumber;
|
|
266
390
|
fees: {
|
|
267
|
-
base: import("@xylabs/hex").
|
|
268
|
-
gasLimit: import("@xylabs/hex").
|
|
269
|
-
gasPrice: import("@xylabs/hex").
|
|
270
|
-
priority: import("@xylabs/hex").
|
|
271
|
-
};
|
|
272
|
-
chain: import("@xylabs/hex").
|
|
273
|
-
from:
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
391
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
392
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
393
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
394
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
395
|
+
};
|
|
396
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
397
|
+
from: Lowercase<string> & {
|
|
398
|
+
readonly __hex: true;
|
|
399
|
+
} & {
|
|
400
|
+
readonly __address: true;
|
|
401
|
+
};
|
|
402
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
403
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
404
|
+
$destination?: (Lowercase<string> & {
|
|
405
|
+
readonly __hex: true;
|
|
406
|
+
} & {
|
|
407
|
+
readonly __address: true;
|
|
408
|
+
}) | undefined;
|
|
409
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
278
410
|
script?: string[] | undefined;
|
|
279
411
|
}, {
|
|
280
412
|
schema: string;
|
|
281
|
-
_hash: import("@xylabs/hex").
|
|
282
|
-
_dataHash: import("@xylabs/hex").
|
|
413
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
414
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
283
415
|
}[]]) | undefined;
|
|
284
416
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
285
417
|
schema: "network.xyo.boundwitness";
|
|
286
|
-
addresses:
|
|
287
|
-
|
|
418
|
+
addresses: (Lowercase<string> & {
|
|
419
|
+
readonly __hex: true;
|
|
420
|
+
} & {
|
|
421
|
+
readonly __address: true;
|
|
422
|
+
})[];
|
|
423
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
288
424
|
payload_schemas: string[];
|
|
289
|
-
previous_hashes: (import("@xylabs/hex").
|
|
290
|
-
$signatures: (import("@xylabs/hex").
|
|
425
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
426
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
291
427
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
292
428
|
exp: import("../index.ts").XL1BlockNumber;
|
|
293
429
|
fees: {
|
|
294
|
-
base: import("@xylabs/hex").
|
|
295
|
-
gasLimit: import("@xylabs/hex").
|
|
296
|
-
gasPrice: import("@xylabs/hex").
|
|
297
|
-
priority: import("@xylabs/hex").
|
|
298
|
-
};
|
|
299
|
-
chain: import("@xylabs/hex").
|
|
300
|
-
from:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
430
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
431
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
432
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
433
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
434
|
+
};
|
|
435
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
436
|
+
from: Lowercase<string> & {
|
|
437
|
+
readonly __hex: true;
|
|
438
|
+
} & {
|
|
439
|
+
readonly __address: true;
|
|
440
|
+
};
|
|
441
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
442
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
443
|
+
$destination?: (Lowercase<string> & {
|
|
444
|
+
readonly __hex: true;
|
|
445
|
+
} & {
|
|
446
|
+
readonly __address: true;
|
|
447
|
+
}) | undefined;
|
|
448
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
305
449
|
script?: string[] | undefined;
|
|
306
450
|
}, {
|
|
307
451
|
schema: string;
|
|
308
|
-
_hash: import("@xylabs/hex").
|
|
309
|
-
_dataHash: import("@xylabs/hex").
|
|
452
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
453
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
310
454
|
}[]];
|
|
311
455
|
};
|
|
312
456
|
export declare const HydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
313
457
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
314
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
315
|
-
|
|
458
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
459
|
+
readonly __hex: true;
|
|
460
|
+
} & {
|
|
461
|
+
readonly __address: true;
|
|
462
|
+
}, string>>>;
|
|
463
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
316
464
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
317
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
318
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
319
|
-
|
|
320
|
-
|
|
465
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
466
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
467
|
+
readonly __hex: true;
|
|
468
|
+
} & {
|
|
469
|
+
readonly __address: true;
|
|
470
|
+
}, string>>>;
|
|
471
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
472
|
+
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>, z.ZodNull]>>;
|
|
321
473
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
322
474
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
323
475
|
fees: z.ZodObject<{
|
|
324
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
325
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
326
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
327
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
476
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
477
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
478
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
479
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
328
480
|
}, z.core.$strip>;
|
|
329
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
330
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
481
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
482
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
483
|
+
readonly __hex: true;
|
|
484
|
+
} & {
|
|
485
|
+
readonly __address: true;
|
|
486
|
+
}, string>>;
|
|
331
487
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
332
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
333
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
488
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
489
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
334
490
|
_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>>]>;
|
|
335
491
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
336
492
|
schema: z.ZodString;
|
|
337
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
338
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
493
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
494
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
339
495
|
_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>>]>;
|
|
340
496
|
}, z.core.$strip>>], null>;
|
|
341
497
|
export type HydratedTransactionWithStorageMeta = z.infer<typeof HydratedTransactionWithStorageMetaZod>;
|
|
342
498
|
export declare const isHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
343
499
|
schema: "network.xyo.boundwitness";
|
|
344
|
-
addresses:
|
|
345
|
-
|
|
500
|
+
addresses: (Lowercase<string> & {
|
|
501
|
+
readonly __hex: true;
|
|
502
|
+
} & {
|
|
503
|
+
readonly __address: true;
|
|
504
|
+
})[];
|
|
505
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
346
506
|
payload_schemas: string[];
|
|
347
|
-
previous_hashes: (import("@xylabs/hex").
|
|
348
|
-
$signatures: (import("@xylabs/hex").
|
|
507
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
508
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
349
509
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
350
510
|
exp: import("../index.ts").XL1BlockNumber;
|
|
351
511
|
fees: {
|
|
352
|
-
base: import("@xylabs/hex").
|
|
353
|
-
gasLimit: import("@xylabs/hex").
|
|
354
|
-
gasPrice: import("@xylabs/hex").
|
|
355
|
-
priority: import("@xylabs/hex").
|
|
512
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
513
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
514
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
515
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
356
516
|
};
|
|
357
|
-
chain: import("@xylabs/hex").
|
|
358
|
-
from:
|
|
359
|
-
|
|
360
|
-
|
|
517
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
518
|
+
from: Lowercase<string> & {
|
|
519
|
+
readonly __hex: true;
|
|
520
|
+
} & {
|
|
521
|
+
readonly __address: true;
|
|
522
|
+
};
|
|
523
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
524
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
361
525
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
362
|
-
$destination?:
|
|
363
|
-
|
|
526
|
+
$destination?: (Lowercase<string> & {
|
|
527
|
+
readonly __hex: true;
|
|
528
|
+
} & {
|
|
529
|
+
readonly __address: true;
|
|
530
|
+
}) | undefined;
|
|
531
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
364
532
|
script?: string[] | undefined;
|
|
365
533
|
}, {
|
|
366
534
|
schema: string;
|
|
367
|
-
_hash: import("@xylabs/hex").
|
|
368
|
-
_dataHash: import("@xylabs/hex").
|
|
535
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
536
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
369
537
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
370
538
|
}[]];
|
|
371
539
|
export declare const asHydratedTransactionWithStorageMeta: {
|
|
372
540
|
<T>(value: T): (T & [{
|
|
373
541
|
schema: "network.xyo.boundwitness";
|
|
374
|
-
addresses:
|
|
375
|
-
|
|
542
|
+
addresses: (Lowercase<string> & {
|
|
543
|
+
readonly __hex: true;
|
|
544
|
+
} & {
|
|
545
|
+
readonly __address: true;
|
|
546
|
+
})[];
|
|
547
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
376
548
|
payload_schemas: string[];
|
|
377
|
-
previous_hashes: (import("@xylabs/hex").
|
|
378
|
-
$signatures: (import("@xylabs/hex").
|
|
549
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
550
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
379
551
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
380
552
|
exp: import("../index.ts").XL1BlockNumber;
|
|
381
553
|
fees: {
|
|
382
|
-
base: import("@xylabs/hex").
|
|
383
|
-
gasLimit: import("@xylabs/hex").
|
|
384
|
-
gasPrice: import("@xylabs/hex").
|
|
385
|
-
priority: import("@xylabs/hex").
|
|
386
|
-
};
|
|
387
|
-
chain: import("@xylabs/hex").
|
|
388
|
-
from:
|
|
389
|
-
|
|
390
|
-
|
|
554
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
555
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
556
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
557
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
558
|
+
};
|
|
559
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
560
|
+
from: Lowercase<string> & {
|
|
561
|
+
readonly __hex: true;
|
|
562
|
+
} & {
|
|
563
|
+
readonly __address: true;
|
|
564
|
+
};
|
|
565
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
566
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
391
567
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
392
|
-
$destination?:
|
|
393
|
-
|
|
568
|
+
$destination?: (Lowercase<string> & {
|
|
569
|
+
readonly __hex: true;
|
|
570
|
+
} & {
|
|
571
|
+
readonly __address: true;
|
|
572
|
+
}) | undefined;
|
|
573
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
394
574
|
script?: string[] | undefined;
|
|
395
575
|
}, {
|
|
396
576
|
schema: string;
|
|
397
|
-
_hash: import("@xylabs/hex").
|
|
398
|
-
_dataHash: import("@xylabs/hex").
|
|
577
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
578
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
399
579
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
400
580
|
}[]]) | undefined;
|
|
401
581
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
402
582
|
schema: "network.xyo.boundwitness";
|
|
403
|
-
addresses:
|
|
404
|
-
|
|
583
|
+
addresses: (Lowercase<string> & {
|
|
584
|
+
readonly __hex: true;
|
|
585
|
+
} & {
|
|
586
|
+
readonly __address: true;
|
|
587
|
+
})[];
|
|
588
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
405
589
|
payload_schemas: string[];
|
|
406
|
-
previous_hashes: (import("@xylabs/hex").
|
|
407
|
-
$signatures: (import("@xylabs/hex").
|
|
590
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
591
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
408
592
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
409
593
|
exp: import("../index.ts").XL1BlockNumber;
|
|
410
594
|
fees: {
|
|
411
|
-
base: import("@xylabs/hex").
|
|
412
|
-
gasLimit: import("@xylabs/hex").
|
|
413
|
-
gasPrice: import("@xylabs/hex").
|
|
414
|
-
priority: import("@xylabs/hex").
|
|
415
|
-
};
|
|
416
|
-
chain: import("@xylabs/hex").
|
|
417
|
-
from:
|
|
418
|
-
|
|
419
|
-
|
|
595
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
596
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
597
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
598
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
599
|
+
};
|
|
600
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
601
|
+
from: Lowercase<string> & {
|
|
602
|
+
readonly __hex: true;
|
|
603
|
+
} & {
|
|
604
|
+
readonly __address: true;
|
|
605
|
+
};
|
|
606
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
607
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
420
608
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
421
|
-
$destination?:
|
|
422
|
-
|
|
609
|
+
$destination?: (Lowercase<string> & {
|
|
610
|
+
readonly __hex: true;
|
|
611
|
+
} & {
|
|
612
|
+
readonly __address: true;
|
|
613
|
+
}) | undefined;
|
|
614
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
423
615
|
script?: string[] | undefined;
|
|
424
616
|
}, {
|
|
425
617
|
schema: string;
|
|
426
|
-
_hash: import("@xylabs/hex").
|
|
427
|
-
_dataHash: import("@xylabs/hex").
|
|
618
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
619
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
428
620
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
429
621
|
}[]];
|
|
430
622
|
};
|
|
431
623
|
export declare const toHydratedTransactionWithStorageMeta: {
|
|
432
624
|
<T>(value: T): (T & [{
|
|
433
625
|
schema: "network.xyo.boundwitness";
|
|
434
|
-
addresses:
|
|
435
|
-
|
|
626
|
+
addresses: (Lowercase<string> & {
|
|
627
|
+
readonly __hex: true;
|
|
628
|
+
} & {
|
|
629
|
+
readonly __address: true;
|
|
630
|
+
})[];
|
|
631
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
436
632
|
payload_schemas: string[];
|
|
437
|
-
previous_hashes: (import("@xylabs/hex").
|
|
438
|
-
$signatures: (import("@xylabs/hex").
|
|
633
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
634
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
439
635
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
440
636
|
exp: import("../index.ts").XL1BlockNumber;
|
|
441
637
|
fees: {
|
|
442
|
-
base: import("@xylabs/hex").
|
|
443
|
-
gasLimit: import("@xylabs/hex").
|
|
444
|
-
gasPrice: import("@xylabs/hex").
|
|
445
|
-
priority: import("@xylabs/hex").
|
|
446
|
-
};
|
|
447
|
-
chain: import("@xylabs/hex").
|
|
448
|
-
from:
|
|
449
|
-
|
|
450
|
-
|
|
638
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
639
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
640
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
641
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
642
|
+
};
|
|
643
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
644
|
+
from: Lowercase<string> & {
|
|
645
|
+
readonly __hex: true;
|
|
646
|
+
} & {
|
|
647
|
+
readonly __address: true;
|
|
648
|
+
};
|
|
649
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
650
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
451
651
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
452
|
-
$destination?:
|
|
453
|
-
|
|
652
|
+
$destination?: (Lowercase<string> & {
|
|
653
|
+
readonly __hex: true;
|
|
654
|
+
} & {
|
|
655
|
+
readonly __address: true;
|
|
656
|
+
}) | undefined;
|
|
657
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
454
658
|
script?: string[] | undefined;
|
|
455
659
|
}, {
|
|
456
660
|
schema: string;
|
|
457
|
-
_hash: import("@xylabs/hex").
|
|
458
|
-
_dataHash: import("@xylabs/hex").
|
|
661
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
662
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
459
663
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
460
664
|
}[]]) | undefined;
|
|
461
665
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
462
666
|
schema: "network.xyo.boundwitness";
|
|
463
|
-
addresses:
|
|
464
|
-
|
|
667
|
+
addresses: (Lowercase<string> & {
|
|
668
|
+
readonly __hex: true;
|
|
669
|
+
} & {
|
|
670
|
+
readonly __address: true;
|
|
671
|
+
})[];
|
|
672
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
465
673
|
payload_schemas: string[];
|
|
466
|
-
previous_hashes: (import("@xylabs/hex").
|
|
467
|
-
$signatures: (import("@xylabs/hex").
|
|
674
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
675
|
+
$signatures: (import("@xylabs/hex").BrandedHex | null)[];
|
|
468
676
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
469
677
|
exp: import("../index.ts").XL1BlockNumber;
|
|
470
678
|
fees: {
|
|
471
|
-
base: import("@xylabs/hex").
|
|
472
|
-
gasLimit: import("@xylabs/hex").
|
|
473
|
-
gasPrice: import("@xylabs/hex").
|
|
474
|
-
priority: import("@xylabs/hex").
|
|
475
|
-
};
|
|
476
|
-
chain: import("@xylabs/hex").
|
|
477
|
-
from:
|
|
478
|
-
|
|
479
|
-
|
|
679
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
680
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
681
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
682
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
683
|
+
};
|
|
684
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
685
|
+
from: Lowercase<string> & {
|
|
686
|
+
readonly __hex: true;
|
|
687
|
+
} & {
|
|
688
|
+
readonly __address: true;
|
|
689
|
+
};
|
|
690
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
691
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
480
692
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
481
|
-
$destination?:
|
|
482
|
-
|
|
693
|
+
$destination?: (Lowercase<string> & {
|
|
694
|
+
readonly __hex: true;
|
|
695
|
+
} & {
|
|
696
|
+
readonly __address: true;
|
|
697
|
+
}) | undefined;
|
|
698
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
483
699
|
script?: string[] | undefined;
|
|
484
700
|
}, {
|
|
485
701
|
schema: string;
|
|
486
|
-
_hash: import("@xylabs/hex").
|
|
487
|
-
_dataHash: import("@xylabs/hex").
|
|
702
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
703
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
488
704
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
489
705
|
}[]];
|
|
490
706
|
};
|
|
491
707
|
export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
492
708
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
493
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
494
|
-
|
|
709
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
710
|
+
readonly __hex: true;
|
|
711
|
+
} & {
|
|
712
|
+
readonly __address: true;
|
|
713
|
+
}, string>>>;
|
|
714
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
495
715
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
496
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
497
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
498
|
-
|
|
716
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
717
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
718
|
+
readonly __hex: true;
|
|
719
|
+
} & {
|
|
720
|
+
readonly __address: true;
|
|
721
|
+
}, string>>>;
|
|
722
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
499
723
|
$signatures: z.ZodArray<z.ZodNull>;
|
|
500
724
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
501
725
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
502
726
|
fees: z.ZodObject<{
|
|
503
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
504
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
505
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
506
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
727
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
728
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
729
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
730
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
507
731
|
}, z.core.$strip>;
|
|
508
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
509
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
732
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
733
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
734
|
+
readonly __hex: true;
|
|
735
|
+
} & {
|
|
736
|
+
readonly __address: true;
|
|
737
|
+
}, string>>;
|
|
510
738
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
511
739
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
512
740
|
schema: z.ZodString;
|
|
@@ -514,23 +742,35 @@ export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
514
742
|
export type UnsignedHydratedTransaction = z.infer<typeof UnsignedHydratedTransactionZod>;
|
|
515
743
|
export declare const isUnsignedHydratedTransaction: <T>(value: T) => value is T & [{
|
|
516
744
|
schema: "network.xyo.boundwitness";
|
|
517
|
-
addresses:
|
|
518
|
-
|
|
745
|
+
addresses: (Lowercase<string> & {
|
|
746
|
+
readonly __hex: true;
|
|
747
|
+
} & {
|
|
748
|
+
readonly __address: true;
|
|
749
|
+
})[];
|
|
750
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
519
751
|
payload_schemas: string[];
|
|
520
|
-
previous_hashes: (import("@xylabs/hex").
|
|
752
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
521
753
|
$signatures: null[];
|
|
522
754
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
523
755
|
exp: import("../index.ts").XL1BlockNumber;
|
|
524
756
|
fees: {
|
|
525
|
-
base: import("@xylabs/hex").
|
|
526
|
-
gasLimit: import("@xylabs/hex").
|
|
527
|
-
gasPrice: import("@xylabs/hex").
|
|
528
|
-
priority: import("@xylabs/hex").
|
|
757
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
758
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
759
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
760
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
529
761
|
};
|
|
530
|
-
chain: import("@xylabs/hex").
|
|
531
|
-
from:
|
|
532
|
-
|
|
533
|
-
|
|
762
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
763
|
+
from: Lowercase<string> & {
|
|
764
|
+
readonly __hex: true;
|
|
765
|
+
} & {
|
|
766
|
+
readonly __address: true;
|
|
767
|
+
};
|
|
768
|
+
$destination?: (Lowercase<string> & {
|
|
769
|
+
readonly __hex: true;
|
|
770
|
+
} & {
|
|
771
|
+
readonly __address: true;
|
|
772
|
+
}) | undefined;
|
|
773
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
534
774
|
script?: string[] | undefined;
|
|
535
775
|
}, {
|
|
536
776
|
schema: string;
|
|
@@ -538,46 +778,70 @@ export declare const isUnsignedHydratedTransaction: <T>(value: T) => value is T
|
|
|
538
778
|
export declare const asUnsignedHydratedTransaction: {
|
|
539
779
|
<T>(value: T): (T & [{
|
|
540
780
|
schema: "network.xyo.boundwitness";
|
|
541
|
-
addresses:
|
|
542
|
-
|
|
781
|
+
addresses: (Lowercase<string> & {
|
|
782
|
+
readonly __hex: true;
|
|
783
|
+
} & {
|
|
784
|
+
readonly __address: true;
|
|
785
|
+
})[];
|
|
786
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
543
787
|
payload_schemas: string[];
|
|
544
|
-
previous_hashes: (import("@xylabs/hex").
|
|
788
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
545
789
|
$signatures: null[];
|
|
546
790
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
547
791
|
exp: import("../index.ts").XL1BlockNumber;
|
|
548
792
|
fees: {
|
|
549
|
-
base: import("@xylabs/hex").
|
|
550
|
-
gasLimit: import("@xylabs/hex").
|
|
551
|
-
gasPrice: import("@xylabs/hex").
|
|
552
|
-
priority: import("@xylabs/hex").
|
|
553
|
-
};
|
|
554
|
-
chain: import("@xylabs/hex").
|
|
555
|
-
from:
|
|
556
|
-
|
|
557
|
-
|
|
793
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
794
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
795
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
796
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
797
|
+
};
|
|
798
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
799
|
+
from: Lowercase<string> & {
|
|
800
|
+
readonly __hex: true;
|
|
801
|
+
} & {
|
|
802
|
+
readonly __address: true;
|
|
803
|
+
};
|
|
804
|
+
$destination?: (Lowercase<string> & {
|
|
805
|
+
readonly __hex: true;
|
|
806
|
+
} & {
|
|
807
|
+
readonly __address: true;
|
|
808
|
+
}) | undefined;
|
|
809
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
558
810
|
script?: string[] | undefined;
|
|
559
811
|
}, {
|
|
560
812
|
schema: string;
|
|
561
813
|
}[]]) | undefined;
|
|
562
814
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
563
815
|
schema: "network.xyo.boundwitness";
|
|
564
|
-
addresses:
|
|
565
|
-
|
|
816
|
+
addresses: (Lowercase<string> & {
|
|
817
|
+
readonly __hex: true;
|
|
818
|
+
} & {
|
|
819
|
+
readonly __address: true;
|
|
820
|
+
})[];
|
|
821
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
566
822
|
payload_schemas: string[];
|
|
567
|
-
previous_hashes: (import("@xylabs/hex").
|
|
823
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
568
824
|
$signatures: null[];
|
|
569
825
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
570
826
|
exp: import("../index.ts").XL1BlockNumber;
|
|
571
827
|
fees: {
|
|
572
|
-
base: import("@xylabs/hex").
|
|
573
|
-
gasLimit: import("@xylabs/hex").
|
|
574
|
-
gasPrice: import("@xylabs/hex").
|
|
575
|
-
priority: import("@xylabs/hex").
|
|
576
|
-
};
|
|
577
|
-
chain: import("@xylabs/hex").
|
|
578
|
-
from:
|
|
579
|
-
|
|
580
|
-
|
|
828
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
829
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
830
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
831
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
832
|
+
};
|
|
833
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
834
|
+
from: Lowercase<string> & {
|
|
835
|
+
readonly __hex: true;
|
|
836
|
+
} & {
|
|
837
|
+
readonly __address: true;
|
|
838
|
+
};
|
|
839
|
+
$destination?: (Lowercase<string> & {
|
|
840
|
+
readonly __hex: true;
|
|
841
|
+
} & {
|
|
842
|
+
readonly __address: true;
|
|
843
|
+
}) | undefined;
|
|
844
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
581
845
|
script?: string[] | undefined;
|
|
582
846
|
}, {
|
|
583
847
|
schema: string;
|
|
@@ -586,46 +850,70 @@ export declare const asUnsignedHydratedTransaction: {
|
|
|
586
850
|
export declare const toUnsignedHydratedTransaction: {
|
|
587
851
|
<T>(value: T): (T & [{
|
|
588
852
|
schema: "network.xyo.boundwitness";
|
|
589
|
-
addresses:
|
|
590
|
-
|
|
853
|
+
addresses: (Lowercase<string> & {
|
|
854
|
+
readonly __hex: true;
|
|
855
|
+
} & {
|
|
856
|
+
readonly __address: true;
|
|
857
|
+
})[];
|
|
858
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
591
859
|
payload_schemas: string[];
|
|
592
|
-
previous_hashes: (import("@xylabs/hex").
|
|
860
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
593
861
|
$signatures: null[];
|
|
594
862
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
595
863
|
exp: import("../index.ts").XL1BlockNumber;
|
|
596
864
|
fees: {
|
|
597
|
-
base: import("@xylabs/hex").
|
|
598
|
-
gasLimit: import("@xylabs/hex").
|
|
599
|
-
gasPrice: import("@xylabs/hex").
|
|
600
|
-
priority: import("@xylabs/hex").
|
|
601
|
-
};
|
|
602
|
-
chain: import("@xylabs/hex").
|
|
603
|
-
from:
|
|
604
|
-
|
|
605
|
-
|
|
865
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
866
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
867
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
868
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
869
|
+
};
|
|
870
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
871
|
+
from: Lowercase<string> & {
|
|
872
|
+
readonly __hex: true;
|
|
873
|
+
} & {
|
|
874
|
+
readonly __address: true;
|
|
875
|
+
};
|
|
876
|
+
$destination?: (Lowercase<string> & {
|
|
877
|
+
readonly __hex: true;
|
|
878
|
+
} & {
|
|
879
|
+
readonly __address: true;
|
|
880
|
+
}) | undefined;
|
|
881
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
606
882
|
script?: string[] | undefined;
|
|
607
883
|
}, {
|
|
608
884
|
schema: string;
|
|
609
885
|
}[]]) | undefined;
|
|
610
886
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
611
887
|
schema: "network.xyo.boundwitness";
|
|
612
|
-
addresses:
|
|
613
|
-
|
|
888
|
+
addresses: (Lowercase<string> & {
|
|
889
|
+
readonly __hex: true;
|
|
890
|
+
} & {
|
|
891
|
+
readonly __address: true;
|
|
892
|
+
})[];
|
|
893
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
614
894
|
payload_schemas: string[];
|
|
615
|
-
previous_hashes: (import("@xylabs/hex").
|
|
895
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
616
896
|
$signatures: null[];
|
|
617
897
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
618
898
|
exp: import("../index.ts").XL1BlockNumber;
|
|
619
899
|
fees: {
|
|
620
|
-
base: import("@xylabs/hex").
|
|
621
|
-
gasLimit: import("@xylabs/hex").
|
|
622
|
-
gasPrice: import("@xylabs/hex").
|
|
623
|
-
priority: import("@xylabs/hex").
|
|
624
|
-
};
|
|
625
|
-
chain: import("@xylabs/hex").
|
|
626
|
-
from:
|
|
627
|
-
|
|
628
|
-
|
|
900
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
901
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
902
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
903
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
904
|
+
};
|
|
905
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
906
|
+
from: Lowercase<string> & {
|
|
907
|
+
readonly __hex: true;
|
|
908
|
+
} & {
|
|
909
|
+
readonly __address: true;
|
|
910
|
+
};
|
|
911
|
+
$destination?: (Lowercase<string> & {
|
|
912
|
+
readonly __hex: true;
|
|
913
|
+
} & {
|
|
914
|
+
readonly __address: true;
|
|
915
|
+
}) | undefined;
|
|
916
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
629
917
|
script?: string[] | undefined;
|
|
630
918
|
}, {
|
|
631
919
|
schema: string;
|
|
@@ -633,369 +921,525 @@ export declare const toUnsignedHydratedTransaction: {
|
|
|
633
921
|
};
|
|
634
922
|
export declare const UnsignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
635
923
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
636
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
637
|
-
|
|
924
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
925
|
+
readonly __hex: true;
|
|
926
|
+
} & {
|
|
927
|
+
readonly __address: true;
|
|
928
|
+
}, string>>>;
|
|
929
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
638
930
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
639
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
640
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
641
|
-
|
|
642
|
-
|
|
931
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
932
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
933
|
+
readonly __hex: true;
|
|
934
|
+
} & {
|
|
935
|
+
readonly __address: true;
|
|
936
|
+
}, string>>>;
|
|
937
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
938
|
+
$signatures: z.ZodArray<z.ZodNull>;
|
|
643
939
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
644
940
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
645
941
|
fees: z.ZodObject<{
|
|
646
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
647
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
648
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
649
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
942
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
943
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
944
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
945
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
650
946
|
}, z.core.$strip>;
|
|
651
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
652
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
947
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
948
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
949
|
+
readonly __hex: true;
|
|
950
|
+
} & {
|
|
951
|
+
readonly __address: true;
|
|
952
|
+
}, string>>;
|
|
653
953
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
654
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
655
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
954
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
955
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
656
956
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
657
957
|
schema: z.ZodString;
|
|
658
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
659
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
958
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
959
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
660
960
|
}, z.core.$strip>>], null>;
|
|
661
961
|
export type UnsignedHydratedTransactionWithHashMeta = z.infer<typeof UnsignedHydratedTransactionWithHashMetaZod>;
|
|
662
962
|
export declare const isUnsignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
663
963
|
schema: "network.xyo.boundwitness";
|
|
664
|
-
addresses:
|
|
665
|
-
|
|
964
|
+
addresses: (Lowercase<string> & {
|
|
965
|
+
readonly __hex: true;
|
|
966
|
+
} & {
|
|
967
|
+
readonly __address: true;
|
|
968
|
+
})[];
|
|
969
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
666
970
|
payload_schemas: string[];
|
|
667
|
-
previous_hashes: (import("@xylabs/hex").
|
|
668
|
-
$signatures:
|
|
971
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
972
|
+
$signatures: null[];
|
|
669
973
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
670
974
|
exp: import("../index.ts").XL1BlockNumber;
|
|
671
975
|
fees: {
|
|
672
|
-
base: import("@xylabs/hex").
|
|
673
|
-
gasLimit: import("@xylabs/hex").
|
|
674
|
-
gasPrice: import("@xylabs/hex").
|
|
675
|
-
priority: import("@xylabs/hex").
|
|
976
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
977
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
978
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
979
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
980
|
+
};
|
|
981
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
982
|
+
from: Lowercase<string> & {
|
|
983
|
+
readonly __hex: true;
|
|
984
|
+
} & {
|
|
985
|
+
readonly __address: true;
|
|
676
986
|
};
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
987
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
988
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
989
|
+
$destination?: (Lowercase<string> & {
|
|
990
|
+
readonly __hex: true;
|
|
991
|
+
} & {
|
|
992
|
+
readonly __address: true;
|
|
993
|
+
}) | undefined;
|
|
994
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
683
995
|
script?: string[] | undefined;
|
|
684
996
|
}, {
|
|
685
997
|
schema: string;
|
|
686
|
-
_hash: import("@xylabs/hex").
|
|
687
|
-
_dataHash: import("@xylabs/hex").
|
|
998
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
999
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
688
1000
|
}[]];
|
|
689
1001
|
export declare const asUnsignedHydratedTransactionWithHashMeta: {
|
|
690
1002
|
<T>(value: T): (T & [{
|
|
691
1003
|
schema: "network.xyo.boundwitness";
|
|
692
|
-
addresses:
|
|
693
|
-
|
|
1004
|
+
addresses: (Lowercase<string> & {
|
|
1005
|
+
readonly __hex: true;
|
|
1006
|
+
} & {
|
|
1007
|
+
readonly __address: true;
|
|
1008
|
+
})[];
|
|
1009
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
694
1010
|
payload_schemas: string[];
|
|
695
|
-
previous_hashes: (import("@xylabs/hex").
|
|
696
|
-
$signatures:
|
|
1011
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1012
|
+
$signatures: null[];
|
|
697
1013
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
698
1014
|
exp: import("../index.ts").XL1BlockNumber;
|
|
699
1015
|
fees: {
|
|
700
|
-
base: import("@xylabs/hex").
|
|
701
|
-
gasLimit: import("@xylabs/hex").
|
|
702
|
-
gasPrice: import("@xylabs/hex").
|
|
703
|
-
priority: import("@xylabs/hex").
|
|
704
|
-
};
|
|
705
|
-
chain: import("@xylabs/hex").
|
|
706
|
-
from:
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
1016
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1017
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1018
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1019
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1020
|
+
};
|
|
1021
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1022
|
+
from: Lowercase<string> & {
|
|
1023
|
+
readonly __hex: true;
|
|
1024
|
+
} & {
|
|
1025
|
+
readonly __address: true;
|
|
1026
|
+
};
|
|
1027
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1028
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1029
|
+
$destination?: (Lowercase<string> & {
|
|
1030
|
+
readonly __hex: true;
|
|
1031
|
+
} & {
|
|
1032
|
+
readonly __address: true;
|
|
1033
|
+
}) | undefined;
|
|
1034
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
711
1035
|
script?: string[] | undefined;
|
|
712
1036
|
}, {
|
|
713
1037
|
schema: string;
|
|
714
|
-
_hash: import("@xylabs/hex").
|
|
715
|
-
_dataHash: import("@xylabs/hex").
|
|
1038
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1039
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
716
1040
|
}[]]) | undefined;
|
|
717
1041
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
718
1042
|
schema: "network.xyo.boundwitness";
|
|
719
|
-
addresses:
|
|
720
|
-
|
|
1043
|
+
addresses: (Lowercase<string> & {
|
|
1044
|
+
readonly __hex: true;
|
|
1045
|
+
} & {
|
|
1046
|
+
readonly __address: true;
|
|
1047
|
+
})[];
|
|
1048
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
721
1049
|
payload_schemas: string[];
|
|
722
|
-
previous_hashes: (import("@xylabs/hex").
|
|
723
|
-
$signatures:
|
|
1050
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1051
|
+
$signatures: null[];
|
|
724
1052
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
725
1053
|
exp: import("../index.ts").XL1BlockNumber;
|
|
726
1054
|
fees: {
|
|
727
|
-
base: import("@xylabs/hex").
|
|
728
|
-
gasLimit: import("@xylabs/hex").
|
|
729
|
-
gasPrice: import("@xylabs/hex").
|
|
730
|
-
priority: import("@xylabs/hex").
|
|
731
|
-
};
|
|
732
|
-
chain: import("@xylabs/hex").
|
|
733
|
-
from:
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
1055
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1056
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1057
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1058
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1059
|
+
};
|
|
1060
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1061
|
+
from: Lowercase<string> & {
|
|
1062
|
+
readonly __hex: true;
|
|
1063
|
+
} & {
|
|
1064
|
+
readonly __address: true;
|
|
1065
|
+
};
|
|
1066
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1067
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1068
|
+
$destination?: (Lowercase<string> & {
|
|
1069
|
+
readonly __hex: true;
|
|
1070
|
+
} & {
|
|
1071
|
+
readonly __address: true;
|
|
1072
|
+
}) | undefined;
|
|
1073
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
738
1074
|
script?: string[] | undefined;
|
|
739
1075
|
}, {
|
|
740
1076
|
schema: string;
|
|
741
|
-
_hash: import("@xylabs/hex").
|
|
742
|
-
_dataHash: import("@xylabs/hex").
|
|
1077
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1078
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
743
1079
|
}[]];
|
|
744
1080
|
};
|
|
745
1081
|
export declare const toUnsignedHydratedTransactionWithHashMeta: {
|
|
746
1082
|
<T>(value: T): (T & [{
|
|
747
1083
|
schema: "network.xyo.boundwitness";
|
|
748
|
-
addresses:
|
|
749
|
-
|
|
1084
|
+
addresses: (Lowercase<string> & {
|
|
1085
|
+
readonly __hex: true;
|
|
1086
|
+
} & {
|
|
1087
|
+
readonly __address: true;
|
|
1088
|
+
})[];
|
|
1089
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
750
1090
|
payload_schemas: string[];
|
|
751
|
-
previous_hashes: (import("@xylabs/hex").
|
|
752
|
-
$signatures:
|
|
1091
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1092
|
+
$signatures: null[];
|
|
753
1093
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
754
1094
|
exp: import("../index.ts").XL1BlockNumber;
|
|
755
1095
|
fees: {
|
|
756
|
-
base: import("@xylabs/hex").
|
|
757
|
-
gasLimit: import("@xylabs/hex").
|
|
758
|
-
gasPrice: import("@xylabs/hex").
|
|
759
|
-
priority: import("@xylabs/hex").
|
|
760
|
-
};
|
|
761
|
-
chain: import("@xylabs/hex").
|
|
762
|
-
from:
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
1096
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1097
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1098
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1099
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1100
|
+
};
|
|
1101
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1102
|
+
from: Lowercase<string> & {
|
|
1103
|
+
readonly __hex: true;
|
|
1104
|
+
} & {
|
|
1105
|
+
readonly __address: true;
|
|
1106
|
+
};
|
|
1107
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1108
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1109
|
+
$destination?: (Lowercase<string> & {
|
|
1110
|
+
readonly __hex: true;
|
|
1111
|
+
} & {
|
|
1112
|
+
readonly __address: true;
|
|
1113
|
+
}) | undefined;
|
|
1114
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
767
1115
|
script?: string[] | undefined;
|
|
768
1116
|
}, {
|
|
769
1117
|
schema: string;
|
|
770
|
-
_hash: import("@xylabs/hex").
|
|
771
|
-
_dataHash: import("@xylabs/hex").
|
|
1118
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1119
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
772
1120
|
}[]]) | undefined;
|
|
773
1121
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
774
1122
|
schema: "network.xyo.boundwitness";
|
|
775
|
-
addresses:
|
|
776
|
-
|
|
1123
|
+
addresses: (Lowercase<string> & {
|
|
1124
|
+
readonly __hex: true;
|
|
1125
|
+
} & {
|
|
1126
|
+
readonly __address: true;
|
|
1127
|
+
})[];
|
|
1128
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
777
1129
|
payload_schemas: string[];
|
|
778
|
-
previous_hashes: (import("@xylabs/hex").
|
|
779
|
-
$signatures:
|
|
1130
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1131
|
+
$signatures: null[];
|
|
780
1132
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
781
1133
|
exp: import("../index.ts").XL1BlockNumber;
|
|
782
1134
|
fees: {
|
|
783
|
-
base: import("@xylabs/hex").
|
|
784
|
-
gasLimit: import("@xylabs/hex").
|
|
785
|
-
gasPrice: import("@xylabs/hex").
|
|
786
|
-
priority: import("@xylabs/hex").
|
|
787
|
-
};
|
|
788
|
-
chain: import("@xylabs/hex").
|
|
789
|
-
from:
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
1135
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1136
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1137
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1138
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1139
|
+
};
|
|
1140
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1141
|
+
from: Lowercase<string> & {
|
|
1142
|
+
readonly __hex: true;
|
|
1143
|
+
} & {
|
|
1144
|
+
readonly __address: true;
|
|
1145
|
+
};
|
|
1146
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1147
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1148
|
+
$destination?: (Lowercase<string> & {
|
|
1149
|
+
readonly __hex: true;
|
|
1150
|
+
} & {
|
|
1151
|
+
readonly __address: true;
|
|
1152
|
+
}) | undefined;
|
|
1153
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
794
1154
|
script?: string[] | undefined;
|
|
795
1155
|
}, {
|
|
796
1156
|
schema: string;
|
|
797
|
-
_hash: import("@xylabs/hex").
|
|
798
|
-
_dataHash: import("@xylabs/hex").
|
|
1157
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1158
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
799
1159
|
}[]];
|
|
800
1160
|
};
|
|
801
1161
|
export declare const UnsignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
802
1162
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
803
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
804
|
-
|
|
1163
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1164
|
+
readonly __hex: true;
|
|
1165
|
+
} & {
|
|
1166
|
+
readonly __address: true;
|
|
1167
|
+
}, string>>>;
|
|
1168
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
805
1169
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
806
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
807
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
808
|
-
|
|
809
|
-
|
|
1170
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1171
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1172
|
+
readonly __hex: true;
|
|
1173
|
+
} & {
|
|
1174
|
+
readonly __address: true;
|
|
1175
|
+
}, string>>>;
|
|
1176
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1177
|
+
$signatures: z.ZodArray<z.ZodNull>;
|
|
810
1178
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
811
1179
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
812
1180
|
fees: z.ZodObject<{
|
|
813
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
814
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
815
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
816
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1181
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1182
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1183
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1184
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
817
1185
|
}, z.core.$strip>;
|
|
818
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
819
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1186
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1187
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1188
|
+
readonly __hex: true;
|
|
1189
|
+
} & {
|
|
1190
|
+
readonly __address: true;
|
|
1191
|
+
}, string>>;
|
|
820
1192
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
821
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
822
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1193
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1194
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
823
1195
|
_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>>]>;
|
|
824
1196
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
825
1197
|
schema: z.ZodString;
|
|
826
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
827
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1198
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1199
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
828
1200
|
_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>>]>;
|
|
829
1201
|
}, z.core.$strip>>], null>;
|
|
830
1202
|
export type UnsignedHydratedTransactionWithStorageMeta = z.infer<typeof UnsignedHydratedTransactionWithStorageMetaZod>;
|
|
831
1203
|
export declare const isUnsignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
832
1204
|
schema: "network.xyo.boundwitness";
|
|
833
|
-
addresses:
|
|
834
|
-
|
|
1205
|
+
addresses: (Lowercase<string> & {
|
|
1206
|
+
readonly __hex: true;
|
|
1207
|
+
} & {
|
|
1208
|
+
readonly __address: true;
|
|
1209
|
+
})[];
|
|
1210
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
835
1211
|
payload_schemas: string[];
|
|
836
|
-
previous_hashes: (import("@xylabs/hex").
|
|
837
|
-
$signatures:
|
|
1212
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1213
|
+
$signatures: null[];
|
|
838
1214
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
839
1215
|
exp: import("../index.ts").XL1BlockNumber;
|
|
840
1216
|
fees: {
|
|
841
|
-
base: import("@xylabs/hex").
|
|
842
|
-
gasLimit: import("@xylabs/hex").
|
|
843
|
-
gasPrice: import("@xylabs/hex").
|
|
844
|
-
priority: import("@xylabs/hex").
|
|
1217
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1218
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1219
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1220
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
845
1221
|
};
|
|
846
|
-
chain: import("@xylabs/hex").
|
|
847
|
-
from:
|
|
848
|
-
|
|
849
|
-
|
|
1222
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1223
|
+
from: Lowercase<string> & {
|
|
1224
|
+
readonly __hex: true;
|
|
1225
|
+
} & {
|
|
1226
|
+
readonly __address: true;
|
|
1227
|
+
};
|
|
1228
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1229
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
850
1230
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
851
|
-
$destination?:
|
|
852
|
-
|
|
1231
|
+
$destination?: (Lowercase<string> & {
|
|
1232
|
+
readonly __hex: true;
|
|
1233
|
+
} & {
|
|
1234
|
+
readonly __address: true;
|
|
1235
|
+
}) | undefined;
|
|
1236
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
853
1237
|
script?: string[] | undefined;
|
|
854
1238
|
}, {
|
|
855
1239
|
schema: string;
|
|
856
|
-
_hash: import("@xylabs/hex").
|
|
857
|
-
_dataHash: import("@xylabs/hex").
|
|
1240
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1241
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
858
1242
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
859
1243
|
}[]];
|
|
860
1244
|
export declare const asUnsignedHydratedTransactionWithStorageMeta: {
|
|
861
1245
|
<T>(value: T): (T & [{
|
|
862
1246
|
schema: "network.xyo.boundwitness";
|
|
863
|
-
addresses:
|
|
864
|
-
|
|
1247
|
+
addresses: (Lowercase<string> & {
|
|
1248
|
+
readonly __hex: true;
|
|
1249
|
+
} & {
|
|
1250
|
+
readonly __address: true;
|
|
1251
|
+
})[];
|
|
1252
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
865
1253
|
payload_schemas: string[];
|
|
866
|
-
previous_hashes: (import("@xylabs/hex").
|
|
867
|
-
$signatures:
|
|
1254
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1255
|
+
$signatures: null[];
|
|
868
1256
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
869
1257
|
exp: import("../index.ts").XL1BlockNumber;
|
|
870
1258
|
fees: {
|
|
871
|
-
base: import("@xylabs/hex").
|
|
872
|
-
gasLimit: import("@xylabs/hex").
|
|
873
|
-
gasPrice: import("@xylabs/hex").
|
|
874
|
-
priority: import("@xylabs/hex").
|
|
875
|
-
};
|
|
876
|
-
chain: import("@xylabs/hex").
|
|
877
|
-
from:
|
|
878
|
-
|
|
879
|
-
|
|
1259
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1260
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1261
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1262
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1263
|
+
};
|
|
1264
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1265
|
+
from: Lowercase<string> & {
|
|
1266
|
+
readonly __hex: true;
|
|
1267
|
+
} & {
|
|
1268
|
+
readonly __address: true;
|
|
1269
|
+
};
|
|
1270
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1271
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
880
1272
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
881
|
-
$destination?:
|
|
882
|
-
|
|
1273
|
+
$destination?: (Lowercase<string> & {
|
|
1274
|
+
readonly __hex: true;
|
|
1275
|
+
} & {
|
|
1276
|
+
readonly __address: true;
|
|
1277
|
+
}) | undefined;
|
|
1278
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
883
1279
|
script?: string[] | undefined;
|
|
884
1280
|
}, {
|
|
885
1281
|
schema: string;
|
|
886
|
-
_hash: import("@xylabs/hex").
|
|
887
|
-
_dataHash: import("@xylabs/hex").
|
|
1282
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1283
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
888
1284
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
889
1285
|
}[]]) | undefined;
|
|
890
1286
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
891
1287
|
schema: "network.xyo.boundwitness";
|
|
892
|
-
addresses:
|
|
893
|
-
|
|
1288
|
+
addresses: (Lowercase<string> & {
|
|
1289
|
+
readonly __hex: true;
|
|
1290
|
+
} & {
|
|
1291
|
+
readonly __address: true;
|
|
1292
|
+
})[];
|
|
1293
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
894
1294
|
payload_schemas: string[];
|
|
895
|
-
previous_hashes: (import("@xylabs/hex").
|
|
896
|
-
$signatures:
|
|
1295
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1296
|
+
$signatures: null[];
|
|
897
1297
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
898
1298
|
exp: import("../index.ts").XL1BlockNumber;
|
|
899
1299
|
fees: {
|
|
900
|
-
base: import("@xylabs/hex").
|
|
901
|
-
gasLimit: import("@xylabs/hex").
|
|
902
|
-
gasPrice: import("@xylabs/hex").
|
|
903
|
-
priority: import("@xylabs/hex").
|
|
904
|
-
};
|
|
905
|
-
chain: import("@xylabs/hex").
|
|
906
|
-
from:
|
|
907
|
-
|
|
908
|
-
|
|
1300
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1301
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1302
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1303
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1304
|
+
};
|
|
1305
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1306
|
+
from: Lowercase<string> & {
|
|
1307
|
+
readonly __hex: true;
|
|
1308
|
+
} & {
|
|
1309
|
+
readonly __address: true;
|
|
1310
|
+
};
|
|
1311
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1312
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
909
1313
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
910
|
-
$destination?:
|
|
911
|
-
|
|
1314
|
+
$destination?: (Lowercase<string> & {
|
|
1315
|
+
readonly __hex: true;
|
|
1316
|
+
} & {
|
|
1317
|
+
readonly __address: true;
|
|
1318
|
+
}) | undefined;
|
|
1319
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
912
1320
|
script?: string[] | undefined;
|
|
913
1321
|
}, {
|
|
914
1322
|
schema: string;
|
|
915
|
-
_hash: import("@xylabs/hex").
|
|
916
|
-
_dataHash: import("@xylabs/hex").
|
|
1323
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1324
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
917
1325
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
918
1326
|
}[]];
|
|
919
1327
|
};
|
|
920
1328
|
export declare const toUnsignedHydratedTransactionWithStorageMeta: {
|
|
921
1329
|
<T>(value: T): (T & [{
|
|
922
1330
|
schema: "network.xyo.boundwitness";
|
|
923
|
-
addresses:
|
|
924
|
-
|
|
1331
|
+
addresses: (Lowercase<string> & {
|
|
1332
|
+
readonly __hex: true;
|
|
1333
|
+
} & {
|
|
1334
|
+
readonly __address: true;
|
|
1335
|
+
})[];
|
|
1336
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
925
1337
|
payload_schemas: string[];
|
|
926
|
-
previous_hashes: (import("@xylabs/hex").
|
|
927
|
-
$signatures:
|
|
1338
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1339
|
+
$signatures: null[];
|
|
928
1340
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
929
1341
|
exp: import("../index.ts").XL1BlockNumber;
|
|
930
1342
|
fees: {
|
|
931
|
-
base: import("@xylabs/hex").
|
|
932
|
-
gasLimit: import("@xylabs/hex").
|
|
933
|
-
gasPrice: import("@xylabs/hex").
|
|
934
|
-
priority: import("@xylabs/hex").
|
|
935
|
-
};
|
|
936
|
-
chain: import("@xylabs/hex").
|
|
937
|
-
from:
|
|
938
|
-
|
|
939
|
-
|
|
1343
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1344
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1345
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1346
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1347
|
+
};
|
|
1348
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1349
|
+
from: Lowercase<string> & {
|
|
1350
|
+
readonly __hex: true;
|
|
1351
|
+
} & {
|
|
1352
|
+
readonly __address: true;
|
|
1353
|
+
};
|
|
1354
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1355
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
940
1356
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
941
|
-
$destination?:
|
|
942
|
-
|
|
1357
|
+
$destination?: (Lowercase<string> & {
|
|
1358
|
+
readonly __hex: true;
|
|
1359
|
+
} & {
|
|
1360
|
+
readonly __address: true;
|
|
1361
|
+
}) | undefined;
|
|
1362
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
943
1363
|
script?: string[] | undefined;
|
|
944
1364
|
}, {
|
|
945
1365
|
schema: string;
|
|
946
|
-
_hash: import("@xylabs/hex").
|
|
947
|
-
_dataHash: import("@xylabs/hex").
|
|
1366
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1367
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
948
1368
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
949
1369
|
}[]]) | undefined;
|
|
950
1370
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
951
1371
|
schema: "network.xyo.boundwitness";
|
|
952
|
-
addresses:
|
|
953
|
-
|
|
1372
|
+
addresses: (Lowercase<string> & {
|
|
1373
|
+
readonly __hex: true;
|
|
1374
|
+
} & {
|
|
1375
|
+
readonly __address: true;
|
|
1376
|
+
})[];
|
|
1377
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
954
1378
|
payload_schemas: string[];
|
|
955
|
-
previous_hashes: (import("@xylabs/hex").
|
|
956
|
-
$signatures:
|
|
1379
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1380
|
+
$signatures: null[];
|
|
957
1381
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
958
1382
|
exp: import("../index.ts").XL1BlockNumber;
|
|
959
1383
|
fees: {
|
|
960
|
-
base: import("@xylabs/hex").
|
|
961
|
-
gasLimit: import("@xylabs/hex").
|
|
962
|
-
gasPrice: import("@xylabs/hex").
|
|
963
|
-
priority: import("@xylabs/hex").
|
|
964
|
-
};
|
|
965
|
-
chain: import("@xylabs/hex").
|
|
966
|
-
from:
|
|
967
|
-
|
|
968
|
-
|
|
1384
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1385
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1386
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1387
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1388
|
+
};
|
|
1389
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1390
|
+
from: Lowercase<string> & {
|
|
1391
|
+
readonly __hex: true;
|
|
1392
|
+
} & {
|
|
1393
|
+
readonly __address: true;
|
|
1394
|
+
};
|
|
1395
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1396
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
969
1397
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
970
|
-
$destination?:
|
|
971
|
-
|
|
1398
|
+
$destination?: (Lowercase<string> & {
|
|
1399
|
+
readonly __hex: true;
|
|
1400
|
+
} & {
|
|
1401
|
+
readonly __address: true;
|
|
1402
|
+
}) | undefined;
|
|
1403
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
972
1404
|
script?: string[] | undefined;
|
|
973
1405
|
}, {
|
|
974
1406
|
schema: string;
|
|
975
|
-
_hash: import("@xylabs/hex").
|
|
976
|
-
_dataHash: import("@xylabs/hex").
|
|
1407
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1408
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
977
1409
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
978
1410
|
}[]];
|
|
979
1411
|
};
|
|
980
1412
|
export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
981
1413
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
982
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
983
|
-
|
|
1414
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1415
|
+
readonly __hex: true;
|
|
1416
|
+
} & {
|
|
1417
|
+
readonly __address: true;
|
|
1418
|
+
}, string>>>;
|
|
1419
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
984
1420
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
985
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
986
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
987
|
-
|
|
988
|
-
|
|
1421
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1422
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1423
|
+
readonly __hex: true;
|
|
1424
|
+
} & {
|
|
1425
|
+
readonly __address: true;
|
|
1426
|
+
}, string>>>;
|
|
1427
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1428
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
989
1429
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
990
1430
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
991
1431
|
fees: z.ZodObject<{
|
|
992
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
993
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
994
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
995
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1432
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1433
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1434
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1435
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
996
1436
|
}, z.core.$strip>;
|
|
997
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
998
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1437
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1438
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1439
|
+
readonly __hex: true;
|
|
1440
|
+
} & {
|
|
1441
|
+
readonly __address: true;
|
|
1442
|
+
}, string>>;
|
|
999
1443
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1000
1444
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1001
1445
|
schema: z.ZodString;
|
|
@@ -1003,23 +1447,35 @@ export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
1003
1447
|
export type SignedHydratedTransaction = z.infer<typeof SignedHydratedTransactionZod>;
|
|
1004
1448
|
export declare const isSignedHydratedTransaction: <T>(value: T) => value is T & [{
|
|
1005
1449
|
schema: "network.xyo.boundwitness";
|
|
1006
|
-
addresses:
|
|
1007
|
-
|
|
1450
|
+
addresses: (Lowercase<string> & {
|
|
1451
|
+
readonly __hex: true;
|
|
1452
|
+
} & {
|
|
1453
|
+
readonly __address: true;
|
|
1454
|
+
})[];
|
|
1455
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1008
1456
|
payload_schemas: string[];
|
|
1009
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1010
|
-
$signatures: import("@xylabs/hex").
|
|
1457
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1458
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1011
1459
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1012
1460
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1013
1461
|
fees: {
|
|
1014
|
-
base: import("@xylabs/hex").
|
|
1015
|
-
gasLimit: import("@xylabs/hex").
|
|
1016
|
-
gasPrice: import("@xylabs/hex").
|
|
1017
|
-
priority: import("@xylabs/hex").
|
|
1462
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1463
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1464
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1465
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1466
|
+
};
|
|
1467
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1468
|
+
from: Lowercase<string> & {
|
|
1469
|
+
readonly __hex: true;
|
|
1470
|
+
} & {
|
|
1471
|
+
readonly __address: true;
|
|
1018
1472
|
};
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1473
|
+
$destination?: (Lowercase<string> & {
|
|
1474
|
+
readonly __hex: true;
|
|
1475
|
+
} & {
|
|
1476
|
+
readonly __address: true;
|
|
1477
|
+
}) | undefined;
|
|
1478
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1023
1479
|
script?: string[] | undefined;
|
|
1024
1480
|
}, {
|
|
1025
1481
|
schema: string;
|
|
@@ -1027,46 +1483,70 @@ export declare const isSignedHydratedTransaction: <T>(value: T) => value is T &
|
|
|
1027
1483
|
export declare const asSignedHydratedTransaction: {
|
|
1028
1484
|
<T>(value: T): (T & [{
|
|
1029
1485
|
schema: "network.xyo.boundwitness";
|
|
1030
|
-
addresses:
|
|
1031
|
-
|
|
1486
|
+
addresses: (Lowercase<string> & {
|
|
1487
|
+
readonly __hex: true;
|
|
1488
|
+
} & {
|
|
1489
|
+
readonly __address: true;
|
|
1490
|
+
})[];
|
|
1491
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1032
1492
|
payload_schemas: string[];
|
|
1033
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1034
|
-
$signatures: import("@xylabs/hex").
|
|
1493
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1494
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1035
1495
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1036
1496
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1037
1497
|
fees: {
|
|
1038
|
-
base: import("@xylabs/hex").
|
|
1039
|
-
gasLimit: import("@xylabs/hex").
|
|
1040
|
-
gasPrice: import("@xylabs/hex").
|
|
1041
|
-
priority: import("@xylabs/hex").
|
|
1042
|
-
};
|
|
1043
|
-
chain: import("@xylabs/hex").
|
|
1044
|
-
from:
|
|
1045
|
-
|
|
1046
|
-
|
|
1498
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1499
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1500
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1501
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1502
|
+
};
|
|
1503
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1504
|
+
from: Lowercase<string> & {
|
|
1505
|
+
readonly __hex: true;
|
|
1506
|
+
} & {
|
|
1507
|
+
readonly __address: true;
|
|
1508
|
+
};
|
|
1509
|
+
$destination?: (Lowercase<string> & {
|
|
1510
|
+
readonly __hex: true;
|
|
1511
|
+
} & {
|
|
1512
|
+
readonly __address: true;
|
|
1513
|
+
}) | undefined;
|
|
1514
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1047
1515
|
script?: string[] | undefined;
|
|
1048
1516
|
}, {
|
|
1049
1517
|
schema: string;
|
|
1050
1518
|
}[]]) | undefined;
|
|
1051
1519
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1052
1520
|
schema: "network.xyo.boundwitness";
|
|
1053
|
-
addresses:
|
|
1054
|
-
|
|
1521
|
+
addresses: (Lowercase<string> & {
|
|
1522
|
+
readonly __hex: true;
|
|
1523
|
+
} & {
|
|
1524
|
+
readonly __address: true;
|
|
1525
|
+
})[];
|
|
1526
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1055
1527
|
payload_schemas: string[];
|
|
1056
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1057
|
-
$signatures: import("@xylabs/hex").
|
|
1528
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1529
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1058
1530
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1059
1531
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1060
1532
|
fees: {
|
|
1061
|
-
base: import("@xylabs/hex").
|
|
1062
|
-
gasLimit: import("@xylabs/hex").
|
|
1063
|
-
gasPrice: import("@xylabs/hex").
|
|
1064
|
-
priority: import("@xylabs/hex").
|
|
1065
|
-
};
|
|
1066
|
-
chain: import("@xylabs/hex").
|
|
1067
|
-
from:
|
|
1068
|
-
|
|
1069
|
-
|
|
1533
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1534
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1535
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1536
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1537
|
+
};
|
|
1538
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1539
|
+
from: Lowercase<string> & {
|
|
1540
|
+
readonly __hex: true;
|
|
1541
|
+
} & {
|
|
1542
|
+
readonly __address: true;
|
|
1543
|
+
};
|
|
1544
|
+
$destination?: (Lowercase<string> & {
|
|
1545
|
+
readonly __hex: true;
|
|
1546
|
+
} & {
|
|
1547
|
+
readonly __address: true;
|
|
1548
|
+
}) | undefined;
|
|
1549
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1070
1550
|
script?: string[] | undefined;
|
|
1071
1551
|
}, {
|
|
1072
1552
|
schema: string;
|
|
@@ -1075,46 +1555,70 @@ export declare const asSignedHydratedTransaction: {
|
|
|
1075
1555
|
export declare const toSignedHydratedTransaction: {
|
|
1076
1556
|
<T>(value: T): (T & [{
|
|
1077
1557
|
schema: "network.xyo.boundwitness";
|
|
1078
|
-
addresses:
|
|
1079
|
-
|
|
1558
|
+
addresses: (Lowercase<string> & {
|
|
1559
|
+
readonly __hex: true;
|
|
1560
|
+
} & {
|
|
1561
|
+
readonly __address: true;
|
|
1562
|
+
})[];
|
|
1563
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1080
1564
|
payload_schemas: string[];
|
|
1081
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1082
|
-
$signatures: import("@xylabs/hex").
|
|
1565
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1566
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1083
1567
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1084
1568
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1085
1569
|
fees: {
|
|
1086
|
-
base: import("@xylabs/hex").
|
|
1087
|
-
gasLimit: import("@xylabs/hex").
|
|
1088
|
-
gasPrice: import("@xylabs/hex").
|
|
1089
|
-
priority: import("@xylabs/hex").
|
|
1090
|
-
};
|
|
1091
|
-
chain: import("@xylabs/hex").
|
|
1092
|
-
from:
|
|
1093
|
-
|
|
1094
|
-
|
|
1570
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1571
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1572
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1573
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1574
|
+
};
|
|
1575
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1576
|
+
from: Lowercase<string> & {
|
|
1577
|
+
readonly __hex: true;
|
|
1578
|
+
} & {
|
|
1579
|
+
readonly __address: true;
|
|
1580
|
+
};
|
|
1581
|
+
$destination?: (Lowercase<string> & {
|
|
1582
|
+
readonly __hex: true;
|
|
1583
|
+
} & {
|
|
1584
|
+
readonly __address: true;
|
|
1585
|
+
}) | undefined;
|
|
1586
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1095
1587
|
script?: string[] | undefined;
|
|
1096
1588
|
}, {
|
|
1097
1589
|
schema: string;
|
|
1098
1590
|
}[]]) | undefined;
|
|
1099
1591
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1100
1592
|
schema: "network.xyo.boundwitness";
|
|
1101
|
-
addresses:
|
|
1102
|
-
|
|
1593
|
+
addresses: (Lowercase<string> & {
|
|
1594
|
+
readonly __hex: true;
|
|
1595
|
+
} & {
|
|
1596
|
+
readonly __address: true;
|
|
1597
|
+
})[];
|
|
1598
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1103
1599
|
payload_schemas: string[];
|
|
1104
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1105
|
-
$signatures: import("@xylabs/hex").
|
|
1600
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1601
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1106
1602
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1107
1603
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1108
1604
|
fees: {
|
|
1109
|
-
base: import("@xylabs/hex").
|
|
1110
|
-
gasLimit: import("@xylabs/hex").
|
|
1111
|
-
gasPrice: import("@xylabs/hex").
|
|
1112
|
-
priority: import("@xylabs/hex").
|
|
1113
|
-
};
|
|
1114
|
-
chain: import("@xylabs/hex").
|
|
1115
|
-
from:
|
|
1116
|
-
|
|
1117
|
-
|
|
1605
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1606
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1607
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1608
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1609
|
+
};
|
|
1610
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1611
|
+
from: Lowercase<string> & {
|
|
1612
|
+
readonly __hex: true;
|
|
1613
|
+
} & {
|
|
1614
|
+
readonly __address: true;
|
|
1615
|
+
};
|
|
1616
|
+
$destination?: (Lowercase<string> & {
|
|
1617
|
+
readonly __hex: true;
|
|
1618
|
+
} & {
|
|
1619
|
+
readonly __address: true;
|
|
1620
|
+
}) | undefined;
|
|
1621
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1118
1622
|
script?: string[] | undefined;
|
|
1119
1623
|
}, {
|
|
1120
1624
|
schema: string;
|
|
@@ -1122,347 +1626,491 @@ export declare const toSignedHydratedTransaction: {
|
|
|
1122
1626
|
};
|
|
1123
1627
|
export declare const SignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
1124
1628
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
1125
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1126
|
-
|
|
1629
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1630
|
+
readonly __hex: true;
|
|
1631
|
+
} & {
|
|
1632
|
+
readonly __address: true;
|
|
1633
|
+
}, string>>>;
|
|
1634
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1127
1635
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
1128
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1129
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1130
|
-
|
|
1131
|
-
|
|
1636
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1637
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1638
|
+
readonly __hex: true;
|
|
1639
|
+
} & {
|
|
1640
|
+
readonly __address: true;
|
|
1641
|
+
}, string>>>;
|
|
1642
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1643
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
1132
1644
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
1133
1645
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
1134
1646
|
fees: z.ZodObject<{
|
|
1135
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1136
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1137
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1138
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1647
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1648
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1649
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1650
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1139
1651
|
}, z.core.$strip>;
|
|
1140
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1141
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1652
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1653
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1654
|
+
readonly __hex: true;
|
|
1655
|
+
} & {
|
|
1656
|
+
readonly __address: true;
|
|
1657
|
+
}, string>>;
|
|
1142
1658
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1143
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1144
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1659
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1660
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1145
1661
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1146
1662
|
schema: z.ZodString;
|
|
1147
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1148
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1663
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1664
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1149
1665
|
}, z.core.$strip>>], null>;
|
|
1150
1666
|
export type SignedHydratedTransactionWithHashMeta = z.infer<typeof SignedHydratedTransactionWithHashMetaZod>;
|
|
1151
1667
|
export declare const isSignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
1152
1668
|
schema: "network.xyo.boundwitness";
|
|
1153
|
-
addresses:
|
|
1154
|
-
|
|
1669
|
+
addresses: (Lowercase<string> & {
|
|
1670
|
+
readonly __hex: true;
|
|
1671
|
+
} & {
|
|
1672
|
+
readonly __address: true;
|
|
1673
|
+
})[];
|
|
1674
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1155
1675
|
payload_schemas: string[];
|
|
1156
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1157
|
-
$signatures: import("@xylabs/hex").
|
|
1676
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1677
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1158
1678
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1159
1679
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1160
1680
|
fees: {
|
|
1161
|
-
base: import("@xylabs/hex").
|
|
1162
|
-
gasLimit: import("@xylabs/hex").
|
|
1163
|
-
gasPrice: import("@xylabs/hex").
|
|
1164
|
-
priority: import("@xylabs/hex").
|
|
1681
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1682
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1683
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1684
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1685
|
+
};
|
|
1686
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1687
|
+
from: Lowercase<string> & {
|
|
1688
|
+
readonly __hex: true;
|
|
1689
|
+
} & {
|
|
1690
|
+
readonly __address: true;
|
|
1165
1691
|
};
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1692
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1693
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1694
|
+
$destination?: (Lowercase<string> & {
|
|
1695
|
+
readonly __hex: true;
|
|
1696
|
+
} & {
|
|
1697
|
+
readonly __address: true;
|
|
1698
|
+
}) | undefined;
|
|
1699
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1172
1700
|
script?: string[] | undefined;
|
|
1173
1701
|
}, {
|
|
1174
1702
|
schema: string;
|
|
1175
|
-
_hash: import("@xylabs/hex").
|
|
1176
|
-
_dataHash: import("@xylabs/hex").
|
|
1703
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1704
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1177
1705
|
}[]];
|
|
1178
1706
|
export declare const asSignedHydratedTransactionWithHashMeta: {
|
|
1179
1707
|
<T>(value: T): (T & [{
|
|
1180
1708
|
schema: "network.xyo.boundwitness";
|
|
1181
|
-
addresses:
|
|
1182
|
-
|
|
1709
|
+
addresses: (Lowercase<string> & {
|
|
1710
|
+
readonly __hex: true;
|
|
1711
|
+
} & {
|
|
1712
|
+
readonly __address: true;
|
|
1713
|
+
})[];
|
|
1714
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1183
1715
|
payload_schemas: string[];
|
|
1184
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1185
|
-
$signatures: import("@xylabs/hex").
|
|
1716
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1717
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1186
1718
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1187
1719
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1188
1720
|
fees: {
|
|
1189
|
-
base: import("@xylabs/hex").
|
|
1190
|
-
gasLimit: import("@xylabs/hex").
|
|
1191
|
-
gasPrice: import("@xylabs/hex").
|
|
1192
|
-
priority: import("@xylabs/hex").
|
|
1193
|
-
};
|
|
1194
|
-
chain: import("@xylabs/hex").
|
|
1195
|
-
from:
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1721
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1722
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1723
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1724
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1725
|
+
};
|
|
1726
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1727
|
+
from: Lowercase<string> & {
|
|
1728
|
+
readonly __hex: true;
|
|
1729
|
+
} & {
|
|
1730
|
+
readonly __address: true;
|
|
1731
|
+
};
|
|
1732
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1733
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1734
|
+
$destination?: (Lowercase<string> & {
|
|
1735
|
+
readonly __hex: true;
|
|
1736
|
+
} & {
|
|
1737
|
+
readonly __address: true;
|
|
1738
|
+
}) | undefined;
|
|
1739
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1200
1740
|
script?: string[] | undefined;
|
|
1201
1741
|
}, {
|
|
1202
1742
|
schema: string;
|
|
1203
|
-
_hash: import("@xylabs/hex").
|
|
1204
|
-
_dataHash: import("@xylabs/hex").
|
|
1743
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1744
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1205
1745
|
}[]]) | undefined;
|
|
1206
1746
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1207
1747
|
schema: "network.xyo.boundwitness";
|
|
1208
|
-
addresses:
|
|
1209
|
-
|
|
1748
|
+
addresses: (Lowercase<string> & {
|
|
1749
|
+
readonly __hex: true;
|
|
1750
|
+
} & {
|
|
1751
|
+
readonly __address: true;
|
|
1752
|
+
})[];
|
|
1753
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1210
1754
|
payload_schemas: string[];
|
|
1211
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1212
|
-
$signatures: import("@xylabs/hex").
|
|
1755
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1756
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1213
1757
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1214
1758
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1215
1759
|
fees: {
|
|
1216
|
-
base: import("@xylabs/hex").
|
|
1217
|
-
gasLimit: import("@xylabs/hex").
|
|
1218
|
-
gasPrice: import("@xylabs/hex").
|
|
1219
|
-
priority: import("@xylabs/hex").
|
|
1220
|
-
};
|
|
1221
|
-
chain: import("@xylabs/hex").
|
|
1222
|
-
from:
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1760
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1761
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1762
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1763
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1764
|
+
};
|
|
1765
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1766
|
+
from: Lowercase<string> & {
|
|
1767
|
+
readonly __hex: true;
|
|
1768
|
+
} & {
|
|
1769
|
+
readonly __address: true;
|
|
1770
|
+
};
|
|
1771
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1772
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1773
|
+
$destination?: (Lowercase<string> & {
|
|
1774
|
+
readonly __hex: true;
|
|
1775
|
+
} & {
|
|
1776
|
+
readonly __address: true;
|
|
1777
|
+
}) | undefined;
|
|
1778
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1227
1779
|
script?: string[] | undefined;
|
|
1228
1780
|
}, {
|
|
1229
1781
|
schema: string;
|
|
1230
|
-
_hash: import("@xylabs/hex").
|
|
1231
|
-
_dataHash: import("@xylabs/hex").
|
|
1782
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1783
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1232
1784
|
}[]];
|
|
1233
1785
|
};
|
|
1234
1786
|
export declare const toSignedHydratedTransactionWithHashMeta: {
|
|
1235
1787
|
<T>(value: T): (T & [{
|
|
1236
1788
|
schema: "network.xyo.boundwitness";
|
|
1237
|
-
addresses:
|
|
1238
|
-
|
|
1789
|
+
addresses: (Lowercase<string> & {
|
|
1790
|
+
readonly __hex: true;
|
|
1791
|
+
} & {
|
|
1792
|
+
readonly __address: true;
|
|
1793
|
+
})[];
|
|
1794
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1239
1795
|
payload_schemas: string[];
|
|
1240
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1241
|
-
$signatures: import("@xylabs/hex").
|
|
1796
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1797
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1242
1798
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1243
1799
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1244
1800
|
fees: {
|
|
1245
|
-
base: import("@xylabs/hex").
|
|
1246
|
-
gasLimit: import("@xylabs/hex").
|
|
1247
|
-
gasPrice: import("@xylabs/hex").
|
|
1248
|
-
priority: import("@xylabs/hex").
|
|
1249
|
-
};
|
|
1250
|
-
chain: import("@xylabs/hex").
|
|
1251
|
-
from:
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1801
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1802
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1803
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1804
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1805
|
+
};
|
|
1806
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1807
|
+
from: Lowercase<string> & {
|
|
1808
|
+
readonly __hex: true;
|
|
1809
|
+
} & {
|
|
1810
|
+
readonly __address: true;
|
|
1811
|
+
};
|
|
1812
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1813
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1814
|
+
$destination?: (Lowercase<string> & {
|
|
1815
|
+
readonly __hex: true;
|
|
1816
|
+
} & {
|
|
1817
|
+
readonly __address: true;
|
|
1818
|
+
}) | undefined;
|
|
1819
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1256
1820
|
script?: string[] | undefined;
|
|
1257
1821
|
}, {
|
|
1258
1822
|
schema: string;
|
|
1259
|
-
_hash: import("@xylabs/hex").
|
|
1260
|
-
_dataHash: import("@xylabs/hex").
|
|
1823
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1824
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1261
1825
|
}[]]) | undefined;
|
|
1262
1826
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1263
1827
|
schema: "network.xyo.boundwitness";
|
|
1264
|
-
addresses:
|
|
1265
|
-
|
|
1828
|
+
addresses: (Lowercase<string> & {
|
|
1829
|
+
readonly __hex: true;
|
|
1830
|
+
} & {
|
|
1831
|
+
readonly __address: true;
|
|
1832
|
+
})[];
|
|
1833
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1266
1834
|
payload_schemas: string[];
|
|
1267
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1268
|
-
$signatures: import("@xylabs/hex").
|
|
1835
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1836
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1269
1837
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1270
1838
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1271
1839
|
fees: {
|
|
1272
|
-
base: import("@xylabs/hex").
|
|
1273
|
-
gasLimit: import("@xylabs/hex").
|
|
1274
|
-
gasPrice: import("@xylabs/hex").
|
|
1275
|
-
priority: import("@xylabs/hex").
|
|
1276
|
-
};
|
|
1277
|
-
chain: import("@xylabs/hex").
|
|
1278
|
-
from:
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1840
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1841
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1842
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1843
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1844
|
+
};
|
|
1845
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1846
|
+
from: Lowercase<string> & {
|
|
1847
|
+
readonly __hex: true;
|
|
1848
|
+
} & {
|
|
1849
|
+
readonly __address: true;
|
|
1850
|
+
};
|
|
1851
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1852
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1853
|
+
$destination?: (Lowercase<string> & {
|
|
1854
|
+
readonly __hex: true;
|
|
1855
|
+
} & {
|
|
1856
|
+
readonly __address: true;
|
|
1857
|
+
}) | undefined;
|
|
1858
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1283
1859
|
script?: string[] | undefined;
|
|
1284
1860
|
}, {
|
|
1285
1861
|
schema: string;
|
|
1286
|
-
_hash: import("@xylabs/hex").
|
|
1287
|
-
_dataHash: import("@xylabs/hex").
|
|
1862
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1863
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1288
1864
|
}[]];
|
|
1289
1865
|
};
|
|
1290
1866
|
export declare const SignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
1291
1867
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
1292
|
-
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1293
|
-
|
|
1868
|
+
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1869
|
+
readonly __hex: true;
|
|
1870
|
+
} & {
|
|
1871
|
+
readonly __address: true;
|
|
1872
|
+
}, string>>>;
|
|
1873
|
+
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1294
1874
|
payload_schemas: z.ZodArray<z.ZodString>;
|
|
1295
|
-
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1296
|
-
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1297
|
-
|
|
1298
|
-
|
|
1875
|
+
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>>;
|
|
1876
|
+
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1877
|
+
readonly __hex: true;
|
|
1878
|
+
} & {
|
|
1879
|
+
readonly __address: true;
|
|
1880
|
+
}, string>>>;
|
|
1881
|
+
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>>;
|
|
1882
|
+
$signatures: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>>;
|
|
1299
1883
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
1300
1884
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
|
|
1301
1885
|
fees: z.ZodObject<{
|
|
1302
|
-
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1303
|
-
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1304
|
-
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1305
|
-
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1886
|
+
base: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1887
|
+
gasLimit: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1888
|
+
gasPrice: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1889
|
+
priority: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1306
1890
|
}, z.core.$strip>;
|
|
1307
|
-
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1308
|
-
from: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1891
|
+
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHex, string>>;
|
|
1892
|
+
from: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
|
|
1893
|
+
readonly __hex: true;
|
|
1894
|
+
} & {
|
|
1895
|
+
readonly __address: true;
|
|
1896
|
+
}, string>>;
|
|
1309
1897
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1310
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1311
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1898
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1899
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1312
1900
|
_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>>]>;
|
|
1313
1901
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1314
1902
|
schema: z.ZodString;
|
|
1315
|
-
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1316
|
-
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").
|
|
1903
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1904
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").BrandedHash, string>>;
|
|
1317
1905
|
_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>>]>;
|
|
1318
1906
|
}, z.core.$strip>>], null>;
|
|
1319
1907
|
export type SignedHydratedTransactionWithStorageMeta = z.infer<typeof SignedHydratedTransactionWithStorageMetaZod>;
|
|
1320
1908
|
export declare const isSignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
1321
1909
|
schema: "network.xyo.boundwitness";
|
|
1322
|
-
addresses:
|
|
1323
|
-
|
|
1910
|
+
addresses: (Lowercase<string> & {
|
|
1911
|
+
readonly __hex: true;
|
|
1912
|
+
} & {
|
|
1913
|
+
readonly __address: true;
|
|
1914
|
+
})[];
|
|
1915
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1324
1916
|
payload_schemas: string[];
|
|
1325
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1326
|
-
$signatures: import("@xylabs/hex").
|
|
1917
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1918
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1327
1919
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1328
1920
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1329
1921
|
fees: {
|
|
1330
|
-
base: import("@xylabs/hex").
|
|
1331
|
-
gasLimit: import("@xylabs/hex").
|
|
1332
|
-
gasPrice: import("@xylabs/hex").
|
|
1333
|
-
priority: import("@xylabs/hex").
|
|
1922
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1923
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1924
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1925
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1926
|
+
};
|
|
1927
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1928
|
+
from: Lowercase<string> & {
|
|
1929
|
+
readonly __hex: true;
|
|
1930
|
+
} & {
|
|
1931
|
+
readonly __address: true;
|
|
1334
1932
|
};
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
_hash: import("@xylabs/hex").Hash;
|
|
1338
|
-
_dataHash: import("@xylabs/hex").Hash;
|
|
1933
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1934
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1339
1935
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1340
|
-
$destination?:
|
|
1341
|
-
|
|
1936
|
+
$destination?: (Lowercase<string> & {
|
|
1937
|
+
readonly __hex: true;
|
|
1938
|
+
} & {
|
|
1939
|
+
readonly __address: true;
|
|
1940
|
+
}) | undefined;
|
|
1941
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1342
1942
|
script?: string[] | undefined;
|
|
1343
1943
|
}, {
|
|
1344
1944
|
schema: string;
|
|
1345
|
-
_hash: import("@xylabs/hex").
|
|
1346
|
-
_dataHash: import("@xylabs/hex").
|
|
1945
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1946
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1347
1947
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1348
1948
|
}[]];
|
|
1349
1949
|
export declare const asSignedHydratedTransactionWithStorageMeta: {
|
|
1350
1950
|
<T>(value: T): (T & [{
|
|
1351
1951
|
schema: "network.xyo.boundwitness";
|
|
1352
|
-
addresses:
|
|
1353
|
-
|
|
1952
|
+
addresses: (Lowercase<string> & {
|
|
1953
|
+
readonly __hex: true;
|
|
1954
|
+
} & {
|
|
1955
|
+
readonly __address: true;
|
|
1956
|
+
})[];
|
|
1957
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1354
1958
|
payload_schemas: string[];
|
|
1355
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1356
|
-
$signatures: import("@xylabs/hex").
|
|
1959
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
1960
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1357
1961
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1358
1962
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1359
1963
|
fees: {
|
|
1360
|
-
base: import("@xylabs/hex").
|
|
1361
|
-
gasLimit: import("@xylabs/hex").
|
|
1362
|
-
gasPrice: import("@xylabs/hex").
|
|
1363
|
-
priority: import("@xylabs/hex").
|
|
1364
|
-
};
|
|
1365
|
-
chain: import("@xylabs/hex").
|
|
1366
|
-
from:
|
|
1367
|
-
|
|
1368
|
-
|
|
1964
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
1965
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
1966
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
1967
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
1968
|
+
};
|
|
1969
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
1970
|
+
from: Lowercase<string> & {
|
|
1971
|
+
readonly __hex: true;
|
|
1972
|
+
} & {
|
|
1973
|
+
readonly __address: true;
|
|
1974
|
+
};
|
|
1975
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1976
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1369
1977
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1370
|
-
$destination?:
|
|
1371
|
-
|
|
1978
|
+
$destination?: (Lowercase<string> & {
|
|
1979
|
+
readonly __hex: true;
|
|
1980
|
+
} & {
|
|
1981
|
+
readonly __address: true;
|
|
1982
|
+
}) | undefined;
|
|
1983
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1372
1984
|
script?: string[] | undefined;
|
|
1373
1985
|
}, {
|
|
1374
1986
|
schema: string;
|
|
1375
|
-
_hash: import("@xylabs/hex").
|
|
1376
|
-
_dataHash: import("@xylabs/hex").
|
|
1987
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
1988
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1377
1989
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1378
1990
|
}[]]) | undefined;
|
|
1379
1991
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1380
1992
|
schema: "network.xyo.boundwitness";
|
|
1381
|
-
addresses:
|
|
1382
|
-
|
|
1993
|
+
addresses: (Lowercase<string> & {
|
|
1994
|
+
readonly __hex: true;
|
|
1995
|
+
} & {
|
|
1996
|
+
readonly __address: true;
|
|
1997
|
+
})[];
|
|
1998
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1383
1999
|
payload_schemas: string[];
|
|
1384
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1385
|
-
$signatures: import("@xylabs/hex").
|
|
2000
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
2001
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1386
2002
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1387
2003
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1388
2004
|
fees: {
|
|
1389
|
-
base: import("@xylabs/hex").
|
|
1390
|
-
gasLimit: import("@xylabs/hex").
|
|
1391
|
-
gasPrice: import("@xylabs/hex").
|
|
1392
|
-
priority: import("@xylabs/hex").
|
|
1393
|
-
};
|
|
1394
|
-
chain: import("@xylabs/hex").
|
|
1395
|
-
from:
|
|
1396
|
-
|
|
1397
|
-
|
|
2005
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
2006
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
2007
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
2008
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
2009
|
+
};
|
|
2010
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
2011
|
+
from: Lowercase<string> & {
|
|
2012
|
+
readonly __hex: true;
|
|
2013
|
+
} & {
|
|
2014
|
+
readonly __address: true;
|
|
2015
|
+
};
|
|
2016
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2017
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1398
2018
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1399
|
-
$destination?:
|
|
1400
|
-
|
|
2019
|
+
$destination?: (Lowercase<string> & {
|
|
2020
|
+
readonly __hex: true;
|
|
2021
|
+
} & {
|
|
2022
|
+
readonly __address: true;
|
|
2023
|
+
}) | undefined;
|
|
2024
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1401
2025
|
script?: string[] | undefined;
|
|
1402
2026
|
}, {
|
|
1403
2027
|
schema: string;
|
|
1404
|
-
_hash: import("@xylabs/hex").
|
|
1405
|
-
_dataHash: import("@xylabs/hex").
|
|
2028
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2029
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1406
2030
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1407
2031
|
}[]];
|
|
1408
2032
|
};
|
|
1409
2033
|
export declare const toSignedHydratedTransactionWithStorageMeta: {
|
|
1410
2034
|
<T>(value: T): (T & [{
|
|
1411
2035
|
schema: "network.xyo.boundwitness";
|
|
1412
|
-
addresses:
|
|
1413
|
-
|
|
2036
|
+
addresses: (Lowercase<string> & {
|
|
2037
|
+
readonly __hex: true;
|
|
2038
|
+
} & {
|
|
2039
|
+
readonly __address: true;
|
|
2040
|
+
})[];
|
|
2041
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1414
2042
|
payload_schemas: string[];
|
|
1415
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1416
|
-
$signatures: import("@xylabs/hex").
|
|
2043
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
2044
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1417
2045
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1418
2046
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1419
2047
|
fees: {
|
|
1420
|
-
base: import("@xylabs/hex").
|
|
1421
|
-
gasLimit: import("@xylabs/hex").
|
|
1422
|
-
gasPrice: import("@xylabs/hex").
|
|
1423
|
-
priority: import("@xylabs/hex").
|
|
1424
|
-
};
|
|
1425
|
-
chain: import("@xylabs/hex").
|
|
1426
|
-
from:
|
|
1427
|
-
|
|
1428
|
-
|
|
2048
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
2049
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
2050
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
2051
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
2052
|
+
};
|
|
2053
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
2054
|
+
from: Lowercase<string> & {
|
|
2055
|
+
readonly __hex: true;
|
|
2056
|
+
} & {
|
|
2057
|
+
readonly __address: true;
|
|
2058
|
+
};
|
|
2059
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2060
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1429
2061
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1430
|
-
$destination?:
|
|
1431
|
-
|
|
2062
|
+
$destination?: (Lowercase<string> & {
|
|
2063
|
+
readonly __hex: true;
|
|
2064
|
+
} & {
|
|
2065
|
+
readonly __address: true;
|
|
2066
|
+
}) | undefined;
|
|
2067
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1432
2068
|
script?: string[] | undefined;
|
|
1433
2069
|
}, {
|
|
1434
2070
|
schema: string;
|
|
1435
|
-
_hash: import("@xylabs/hex").
|
|
1436
|
-
_dataHash: import("@xylabs/hex").
|
|
2071
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2072
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1437
2073
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1438
2074
|
}[]]) | undefined;
|
|
1439
2075
|
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1440
2076
|
schema: "network.xyo.boundwitness";
|
|
1441
|
-
addresses:
|
|
1442
|
-
|
|
2077
|
+
addresses: (Lowercase<string> & {
|
|
2078
|
+
readonly __hex: true;
|
|
2079
|
+
} & {
|
|
2080
|
+
readonly __address: true;
|
|
2081
|
+
})[];
|
|
2082
|
+
payload_hashes: import("@xylabs/hex").BrandedHash[];
|
|
1443
2083
|
payload_schemas: string[];
|
|
1444
|
-
previous_hashes: (import("@xylabs/hex").
|
|
1445
|
-
$signatures: import("@xylabs/hex").
|
|
2084
|
+
previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
|
|
2085
|
+
$signatures: import("@xylabs/hex").BrandedHex[];
|
|
1446
2086
|
nbf: import("../index.ts").XL1BlockNumber;
|
|
1447
2087
|
exp: import("../index.ts").XL1BlockNumber;
|
|
1448
2088
|
fees: {
|
|
1449
|
-
base: import("@xylabs/hex").
|
|
1450
|
-
gasLimit: import("@xylabs/hex").
|
|
1451
|
-
gasPrice: import("@xylabs/hex").
|
|
1452
|
-
priority: import("@xylabs/hex").
|
|
1453
|
-
};
|
|
1454
|
-
chain: import("@xylabs/hex").
|
|
1455
|
-
from:
|
|
1456
|
-
|
|
1457
|
-
|
|
2089
|
+
base: import("@xylabs/hex").BrandedHex;
|
|
2090
|
+
gasLimit: import("@xylabs/hex").BrandedHex;
|
|
2091
|
+
gasPrice: import("@xylabs/hex").BrandedHex;
|
|
2092
|
+
priority: import("@xylabs/hex").BrandedHex;
|
|
2093
|
+
};
|
|
2094
|
+
chain: import("@xylabs/hex").BrandedHex;
|
|
2095
|
+
from: Lowercase<string> & {
|
|
2096
|
+
readonly __hex: true;
|
|
2097
|
+
} & {
|
|
2098
|
+
readonly __address: true;
|
|
2099
|
+
};
|
|
2100
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2101
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1458
2102
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1459
|
-
$destination?:
|
|
1460
|
-
|
|
2103
|
+
$destination?: (Lowercase<string> & {
|
|
2104
|
+
readonly __hex: true;
|
|
2105
|
+
} & {
|
|
2106
|
+
readonly __address: true;
|
|
2107
|
+
}) | undefined;
|
|
2108
|
+
$sourceQuery?: import("@xylabs/hex").BrandedHash | undefined;
|
|
1461
2109
|
script?: string[] | undefined;
|
|
1462
2110
|
}, {
|
|
1463
2111
|
schema: string;
|
|
1464
|
-
_hash: import("@xylabs/hex").
|
|
1465
|
-
_dataHash: import("@xylabs/hex").
|
|
2112
|
+
_hash: import("@xylabs/hex").BrandedHash;
|
|
2113
|
+
_dataHash: import("@xylabs/hex").BrandedHash;
|
|
1466
2114
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1467
2115
|
}[]];
|
|
1468
2116
|
};
|