@argent/x-shared 1.62.12 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/defiDecomposition.cjs +1 -0
  2. package/dist/defiDecomposition.d.ts +2 -0
  3. package/dist/defiDecomposition.js +65 -0
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +476 -475
  6. package/dist/src/account/account.model.cjs +1 -1
  7. package/dist/src/account/account.model.d.ts +11 -0
  8. package/dist/src/account/account.model.js +8 -4
  9. package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.cjs +1 -0
  10. package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.d.ts +6 -0
  11. package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.js +62 -0
  12. package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.cjs +1 -0
  13. package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.d.ts +4 -0
  14. package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.js +31 -0
  15. package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.cjs +1 -0
  16. package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.d.ts +4 -0
  17. package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.js +55 -0
  18. package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.cjs +1 -0
  19. package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.d.ts +4 -0
  20. package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.js +30 -0
  21. package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.cjs +1 -0
  22. package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.d.ts +4 -0
  23. package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.js +30 -0
  24. package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.cjs +1 -0
  25. package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.d.ts +4 -0
  26. package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.js +30 -0
  27. package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.cjs +1 -0
  28. package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.d.ts +3 -0
  29. package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.js +17 -0
  30. package/dist/src/features/defiDecomposition/helpers/getDefiProductName.cjs +1 -0
  31. package/dist/src/features/defiDecomposition/helpers/getDefiProductName.d.ts +1 -0
  32. package/dist/src/features/defiDecomposition/helpers/getDefiProductName.js +11 -0
  33. package/dist/src/features/defiDecomposition/helpers/index.d.ts +13 -0
  34. package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.cjs +1 -0
  35. package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.d.ts +7 -0
  36. package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.js +57 -0
  37. package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.cjs +1 -0
  38. package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.d.ts +4 -0
  39. package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.js +42 -0
  40. package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.cjs +1 -0
  41. package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.d.ts +4 -0
  42. package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.js +63 -0
  43. package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.cjs +1 -0
  44. package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.d.ts +4 -0
  45. package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.js +27 -0
  46. package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.cjs +1 -0
  47. package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.d.ts +4 -0
  48. package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.js +29 -0
  49. package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.cjs +1 -0
  50. package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.d.ts +4 -0
  51. package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.js +27 -0
  52. package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.cjs +1 -0
  53. package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.d.ts +9 -0
  54. package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.js +9 -0
  55. package/dist/src/features/defiDecomposition/index.d.ts +2 -0
  56. package/dist/src/features/defiDecomposition/schema.cjs +1 -0
  57. package/dist/src/features/defiDecomposition/schema.d.ts +16935 -0
  58. package/dist/src/features/defiDecomposition/schema.js +153 -0
  59. package/dist/src/features/paymaster/types.d.ts +20 -20
  60. package/dist/src/features/simulation/activity/schema.cjs +1 -1
  61. package/dist/src/features/simulation/activity/schema.d.ts +368 -356
  62. package/dist/src/features/simulation/activity/schema.js +20 -19
  63. package/dist/src/features/simulation/activity/utils/createNativeActivity.d.ts +8 -8
  64. package/dist/src/features/simulation/transactionReview/schema.d.ts +1484 -1484
  65. package/dist/src/features/swap/models/trade.model.d.ts +20 -0
  66. package/dist/src/staking/schema.d.ts +24 -24
  67. package/dist/src/tokens/service/types/backend.model.d.ts +8 -8
  68. package/dist/src/tokens/service/types/defiPosition.model.d.ts +576 -40
  69. package/dist/src/tokens/service/types/unclaimedRewards.model.d.ts +8 -8
  70. package/dist/src/tokens/service/types/webToken.model.cjs +1 -1
  71. package/dist/src/tokens/service/types/webToken.model.d.ts +36 -2
  72. package/dist/src/tokens/service/types/webToken.model.js +9 -7
  73. package/dist/src/transactions/equalTokens.cjs +1 -0
  74. package/dist/src/transactions/equalTokens.d.ts +2 -0
  75. package/dist/src/transactions/equalTokens.js +5 -0
  76. package/dist/src/transactions/errors.d.ts +4 -4
  77. package/dist/src/utils/starknet/starknet.d.ts +12 -12
  78. package/dist/src/utils/starknet/starknetSchemas.d.ts +212 -212
  79. package/package.json +6 -1
@@ -102,11 +102,11 @@ export declare const abiEntrySchema: z.ZodObject<{
102
102
  name: z.ZodString;
103
103
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
104
104
  }, "strip", z.ZodTypeAny, {
105
- name: string;
106
105
  type: string;
107
- }, {
108
106
  name: string;
107
+ }, {
109
108
  type: string;
109
+ name: string;
110
110
  }>;
111
111
  export declare const functionAbiTypeSchema: z.ZodNativeEnum<typeof FunctionAbiType>;
112
112
  export declare const functionAbiSchema: z.ZodObject<{
@@ -114,49 +114,49 @@ export declare const functionAbiSchema: z.ZodObject<{
114
114
  name: z.ZodString;
115
115
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
116
116
  }, "strip", z.ZodTypeAny, {
117
- name: string;
118
117
  type: string;
119
- }, {
120
118
  name: string;
119
+ }, {
121
120
  type: string;
121
+ name: string;
122
122
  }>, "many">;
123
123
  name: z.ZodString;
124
124
  outputs: z.ZodArray<z.ZodObject<{
125
125
  name: z.ZodString;
126
126
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
127
127
  }, "strip", z.ZodTypeAny, {
128
- name: string;
129
128
  type: string;
130
- }, {
131
129
  name: string;
130
+ }, {
132
131
  type: string;
132
+ name: string;
133
133
  }>, "many">;
134
134
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
135
135
  state_mutability: z.ZodOptional<z.ZodString>;
136
136
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
137
137
  }, "strip", z.ZodTypeAny, {
138
- name: string;
139
138
  type: FunctionAbiType;
139
+ name: string;
140
140
  inputs: {
141
- name: string;
142
141
  type: string;
142
+ name: string;
143
143
  }[];
144
144
  outputs: {
145
- name: string;
146
145
  type: string;
146
+ name: string;
147
147
  }[];
148
148
  stateMutability?: "view" | undefined;
149
149
  state_mutability?: string | undefined;
150
150
  }, {
151
- name: string;
152
151
  type: FunctionAbiType;
152
+ name: string;
153
153
  inputs: {
154
- name: string;
155
154
  type: string;
155
+ name: string;
156
156
  }[];
157
157
  outputs: {
158
- name: string;
159
158
  type: string;
159
+ name: string;
160
160
  }[];
161
161
  stateMutability?: "view" | undefined;
162
162
  state_mutability?: string | undefined;
@@ -166,12 +166,12 @@ export declare const eventEntrySchema: z.ZodObject<{
166
166
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
167
167
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
168
168
  }, "strip", z.ZodTypeAny, {
169
- name: string;
170
169
  type: string;
170
+ name: string;
171
171
  kind: "key" | "data";
172
172
  }, {
173
- name: string;
174
173
  type: string;
174
+ name: string;
175
175
  kind: "key" | "data";
176
176
  }>;
177
177
  export declare const legacyEventSchema: z.ZodObject<{
@@ -182,12 +182,12 @@ export declare const legacyEventSchema: z.ZodObject<{
182
182
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
183
183
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
184
184
  }, "strip", z.ZodTypeAny, {
185
- name: string;
186
185
  type: string;
186
+ name: string;
187
187
  kind: "key" | "data";
188
188
  }, {
189
- name: string;
190
189
  type: string;
190
+ name: string;
191
191
  kind: "key" | "data";
192
192
  }>, "many">;
193
193
  keys: z.ZodArray<z.ZodObject<{
@@ -195,38 +195,38 @@ export declare const legacyEventSchema: z.ZodObject<{
195
195
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
196
196
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
197
197
  }, "strip", z.ZodTypeAny, {
198
- name: string;
199
198
  type: string;
199
+ name: string;
200
200
  kind: "key" | "data";
201
201
  }, {
202
- name: string;
203
202
  type: string;
203
+ name: string;
204
204
  kind: "key" | "data";
205
205
  }>, "many">;
206
206
  }, "strip", z.ZodTypeAny, {
207
- name: string;
208
207
  keys: {
209
- name: string;
210
208
  type: string;
209
+ name: string;
211
210
  kind: "key" | "data";
212
211
  }[];
213
212
  type: "event";
213
+ name: string;
214
214
  data: {
215
- name: string;
216
215
  type: string;
216
+ name: string;
217
217
  kind: "key" | "data";
218
218
  }[];
219
219
  }, {
220
- name: string;
221
220
  keys: {
222
- name: string;
223
221
  type: string;
222
+ name: string;
224
223
  kind: "key" | "data";
225
224
  }[];
226
225
  type: "event";
226
+ name: string;
227
227
  data: {
228
- name: string;
229
228
  type: string;
229
+ name: string;
230
230
  kind: "key" | "data";
231
231
  }[];
232
232
  }>;
@@ -237,32 +237,32 @@ export declare const cairo1EventSchema: z.ZodObject<{
237
237
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
238
238
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
239
239
  }, "strip", z.ZodTypeAny, {
240
- name: string;
241
240
  type: string;
241
+ name: string;
242
242
  kind: "key" | "data";
243
243
  }, {
244
- name: string;
245
244
  type: string;
245
+ name: string;
246
246
  kind: "key" | "data";
247
247
  }>, "many">;
248
248
  kind: z.ZodLiteral<"struct">;
249
249
  type: z.ZodLiteral<"event">;
250
250
  }, "strip", z.ZodTypeAny, {
251
- name: string;
252
251
  type: "event";
252
+ name: string;
253
253
  kind: "struct";
254
254
  members: {
255
- name: string;
256
255
  type: string;
256
+ name: string;
257
257
  kind: "key" | "data";
258
258
  }[];
259
259
  }, {
260
- name: string;
261
260
  type: "event";
261
+ name: string;
262
262
  kind: "struct";
263
263
  members: {
264
- name: string;
265
264
  type: string;
265
+ name: string;
266
266
  kind: "key" | "data";
267
267
  }[];
268
268
  }>;
@@ -271,11 +271,11 @@ export declare const structAbiSchema: z.ZodObject<{
271
271
  name: z.ZodString;
272
272
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
273
273
  }, "strip", z.ZodTypeAny, {
274
- name: string;
275
274
  type: string;
276
- }, {
277
275
  name: string;
276
+ }, {
278
277
  type: string;
278
+ name: string;
279
279
  }>, z.ZodObject<{
280
280
  offset: z.ZodNumber;
281
281
  }, "strip", z.ZodTypeAny, {
@@ -287,21 +287,21 @@ export declare const structAbiSchema: z.ZodObject<{
287
287
  size: z.ZodNumber;
288
288
  type: z.ZodLiteral<"struct">;
289
289
  }, "strip", z.ZodTypeAny, {
290
- name: string;
291
290
  type: "struct";
291
+ name: string;
292
292
  members: ({
293
- name: string;
294
293
  type: string;
294
+ name: string;
295
295
  } & {
296
296
  offset: number;
297
297
  })[];
298
298
  size: number;
299
299
  }, {
300
- name: string;
301
300
  type: "struct";
301
+ name: string;
302
302
  members: ({
303
- name: string;
304
303
  type: string;
304
+ name: string;
305
305
  } & {
306
306
  offset: number;
307
307
  })[];
@@ -314,32 +314,32 @@ export declare const eventAbiSchema: z.ZodUnion<[z.ZodObject<{
314
314
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
315
315
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
316
316
  }, "strip", z.ZodTypeAny, {
317
- name: string;
318
317
  type: string;
318
+ name: string;
319
319
  kind: "key" | "data";
320
320
  }, {
321
- name: string;
322
321
  type: string;
322
+ name: string;
323
323
  kind: "key" | "data";
324
324
  }>, "many">;
325
325
  kind: z.ZodLiteral<"struct">;
326
326
  type: z.ZodLiteral<"event">;
327
327
  }, "strip", z.ZodTypeAny, {
328
- name: string;
329
328
  type: "event";
329
+ name: string;
330
330
  kind: "struct";
331
331
  members: {
332
- name: string;
333
332
  type: string;
333
+ name: string;
334
334
  kind: "key" | "data";
335
335
  }[];
336
336
  }, {
337
- name: string;
338
337
  type: "event";
338
+ name: string;
339
339
  kind: "struct";
340
340
  members: {
341
- name: string;
342
341
  type: string;
342
+ name: string;
343
343
  kind: "key" | "data";
344
344
  }[];
345
345
  }>, z.ZodObject<{
@@ -350,12 +350,12 @@ export declare const eventAbiSchema: z.ZodUnion<[z.ZodObject<{
350
350
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
351
351
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
352
352
  }, "strip", z.ZodTypeAny, {
353
- name: string;
354
353
  type: string;
354
+ name: string;
355
355
  kind: "key" | "data";
356
356
  }, {
357
- name: string;
358
357
  type: string;
358
+ name: string;
359
359
  kind: "key" | "data";
360
360
  }>, "many">;
361
361
  keys: z.ZodArray<z.ZodObject<{
@@ -363,38 +363,38 @@ export declare const eventAbiSchema: z.ZodUnion<[z.ZodObject<{
363
363
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
364
364
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
365
365
  }, "strip", z.ZodTypeAny, {
366
- name: string;
367
366
  type: string;
367
+ name: string;
368
368
  kind: "key" | "data";
369
369
  }, {
370
- name: string;
371
370
  type: string;
371
+ name: string;
372
372
  kind: "key" | "data";
373
373
  }>, "many">;
374
374
  }, "strip", z.ZodTypeAny, {
375
- name: string;
376
375
  keys: {
377
- name: string;
378
376
  type: string;
377
+ name: string;
379
378
  kind: "key" | "data";
380
379
  }[];
381
380
  type: "event";
381
+ name: string;
382
382
  data: {
383
- name: string;
384
383
  type: string;
384
+ name: string;
385
385
  kind: "key" | "data";
386
386
  }[];
387
387
  }, {
388
- name: string;
389
388
  keys: {
390
- name: string;
391
389
  type: string;
390
+ name: string;
392
391
  kind: "key" | "data";
393
392
  }[];
394
393
  type: "event";
394
+ name: string;
395
395
  data: {
396
- name: string;
397
396
  type: string;
397
+ name: string;
398
398
  kind: "key" | "data";
399
399
  }[];
400
400
  }>]>;
@@ -403,49 +403,49 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
403
403
  name: z.ZodString;
404
404
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
405
405
  }, "strip", z.ZodTypeAny, {
406
- name: string;
407
406
  type: string;
408
- }, {
409
407
  name: string;
408
+ }, {
410
409
  type: string;
410
+ name: string;
411
411
  }>, "many">;
412
412
  name: z.ZodString;
413
413
  outputs: z.ZodArray<z.ZodObject<{
414
414
  name: z.ZodString;
415
415
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
416
416
  }, "strip", z.ZodTypeAny, {
417
- name: string;
418
417
  type: string;
419
- }, {
420
418
  name: string;
419
+ }, {
421
420
  type: string;
421
+ name: string;
422
422
  }>, "many">;
423
423
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
424
424
  state_mutability: z.ZodOptional<z.ZodString>;
425
425
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
426
426
  }, "strip", z.ZodTypeAny, {
427
- name: string;
428
427
  type: FunctionAbiType;
428
+ name: string;
429
429
  inputs: {
430
- name: string;
431
430
  type: string;
431
+ name: string;
432
432
  }[];
433
433
  outputs: {
434
- name: string;
435
434
  type: string;
435
+ name: string;
436
436
  }[];
437
437
  stateMutability?: "view" | undefined;
438
438
  state_mutability?: string | undefined;
439
439
  }, {
440
- name: string;
441
440
  type: FunctionAbiType;
441
+ name: string;
442
442
  inputs: {
443
- name: string;
444
443
  type: string;
444
+ name: string;
445
445
  }[];
446
446
  outputs: {
447
- name: string;
448
447
  type: string;
448
+ name: string;
449
449
  }[];
450
450
  stateMutability?: "view" | undefined;
451
451
  state_mutability?: string | undefined;
@@ -456,32 +456,32 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
456
456
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
457
457
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
458
458
  }, "strip", z.ZodTypeAny, {
459
- name: string;
460
459
  type: string;
460
+ name: string;
461
461
  kind: "key" | "data";
462
462
  }, {
463
- name: string;
464
463
  type: string;
464
+ name: string;
465
465
  kind: "key" | "data";
466
466
  }>, "many">;
467
467
  kind: z.ZodLiteral<"struct">;
468
468
  type: z.ZodLiteral<"event">;
469
469
  }, "strip", z.ZodTypeAny, {
470
- name: string;
471
470
  type: "event";
471
+ name: string;
472
472
  kind: "struct";
473
473
  members: {
474
- name: string;
475
474
  type: string;
475
+ name: string;
476
476
  kind: "key" | "data";
477
477
  }[];
478
478
  }, {
479
- name: string;
480
479
  type: "event";
480
+ name: string;
481
481
  kind: "struct";
482
482
  members: {
483
- name: string;
484
483
  type: string;
484
+ name: string;
485
485
  kind: "key" | "data";
486
486
  }[];
487
487
  }>, z.ZodObject<{
@@ -492,12 +492,12 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
492
492
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
493
493
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
494
494
  }, "strip", z.ZodTypeAny, {
495
- name: string;
496
495
  type: string;
496
+ name: string;
497
497
  kind: "key" | "data";
498
498
  }, {
499
- name: string;
500
499
  type: string;
500
+ name: string;
501
501
  kind: "key" | "data";
502
502
  }>, "many">;
503
503
  keys: z.ZodArray<z.ZodObject<{
@@ -505,38 +505,38 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
505
505
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
506
506
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
507
507
  }, "strip", z.ZodTypeAny, {
508
- name: string;
509
508
  type: string;
509
+ name: string;
510
510
  kind: "key" | "data";
511
511
  }, {
512
- name: string;
513
512
  type: string;
513
+ name: string;
514
514
  kind: "key" | "data";
515
515
  }>, "many">;
516
516
  }, "strip", z.ZodTypeAny, {
517
- name: string;
518
517
  keys: {
519
- name: string;
520
518
  type: string;
519
+ name: string;
521
520
  kind: "key" | "data";
522
521
  }[];
523
522
  type: "event";
523
+ name: string;
524
524
  data: {
525
- name: string;
526
525
  type: string;
526
+ name: string;
527
527
  kind: "key" | "data";
528
528
  }[];
529
529
  }, {
530
- name: string;
531
530
  keys: {
532
- name: string;
533
531
  type: string;
532
+ name: string;
534
533
  kind: "key" | "data";
535
534
  }[];
536
535
  type: "event";
536
+ name: string;
537
537
  data: {
538
- name: string;
539
538
  type: string;
539
+ name: string;
540
540
  kind: "key" | "data";
541
541
  }[];
542
542
  }>]>, z.ZodObject<{
@@ -544,11 +544,11 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
544
544
  name: z.ZodString;
545
545
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
546
546
  }, "strip", z.ZodTypeAny, {
547
- name: string;
548
547
  type: string;
549
- }, {
550
548
  name: string;
549
+ }, {
551
550
  type: string;
551
+ name: string;
552
552
  }>, z.ZodObject<{
553
553
  offset: z.ZodNumber;
554
554
  }, "strip", z.ZodTypeAny, {
@@ -560,21 +560,21 @@ export declare const abiSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
560
560
  size: z.ZodNumber;
561
561
  type: z.ZodLiteral<"struct">;
562
562
  }, "strip", z.ZodTypeAny, {
563
- name: string;
564
563
  type: "struct";
564
+ name: string;
565
565
  members: ({
566
- name: string;
567
566
  type: string;
567
+ name: string;
568
568
  } & {
569
569
  offset: number;
570
570
  })[];
571
571
  size: number;
572
572
  }, {
573
- name: string;
574
573
  type: "struct";
574
+ name: string;
575
575
  members: ({
576
- name: string;
577
576
  type: string;
577
+ name: string;
578
578
  } & {
579
579
  offset: number;
580
580
  })[];
@@ -669,49 +669,49 @@ export declare const legacyContractClassSchema: z.ZodObject<{
669
669
  name: z.ZodString;
670
670
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
671
671
  }, "strip", z.ZodTypeAny, {
672
- name: string;
673
672
  type: string;
674
- }, {
675
673
  name: string;
674
+ }, {
676
675
  type: string;
676
+ name: string;
677
677
  }>, "many">;
678
678
  name: z.ZodString;
679
679
  outputs: z.ZodArray<z.ZodObject<{
680
680
  name: z.ZodString;
681
681
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
682
682
  }, "strip", z.ZodTypeAny, {
683
- name: string;
684
683
  type: string;
685
- }, {
686
684
  name: string;
685
+ }, {
687
686
  type: string;
687
+ name: string;
688
688
  }>, "many">;
689
689
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
690
690
  state_mutability: z.ZodOptional<z.ZodString>;
691
691
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
692
692
  }, "strip", z.ZodTypeAny, {
693
- name: string;
694
693
  type: FunctionAbiType;
694
+ name: string;
695
695
  inputs: {
696
- name: string;
697
696
  type: string;
697
+ name: string;
698
698
  }[];
699
699
  outputs: {
700
- name: string;
701
700
  type: string;
701
+ name: string;
702
702
  }[];
703
703
  stateMutability?: "view" | undefined;
704
704
  state_mutability?: string | undefined;
705
705
  }, {
706
- name: string;
707
706
  type: FunctionAbiType;
707
+ name: string;
708
708
  inputs: {
709
- name: string;
710
709
  type: string;
710
+ name: string;
711
711
  }[];
712
712
  outputs: {
713
- name: string;
714
713
  type: string;
714
+ name: string;
715
715
  }[];
716
716
  stateMutability?: "view" | undefined;
717
717
  state_mutability?: string | undefined;
@@ -722,32 +722,32 @@ export declare const legacyContractClassSchema: z.ZodObject<{
722
722
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
723
723
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
724
724
  }, "strip", z.ZodTypeAny, {
725
- name: string;
726
725
  type: string;
726
+ name: string;
727
727
  kind: "key" | "data";
728
728
  }, {
729
- name: string;
730
729
  type: string;
730
+ name: string;
731
731
  kind: "key" | "data";
732
732
  }>, "many">;
733
733
  kind: z.ZodLiteral<"struct">;
734
734
  type: z.ZodLiteral<"event">;
735
735
  }, "strip", z.ZodTypeAny, {
736
- name: string;
737
736
  type: "event";
737
+ name: string;
738
738
  kind: "struct";
739
739
  members: {
740
- name: string;
741
740
  type: string;
741
+ name: string;
742
742
  kind: "key" | "data";
743
743
  }[];
744
744
  }, {
745
- name: string;
746
745
  type: "event";
746
+ name: string;
747
747
  kind: "struct";
748
748
  members: {
749
- name: string;
750
749
  type: string;
750
+ name: string;
751
751
  kind: "key" | "data";
752
752
  }[];
753
753
  }>, z.ZodObject<{
@@ -758,12 +758,12 @@ export declare const legacyContractClassSchema: z.ZodObject<{
758
758
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
759
759
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
760
760
  }, "strip", z.ZodTypeAny, {
761
- name: string;
762
761
  type: string;
762
+ name: string;
763
763
  kind: "key" | "data";
764
764
  }, {
765
- name: string;
766
765
  type: string;
766
+ name: string;
767
767
  kind: "key" | "data";
768
768
  }>, "many">;
769
769
  keys: z.ZodArray<z.ZodObject<{
@@ -771,38 +771,38 @@ export declare const legacyContractClassSchema: z.ZodObject<{
771
771
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
772
772
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
773
773
  }, "strip", z.ZodTypeAny, {
774
- name: string;
775
774
  type: string;
775
+ name: string;
776
776
  kind: "key" | "data";
777
777
  }, {
778
- name: string;
779
778
  type: string;
779
+ name: string;
780
780
  kind: "key" | "data";
781
781
  }>, "many">;
782
782
  }, "strip", z.ZodTypeAny, {
783
- name: string;
784
783
  keys: {
785
- name: string;
786
784
  type: string;
785
+ name: string;
787
786
  kind: "key" | "data";
788
787
  }[];
789
788
  type: "event";
789
+ name: string;
790
790
  data: {
791
- name: string;
792
791
  type: string;
792
+ name: string;
793
793
  kind: "key" | "data";
794
794
  }[];
795
795
  }, {
796
- name: string;
797
796
  keys: {
798
- name: string;
799
797
  type: string;
798
+ name: string;
800
799
  kind: "key" | "data";
801
800
  }[];
802
801
  type: "event";
802
+ name: string;
803
803
  data: {
804
- name: string;
805
804
  type: string;
805
+ name: string;
806
806
  kind: "key" | "data";
807
807
  }[];
808
808
  }>]>, z.ZodObject<{
@@ -810,11 +810,11 @@ export declare const legacyContractClassSchema: z.ZodObject<{
810
810
  name: z.ZodString;
811
811
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
812
812
  }, "strip", z.ZodTypeAny, {
813
- name: string;
814
813
  type: string;
815
- }, {
816
814
  name: string;
815
+ }, {
817
816
  type: string;
817
+ name: string;
818
818
  }>, z.ZodObject<{
819
819
  offset: z.ZodNumber;
820
820
  }, "strip", z.ZodTypeAny, {
@@ -826,21 +826,21 @@ export declare const legacyContractClassSchema: z.ZodObject<{
826
826
  size: z.ZodNumber;
827
827
  type: z.ZodLiteral<"struct">;
828
828
  }, "strip", z.ZodTypeAny, {
829
- name: string;
830
829
  type: "struct";
830
+ name: string;
831
831
  members: ({
832
- name: string;
833
832
  type: string;
833
+ name: string;
834
834
  } & {
835
835
  offset: number;
836
836
  })[];
837
837
  size: number;
838
838
  }, {
839
- name: string;
840
839
  type: "struct";
840
+ name: string;
841
841
  members: ({
842
- name: string;
843
842
  type: string;
843
+ name: string;
844
844
  } & {
845
845
  offset: number;
846
846
  })[];
@@ -1054,49 +1054,49 @@ export declare const compiledSierraSchema: z.ZodObject<{
1054
1054
  name: z.ZodString;
1055
1055
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1056
1056
  }, "strip", z.ZodTypeAny, {
1057
- name: string;
1058
1057
  type: string;
1059
- }, {
1060
1058
  name: string;
1059
+ }, {
1061
1060
  type: string;
1061
+ name: string;
1062
1062
  }>, "many">;
1063
1063
  name: z.ZodString;
1064
1064
  outputs: z.ZodArray<z.ZodObject<{
1065
1065
  name: z.ZodString;
1066
1066
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1067
1067
  }, "strip", z.ZodTypeAny, {
1068
- name: string;
1069
1068
  type: string;
1070
- }, {
1071
1069
  name: string;
1070
+ }, {
1072
1071
  type: string;
1072
+ name: string;
1073
1073
  }>, "many">;
1074
1074
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
1075
1075
  state_mutability: z.ZodOptional<z.ZodString>;
1076
1076
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
1077
1077
  }, "strip", z.ZodTypeAny, {
1078
- name: string;
1079
1078
  type: FunctionAbiType;
1079
+ name: string;
1080
1080
  inputs: {
1081
- name: string;
1082
1081
  type: string;
1082
+ name: string;
1083
1083
  }[];
1084
1084
  outputs: {
1085
- name: string;
1086
1085
  type: string;
1086
+ name: string;
1087
1087
  }[];
1088
1088
  stateMutability?: "view" | undefined;
1089
1089
  state_mutability?: string | undefined;
1090
1090
  }, {
1091
- name: string;
1092
1091
  type: FunctionAbiType;
1092
+ name: string;
1093
1093
  inputs: {
1094
- name: string;
1095
1094
  type: string;
1095
+ name: string;
1096
1096
  }[];
1097
1097
  outputs: {
1098
- name: string;
1099
1098
  type: string;
1099
+ name: string;
1100
1100
  }[];
1101
1101
  stateMutability?: "view" | undefined;
1102
1102
  state_mutability?: string | undefined;
@@ -1107,32 +1107,32 @@ export declare const compiledSierraSchema: z.ZodObject<{
1107
1107
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1108
1108
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1109
1109
  }, "strip", z.ZodTypeAny, {
1110
- name: string;
1111
1110
  type: string;
1111
+ name: string;
1112
1112
  kind: "key" | "data";
1113
1113
  }, {
1114
- name: string;
1115
1114
  type: string;
1115
+ name: string;
1116
1116
  kind: "key" | "data";
1117
1117
  }>, "many">;
1118
1118
  kind: z.ZodLiteral<"struct">;
1119
1119
  type: z.ZodLiteral<"event">;
1120
1120
  }, "strip", z.ZodTypeAny, {
1121
- name: string;
1122
1121
  type: "event";
1122
+ name: string;
1123
1123
  kind: "struct";
1124
1124
  members: {
1125
- name: string;
1126
1125
  type: string;
1126
+ name: string;
1127
1127
  kind: "key" | "data";
1128
1128
  }[];
1129
1129
  }, {
1130
- name: string;
1131
1130
  type: "event";
1131
+ name: string;
1132
1132
  kind: "struct";
1133
1133
  members: {
1134
- name: string;
1135
1134
  type: string;
1135
+ name: string;
1136
1136
  kind: "key" | "data";
1137
1137
  }[];
1138
1138
  }>, z.ZodObject<{
@@ -1143,12 +1143,12 @@ export declare const compiledSierraSchema: z.ZodObject<{
1143
1143
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1144
1144
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1145
1145
  }, "strip", z.ZodTypeAny, {
1146
- name: string;
1147
1146
  type: string;
1147
+ name: string;
1148
1148
  kind: "key" | "data";
1149
1149
  }, {
1150
- name: string;
1151
1150
  type: string;
1151
+ name: string;
1152
1152
  kind: "key" | "data";
1153
1153
  }>, "many">;
1154
1154
  keys: z.ZodArray<z.ZodObject<{
@@ -1156,38 +1156,38 @@ export declare const compiledSierraSchema: z.ZodObject<{
1156
1156
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1157
1157
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
- name: string;
1160
1159
  type: string;
1160
+ name: string;
1161
1161
  kind: "key" | "data";
1162
1162
  }, {
1163
- name: string;
1164
1163
  type: string;
1164
+ name: string;
1165
1165
  kind: "key" | "data";
1166
1166
  }>, "many">;
1167
1167
  }, "strip", z.ZodTypeAny, {
1168
- name: string;
1169
1168
  keys: {
1170
- name: string;
1171
1169
  type: string;
1170
+ name: string;
1172
1171
  kind: "key" | "data";
1173
1172
  }[];
1174
1173
  type: "event";
1174
+ name: string;
1175
1175
  data: {
1176
- name: string;
1177
1176
  type: string;
1177
+ name: string;
1178
1178
  kind: "key" | "data";
1179
1179
  }[];
1180
1180
  }, {
1181
- name: string;
1182
1181
  keys: {
1183
- name: string;
1184
1182
  type: string;
1183
+ name: string;
1185
1184
  kind: "key" | "data";
1186
1185
  }[];
1187
1186
  type: "event";
1187
+ name: string;
1188
1188
  data: {
1189
- name: string;
1190
1189
  type: string;
1190
+ name: string;
1191
1191
  kind: "key" | "data";
1192
1192
  }[];
1193
1193
  }>]>, z.ZodObject<{
@@ -1195,11 +1195,11 @@ export declare const compiledSierraSchema: z.ZodObject<{
1195
1195
  name: z.ZodString;
1196
1196
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1197
1197
  }, "strip", z.ZodTypeAny, {
1198
- name: string;
1199
1198
  type: string;
1200
- }, {
1201
1199
  name: string;
1200
+ }, {
1202
1201
  type: string;
1202
+ name: string;
1203
1203
  }>, z.ZodObject<{
1204
1204
  offset: z.ZodNumber;
1205
1205
  }, "strip", z.ZodTypeAny, {
@@ -1211,21 +1211,21 @@ export declare const compiledSierraSchema: z.ZodObject<{
1211
1211
  size: z.ZodNumber;
1212
1212
  type: z.ZodLiteral<"struct">;
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
- name: string;
1215
1214
  type: "struct";
1215
+ name: string;
1216
1216
  members: ({
1217
- name: string;
1218
1217
  type: string;
1218
+ name: string;
1219
1219
  } & {
1220
1220
  offset: number;
1221
1221
  })[];
1222
1222
  size: number;
1223
1223
  }, {
1224
- name: string;
1225
1224
  type: "struct";
1225
+ name: string;
1226
1226
  members: ({
1227
- name: string;
1228
1227
  type: string;
1228
+ name: string;
1229
1229
  } & {
1230
1230
  offset: number;
1231
1231
  })[];
@@ -1620,49 +1620,49 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1620
1620
  name: z.ZodString;
1621
1621
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1622
1622
  }, "strip", z.ZodTypeAny, {
1623
- name: string;
1624
1623
  type: string;
1625
- }, {
1626
1624
  name: string;
1625
+ }, {
1627
1626
  type: string;
1627
+ name: string;
1628
1628
  }>, "many">;
1629
1629
  name: z.ZodString;
1630
1630
  outputs: z.ZodArray<z.ZodObject<{
1631
1631
  name: z.ZodString;
1632
1632
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1633
1633
  }, "strip", z.ZodTypeAny, {
1634
- name: string;
1635
1634
  type: string;
1636
- }, {
1637
1635
  name: string;
1636
+ }, {
1638
1637
  type: string;
1638
+ name: string;
1639
1639
  }>, "many">;
1640
1640
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
1641
1641
  state_mutability: z.ZodOptional<z.ZodString>;
1642
1642
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
1643
1643
  }, "strip", z.ZodTypeAny, {
1644
- name: string;
1645
1644
  type: FunctionAbiType;
1645
+ name: string;
1646
1646
  inputs: {
1647
- name: string;
1648
1647
  type: string;
1648
+ name: string;
1649
1649
  }[];
1650
1650
  outputs: {
1651
- name: string;
1652
1651
  type: string;
1652
+ name: string;
1653
1653
  }[];
1654
1654
  stateMutability?: "view" | undefined;
1655
1655
  state_mutability?: string | undefined;
1656
1656
  }, {
1657
- name: string;
1658
1657
  type: FunctionAbiType;
1658
+ name: string;
1659
1659
  inputs: {
1660
- name: string;
1661
1660
  type: string;
1661
+ name: string;
1662
1662
  }[];
1663
1663
  outputs: {
1664
- name: string;
1665
1664
  type: string;
1665
+ name: string;
1666
1666
  }[];
1667
1667
  stateMutability?: "view" | undefined;
1668
1668
  state_mutability?: string | undefined;
@@ -1673,32 +1673,32 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1673
1673
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1674
1674
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1675
1675
  }, "strip", z.ZodTypeAny, {
1676
- name: string;
1677
1676
  type: string;
1677
+ name: string;
1678
1678
  kind: "key" | "data";
1679
1679
  }, {
1680
- name: string;
1681
1680
  type: string;
1681
+ name: string;
1682
1682
  kind: "key" | "data";
1683
1683
  }>, "many">;
1684
1684
  kind: z.ZodLiteral<"struct">;
1685
1685
  type: z.ZodLiteral<"event">;
1686
1686
  }, "strip", z.ZodTypeAny, {
1687
- name: string;
1688
1687
  type: "event";
1688
+ name: string;
1689
1689
  kind: "struct";
1690
1690
  members: {
1691
- name: string;
1692
1691
  type: string;
1692
+ name: string;
1693
1693
  kind: "key" | "data";
1694
1694
  }[];
1695
1695
  }, {
1696
- name: string;
1697
1696
  type: "event";
1697
+ name: string;
1698
1698
  kind: "struct";
1699
1699
  members: {
1700
- name: string;
1701
1700
  type: string;
1701
+ name: string;
1702
1702
  kind: "key" | "data";
1703
1703
  }[];
1704
1704
  }>, z.ZodObject<{
@@ -1709,12 +1709,12 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1709
1709
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1710
1710
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1711
1711
  }, "strip", z.ZodTypeAny, {
1712
- name: string;
1713
1712
  type: string;
1713
+ name: string;
1714
1714
  kind: "key" | "data";
1715
1715
  }, {
1716
- name: string;
1717
1716
  type: string;
1717
+ name: string;
1718
1718
  kind: "key" | "data";
1719
1719
  }>, "many">;
1720
1720
  keys: z.ZodArray<z.ZodObject<{
@@ -1722,38 +1722,38 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1722
1722
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1723
1723
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1724
1724
  }, "strip", z.ZodTypeAny, {
1725
- name: string;
1726
1725
  type: string;
1726
+ name: string;
1727
1727
  kind: "key" | "data";
1728
1728
  }, {
1729
- name: string;
1730
1729
  type: string;
1730
+ name: string;
1731
1731
  kind: "key" | "data";
1732
1732
  }>, "many">;
1733
1733
  }, "strip", z.ZodTypeAny, {
1734
- name: string;
1735
1734
  keys: {
1736
- name: string;
1737
1735
  type: string;
1736
+ name: string;
1738
1737
  kind: "key" | "data";
1739
1738
  }[];
1740
1739
  type: "event";
1740
+ name: string;
1741
1741
  data: {
1742
- name: string;
1743
1742
  type: string;
1743
+ name: string;
1744
1744
  kind: "key" | "data";
1745
1745
  }[];
1746
1746
  }, {
1747
- name: string;
1748
1747
  keys: {
1749
- name: string;
1750
1748
  type: string;
1749
+ name: string;
1751
1750
  kind: "key" | "data";
1752
1751
  }[];
1753
1752
  type: "event";
1753
+ name: string;
1754
1754
  data: {
1755
- name: string;
1756
1755
  type: string;
1756
+ name: string;
1757
1757
  kind: "key" | "data";
1758
1758
  }[];
1759
1759
  }>]>, z.ZodObject<{
@@ -1761,11 +1761,11 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1761
1761
  name: z.ZodString;
1762
1762
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1763
1763
  }, "strip", z.ZodTypeAny, {
1764
- name: string;
1765
1764
  type: string;
1766
- }, {
1767
1765
  name: string;
1766
+ }, {
1768
1767
  type: string;
1768
+ name: string;
1769
1769
  }>, z.ZodObject<{
1770
1770
  offset: z.ZodNumber;
1771
1771
  }, "strip", z.ZodTypeAny, {
@@ -1777,21 +1777,21 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1777
1777
  size: z.ZodNumber;
1778
1778
  type: z.ZodLiteral<"struct">;
1779
1779
  }, "strip", z.ZodTypeAny, {
1780
- name: string;
1781
1780
  type: "struct";
1781
+ name: string;
1782
1782
  members: ({
1783
- name: string;
1784
1783
  type: string;
1784
+ name: string;
1785
1785
  } & {
1786
1786
  offset: number;
1787
1787
  })[];
1788
1788
  size: number;
1789
1789
  }, {
1790
- name: string;
1791
1790
  type: "struct";
1791
+ name: string;
1792
1792
  members: ({
1793
- name: string;
1794
1793
  type: string;
1794
+ name: string;
1795
1795
  } & {
1796
1796
  offset: number;
1797
1797
  })[];
@@ -1922,49 +1922,49 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1922
1922
  name: z.ZodString;
1923
1923
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1924
1924
  }, "strip", z.ZodTypeAny, {
1925
- name: string;
1926
1925
  type: string;
1927
- }, {
1928
1926
  name: string;
1927
+ }, {
1929
1928
  type: string;
1929
+ name: string;
1930
1930
  }>, "many">;
1931
1931
  name: z.ZodString;
1932
1932
  outputs: z.ZodArray<z.ZodObject<{
1933
1933
  name: z.ZodString;
1934
1934
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1935
1935
  }, "strip", z.ZodTypeAny, {
1936
- name: string;
1937
1936
  type: string;
1938
- }, {
1939
1937
  name: string;
1938
+ }, {
1940
1939
  type: string;
1940
+ name: string;
1941
1941
  }>, "many">;
1942
1942
  stateMutability: z.ZodOptional<z.ZodLiteral<"view">>;
1943
1943
  state_mutability: z.ZodOptional<z.ZodString>;
1944
1944
  type: z.ZodNativeEnum<typeof FunctionAbiType>;
1945
1945
  }, "strip", z.ZodTypeAny, {
1946
- name: string;
1947
1946
  type: FunctionAbiType;
1947
+ name: string;
1948
1948
  inputs: {
1949
- name: string;
1950
1949
  type: string;
1950
+ name: string;
1951
1951
  }[];
1952
1952
  outputs: {
1953
- name: string;
1954
1953
  type: string;
1954
+ name: string;
1955
1955
  }[];
1956
1956
  stateMutability?: "view" | undefined;
1957
1957
  state_mutability?: string | undefined;
1958
1958
  }, {
1959
- name: string;
1960
1959
  type: FunctionAbiType;
1960
+ name: string;
1961
1961
  inputs: {
1962
- name: string;
1963
1962
  type: string;
1963
+ name: string;
1964
1964
  }[];
1965
1965
  outputs: {
1966
- name: string;
1967
1966
  type: string;
1967
+ name: string;
1968
1968
  }[];
1969
1969
  stateMutability?: "view" | undefined;
1970
1970
  state_mutability?: string | undefined;
@@ -1975,32 +1975,32 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
1975
1975
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
1976
1976
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
1977
1977
  }, "strip", z.ZodTypeAny, {
1978
- name: string;
1979
1978
  type: string;
1979
+ name: string;
1980
1980
  kind: "key" | "data";
1981
1981
  }, {
1982
- name: string;
1983
1982
  type: string;
1983
+ name: string;
1984
1984
  kind: "key" | "data";
1985
1985
  }>, "many">;
1986
1986
  kind: z.ZodLiteral<"struct">;
1987
1987
  type: z.ZodLiteral<"event">;
1988
1988
  }, "strip", z.ZodTypeAny, {
1989
- name: string;
1990
1989
  type: "event";
1990
+ name: string;
1991
1991
  kind: "struct";
1992
1992
  members: {
1993
- name: string;
1994
1993
  type: string;
1994
+ name: string;
1995
1995
  kind: "key" | "data";
1996
1996
  }[];
1997
1997
  }, {
1998
- name: string;
1999
1998
  type: "event";
1999
+ name: string;
2000
2000
  kind: "struct";
2001
2001
  members: {
2002
- name: string;
2003
2002
  type: string;
2003
+ name: string;
2004
2004
  kind: "key" | "data";
2005
2005
  }[];
2006
2006
  }>, z.ZodObject<{
@@ -2011,12 +2011,12 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
2011
2011
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
2012
2012
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
2013
2013
  }, "strip", z.ZodTypeAny, {
2014
- name: string;
2015
2014
  type: string;
2015
+ name: string;
2016
2016
  kind: "key" | "data";
2017
2017
  }, {
2018
- name: string;
2019
2018
  type: string;
2019
+ name: string;
2020
2020
  kind: "key" | "data";
2021
2021
  }>, "many">;
2022
2022
  keys: z.ZodArray<z.ZodObject<{
@@ -2024,38 +2024,38 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
2024
2024
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
2025
2025
  kind: z.ZodUnion<[z.ZodLiteral<"key">, z.ZodLiteral<"data">]>;
2026
2026
  }, "strip", z.ZodTypeAny, {
2027
- name: string;
2028
2027
  type: string;
2028
+ name: string;
2029
2029
  kind: "key" | "data";
2030
2030
  }, {
2031
- name: string;
2032
2031
  type: string;
2032
+ name: string;
2033
2033
  kind: "key" | "data";
2034
2034
  }>, "many">;
2035
2035
  }, "strip", z.ZodTypeAny, {
2036
- name: string;
2037
2036
  keys: {
2038
- name: string;
2039
2037
  type: string;
2038
+ name: string;
2040
2039
  kind: "key" | "data";
2041
2040
  }[];
2042
2041
  type: "event";
2042
+ name: string;
2043
2043
  data: {
2044
- name: string;
2045
2044
  type: string;
2045
+ name: string;
2046
2046
  kind: "key" | "data";
2047
2047
  }[];
2048
2048
  }, {
2049
- name: string;
2050
2049
  keys: {
2051
- name: string;
2052
2050
  type: string;
2051
+ name: string;
2053
2052
  kind: "key" | "data";
2054
2053
  }[];
2055
2054
  type: "event";
2055
+ name: string;
2056
2056
  data: {
2057
- name: string;
2058
2057
  type: string;
2058
+ name: string;
2059
2059
  kind: "key" | "data";
2060
2060
  }[];
2061
2061
  }>]>, z.ZodObject<{
@@ -2063,11 +2063,11 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
2063
2063
  name: z.ZodString;
2064
2064
  type: z.ZodUnion<[z.ZodLiteral<"felt">, z.ZodLiteral<"felt*">, z.ZodString]>;
2065
2065
  }, "strip", z.ZodTypeAny, {
2066
- name: string;
2067
2066
  type: string;
2068
- }, {
2069
2067
  name: string;
2068
+ }, {
2070
2069
  type: string;
2070
+ name: string;
2071
2071
  }>, z.ZodObject<{
2072
2072
  offset: z.ZodNumber;
2073
2073
  }, "strip", z.ZodTypeAny, {
@@ -2079,21 +2079,21 @@ export declare const compiledContractClassSchema: z.ZodUnion<[z.ZodObject<{
2079
2079
  size: z.ZodNumber;
2080
2080
  type: z.ZodLiteral<"struct">;
2081
2081
  }, "strip", z.ZodTypeAny, {
2082
- name: string;
2083
2082
  type: "struct";
2083
+ name: string;
2084
2084
  members: ({
2085
- name: string;
2086
2085
  type: string;
2086
+ name: string;
2087
2087
  } & {
2088
2088
  offset: number;
2089
2089
  })[];
2090
2090
  size: number;
2091
2091
  }, {
2092
- name: string;
2093
2092
  type: "struct";
2093
+ name: string;
2094
2094
  members: ({
2095
- name: string;
2096
2095
  type: string;
2096
+ name: string;
2097
2097
  } & {
2098
2098
  offset: number;
2099
2099
  })[];