@lit-protocol/vincent-ability-aave 0.2.8 → 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 (51) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +51 -86
  3. package/dist/CHANGELOG.md +7 -0
  4. package/dist/README.md +51 -86
  5. package/dist/package.json +5 -5
  6. package/dist/src/generated/lit-action.js +2 -2
  7. package/dist/src/generated/vincent-ability-metadata.json +1 -1
  8. package/dist/src/generated/vincent-bundled-ability.d.ts +1417 -66
  9. package/dist/src/generated/vincent-bundled-ability.d.ts.map +1 -1
  10. package/dist/src/index.d.ts +2 -0
  11. package/dist/src/index.d.ts.map +1 -1
  12. package/dist/src/index.js +17 -1
  13. package/dist/src/index.js.map +1 -1
  14. package/dist/src/lib/decodeTransaction.d.ts +3 -0
  15. package/dist/src/lib/decodeTransaction.d.ts.map +1 -0
  16. package/dist/src/lib/decodeTransaction.js +49 -0
  17. package/dist/src/lib/decodeTransaction.js.map +1 -0
  18. package/dist/src/lib/helpers/aave.d.ts +86 -0
  19. package/dist/src/lib/helpers/aave.d.ts.map +1 -0
  20. package/dist/src/lib/helpers/aave.js +312 -0
  21. package/dist/src/lib/helpers/aave.js.map +1 -0
  22. package/dist/src/lib/helpers/erc20.d.ts +6 -0
  23. package/dist/src/lib/helpers/erc20.d.ts.map +1 -0
  24. package/dist/src/lib/helpers/erc20.js +53 -0
  25. package/dist/src/lib/helpers/erc20.js.map +1 -0
  26. package/dist/src/lib/helpers/transactionKind.d.ts +6 -0
  27. package/dist/src/lib/helpers/transactionKind.d.ts.map +1 -0
  28. package/dist/src/lib/helpers/transactionKind.js +10 -0
  29. package/dist/src/lib/helpers/transactionKind.js.map +1 -0
  30. package/dist/src/lib/lit-action.js.map +1 -1
  31. package/dist/src/lib/validateSimulation.d.ts +3 -0
  32. package/dist/src/lib/validateSimulation.d.ts.map +1 -0
  33. package/dist/src/lib/validateSimulation.js +56 -0
  34. package/dist/src/lib/validateSimulation.js.map +1 -0
  35. package/dist/src/lib/validateTransaction.d.ts +3 -0
  36. package/dist/src/lib/validateTransaction.d.ts.map +1 -0
  37. package/dist/src/lib/validateTransaction.js +77 -0
  38. package/dist/src/lib/validateTransaction.js.map +1 -0
  39. package/dist/src/lib/vincent-ability.d.ts +1417 -67
  40. package/dist/src/lib/vincent-ability.d.ts.map +1 -1
  41. package/dist/src/lib/vincent-ability.js +9 -345
  42. package/dist/src/lib/vincent-ability.js.map +1 -1
  43. package/package.json +8 -8
  44. package/dist/src/lib/helpers/index.d.ts +0 -71
  45. package/dist/src/lib/helpers/index.d.ts.map +0 -1
  46. package/dist/src/lib/helpers/index.js +0 -345
  47. package/dist/src/lib/helpers/index.js.map +0 -1
  48. package/dist/src/lib/schemas.d.ts +0 -115
  49. package/dist/src/lib/schemas.d.ts.map +0 -1
  50. package/dist/src/lib/schemas.js +0 -110
  51. package/dist/src/lib/schemas.js.map +0 -1
@@ -1,46 +1,451 @@
1
- import { AaveOperation } from './schemas';
2
- export declare const vincentAbility: import("@lit-protocol/vincent-ability-sdk").VincentAbility<import("zod").ZodObject<{
3
- operation: import("zod").ZodNativeEnum<typeof AaveOperation>;
4
- asset: import("zod").ZodString;
5
- amount: import("zod").ZodEffects<import("zod").ZodString, string, string>;
6
- interestRateMode: import("zod").ZodOptional<import("zod").ZodNumber>;
7
- chain: import("zod").ZodEffects<import("zod").ZodString, string, string>;
8
- rpcUrl: import("zod").ZodOptional<import("zod").ZodString>;
1
+ export declare const vincentAbility: import("@lit-protocol/vincent-ability-sdk").VincentAbility<import("zod").ZodUnion<[import("zod").ZodObject<{
2
+ userOp: import("zod").ZodObject<{
3
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
4
+ nonce: import("zod").ZodString;
5
+ callData: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
6
+ callGasLimit: import("zod").ZodString;
7
+ verificationGasLimit: import("zod").ZodString;
8
+ preVerificationGas: import("zod").ZodString;
9
+ maxFeePerGas: import("zod").ZodString;
10
+ maxPriorityFeePerGas: import("zod").ZodString;
11
+ signature: import("zod").ZodDefault<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
12
+ eip7702Auth: import("zod").ZodOptional<import("zod").ZodObject<{
13
+ chain_id: import("zod").ZodOptional<import("zod").ZodString>;
14
+ address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
15
+ nonce: import("zod").ZodOptional<import("zod").ZodString>;
16
+ y_parity: import("zod").ZodOptional<import("zod").ZodString>;
17
+ r: import("zod").ZodOptional<import("zod").ZodString>;
18
+ s: import("zod").ZodOptional<import("zod").ZodString>;
19
+ }, "strip", import("zod").ZodTypeAny, {
20
+ nonce?: string | undefined;
21
+ chain_id?: string | undefined;
22
+ address?: `0x${string}` | undefined;
23
+ y_parity?: string | undefined;
24
+ r?: string | undefined;
25
+ s?: string | undefined;
26
+ }, {
27
+ nonce?: string | undefined;
28
+ chain_id?: string | undefined;
29
+ address?: string | undefined;
30
+ y_parity?: string | undefined;
31
+ r?: string | undefined;
32
+ s?: string | undefined;
33
+ }>>;
34
+ } & {
35
+ paymaster: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
36
+ paymasterData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
37
+ paymasterVerificationGasLimit: import("zod").ZodString;
38
+ factory: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
39
+ factoryData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
40
+ paymasterPostOpGasLimit: import("zod").ZodString;
41
+ }, "strip", import("zod").ZodTypeAny, {
42
+ sender: `0x${string}`;
43
+ nonce: string;
44
+ callData: `0x${string}`;
45
+ callGasLimit: string;
46
+ verificationGasLimit: string;
47
+ preVerificationGas: string;
48
+ maxFeePerGas: string;
49
+ maxPriorityFeePerGas: string;
50
+ signature: `0x${string}`;
51
+ paymasterVerificationGasLimit: string;
52
+ paymasterPostOpGasLimit: string;
53
+ eip7702Auth?: {
54
+ nonce?: string | undefined;
55
+ chain_id?: string | undefined;
56
+ address?: `0x${string}` | undefined;
57
+ y_parity?: string | undefined;
58
+ r?: string | undefined;
59
+ s?: string | undefined;
60
+ } | undefined;
61
+ paymaster?: `0x${string}` | undefined;
62
+ paymasterData?: `0x${string}` | undefined;
63
+ factory?: `0x${string}` | undefined;
64
+ factoryData?: `0x${string}` | undefined;
65
+ }, {
66
+ sender: string;
67
+ nonce: string;
68
+ callData: `0x${string}`;
69
+ callGasLimit: string;
70
+ verificationGasLimit: string;
71
+ preVerificationGas: string;
72
+ maxFeePerGas: string;
73
+ maxPriorityFeePerGas: string;
74
+ paymasterVerificationGasLimit: string;
75
+ paymasterPostOpGasLimit: string;
76
+ signature?: `0x${string}` | undefined;
77
+ eip7702Auth?: {
78
+ nonce?: string | undefined;
79
+ chain_id?: string | undefined;
80
+ address?: string | undefined;
81
+ y_parity?: string | undefined;
82
+ r?: string | undefined;
83
+ s?: string | undefined;
84
+ } | undefined;
85
+ paymaster?: string | undefined;
86
+ paymasterData?: `0x${string}` | undefined;
87
+ factory?: string | undefined;
88
+ factoryData?: `0x${string}` | undefined;
89
+ }>;
90
+ entryPointAddress: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>;
91
+ alchemyRpcUrl: import("zod").ZodString;
92
+ validAfter: import("zod").ZodDefault<import("zod").ZodNumber>;
93
+ validUntil: import("zod").ZodDefault<import("zod").ZodNumber>;
94
+ safe4337ModuleAddress: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
95
+ eip712Params: import("zod").ZodOptional<import("zod").ZodObject<{
96
+ domain: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
97
+ types: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
98
+ name: import("zod").ZodString;
99
+ type: import("zod").ZodString;
100
+ }, "strip", import("zod").ZodTypeAny, {
101
+ type: string;
102
+ name: string;
103
+ }, {
104
+ type: string;
105
+ name: string;
106
+ }>, "many">>;
107
+ primaryType: import("zod").ZodString;
108
+ message: import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>]>>, Record<string, string | Record<string, any>>, Record<string, string | Record<string, any>>>;
109
+ }, "strip", import("zod").ZodTypeAny, {
110
+ message: Record<string, string | Record<string, any>>;
111
+ domain: Record<string, any>;
112
+ types: Record<string, {
113
+ type: string;
114
+ name: string;
115
+ }[]>;
116
+ primaryType: string;
117
+ }, {
118
+ message: Record<string, string | Record<string, any>>;
119
+ domain: Record<string, any>;
120
+ types: Record<string, {
121
+ type: string;
122
+ name: string;
123
+ }[]>;
124
+ primaryType: string;
125
+ }>>;
9
126
  }, "strip", import("zod").ZodTypeAny, {
10
- asset: string;
11
- amount: string;
12
- operation: AaveOperation;
13
- chain: string;
14
- interestRateMode?: number | undefined;
15
- rpcUrl?: string | undefined;
127
+ userOp: {
128
+ sender: `0x${string}`;
129
+ nonce: string;
130
+ callData: `0x${string}`;
131
+ callGasLimit: string;
132
+ verificationGasLimit: string;
133
+ preVerificationGas: string;
134
+ maxFeePerGas: string;
135
+ maxPriorityFeePerGas: string;
136
+ signature: `0x${string}`;
137
+ paymasterVerificationGasLimit: string;
138
+ paymasterPostOpGasLimit: string;
139
+ eip7702Auth?: {
140
+ nonce?: string | undefined;
141
+ chain_id?: string | undefined;
142
+ address?: `0x${string}` | undefined;
143
+ y_parity?: string | undefined;
144
+ r?: string | undefined;
145
+ s?: string | undefined;
146
+ } | undefined;
147
+ paymaster?: `0x${string}` | undefined;
148
+ paymasterData?: `0x${string}` | undefined;
149
+ factory?: `0x${string}` | undefined;
150
+ factoryData?: `0x${string}` | undefined;
151
+ };
152
+ validAfter: number;
153
+ validUntil: number;
154
+ entryPointAddress: `0x${string}`;
155
+ alchemyRpcUrl: string;
156
+ safe4337ModuleAddress: `0x${string}`;
157
+ eip712Params?: {
158
+ message: Record<string, string | Record<string, any>>;
159
+ domain: Record<string, any>;
160
+ types: Record<string, {
161
+ type: string;
162
+ name: string;
163
+ }[]>;
164
+ primaryType: string;
165
+ } | undefined;
16
166
  }, {
17
- asset: string;
18
- amount: string;
19
- operation: AaveOperation;
20
- chain: string;
21
- interestRateMode?: number | undefined;
22
- rpcUrl?: string | undefined;
23
- }>, string, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/abilityCore/helpers").AbilityPolicyMap<readonly [], never>, {}, import("zod").ZodObject<{
24
- txHash: import("zod").ZodString;
25
- operation: import("zod").ZodNativeEnum<typeof AaveOperation>;
26
- asset: import("zod").ZodString;
27
- amount: import("zod").ZodString;
28
- timestamp: import("zod").ZodNumber;
29
- interestRateMode: import("zod").ZodOptional<import("zod").ZodNumber>;
167
+ userOp: {
168
+ sender: string;
169
+ nonce: string;
170
+ callData: `0x${string}`;
171
+ callGasLimit: string;
172
+ verificationGasLimit: string;
173
+ preVerificationGas: string;
174
+ maxFeePerGas: string;
175
+ maxPriorityFeePerGas: string;
176
+ paymasterVerificationGasLimit: string;
177
+ paymasterPostOpGasLimit: string;
178
+ signature?: `0x${string}` | undefined;
179
+ eip7702Auth?: {
180
+ nonce?: string | undefined;
181
+ chain_id?: string | undefined;
182
+ address?: string | undefined;
183
+ y_parity?: string | undefined;
184
+ r?: string | undefined;
185
+ s?: string | undefined;
186
+ } | undefined;
187
+ paymaster?: string | undefined;
188
+ paymasterData?: `0x${string}` | undefined;
189
+ factory?: string | undefined;
190
+ factoryData?: `0x${string}` | undefined;
191
+ };
192
+ alchemyRpcUrl: string;
193
+ validAfter?: number | undefined;
194
+ validUntil?: number | undefined;
195
+ entryPointAddress?: string | undefined;
196
+ safe4337ModuleAddress?: string | undefined;
197
+ eip712Params?: {
198
+ message: Record<string, string | Record<string, any>>;
199
+ domain: Record<string, any>;
200
+ types: Record<string, {
201
+ type: string;
202
+ name: string;
203
+ }[]>;
204
+ primaryType: string;
205
+ } | undefined;
206
+ }>, import("zod").ZodObject<{
207
+ alchemyRpcUrl: import("zod").ZodString;
208
+ transaction: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
209
+ data: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
210
+ from: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
211
+ to: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
212
+ value: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
213
+ nonce: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
214
+ gas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
215
+ gasLimit: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
216
+ gasPrice: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
217
+ maxFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
218
+ maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
219
+ chainId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>]>;
220
+ type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
221
+ accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
222
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
223
+ storageKeys: import("zod").ZodArray<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>, "many">;
224
+ }, "strip", import("zod").ZodTypeAny, {
225
+ address: `0x${string}`;
226
+ storageKeys: `0x${string}`[];
227
+ }, {
228
+ address: string;
229
+ storageKeys: `0x${string}`[];
230
+ }>, "many">>;
231
+ }, "strip", import("zod").ZodTypeAny, {
232
+ value: `0x${string}`;
233
+ nonce: `0x${string}`;
234
+ to: `0x${string}`;
235
+ data: `0x${string}`;
236
+ chainId: number | `0x${string}`;
237
+ from: `0x${string}`;
238
+ type?: string | number | undefined;
239
+ maxFeePerGas?: `0x${string}` | undefined;
240
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
241
+ gas?: `0x${string}` | undefined;
242
+ gasLimit?: `0x${string}` | undefined;
243
+ gasPrice?: `0x${string}` | undefined;
244
+ accessList?: {
245
+ address: `0x${string}`;
246
+ storageKeys: `0x${string}`[];
247
+ }[] | undefined;
248
+ }, {
249
+ value: `0x${string}`;
250
+ nonce: `0x${string}`;
251
+ to: string;
252
+ data: `0x${string}`;
253
+ chainId: number | `0x${string}`;
254
+ from: string;
255
+ type?: string | number | undefined;
256
+ maxFeePerGas?: `0x${string}` | undefined;
257
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
258
+ gas?: `0x${string}` | undefined;
259
+ gasLimit?: `0x${string}` | undefined;
260
+ gasPrice?: `0x${string}` | undefined;
261
+ accessList?: {
262
+ address: string;
263
+ storageKeys: `0x${string}`[];
264
+ }[] | undefined;
265
+ }>, {
266
+ value: `0x${string}`;
267
+ nonce: `0x${string}`;
268
+ to: `0x${string}`;
269
+ data: `0x${string}`;
270
+ chainId: number | `0x${string}`;
271
+ from: `0x${string}`;
272
+ type?: string | number | undefined;
273
+ maxFeePerGas?: `0x${string}` | undefined;
274
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
275
+ gas?: `0x${string}` | undefined;
276
+ gasLimit?: `0x${string}` | undefined;
277
+ gasPrice?: `0x${string}` | undefined;
278
+ accessList?: {
279
+ address: `0x${string}`;
280
+ storageKeys: `0x${string}`[];
281
+ }[] | undefined;
282
+ }, {
283
+ value: `0x${string}`;
284
+ nonce: `0x${string}`;
285
+ to: string;
286
+ data: `0x${string}`;
287
+ chainId: number | `0x${string}`;
288
+ from: string;
289
+ type?: string | number | undefined;
290
+ maxFeePerGas?: `0x${string}` | undefined;
291
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
292
+ gas?: `0x${string}` | undefined;
293
+ gasLimit?: `0x${string}` | undefined;
294
+ gasPrice?: `0x${string}` | undefined;
295
+ accessList?: {
296
+ address: string;
297
+ storageKeys: `0x${string}`[];
298
+ }[] | undefined;
299
+ }>, {
300
+ value: `0x${string}`;
301
+ nonce: `0x${string}`;
302
+ to: `0x${string}`;
303
+ data: `0x${string}`;
304
+ chainId: number | `0x${string}`;
305
+ from: `0x${string}`;
306
+ type?: string | number | undefined;
307
+ maxFeePerGas?: `0x${string}` | undefined;
308
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
309
+ gas?: `0x${string}` | undefined;
310
+ gasLimit?: `0x${string}` | undefined;
311
+ gasPrice?: `0x${string}` | undefined;
312
+ accessList?: {
313
+ address: `0x${string}`;
314
+ storageKeys: `0x${string}`[];
315
+ }[] | undefined;
316
+ }, {
317
+ value: `0x${string}`;
318
+ nonce: `0x${string}`;
319
+ to: string;
320
+ data: `0x${string}`;
321
+ chainId: number | `0x${string}`;
322
+ from: string;
323
+ type?: string | number | undefined;
324
+ maxFeePerGas?: `0x${string}` | undefined;
325
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
326
+ gas?: `0x${string}` | undefined;
327
+ gasLimit?: `0x${string}` | undefined;
328
+ gasPrice?: `0x${string}` | undefined;
329
+ accessList?: {
330
+ address: string;
331
+ storageKeys: `0x${string}`[];
332
+ }[] | undefined;
333
+ }>;
334
+ }, "strip", import("zod").ZodTypeAny, {
335
+ transaction: {
336
+ value: `0x${string}`;
337
+ nonce: `0x${string}`;
338
+ to: `0x${string}`;
339
+ data: `0x${string}`;
340
+ chainId: number | `0x${string}`;
341
+ from: `0x${string}`;
342
+ type?: string | number | undefined;
343
+ maxFeePerGas?: `0x${string}` | undefined;
344
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
345
+ gas?: `0x${string}` | undefined;
346
+ gasLimit?: `0x${string}` | undefined;
347
+ gasPrice?: `0x${string}` | undefined;
348
+ accessList?: {
349
+ address: `0x${string}`;
350
+ storageKeys: `0x${string}`[];
351
+ }[] | undefined;
352
+ };
353
+ alchemyRpcUrl: string;
354
+ }, {
355
+ transaction: {
356
+ value: `0x${string}`;
357
+ nonce: `0x${string}`;
358
+ to: string;
359
+ data: `0x${string}`;
360
+ chainId: number | `0x${string}`;
361
+ from: string;
362
+ type?: string | number | undefined;
363
+ maxFeePerGas?: `0x${string}` | undefined;
364
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
365
+ gas?: `0x${string}` | undefined;
366
+ gasLimit?: `0x${string}` | undefined;
367
+ gasPrice?: `0x${string}` | undefined;
368
+ accessList?: {
369
+ address: string;
370
+ storageKeys: `0x${string}`[];
371
+ }[] | undefined;
372
+ };
373
+ alchemyRpcUrl: string;
374
+ }>]>, string, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/abilityCore/helpers").AbilityPolicyMap<readonly [], never>, {}, import("zod").ZodObject<{
375
+ simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
376
+ assetType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType>;
377
+ changeType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType>;
378
+ from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
379
+ to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
380
+ rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
381
+ amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
382
+ contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
383
+ tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
384
+ decimals: import("zod").ZodNumber;
385
+ symbol: import("zod").ZodString;
386
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
387
+ logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
388
+ }, "strip", import("zod").ZodTypeAny, {
389
+ symbol: string;
390
+ to: `0x${string}`;
391
+ from: `0x${string}`;
392
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
393
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
394
+ decimals: number;
395
+ tokenId?: string | null | undefined;
396
+ name?: string | null | undefined;
397
+ rawAmount?: string | null | undefined;
398
+ amount?: string | null | undefined;
399
+ contractAddress?: `0x${string}` | null | undefined;
400
+ logo?: string | null | undefined;
401
+ }, {
402
+ symbol: string;
403
+ to: `0x${string}`;
404
+ from: `0x${string}`;
405
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
406
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
407
+ decimals: number;
408
+ tokenId?: string | null | undefined;
409
+ name?: string | null | undefined;
410
+ rawAmount?: string | null | undefined;
411
+ amount?: string | null | undefined;
412
+ contractAddress?: `0x${string}` | null | undefined;
413
+ logo?: string | null | undefined;
414
+ }>, "many">;
415
+ } & {
416
+ signature: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
30
417
  }, "strip", import("zod").ZodTypeAny, {
31
- asset: string;
32
- amount: string;
33
- operation: AaveOperation;
34
- txHash: string;
35
- timestamp: number;
36
- interestRateMode?: number | undefined;
418
+ signature: `0x${string}`;
419
+ simulationChanges: {
420
+ symbol: string;
421
+ to: `0x${string}`;
422
+ from: `0x${string}`;
423
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
424
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
425
+ decimals: number;
426
+ tokenId?: string | null | undefined;
427
+ name?: string | null | undefined;
428
+ rawAmount?: string | null | undefined;
429
+ amount?: string | null | undefined;
430
+ contractAddress?: `0x${string}` | null | undefined;
431
+ logo?: string | null | undefined;
432
+ }[];
37
433
  }, {
38
- asset: string;
39
- amount: string;
40
- operation: AaveOperation;
41
- txHash: string;
42
- timestamp: number;
43
- interestRateMode?: number | undefined;
434
+ signature: `0x${string}`;
435
+ simulationChanges: {
436
+ symbol: string;
437
+ to: `0x${string}`;
438
+ from: `0x${string}`;
439
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
440
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
441
+ decimals: number;
442
+ tokenId?: string | null | undefined;
443
+ name?: string | null | undefined;
444
+ rawAmount?: string | null | undefined;
445
+ amount?: string | null | undefined;
446
+ contractAddress?: `0x${string}` | null | undefined;
447
+ logo?: string | null | undefined;
448
+ }[];
44
449
  }>, import("zod").ZodObject<{
45
450
  error: import("zod").ZodString;
46
451
  }, "strip", import("zod").ZodTypeAny, {
@@ -48,40 +453,985 @@ export declare const vincentAbility: import("@lit-protocol/vincent-ability-sdk")
48
453
  }, {
49
454
  error: string;
50
455
  }>, import("zod").ZodObject<{
51
- operationValid: import("zod").ZodBoolean;
52
- assetValid: import("zod").ZodBoolean;
53
- amountValid: import("zod").ZodBoolean;
54
- userBalance: import("zod").ZodOptional<import("zod").ZodString>;
55
- allowance: import("zod").ZodOptional<import("zod").ZodString>;
56
- borrowCapacity: import("zod").ZodOptional<import("zod").ZodString>;
57
- estimatedGas: import("zod").ZodOptional<import("zod").ZodNumber>;
58
- availableMarkets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
59
- supportedChains: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
456
+ simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
457
+ assetType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType>;
458
+ changeType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType>;
459
+ from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
460
+ to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
461
+ rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
462
+ amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
463
+ contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
464
+ tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
465
+ decimals: import("zod").ZodNumber;
466
+ symbol: import("zod").ZodString;
467
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
468
+ logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
469
+ }, "strip", import("zod").ZodTypeAny, {
470
+ symbol: string;
471
+ to: `0x${string}`;
472
+ from: `0x${string}`;
473
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
474
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
475
+ decimals: number;
476
+ tokenId?: string | null | undefined;
477
+ name?: string | null | undefined;
478
+ rawAmount?: string | null | undefined;
479
+ amount?: string | null | undefined;
480
+ contractAddress?: `0x${string}` | null | undefined;
481
+ logo?: string | null | undefined;
482
+ }, {
483
+ symbol: string;
484
+ to: `0x${string}`;
485
+ from: `0x${string}`;
486
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
487
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
488
+ decimals: number;
489
+ tokenId?: string | null | undefined;
490
+ name?: string | null | undefined;
491
+ rawAmount?: string | null | undefined;
492
+ amount?: string | null | undefined;
493
+ contractAddress?: `0x${string}` | null | undefined;
494
+ logo?: string | null | undefined;
495
+ }>, "many">;
496
+ }, "strip", import("zod").ZodTypeAny, {
497
+ simulationChanges: {
498
+ symbol: string;
499
+ to: `0x${string}`;
500
+ from: `0x${string}`;
501
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
502
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
503
+ decimals: number;
504
+ tokenId?: string | null | undefined;
505
+ name?: string | null | undefined;
506
+ rawAmount?: string | null | undefined;
507
+ amount?: string | null | undefined;
508
+ contractAddress?: `0x${string}` | null | undefined;
509
+ logo?: string | null | undefined;
510
+ }[];
511
+ }, {
512
+ simulationChanges: {
513
+ symbol: string;
514
+ to: `0x${string}`;
515
+ from: `0x${string}`;
516
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
517
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
518
+ decimals: number;
519
+ tokenId?: string | null | undefined;
520
+ name?: string | null | undefined;
521
+ rawAmount?: string | null | undefined;
522
+ amount?: string | null | undefined;
523
+ contractAddress?: `0x${string}` | null | undefined;
524
+ logo?: string | null | undefined;
525
+ }[];
526
+ }>, import("zod").ZodObject<{
527
+ error: import("zod").ZodString;
528
+ }, "strip", import("zod").ZodTypeAny, {
529
+ error: string;
530
+ }, {
531
+ error: string;
532
+ }>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").AbilityLifecycleFunction<import("zod").ZodUnion<[import("zod").ZodObject<{
533
+ userOp: import("zod").ZodObject<{
534
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
535
+ nonce: import("zod").ZodString;
536
+ callData: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
537
+ callGasLimit: import("zod").ZodString;
538
+ verificationGasLimit: import("zod").ZodString;
539
+ preVerificationGas: import("zod").ZodString;
540
+ maxFeePerGas: import("zod").ZodString;
541
+ maxPriorityFeePerGas: import("zod").ZodString;
542
+ signature: import("zod").ZodDefault<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
543
+ eip7702Auth: import("zod").ZodOptional<import("zod").ZodObject<{
544
+ chain_id: import("zod").ZodOptional<import("zod").ZodString>;
545
+ address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
546
+ nonce: import("zod").ZodOptional<import("zod").ZodString>;
547
+ y_parity: import("zod").ZodOptional<import("zod").ZodString>;
548
+ r: import("zod").ZodOptional<import("zod").ZodString>;
549
+ s: import("zod").ZodOptional<import("zod").ZodString>;
550
+ }, "strip", import("zod").ZodTypeAny, {
551
+ nonce?: string | undefined;
552
+ chain_id?: string | undefined;
553
+ address?: `0x${string}` | undefined;
554
+ y_parity?: string | undefined;
555
+ r?: string | undefined;
556
+ s?: string | undefined;
557
+ }, {
558
+ nonce?: string | undefined;
559
+ chain_id?: string | undefined;
560
+ address?: string | undefined;
561
+ y_parity?: string | undefined;
562
+ r?: string | undefined;
563
+ s?: string | undefined;
564
+ }>>;
565
+ } & {
566
+ paymaster: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
567
+ paymasterData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
568
+ paymasterVerificationGasLimit: import("zod").ZodString;
569
+ factory: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
570
+ factoryData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
571
+ paymasterPostOpGasLimit: import("zod").ZodString;
572
+ }, "strip", import("zod").ZodTypeAny, {
573
+ sender: `0x${string}`;
574
+ nonce: string;
575
+ callData: `0x${string}`;
576
+ callGasLimit: string;
577
+ verificationGasLimit: string;
578
+ preVerificationGas: string;
579
+ maxFeePerGas: string;
580
+ maxPriorityFeePerGas: string;
581
+ signature: `0x${string}`;
582
+ paymasterVerificationGasLimit: string;
583
+ paymasterPostOpGasLimit: string;
584
+ eip7702Auth?: {
585
+ nonce?: string | undefined;
586
+ chain_id?: string | undefined;
587
+ address?: `0x${string}` | undefined;
588
+ y_parity?: string | undefined;
589
+ r?: string | undefined;
590
+ s?: string | undefined;
591
+ } | undefined;
592
+ paymaster?: `0x${string}` | undefined;
593
+ paymasterData?: `0x${string}` | undefined;
594
+ factory?: `0x${string}` | undefined;
595
+ factoryData?: `0x${string}` | undefined;
596
+ }, {
597
+ sender: string;
598
+ nonce: string;
599
+ callData: `0x${string}`;
600
+ callGasLimit: string;
601
+ verificationGasLimit: string;
602
+ preVerificationGas: string;
603
+ maxFeePerGas: string;
604
+ maxPriorityFeePerGas: string;
605
+ paymasterVerificationGasLimit: string;
606
+ paymasterPostOpGasLimit: string;
607
+ signature?: `0x${string}` | undefined;
608
+ eip7702Auth?: {
609
+ nonce?: string | undefined;
610
+ chain_id?: string | undefined;
611
+ address?: string | undefined;
612
+ y_parity?: string | undefined;
613
+ r?: string | undefined;
614
+ s?: string | undefined;
615
+ } | undefined;
616
+ paymaster?: string | undefined;
617
+ paymasterData?: `0x${string}` | undefined;
618
+ factory?: string | undefined;
619
+ factoryData?: `0x${string}` | undefined;
620
+ }>;
621
+ entryPointAddress: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>;
622
+ alchemyRpcUrl: import("zod").ZodString;
623
+ validAfter: import("zod").ZodDefault<import("zod").ZodNumber>;
624
+ validUntil: import("zod").ZodDefault<import("zod").ZodNumber>;
625
+ safe4337ModuleAddress: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
626
+ eip712Params: import("zod").ZodOptional<import("zod").ZodObject<{
627
+ domain: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
628
+ types: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
629
+ name: import("zod").ZodString;
630
+ type: import("zod").ZodString;
631
+ }, "strip", import("zod").ZodTypeAny, {
632
+ type: string;
633
+ name: string;
634
+ }, {
635
+ type: string;
636
+ name: string;
637
+ }>, "many">>;
638
+ primaryType: import("zod").ZodString;
639
+ message: import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>]>>, Record<string, string | Record<string, any>>, Record<string, string | Record<string, any>>>;
640
+ }, "strip", import("zod").ZodTypeAny, {
641
+ message: Record<string, string | Record<string, any>>;
642
+ domain: Record<string, any>;
643
+ types: Record<string, {
644
+ type: string;
645
+ name: string;
646
+ }[]>;
647
+ primaryType: string;
648
+ }, {
649
+ message: Record<string, string | Record<string, any>>;
650
+ domain: Record<string, any>;
651
+ types: Record<string, {
652
+ type: string;
653
+ name: string;
654
+ }[]>;
655
+ primaryType: string;
656
+ }>>;
657
+ }, "strip", import("zod").ZodTypeAny, {
658
+ userOp: {
659
+ sender: `0x${string}`;
660
+ nonce: string;
661
+ callData: `0x${string}`;
662
+ callGasLimit: string;
663
+ verificationGasLimit: string;
664
+ preVerificationGas: string;
665
+ maxFeePerGas: string;
666
+ maxPriorityFeePerGas: string;
667
+ signature: `0x${string}`;
668
+ paymasterVerificationGasLimit: string;
669
+ paymasterPostOpGasLimit: string;
670
+ eip7702Auth?: {
671
+ nonce?: string | undefined;
672
+ chain_id?: string | undefined;
673
+ address?: `0x${string}` | undefined;
674
+ y_parity?: string | undefined;
675
+ r?: string | undefined;
676
+ s?: string | undefined;
677
+ } | undefined;
678
+ paymaster?: `0x${string}` | undefined;
679
+ paymasterData?: `0x${string}` | undefined;
680
+ factory?: `0x${string}` | undefined;
681
+ factoryData?: `0x${string}` | undefined;
682
+ };
683
+ validAfter: number;
684
+ validUntil: number;
685
+ entryPointAddress: `0x${string}`;
686
+ alchemyRpcUrl: string;
687
+ safe4337ModuleAddress: `0x${string}`;
688
+ eip712Params?: {
689
+ message: Record<string, string | Record<string, any>>;
690
+ domain: Record<string, any>;
691
+ types: Record<string, {
692
+ type: string;
693
+ name: string;
694
+ }[]>;
695
+ primaryType: string;
696
+ } | undefined;
697
+ }, {
698
+ userOp: {
699
+ sender: string;
700
+ nonce: string;
701
+ callData: `0x${string}`;
702
+ callGasLimit: string;
703
+ verificationGasLimit: string;
704
+ preVerificationGas: string;
705
+ maxFeePerGas: string;
706
+ maxPriorityFeePerGas: string;
707
+ paymasterVerificationGasLimit: string;
708
+ paymasterPostOpGasLimit: string;
709
+ signature?: `0x${string}` | undefined;
710
+ eip7702Auth?: {
711
+ nonce?: string | undefined;
712
+ chain_id?: string | undefined;
713
+ address?: string | undefined;
714
+ y_parity?: string | undefined;
715
+ r?: string | undefined;
716
+ s?: string | undefined;
717
+ } | undefined;
718
+ paymaster?: string | undefined;
719
+ paymasterData?: `0x${string}` | undefined;
720
+ factory?: string | undefined;
721
+ factoryData?: `0x${string}` | undefined;
722
+ };
723
+ alchemyRpcUrl: string;
724
+ validAfter?: number | undefined;
725
+ validUntil?: number | undefined;
726
+ entryPointAddress?: string | undefined;
727
+ safe4337ModuleAddress?: string | undefined;
728
+ eip712Params?: {
729
+ message: Record<string, string | Record<string, any>>;
730
+ domain: Record<string, any>;
731
+ types: Record<string, {
732
+ type: string;
733
+ name: string;
734
+ }[]>;
735
+ primaryType: string;
736
+ } | undefined;
737
+ }>, import("zod").ZodObject<{
738
+ alchemyRpcUrl: import("zod").ZodString;
739
+ transaction: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
740
+ data: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
741
+ from: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
742
+ to: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
743
+ value: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
744
+ nonce: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
745
+ gas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
746
+ gasLimit: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
747
+ gasPrice: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
748
+ maxFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
749
+ maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
750
+ chainId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>]>;
751
+ type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
752
+ accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
753
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
754
+ storageKeys: import("zod").ZodArray<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>, "many">;
755
+ }, "strip", import("zod").ZodTypeAny, {
756
+ address: `0x${string}`;
757
+ storageKeys: `0x${string}`[];
758
+ }, {
759
+ address: string;
760
+ storageKeys: `0x${string}`[];
761
+ }>, "many">>;
762
+ }, "strip", import("zod").ZodTypeAny, {
763
+ value: `0x${string}`;
764
+ nonce: `0x${string}`;
765
+ to: `0x${string}`;
766
+ data: `0x${string}`;
767
+ chainId: number | `0x${string}`;
768
+ from: `0x${string}`;
769
+ type?: string | number | undefined;
770
+ maxFeePerGas?: `0x${string}` | undefined;
771
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
772
+ gas?: `0x${string}` | undefined;
773
+ gasLimit?: `0x${string}` | undefined;
774
+ gasPrice?: `0x${string}` | undefined;
775
+ accessList?: {
776
+ address: `0x${string}`;
777
+ storageKeys: `0x${string}`[];
778
+ }[] | undefined;
779
+ }, {
780
+ value: `0x${string}`;
781
+ nonce: `0x${string}`;
782
+ to: string;
783
+ data: `0x${string}`;
784
+ chainId: number | `0x${string}`;
785
+ from: string;
786
+ type?: string | number | undefined;
787
+ maxFeePerGas?: `0x${string}` | undefined;
788
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
789
+ gas?: `0x${string}` | undefined;
790
+ gasLimit?: `0x${string}` | undefined;
791
+ gasPrice?: `0x${string}` | undefined;
792
+ accessList?: {
793
+ address: string;
794
+ storageKeys: `0x${string}`[];
795
+ }[] | undefined;
796
+ }>, {
797
+ value: `0x${string}`;
798
+ nonce: `0x${string}`;
799
+ to: `0x${string}`;
800
+ data: `0x${string}`;
801
+ chainId: number | `0x${string}`;
802
+ from: `0x${string}`;
803
+ type?: string | number | undefined;
804
+ maxFeePerGas?: `0x${string}` | undefined;
805
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
806
+ gas?: `0x${string}` | undefined;
807
+ gasLimit?: `0x${string}` | undefined;
808
+ gasPrice?: `0x${string}` | undefined;
809
+ accessList?: {
810
+ address: `0x${string}`;
811
+ storageKeys: `0x${string}`[];
812
+ }[] | undefined;
813
+ }, {
814
+ value: `0x${string}`;
815
+ nonce: `0x${string}`;
816
+ to: string;
817
+ data: `0x${string}`;
818
+ chainId: number | `0x${string}`;
819
+ from: string;
820
+ type?: string | number | undefined;
821
+ maxFeePerGas?: `0x${string}` | undefined;
822
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
823
+ gas?: `0x${string}` | undefined;
824
+ gasLimit?: `0x${string}` | undefined;
825
+ gasPrice?: `0x${string}` | undefined;
826
+ accessList?: {
827
+ address: string;
828
+ storageKeys: `0x${string}`[];
829
+ }[] | undefined;
830
+ }>, {
831
+ value: `0x${string}`;
832
+ nonce: `0x${string}`;
833
+ to: `0x${string}`;
834
+ data: `0x${string}`;
835
+ chainId: number | `0x${string}`;
836
+ from: `0x${string}`;
837
+ type?: string | number | undefined;
838
+ maxFeePerGas?: `0x${string}` | undefined;
839
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
840
+ gas?: `0x${string}` | undefined;
841
+ gasLimit?: `0x${string}` | undefined;
842
+ gasPrice?: `0x${string}` | undefined;
843
+ accessList?: {
844
+ address: `0x${string}`;
845
+ storageKeys: `0x${string}`[];
846
+ }[] | undefined;
847
+ }, {
848
+ value: `0x${string}`;
849
+ nonce: `0x${string}`;
850
+ to: string;
851
+ data: `0x${string}`;
852
+ chainId: number | `0x${string}`;
853
+ from: string;
854
+ type?: string | number | undefined;
855
+ maxFeePerGas?: `0x${string}` | undefined;
856
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
857
+ gas?: `0x${string}` | undefined;
858
+ gasLimit?: `0x${string}` | undefined;
859
+ gasPrice?: `0x${string}` | undefined;
860
+ accessList?: {
861
+ address: string;
862
+ storageKeys: `0x${string}`[];
863
+ }[] | undefined;
864
+ }>;
865
+ }, "strip", import("zod").ZodTypeAny, {
866
+ transaction: {
867
+ value: `0x${string}`;
868
+ nonce: `0x${string}`;
869
+ to: `0x${string}`;
870
+ data: `0x${string}`;
871
+ chainId: number | `0x${string}`;
872
+ from: `0x${string}`;
873
+ type?: string | number | undefined;
874
+ maxFeePerGas?: `0x${string}` | undefined;
875
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
876
+ gas?: `0x${string}` | undefined;
877
+ gasLimit?: `0x${string}` | undefined;
878
+ gasPrice?: `0x${string}` | undefined;
879
+ accessList?: {
880
+ address: `0x${string}`;
881
+ storageKeys: `0x${string}`[];
882
+ }[] | undefined;
883
+ };
884
+ alchemyRpcUrl: string;
885
+ }, {
886
+ transaction: {
887
+ value: `0x${string}`;
888
+ nonce: `0x${string}`;
889
+ to: string;
890
+ data: `0x${string}`;
891
+ chainId: number | `0x${string}`;
892
+ from: string;
893
+ type?: string | number | undefined;
894
+ maxFeePerGas?: `0x${string}` | undefined;
895
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
896
+ gas?: `0x${string}` | undefined;
897
+ gasLimit?: `0x${string}` | undefined;
898
+ gasPrice?: `0x${string}` | undefined;
899
+ accessList?: {
900
+ address: string;
901
+ storageKeys: `0x${string}`[];
902
+ }[] | undefined;
903
+ };
904
+ alchemyRpcUrl: string;
905
+ }>]>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").AbilityExecutionPolicyContext<{}>, import("zod").ZodObject<{
906
+ simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
907
+ assetType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType>;
908
+ changeType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType>;
909
+ from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
910
+ to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
911
+ rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
912
+ amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
913
+ contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
914
+ tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
915
+ decimals: import("zod").ZodNumber;
916
+ symbol: import("zod").ZodString;
917
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
918
+ logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
919
+ }, "strip", import("zod").ZodTypeAny, {
920
+ symbol: string;
921
+ to: `0x${string}`;
922
+ from: `0x${string}`;
923
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
924
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
925
+ decimals: number;
926
+ tokenId?: string | null | undefined;
927
+ name?: string | null | undefined;
928
+ rawAmount?: string | null | undefined;
929
+ amount?: string | null | undefined;
930
+ contractAddress?: `0x${string}` | null | undefined;
931
+ logo?: string | null | undefined;
932
+ }, {
933
+ symbol: string;
934
+ to: `0x${string}`;
935
+ from: `0x${string}`;
936
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
937
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
938
+ decimals: number;
939
+ tokenId?: string | null | undefined;
940
+ name?: string | null | undefined;
941
+ rawAmount?: string | null | undefined;
942
+ amount?: string | null | undefined;
943
+ contractAddress?: `0x${string}` | null | undefined;
944
+ logo?: string | null | undefined;
945
+ }>, "many">;
946
+ } & {
947
+ signature: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
948
+ }, "strip", import("zod").ZodTypeAny, {
949
+ signature: `0x${string}`;
950
+ simulationChanges: {
951
+ symbol: string;
952
+ to: `0x${string}`;
953
+ from: `0x${string}`;
954
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
955
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
956
+ decimals: number;
957
+ tokenId?: string | null | undefined;
958
+ name?: string | null | undefined;
959
+ rawAmount?: string | null | undefined;
960
+ amount?: string | null | undefined;
961
+ contractAddress?: `0x${string}` | null | undefined;
962
+ logo?: string | null | undefined;
963
+ }[];
964
+ }, {
965
+ signature: `0x${string}`;
966
+ simulationChanges: {
967
+ symbol: string;
968
+ to: `0x${string}`;
969
+ from: `0x${string}`;
970
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
971
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
972
+ decimals: number;
973
+ tokenId?: string | null | undefined;
974
+ name?: string | null | undefined;
975
+ rawAmount?: string | null | undefined;
976
+ amount?: string | null | undefined;
977
+ contractAddress?: `0x${string}` | null | undefined;
978
+ logo?: string | null | undefined;
979
+ }[];
980
+ }>, import("zod").ZodObject<{
981
+ error: import("zod").ZodString;
982
+ }, "strip", import("zod").ZodTypeAny, {
983
+ error: string;
984
+ }, {
985
+ error: string;
986
+ }>>, import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/types").AbilityLifecycleFunction<import("zod").ZodUnion<[import("zod").ZodObject<{
987
+ userOp: import("zod").ZodObject<{
988
+ sender: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
989
+ nonce: import("zod").ZodString;
990
+ callData: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
991
+ callGasLimit: import("zod").ZodString;
992
+ verificationGasLimit: import("zod").ZodString;
993
+ preVerificationGas: import("zod").ZodString;
994
+ maxFeePerGas: import("zod").ZodString;
995
+ maxPriorityFeePerGas: import("zod").ZodString;
996
+ signature: import("zod").ZodDefault<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
997
+ eip7702Auth: import("zod").ZodOptional<import("zod").ZodObject<{
998
+ chain_id: import("zod").ZodOptional<import("zod").ZodString>;
999
+ address: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
1000
+ nonce: import("zod").ZodOptional<import("zod").ZodString>;
1001
+ y_parity: import("zod").ZodOptional<import("zod").ZodString>;
1002
+ r: import("zod").ZodOptional<import("zod").ZodString>;
1003
+ s: import("zod").ZodOptional<import("zod").ZodString>;
1004
+ }, "strip", import("zod").ZodTypeAny, {
1005
+ nonce?: string | undefined;
1006
+ chain_id?: string | undefined;
1007
+ address?: `0x${string}` | undefined;
1008
+ y_parity?: string | undefined;
1009
+ r?: string | undefined;
1010
+ s?: string | undefined;
1011
+ }, {
1012
+ nonce?: string | undefined;
1013
+ chain_id?: string | undefined;
1014
+ address?: string | undefined;
1015
+ y_parity?: string | undefined;
1016
+ r?: string | undefined;
1017
+ s?: string | undefined;
1018
+ }>>;
1019
+ } & {
1020
+ paymaster: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
1021
+ paymasterData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1022
+ paymasterVerificationGasLimit: import("zod").ZodString;
1023
+ factory: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
1024
+ factoryData: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1025
+ paymasterPostOpGasLimit: import("zod").ZodString;
1026
+ }, "strip", import("zod").ZodTypeAny, {
1027
+ sender: `0x${string}`;
1028
+ nonce: string;
1029
+ callData: `0x${string}`;
1030
+ callGasLimit: string;
1031
+ verificationGasLimit: string;
1032
+ preVerificationGas: string;
1033
+ maxFeePerGas: string;
1034
+ maxPriorityFeePerGas: string;
1035
+ signature: `0x${string}`;
1036
+ paymasterVerificationGasLimit: string;
1037
+ paymasterPostOpGasLimit: string;
1038
+ eip7702Auth?: {
1039
+ nonce?: string | undefined;
1040
+ chain_id?: string | undefined;
1041
+ address?: `0x${string}` | undefined;
1042
+ y_parity?: string | undefined;
1043
+ r?: string | undefined;
1044
+ s?: string | undefined;
1045
+ } | undefined;
1046
+ paymaster?: `0x${string}` | undefined;
1047
+ paymasterData?: `0x${string}` | undefined;
1048
+ factory?: `0x${string}` | undefined;
1049
+ factoryData?: `0x${string}` | undefined;
1050
+ }, {
1051
+ sender: string;
1052
+ nonce: string;
1053
+ callData: `0x${string}`;
1054
+ callGasLimit: string;
1055
+ verificationGasLimit: string;
1056
+ preVerificationGas: string;
1057
+ maxFeePerGas: string;
1058
+ maxPriorityFeePerGas: string;
1059
+ paymasterVerificationGasLimit: string;
1060
+ paymasterPostOpGasLimit: string;
1061
+ signature?: `0x${string}` | undefined;
1062
+ eip7702Auth?: {
1063
+ nonce?: string | undefined;
1064
+ chain_id?: string | undefined;
1065
+ address?: string | undefined;
1066
+ y_parity?: string | undefined;
1067
+ r?: string | undefined;
1068
+ s?: string | undefined;
1069
+ } | undefined;
1070
+ paymaster?: string | undefined;
1071
+ paymasterData?: `0x${string}` | undefined;
1072
+ factory?: string | undefined;
1073
+ factoryData?: `0x${string}` | undefined;
1074
+ }>;
1075
+ entryPointAddress: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>>;
1076
+ alchemyRpcUrl: import("zod").ZodString;
1077
+ validAfter: import("zod").ZodDefault<import("zod").ZodNumber>;
1078
+ validUntil: import("zod").ZodDefault<import("zod").ZodNumber>;
1079
+ safe4337ModuleAddress: import("zod").ZodDefault<import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>>;
1080
+ eip712Params: import("zod").ZodOptional<import("zod").ZodObject<{
1081
+ domain: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
1082
+ types: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodObject<{
1083
+ name: import("zod").ZodString;
1084
+ type: import("zod").ZodString;
1085
+ }, "strip", import("zod").ZodTypeAny, {
1086
+ type: string;
1087
+ name: string;
1088
+ }, {
1089
+ type: string;
1090
+ name: string;
1091
+ }>, "many">>;
1092
+ primaryType: import("zod").ZodString;
1093
+ message: import("zod").ZodEffects<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>]>>, Record<string, string | Record<string, any>>, Record<string, string | Record<string, any>>>;
1094
+ }, "strip", import("zod").ZodTypeAny, {
1095
+ message: Record<string, string | Record<string, any>>;
1096
+ domain: Record<string, any>;
1097
+ types: Record<string, {
1098
+ type: string;
1099
+ name: string;
1100
+ }[]>;
1101
+ primaryType: string;
1102
+ }, {
1103
+ message: Record<string, string | Record<string, any>>;
1104
+ domain: Record<string, any>;
1105
+ types: Record<string, {
1106
+ type: string;
1107
+ name: string;
1108
+ }[]>;
1109
+ primaryType: string;
1110
+ }>>;
1111
+ }, "strip", import("zod").ZodTypeAny, {
1112
+ userOp: {
1113
+ sender: `0x${string}`;
1114
+ nonce: string;
1115
+ callData: `0x${string}`;
1116
+ callGasLimit: string;
1117
+ verificationGasLimit: string;
1118
+ preVerificationGas: string;
1119
+ maxFeePerGas: string;
1120
+ maxPriorityFeePerGas: string;
1121
+ signature: `0x${string}`;
1122
+ paymasterVerificationGasLimit: string;
1123
+ paymasterPostOpGasLimit: string;
1124
+ eip7702Auth?: {
1125
+ nonce?: string | undefined;
1126
+ chain_id?: string | undefined;
1127
+ address?: `0x${string}` | undefined;
1128
+ y_parity?: string | undefined;
1129
+ r?: string | undefined;
1130
+ s?: string | undefined;
1131
+ } | undefined;
1132
+ paymaster?: `0x${string}` | undefined;
1133
+ paymasterData?: `0x${string}` | undefined;
1134
+ factory?: `0x${string}` | undefined;
1135
+ factoryData?: `0x${string}` | undefined;
1136
+ };
1137
+ validAfter: number;
1138
+ validUntil: number;
1139
+ entryPointAddress: `0x${string}`;
1140
+ alchemyRpcUrl: string;
1141
+ safe4337ModuleAddress: `0x${string}`;
1142
+ eip712Params?: {
1143
+ message: Record<string, string | Record<string, any>>;
1144
+ domain: Record<string, any>;
1145
+ types: Record<string, {
1146
+ type: string;
1147
+ name: string;
1148
+ }[]>;
1149
+ primaryType: string;
1150
+ } | undefined;
1151
+ }, {
1152
+ userOp: {
1153
+ sender: string;
1154
+ nonce: string;
1155
+ callData: `0x${string}`;
1156
+ callGasLimit: string;
1157
+ verificationGasLimit: string;
1158
+ preVerificationGas: string;
1159
+ maxFeePerGas: string;
1160
+ maxPriorityFeePerGas: string;
1161
+ paymasterVerificationGasLimit: string;
1162
+ paymasterPostOpGasLimit: string;
1163
+ signature?: `0x${string}` | undefined;
1164
+ eip7702Auth?: {
1165
+ nonce?: string | undefined;
1166
+ chain_id?: string | undefined;
1167
+ address?: string | undefined;
1168
+ y_parity?: string | undefined;
1169
+ r?: string | undefined;
1170
+ s?: string | undefined;
1171
+ } | undefined;
1172
+ paymaster?: string | undefined;
1173
+ paymasterData?: `0x${string}` | undefined;
1174
+ factory?: string | undefined;
1175
+ factoryData?: `0x${string}` | undefined;
1176
+ };
1177
+ alchemyRpcUrl: string;
1178
+ validAfter?: number | undefined;
1179
+ validUntil?: number | undefined;
1180
+ entryPointAddress?: string | undefined;
1181
+ safe4337ModuleAddress?: string | undefined;
1182
+ eip712Params?: {
1183
+ message: Record<string, string | Record<string, any>>;
1184
+ domain: Record<string, any>;
1185
+ types: Record<string, {
1186
+ type: string;
1187
+ name: string;
1188
+ }[]>;
1189
+ primaryType: string;
1190
+ } | undefined;
1191
+ }>, import("zod").ZodObject<{
1192
+ alchemyRpcUrl: import("zod").ZodString;
1193
+ transaction: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodObject<{
1194
+ data: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
1195
+ from: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
1196
+ to: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
1197
+ value: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
1198
+ nonce: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
1199
+ gas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1200
+ gasLimit: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1201
+ gasPrice: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1202
+ maxFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1203
+ maxPriorityFeePerGas: import("zod").ZodOptional<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
1204
+ chainId: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>]>;
1205
+ type: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
1206
+ accessList: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1207
+ address: import("zod").ZodEffects<import("zod").ZodString, `0x${string}`, string>;
1208
+ storageKeys: import("zod").ZodArray<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>, "many">;
1209
+ }, "strip", import("zod").ZodTypeAny, {
1210
+ address: `0x${string}`;
1211
+ storageKeys: `0x${string}`[];
1212
+ }, {
1213
+ address: string;
1214
+ storageKeys: `0x${string}`[];
1215
+ }>, "many">>;
1216
+ }, "strip", import("zod").ZodTypeAny, {
1217
+ value: `0x${string}`;
1218
+ nonce: `0x${string}`;
1219
+ to: `0x${string}`;
1220
+ data: `0x${string}`;
1221
+ chainId: number | `0x${string}`;
1222
+ from: `0x${string}`;
1223
+ type?: string | number | undefined;
1224
+ maxFeePerGas?: `0x${string}` | undefined;
1225
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1226
+ gas?: `0x${string}` | undefined;
1227
+ gasLimit?: `0x${string}` | undefined;
1228
+ gasPrice?: `0x${string}` | undefined;
1229
+ accessList?: {
1230
+ address: `0x${string}`;
1231
+ storageKeys: `0x${string}`[];
1232
+ }[] | undefined;
1233
+ }, {
1234
+ value: `0x${string}`;
1235
+ nonce: `0x${string}`;
1236
+ to: string;
1237
+ data: `0x${string}`;
1238
+ chainId: number | `0x${string}`;
1239
+ from: string;
1240
+ type?: string | number | undefined;
1241
+ maxFeePerGas?: `0x${string}` | undefined;
1242
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1243
+ gas?: `0x${string}` | undefined;
1244
+ gasLimit?: `0x${string}` | undefined;
1245
+ gasPrice?: `0x${string}` | undefined;
1246
+ accessList?: {
1247
+ address: string;
1248
+ storageKeys: `0x${string}`[];
1249
+ }[] | undefined;
1250
+ }>, {
1251
+ value: `0x${string}`;
1252
+ nonce: `0x${string}`;
1253
+ to: `0x${string}`;
1254
+ data: `0x${string}`;
1255
+ chainId: number | `0x${string}`;
1256
+ from: `0x${string}`;
1257
+ type?: string | number | undefined;
1258
+ maxFeePerGas?: `0x${string}` | undefined;
1259
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1260
+ gas?: `0x${string}` | undefined;
1261
+ gasLimit?: `0x${string}` | undefined;
1262
+ gasPrice?: `0x${string}` | undefined;
1263
+ accessList?: {
1264
+ address: `0x${string}`;
1265
+ storageKeys: `0x${string}`[];
1266
+ }[] | undefined;
1267
+ }, {
1268
+ value: `0x${string}`;
1269
+ nonce: `0x${string}`;
1270
+ to: string;
1271
+ data: `0x${string}`;
1272
+ chainId: number | `0x${string}`;
1273
+ from: string;
1274
+ type?: string | number | undefined;
1275
+ maxFeePerGas?: `0x${string}` | undefined;
1276
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1277
+ gas?: `0x${string}` | undefined;
1278
+ gasLimit?: `0x${string}` | undefined;
1279
+ gasPrice?: `0x${string}` | undefined;
1280
+ accessList?: {
1281
+ address: string;
1282
+ storageKeys: `0x${string}`[];
1283
+ }[] | undefined;
1284
+ }>, {
1285
+ value: `0x${string}`;
1286
+ nonce: `0x${string}`;
1287
+ to: `0x${string}`;
1288
+ data: `0x${string}`;
1289
+ chainId: number | `0x${string}`;
1290
+ from: `0x${string}`;
1291
+ type?: string | number | undefined;
1292
+ maxFeePerGas?: `0x${string}` | undefined;
1293
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1294
+ gas?: `0x${string}` | undefined;
1295
+ gasLimit?: `0x${string}` | undefined;
1296
+ gasPrice?: `0x${string}` | undefined;
1297
+ accessList?: {
1298
+ address: `0x${string}`;
1299
+ storageKeys: `0x${string}`[];
1300
+ }[] | undefined;
1301
+ }, {
1302
+ value: `0x${string}`;
1303
+ nonce: `0x${string}`;
1304
+ to: string;
1305
+ data: `0x${string}`;
1306
+ chainId: number | `0x${string}`;
1307
+ from: string;
1308
+ type?: string | number | undefined;
1309
+ maxFeePerGas?: `0x${string}` | undefined;
1310
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1311
+ gas?: `0x${string}` | undefined;
1312
+ gasLimit?: `0x${string}` | undefined;
1313
+ gasPrice?: `0x${string}` | undefined;
1314
+ accessList?: {
1315
+ address: string;
1316
+ storageKeys: `0x${string}`[];
1317
+ }[] | undefined;
1318
+ }>;
1319
+ }, "strip", import("zod").ZodTypeAny, {
1320
+ transaction: {
1321
+ value: `0x${string}`;
1322
+ nonce: `0x${string}`;
1323
+ to: `0x${string}`;
1324
+ data: `0x${string}`;
1325
+ chainId: number | `0x${string}`;
1326
+ from: `0x${string}`;
1327
+ type?: string | number | undefined;
1328
+ maxFeePerGas?: `0x${string}` | undefined;
1329
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1330
+ gas?: `0x${string}` | undefined;
1331
+ gasLimit?: `0x${string}` | undefined;
1332
+ gasPrice?: `0x${string}` | undefined;
1333
+ accessList?: {
1334
+ address: `0x${string}`;
1335
+ storageKeys: `0x${string}`[];
1336
+ }[] | undefined;
1337
+ };
1338
+ alchemyRpcUrl: string;
1339
+ }, {
1340
+ transaction: {
1341
+ value: `0x${string}`;
1342
+ nonce: `0x${string}`;
1343
+ to: string;
1344
+ data: `0x${string}`;
1345
+ chainId: number | `0x${string}`;
1346
+ from: string;
1347
+ type?: string | number | undefined;
1348
+ maxFeePerGas?: `0x${string}` | undefined;
1349
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1350
+ gas?: `0x${string}` | undefined;
1351
+ gasLimit?: `0x${string}` | undefined;
1352
+ gasPrice?: `0x${string}` | undefined;
1353
+ accessList?: {
1354
+ address: string;
1355
+ storageKeys: `0x${string}`[];
1356
+ }[] | undefined;
1357
+ };
1358
+ alchemyRpcUrl: string;
1359
+ }>]>, import("@lit-protocol/vincent-ability-sdk").PolicyEvaluationResultContext<{}>, import("zod").ZodObject<{
1360
+ simulationChanges: import("zod").ZodArray<import("zod").ZodObject<{
1361
+ assetType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType>;
1362
+ changeType: import("zod").ZodNativeEnum<typeof import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType>;
1363
+ from: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
1364
+ to: import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>;
1365
+ rawAmount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1366
+ amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1367
+ contractAddress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>>;
1368
+ tokenId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1369
+ decimals: import("zod").ZodNumber;
1370
+ symbol: import("zod").ZodString;
1371
+ name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1372
+ logo: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1373
+ }, "strip", import("zod").ZodTypeAny, {
1374
+ symbol: string;
1375
+ to: `0x${string}`;
1376
+ from: `0x${string}`;
1377
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
1378
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
1379
+ decimals: number;
1380
+ tokenId?: string | null | undefined;
1381
+ name?: string | null | undefined;
1382
+ rawAmount?: string | null | undefined;
1383
+ amount?: string | null | undefined;
1384
+ contractAddress?: `0x${string}` | null | undefined;
1385
+ logo?: string | null | undefined;
1386
+ }, {
1387
+ symbol: string;
1388
+ to: `0x${string}`;
1389
+ from: `0x${string}`;
1390
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
1391
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
1392
+ decimals: number;
1393
+ tokenId?: string | null | undefined;
1394
+ name?: string | null | undefined;
1395
+ rawAmount?: string | null | undefined;
1396
+ amount?: string | null | undefined;
1397
+ contractAddress?: `0x${string}` | null | undefined;
1398
+ logo?: string | null | undefined;
1399
+ }>, "many">;
60
1400
  }, "strip", import("zod").ZodTypeAny, {
61
- operationValid: boolean;
62
- assetValid: boolean;
63
- amountValid: boolean;
64
- allowance?: string | undefined;
65
- userBalance?: string | undefined;
66
- borrowCapacity?: string | undefined;
67
- estimatedGas?: number | undefined;
68
- availableMarkets?: Record<string, string> | undefined;
69
- supportedChains?: string[] | undefined;
1401
+ simulationChanges: {
1402
+ symbol: string;
1403
+ to: `0x${string}`;
1404
+ from: `0x${string}`;
1405
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
1406
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
1407
+ decimals: number;
1408
+ tokenId?: string | null | undefined;
1409
+ name?: string | null | undefined;
1410
+ rawAmount?: string | null | undefined;
1411
+ amount?: string | null | undefined;
1412
+ contractAddress?: `0x${string}` | null | undefined;
1413
+ logo?: string | null | undefined;
1414
+ }[];
70
1415
  }, {
71
- operationValid: boolean;
72
- assetValid: boolean;
73
- amountValid: boolean;
74
- allowance?: string | undefined;
75
- userBalance?: string | undefined;
76
- borrowCapacity?: string | undefined;
77
- estimatedGas?: number | undefined;
78
- availableMarkets?: Record<string, string> | undefined;
79
- supportedChains?: string[] | undefined;
1416
+ simulationChanges: {
1417
+ symbol: string;
1418
+ to: `0x${string}`;
1419
+ from: `0x${string}`;
1420
+ assetType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateAssetType;
1421
+ changeType: import("node_modules/@lit-protocol/vincent-ability-sdk/dist/src/lib/gatedSigner/helpers/simulation").SimulateChangeType;
1422
+ decimals: number;
1423
+ tokenId?: string | null | undefined;
1424
+ name?: string | null | undefined;
1425
+ rawAmount?: string | null | undefined;
1426
+ amount?: string | null | undefined;
1427
+ contractAddress?: `0x${string}` | null | undefined;
1428
+ logo?: string | null | undefined;
1429
+ }[];
80
1430
  }>, import("zod").ZodObject<{
81
1431
  error: import("zod").ZodString;
82
1432
  }, "strip", import("zod").ZodTypeAny, {
83
1433
  error: string;
84
1434
  }, {
85
1435
  error: string;
86
- }>>;
1436
+ }>> | undefined>;
87
1437
  //# sourceMappingURL=vincent-ability.d.ts.map