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