@argent/x-shared 1.72.2 → 1.73.1

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