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