@1shotapi/client-sdk 1.0.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 (86) hide show
  1. package/README.md +162 -0
  2. package/dist/categories/chains.d.ts +21 -0
  3. package/dist/categories/chains.js +44 -0
  4. package/dist/categories/chains.js.map +1 -0
  5. package/dist/categories/contractEvents.d.ts +103 -0
  6. package/dist/categories/contractEvents.js +115 -0
  7. package/dist/categories/contractEvents.js.map +1 -0
  8. package/dist/categories/contractMethods.d.ts +377 -0
  9. package/dist/categories/contractMethods.js +317 -0
  10. package/dist/categories/contractMethods.js.map +1 -0
  11. package/dist/categories/structs.d.ts +40 -0
  12. package/dist/categories/structs.js +68 -0
  13. package/dist/categories/structs.js.map +1 -0
  14. package/dist/categories/transactions.d.ts +31 -0
  15. package/dist/categories/transactions.js +51 -0
  16. package/dist/categories/transactions.js.map +1 -0
  17. package/dist/categories/wallets.d.ts +167 -0
  18. package/dist/categories/wallets.js +238 -0
  19. package/dist/categories/wallets.js.map +1 -0
  20. package/dist/client.d.ts +22 -0
  21. package/dist/client.js +61 -0
  22. package/dist/client.js.map +1 -0
  23. package/dist/index.d.ts +17 -0
  24. package/dist/index.js +22 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/types/abi.d.ts +32 -0
  27. package/dist/types/abi.js +2 -0
  28. package/dist/types/abi.js.map +1 -0
  29. package/dist/types/chain.d.ts +26 -0
  30. package/dist/types/chain.js +2 -0
  31. package/dist/types/chain.js.map +1 -0
  32. package/dist/types/client.d.ts +13 -0
  33. package/dist/types/client.js +2 -0
  34. package/dist/types/client.js.map +1 -0
  35. package/dist/types/common.d.ts +8 -0
  36. package/dist/types/common.js +2 -0
  37. package/dist/types/common.js.map +1 -0
  38. package/dist/types/contract.d.ts +5 -0
  39. package/dist/types/contract.js +2 -0
  40. package/dist/types/contract.js.map +1 -0
  41. package/dist/types/contractEvent.d.ts +46 -0
  42. package/dist/types/contractEvent.js +2 -0
  43. package/dist/types/contractEvent.js.map +1 -0
  44. package/dist/types/contractMethod.d.ts +31 -0
  45. package/dist/types/contractMethod.js +2 -0
  46. package/dist/types/contractMethod.js.map +1 -0
  47. package/dist/types/struct.d.ts +8 -0
  48. package/dist/types/struct.js +2 -0
  49. package/dist/types/struct.js.map +1 -0
  50. package/dist/types/transaction.d.ts +12 -0
  51. package/dist/types/transaction.js +2 -0
  52. package/dist/types/transaction.js.map +1 -0
  53. package/dist/types/wallet.d.ts +30 -0
  54. package/dist/types/wallet.js +2 -0
  55. package/dist/types/wallet.js.map +1 -0
  56. package/dist/types.d.ts +11 -0
  57. package/dist/types.js +2 -0
  58. package/dist/types.js.map +1 -0
  59. package/dist/utils/webhook.d.ts +19 -0
  60. package/dist/utils/webhook.js +66 -0
  61. package/dist/utils/webhook.js.map +1 -0
  62. package/dist/validation/abi.d.ts +470 -0
  63. package/dist/validation/abi.js +99 -0
  64. package/dist/validation/abi.js.map +1 -0
  65. package/dist/validation/chain.d.ts +157 -0
  66. package/dist/validation/chain.js +71 -0
  67. package/dist/validation/chain.js.map +1 -0
  68. package/dist/validation/common.d.ts +17 -0
  69. package/dist/validation/common.js +16 -0
  70. package/dist/validation/common.js.map +1 -0
  71. package/dist/validation/contractEvent.d.ts +323 -0
  72. package/dist/validation/contractEvent.js +148 -0
  73. package/dist/validation/contractEvent.js.map +1 -0
  74. package/dist/validation/contractMethod.d.ts +2746 -0
  75. package/dist/validation/contractMethod.js +787 -0
  76. package/dist/validation/contractMethod.js.map +1 -0
  77. package/dist/validation/struct.d.ts +495 -0
  78. package/dist/validation/struct.js +291 -0
  79. package/dist/validation/struct.js.map +1 -0
  80. package/dist/validation/transaction.d.ts +359 -0
  81. package/dist/validation/transaction.js +206 -0
  82. package/dist/validation/transaction.js.map +1 -0
  83. package/dist/validation/wallet.d.ts +537 -0
  84. package/dist/validation/wallet.js +287 -0
  85. package/dist/validation/wallet.js.map +1 -0
  86. package/package.json +71 -0
@@ -0,0 +1,2746 @@
1
+ import { z } from "zod";
2
+ export declare const contractMethodStateMutabilitySchema: z.ZodEnum<["nonpayable", "payable", "view", "pure"]>;
3
+ export declare const contractMethodStatusSchema: z.ZodEnum<["live", "archived", "both"]>;
4
+ /**
5
+ * Schema for contractMethod parameters. This is a recursive schema that can handle nested objects and arrays.
6
+ */
7
+ export declare const contractMethodParamsSchema: z.ZodType<{
8
+ [key: string]: string | number | boolean | null | undefined | {
9
+ [key: string]: any;
10
+ } | Array<any>;
11
+ }>;
12
+ export declare const contractMethodEstimateSchema: z.ZodObject<{
13
+ chainId: z.ZodNumber;
14
+ contractAddress: z.ZodString;
15
+ functionName: z.ZodString;
16
+ gasAmount: z.ZodString;
17
+ maxFeePerGas: z.ZodNullable<z.ZodString>;
18
+ maxPriorityFeePerGas: z.ZodNullable<z.ZodString>;
19
+ gasPrice: z.ZodNullable<z.ZodString>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ gasPrice: string | null;
22
+ maxFeePerGas: string | null;
23
+ maxPriorityFeePerGas: string | null;
24
+ chainId: number;
25
+ contractAddress: string;
26
+ functionName: string;
27
+ gasAmount: string;
28
+ }, {
29
+ gasPrice: string | null;
30
+ maxFeePerGas: string | null;
31
+ maxPriorityFeePerGas: string | null;
32
+ chainId: number;
33
+ contractAddress: string;
34
+ functionName: string;
35
+ gasAmount: string;
36
+ }>;
37
+ export declare const contractMethodUpdateSchema: z.ZodObject<{
38
+ chainId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
39
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
40
+ walletId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
41
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
42
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
+ functionName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ stateMutability: z.ZodNullable<z.ZodOptional<z.ZodEnum<["nonpayable", "payable", "view", "pure"]>>>;
45
+ callbackUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ name?: string | null | undefined;
48
+ chainId?: number | null | undefined;
49
+ contractAddress?: string | null | undefined;
50
+ description?: string | null | undefined;
51
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
52
+ functionName?: string | null | undefined;
53
+ walletId?: string | null | undefined;
54
+ callbackUrl?: string | null | undefined;
55
+ }, {
56
+ name?: string | null | undefined;
57
+ chainId?: number | null | undefined;
58
+ contractAddress?: string | null | undefined;
59
+ description?: string | null | undefined;
60
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
61
+ functionName?: string | null | undefined;
62
+ walletId?: string | null | undefined;
63
+ callbackUrl?: string | null | undefined;
64
+ }>;
65
+ export declare const contractMethodSchema: z.ZodObject<{
66
+ id: z.ZodString;
67
+ businessId: z.ZodString;
68
+ chainId: z.ZodNumber;
69
+ contractAddress: z.ZodString;
70
+ walletId: z.ZodString;
71
+ name: z.ZodString;
72
+ description: z.ZodString;
73
+ functionName: z.ZodString;
74
+ inputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
75
+ name: z.ZodString;
76
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
77
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
78
+ index: z.ZodNumber;
79
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
80
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
81
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
82
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
83
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
84
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
85
+ } & {
86
+ id: z.ZodString;
87
+ structId: z.ZodString;
88
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
91
+ name: string;
92
+ id: string;
93
+ index: number;
94
+ structId: string;
95
+ value?: string | null | undefined;
96
+ description?: string | null | undefined;
97
+ typeSize?: number | null | undefined;
98
+ typeSize2?: number | null | undefined;
99
+ isArray?: boolean | null | undefined;
100
+ arraySize?: number | null | undefined;
101
+ typeStructId?: string | null | undefined;
102
+ typeStruct?: any;
103
+ }, {
104
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
105
+ name: string;
106
+ id: string;
107
+ index: number;
108
+ structId: string;
109
+ value?: string | null | undefined;
110
+ description?: string | null | undefined;
111
+ typeSize?: number | null | undefined;
112
+ typeSize2?: number | null | undefined;
113
+ isArray?: boolean | null | undefined;
114
+ arraySize?: number | null | undefined;
115
+ typeStructId?: string | null | undefined;
116
+ typeStruct?: any;
117
+ }>, {
118
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
119
+ name: string;
120
+ id: string;
121
+ index: number;
122
+ structId: string;
123
+ value?: string | null | undefined;
124
+ description?: string | null | undefined;
125
+ typeSize?: number | null | undefined;
126
+ typeSize2?: number | null | undefined;
127
+ isArray?: boolean | null | undefined;
128
+ arraySize?: number | null | undefined;
129
+ typeStructId?: string | null | undefined;
130
+ typeStruct?: any;
131
+ }, {
132
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
133
+ name: string;
134
+ id: string;
135
+ index: number;
136
+ structId: string;
137
+ value?: string | null | undefined;
138
+ description?: string | null | undefined;
139
+ typeSize?: number | null | undefined;
140
+ typeSize2?: number | null | undefined;
141
+ isArray?: boolean | null | undefined;
142
+ arraySize?: number | null | undefined;
143
+ typeStructId?: string | null | undefined;
144
+ typeStruct?: any;
145
+ }>, {
146
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
147
+ name: string;
148
+ id: string;
149
+ index: number;
150
+ structId: string;
151
+ value?: string | null | undefined;
152
+ description?: string | null | undefined;
153
+ typeSize?: number | null | undefined;
154
+ typeSize2?: number | null | undefined;
155
+ isArray?: boolean | null | undefined;
156
+ arraySize?: number | null | undefined;
157
+ typeStructId?: string | null | undefined;
158
+ typeStruct?: any;
159
+ }, {
160
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
161
+ name: string;
162
+ id: string;
163
+ index: number;
164
+ structId: string;
165
+ value?: string | null | undefined;
166
+ description?: string | null | undefined;
167
+ typeSize?: number | null | undefined;
168
+ typeSize2?: number | null | undefined;
169
+ isArray?: boolean | null | undefined;
170
+ arraySize?: number | null | undefined;
171
+ typeStructId?: string | null | undefined;
172
+ typeStruct?: any;
173
+ }>, {
174
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
175
+ name: string;
176
+ id: string;
177
+ index: number;
178
+ structId: string;
179
+ value?: string | null | undefined;
180
+ description?: string | null | undefined;
181
+ typeSize?: number | null | undefined;
182
+ typeSize2?: number | null | undefined;
183
+ isArray?: boolean | null | undefined;
184
+ arraySize?: number | null | undefined;
185
+ typeStructId?: string | null | undefined;
186
+ typeStruct?: any;
187
+ }, {
188
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
189
+ name: string;
190
+ id: string;
191
+ index: number;
192
+ structId: string;
193
+ value?: string | null | undefined;
194
+ description?: string | null | undefined;
195
+ typeSize?: number | null | undefined;
196
+ typeSize2?: number | null | undefined;
197
+ isArray?: boolean | null | undefined;
198
+ arraySize?: number | null | undefined;
199
+ typeStructId?: string | null | undefined;
200
+ typeStruct?: any;
201
+ }>, {
202
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
203
+ name: string;
204
+ id: string;
205
+ index: number;
206
+ structId: string;
207
+ value?: string | null | undefined;
208
+ description?: string | null | undefined;
209
+ typeSize?: number | null | undefined;
210
+ typeSize2?: number | null | undefined;
211
+ isArray?: boolean | null | undefined;
212
+ arraySize?: number | null | undefined;
213
+ typeStructId?: string | null | undefined;
214
+ typeStruct?: any;
215
+ }, {
216
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
217
+ name: string;
218
+ id: string;
219
+ index: number;
220
+ structId: string;
221
+ value?: string | null | undefined;
222
+ description?: string | null | undefined;
223
+ typeSize?: number | null | undefined;
224
+ typeSize2?: number | null | undefined;
225
+ isArray?: boolean | null | undefined;
226
+ arraySize?: number | null | undefined;
227
+ typeStructId?: string | null | undefined;
228
+ typeStruct?: any;
229
+ }>, "many">;
230
+ outputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
231
+ name: z.ZodString;
232
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
233
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
234
+ index: z.ZodNumber;
235
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
236
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
237
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
238
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
239
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
240
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
241
+ } & {
242
+ id: z.ZodString;
243
+ structId: z.ZodString;
244
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
247
+ name: string;
248
+ id: string;
249
+ index: number;
250
+ structId: string;
251
+ value?: string | null | undefined;
252
+ description?: string | null | undefined;
253
+ typeSize?: number | null | undefined;
254
+ typeSize2?: number | null | undefined;
255
+ isArray?: boolean | null | undefined;
256
+ arraySize?: number | null | undefined;
257
+ typeStructId?: string | null | undefined;
258
+ typeStruct?: any;
259
+ }, {
260
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
261
+ name: string;
262
+ id: string;
263
+ index: number;
264
+ structId: string;
265
+ value?: string | null | undefined;
266
+ description?: string | null | undefined;
267
+ typeSize?: number | null | undefined;
268
+ typeSize2?: number | null | undefined;
269
+ isArray?: boolean | null | undefined;
270
+ arraySize?: number | null | undefined;
271
+ typeStructId?: string | null | undefined;
272
+ typeStruct?: any;
273
+ }>, {
274
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
275
+ name: string;
276
+ id: string;
277
+ index: number;
278
+ structId: string;
279
+ value?: string | null | undefined;
280
+ description?: string | null | undefined;
281
+ typeSize?: number | null | undefined;
282
+ typeSize2?: number | null | undefined;
283
+ isArray?: boolean | null | undefined;
284
+ arraySize?: number | null | undefined;
285
+ typeStructId?: string | null | undefined;
286
+ typeStruct?: any;
287
+ }, {
288
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
289
+ name: string;
290
+ id: string;
291
+ index: number;
292
+ structId: string;
293
+ value?: string | null | undefined;
294
+ description?: string | null | undefined;
295
+ typeSize?: number | null | undefined;
296
+ typeSize2?: number | null | undefined;
297
+ isArray?: boolean | null | undefined;
298
+ arraySize?: number | null | undefined;
299
+ typeStructId?: string | null | undefined;
300
+ typeStruct?: any;
301
+ }>, {
302
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
303
+ name: string;
304
+ id: string;
305
+ index: number;
306
+ structId: string;
307
+ value?: string | null | undefined;
308
+ description?: string | null | undefined;
309
+ typeSize?: number | null | undefined;
310
+ typeSize2?: number | null | undefined;
311
+ isArray?: boolean | null | undefined;
312
+ arraySize?: number | null | undefined;
313
+ typeStructId?: string | null | undefined;
314
+ typeStruct?: any;
315
+ }, {
316
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
317
+ name: string;
318
+ id: string;
319
+ index: number;
320
+ structId: string;
321
+ value?: string | null | undefined;
322
+ description?: string | null | undefined;
323
+ typeSize?: number | null | undefined;
324
+ typeSize2?: number | null | undefined;
325
+ isArray?: boolean | null | undefined;
326
+ arraySize?: number | null | undefined;
327
+ typeStructId?: string | null | undefined;
328
+ typeStruct?: any;
329
+ }>, {
330
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
331
+ name: string;
332
+ id: string;
333
+ index: number;
334
+ structId: string;
335
+ value?: string | null | undefined;
336
+ description?: string | null | undefined;
337
+ typeSize?: number | null | undefined;
338
+ typeSize2?: number | null | undefined;
339
+ isArray?: boolean | null | undefined;
340
+ arraySize?: number | null | undefined;
341
+ typeStructId?: string | null | undefined;
342
+ typeStruct?: any;
343
+ }, {
344
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
345
+ name: string;
346
+ id: string;
347
+ index: number;
348
+ structId: string;
349
+ value?: string | null | undefined;
350
+ description?: string | null | undefined;
351
+ typeSize?: number | null | undefined;
352
+ typeSize2?: number | null | undefined;
353
+ isArray?: boolean | null | undefined;
354
+ arraySize?: number | null | undefined;
355
+ typeStructId?: string | null | undefined;
356
+ typeStruct?: any;
357
+ }>, {
358
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
359
+ name: string;
360
+ id: string;
361
+ index: number;
362
+ structId: string;
363
+ value?: string | null | undefined;
364
+ description?: string | null | undefined;
365
+ typeSize?: number | null | undefined;
366
+ typeSize2?: number | null | undefined;
367
+ isArray?: boolean | null | undefined;
368
+ arraySize?: number | null | undefined;
369
+ typeStructId?: string | null | undefined;
370
+ typeStruct?: any;
371
+ }, {
372
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
373
+ name: string;
374
+ id: string;
375
+ index: number;
376
+ structId: string;
377
+ value?: string | null | undefined;
378
+ description?: string | null | undefined;
379
+ typeSize?: number | null | undefined;
380
+ typeSize2?: number | null | undefined;
381
+ isArray?: boolean | null | undefined;
382
+ arraySize?: number | null | undefined;
383
+ typeStructId?: string | null | undefined;
384
+ typeStruct?: any;
385
+ }>, "many">;
386
+ stateMutability: z.ZodEnum<["nonpayable", "payable", "view", "pure"]>;
387
+ promptId: z.ZodNullable<z.ZodString>;
388
+ callbackUrl: z.ZodNullable<z.ZodString>;
389
+ publicKey: z.ZodNullable<z.ZodString>;
390
+ updated: z.ZodNumber;
391
+ created: z.ZodNumber;
392
+ }, "strip", z.ZodTypeAny, {
393
+ name: string;
394
+ chainId: number;
395
+ id: string;
396
+ businessId: string;
397
+ contractAddress: string;
398
+ description: string;
399
+ updated: number;
400
+ created: number;
401
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
402
+ inputs: {
403
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
404
+ name: string;
405
+ id: string;
406
+ index: number;
407
+ structId: string;
408
+ value?: string | null | undefined;
409
+ description?: string | null | undefined;
410
+ typeSize?: number | null | undefined;
411
+ typeSize2?: number | null | undefined;
412
+ isArray?: boolean | null | undefined;
413
+ arraySize?: number | null | undefined;
414
+ typeStructId?: string | null | undefined;
415
+ typeStruct?: any;
416
+ }[];
417
+ outputs: {
418
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
419
+ name: string;
420
+ id: string;
421
+ index: number;
422
+ structId: string;
423
+ value?: string | null | undefined;
424
+ description?: string | null | undefined;
425
+ typeSize?: number | null | undefined;
426
+ typeSize2?: number | null | undefined;
427
+ isArray?: boolean | null | undefined;
428
+ arraySize?: number | null | undefined;
429
+ typeStructId?: string | null | undefined;
430
+ typeStruct?: any;
431
+ }[];
432
+ functionName: string;
433
+ walletId: string;
434
+ callbackUrl: string | null;
435
+ promptId: string | null;
436
+ publicKey: string | null;
437
+ }, {
438
+ name: string;
439
+ chainId: number;
440
+ id: string;
441
+ businessId: string;
442
+ contractAddress: string;
443
+ description: string;
444
+ updated: number;
445
+ created: number;
446
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
447
+ inputs: {
448
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
449
+ name: string;
450
+ id: string;
451
+ index: number;
452
+ structId: string;
453
+ value?: string | null | undefined;
454
+ description?: string | null | undefined;
455
+ typeSize?: number | null | undefined;
456
+ typeSize2?: number | null | undefined;
457
+ isArray?: boolean | null | undefined;
458
+ arraySize?: number | null | undefined;
459
+ typeStructId?: string | null | undefined;
460
+ typeStruct?: any;
461
+ }[];
462
+ outputs: {
463
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
464
+ name: string;
465
+ id: string;
466
+ index: number;
467
+ structId: string;
468
+ value?: string | null | undefined;
469
+ description?: string | null | undefined;
470
+ typeSize?: number | null | undefined;
471
+ typeSize2?: number | null | undefined;
472
+ isArray?: boolean | null | undefined;
473
+ arraySize?: number | null | undefined;
474
+ typeStructId?: string | null | undefined;
475
+ typeStruct?: any;
476
+ }[];
477
+ functionName: string;
478
+ walletId: string;
479
+ callbackUrl: string | null;
480
+ promptId: string | null;
481
+ publicKey: string | null;
482
+ }>;
483
+ export declare const contractMethodListSchema: z.ZodObject<{
484
+ response: z.ZodArray<z.ZodObject<{
485
+ id: z.ZodString;
486
+ businessId: z.ZodString;
487
+ chainId: z.ZodNumber;
488
+ contractAddress: z.ZodString;
489
+ walletId: z.ZodString;
490
+ name: z.ZodString;
491
+ description: z.ZodString;
492
+ functionName: z.ZodString;
493
+ inputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
494
+ name: z.ZodString;
495
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
496
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
497
+ index: z.ZodNumber;
498
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
499
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
500
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
501
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
502
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
503
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
504
+ } & {
505
+ id: z.ZodString;
506
+ structId: z.ZodString;
507
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
510
+ name: string;
511
+ id: string;
512
+ index: number;
513
+ structId: string;
514
+ value?: string | null | undefined;
515
+ description?: string | null | undefined;
516
+ typeSize?: number | null | undefined;
517
+ typeSize2?: number | null | undefined;
518
+ isArray?: boolean | null | undefined;
519
+ arraySize?: number | null | undefined;
520
+ typeStructId?: string | null | undefined;
521
+ typeStruct?: any;
522
+ }, {
523
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
524
+ name: string;
525
+ id: string;
526
+ index: number;
527
+ structId: string;
528
+ value?: string | null | undefined;
529
+ description?: string | null | undefined;
530
+ typeSize?: number | null | undefined;
531
+ typeSize2?: number | null | undefined;
532
+ isArray?: boolean | null | undefined;
533
+ arraySize?: number | null | undefined;
534
+ typeStructId?: string | null | undefined;
535
+ typeStruct?: any;
536
+ }>, {
537
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
538
+ name: string;
539
+ id: string;
540
+ index: number;
541
+ structId: string;
542
+ value?: string | null | undefined;
543
+ description?: string | null | undefined;
544
+ typeSize?: number | null | undefined;
545
+ typeSize2?: number | null | undefined;
546
+ isArray?: boolean | null | undefined;
547
+ arraySize?: number | null | undefined;
548
+ typeStructId?: string | null | undefined;
549
+ typeStruct?: any;
550
+ }, {
551
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
552
+ name: string;
553
+ id: string;
554
+ index: number;
555
+ structId: string;
556
+ value?: string | null | undefined;
557
+ description?: string | null | undefined;
558
+ typeSize?: number | null | undefined;
559
+ typeSize2?: number | null | undefined;
560
+ isArray?: boolean | null | undefined;
561
+ arraySize?: number | null | undefined;
562
+ typeStructId?: string | null | undefined;
563
+ typeStruct?: any;
564
+ }>, {
565
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
566
+ name: string;
567
+ id: string;
568
+ index: number;
569
+ structId: string;
570
+ value?: string | null | undefined;
571
+ description?: string | null | undefined;
572
+ typeSize?: number | null | undefined;
573
+ typeSize2?: number | null | undefined;
574
+ isArray?: boolean | null | undefined;
575
+ arraySize?: number | null | undefined;
576
+ typeStructId?: string | null | undefined;
577
+ typeStruct?: any;
578
+ }, {
579
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
580
+ name: string;
581
+ id: string;
582
+ index: number;
583
+ structId: string;
584
+ value?: string | null | undefined;
585
+ description?: string | null | undefined;
586
+ typeSize?: number | null | undefined;
587
+ typeSize2?: number | null | undefined;
588
+ isArray?: boolean | null | undefined;
589
+ arraySize?: number | null | undefined;
590
+ typeStructId?: string | null | undefined;
591
+ typeStruct?: any;
592
+ }>, {
593
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
594
+ name: string;
595
+ id: string;
596
+ index: number;
597
+ structId: string;
598
+ value?: string | null | undefined;
599
+ description?: string | null | undefined;
600
+ typeSize?: number | null | undefined;
601
+ typeSize2?: number | null | undefined;
602
+ isArray?: boolean | null | undefined;
603
+ arraySize?: number | null | undefined;
604
+ typeStructId?: string | null | undefined;
605
+ typeStruct?: any;
606
+ }, {
607
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
608
+ name: string;
609
+ id: string;
610
+ index: number;
611
+ structId: string;
612
+ value?: string | null | undefined;
613
+ description?: string | null | undefined;
614
+ typeSize?: number | null | undefined;
615
+ typeSize2?: number | null | undefined;
616
+ isArray?: boolean | null | undefined;
617
+ arraySize?: number | null | undefined;
618
+ typeStructId?: string | null | undefined;
619
+ typeStruct?: any;
620
+ }>, {
621
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
622
+ name: string;
623
+ id: string;
624
+ index: number;
625
+ structId: string;
626
+ value?: string | null | undefined;
627
+ description?: string | null | undefined;
628
+ typeSize?: number | null | undefined;
629
+ typeSize2?: number | null | undefined;
630
+ isArray?: boolean | null | undefined;
631
+ arraySize?: number | null | undefined;
632
+ typeStructId?: string | null | undefined;
633
+ typeStruct?: any;
634
+ }, {
635
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
636
+ name: string;
637
+ id: string;
638
+ index: number;
639
+ structId: string;
640
+ value?: string | null | undefined;
641
+ description?: string | null | undefined;
642
+ typeSize?: number | null | undefined;
643
+ typeSize2?: number | null | undefined;
644
+ isArray?: boolean | null | undefined;
645
+ arraySize?: number | null | undefined;
646
+ typeStructId?: string | null | undefined;
647
+ typeStruct?: any;
648
+ }>, "many">;
649
+ outputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
650
+ name: z.ZodString;
651
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
652
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
653
+ index: z.ZodNumber;
654
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
655
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
656
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
657
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
658
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
659
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
660
+ } & {
661
+ id: z.ZodString;
662
+ structId: z.ZodString;
663
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
666
+ name: string;
667
+ id: string;
668
+ index: number;
669
+ structId: string;
670
+ value?: string | null | undefined;
671
+ description?: string | null | undefined;
672
+ typeSize?: number | null | undefined;
673
+ typeSize2?: number | null | undefined;
674
+ isArray?: boolean | null | undefined;
675
+ arraySize?: number | null | undefined;
676
+ typeStructId?: string | null | undefined;
677
+ typeStruct?: any;
678
+ }, {
679
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
680
+ name: string;
681
+ id: string;
682
+ index: number;
683
+ structId: string;
684
+ value?: string | null | undefined;
685
+ description?: string | null | undefined;
686
+ typeSize?: number | null | undefined;
687
+ typeSize2?: number | null | undefined;
688
+ isArray?: boolean | null | undefined;
689
+ arraySize?: number | null | undefined;
690
+ typeStructId?: string | null | undefined;
691
+ typeStruct?: any;
692
+ }>, {
693
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
694
+ name: string;
695
+ id: string;
696
+ index: number;
697
+ structId: string;
698
+ value?: string | null | undefined;
699
+ description?: string | null | undefined;
700
+ typeSize?: number | null | undefined;
701
+ typeSize2?: number | null | undefined;
702
+ isArray?: boolean | null | undefined;
703
+ arraySize?: number | null | undefined;
704
+ typeStructId?: string | null | undefined;
705
+ typeStruct?: any;
706
+ }, {
707
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
708
+ name: string;
709
+ id: string;
710
+ index: number;
711
+ structId: string;
712
+ value?: string | null | undefined;
713
+ description?: string | null | undefined;
714
+ typeSize?: number | null | undefined;
715
+ typeSize2?: number | null | undefined;
716
+ isArray?: boolean | null | undefined;
717
+ arraySize?: number | null | undefined;
718
+ typeStructId?: string | null | undefined;
719
+ typeStruct?: any;
720
+ }>, {
721
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
722
+ name: string;
723
+ id: string;
724
+ index: number;
725
+ structId: string;
726
+ value?: string | null | undefined;
727
+ description?: string | null | undefined;
728
+ typeSize?: number | null | undefined;
729
+ typeSize2?: number | null | undefined;
730
+ isArray?: boolean | null | undefined;
731
+ arraySize?: number | null | undefined;
732
+ typeStructId?: string | null | undefined;
733
+ typeStruct?: any;
734
+ }, {
735
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
736
+ name: string;
737
+ id: string;
738
+ index: number;
739
+ structId: string;
740
+ value?: string | null | undefined;
741
+ description?: string | null | undefined;
742
+ typeSize?: number | null | undefined;
743
+ typeSize2?: number | null | undefined;
744
+ isArray?: boolean | null | undefined;
745
+ arraySize?: number | null | undefined;
746
+ typeStructId?: string | null | undefined;
747
+ typeStruct?: any;
748
+ }>, {
749
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
750
+ name: string;
751
+ id: string;
752
+ index: number;
753
+ structId: string;
754
+ value?: string | null | undefined;
755
+ description?: string | null | undefined;
756
+ typeSize?: number | null | undefined;
757
+ typeSize2?: number | null | undefined;
758
+ isArray?: boolean | null | undefined;
759
+ arraySize?: number | null | undefined;
760
+ typeStructId?: string | null | undefined;
761
+ typeStruct?: any;
762
+ }, {
763
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
764
+ name: string;
765
+ id: string;
766
+ index: number;
767
+ structId: string;
768
+ value?: string | null | undefined;
769
+ description?: string | null | undefined;
770
+ typeSize?: number | null | undefined;
771
+ typeSize2?: number | null | undefined;
772
+ isArray?: boolean | null | undefined;
773
+ arraySize?: number | null | undefined;
774
+ typeStructId?: string | null | undefined;
775
+ typeStruct?: any;
776
+ }>, {
777
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
778
+ name: string;
779
+ id: string;
780
+ index: number;
781
+ structId: string;
782
+ value?: string | null | undefined;
783
+ description?: string | null | undefined;
784
+ typeSize?: number | null | undefined;
785
+ typeSize2?: number | null | undefined;
786
+ isArray?: boolean | null | undefined;
787
+ arraySize?: number | null | undefined;
788
+ typeStructId?: string | null | undefined;
789
+ typeStruct?: any;
790
+ }, {
791
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
792
+ name: string;
793
+ id: string;
794
+ index: number;
795
+ structId: string;
796
+ value?: string | null | undefined;
797
+ description?: string | null | undefined;
798
+ typeSize?: number | null | undefined;
799
+ typeSize2?: number | null | undefined;
800
+ isArray?: boolean | null | undefined;
801
+ arraySize?: number | null | undefined;
802
+ typeStructId?: string | null | undefined;
803
+ typeStruct?: any;
804
+ }>, "many">;
805
+ stateMutability: z.ZodEnum<["nonpayable", "payable", "view", "pure"]>;
806
+ promptId: z.ZodNullable<z.ZodString>;
807
+ callbackUrl: z.ZodNullable<z.ZodString>;
808
+ publicKey: z.ZodNullable<z.ZodString>;
809
+ updated: z.ZodNumber;
810
+ created: z.ZodNumber;
811
+ }, "strip", z.ZodTypeAny, {
812
+ name: string;
813
+ chainId: number;
814
+ id: string;
815
+ businessId: string;
816
+ contractAddress: string;
817
+ description: string;
818
+ updated: number;
819
+ created: number;
820
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
821
+ inputs: {
822
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
823
+ name: string;
824
+ id: string;
825
+ index: number;
826
+ structId: string;
827
+ value?: string | null | undefined;
828
+ description?: string | null | undefined;
829
+ typeSize?: number | null | undefined;
830
+ typeSize2?: number | null | undefined;
831
+ isArray?: boolean | null | undefined;
832
+ arraySize?: number | null | undefined;
833
+ typeStructId?: string | null | undefined;
834
+ typeStruct?: any;
835
+ }[];
836
+ outputs: {
837
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
838
+ name: string;
839
+ id: string;
840
+ index: number;
841
+ structId: string;
842
+ value?: string | null | undefined;
843
+ description?: string | null | undefined;
844
+ typeSize?: number | null | undefined;
845
+ typeSize2?: number | null | undefined;
846
+ isArray?: boolean | null | undefined;
847
+ arraySize?: number | null | undefined;
848
+ typeStructId?: string | null | undefined;
849
+ typeStruct?: any;
850
+ }[];
851
+ functionName: string;
852
+ walletId: string;
853
+ callbackUrl: string | null;
854
+ promptId: string | null;
855
+ publicKey: string | null;
856
+ }, {
857
+ name: string;
858
+ chainId: number;
859
+ id: string;
860
+ businessId: string;
861
+ contractAddress: string;
862
+ description: string;
863
+ updated: number;
864
+ created: number;
865
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
866
+ inputs: {
867
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
868
+ name: string;
869
+ id: string;
870
+ index: number;
871
+ structId: string;
872
+ value?: string | null | undefined;
873
+ description?: string | null | undefined;
874
+ typeSize?: number | null | undefined;
875
+ typeSize2?: number | null | undefined;
876
+ isArray?: boolean | null | undefined;
877
+ arraySize?: number | null | undefined;
878
+ typeStructId?: string | null | undefined;
879
+ typeStruct?: any;
880
+ }[];
881
+ outputs: {
882
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
883
+ name: string;
884
+ id: string;
885
+ index: number;
886
+ structId: string;
887
+ value?: string | null | undefined;
888
+ description?: string | null | undefined;
889
+ typeSize?: number | null | undefined;
890
+ typeSize2?: number | null | undefined;
891
+ isArray?: boolean | null | undefined;
892
+ arraySize?: number | null | undefined;
893
+ typeStructId?: string | null | undefined;
894
+ typeStruct?: any;
895
+ }[];
896
+ functionName: string;
897
+ walletId: string;
898
+ callbackUrl: string | null;
899
+ promptId: string | null;
900
+ publicKey: string | null;
901
+ }>, "many">;
902
+ page: z.ZodNumber;
903
+ pageSize: z.ZodNumber;
904
+ totalResults: z.ZodNumber;
905
+ }, "strip", z.ZodTypeAny, {
906
+ response: {
907
+ name: string;
908
+ chainId: number;
909
+ id: string;
910
+ businessId: string;
911
+ contractAddress: string;
912
+ description: string;
913
+ updated: number;
914
+ created: number;
915
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
916
+ inputs: {
917
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
918
+ name: string;
919
+ id: string;
920
+ index: number;
921
+ structId: string;
922
+ value?: string | null | undefined;
923
+ description?: string | null | undefined;
924
+ typeSize?: number | null | undefined;
925
+ typeSize2?: number | null | undefined;
926
+ isArray?: boolean | null | undefined;
927
+ arraySize?: number | null | undefined;
928
+ typeStructId?: string | null | undefined;
929
+ typeStruct?: any;
930
+ }[];
931
+ outputs: {
932
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
933
+ name: string;
934
+ id: string;
935
+ index: number;
936
+ structId: string;
937
+ value?: string | null | undefined;
938
+ description?: string | null | undefined;
939
+ typeSize?: number | null | undefined;
940
+ typeSize2?: number | null | undefined;
941
+ isArray?: boolean | null | undefined;
942
+ arraySize?: number | null | undefined;
943
+ typeStructId?: string | null | undefined;
944
+ typeStruct?: any;
945
+ }[];
946
+ functionName: string;
947
+ walletId: string;
948
+ callbackUrl: string | null;
949
+ promptId: string | null;
950
+ publicKey: string | null;
951
+ }[];
952
+ page: number;
953
+ pageSize: number;
954
+ totalResults: number;
955
+ }, {
956
+ response: {
957
+ name: string;
958
+ chainId: number;
959
+ id: string;
960
+ businessId: string;
961
+ contractAddress: string;
962
+ description: string;
963
+ updated: number;
964
+ created: number;
965
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
966
+ inputs: {
967
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
968
+ name: string;
969
+ id: string;
970
+ index: number;
971
+ structId: string;
972
+ value?: string | null | undefined;
973
+ description?: string | null | undefined;
974
+ typeSize?: number | null | undefined;
975
+ typeSize2?: number | null | undefined;
976
+ isArray?: boolean | null | undefined;
977
+ arraySize?: number | null | undefined;
978
+ typeStructId?: string | null | undefined;
979
+ typeStruct?: any;
980
+ }[];
981
+ outputs: {
982
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
983
+ name: string;
984
+ id: string;
985
+ index: number;
986
+ structId: string;
987
+ value?: string | null | undefined;
988
+ description?: string | null | undefined;
989
+ typeSize?: number | null | undefined;
990
+ typeSize2?: number | null | undefined;
991
+ isArray?: boolean | null | undefined;
992
+ arraySize?: number | null | undefined;
993
+ typeStructId?: string | null | undefined;
994
+ typeStruct?: any;
995
+ }[];
996
+ functionName: string;
997
+ walletId: string;
998
+ callbackUrl: string | null;
999
+ promptId: string | null;
1000
+ publicKey: string | null;
1001
+ }[];
1002
+ page: number;
1003
+ pageSize: number;
1004
+ totalResults: number;
1005
+ }>;
1006
+ export declare const listContractMethodsSchema: z.ZodObject<{
1007
+ businessId: z.ZodString;
1008
+ pageSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1009
+ page: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1010
+ chainId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1011
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1012
+ status: z.ZodNullable<z.ZodOptional<z.ZodEnum<["live", "archived", "both"]>>>;
1013
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1014
+ promptId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1015
+ methodType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["read", "write"]>>>;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ businessId: string;
1018
+ status?: "live" | "archived" | "both" | null | undefined;
1019
+ name?: string | null | undefined;
1020
+ chainId?: number | null | undefined;
1021
+ page?: number | null | undefined;
1022
+ pageSize?: number | null | undefined;
1023
+ contractAddress?: string | null | undefined;
1024
+ promptId?: string | null | undefined;
1025
+ methodType?: "read" | "write" | null | undefined;
1026
+ }, {
1027
+ businessId: string;
1028
+ status?: "live" | "archived" | "both" | null | undefined;
1029
+ name?: string | null | undefined;
1030
+ chainId?: number | null | undefined;
1031
+ page?: number | null | undefined;
1032
+ pageSize?: number | null | undefined;
1033
+ contractAddress?: string | null | undefined;
1034
+ promptId?: string | null | undefined;
1035
+ methodType?: "read" | "write" | null | undefined;
1036
+ }>;
1037
+ export declare const erc7702AuthorizationSchema: z.ZodObject<{
1038
+ address: z.ZodString;
1039
+ nonce: z.ZodString;
1040
+ chainId: z.ZodNumber;
1041
+ signature: z.ZodString;
1042
+ }, "strip", z.ZodTypeAny, {
1043
+ chainId: number;
1044
+ address: string;
1045
+ nonce: string;
1046
+ signature: string;
1047
+ }, {
1048
+ chainId: number;
1049
+ address: string;
1050
+ nonce: string;
1051
+ signature: string;
1052
+ }>;
1053
+ export declare const executeContractMethodSchema: z.ZodObject<{
1054
+ contractMethodId: z.ZodString;
1055
+ params: z.ZodType<{
1056
+ [key: string]: string | number | boolean | any[] | {
1057
+ [key: string]: any;
1058
+ } | null | undefined;
1059
+ }, z.ZodTypeDef, {
1060
+ [key: string]: string | number | boolean | any[] | {
1061
+ [key: string]: any;
1062
+ } | null | undefined;
1063
+ }>;
1064
+ walletId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1065
+ memo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1066
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1067
+ address: z.ZodString;
1068
+ nonce: z.ZodString;
1069
+ chainId: z.ZodNumber;
1070
+ signature: z.ZodString;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ chainId: number;
1073
+ address: string;
1074
+ nonce: string;
1075
+ signature: string;
1076
+ }, {
1077
+ chainId: number;
1078
+ address: string;
1079
+ nonce: string;
1080
+ signature: string;
1081
+ }>, "many">>>;
1082
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1083
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1084
+ authorizationDataAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ params: {
1087
+ [key: string]: string | number | boolean | any[] | {
1088
+ [key: string]: any;
1089
+ } | null | undefined;
1090
+ };
1091
+ contractMethodId: string;
1092
+ value?: string | null | undefined;
1093
+ contractAddress?: string | null | undefined;
1094
+ walletId?: string | null | undefined;
1095
+ memo?: string | null | undefined;
1096
+ authorizationList?: {
1097
+ chainId: number;
1098
+ address: string;
1099
+ nonce: string;
1100
+ signature: string;
1101
+ }[] | null | undefined;
1102
+ authorizationDataAddress?: string | null | undefined;
1103
+ }, {
1104
+ params: {
1105
+ [key: string]: string | number | boolean | any[] | {
1106
+ [key: string]: any;
1107
+ } | null | undefined;
1108
+ };
1109
+ contractMethodId: string;
1110
+ value?: string | null | undefined;
1111
+ contractAddress?: string | null | undefined;
1112
+ walletId?: string | null | undefined;
1113
+ memo?: string | null | undefined;
1114
+ authorizationList?: {
1115
+ chainId: number;
1116
+ address: string;
1117
+ nonce: string;
1118
+ signature: string;
1119
+ }[] | null | undefined;
1120
+ authorizationDataAddress?: string | null | undefined;
1121
+ }>;
1122
+ export declare const executeAsDelegatorContractMethodSchema: z.ZodObject<{
1123
+ contractMethodId: z.ZodString;
1124
+ params: z.ZodType<{
1125
+ [key: string]: string | number | boolean | any[] | {
1126
+ [key: string]: any;
1127
+ } | null | undefined;
1128
+ }, z.ZodTypeDef, {
1129
+ [key: string]: string | number | boolean | any[] | {
1130
+ [key: string]: any;
1131
+ } | null | undefined;
1132
+ }>;
1133
+ walletId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1134
+ memo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1135
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1136
+ address: z.ZodString;
1137
+ nonce: z.ZodString;
1138
+ chainId: z.ZodNumber;
1139
+ signature: z.ZodString;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ chainId: number;
1142
+ address: string;
1143
+ nonce: string;
1144
+ signature: string;
1145
+ }, {
1146
+ chainId: number;
1147
+ address: string;
1148
+ nonce: string;
1149
+ signature: string;
1150
+ }>, "many">>>;
1151
+ delegatorAddress: z.ZodString;
1152
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ params: {
1155
+ [key: string]: string | number | boolean | any[] | {
1156
+ [key: string]: any;
1157
+ } | null | undefined;
1158
+ };
1159
+ contractMethodId: string;
1160
+ delegatorAddress: string;
1161
+ value?: string | null | undefined;
1162
+ walletId?: string | null | undefined;
1163
+ memo?: string | null | undefined;
1164
+ authorizationList?: {
1165
+ chainId: number;
1166
+ address: string;
1167
+ nonce: string;
1168
+ signature: string;
1169
+ }[] | null | undefined;
1170
+ }, {
1171
+ params: {
1172
+ [key: string]: string | number | boolean | any[] | {
1173
+ [key: string]: any;
1174
+ } | null | undefined;
1175
+ };
1176
+ contractMethodId: string;
1177
+ delegatorAddress: string;
1178
+ value?: string | null | undefined;
1179
+ walletId?: string | null | undefined;
1180
+ memo?: string | null | undefined;
1181
+ authorizationList?: {
1182
+ chainId: number;
1183
+ address: string;
1184
+ nonce: string;
1185
+ signature: string;
1186
+ }[] | null | undefined;
1187
+ }>;
1188
+ export declare const batchContractMethodSchema: z.ZodObject<{
1189
+ contractMethodId: z.ZodString;
1190
+ executionIndex: z.ZodNumber;
1191
+ params: z.ZodType<{
1192
+ [key: string]: string | number | boolean | any[] | {
1193
+ [key: string]: any;
1194
+ } | null | undefined;
1195
+ }, z.ZodTypeDef, {
1196
+ [key: string]: string | number | boolean | any[] | {
1197
+ [key: string]: any;
1198
+ } | null | undefined;
1199
+ }>;
1200
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1201
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ params: {
1204
+ [key: string]: string | number | boolean | any[] | {
1205
+ [key: string]: any;
1206
+ } | null | undefined;
1207
+ };
1208
+ contractMethodId: string;
1209
+ executionIndex: number;
1210
+ value?: string | null | undefined;
1211
+ contractAddress?: string | null | undefined;
1212
+ }, {
1213
+ params: {
1214
+ [key: string]: string | number | boolean | any[] | {
1215
+ [key: string]: any;
1216
+ } | null | undefined;
1217
+ };
1218
+ contractMethodId: string;
1219
+ executionIndex: number;
1220
+ value?: string | null | undefined;
1221
+ contractAddress?: string | null | undefined;
1222
+ }>;
1223
+ export declare const batchContractMethodAsDelegatorSchema: z.ZodObject<{
1224
+ contractMethodId: z.ZodString;
1225
+ executionIndex: z.ZodNumber;
1226
+ params: z.ZodType<{
1227
+ [key: string]: string | number | boolean | any[] | {
1228
+ [key: string]: any;
1229
+ } | null | undefined;
1230
+ }, z.ZodTypeDef, {
1231
+ [key: string]: string | number | boolean | any[] | {
1232
+ [key: string]: any;
1233
+ } | null | undefined;
1234
+ }>;
1235
+ delegatorAddress: z.ZodString;
1236
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1237
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1238
+ }, "strip", z.ZodTypeAny, {
1239
+ params: {
1240
+ [key: string]: string | number | boolean | any[] | {
1241
+ [key: string]: any;
1242
+ } | null | undefined;
1243
+ };
1244
+ contractMethodId: string;
1245
+ delegatorAddress: string;
1246
+ executionIndex: number;
1247
+ value?: string | null | undefined;
1248
+ contractAddress?: string | null | undefined;
1249
+ }, {
1250
+ params: {
1251
+ [key: string]: string | number | boolean | any[] | {
1252
+ [key: string]: any;
1253
+ } | null | undefined;
1254
+ };
1255
+ contractMethodId: string;
1256
+ delegatorAddress: string;
1257
+ executionIndex: number;
1258
+ value?: string | null | undefined;
1259
+ contractAddress?: string | null | undefined;
1260
+ }>;
1261
+ export declare const executeBatchContractMethodSchema: z.ZodObject<{
1262
+ contractMethods: z.ZodArray<z.ZodObject<{
1263
+ contractMethodId: z.ZodString;
1264
+ executionIndex: z.ZodNumber;
1265
+ params: z.ZodType<{
1266
+ [key: string]: string | number | boolean | any[] | {
1267
+ [key: string]: any;
1268
+ } | null | undefined;
1269
+ }, z.ZodTypeDef, {
1270
+ [key: string]: string | number | boolean | any[] | {
1271
+ [key: string]: any;
1272
+ } | null | undefined;
1273
+ }>;
1274
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1275
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ params: {
1278
+ [key: string]: string | number | boolean | any[] | {
1279
+ [key: string]: any;
1280
+ } | null | undefined;
1281
+ };
1282
+ contractMethodId: string;
1283
+ executionIndex: number;
1284
+ value?: string | null | undefined;
1285
+ contractAddress?: string | null | undefined;
1286
+ }, {
1287
+ params: {
1288
+ [key: string]: string | number | boolean | any[] | {
1289
+ [key: string]: any;
1290
+ } | null | undefined;
1291
+ };
1292
+ contractMethodId: string;
1293
+ executionIndex: number;
1294
+ value?: string | null | undefined;
1295
+ contractAddress?: string | null | undefined;
1296
+ }>, "many">;
1297
+ walletId: z.ZodString;
1298
+ atomic: z.ZodOptional<z.ZodBoolean>;
1299
+ memo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1300
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1301
+ address: z.ZodString;
1302
+ nonce: z.ZodString;
1303
+ chainId: z.ZodNumber;
1304
+ signature: z.ZodString;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ chainId: number;
1307
+ address: string;
1308
+ nonce: string;
1309
+ signature: string;
1310
+ }, {
1311
+ chainId: number;
1312
+ address: string;
1313
+ nonce: string;
1314
+ signature: string;
1315
+ }>, "many">>>;
1316
+ gasLimit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ walletId: string;
1319
+ contractMethods: {
1320
+ params: {
1321
+ [key: string]: string | number | boolean | any[] | {
1322
+ [key: string]: any;
1323
+ } | null | undefined;
1324
+ };
1325
+ contractMethodId: string;
1326
+ executionIndex: number;
1327
+ value?: string | null | undefined;
1328
+ contractAddress?: string | null | undefined;
1329
+ }[];
1330
+ memo?: string | null | undefined;
1331
+ authorizationList?: {
1332
+ chainId: number;
1333
+ address: string;
1334
+ nonce: string;
1335
+ signature: string;
1336
+ }[] | null | undefined;
1337
+ atomic?: boolean | undefined;
1338
+ gasLimit?: string | null | undefined;
1339
+ }, {
1340
+ walletId: string;
1341
+ contractMethods: {
1342
+ params: {
1343
+ [key: string]: string | number | boolean | any[] | {
1344
+ [key: string]: any;
1345
+ } | null | undefined;
1346
+ };
1347
+ contractMethodId: string;
1348
+ executionIndex: number;
1349
+ value?: string | null | undefined;
1350
+ contractAddress?: string | null | undefined;
1351
+ }[];
1352
+ memo?: string | null | undefined;
1353
+ authorizationList?: {
1354
+ chainId: number;
1355
+ address: string;
1356
+ nonce: string;
1357
+ signature: string;
1358
+ }[] | null | undefined;
1359
+ atomic?: boolean | undefined;
1360
+ gasLimit?: string | null | undefined;
1361
+ }>;
1362
+ export declare const executeBatchAsDelegatorContractMethodSchema: z.ZodObject<{
1363
+ contractMethods: z.ZodArray<z.ZodObject<{
1364
+ contractMethodId: z.ZodString;
1365
+ executionIndex: z.ZodNumber;
1366
+ params: z.ZodType<{
1367
+ [key: string]: string | number | boolean | any[] | {
1368
+ [key: string]: any;
1369
+ } | null | undefined;
1370
+ }, z.ZodTypeDef, {
1371
+ [key: string]: string | number | boolean | any[] | {
1372
+ [key: string]: any;
1373
+ } | null | undefined;
1374
+ }>;
1375
+ delegatorAddress: z.ZodString;
1376
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1377
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ params: {
1380
+ [key: string]: string | number | boolean | any[] | {
1381
+ [key: string]: any;
1382
+ } | null | undefined;
1383
+ };
1384
+ contractMethodId: string;
1385
+ delegatorAddress: string;
1386
+ executionIndex: number;
1387
+ value?: string | null | undefined;
1388
+ contractAddress?: string | null | undefined;
1389
+ }, {
1390
+ params: {
1391
+ [key: string]: string | number | boolean | any[] | {
1392
+ [key: string]: any;
1393
+ } | null | undefined;
1394
+ };
1395
+ contractMethodId: string;
1396
+ delegatorAddress: string;
1397
+ executionIndex: number;
1398
+ value?: string | null | undefined;
1399
+ contractAddress?: string | null | undefined;
1400
+ }>, "many">;
1401
+ walletId: z.ZodString;
1402
+ atomic: z.ZodOptional<z.ZodBoolean>;
1403
+ memo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1404
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1405
+ address: z.ZodString;
1406
+ nonce: z.ZodString;
1407
+ chainId: z.ZodNumber;
1408
+ signature: z.ZodString;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ chainId: number;
1411
+ address: string;
1412
+ nonce: string;
1413
+ signature: string;
1414
+ }, {
1415
+ chainId: number;
1416
+ address: string;
1417
+ nonce: string;
1418
+ signature: string;
1419
+ }>, "many">>>;
1420
+ gasLimit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1421
+ }, "strip", z.ZodTypeAny, {
1422
+ walletId: string;
1423
+ contractMethods: {
1424
+ params: {
1425
+ [key: string]: string | number | boolean | any[] | {
1426
+ [key: string]: any;
1427
+ } | null | undefined;
1428
+ };
1429
+ contractMethodId: string;
1430
+ delegatorAddress: string;
1431
+ executionIndex: number;
1432
+ value?: string | null | undefined;
1433
+ contractAddress?: string | null | undefined;
1434
+ }[];
1435
+ memo?: string | null | undefined;
1436
+ authorizationList?: {
1437
+ chainId: number;
1438
+ address: string;
1439
+ nonce: string;
1440
+ signature: string;
1441
+ }[] | null | undefined;
1442
+ atomic?: boolean | undefined;
1443
+ gasLimit?: string | null | undefined;
1444
+ }, {
1445
+ walletId: string;
1446
+ contractMethods: {
1447
+ params: {
1448
+ [key: string]: string | number | boolean | any[] | {
1449
+ [key: string]: any;
1450
+ } | null | undefined;
1451
+ };
1452
+ contractMethodId: string;
1453
+ delegatorAddress: string;
1454
+ executionIndex: number;
1455
+ value?: string | null | undefined;
1456
+ contractAddress?: string | null | undefined;
1457
+ }[];
1458
+ memo?: string | null | undefined;
1459
+ authorizationList?: {
1460
+ chainId: number;
1461
+ address: string;
1462
+ nonce: string;
1463
+ signature: string;
1464
+ }[] | null | undefined;
1465
+ atomic?: boolean | undefined;
1466
+ gasLimit?: string | null | undefined;
1467
+ }>;
1468
+ export declare const testContractMethodSchema: z.ZodObject<{
1469
+ contractMethodId: z.ZodString;
1470
+ params: z.ZodType<{
1471
+ [key: string]: string | number | boolean | any[] | {
1472
+ [key: string]: any;
1473
+ } | null | undefined;
1474
+ }, z.ZodTypeDef, {
1475
+ [key: string]: string | number | boolean | any[] | {
1476
+ [key: string]: any;
1477
+ } | null | undefined;
1478
+ }>;
1479
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1480
+ address: z.ZodString;
1481
+ nonce: z.ZodString;
1482
+ chainId: z.ZodNumber;
1483
+ signature: z.ZodString;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ chainId: number;
1486
+ address: string;
1487
+ nonce: string;
1488
+ signature: string;
1489
+ }, {
1490
+ chainId: number;
1491
+ address: string;
1492
+ nonce: string;
1493
+ signature: string;
1494
+ }>, "many">>>;
1495
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1496
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1497
+ }, "strip", z.ZodTypeAny, {
1498
+ params: {
1499
+ [key: string]: string | number | boolean | any[] | {
1500
+ [key: string]: any;
1501
+ } | null | undefined;
1502
+ };
1503
+ contractMethodId: string;
1504
+ value?: string | null | undefined;
1505
+ contractAddress?: string | null | undefined;
1506
+ authorizationList?: {
1507
+ chainId: number;
1508
+ address: string;
1509
+ nonce: string;
1510
+ signature: string;
1511
+ }[] | null | undefined;
1512
+ }, {
1513
+ params: {
1514
+ [key: string]: string | number | boolean | any[] | {
1515
+ [key: string]: any;
1516
+ } | null | undefined;
1517
+ };
1518
+ contractMethodId: string;
1519
+ value?: string | null | undefined;
1520
+ contractAddress?: string | null | undefined;
1521
+ authorizationList?: {
1522
+ chainId: number;
1523
+ address: string;
1524
+ nonce: string;
1525
+ signature: string;
1526
+ }[] | null | undefined;
1527
+ }>;
1528
+ export declare const getContractMethodSchema: z.ZodObject<{
1529
+ id: z.ZodString;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ id: string;
1532
+ }, {
1533
+ id: string;
1534
+ }>;
1535
+ export declare const estimateContractMethodSchema: z.ZodObject<{
1536
+ contractMethodId: z.ZodString;
1537
+ params: z.ZodType<{
1538
+ [key: string]: string | number | boolean | any[] | {
1539
+ [key: string]: any;
1540
+ } | null | undefined;
1541
+ }, z.ZodTypeDef, {
1542
+ [key: string]: string | number | boolean | any[] | {
1543
+ [key: string]: any;
1544
+ } | null | undefined;
1545
+ }>;
1546
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1547
+ address: z.ZodString;
1548
+ nonce: z.ZodString;
1549
+ chainId: z.ZodNumber;
1550
+ signature: z.ZodString;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ chainId: number;
1553
+ address: string;
1554
+ nonce: string;
1555
+ signature: string;
1556
+ }, {
1557
+ chainId: number;
1558
+ address: string;
1559
+ nonce: string;
1560
+ signature: string;
1561
+ }>, "many">>>;
1562
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ params: {
1565
+ [key: string]: string | number | boolean | any[] | {
1566
+ [key: string]: any;
1567
+ } | null | undefined;
1568
+ };
1569
+ contractMethodId: string;
1570
+ value?: string | null | undefined;
1571
+ authorizationList?: {
1572
+ chainId: number;
1573
+ address: string;
1574
+ nonce: string;
1575
+ signature: string;
1576
+ }[] | null | undefined;
1577
+ }, {
1578
+ params: {
1579
+ [key: string]: string | number | boolean | any[] | {
1580
+ [key: string]: any;
1581
+ } | null | undefined;
1582
+ };
1583
+ contractMethodId: string;
1584
+ value?: string | null | undefined;
1585
+ authorizationList?: {
1586
+ chainId: number;
1587
+ address: string;
1588
+ nonce: string;
1589
+ signature: string;
1590
+ }[] | null | undefined;
1591
+ }>;
1592
+ export declare const encodeContractMethodSchema: z.ZodObject<{
1593
+ contractMethodId: z.ZodString;
1594
+ params: z.ZodType<{
1595
+ [key: string]: string | number | boolean | any[] | {
1596
+ [key: string]: any;
1597
+ } | null | undefined;
1598
+ }, z.ZodTypeDef, {
1599
+ [key: string]: string | number | boolean | any[] | {
1600
+ [key: string]: any;
1601
+ } | null | undefined;
1602
+ }>;
1603
+ authorizationList: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1604
+ address: z.ZodString;
1605
+ nonce: z.ZodString;
1606
+ chainId: z.ZodNumber;
1607
+ signature: z.ZodString;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ chainId: number;
1610
+ address: string;
1611
+ nonce: string;
1612
+ signature: string;
1613
+ }, {
1614
+ chainId: number;
1615
+ address: string;
1616
+ nonce: string;
1617
+ signature: string;
1618
+ }>, "many">>>;
1619
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1620
+ }, "strip", z.ZodTypeAny, {
1621
+ params: {
1622
+ [key: string]: string | number | boolean | any[] | {
1623
+ [key: string]: any;
1624
+ } | null | undefined;
1625
+ };
1626
+ contractMethodId: string;
1627
+ value?: string | null | undefined;
1628
+ authorizationList?: {
1629
+ chainId: number;
1630
+ address: string;
1631
+ nonce: string;
1632
+ signature: string;
1633
+ }[] | null | undefined;
1634
+ }, {
1635
+ params: {
1636
+ [key: string]: string | number | boolean | any[] | {
1637
+ [key: string]: any;
1638
+ } | null | undefined;
1639
+ };
1640
+ contractMethodId: string;
1641
+ value?: string | null | undefined;
1642
+ authorizationList?: {
1643
+ chainId: number;
1644
+ address: string;
1645
+ nonce: string;
1646
+ signature: string;
1647
+ }[] | null | undefined;
1648
+ }>;
1649
+ export declare const readContractMethodSchema: z.ZodObject<{
1650
+ contractMethodId: z.ZodString;
1651
+ params: z.ZodType<{
1652
+ [key: string]: string | number | boolean | any[] | {
1653
+ [key: string]: any;
1654
+ } | null | undefined;
1655
+ }, z.ZodTypeDef, {
1656
+ [key: string]: string | number | boolean | any[] | {
1657
+ [key: string]: any;
1658
+ } | null | undefined;
1659
+ }>;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ params: {
1662
+ [key: string]: string | number | boolean | any[] | {
1663
+ [key: string]: any;
1664
+ } | null | undefined;
1665
+ };
1666
+ contractMethodId: string;
1667
+ }, {
1668
+ params: {
1669
+ [key: string]: string | number | boolean | any[] | {
1670
+ [key: string]: any;
1671
+ } | null | undefined;
1672
+ };
1673
+ contractMethodId: string;
1674
+ }>;
1675
+ export declare const createContractMethodSchema: z.ZodObject<{
1676
+ businessId: z.ZodString;
1677
+ chainId: z.ZodNumber;
1678
+ contractAddress: z.ZodString;
1679
+ walletId: z.ZodString;
1680
+ name: z.ZodString;
1681
+ description: z.ZodString;
1682
+ functionName: z.ZodString;
1683
+ stateMutability: z.ZodEnum<["nonpayable", "payable", "view", "pure"]>;
1684
+ inputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1685
+ name: z.ZodString;
1686
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1687
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
1688
+ index: z.ZodNumber;
1689
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1690
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1691
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1692
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
1693
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1694
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1695
+ } & {
1696
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
1697
+ }, "strip", z.ZodTypeAny, {
1698
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1699
+ name: string;
1700
+ index: number;
1701
+ value?: string | null | undefined;
1702
+ description?: string | null | undefined;
1703
+ typeSize?: number | null | undefined;
1704
+ typeSize2?: number | null | undefined;
1705
+ isArray?: boolean | null | undefined;
1706
+ arraySize?: number | null | undefined;
1707
+ typeStructId?: string | null | undefined;
1708
+ typeStruct?: any;
1709
+ }, {
1710
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1711
+ name: string;
1712
+ index: number;
1713
+ value?: string | null | undefined;
1714
+ description?: string | null | undefined;
1715
+ typeSize?: number | null | undefined;
1716
+ typeSize2?: number | null | undefined;
1717
+ isArray?: boolean | null | undefined;
1718
+ arraySize?: number | null | undefined;
1719
+ typeStructId?: string | null | undefined;
1720
+ typeStruct?: any;
1721
+ }>, {
1722
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1723
+ name: string;
1724
+ index: number;
1725
+ value?: string | null | undefined;
1726
+ description?: string | null | undefined;
1727
+ typeSize?: number | null | undefined;
1728
+ typeSize2?: number | null | undefined;
1729
+ isArray?: boolean | null | undefined;
1730
+ arraySize?: number | null | undefined;
1731
+ typeStructId?: string | null | undefined;
1732
+ typeStruct?: any;
1733
+ }, {
1734
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1735
+ name: string;
1736
+ index: number;
1737
+ value?: string | null | undefined;
1738
+ description?: string | null | undefined;
1739
+ typeSize?: number | null | undefined;
1740
+ typeSize2?: number | null | undefined;
1741
+ isArray?: boolean | null | undefined;
1742
+ arraySize?: number | null | undefined;
1743
+ typeStructId?: string | null | undefined;
1744
+ typeStruct?: any;
1745
+ }>, {
1746
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1747
+ name: string;
1748
+ index: number;
1749
+ value?: string | null | undefined;
1750
+ description?: string | null | undefined;
1751
+ typeSize?: number | null | undefined;
1752
+ typeSize2?: number | null | undefined;
1753
+ isArray?: boolean | null | undefined;
1754
+ arraySize?: number | null | undefined;
1755
+ typeStructId?: string | null | undefined;
1756
+ typeStruct?: any;
1757
+ }, {
1758
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1759
+ name: string;
1760
+ index: number;
1761
+ value?: string | null | undefined;
1762
+ description?: string | null | undefined;
1763
+ typeSize?: number | null | undefined;
1764
+ typeSize2?: number | null | undefined;
1765
+ isArray?: boolean | null | undefined;
1766
+ arraySize?: number | null | undefined;
1767
+ typeStructId?: string | null | undefined;
1768
+ typeStruct?: any;
1769
+ }>, {
1770
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1771
+ name: string;
1772
+ index: number;
1773
+ value?: string | null | undefined;
1774
+ description?: string | null | undefined;
1775
+ typeSize?: number | null | undefined;
1776
+ typeSize2?: number | null | undefined;
1777
+ isArray?: boolean | null | undefined;
1778
+ arraySize?: number | null | undefined;
1779
+ typeStructId?: string | null | undefined;
1780
+ typeStruct?: any;
1781
+ }, {
1782
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1783
+ name: string;
1784
+ index: number;
1785
+ value?: string | null | undefined;
1786
+ description?: string | null | undefined;
1787
+ typeSize?: number | null | undefined;
1788
+ typeSize2?: number | null | undefined;
1789
+ isArray?: boolean | null | undefined;
1790
+ arraySize?: number | null | undefined;
1791
+ typeStructId?: string | null | undefined;
1792
+ typeStruct?: any;
1793
+ }>, {
1794
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1795
+ name: string;
1796
+ index: number;
1797
+ value?: string | null | undefined;
1798
+ description?: string | null | undefined;
1799
+ typeSize?: number | null | undefined;
1800
+ typeSize2?: number | null | undefined;
1801
+ isArray?: boolean | null | undefined;
1802
+ arraySize?: number | null | undefined;
1803
+ typeStructId?: string | null | undefined;
1804
+ typeStruct?: any;
1805
+ }, {
1806
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1807
+ name: string;
1808
+ index: number;
1809
+ value?: string | null | undefined;
1810
+ description?: string | null | undefined;
1811
+ typeSize?: number | null | undefined;
1812
+ typeSize2?: number | null | undefined;
1813
+ isArray?: boolean | null | undefined;
1814
+ arraySize?: number | null | undefined;
1815
+ typeStructId?: string | null | undefined;
1816
+ typeStruct?: any;
1817
+ }>, "many">;
1818
+ outputs: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
1819
+ name: z.ZodString;
1820
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1821
+ type: z.ZodEnum<["address", "bool", "bytes", "int", "string", "uint", "struct"]>;
1822
+ index: z.ZodNumber;
1823
+ value: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1824
+ typeSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1825
+ typeSize2: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1826
+ isArray: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
1827
+ arraySize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1828
+ typeStructId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1829
+ } & {
1830
+ typeStruct: z.ZodNullable<z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1833
+ name: string;
1834
+ index: number;
1835
+ value?: string | null | undefined;
1836
+ description?: string | null | undefined;
1837
+ typeSize?: number | null | undefined;
1838
+ typeSize2?: number | null | undefined;
1839
+ isArray?: boolean | null | undefined;
1840
+ arraySize?: number | null | undefined;
1841
+ typeStructId?: string | null | undefined;
1842
+ typeStruct?: any;
1843
+ }, {
1844
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1845
+ name: string;
1846
+ index: number;
1847
+ value?: string | null | undefined;
1848
+ description?: string | null | undefined;
1849
+ typeSize?: number | null | undefined;
1850
+ typeSize2?: number | null | undefined;
1851
+ isArray?: boolean | null | undefined;
1852
+ arraySize?: number | null | undefined;
1853
+ typeStructId?: string | null | undefined;
1854
+ typeStruct?: any;
1855
+ }>, {
1856
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1857
+ name: string;
1858
+ index: number;
1859
+ value?: string | null | undefined;
1860
+ description?: string | null | undefined;
1861
+ typeSize?: number | null | undefined;
1862
+ typeSize2?: number | null | undefined;
1863
+ isArray?: boolean | null | undefined;
1864
+ arraySize?: number | null | undefined;
1865
+ typeStructId?: string | null | undefined;
1866
+ typeStruct?: any;
1867
+ }, {
1868
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1869
+ name: string;
1870
+ index: number;
1871
+ value?: string | null | undefined;
1872
+ description?: string | null | undefined;
1873
+ typeSize?: number | null | undefined;
1874
+ typeSize2?: number | null | undefined;
1875
+ isArray?: boolean | null | undefined;
1876
+ arraySize?: number | null | undefined;
1877
+ typeStructId?: string | null | undefined;
1878
+ typeStruct?: any;
1879
+ }>, {
1880
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1881
+ name: string;
1882
+ index: number;
1883
+ value?: string | null | undefined;
1884
+ description?: string | null | undefined;
1885
+ typeSize?: number | null | undefined;
1886
+ typeSize2?: number | null | undefined;
1887
+ isArray?: boolean | null | undefined;
1888
+ arraySize?: number | null | undefined;
1889
+ typeStructId?: string | null | undefined;
1890
+ typeStruct?: any;
1891
+ }, {
1892
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1893
+ name: string;
1894
+ index: number;
1895
+ value?: string | null | undefined;
1896
+ description?: string | null | undefined;
1897
+ typeSize?: number | null | undefined;
1898
+ typeSize2?: number | null | undefined;
1899
+ isArray?: boolean | null | undefined;
1900
+ arraySize?: number | null | undefined;
1901
+ typeStructId?: string | null | undefined;
1902
+ typeStruct?: any;
1903
+ }>, {
1904
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1905
+ name: string;
1906
+ index: number;
1907
+ value?: string | null | undefined;
1908
+ description?: string | null | undefined;
1909
+ typeSize?: number | null | undefined;
1910
+ typeSize2?: number | null | undefined;
1911
+ isArray?: boolean | null | undefined;
1912
+ arraySize?: number | null | undefined;
1913
+ typeStructId?: string | null | undefined;
1914
+ typeStruct?: any;
1915
+ }, {
1916
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1917
+ name: string;
1918
+ index: number;
1919
+ value?: string | null | undefined;
1920
+ description?: string | null | undefined;
1921
+ typeSize?: number | null | undefined;
1922
+ typeSize2?: number | null | undefined;
1923
+ isArray?: boolean | null | undefined;
1924
+ arraySize?: number | null | undefined;
1925
+ typeStructId?: string | null | undefined;
1926
+ typeStruct?: any;
1927
+ }>, {
1928
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1929
+ name: string;
1930
+ index: number;
1931
+ value?: string | null | undefined;
1932
+ description?: string | null | undefined;
1933
+ typeSize?: number | null | undefined;
1934
+ typeSize2?: number | null | undefined;
1935
+ isArray?: boolean | null | undefined;
1936
+ arraySize?: number | null | undefined;
1937
+ typeStructId?: string | null | undefined;
1938
+ typeStruct?: any;
1939
+ }, {
1940
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1941
+ name: string;
1942
+ index: number;
1943
+ value?: string | null | undefined;
1944
+ description?: string | null | undefined;
1945
+ typeSize?: number | null | undefined;
1946
+ typeSize2?: number | null | undefined;
1947
+ isArray?: boolean | null | undefined;
1948
+ arraySize?: number | null | undefined;
1949
+ typeStructId?: string | null | undefined;
1950
+ typeStruct?: any;
1951
+ }>, "many">;
1952
+ callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1953
+ }, "strip", z.ZodTypeAny, {
1954
+ name: string;
1955
+ chainId: number;
1956
+ businessId: string;
1957
+ contractAddress: string;
1958
+ description: string;
1959
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
1960
+ inputs: {
1961
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1962
+ name: string;
1963
+ index: number;
1964
+ value?: string | null | undefined;
1965
+ description?: string | null | undefined;
1966
+ typeSize?: number | null | undefined;
1967
+ typeSize2?: number | null | undefined;
1968
+ isArray?: boolean | null | undefined;
1969
+ arraySize?: number | null | undefined;
1970
+ typeStructId?: string | null | undefined;
1971
+ typeStruct?: any;
1972
+ }[];
1973
+ outputs: {
1974
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1975
+ name: string;
1976
+ index: number;
1977
+ value?: string | null | undefined;
1978
+ description?: string | null | undefined;
1979
+ typeSize?: number | null | undefined;
1980
+ typeSize2?: number | null | undefined;
1981
+ isArray?: boolean | null | undefined;
1982
+ arraySize?: number | null | undefined;
1983
+ typeStructId?: string | null | undefined;
1984
+ typeStruct?: any;
1985
+ }[];
1986
+ functionName: string;
1987
+ walletId: string;
1988
+ callbackUrl?: string | null | undefined;
1989
+ }, {
1990
+ name: string;
1991
+ chainId: number;
1992
+ businessId: string;
1993
+ contractAddress: string;
1994
+ description: string;
1995
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
1996
+ inputs: {
1997
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
1998
+ name: string;
1999
+ index: number;
2000
+ value?: string | null | undefined;
2001
+ description?: string | null | undefined;
2002
+ typeSize?: number | null | undefined;
2003
+ typeSize2?: number | null | undefined;
2004
+ isArray?: boolean | null | undefined;
2005
+ arraySize?: number | null | undefined;
2006
+ typeStructId?: string | null | undefined;
2007
+ typeStruct?: any;
2008
+ }[];
2009
+ outputs: {
2010
+ type: "string" | "address" | "bool" | "bytes" | "int" | "uint" | "struct";
2011
+ name: string;
2012
+ index: number;
2013
+ value?: string | null | undefined;
2014
+ description?: string | null | undefined;
2015
+ typeSize?: number | null | undefined;
2016
+ typeSize2?: number | null | undefined;
2017
+ isArray?: boolean | null | undefined;
2018
+ arraySize?: number | null | undefined;
2019
+ typeStructId?: string | null | undefined;
2020
+ typeStruct?: any;
2021
+ }[];
2022
+ functionName: string;
2023
+ walletId: string;
2024
+ callbackUrl?: string | null | undefined;
2025
+ }>;
2026
+ export declare const importFromABISchema: z.ZodObject<{
2027
+ businessId: z.ZodString;
2028
+ chainId: z.ZodNumber;
2029
+ contractAddress: z.ZodString;
2030
+ walletId: z.ZodString;
2031
+ abi: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2032
+ type: z.ZodLiteral<"function">;
2033
+ name: z.ZodString;
2034
+ stateMutability: z.ZodEnum<["pure", "view", "nonpayable", "payable"]>;
2035
+ inputs: z.ZodArray<z.ZodType<{
2036
+ name?: string;
2037
+ type: string;
2038
+ internalType?: string;
2039
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2040
+ indexed?: boolean;
2041
+ }, z.ZodTypeDef, {
2042
+ name?: string;
2043
+ type: string;
2044
+ internalType?: string;
2045
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2046
+ indexed?: boolean;
2047
+ }>, "many">;
2048
+ outputs: z.ZodArray<z.ZodType<{
2049
+ name?: string;
2050
+ type: string;
2051
+ internalType?: string;
2052
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2053
+ indexed?: boolean;
2054
+ }, z.ZodTypeDef, {
2055
+ name?: string;
2056
+ type: string;
2057
+ internalType?: string;
2058
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2059
+ indexed?: boolean;
2060
+ }>, "many">;
2061
+ }, "strip", z.ZodTypeAny, {
2062
+ type: "function";
2063
+ name: string;
2064
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
2065
+ inputs: {
2066
+ name?: string;
2067
+ type: string;
2068
+ internalType?: string;
2069
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2070
+ indexed?: boolean;
2071
+ }[];
2072
+ outputs: {
2073
+ name?: string;
2074
+ type: string;
2075
+ internalType?: string;
2076
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2077
+ indexed?: boolean;
2078
+ }[];
2079
+ }, {
2080
+ type: "function";
2081
+ name: string;
2082
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
2083
+ inputs: {
2084
+ name?: string;
2085
+ type: string;
2086
+ internalType?: string;
2087
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2088
+ indexed?: boolean;
2089
+ }[];
2090
+ outputs: {
2091
+ name?: string;
2092
+ type: string;
2093
+ internalType?: string;
2094
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2095
+ indexed?: boolean;
2096
+ }[];
2097
+ }>, z.ZodObject<{
2098
+ type: z.ZodLiteral<"event">;
2099
+ name: z.ZodString;
2100
+ inputs: z.ZodArray<z.ZodType<{
2101
+ name?: string;
2102
+ type: string;
2103
+ internalType?: string;
2104
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2105
+ indexed?: boolean;
2106
+ }, z.ZodTypeDef, {
2107
+ name?: string;
2108
+ type: string;
2109
+ internalType?: string;
2110
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2111
+ indexed?: boolean;
2112
+ }>, "many">;
2113
+ anonymous: z.ZodOptional<z.ZodBoolean>;
2114
+ }, "strip", z.ZodTypeAny, {
2115
+ type: "event";
2116
+ name: string;
2117
+ inputs: {
2118
+ name?: string;
2119
+ type: string;
2120
+ internalType?: string;
2121
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2122
+ indexed?: boolean;
2123
+ }[];
2124
+ anonymous?: boolean | undefined;
2125
+ }, {
2126
+ type: "event";
2127
+ name: string;
2128
+ inputs: {
2129
+ name?: string;
2130
+ type: string;
2131
+ internalType?: string;
2132
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2133
+ indexed?: boolean;
2134
+ }[];
2135
+ anonymous?: boolean | undefined;
2136
+ }>, z.ZodObject<{
2137
+ type: z.ZodLiteral<"constructor">;
2138
+ inputs: z.ZodArray<z.ZodType<{
2139
+ name?: string;
2140
+ type: string;
2141
+ internalType?: string;
2142
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2143
+ indexed?: boolean;
2144
+ }, z.ZodTypeDef, {
2145
+ name?: string;
2146
+ type: string;
2147
+ internalType?: string;
2148
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2149
+ indexed?: boolean;
2150
+ }>, "many">;
2151
+ stateMutability: z.ZodEnum<["nonpayable", "payable"]>;
2152
+ }, "strip", z.ZodTypeAny, {
2153
+ type: "constructor";
2154
+ stateMutability: "nonpayable" | "payable";
2155
+ inputs: {
2156
+ name?: string;
2157
+ type: string;
2158
+ internalType?: string;
2159
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2160
+ indexed?: boolean;
2161
+ }[];
2162
+ }, {
2163
+ type: "constructor";
2164
+ stateMutability: "nonpayable" | "payable";
2165
+ inputs: {
2166
+ name?: string;
2167
+ type: string;
2168
+ internalType?: string;
2169
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2170
+ indexed?: boolean;
2171
+ }[];
2172
+ }>, z.ZodObject<{
2173
+ type: z.ZodLiteral<"fallback">;
2174
+ stateMutability: z.ZodEnum<["nonpayable", "payable"]>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ type: "fallback";
2177
+ stateMutability: "nonpayable" | "payable";
2178
+ }, {
2179
+ type: "fallback";
2180
+ stateMutability: "nonpayable" | "payable";
2181
+ }>, z.ZodObject<{
2182
+ type: z.ZodLiteral<"error">;
2183
+ name: z.ZodString;
2184
+ inputs: z.ZodArray<z.ZodType<{
2185
+ name?: string;
2186
+ type: string;
2187
+ internalType?: string;
2188
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2189
+ indexed?: boolean;
2190
+ }, z.ZodTypeDef, {
2191
+ name?: string;
2192
+ type: string;
2193
+ internalType?: string;
2194
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2195
+ indexed?: boolean;
2196
+ }>, "many">;
2197
+ }, "strip", z.ZodTypeAny, {
2198
+ type: "error";
2199
+ name: string;
2200
+ inputs: {
2201
+ name?: string;
2202
+ type: string;
2203
+ internalType?: string;
2204
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2205
+ indexed?: boolean;
2206
+ }[];
2207
+ }, {
2208
+ type: "error";
2209
+ name: string;
2210
+ inputs: {
2211
+ name?: string;
2212
+ type: string;
2213
+ internalType?: string;
2214
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2215
+ indexed?: boolean;
2216
+ }[];
2217
+ }>, z.ZodObject<{
2218
+ type: z.ZodLiteral<"receive">;
2219
+ stateMutability: z.ZodLiteral<"payable">;
2220
+ }, "strip", z.ZodTypeAny, {
2221
+ type: "receive";
2222
+ stateMutability: "payable";
2223
+ }, {
2224
+ type: "receive";
2225
+ stateMutability: "payable";
2226
+ }>]>, "many">;
2227
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2228
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2229
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ chainId: number;
2232
+ businessId: string;
2233
+ contractAddress: string;
2234
+ walletId: string;
2235
+ abi: ({
2236
+ type: "function";
2237
+ name: string;
2238
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
2239
+ inputs: {
2240
+ name?: string;
2241
+ type: string;
2242
+ internalType?: string;
2243
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2244
+ indexed?: boolean;
2245
+ }[];
2246
+ outputs: {
2247
+ name?: string;
2248
+ type: string;
2249
+ internalType?: string;
2250
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2251
+ indexed?: boolean;
2252
+ }[];
2253
+ } | {
2254
+ type: "event";
2255
+ name: string;
2256
+ inputs: {
2257
+ name?: string;
2258
+ type: string;
2259
+ internalType?: string;
2260
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2261
+ indexed?: boolean;
2262
+ }[];
2263
+ anonymous?: boolean | undefined;
2264
+ } | {
2265
+ type: "constructor";
2266
+ stateMutability: "nonpayable" | "payable";
2267
+ inputs: {
2268
+ name?: string;
2269
+ type: string;
2270
+ internalType?: string;
2271
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2272
+ indexed?: boolean;
2273
+ }[];
2274
+ } | {
2275
+ type: "fallback";
2276
+ stateMutability: "nonpayable" | "payable";
2277
+ } | {
2278
+ type: "error";
2279
+ name: string;
2280
+ inputs: {
2281
+ name?: string;
2282
+ type: string;
2283
+ internalType?: string;
2284
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2285
+ indexed?: boolean;
2286
+ }[];
2287
+ } | {
2288
+ type: "receive";
2289
+ stateMutability: "payable";
2290
+ })[];
2291
+ name?: string | null | undefined;
2292
+ description?: string | null | undefined;
2293
+ tags?: string[] | undefined;
2294
+ }, {
2295
+ chainId: number;
2296
+ businessId: string;
2297
+ contractAddress: string;
2298
+ walletId: string;
2299
+ abi: ({
2300
+ type: "function";
2301
+ name: string;
2302
+ stateMutability: "pure" | "view" | "nonpayable" | "payable";
2303
+ inputs: {
2304
+ name?: string;
2305
+ type: string;
2306
+ internalType?: string;
2307
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2308
+ indexed?: boolean;
2309
+ }[];
2310
+ outputs: {
2311
+ name?: string;
2312
+ type: string;
2313
+ internalType?: string;
2314
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2315
+ indexed?: boolean;
2316
+ }[];
2317
+ } | {
2318
+ type: "event";
2319
+ name: string;
2320
+ inputs: {
2321
+ name?: string;
2322
+ type: string;
2323
+ internalType?: string;
2324
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2325
+ indexed?: boolean;
2326
+ }[];
2327
+ anonymous?: boolean | undefined;
2328
+ } | {
2329
+ type: "constructor";
2330
+ stateMutability: "nonpayable" | "payable";
2331
+ inputs: {
2332
+ name?: string;
2333
+ type: string;
2334
+ internalType?: string;
2335
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2336
+ indexed?: boolean;
2337
+ }[];
2338
+ } | {
2339
+ type: "fallback";
2340
+ stateMutability: "nonpayable" | "payable";
2341
+ } | {
2342
+ type: "error";
2343
+ name: string;
2344
+ inputs: {
2345
+ name?: string;
2346
+ type: string;
2347
+ internalType?: string;
2348
+ components?: Array<z.infer<typeof import("./abi.js").abiParameterSchema>>;
2349
+ indexed?: boolean;
2350
+ }[];
2351
+ } | {
2352
+ type: "receive";
2353
+ stateMutability: "payable";
2354
+ })[];
2355
+ name?: string | null | undefined;
2356
+ description?: string | null | undefined;
2357
+ tags?: string[] | undefined;
2358
+ }>;
2359
+ export declare const updateContractMethodSchema: z.ZodObject<{
2360
+ contractMethodId: z.ZodString;
2361
+ params: z.ZodObject<{
2362
+ chainId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2363
+ contractAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2364
+ walletId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2365
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2366
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2367
+ functionName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2368
+ stateMutability: z.ZodNullable<z.ZodOptional<z.ZodEnum<["nonpayable", "payable", "view", "pure"]>>>;
2369
+ callbackUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ name?: string | null | undefined;
2372
+ chainId?: number | null | undefined;
2373
+ contractAddress?: string | null | undefined;
2374
+ description?: string | null | undefined;
2375
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
2376
+ functionName?: string | null | undefined;
2377
+ walletId?: string | null | undefined;
2378
+ callbackUrl?: string | null | undefined;
2379
+ }, {
2380
+ name?: string | null | undefined;
2381
+ chainId?: number | null | undefined;
2382
+ contractAddress?: string | null | undefined;
2383
+ description?: string | null | undefined;
2384
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
2385
+ functionName?: string | null | undefined;
2386
+ walletId?: string | null | undefined;
2387
+ callbackUrl?: string | null | undefined;
2388
+ }>;
2389
+ }, "strip", z.ZodTypeAny, {
2390
+ params: {
2391
+ name?: string | null | undefined;
2392
+ chainId?: number | null | undefined;
2393
+ contractAddress?: string | null | undefined;
2394
+ description?: string | null | undefined;
2395
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
2396
+ functionName?: string | null | undefined;
2397
+ walletId?: string | null | undefined;
2398
+ callbackUrl?: string | null | undefined;
2399
+ };
2400
+ contractMethodId: string;
2401
+ }, {
2402
+ params: {
2403
+ name?: string | null | undefined;
2404
+ chainId?: number | null | undefined;
2405
+ contractAddress?: string | null | undefined;
2406
+ description?: string | null | undefined;
2407
+ stateMutability?: "pure" | "view" | "nonpayable" | "payable" | null | undefined;
2408
+ functionName?: string | null | undefined;
2409
+ walletId?: string | null | undefined;
2410
+ callbackUrl?: string | null | undefined;
2411
+ };
2412
+ contractMethodId: string;
2413
+ }>;
2414
+ export declare const deleteContractMethodSchema: z.ZodObject<{
2415
+ contractMethodId: z.ZodString;
2416
+ }, "strip", z.ZodTypeAny, {
2417
+ contractMethodId: string;
2418
+ }, {
2419
+ contractMethodId: string;
2420
+ }>;
2421
+ export declare const restoreContractMethodSchema: z.ZodObject<{
2422
+ contractMethodId: z.ZodString;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ contractMethodId: string;
2425
+ }, {
2426
+ contractMethodId: string;
2427
+ }>;
2428
+ export declare const contractFunctionParamDescriptionSchema: z.ZodObject<{
2429
+ index: z.ZodNumber;
2430
+ name: z.ZodString;
2431
+ description: z.ZodString;
2432
+ tags: z.ZodArray<z.ZodString, "many">;
2433
+ }, "strip", z.ZodTypeAny, {
2434
+ name: string;
2435
+ description: string;
2436
+ index: number;
2437
+ tags: string[];
2438
+ }, {
2439
+ name: string;
2440
+ description: string;
2441
+ index: number;
2442
+ tags: string[];
2443
+ }>;
2444
+ export declare const contractFunctionPromptSchema: z.ZodObject<{
2445
+ name: z.ZodString;
2446
+ description: z.ZodString;
2447
+ tags: z.ZodArray<z.ZodString, "many">;
2448
+ inputs: z.ZodArray<z.ZodObject<{
2449
+ index: z.ZodNumber;
2450
+ name: z.ZodString;
2451
+ description: z.ZodString;
2452
+ tags: z.ZodArray<z.ZodString, "many">;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ name: string;
2455
+ description: string;
2456
+ index: number;
2457
+ tags: string[];
2458
+ }, {
2459
+ name: string;
2460
+ description: string;
2461
+ index: number;
2462
+ tags: string[];
2463
+ }>, "many">;
2464
+ outputs: z.ZodArray<z.ZodObject<{
2465
+ index: z.ZodNumber;
2466
+ name: z.ZodString;
2467
+ description: z.ZodString;
2468
+ tags: z.ZodArray<z.ZodString, "many">;
2469
+ }, "strip", z.ZodTypeAny, {
2470
+ name: string;
2471
+ description: string;
2472
+ index: number;
2473
+ tags: string[];
2474
+ }, {
2475
+ name: string;
2476
+ description: string;
2477
+ index: number;
2478
+ tags: string[];
2479
+ }>, "many">;
2480
+ }, "strip", z.ZodTypeAny, {
2481
+ name: string;
2482
+ description: string;
2483
+ inputs: {
2484
+ name: string;
2485
+ description: string;
2486
+ index: number;
2487
+ tags: string[];
2488
+ }[];
2489
+ outputs: {
2490
+ name: string;
2491
+ description: string;
2492
+ index: number;
2493
+ tags: string[];
2494
+ }[];
2495
+ tags: string[];
2496
+ }, {
2497
+ name: string;
2498
+ description: string;
2499
+ inputs: {
2500
+ name: string;
2501
+ description: string;
2502
+ index: number;
2503
+ tags: string[];
2504
+ }[];
2505
+ outputs: {
2506
+ name: string;
2507
+ description: string;
2508
+ index: number;
2509
+ tags: string[];
2510
+ }[];
2511
+ tags: string[];
2512
+ }>;
2513
+ export declare const promptSchema: z.ZodObject<{
2514
+ id: z.ZodString;
2515
+ userId: z.ZodString;
2516
+ chainId: z.ZodNumber;
2517
+ contractAddress: z.ZodString;
2518
+ name: z.ZodString;
2519
+ description: z.ZodString;
2520
+ tags: z.ZodArray<z.ZodString, "many">;
2521
+ updated: z.ZodNumber;
2522
+ created: z.ZodNumber;
2523
+ }, "strip", z.ZodTypeAny, {
2524
+ name: string;
2525
+ chainId: number;
2526
+ id: string;
2527
+ contractAddress: string;
2528
+ description: string;
2529
+ updated: number;
2530
+ created: number;
2531
+ tags: string[];
2532
+ userId: string;
2533
+ }, {
2534
+ name: string;
2535
+ chainId: number;
2536
+ id: string;
2537
+ contractAddress: string;
2538
+ description: string;
2539
+ updated: number;
2540
+ created: number;
2541
+ tags: string[];
2542
+ userId: string;
2543
+ }>;
2544
+ export declare const fullPromptSchema: z.ZodObject<{
2545
+ id: z.ZodString;
2546
+ userId: z.ZodString;
2547
+ chainId: z.ZodNumber;
2548
+ contractAddress: z.ZodString;
2549
+ name: z.ZodString;
2550
+ description: z.ZodString;
2551
+ tags: z.ZodArray<z.ZodString, "many">;
2552
+ updated: z.ZodNumber;
2553
+ created: z.ZodNumber;
2554
+ } & {
2555
+ functions: z.ZodArray<z.ZodObject<{
2556
+ name: z.ZodString;
2557
+ description: z.ZodString;
2558
+ tags: z.ZodArray<z.ZodString, "many">;
2559
+ inputs: z.ZodArray<z.ZodObject<{
2560
+ index: z.ZodNumber;
2561
+ name: z.ZodString;
2562
+ description: z.ZodString;
2563
+ tags: z.ZodArray<z.ZodString, "many">;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ name: string;
2566
+ description: string;
2567
+ index: number;
2568
+ tags: string[];
2569
+ }, {
2570
+ name: string;
2571
+ description: string;
2572
+ index: number;
2573
+ tags: string[];
2574
+ }>, "many">;
2575
+ outputs: z.ZodArray<z.ZodObject<{
2576
+ index: z.ZodNumber;
2577
+ name: z.ZodString;
2578
+ description: z.ZodString;
2579
+ tags: z.ZodArray<z.ZodString, "many">;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ name: string;
2582
+ description: string;
2583
+ index: number;
2584
+ tags: string[];
2585
+ }, {
2586
+ name: string;
2587
+ description: string;
2588
+ index: number;
2589
+ tags: string[];
2590
+ }>, "many">;
2591
+ }, "strip", z.ZodTypeAny, {
2592
+ name: string;
2593
+ description: string;
2594
+ inputs: {
2595
+ name: string;
2596
+ description: string;
2597
+ index: number;
2598
+ tags: string[];
2599
+ }[];
2600
+ outputs: {
2601
+ name: string;
2602
+ description: string;
2603
+ index: number;
2604
+ tags: string[];
2605
+ }[];
2606
+ tags: string[];
2607
+ }, {
2608
+ name: string;
2609
+ description: string;
2610
+ inputs: {
2611
+ name: string;
2612
+ description: string;
2613
+ index: number;
2614
+ tags: string[];
2615
+ }[];
2616
+ outputs: {
2617
+ name: string;
2618
+ description: string;
2619
+ index: number;
2620
+ tags: string[];
2621
+ }[];
2622
+ tags: string[];
2623
+ }>, "many">;
2624
+ }, "strip", z.ZodTypeAny, {
2625
+ name: string;
2626
+ chainId: number;
2627
+ id: string;
2628
+ contractAddress: string;
2629
+ description: string;
2630
+ updated: number;
2631
+ created: number;
2632
+ tags: string[];
2633
+ userId: string;
2634
+ functions: {
2635
+ name: string;
2636
+ description: string;
2637
+ inputs: {
2638
+ name: string;
2639
+ description: string;
2640
+ index: number;
2641
+ tags: string[];
2642
+ }[];
2643
+ outputs: {
2644
+ name: string;
2645
+ description: string;
2646
+ index: number;
2647
+ tags: string[];
2648
+ }[];
2649
+ tags: string[];
2650
+ }[];
2651
+ }, {
2652
+ name: string;
2653
+ chainId: number;
2654
+ id: string;
2655
+ contractAddress: string;
2656
+ description: string;
2657
+ updated: number;
2658
+ created: number;
2659
+ tags: string[];
2660
+ userId: string;
2661
+ functions: {
2662
+ name: string;
2663
+ description: string;
2664
+ inputs: {
2665
+ name: string;
2666
+ description: string;
2667
+ index: number;
2668
+ tags: string[];
2669
+ }[];
2670
+ outputs: {
2671
+ name: string;
2672
+ description: string;
2673
+ index: number;
2674
+ tags: string[];
2675
+ }[];
2676
+ tags: string[];
2677
+ }[];
2678
+ }>;
2679
+ export declare const contractSearchSchema: z.ZodObject<{
2680
+ query: z.ZodString;
2681
+ chainId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2682
+ }, "strip", z.ZodTypeAny, {
2683
+ query: string;
2684
+ chainId?: number | null | undefined;
2685
+ }, {
2686
+ query: string;
2687
+ chainId?: number | null | undefined;
2688
+ }>;
2689
+ export declare const contractContractMethodsSchema: z.ZodObject<{
2690
+ businessId: z.ZodString;
2691
+ chainId: z.ZodNumber;
2692
+ contractAddress: z.ZodString;
2693
+ walletId: z.ZodString;
2694
+ promptId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2695
+ }, "strip", z.ZodTypeAny, {
2696
+ chainId: number;
2697
+ businessId: string;
2698
+ contractAddress: string;
2699
+ walletId: string;
2700
+ promptId?: string | null | undefined;
2701
+ }, {
2702
+ chainId: number;
2703
+ businessId: string;
2704
+ contractAddress: string;
2705
+ walletId: string;
2706
+ promptId?: string | null | undefined;
2707
+ }>;
2708
+ export declare const contractMethodTestResultSchema: z.ZodObject<{
2709
+ success: z.ZodBoolean;
2710
+ result: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
2711
+ error: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>;
2712
+ }, "strip", z.ZodTypeAny, {
2713
+ error: Record<string, any> | null;
2714
+ success: boolean;
2715
+ result: Record<string, any> | null;
2716
+ }, {
2717
+ error: Record<string, any> | null;
2718
+ success: boolean;
2719
+ result: Record<string, any> | null;
2720
+ }>;
2721
+ export declare const contractMethodEncodeResultSchema: z.ZodObject<{
2722
+ data: z.ZodString;
2723
+ }, "strip", z.ZodTypeAny, {
2724
+ data: string;
2725
+ }, {
2726
+ data: string;
2727
+ }>;
2728
+ export declare const assureContractMethodsFromPromptSchema: z.ZodObject<{
2729
+ businessId: z.ZodString;
2730
+ chainId: z.ZodNumber;
2731
+ contractAddress: z.ZodString;
2732
+ walletId: z.ZodString;
2733
+ promptId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ chainId: number;
2736
+ businessId: string;
2737
+ contractAddress: string;
2738
+ walletId: string;
2739
+ promptId?: string | null | undefined;
2740
+ }, {
2741
+ chainId: number;
2742
+ businessId: string;
2743
+ contractAddress: string;
2744
+ walletId: string;
2745
+ promptId?: string | null | undefined;
2746
+ }>;