@layerzerolabs/dw-model 0.2.67 → 0.2.69
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/372UIOTW.js +107 -0
- package/dist/372UIOTW.js.map +1 -0
- package/dist/{2XSWEWFA.cjs → FOB7D4D6.cjs} +15 -83
- package/dist/FOB7D4D6.cjs.map +1 -0
- package/dist/{MHBV7XHL.js → G43GXBX5.js} +2 -4
- package/dist/G43GXBX5.js.map +1 -0
- package/dist/GLPJHNSD.js +25 -0
- package/dist/GLPJHNSD.js.map +1 -0
- package/dist/{NJ2LWIGZ.cjs → HCK5GXNH.cjs} +2 -4
- package/dist/HCK5GXNH.cjs.map +1 -0
- package/dist/MR335VWI.cjs +29 -0
- package/dist/MR335VWI.cjs.map +1 -0
- package/dist/deploy/artifact.cjs +10 -10
- package/dist/deploy/artifact.d.ts +0 -6
- package/dist/deploy/artifact.d.ts.map +1 -1
- package/dist/deploy/artifact.js +1 -1
- package/dist/deploy/factoryInterfaces.cjs +8 -9
- package/dist/deploy/factoryInterfaces.d.ts +14 -168
- package/dist/deploy/factoryInterfaces.d.ts.map +1 -1
- package/dist/deploy/factoryInterfaces.js +2 -3
- package/dist/deploy/index.cjs +48 -80
- package/dist/deploy/index.js +3 -3
- package/dist/deploy/workflow.cjs +4 -37
- package/dist/deploy/workflow.d.ts +2 -283
- package/dist/deploy/workflow.d.ts.map +1 -1
- package/dist/deploy/workflow.js +1 -2
- package/dist/index.cjs +48 -80
- package/dist/index.js +3 -3
- package/dist/role-management/generator.d.ts +1 -1
- package/dist/role-management/schemata.d.ts +20 -20
- package/dist/role-management/schemata.d.ts.map +1 -1
- package/package.json +12 -9
- package/.turbo/turbo-build.log +0 -143
- package/.turbo/turbo-lint.log +0 -8
- package/.turbo/turbo-test.log +0 -16
- package/dist/2XSWEWFA.cjs.map +0 -1
- package/dist/DRX4MXDW.js +0 -87
- package/dist/DRX4MXDW.js.map +0 -1
- package/dist/FVBHJFVE.cjs +0 -99
- package/dist/FVBHJFVE.cjs.map +0 -1
- package/dist/KK5K3STO.js +0 -175
- package/dist/KK5K3STO.js.map +0 -1
- package/dist/MHBV7XHL.js.map +0 -1
- package/dist/NJ2LWIGZ.cjs.map +0 -1
- package/src/deploy/artifact.ts +0 -99
- package/src/deploy/factoryInterfaces.ts +0 -203
- package/src/deploy/index.ts +0 -5
- package/src/deploy/resourceBuilder.ts +0 -79
- package/src/deploy/resources.md +0 -84
- package/src/deploy/resources.ts +0 -205
- package/src/deploy/workflow.ts +0 -140
- package/src/index.ts +0 -4
- package/src/role-management/generator.ts +0 -17
- package/src/role-management/index.ts +0 -3
- package/src/role-management/schemata.ts +0 -180
- package/src/role-management/types.ts +0 -5
- package/src/upgrade/index.ts +0 -1
- package/src/upgrade/types.ts +0 -159
- package/src/wire/index.ts +0 -1
- package/src/wire/schemata.ts +0 -63
- package/tsconfig.json +0 -20
- package/tsup.config.ts +0 -8
|
@@ -1,299 +1,18 @@
|
|
|
1
1
|
import type { SuiObjectChange } from '@mysten/sui/client';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import type {
|
|
3
|
+
import type { SuccessfulGatedTransaction } from '@layerzerolabs/gated-transaction';
|
|
4
4
|
export type { SuiObjectChange };
|
|
5
|
-
/** @deprecated use SolanaDeploymentArtifact from this module or define inline */
|
|
6
|
-
export type SolanaDeploymentArtifact = Omit<DeploymentArtifact, 'extraDeploymentInfo'> & {
|
|
7
|
-
extraDeploymentInfo: SolanaDeploymentArtifactExtraInfo;
|
|
8
|
-
};
|
|
9
|
-
export declare const getDeploymentBaseArgsSchema: z.ZodObject<{
|
|
10
|
-
contractName: z.ZodString;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type GetDeploymentBaseArgs = z.infer<typeof getDeploymentBaseArgsSchema>;
|
|
13
|
-
export declare const saveDeploymentBaseArgsSchema: z.ZodObject<{
|
|
14
|
-
deploymentArtifact: z.ZodObject<{
|
|
15
|
-
contractName: z.ZodString;
|
|
16
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
17
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
export type SaveDeploymentBaseArgs = z.infer<typeof saveDeploymentBaseArgsSchema>;
|
|
21
|
-
export declare const getVerificationBaseArgsSchema: z.ZodObject<{
|
|
22
|
-
contractName: z.ZodString;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
export type GetVerificationBaseArgs = z.infer<typeof getVerificationBaseArgsSchema>;
|
|
25
5
|
export declare const extractVerificationArtifactBaseArgsSchema: z.ZodObject<{
|
|
26
|
-
gtx: z.ZodType<
|
|
27
|
-
result: import("@layerzerolabs/gated-transaction").SuccessfulGatedTransaction<{
|
|
28
|
-
chainName: string;
|
|
29
|
-
timestamps: {
|
|
30
|
-
created: number;
|
|
31
|
-
nonceAcquired?: number | undefined;
|
|
32
|
-
signed?: number | undefined;
|
|
33
|
-
sent?: number | undefined;
|
|
34
|
-
confirmed?: number | undefined;
|
|
35
|
-
};
|
|
36
|
-
properties?: Record<string, any> | undefined;
|
|
37
|
-
type?: string | undefined;
|
|
38
|
-
parallelizingKey?: string | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
}, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/gated-transaction").BaseGatedTransaction<string, Promise<any>, import("@layerzerolabs/gated-transaction").GatedTransactionDependencies> & {
|
|
41
|
-
result: import("@layerzerolabs/gated-transaction").SuccessfulGatedTransaction<{
|
|
42
|
-
chainName: string;
|
|
43
|
-
timestamps: {
|
|
44
|
-
created: number;
|
|
45
|
-
nonceAcquired?: number | undefined;
|
|
46
|
-
signed?: number | undefined;
|
|
47
|
-
sent?: number | undefined;
|
|
48
|
-
confirmed?: number | undefined;
|
|
49
|
-
};
|
|
50
|
-
properties?: Record<string, any> | undefined;
|
|
51
|
-
type?: string | undefined;
|
|
52
|
-
parallelizingKey?: string | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
}, unknown>>;
|
|
55
|
-
deploymentArtifact: z.ZodObject<{
|
|
56
|
-
contractName: z.ZodString;
|
|
57
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
58
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
59
|
-
nativeAddress: z.ZodString;
|
|
60
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
61
|
-
deploymentTimestamp: z.ZodNumber;
|
|
62
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
63
|
-
txHash: z.ZodString;
|
|
64
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
65
|
-
}, z.core.$strip>;
|
|
66
|
-
nonVerifyable: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
gtx: z.ZodType<SuccessfulGatedTransaction, SuccessfulGatedTransaction, z.core.$ZodTypeInternals<SuccessfulGatedTransaction, SuccessfulGatedTransaction>>;
|
|
67
7
|
}, z.core.$strip>;
|
|
68
8
|
export type ExtractVerificationArtifactBaseArgs = z.infer<typeof extractVerificationArtifactBaseArgsSchema>;
|
|
69
|
-
export declare const saveVerificationBaseArgsSchema: z.ZodObject<{
|
|
70
|
-
deploymentArtifact: z.ZodObject<{
|
|
71
|
-
contractName: z.ZodString;
|
|
72
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
73
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
74
|
-
nativeAddress: z.ZodString;
|
|
75
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
76
|
-
deploymentTimestamp: z.ZodNumber;
|
|
77
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
78
|
-
txHash: z.ZodString;
|
|
79
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
80
|
-
}, z.core.$strip>;
|
|
81
|
-
verificationArtifact: z.ZodAny;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
export type SaveVerificationBaseArgs = z.infer<typeof saveVerificationBaseArgsSchema>;
|
|
84
|
-
export declare const baseDeploymentSavingArtifactsSchema: z.ZodObject<{
|
|
85
|
-
getDeployment: z.ZodType<(args_0: {
|
|
86
|
-
contractName: string;
|
|
87
|
-
}) => Promise<{
|
|
88
|
-
contractName: string;
|
|
89
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
90
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
91
|
-
} | {
|
|
92
|
-
contractName: string;
|
|
93
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
94
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
95
|
-
nativeAddress: string;
|
|
96
|
-
deploymentTimestamp: number;
|
|
97
|
-
deployerAddress: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
98
|
-
txHash: string;
|
|
99
|
-
bytecodeHash?: string | undefined;
|
|
100
|
-
extraDeploymentInfo?: any;
|
|
101
|
-
} | undefined>, unknown, z.core.$ZodTypeInternals<(args_0: {
|
|
102
|
-
contractName: string;
|
|
103
|
-
}) => Promise<{
|
|
104
|
-
contractName: string;
|
|
105
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
106
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
107
|
-
} | {
|
|
108
|
-
contractName: string;
|
|
109
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
110
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
111
|
-
nativeAddress: string;
|
|
112
|
-
deploymentTimestamp: number;
|
|
113
|
-
deployerAddress: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
114
|
-
txHash: string;
|
|
115
|
-
bytecodeHash?: string | undefined;
|
|
116
|
-
extraDeploymentInfo?: any;
|
|
117
|
-
} | undefined>, unknown>>;
|
|
118
|
-
saveDeployment: z.ZodType<(args_0: {
|
|
119
|
-
deploymentArtifact: {
|
|
120
|
-
contractName: string;
|
|
121
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
122
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
123
|
-
};
|
|
124
|
-
}) => Promise<void>, unknown, z.core.$ZodTypeInternals<(args_0: {
|
|
125
|
-
deploymentArtifact: {
|
|
126
|
-
contractName: string;
|
|
127
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
128
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
129
|
-
};
|
|
130
|
-
}) => Promise<void>, unknown>>;
|
|
131
|
-
getVerification: z.ZodType<(args_0: {
|
|
132
|
-
contractName: string;
|
|
133
|
-
}) => Promise<any>, unknown, z.core.$ZodTypeInternals<(args_0: {
|
|
134
|
-
contractName: string;
|
|
135
|
-
}) => Promise<any>, unknown>>;
|
|
136
|
-
saveVerification: z.ZodType<(args_0: {
|
|
137
|
-
deploymentArtifact: {
|
|
138
|
-
contractName: string;
|
|
139
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
140
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
141
|
-
nativeAddress: string;
|
|
142
|
-
deploymentTimestamp: number;
|
|
143
|
-
deployerAddress: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
144
|
-
txHash: string;
|
|
145
|
-
bytecodeHash?: string | undefined;
|
|
146
|
-
extraDeploymentInfo?: any;
|
|
147
|
-
};
|
|
148
|
-
verificationArtifact: any;
|
|
149
|
-
}) => Promise<void>, unknown, z.core.$ZodTypeInternals<(args_0: {
|
|
150
|
-
deploymentArtifact: {
|
|
151
|
-
contractName: string;
|
|
152
|
-
chainName: import("@layerzerolabs/layerzero-definitions").ChainName;
|
|
153
|
-
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
154
|
-
nativeAddress: string;
|
|
155
|
-
deploymentTimestamp: number;
|
|
156
|
-
deployerAddress: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
157
|
-
txHash: string;
|
|
158
|
-
bytecodeHash?: string | undefined;
|
|
159
|
-
extraDeploymentInfo?: any;
|
|
160
|
-
};
|
|
161
|
-
verificationArtifact: any;
|
|
162
|
-
}) => Promise<void>, unknown>>;
|
|
163
|
-
}, z.core.$strip>;
|
|
164
|
-
export declare const deployWorkflowChainResultItemSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
165
|
-
name: z.ZodString;
|
|
166
|
-
success: z.ZodLiteral<false>;
|
|
167
|
-
error: z.ZodString;
|
|
168
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
-
name: z.ZodString;
|
|
170
|
-
success: z.ZodLiteral<true>;
|
|
171
|
-
deploymentArtifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
172
|
-
contractName: z.ZodString;
|
|
173
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
174
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
175
|
-
nativeAddress: z.ZodString;
|
|
176
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
177
|
-
deploymentTimestamp: z.ZodNumber;
|
|
178
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
179
|
-
txHash: z.ZodString;
|
|
180
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
181
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
182
|
-
contractName: z.ZodString;
|
|
183
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
184
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
185
|
-
}, z.core.$strip>]>;
|
|
186
|
-
}, z.core.$strip>]>;
|
|
187
|
-
export declare const deployWorkflowChainResultSchema: z.ZodObject<{
|
|
188
|
-
results: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
189
|
-
name: z.ZodString;
|
|
190
|
-
success: z.ZodLiteral<false>;
|
|
191
|
-
error: z.ZodString;
|
|
192
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
-
name: z.ZodString;
|
|
194
|
-
success: z.ZodLiteral<true>;
|
|
195
|
-
deploymentArtifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
196
|
-
contractName: z.ZodString;
|
|
197
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
198
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
199
|
-
nativeAddress: z.ZodString;
|
|
200
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
201
|
-
deploymentTimestamp: z.ZodNumber;
|
|
202
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
203
|
-
txHash: z.ZodString;
|
|
204
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
205
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
-
contractName: z.ZodString;
|
|
207
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
208
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
209
|
-
}, z.core.$strip>]>;
|
|
210
|
-
}, z.core.$strip>]>>>;
|
|
211
|
-
}, z.core.$strip>;
|
|
212
9
|
export declare const deployWorkflowChainStateSchema: z.ZodObject<{
|
|
213
|
-
results: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
214
|
-
name: z.ZodString;
|
|
215
|
-
success: z.ZodLiteral<false>;
|
|
216
|
-
error: z.ZodString;
|
|
217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
-
name: z.ZodString;
|
|
219
|
-
success: z.ZodLiteral<true>;
|
|
220
|
-
deploymentArtifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
221
|
-
contractName: z.ZodString;
|
|
222
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
223
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
224
|
-
nativeAddress: z.ZodString;
|
|
225
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
226
|
-
deploymentTimestamp: z.ZodNumber;
|
|
227
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
228
|
-
txHash: z.ZodString;
|
|
229
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
230
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
231
|
-
contractName: z.ZodString;
|
|
232
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
233
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
234
|
-
}, z.core.$strip>]>;
|
|
235
|
-
}, z.core.$strip>]>>>;
|
|
236
10
|
srcChain: z.ZodOptional<z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>>;
|
|
237
11
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"RUNNING">, z.ZodLiteral<"COMPLETE">]>>;
|
|
238
12
|
}, z.core.$strip>;
|
|
239
|
-
export declare const deployWorkflowOrchestratorResultSchema: z.ZodObject<{
|
|
240
|
-
stateByChain: z.ZodDefault<z.ZodRecord<z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName> & z.core.$partial, z.ZodObject<{
|
|
241
|
-
results: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
242
|
-
name: z.ZodString;
|
|
243
|
-
success: z.ZodLiteral<false>;
|
|
244
|
-
error: z.ZodString;
|
|
245
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
246
|
-
name: z.ZodString;
|
|
247
|
-
success: z.ZodLiteral<true>;
|
|
248
|
-
deploymentArtifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
249
|
-
contractName: z.ZodString;
|
|
250
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
251
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
252
|
-
nativeAddress: z.ZodString;
|
|
253
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
254
|
-
deploymentTimestamp: z.ZodNumber;
|
|
255
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
256
|
-
txHash: z.ZodString;
|
|
257
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
258
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
259
|
-
contractName: z.ZodString;
|
|
260
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
261
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
262
|
-
}, z.core.$strip>]>;
|
|
263
|
-
}, z.core.$strip>]>>>;
|
|
264
|
-
}, z.core.$strip>>>;
|
|
265
|
-
}, z.core.$strip>;
|
|
266
13
|
export declare const deployWorkflowOrchestratorStateSchema: z.ZodObject<{
|
|
267
|
-
stateByChain: z.ZodDefault<z.ZodRecord<z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName> & z.core.$partial, z.ZodObject<{
|
|
268
|
-
results: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
269
|
-
name: z.ZodString;
|
|
270
|
-
success: z.ZodLiteral<false>;
|
|
271
|
-
error: z.ZodString;
|
|
272
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
-
name: z.ZodString;
|
|
274
|
-
success: z.ZodLiteral<true>;
|
|
275
|
-
deploymentArtifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
276
|
-
contractName: z.ZodString;
|
|
277
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
278
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
279
|
-
nativeAddress: z.ZodString;
|
|
280
|
-
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
281
|
-
deploymentTimestamp: z.ZodNumber;
|
|
282
|
-
deployerAddress: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
283
|
-
txHash: z.ZodString;
|
|
284
|
-
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
285
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
286
|
-
contractName: z.ZodString;
|
|
287
|
-
chainName: z.ZodEnum<typeof import("@layerzerolabs/layerzero-definitions").ChainName>;
|
|
288
|
-
address: z.ZodType<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/typescript-utils").NormalizedHexString, unknown>>;
|
|
289
|
-
}, z.core.$strip>]>;
|
|
290
|
-
}, z.core.$strip>]>>>;
|
|
291
|
-
}, z.core.$strip>>>;
|
|
292
14
|
status: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"RUNNING">, z.ZodLiteral<"COMPLETE">]>>;
|
|
293
15
|
}, z.core.$strip>;
|
|
294
|
-
export type DeployWorkflowChainResultItem = z.infer<typeof deployWorkflowChainResultItemSchema>;
|
|
295
|
-
export type DeployWorkflowChainResult = z.infer<typeof deployWorkflowChainResultSchema>;
|
|
296
16
|
export type DeployWorkflowChainState = z.infer<typeof deployWorkflowChainStateSchema>;
|
|
297
|
-
export type DeployWorkflowOrchestratorResult = z.infer<typeof deployWorkflowOrchestratorResultSchema>;
|
|
298
17
|
export type DeployWorkflowOrchestratorState = z.infer<typeof deployWorkflowOrchestratorStateSchema>;
|
|
299
18
|
//# sourceMappingURL=workflow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/deploy/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/deploy/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAKnF,YAAY,EAAE,eAAe,EAAE,CAAC;AAMhC,eAAO,MAAM,yCAAyC;;iBAEpD,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,yCAAyC,CACnD,CAAC;AAMF,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAEH,eAAO,MAAM,qCAAqC;;iBAEhD,CAAC;AAMH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
|
package/dist/deploy/workflow.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../MHBV7XHL.js';
|
|
1
|
+
export { deployWorkflowChainStateSchema, deployWorkflowOrchestratorStateSchema, extractVerificationArtifactBaseArgsSchema } from '../GLPJHNSD.js';
|
|
3
2
|
import '../VUOMXK5T.js';
|
|
4
3
|
//# sourceMappingURL=workflow.js.map
|
|
5
4
|
//# sourceMappingURL=workflow.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -6,13 +6,13 @@ var X7GZKVDG_cjs = require('./X7GZKVDG.cjs');
|
|
|
6
6
|
require('./X4ZNR5GZ.cjs');
|
|
7
7
|
var KUGCZOFR_cjs = require('./KUGCZOFR.cjs');
|
|
8
8
|
require('./NCHH4VK3.cjs');
|
|
9
|
-
var
|
|
9
|
+
var FOB7D4D6_cjs = require('./FOB7D4D6.cjs');
|
|
10
|
+
var HCK5GXNH_cjs = require('./HCK5GXNH.cjs');
|
|
10
11
|
var DE7P6XTU_cjs = require('./DE7P6XTU.cjs');
|
|
11
12
|
var JZZWB7DM_cjs = require('./JZZWB7DM.cjs');
|
|
12
13
|
require('./IN5O3BJZ.cjs');
|
|
13
14
|
var HH5WI3G5_cjs = require('./HH5WI3G5.cjs');
|
|
14
|
-
var
|
|
15
|
-
var NJ2LWIGZ_cjs = require('./NJ2LWIGZ.cjs');
|
|
15
|
+
var MR335VWI_cjs = require('./MR335VWI.cjs');
|
|
16
16
|
var ONIG6I4S_cjs = require('./ONIG6I4S.cjs');
|
|
17
17
|
require('./YJF4D23A.cjs');
|
|
18
18
|
|
|
@@ -104,27 +104,63 @@ Object.defineProperty(exports, "wireWorkflowOrchestratorStateSchema", {
|
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "artifactRegistryActivityFactorySchema", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return FOB7D4D6_cjs.artifactRegistryActivityFactorySchema; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "createMockArtifactRegistry", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return FOB7D4D6_cjs.createMockArtifactRegistry; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "realIdSchema", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return FOB7D4D6_cjs.realIdSchema; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "resourceRefSchema", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return FOB7D4D6_cjs.resourceRefSchema; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "resourceRegistryActivityFactorySchema", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return FOB7D4D6_cjs.resourceRegistryActivityFactorySchema; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "upsertResourceRealIdArgsSchema", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return FOB7D4D6_cjs.upsertResourceRealIdArgsSchema; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "ArtifactType", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return HCK5GXNH_cjs.ArtifactType; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "artifactWithTypeSchema", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return HCK5GXNH_cjs.artifactWithTypeSchema; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "deploymentArtifactSchema", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return HCK5GXNH_cjs.deploymentArtifactSchema; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return HCK5GXNH_cjs.fullDeploymentArtifactSchema; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return HCK5GXNH_cjs.identityOnlyDeploymentArtifactSchema; }
|
|
148
|
+
});
|
|
149
|
+
Object.defineProperty(exports, "metadataArtifactSchema", {
|
|
150
|
+
enumerable: true,
|
|
151
|
+
get: function () { return HCK5GXNH_cjs.metadataArtifactSchema; }
|
|
152
|
+
});
|
|
153
|
+
Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
|
|
154
|
+
enumerable: true,
|
|
155
|
+
get: function () { return HCK5GXNH_cjs.solanaDeploymentArtifactExtraInfoSchema; }
|
|
156
|
+
});
|
|
157
|
+
Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function () { return HCK5GXNH_cjs.suiDeploymentArtifactExtraInfoSchema; }
|
|
160
|
+
});
|
|
161
|
+
Object.defineProperty(exports, "verificationArtifactSchema", {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: function () { return HCK5GXNH_cjs.verificationArtifactSchema; }
|
|
128
164
|
});
|
|
129
165
|
Object.defineProperty(exports, "createResourceBuilder", {
|
|
130
166
|
enumerable: true,
|
|
@@ -262,85 +298,17 @@ Object.defineProperty(exports, "weakAssertUpgradability", {
|
|
|
262
298
|
enumerable: true,
|
|
263
299
|
get: function () { return HH5WI3G5_cjs.weakAssertUpgradability; }
|
|
264
300
|
});
|
|
265
|
-
Object.defineProperty(exports, "baseDeploymentSavingArtifactsSchema", {
|
|
266
|
-
enumerable: true,
|
|
267
|
-
get: function () { return FVBHJFVE_cjs.baseDeploymentSavingArtifactsSchema; }
|
|
268
|
-
});
|
|
269
|
-
Object.defineProperty(exports, "deployWorkflowChainResultItemSchema", {
|
|
270
|
-
enumerable: true,
|
|
271
|
-
get: function () { return FVBHJFVE_cjs.deployWorkflowChainResultItemSchema; }
|
|
272
|
-
});
|
|
273
|
-
Object.defineProperty(exports, "deployWorkflowChainResultSchema", {
|
|
274
|
-
enumerable: true,
|
|
275
|
-
get: function () { return FVBHJFVE_cjs.deployWorkflowChainResultSchema; }
|
|
276
|
-
});
|
|
277
301
|
Object.defineProperty(exports, "deployWorkflowChainStateSchema", {
|
|
278
302
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
280
|
-
});
|
|
281
|
-
Object.defineProperty(exports, "deployWorkflowOrchestratorResultSchema", {
|
|
282
|
-
enumerable: true,
|
|
283
|
-
get: function () { return FVBHJFVE_cjs.deployWorkflowOrchestratorResultSchema; }
|
|
303
|
+
get: function () { return MR335VWI_cjs.deployWorkflowChainStateSchema; }
|
|
284
304
|
});
|
|
285
305
|
Object.defineProperty(exports, "deployWorkflowOrchestratorStateSchema", {
|
|
286
306
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
307
|
+
get: function () { return MR335VWI_cjs.deployWorkflowOrchestratorStateSchema; }
|
|
288
308
|
});
|
|
289
309
|
Object.defineProperty(exports, "extractVerificationArtifactBaseArgsSchema", {
|
|
290
310
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
292
|
-
});
|
|
293
|
-
Object.defineProperty(exports, "getDeploymentBaseArgsSchema", {
|
|
294
|
-
enumerable: true,
|
|
295
|
-
get: function () { return FVBHJFVE_cjs.getDeploymentBaseArgsSchema; }
|
|
296
|
-
});
|
|
297
|
-
Object.defineProperty(exports, "getVerificationBaseArgsSchema", {
|
|
298
|
-
enumerable: true,
|
|
299
|
-
get: function () { return FVBHJFVE_cjs.getVerificationBaseArgsSchema; }
|
|
300
|
-
});
|
|
301
|
-
Object.defineProperty(exports, "saveDeploymentBaseArgsSchema", {
|
|
302
|
-
enumerable: true,
|
|
303
|
-
get: function () { return FVBHJFVE_cjs.saveDeploymentBaseArgsSchema; }
|
|
304
|
-
});
|
|
305
|
-
Object.defineProperty(exports, "saveVerificationBaseArgsSchema", {
|
|
306
|
-
enumerable: true,
|
|
307
|
-
get: function () { return FVBHJFVE_cjs.saveVerificationBaseArgsSchema; }
|
|
308
|
-
});
|
|
309
|
-
Object.defineProperty(exports, "ArtifactType", {
|
|
310
|
-
enumerable: true,
|
|
311
|
-
get: function () { return NJ2LWIGZ_cjs.ArtifactType; }
|
|
312
|
-
});
|
|
313
|
-
Object.defineProperty(exports, "artifactWithTypeSchema", {
|
|
314
|
-
enumerable: true,
|
|
315
|
-
get: function () { return NJ2LWIGZ_cjs.artifactWithTypeSchema; }
|
|
316
|
-
});
|
|
317
|
-
Object.defineProperty(exports, "deploymentArtifactSchema", {
|
|
318
|
-
enumerable: true,
|
|
319
|
-
get: function () { return NJ2LWIGZ_cjs.deploymentArtifactSchema; }
|
|
320
|
-
});
|
|
321
|
-
Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
|
|
322
|
-
enumerable: true,
|
|
323
|
-
get: function () { return NJ2LWIGZ_cjs.fullDeploymentArtifactSchema; }
|
|
324
|
-
});
|
|
325
|
-
Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
|
|
326
|
-
enumerable: true,
|
|
327
|
-
get: function () { return NJ2LWIGZ_cjs.identityOnlyDeploymentArtifactSchema; }
|
|
328
|
-
});
|
|
329
|
-
Object.defineProperty(exports, "metadataArtifactSchema", {
|
|
330
|
-
enumerable: true,
|
|
331
|
-
get: function () { return NJ2LWIGZ_cjs.metadataArtifactSchema; }
|
|
332
|
-
});
|
|
333
|
-
Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
|
|
334
|
-
enumerable: true,
|
|
335
|
-
get: function () { return NJ2LWIGZ_cjs.solanaDeploymentArtifactExtraInfoSchema; }
|
|
336
|
-
});
|
|
337
|
-
Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
|
|
338
|
-
enumerable: true,
|
|
339
|
-
get: function () { return NJ2LWIGZ_cjs.suiDeploymentArtifactExtraInfoSchema; }
|
|
340
|
-
});
|
|
341
|
-
Object.defineProperty(exports, "verificationArtifactSchema", {
|
|
342
|
-
enumerable: true,
|
|
343
|
-
get: function () { return NJ2LWIGZ_cjs.verificationArtifactSchema; }
|
|
311
|
+
get: function () { return MR335VWI_cjs.extractVerificationArtifactBaseArgsSchema; }
|
|
344
312
|
});
|
|
345
313
|
Object.defineProperty(exports, "generateThrowCreateSetRoleTransactions", {
|
|
346
314
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -4,13 +4,13 @@ export { BaseContractRole } from './JSK5QSWJ.js';
|
|
|
4
4
|
import './N5VNZXZB.js';
|
|
5
5
|
export { wireWorkflowChainResultSchema, wireWorkflowChainStateSchema, wireWorkflowFilterArgsSchema, wireWorkflowOrchestratorResultSchema, wireWorkflowOrchestratorStateSchema } from './JRKJED2G.js';
|
|
6
6
|
import './CA6UC3D3.js';
|
|
7
|
-
export { artifactRegistryActivityFactorySchema, createMockArtifactRegistry, realIdSchema, resourceRefSchema, resourceRegistryActivityFactorySchema, upsertResourceRealIdArgsSchema } from './
|
|
7
|
+
export { artifactRegistryActivityFactorySchema, createMockArtifactRegistry, realIdSchema, resourceRefSchema, resourceRegistryActivityFactorySchema, upsertResourceRealIdArgsSchema } from './372UIOTW.js';
|
|
8
|
+
export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from './G43GXBX5.js';
|
|
8
9
|
export { createResourceBuilder } from './3GB3YEFM.js';
|
|
9
10
|
export { baseContractResourceSchema, baseMeshResourceSchema, baseResourceSchema, contractResourceReferenceSchema, contractResourceReferenceSchemaFor, createResolvedResourceSchema, extractContractResourceReferences, extractIdFromContractResourceReference, extractIdFromMeshResourceReference, extractMeshResourceReferences, meshResourceReferenceSchema, meshResourceReferenceSchemaFor, resolvedContractResourceReferenceSchema, resolvedMeshResourceReferenceSchema, withIntrinsicAddress } from './MHORRJPP.js';
|
|
10
11
|
import './ZCFXJFGI.js';
|
|
11
12
|
export { EvmProxyType, ProxyType, SEPARATE_PROXY_ADMIN_TYPES, TUP_PROXY_TYPES, UUPS_PROXY_TYPES, UpgradeType, assertUpgradability, codeUpgradeableConfigSchema, initializeDataResultSchema, isTupProxy, isUupsProxy, notUpgradeableConfigSchema, proxyConfigSchema, proxyTypeSchema, requiresSeparateProxyAdminDeploy, upgradeTypeSchema, upgradeableConfigSchema, weakAssertUpgradability } from './YAEJZ74R.js';
|
|
12
|
-
export {
|
|
13
|
-
export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from './MHBV7XHL.js';
|
|
13
|
+
export { deployWorkflowChainStateSchema, deployWorkflowOrchestratorStateSchema, extractVerificationArtifactBaseArgsSchema } from './GLPJHNSD.js';
|
|
14
14
|
export { generateThrowCreateSetRoleTransactions, generateThrowHasRole, generateThrowRoleManagement } from './45LWGDPP.js';
|
|
15
15
|
import './VUOMXK5T.js';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -20,7 +20,7 @@ export declare const generateThrowRoleManagement: () => {
|
|
|
20
20
|
properties?: Record<string, any> | undefined;
|
|
21
21
|
type?: string | undefined;
|
|
22
22
|
parallelizingKey?: string | undefined;
|
|
23
|
-
}, Promise<any>, [txes: any], import("@layerzerolabs/gated-transaction").GatedTransactionDependencies>[]>;
|
|
23
|
+
}, Promise<any>, [txes: any], import("@layerzerolabs/gated-transaction").GatedTransactionDependencies, import("@layerzerolabs/gated-transaction").GatedTransactionArtifacts>[]>;
|
|
24
24
|
hasRole: (args_0: {
|
|
25
25
|
address: import("@layerzerolabs/typescript-utils").NormalizedHexString;
|
|
26
26
|
}, args_1: {
|