@lit-protocol/vincent-ability-evm-transaction-signer 0.0.1-ea

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 (46) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/CONTRIBUTING.md +88 -0
  3. package/README.md +166 -0
  4. package/dist/package.json +30 -0
  5. package/dist/src/generated/vincent-ability-metadata.json +3 -0
  6. package/dist/src/generated/vincent-bundled-ability.d.ts +971 -0
  7. package/dist/src/generated/vincent-bundled-ability.d.ts.map +1 -0
  8. package/dist/src/generated/vincent-bundled-ability.js +15 -0
  9. package/dist/src/generated/vincent-bundled-ability.js.map +1 -0
  10. package/dist/src/generated/vincent-bundled-tool.d.ts +971 -0
  11. package/dist/src/generated/vincent-bundled-tool.d.ts.map +1 -0
  12. package/dist/src/generated/vincent-bundled-tool.js +15 -0
  13. package/dist/src/generated/vincent-bundled-tool.js.map +1 -0
  14. package/dist/src/index.d.ts +2 -0
  15. package/dist/src/index.d.ts.map +1 -0
  16. package/dist/src/index.js +6 -0
  17. package/dist/src/index.js.map +1 -0
  18. package/dist/src/lib/lit-action-helpers/build-transaction-for-signing.d.ts +6 -0
  19. package/dist/src/lib/lit-action-helpers/build-transaction-for-signing.d.ts.map +1 -0
  20. package/dist/src/lib/lit-action-helpers/build-transaction-for-signing.js +32 -0
  21. package/dist/src/lib/lit-action-helpers/build-transaction-for-signing.js.map +1 -0
  22. package/dist/src/lib/lit-action-helpers/index.d.ts +4 -0
  23. package/dist/src/lib/lit-action-helpers/index.d.ts.map +1 -0
  24. package/dist/src/lib/lit-action-helpers/index.js +10 -0
  25. package/dist/src/lib/lit-action-helpers/index.js.map +1 -0
  26. package/dist/src/lib/lit-action-helpers/serialize-transaction-for-response.d.ts +47 -0
  27. package/dist/src/lib/lit-action-helpers/serialize-transaction-for-response.d.ts.map +1 -0
  28. package/dist/src/lib/lit-action-helpers/serialize-transaction-for-response.js +76 -0
  29. package/dist/src/lib/lit-action-helpers/serialize-transaction-for-response.js.map +1 -0
  30. package/dist/src/lib/lit-action-helpers/sign-tx.d.ts +3 -0
  31. package/dist/src/lib/lit-action-helpers/sign-tx.d.ts.map +1 -0
  32. package/dist/src/lib/lit-action-helpers/sign-tx.js +28 -0
  33. package/dist/src/lib/lit-action-helpers/sign-tx.js.map +1 -0
  34. package/dist/src/lib/lit-action.d.ts +2 -0
  35. package/dist/src/lib/lit-action.d.ts.map +1 -0
  36. package/dist/src/lib/lit-action.js +16 -0
  37. package/dist/src/lib/lit-action.js.map +1 -0
  38. package/dist/src/lib/schemas.d.ts +185 -0
  39. package/dist/src/lib/schemas.d.ts.map +1 -0
  40. package/dist/src/lib/schemas.js +62 -0
  41. package/dist/src/lib/schemas.js.map +1 -0
  42. package/dist/src/lib/vincent-ability.d.ts +968 -0
  43. package/dist/src/lib/vincent-ability.d.ts.map +1 -0
  44. package/dist/src/lib/vincent-ability.js +66 -0
  45. package/dist/src/lib/vincent-ability.js.map +1 -0
  46. package/package.json +29 -0
@@ -0,0 +1,968 @@
1
+ export declare const vincentAbility: import("@lit-protocol/vincent-ability-sdk").VincentAbility<import("zod").ZodObject<{
2
+ serializedTransaction: import("zod").ZodString;
3
+ }, "strip", import("zod").ZodTypeAny, {
4
+ serializedTransaction: string;
5
+ }, {
6
+ serializedTransaction: string;
7
+ }>, string, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/abilityCore/helpers").AbilityPolicyMap<readonly [{
8
+ vincentPolicy: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").VincentPolicy<"@lit-protocol/vincent-policy-contract-whitelist", import("zod").ZodObject<{
9
+ serializedTransaction: import("zod").ZodString;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ serializedTransaction: string;
12
+ }, {
13
+ serializedTransaction: string;
14
+ }>, import("zod").ZodObject<{
15
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
16
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
17
+ }, "strip", import("zod").ZodTypeAny, {
18
+ functionSelectors: string[];
19
+ }, {
20
+ functionSelectors: string[];
21
+ }>>>;
22
+ }, "strip", import("zod").ZodTypeAny, {
23
+ whitelist: Record<string, Record<string, {
24
+ functionSelectors: string[];
25
+ }>>;
26
+ }, {
27
+ whitelist: Record<string, Record<string, {
28
+ functionSelectors: string[];
29
+ }>>;
30
+ }>, import("zod").ZodObject<{
31
+ chainId: import("zod").ZodNumber;
32
+ contractAddress: import("zod").ZodString;
33
+ functionSelector: import("zod").ZodString;
34
+ wildcardUsed: import("zod").ZodBoolean;
35
+ }, "strip", import("zod").ZodTypeAny, {
36
+ chainId: number;
37
+ contractAddress: string;
38
+ functionSelector: string;
39
+ wildcardUsed: boolean;
40
+ }, {
41
+ chainId: number;
42
+ contractAddress: string;
43
+ functionSelector: string;
44
+ wildcardUsed: boolean;
45
+ }>, import("zod").ZodObject<{
46
+ reason: import("zod").ZodString;
47
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
48
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
49
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
50
+ }, "strip", import("zod").ZodTypeAny, {
51
+ reason: string;
52
+ chainId?: number | undefined;
53
+ contractAddress?: string | undefined;
54
+ functionSelector?: string | undefined;
55
+ }, {
56
+ reason: string;
57
+ chainId?: number | undefined;
58
+ contractAddress?: string | undefined;
59
+ functionSelector?: string | undefined;
60
+ }>, import("zod").ZodObject<{
61
+ chainId: import("zod").ZodNumber;
62
+ contractAddress: import("zod").ZodString;
63
+ functionSelector: import("zod").ZodString;
64
+ wildcardUsed: import("zod").ZodBoolean;
65
+ }, "strip", import("zod").ZodTypeAny, {
66
+ chainId: number;
67
+ contractAddress: string;
68
+ functionSelector: string;
69
+ wildcardUsed: boolean;
70
+ }, {
71
+ chainId: number;
72
+ contractAddress: string;
73
+ functionSelector: string;
74
+ wildcardUsed: boolean;
75
+ }>, import("zod").ZodObject<{
76
+ reason: import("zod").ZodString;
77
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
78
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
79
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
80
+ }, "strip", import("zod").ZodTypeAny, {
81
+ reason: string;
82
+ chainId?: number | undefined;
83
+ contractAddress?: string | undefined;
84
+ functionSelector?: string | undefined;
85
+ }, {
86
+ reason: string;
87
+ chainId?: number | undefined;
88
+ contractAddress?: string | undefined;
89
+ functionSelector?: string | undefined;
90
+ }>, import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
91
+ serializedTransaction: import("zod").ZodString;
92
+ }, "strip", import("zod").ZodTypeAny, {
93
+ serializedTransaction: string;
94
+ }, {
95
+ serializedTransaction: string;
96
+ }>, import("zod").ZodObject<{
97
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
98
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
99
+ }, "strip", import("zod").ZodTypeAny, {
100
+ functionSelectors: string[];
101
+ }, {
102
+ functionSelectors: string[];
103
+ }>>>;
104
+ }, "strip", import("zod").ZodTypeAny, {
105
+ whitelist: Record<string, Record<string, {
106
+ functionSelectors: string[];
107
+ }>>;
108
+ }, {
109
+ whitelist: Record<string, Record<string, {
110
+ functionSelectors: string[];
111
+ }>>;
112
+ }>, import("zod").ZodObject<{
113
+ chainId: import("zod").ZodNumber;
114
+ contractAddress: import("zod").ZodString;
115
+ functionSelector: import("zod").ZodString;
116
+ wildcardUsed: import("zod").ZodBoolean;
117
+ }, "strip", import("zod").ZodTypeAny, {
118
+ chainId: number;
119
+ contractAddress: string;
120
+ functionSelector: string;
121
+ wildcardUsed: boolean;
122
+ }, {
123
+ chainId: number;
124
+ contractAddress: string;
125
+ functionSelector: string;
126
+ wildcardUsed: boolean;
127
+ }>, import("zod").ZodObject<{
128
+ reason: import("zod").ZodString;
129
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
130
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
131
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
132
+ }, "strip", import("zod").ZodTypeAny, {
133
+ reason: string;
134
+ chainId?: number | undefined;
135
+ contractAddress?: string | undefined;
136
+ functionSelector?: string | undefined;
137
+ }, {
138
+ reason: string;
139
+ chainId?: number | undefined;
140
+ contractAddress?: string | undefined;
141
+ functionSelector?: string | undefined;
142
+ }>>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
143
+ serializedTransaction: import("zod").ZodString;
144
+ }, "strip", import("zod").ZodTypeAny, {
145
+ serializedTransaction: string;
146
+ }, {
147
+ serializedTransaction: string;
148
+ }>, import("zod").ZodObject<{
149
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
150
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
151
+ }, "strip", import("zod").ZodTypeAny, {
152
+ functionSelectors: string[];
153
+ }, {
154
+ functionSelectors: string[];
155
+ }>>>;
156
+ }, "strip", import("zod").ZodTypeAny, {
157
+ whitelist: Record<string, Record<string, {
158
+ functionSelectors: string[];
159
+ }>>;
160
+ }, {
161
+ whitelist: Record<string, Record<string, {
162
+ functionSelectors: string[];
163
+ }>>;
164
+ }>, import("zod").ZodObject<{
165
+ chainId: import("zod").ZodNumber;
166
+ contractAddress: import("zod").ZodString;
167
+ functionSelector: import("zod").ZodString;
168
+ wildcardUsed: import("zod").ZodBoolean;
169
+ }, "strip", import("zod").ZodTypeAny, {
170
+ chainId: number;
171
+ contractAddress: string;
172
+ functionSelector: string;
173
+ wildcardUsed: boolean;
174
+ }, {
175
+ chainId: number;
176
+ contractAddress: string;
177
+ functionSelector: string;
178
+ wildcardUsed: boolean;
179
+ }>, import("zod").ZodObject<{
180
+ reason: import("zod").ZodString;
181
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
182
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
183
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
184
+ }, "strip", import("zod").ZodTypeAny, {
185
+ reason: string;
186
+ chainId?: number | undefined;
187
+ contractAddress?: string | undefined;
188
+ functionSelector?: string | undefined;
189
+ }, {
190
+ reason: string;
191
+ chainId?: number | undefined;
192
+ contractAddress?: string | undefined;
193
+ functionSelector?: string | undefined;
194
+ }>>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").CommitLifecycleFunction<import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined>>;
195
+ ipfsCid: string;
196
+ abilityParameterMappings: Partial<{
197
+ serializedTransaction: "serializedTransaction";
198
+ }>;
199
+ vincentAbilityApiVersion: string;
200
+ __schemaTypes: {
201
+ policyAbilityParamsSchema: import("zod").ZodObject<{
202
+ serializedTransaction: import("zod").ZodString;
203
+ }, "strip", import("zod").ZodTypeAny, {
204
+ serializedTransaction: string;
205
+ }, {
206
+ serializedTransaction: string;
207
+ }>;
208
+ userParamsSchema: import("zod").ZodObject<{
209
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
210
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
211
+ }, "strip", import("zod").ZodTypeAny, {
212
+ functionSelectors: string[];
213
+ }, {
214
+ functionSelectors: string[];
215
+ }>>>;
216
+ }, "strip", import("zod").ZodTypeAny, {
217
+ whitelist: Record<string, Record<string, {
218
+ functionSelectors: string[];
219
+ }>>;
220
+ }, {
221
+ whitelist: Record<string, Record<string, {
222
+ functionSelectors: string[];
223
+ }>>;
224
+ }>;
225
+ evalAllowResultSchema: import("zod").ZodObject<{
226
+ chainId: import("zod").ZodNumber;
227
+ contractAddress: import("zod").ZodString;
228
+ functionSelector: import("zod").ZodString;
229
+ wildcardUsed: import("zod").ZodBoolean;
230
+ }, "strip", import("zod").ZodTypeAny, {
231
+ chainId: number;
232
+ contractAddress: string;
233
+ functionSelector: string;
234
+ wildcardUsed: boolean;
235
+ }, {
236
+ chainId: number;
237
+ contractAddress: string;
238
+ functionSelector: string;
239
+ wildcardUsed: boolean;
240
+ }>;
241
+ evalDenyResultSchema: import("zod").ZodObject<{
242
+ reason: import("zod").ZodString;
243
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
244
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
245
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
246
+ }, "strip", import("zod").ZodTypeAny, {
247
+ reason: string;
248
+ chainId?: number | undefined;
249
+ contractAddress?: string | undefined;
250
+ functionSelector?: string | undefined;
251
+ }, {
252
+ reason: string;
253
+ chainId?: number | undefined;
254
+ contractAddress?: string | undefined;
255
+ functionSelector?: string | undefined;
256
+ }>;
257
+ precheckAllowResultSchema: import("zod").ZodObject<{
258
+ chainId: import("zod").ZodNumber;
259
+ contractAddress: import("zod").ZodString;
260
+ functionSelector: import("zod").ZodString;
261
+ wildcardUsed: import("zod").ZodBoolean;
262
+ }, "strip", import("zod").ZodTypeAny, {
263
+ chainId: number;
264
+ contractAddress: string;
265
+ functionSelector: string;
266
+ wildcardUsed: boolean;
267
+ }, {
268
+ chainId: number;
269
+ contractAddress: string;
270
+ functionSelector: string;
271
+ wildcardUsed: boolean;
272
+ }>;
273
+ precheckDenyResultSchema: import("zod").ZodObject<{
274
+ reason: import("zod").ZodString;
275
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
276
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
277
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
278
+ }, "strip", import("zod").ZodTypeAny, {
279
+ reason: string;
280
+ chainId?: number | undefined;
281
+ contractAddress?: string | undefined;
282
+ functionSelector?: string | undefined;
283
+ }, {
284
+ reason: string;
285
+ chainId?: number | undefined;
286
+ contractAddress?: string | undefined;
287
+ functionSelector?: string | undefined;
288
+ }>;
289
+ commitParamsSchema: import("zod").ZodUndefined;
290
+ commitAllowResultSchema: import("zod").ZodUndefined;
291
+ commitDenyResultSchema: import("zod").ZodUndefined;
292
+ evaluate: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
293
+ serializedTransaction: import("zod").ZodString;
294
+ }, "strip", import("zod").ZodTypeAny, {
295
+ serializedTransaction: string;
296
+ }, {
297
+ serializedTransaction: string;
298
+ }>, import("zod").ZodObject<{
299
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
300
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
301
+ }, "strip", import("zod").ZodTypeAny, {
302
+ functionSelectors: string[];
303
+ }, {
304
+ functionSelectors: string[];
305
+ }>>>;
306
+ }, "strip", import("zod").ZodTypeAny, {
307
+ whitelist: Record<string, Record<string, {
308
+ functionSelectors: string[];
309
+ }>>;
310
+ }, {
311
+ whitelist: Record<string, Record<string, {
312
+ functionSelectors: string[];
313
+ }>>;
314
+ }>, import("zod").ZodObject<{
315
+ chainId: import("zod").ZodNumber;
316
+ contractAddress: import("zod").ZodString;
317
+ functionSelector: import("zod").ZodString;
318
+ wildcardUsed: import("zod").ZodBoolean;
319
+ }, "strip", import("zod").ZodTypeAny, {
320
+ chainId: number;
321
+ contractAddress: string;
322
+ functionSelector: string;
323
+ wildcardUsed: boolean;
324
+ }, {
325
+ chainId: number;
326
+ contractAddress: string;
327
+ functionSelector: string;
328
+ wildcardUsed: boolean;
329
+ }>, import("zod").ZodObject<{
330
+ reason: import("zod").ZodString;
331
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
332
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
333
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
334
+ }, "strip", import("zod").ZodTypeAny, {
335
+ reason: string;
336
+ chainId?: number | undefined;
337
+ contractAddress?: string | undefined;
338
+ functionSelector?: string | undefined;
339
+ }, {
340
+ reason: string;
341
+ chainId?: number | undefined;
342
+ contractAddress?: string | undefined;
343
+ functionSelector?: string | undefined;
344
+ }>>;
345
+ precheck: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
346
+ serializedTransaction: import("zod").ZodString;
347
+ }, "strip", import("zod").ZodTypeAny, {
348
+ serializedTransaction: string;
349
+ }, {
350
+ serializedTransaction: string;
351
+ }>, import("zod").ZodObject<{
352
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
353
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
354
+ }, "strip", import("zod").ZodTypeAny, {
355
+ functionSelectors: string[];
356
+ }, {
357
+ functionSelectors: string[];
358
+ }>>>;
359
+ }, "strip", import("zod").ZodTypeAny, {
360
+ whitelist: Record<string, Record<string, {
361
+ functionSelectors: string[];
362
+ }>>;
363
+ }, {
364
+ whitelist: Record<string, Record<string, {
365
+ functionSelectors: string[];
366
+ }>>;
367
+ }>, import("zod").ZodObject<{
368
+ chainId: import("zod").ZodNumber;
369
+ contractAddress: import("zod").ZodString;
370
+ functionSelector: import("zod").ZodString;
371
+ wildcardUsed: import("zod").ZodBoolean;
372
+ }, "strip", import("zod").ZodTypeAny, {
373
+ chainId: number;
374
+ contractAddress: string;
375
+ functionSelector: string;
376
+ wildcardUsed: boolean;
377
+ }, {
378
+ chainId: number;
379
+ contractAddress: string;
380
+ functionSelector: string;
381
+ wildcardUsed: boolean;
382
+ }>, import("zod").ZodObject<{
383
+ reason: import("zod").ZodString;
384
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
385
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
386
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
387
+ }, "strip", import("zod").ZodTypeAny, {
388
+ reason: string;
389
+ chainId?: number | undefined;
390
+ contractAddress?: string | undefined;
391
+ functionSelector?: string | undefined;
392
+ }, {
393
+ reason: string;
394
+ chainId?: number | undefined;
395
+ contractAddress?: string | undefined;
396
+ functionSelector?: string | undefined;
397
+ }>> | undefined;
398
+ commit: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").CommitLifecycleFunction<import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined> | undefined;
399
+ };
400
+ }], "@lit-protocol/vincent-policy-contract-whitelist">, {
401
+ "@lit-protocol/vincent-policy-contract-whitelist": {
402
+ vincentPolicy: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").VincentPolicy<"@lit-protocol/vincent-policy-contract-whitelist", import("zod").ZodObject<{
403
+ serializedTransaction: import("zod").ZodString;
404
+ }, "strip", import("zod").ZodTypeAny, {
405
+ serializedTransaction: string;
406
+ }, {
407
+ serializedTransaction: string;
408
+ }>, import("zod").ZodObject<{
409
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
410
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
411
+ }, "strip", import("zod").ZodTypeAny, {
412
+ functionSelectors: string[];
413
+ }, {
414
+ functionSelectors: string[];
415
+ }>>>;
416
+ }, "strip", import("zod").ZodTypeAny, {
417
+ whitelist: Record<string, Record<string, {
418
+ functionSelectors: string[];
419
+ }>>;
420
+ }, {
421
+ whitelist: Record<string, Record<string, {
422
+ functionSelectors: string[];
423
+ }>>;
424
+ }>, import("zod").ZodObject<{
425
+ chainId: import("zod").ZodNumber;
426
+ contractAddress: import("zod").ZodString;
427
+ functionSelector: import("zod").ZodString;
428
+ wildcardUsed: import("zod").ZodBoolean;
429
+ }, "strip", import("zod").ZodTypeAny, {
430
+ chainId: number;
431
+ contractAddress: string;
432
+ functionSelector: string;
433
+ wildcardUsed: boolean;
434
+ }, {
435
+ chainId: number;
436
+ contractAddress: string;
437
+ functionSelector: string;
438
+ wildcardUsed: boolean;
439
+ }>, import("zod").ZodObject<{
440
+ reason: import("zod").ZodString;
441
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
442
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
443
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
444
+ }, "strip", import("zod").ZodTypeAny, {
445
+ reason: string;
446
+ chainId?: number | undefined;
447
+ contractAddress?: string | undefined;
448
+ functionSelector?: string | undefined;
449
+ }, {
450
+ reason: string;
451
+ chainId?: number | undefined;
452
+ contractAddress?: string | undefined;
453
+ functionSelector?: string | undefined;
454
+ }>, import("zod").ZodObject<{
455
+ chainId: import("zod").ZodNumber;
456
+ contractAddress: import("zod").ZodString;
457
+ functionSelector: import("zod").ZodString;
458
+ wildcardUsed: import("zod").ZodBoolean;
459
+ }, "strip", import("zod").ZodTypeAny, {
460
+ chainId: number;
461
+ contractAddress: string;
462
+ functionSelector: string;
463
+ wildcardUsed: boolean;
464
+ }, {
465
+ chainId: number;
466
+ contractAddress: string;
467
+ functionSelector: string;
468
+ wildcardUsed: boolean;
469
+ }>, import("zod").ZodObject<{
470
+ reason: import("zod").ZodString;
471
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
472
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
473
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
474
+ }, "strip", import("zod").ZodTypeAny, {
475
+ reason: string;
476
+ chainId?: number | undefined;
477
+ contractAddress?: string | undefined;
478
+ functionSelector?: string | undefined;
479
+ }, {
480
+ reason: string;
481
+ chainId?: number | undefined;
482
+ contractAddress?: string | undefined;
483
+ functionSelector?: string | undefined;
484
+ }>, import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
485
+ serializedTransaction: import("zod").ZodString;
486
+ }, "strip", import("zod").ZodTypeAny, {
487
+ serializedTransaction: string;
488
+ }, {
489
+ serializedTransaction: string;
490
+ }>, import("zod").ZodObject<{
491
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
492
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
493
+ }, "strip", import("zod").ZodTypeAny, {
494
+ functionSelectors: string[];
495
+ }, {
496
+ functionSelectors: string[];
497
+ }>>>;
498
+ }, "strip", import("zod").ZodTypeAny, {
499
+ whitelist: Record<string, Record<string, {
500
+ functionSelectors: string[];
501
+ }>>;
502
+ }, {
503
+ whitelist: Record<string, Record<string, {
504
+ functionSelectors: string[];
505
+ }>>;
506
+ }>, import("zod").ZodObject<{
507
+ chainId: import("zod").ZodNumber;
508
+ contractAddress: import("zod").ZodString;
509
+ functionSelector: import("zod").ZodString;
510
+ wildcardUsed: import("zod").ZodBoolean;
511
+ }, "strip", import("zod").ZodTypeAny, {
512
+ chainId: number;
513
+ contractAddress: string;
514
+ functionSelector: string;
515
+ wildcardUsed: boolean;
516
+ }, {
517
+ chainId: number;
518
+ contractAddress: string;
519
+ functionSelector: string;
520
+ wildcardUsed: boolean;
521
+ }>, import("zod").ZodObject<{
522
+ reason: import("zod").ZodString;
523
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
524
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
525
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
526
+ }, "strip", import("zod").ZodTypeAny, {
527
+ reason: string;
528
+ chainId?: number | undefined;
529
+ contractAddress?: string | undefined;
530
+ functionSelector?: string | undefined;
531
+ }, {
532
+ reason: string;
533
+ chainId?: number | undefined;
534
+ contractAddress?: string | undefined;
535
+ functionSelector?: string | undefined;
536
+ }>>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
537
+ serializedTransaction: import("zod").ZodString;
538
+ }, "strip", import("zod").ZodTypeAny, {
539
+ serializedTransaction: string;
540
+ }, {
541
+ serializedTransaction: string;
542
+ }>, import("zod").ZodObject<{
543
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
544
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
545
+ }, "strip", import("zod").ZodTypeAny, {
546
+ functionSelectors: string[];
547
+ }, {
548
+ functionSelectors: string[];
549
+ }>>>;
550
+ }, "strip", import("zod").ZodTypeAny, {
551
+ whitelist: Record<string, Record<string, {
552
+ functionSelectors: string[];
553
+ }>>;
554
+ }, {
555
+ whitelist: Record<string, Record<string, {
556
+ functionSelectors: string[];
557
+ }>>;
558
+ }>, import("zod").ZodObject<{
559
+ chainId: import("zod").ZodNumber;
560
+ contractAddress: import("zod").ZodString;
561
+ functionSelector: import("zod").ZodString;
562
+ wildcardUsed: import("zod").ZodBoolean;
563
+ }, "strip", import("zod").ZodTypeAny, {
564
+ chainId: number;
565
+ contractAddress: string;
566
+ functionSelector: string;
567
+ wildcardUsed: boolean;
568
+ }, {
569
+ chainId: number;
570
+ contractAddress: string;
571
+ functionSelector: string;
572
+ wildcardUsed: boolean;
573
+ }>, import("zod").ZodObject<{
574
+ reason: import("zod").ZodString;
575
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
576
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
577
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
578
+ }, "strip", import("zod").ZodTypeAny, {
579
+ reason: string;
580
+ chainId?: number | undefined;
581
+ contractAddress?: string | undefined;
582
+ functionSelector?: string | undefined;
583
+ }, {
584
+ reason: string;
585
+ chainId?: number | undefined;
586
+ contractAddress?: string | undefined;
587
+ functionSelector?: string | undefined;
588
+ }>>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").CommitLifecycleFunction<import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined>>;
589
+ ipfsCid: string;
590
+ abilityParameterMappings: Partial<{
591
+ serializedTransaction: "serializedTransaction";
592
+ }>;
593
+ vincentAbilityApiVersion: string;
594
+ __schemaTypes: {
595
+ policyAbilityParamsSchema: import("zod").ZodObject<{
596
+ serializedTransaction: import("zod").ZodString;
597
+ }, "strip", import("zod").ZodTypeAny, {
598
+ serializedTransaction: string;
599
+ }, {
600
+ serializedTransaction: string;
601
+ }>;
602
+ userParamsSchema: import("zod").ZodObject<{
603
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
604
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
605
+ }, "strip", import("zod").ZodTypeAny, {
606
+ functionSelectors: string[];
607
+ }, {
608
+ functionSelectors: string[];
609
+ }>>>;
610
+ }, "strip", import("zod").ZodTypeAny, {
611
+ whitelist: Record<string, Record<string, {
612
+ functionSelectors: string[];
613
+ }>>;
614
+ }, {
615
+ whitelist: Record<string, Record<string, {
616
+ functionSelectors: string[];
617
+ }>>;
618
+ }>;
619
+ evalAllowResultSchema: import("zod").ZodObject<{
620
+ chainId: import("zod").ZodNumber;
621
+ contractAddress: import("zod").ZodString;
622
+ functionSelector: import("zod").ZodString;
623
+ wildcardUsed: import("zod").ZodBoolean;
624
+ }, "strip", import("zod").ZodTypeAny, {
625
+ chainId: number;
626
+ contractAddress: string;
627
+ functionSelector: string;
628
+ wildcardUsed: boolean;
629
+ }, {
630
+ chainId: number;
631
+ contractAddress: string;
632
+ functionSelector: string;
633
+ wildcardUsed: boolean;
634
+ }>;
635
+ evalDenyResultSchema: import("zod").ZodObject<{
636
+ reason: import("zod").ZodString;
637
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
638
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
639
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
640
+ }, "strip", import("zod").ZodTypeAny, {
641
+ reason: string;
642
+ chainId?: number | undefined;
643
+ contractAddress?: string | undefined;
644
+ functionSelector?: string | undefined;
645
+ }, {
646
+ reason: string;
647
+ chainId?: number | undefined;
648
+ contractAddress?: string | undefined;
649
+ functionSelector?: string | undefined;
650
+ }>;
651
+ precheckAllowResultSchema: import("zod").ZodObject<{
652
+ chainId: import("zod").ZodNumber;
653
+ contractAddress: import("zod").ZodString;
654
+ functionSelector: import("zod").ZodString;
655
+ wildcardUsed: import("zod").ZodBoolean;
656
+ }, "strip", import("zod").ZodTypeAny, {
657
+ chainId: number;
658
+ contractAddress: string;
659
+ functionSelector: string;
660
+ wildcardUsed: boolean;
661
+ }, {
662
+ chainId: number;
663
+ contractAddress: string;
664
+ functionSelector: string;
665
+ wildcardUsed: boolean;
666
+ }>;
667
+ precheckDenyResultSchema: import("zod").ZodObject<{
668
+ reason: import("zod").ZodString;
669
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
670
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
671
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
672
+ }, "strip", import("zod").ZodTypeAny, {
673
+ reason: string;
674
+ chainId?: number | undefined;
675
+ contractAddress?: string | undefined;
676
+ functionSelector?: string | undefined;
677
+ }, {
678
+ reason: string;
679
+ chainId?: number | undefined;
680
+ contractAddress?: string | undefined;
681
+ functionSelector?: string | undefined;
682
+ }>;
683
+ commitParamsSchema: import("zod").ZodUndefined;
684
+ commitAllowResultSchema: import("zod").ZodUndefined;
685
+ commitDenyResultSchema: import("zod").ZodUndefined;
686
+ evaluate: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
687
+ serializedTransaction: import("zod").ZodString;
688
+ }, "strip", import("zod").ZodTypeAny, {
689
+ serializedTransaction: string;
690
+ }, {
691
+ serializedTransaction: string;
692
+ }>, import("zod").ZodObject<{
693
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
694
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
695
+ }, "strip", import("zod").ZodTypeAny, {
696
+ functionSelectors: string[];
697
+ }, {
698
+ functionSelectors: string[];
699
+ }>>>;
700
+ }, "strip", import("zod").ZodTypeAny, {
701
+ whitelist: Record<string, Record<string, {
702
+ functionSelectors: string[];
703
+ }>>;
704
+ }, {
705
+ whitelist: Record<string, Record<string, {
706
+ functionSelectors: string[];
707
+ }>>;
708
+ }>, import("zod").ZodObject<{
709
+ chainId: import("zod").ZodNumber;
710
+ contractAddress: import("zod").ZodString;
711
+ functionSelector: import("zod").ZodString;
712
+ wildcardUsed: import("zod").ZodBoolean;
713
+ }, "strip", import("zod").ZodTypeAny, {
714
+ chainId: number;
715
+ contractAddress: string;
716
+ functionSelector: string;
717
+ wildcardUsed: boolean;
718
+ }, {
719
+ chainId: number;
720
+ contractAddress: string;
721
+ functionSelector: string;
722
+ wildcardUsed: boolean;
723
+ }>, import("zod").ZodObject<{
724
+ reason: import("zod").ZodString;
725
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
726
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
727
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
728
+ }, "strip", import("zod").ZodTypeAny, {
729
+ reason: string;
730
+ chainId?: number | undefined;
731
+ contractAddress?: string | undefined;
732
+ functionSelector?: string | undefined;
733
+ }, {
734
+ reason: string;
735
+ chainId?: number | undefined;
736
+ contractAddress?: string | undefined;
737
+ functionSelector?: string | undefined;
738
+ }>>;
739
+ precheck: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").PolicyLifecycleFunction<import("zod").ZodObject<{
740
+ serializedTransaction: import("zod").ZodString;
741
+ }, "strip", import("zod").ZodTypeAny, {
742
+ serializedTransaction: string;
743
+ }, {
744
+ serializedTransaction: string;
745
+ }>, import("zod").ZodObject<{
746
+ whitelist: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
747
+ functionSelectors: import("zod").ZodArray<import("zod").ZodString, "many">;
748
+ }, "strip", import("zod").ZodTypeAny, {
749
+ functionSelectors: string[];
750
+ }, {
751
+ functionSelectors: string[];
752
+ }>>>;
753
+ }, "strip", import("zod").ZodTypeAny, {
754
+ whitelist: Record<string, Record<string, {
755
+ functionSelectors: string[];
756
+ }>>;
757
+ }, {
758
+ whitelist: Record<string, Record<string, {
759
+ functionSelectors: string[];
760
+ }>>;
761
+ }>, import("zod").ZodObject<{
762
+ chainId: import("zod").ZodNumber;
763
+ contractAddress: import("zod").ZodString;
764
+ functionSelector: import("zod").ZodString;
765
+ wildcardUsed: import("zod").ZodBoolean;
766
+ }, "strip", import("zod").ZodTypeAny, {
767
+ chainId: number;
768
+ contractAddress: string;
769
+ functionSelector: string;
770
+ wildcardUsed: boolean;
771
+ }, {
772
+ chainId: number;
773
+ contractAddress: string;
774
+ functionSelector: string;
775
+ wildcardUsed: boolean;
776
+ }>, import("zod").ZodObject<{
777
+ reason: import("zod").ZodString;
778
+ chainId: import("zod").ZodOptional<import("zod").ZodNumber>;
779
+ contractAddress: import("zod").ZodOptional<import("zod").ZodString>;
780
+ functionSelector: import("zod").ZodOptional<import("zod").ZodString>;
781
+ }, "strip", import("zod").ZodTypeAny, {
782
+ reason: string;
783
+ chainId?: number | undefined;
784
+ contractAddress?: string | undefined;
785
+ functionSelector?: string | undefined;
786
+ }, {
787
+ reason: string;
788
+ chainId?: number | undefined;
789
+ contractAddress?: string | undefined;
790
+ functionSelector?: string | undefined;
791
+ }>> | undefined;
792
+ commit: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").CommitLifecycleFunction<import("zod").ZodUndefined, import("zod").ZodUndefined, import("zod").ZodUndefined> | undefined;
793
+ };
794
+ };
795
+ }, import("zod").ZodObject<{
796
+ signedTransaction: import("zod").ZodString;
797
+ deserializedSignedTransaction: import("zod").ZodObject<{
798
+ hash: import("zod").ZodString;
799
+ to: import("zod").ZodString;
800
+ from: import("zod").ZodString;
801
+ nonce: import("zod").ZodNumber;
802
+ gasLimit: import("zod").ZodString;
803
+ gasPrice: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
804
+ data: import("zod").ZodString;
805
+ value: import("zod").ZodString;
806
+ chainId: import("zod").ZodNumber;
807
+ v: import("zod").ZodNumber;
808
+ r: import("zod").ZodString;
809
+ s: import("zod").ZodString;
810
+ type: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
811
+ accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
812
+ maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
813
+ maxFeePerGas: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
814
+ }, "strip", import("zod").ZodTypeAny, {
815
+ value: string;
816
+ to: string;
817
+ nonce: number;
818
+ gasLimit: string;
819
+ data: string;
820
+ chainId: number;
821
+ hash: string;
822
+ from: string;
823
+ v: number;
824
+ r: string;
825
+ s: string;
826
+ type?: number | null | undefined;
827
+ gasPrice?: string | null | undefined;
828
+ accessList?: any[] | undefined;
829
+ maxPriorityFeePerGas?: string | null | undefined;
830
+ maxFeePerGas?: string | null | undefined;
831
+ }, {
832
+ value: string;
833
+ to: string;
834
+ nonce: number;
835
+ gasLimit: string;
836
+ data: string;
837
+ chainId: number;
838
+ hash: string;
839
+ from: string;
840
+ v: number;
841
+ r: string;
842
+ s: string;
843
+ type?: number | null | undefined;
844
+ gasPrice?: string | null | undefined;
845
+ accessList?: any[] | undefined;
846
+ maxPriorityFeePerGas?: string | null | undefined;
847
+ maxFeePerGas?: string | null | undefined;
848
+ }>;
849
+ }, "strip", import("zod").ZodTypeAny, {
850
+ signedTransaction: string;
851
+ deserializedSignedTransaction: {
852
+ value: string;
853
+ to: string;
854
+ nonce: number;
855
+ gasLimit: string;
856
+ data: string;
857
+ chainId: number;
858
+ hash: string;
859
+ from: string;
860
+ v: number;
861
+ r: string;
862
+ s: string;
863
+ type?: number | null | undefined;
864
+ gasPrice?: string | null | undefined;
865
+ accessList?: any[] | undefined;
866
+ maxPriorityFeePerGas?: string | null | undefined;
867
+ maxFeePerGas?: string | null | undefined;
868
+ };
869
+ }, {
870
+ signedTransaction: string;
871
+ deserializedSignedTransaction: {
872
+ value: string;
873
+ to: string;
874
+ nonce: number;
875
+ gasLimit: string;
876
+ data: string;
877
+ chainId: number;
878
+ hash: string;
879
+ from: string;
880
+ v: number;
881
+ r: string;
882
+ s: string;
883
+ type?: number | null | undefined;
884
+ gasPrice?: string | null | undefined;
885
+ accessList?: any[] | undefined;
886
+ maxPriorityFeePerGas?: string | null | undefined;
887
+ maxFeePerGas?: string | null | undefined;
888
+ };
889
+ }>, import("zod").ZodOptional<import("zod").ZodObject<{
890
+ error: import("zod").ZodString;
891
+ }, "strip", import("zod").ZodTypeAny, {
892
+ error: string;
893
+ }, {
894
+ error: string;
895
+ }>>, import("zod").ZodObject<{
896
+ deserializedUnsignedTransaction: import("zod").ZodObject<{
897
+ to: import("zod").ZodString;
898
+ nonce: import("zod").ZodOptional<import("zod").ZodNumber>;
899
+ gasLimit: import("zod").ZodString;
900
+ gasPrice: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
901
+ data: import("zod").ZodString;
902
+ value: import("zod").ZodString;
903
+ chainId: import("zod").ZodNumber;
904
+ type: import("zod").ZodOptional<import("zod").ZodNumber>;
905
+ accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
906
+ maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
907
+ maxFeePerGas: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
908
+ }, "strip", import("zod").ZodTypeAny, {
909
+ value: string;
910
+ to: string;
911
+ gasLimit: string;
912
+ data: string;
913
+ chainId: number;
914
+ type?: number | undefined;
915
+ nonce?: number | undefined;
916
+ gasPrice?: string | null | undefined;
917
+ accessList?: any[] | undefined;
918
+ maxPriorityFeePerGas?: string | null | undefined;
919
+ maxFeePerGas?: string | null | undefined;
920
+ }, {
921
+ value: string;
922
+ to: string;
923
+ gasLimit: string;
924
+ data: string;
925
+ chainId: number;
926
+ type?: number | undefined;
927
+ nonce?: number | undefined;
928
+ gasPrice?: string | null | undefined;
929
+ accessList?: any[] | undefined;
930
+ maxPriorityFeePerGas?: string | null | undefined;
931
+ maxFeePerGas?: string | null | undefined;
932
+ }>;
933
+ }, "strip", import("zod").ZodTypeAny, {
934
+ deserializedUnsignedTransaction: {
935
+ value: string;
936
+ to: string;
937
+ gasLimit: string;
938
+ data: string;
939
+ chainId: number;
940
+ type?: number | undefined;
941
+ nonce?: number | undefined;
942
+ gasPrice?: string | null | undefined;
943
+ accessList?: any[] | undefined;
944
+ maxPriorityFeePerGas?: string | null | undefined;
945
+ maxFeePerGas?: string | null | undefined;
946
+ };
947
+ }, {
948
+ deserializedUnsignedTransaction: {
949
+ value: string;
950
+ to: string;
951
+ gasLimit: string;
952
+ data: string;
953
+ chainId: number;
954
+ type?: number | undefined;
955
+ nonce?: number | undefined;
956
+ gasPrice?: string | null | undefined;
957
+ accessList?: any[] | undefined;
958
+ maxPriorityFeePerGas?: string | null | undefined;
959
+ maxFeePerGas?: string | null | undefined;
960
+ };
961
+ }>, import("zod").ZodObject<{
962
+ error: import("zod").ZodString;
963
+ }, "strip", import("zod").ZodTypeAny, {
964
+ error: string;
965
+ }, {
966
+ error: string;
967
+ }>>;
968
+ //# sourceMappingURL=vincent-ability.d.ts.map