@illalabs/interfaces 0.26.0 → 0.27.0-canary-beta-0a54b3fd

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.
@@ -1,27 +1,27 @@
1
1
  import { z } from "zod";
2
2
  export declare const DeFiConfigSchema: z.ZodUnion<[z.ZodObject<{
3
- lending: z.ZodEnum<["aave"]>;
3
+ lending: z.ZodEnum<["aave", "morpho"]>;
4
4
  supply: z.ZodOptional<z.ZodNever>;
5
5
  withdraw: z.ZodOptional<z.ZodNever>;
6
6
  }, "strict", z.ZodTypeAny, {
7
- lending: "aave";
7
+ lending: "aave" | "morpho";
8
8
  supply?: undefined;
9
9
  withdraw?: undefined;
10
10
  }, {
11
- lending: "aave";
11
+ lending: "aave" | "morpho";
12
12
  supply?: undefined;
13
13
  withdraw?: undefined;
14
14
  }>, z.ZodObject<{
15
15
  lending: z.ZodOptional<z.ZodNever>;
16
- supply: z.ZodEnum<["aave"]>;
17
- withdraw: z.ZodEnum<["aave"]>;
16
+ supply: z.ZodEnum<["aave", "morpho"]>;
17
+ withdraw: z.ZodEnum<["aave", "morpho"]>;
18
18
  }, "strict", z.ZodTypeAny, {
19
- supply: "aave";
20
- withdraw: "aave";
19
+ supply: "aave" | "morpho";
20
+ withdraw: "aave" | "morpho";
21
21
  lending?: undefined;
22
22
  }, {
23
- supply: "aave";
24
- withdraw: "aave";
23
+ supply: "aave" | "morpho";
24
+ withdraw: "aave" | "morpho";
25
25
  lending?: undefined;
26
26
  }>]>;
27
27
  export declare const SwapBridgeProviderSchema: z.ZodEnum<["lifi", "aerodrome"]>;
@@ -61,17 +61,17 @@ export declare const ToolsAllowlistSchema: z.ZodObject<{
61
61
  provider?: "lifi" | undefined;
62
62
  }>]>>;
63
63
  lend: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
64
- provider: z.ZodOptional<z.ZodEnum<["aave"]>>;
64
+ provider: z.ZodOptional<z.ZodEnum<["aave", "morpho"]>>;
65
65
  supply: z.ZodOptional<z.ZodBoolean>;
66
66
  withdraw: z.ZodOptional<z.ZodBoolean>;
67
67
  }, "strict", z.ZodTypeAny, {
68
68
  supply?: boolean | undefined;
69
69
  withdraw?: boolean | undefined;
70
- provider?: "aave" | undefined;
70
+ provider?: "aave" | "morpho" | undefined;
71
71
  }, {
72
72
  supply?: boolean | undefined;
73
73
  withdraw?: boolean | undefined;
74
- provider?: "aave" | undefined;
74
+ provider?: "aave" | "morpho" | undefined;
75
75
  }>]>>;
76
76
  predictionMarkets: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
77
77
  provider: z.ZodOptional<z.ZodEnum<["polymarket"]>>;
@@ -96,7 +96,7 @@ export declare const ToolsAllowlistSchema: z.ZodObject<{
96
96
  lend?: true | {
97
97
  supply?: boolean | undefined;
98
98
  withdraw?: boolean | undefined;
99
- provider?: "aave" | undefined;
99
+ provider?: "aave" | "morpho" | undefined;
100
100
  } | undefined;
101
101
  predictionMarkets?: true | {
102
102
  provider?: "polymarket" | undefined;
@@ -115,7 +115,7 @@ export declare const ToolsAllowlistSchema: z.ZodObject<{
115
115
  lend?: true | {
116
116
  supply?: boolean | undefined;
117
117
  withdraw?: boolean | undefined;
118
- provider?: "aave" | undefined;
118
+ provider?: "aave" | "morpho" | undefined;
119
119
  } | undefined;
120
120
  predictionMarkets?: true | {
121
121
  provider?: "polymarket" | undefined;
@@ -124,28 +124,28 @@ export declare const ToolsAllowlistSchema: z.ZodObject<{
124
124
  }>;
125
125
  export declare const AutoRouterConfigSchema: z.ZodObject<{
126
126
  defi: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
127
- lending: z.ZodEnum<["aave"]>;
127
+ lending: z.ZodEnum<["aave", "morpho"]>;
128
128
  supply: z.ZodOptional<z.ZodNever>;
129
129
  withdraw: z.ZodOptional<z.ZodNever>;
130
130
  }, "strict", z.ZodTypeAny, {
131
- lending: "aave";
131
+ lending: "aave" | "morpho";
132
132
  supply?: undefined;
133
133
  withdraw?: undefined;
134
134
  }, {
135
- lending: "aave";
135
+ lending: "aave" | "morpho";
136
136
  supply?: undefined;
137
137
  withdraw?: undefined;
138
138
  }>, z.ZodObject<{
139
139
  lending: z.ZodOptional<z.ZodNever>;
140
- supply: z.ZodEnum<["aave"]>;
141
- withdraw: z.ZodEnum<["aave"]>;
140
+ supply: z.ZodEnum<["aave", "morpho"]>;
141
+ withdraw: z.ZodEnum<["aave", "morpho"]>;
142
142
  }, "strict", z.ZodTypeAny, {
143
- supply: "aave";
144
- withdraw: "aave";
143
+ supply: "aave" | "morpho";
144
+ withdraw: "aave" | "morpho";
145
145
  lending?: undefined;
146
146
  }, {
147
- supply: "aave";
148
- withdraw: "aave";
147
+ supply: "aave" | "morpho";
148
+ withdraw: "aave" | "morpho";
149
149
  lending?: undefined;
150
150
  }>]>>;
151
151
  swapOrBridge: z.ZodOptional<z.ZodEnum<["lifi", "aerodrome"]>>;
@@ -173,17 +173,17 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
173
173
  provider?: "lifi" | undefined;
174
174
  }>]>>;
175
175
  lend: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
176
- provider: z.ZodOptional<z.ZodEnum<["aave"]>>;
176
+ provider: z.ZodOptional<z.ZodEnum<["aave", "morpho"]>>;
177
177
  supply: z.ZodOptional<z.ZodBoolean>;
178
178
  withdraw: z.ZodOptional<z.ZodBoolean>;
179
179
  }, "strict", z.ZodTypeAny, {
180
180
  supply?: boolean | undefined;
181
181
  withdraw?: boolean | undefined;
182
- provider?: "aave" | undefined;
182
+ provider?: "aave" | "morpho" | undefined;
183
183
  }, {
184
184
  supply?: boolean | undefined;
185
185
  withdraw?: boolean | undefined;
186
- provider?: "aave" | undefined;
186
+ provider?: "aave" | "morpho" | undefined;
187
187
  }>]>>;
188
188
  predictionMarkets: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
189
189
  provider: z.ZodOptional<z.ZodEnum<["polymarket"]>>;
@@ -208,7 +208,7 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
208
208
  lend?: true | {
209
209
  supply?: boolean | undefined;
210
210
  withdraw?: boolean | undefined;
211
- provider?: "aave" | undefined;
211
+ provider?: "aave" | "morpho" | undefined;
212
212
  } | undefined;
213
213
  predictionMarkets?: true | {
214
214
  provider?: "polymarket" | undefined;
@@ -227,7 +227,7 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
227
227
  lend?: true | {
228
228
  supply?: boolean | undefined;
229
229
  withdraw?: boolean | undefined;
230
- provider?: "aave" | undefined;
230
+ provider?: "aave" | "morpho" | undefined;
231
231
  } | undefined;
232
232
  predictionMarkets?: true | {
233
233
  provider?: "polymarket" | undefined;
@@ -237,12 +237,12 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
237
237
  chains: z.ZodOptional<z.ZodArray<z.ZodEnum<["Ethereum", "Polygon", "Optimism", "Base", "Arbitrum", "Avalanche", "BSC"]>, "many">>;
238
238
  }, "strict", z.ZodTypeAny, {
239
239
  defi?: {
240
- lending: "aave";
240
+ lending: "aave" | "morpho";
241
241
  supply?: undefined;
242
242
  withdraw?: undefined;
243
243
  } | {
244
- supply: "aave";
245
- withdraw: "aave";
244
+ supply: "aave" | "morpho";
245
+ withdraw: "aave" | "morpho";
246
246
  lending?: undefined;
247
247
  } | undefined;
248
248
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -262,7 +262,7 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
262
262
  lend?: true | {
263
263
  supply?: boolean | undefined;
264
264
  withdraw?: boolean | undefined;
265
- provider?: "aave" | undefined;
265
+ provider?: "aave" | "morpho" | undefined;
266
266
  } | undefined;
267
267
  predictionMarkets?: true | {
268
268
  provider?: "polymarket" | undefined;
@@ -272,12 +272,12 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
272
272
  chains?: ("Ethereum" | "Polygon" | "Optimism" | "Base" | "Arbitrum" | "Avalanche" | "BSC")[] | undefined;
273
273
  }, {
274
274
  defi?: {
275
- lending: "aave";
275
+ lending: "aave" | "morpho";
276
276
  supply?: undefined;
277
277
  withdraw?: undefined;
278
278
  } | {
279
- supply: "aave";
280
- withdraw: "aave";
279
+ supply: "aave" | "morpho";
280
+ withdraw: "aave" | "morpho";
281
281
  lending?: undefined;
282
282
  } | undefined;
283
283
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -297,7 +297,7 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
297
297
  lend?: true | {
298
298
  supply?: boolean | undefined;
299
299
  withdraw?: boolean | undefined;
300
- provider?: "aave" | undefined;
300
+ provider?: "aave" | "morpho" | undefined;
301
301
  } | undefined;
302
302
  predictionMarkets?: true | {
303
303
  provider?: "polymarket" | undefined;
@@ -309,28 +309,28 @@ export declare const AutoRouterConfigSchema: z.ZodObject<{
309
309
  export declare const ToolAutorouterSchema: z.ZodObject<{
310
310
  autoRouter: z.ZodOptional<z.ZodObject<{
311
311
  defi: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
312
- lending: z.ZodEnum<["aave"]>;
312
+ lending: z.ZodEnum<["aave", "morpho"]>;
313
313
  supply: z.ZodOptional<z.ZodNever>;
314
314
  withdraw: z.ZodOptional<z.ZodNever>;
315
315
  }, "strict", z.ZodTypeAny, {
316
- lending: "aave";
316
+ lending: "aave" | "morpho";
317
317
  supply?: undefined;
318
318
  withdraw?: undefined;
319
319
  }, {
320
- lending: "aave";
320
+ lending: "aave" | "morpho";
321
321
  supply?: undefined;
322
322
  withdraw?: undefined;
323
323
  }>, z.ZodObject<{
324
324
  lending: z.ZodOptional<z.ZodNever>;
325
- supply: z.ZodEnum<["aave"]>;
326
- withdraw: z.ZodEnum<["aave"]>;
325
+ supply: z.ZodEnum<["aave", "morpho"]>;
326
+ withdraw: z.ZodEnum<["aave", "morpho"]>;
327
327
  }, "strict", z.ZodTypeAny, {
328
- supply: "aave";
329
- withdraw: "aave";
328
+ supply: "aave" | "morpho";
329
+ withdraw: "aave" | "morpho";
330
330
  lending?: undefined;
331
331
  }, {
332
- supply: "aave";
333
- withdraw: "aave";
332
+ supply: "aave" | "morpho";
333
+ withdraw: "aave" | "morpho";
334
334
  lending?: undefined;
335
335
  }>]>>;
336
336
  swapOrBridge: z.ZodOptional<z.ZodEnum<["lifi", "aerodrome"]>>;
@@ -358,17 +358,17 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
358
358
  provider?: "lifi" | undefined;
359
359
  }>]>>;
360
360
  lend: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
361
- provider: z.ZodOptional<z.ZodEnum<["aave"]>>;
361
+ provider: z.ZodOptional<z.ZodEnum<["aave", "morpho"]>>;
362
362
  supply: z.ZodOptional<z.ZodBoolean>;
363
363
  withdraw: z.ZodOptional<z.ZodBoolean>;
364
364
  }, "strict", z.ZodTypeAny, {
365
365
  supply?: boolean | undefined;
366
366
  withdraw?: boolean | undefined;
367
- provider?: "aave" | undefined;
367
+ provider?: "aave" | "morpho" | undefined;
368
368
  }, {
369
369
  supply?: boolean | undefined;
370
370
  withdraw?: boolean | undefined;
371
- provider?: "aave" | undefined;
371
+ provider?: "aave" | "morpho" | undefined;
372
372
  }>]>>;
373
373
  predictionMarkets: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodObject<{
374
374
  provider: z.ZodOptional<z.ZodEnum<["polymarket"]>>;
@@ -393,7 +393,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
393
393
  lend?: true | {
394
394
  supply?: boolean | undefined;
395
395
  withdraw?: boolean | undefined;
396
- provider?: "aave" | undefined;
396
+ provider?: "aave" | "morpho" | undefined;
397
397
  } | undefined;
398
398
  predictionMarkets?: true | {
399
399
  provider?: "polymarket" | undefined;
@@ -412,7 +412,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
412
412
  lend?: true | {
413
413
  supply?: boolean | undefined;
414
414
  withdraw?: boolean | undefined;
415
- provider?: "aave" | undefined;
415
+ provider?: "aave" | "morpho" | undefined;
416
416
  } | undefined;
417
417
  predictionMarkets?: true | {
418
418
  provider?: "polymarket" | undefined;
@@ -422,12 +422,12 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
422
422
  chains: z.ZodOptional<z.ZodArray<z.ZodEnum<["Ethereum", "Polygon", "Optimism", "Base", "Arbitrum", "Avalanche", "BSC"]>, "many">>;
423
423
  }, "strict", z.ZodTypeAny, {
424
424
  defi?: {
425
- lending: "aave";
425
+ lending: "aave" | "morpho";
426
426
  supply?: undefined;
427
427
  withdraw?: undefined;
428
428
  } | {
429
- supply: "aave";
430
- withdraw: "aave";
429
+ supply: "aave" | "morpho";
430
+ withdraw: "aave" | "morpho";
431
431
  lending?: undefined;
432
432
  } | undefined;
433
433
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -447,7 +447,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
447
447
  lend?: true | {
448
448
  supply?: boolean | undefined;
449
449
  withdraw?: boolean | undefined;
450
- provider?: "aave" | undefined;
450
+ provider?: "aave" | "morpho" | undefined;
451
451
  } | undefined;
452
452
  predictionMarkets?: true | {
453
453
  provider?: "polymarket" | undefined;
@@ -457,12 +457,12 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
457
457
  chains?: ("Ethereum" | "Polygon" | "Optimism" | "Base" | "Arbitrum" | "Avalanche" | "BSC")[] | undefined;
458
458
  }, {
459
459
  defi?: {
460
- lending: "aave";
460
+ lending: "aave" | "morpho";
461
461
  supply?: undefined;
462
462
  withdraw?: undefined;
463
463
  } | {
464
- supply: "aave";
465
- withdraw: "aave";
464
+ supply: "aave" | "morpho";
465
+ withdraw: "aave" | "morpho";
466
466
  lending?: undefined;
467
467
  } | undefined;
468
468
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -482,7 +482,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
482
482
  lend?: true | {
483
483
  supply?: boolean | undefined;
484
484
  withdraw?: boolean | undefined;
485
- provider?: "aave" | undefined;
485
+ provider?: "aave" | "morpho" | undefined;
486
486
  } | undefined;
487
487
  predictionMarkets?: true | {
488
488
  provider?: "polymarket" | undefined;
@@ -494,12 +494,12 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
494
494
  }, "strict", z.ZodTypeAny, {
495
495
  autoRouter?: {
496
496
  defi?: {
497
- lending: "aave";
497
+ lending: "aave" | "morpho";
498
498
  supply?: undefined;
499
499
  withdraw?: undefined;
500
500
  } | {
501
- supply: "aave";
502
- withdraw: "aave";
501
+ supply: "aave" | "morpho";
502
+ withdraw: "aave" | "morpho";
503
503
  lending?: undefined;
504
504
  } | undefined;
505
505
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -519,7 +519,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
519
519
  lend?: true | {
520
520
  supply?: boolean | undefined;
521
521
  withdraw?: boolean | undefined;
522
- provider?: "aave" | undefined;
522
+ provider?: "aave" | "morpho" | undefined;
523
523
  } | undefined;
524
524
  predictionMarkets?: true | {
525
525
  provider?: "polymarket" | undefined;
@@ -531,12 +531,12 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
531
531
  }, {
532
532
  autoRouter?: {
533
533
  defi?: {
534
- lending: "aave";
534
+ lending: "aave" | "morpho";
535
535
  supply?: undefined;
536
536
  withdraw?: undefined;
537
537
  } | {
538
- supply: "aave";
539
- withdraw: "aave";
538
+ supply: "aave" | "morpho";
539
+ withdraw: "aave" | "morpho";
540
540
  lending?: undefined;
541
541
  } | undefined;
542
542
  swapOrBridge?: "lifi" | "aerodrome" | undefined;
@@ -556,7 +556,7 @@ export declare const ToolAutorouterSchema: z.ZodObject<{
556
556
  lend?: true | {
557
557
  supply?: boolean | undefined;
558
558
  withdraw?: boolean | undefined;
559
- provider?: "aave" | undefined;
559
+ provider?: "aave" | "morpho" | undefined;
560
560
  } | undefined;
561
561
  predictionMarkets?: true | {
562
562
  provider?: "polymarket" | undefined;
@@ -5,7 +5,7 @@ export type DefiFetchListingsActionInputSchema = z.ZodObject<{
5
5
  tokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  criteria: z.ZodOptional<z.ZodEnum<["supplyAPY", "totalLiquidityUSD"]>>;
7
7
  limit: z.ZodOptional<z.ZodNumber>;
8
- protocol: z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>;
8
+ protocol: z.ZodOptional<z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>>;
9
9
  }>;
10
10
  export type DefiFetchListingsActionInput = TypeOf<DefiFetchListingsActionInputSchema>;
11
11
  //# sourceMappingURL=defiFetchListingsAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defiFetchListingsAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiFetchListingsAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,SAAS,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,cAAc,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACvE,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;CAClF,CAAC,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,kCAAkC,CAAC,CAAC"}
1
+ {"version":3,"file":"defiFetchListingsAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiFetchListingsAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,SAAS,CAAC;IACzD,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,cAAc,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IACvE,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC,CAAC;CACjG,CAAC,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC,kCAAkC,CAAC,CAAC"}
@@ -4,9 +4,36 @@ export type DefiPositionsActionInputSchema = z.ZodObject<{
4
4
  userAddress: z.ZodString;
5
5
  chain: z.ZodEnum<[SupportedChain, ...SupportedChain[]]>;
6
6
  tokens: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
- protocol: z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>;
7
+ protocol: z.ZodOptional<z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>>;
8
8
  }>;
9
9
  export type DefiPositionsActionInput = TypeOf<DefiPositionsActionInputSchema>;
10
+ /**
11
+ * Generic descriptor for an ERC-4626-style curated vault. Present on listings
12
+ * and positions sourced from vault-shaped lending protocols (Morpho today;
13
+ * other curated-vault protocols later); undefined for pool-shaped protocols
14
+ * like Aave.
15
+ *
16
+ * `curator` is optional because not every vault protocol exposes a curator
17
+ * identity (Morpho does; other future integrations may not).
18
+ */
19
+ export type LendingVaultMetadata = {
20
+ /** Vault contract address. */
21
+ address: `0x${string}`;
22
+ /** Display name of the vault (e.g. "Gauntlet USDC Prime"). */
23
+ name: string;
24
+ /** Curator / strategist display name, when the protocol exposes one. */
25
+ curator?: string;
26
+ };
27
+ /**
28
+ * Surfaces partial failures from multi-provider fan-out (e.g. Morpho API down
29
+ * while Aave succeeds). Consumers can show a hint to the user without losing
30
+ * the available results.
31
+ */
32
+ export type LendingProviderError = {
33
+ protocol: SupportedLendingProvider;
34
+ chain?: string;
35
+ message: string;
36
+ };
10
37
  export type DefiFetchOutput = {
11
38
  type: "DefiFetchListings";
12
39
  value: {
@@ -17,7 +44,32 @@ export type DefiFetchOutput = {
17
44
  url: string;
18
45
  protocol: string;
19
46
  chain: string | undefined;
47
+ vault?: LendingVaultMetadata;
20
48
  }[];
49
+ providerErrors?: ReadonlyArray<LendingProviderError>;
21
50
  };
22
51
  };
52
+ /**
53
+ * Provider-agnostic shape of a single lending position returned by
54
+ * `defiPositions`. Works for pool-shaped protocols (Aave) and vault-shaped ones
55
+ * (Morpho): pool rows leave {@link LendingWalletPosition.vault} undefined, while
56
+ * vault rows populate it so consumers can disambiguate multiple positions in the
57
+ * same asset.
58
+ */
59
+ export type LendingWalletPosition = {
60
+ /** Lowercase chain name (e.g. "ethereum", "base"). */
61
+ chain: string;
62
+ /** Underlying asset symbol (e.g. "USDC"). */
63
+ symbol: string;
64
+ /** Human-readable underlying-asset balance. */
65
+ balance: string;
66
+ /** USD value of the position; omitted when the protocol can't price it. */
67
+ usdValue?: string;
68
+ /** Net supply APY, formatted "X.XX%". Present for vault-shaped protocols (Morpho). */
69
+ apy?: string;
70
+ /** Lending protocol the position belongs to. */
71
+ protocol: SupportedLendingProvider;
72
+ /** Curated-vault metadata. Present for vault-shaped protocols (Morpho); undefined for Aave. */
73
+ vault?: LendingVaultMetadata;
74
+ };
23
75
  //# sourceMappingURL=defiPositionsAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defiPositionsAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiPositionsAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,SAAS,CAAC;IACrD,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC;IACzB,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,cAAc,EAAE,GAAG,cAAc,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IAC/C,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;CAClF,CAAC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,MAAM,CAAC,8BAA8B,CAAC,CAAC;AAE9E,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE;QACH,OAAO,EAAE;YACL,OAAO,EAAE,MAAM,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,M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,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,EAAE;QACH,OAAO,EAAE;YACL,OAAO,EAAE,MAAM,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;YAC1B,KAAK,CAAC,EAAE,oBAAoB,CAAC;SAChC,EAAE,CAAC;QACJ,cAAc,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;KACxD,CAAC;CACL,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAChC,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sFAAsF;IACtF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gDAAgD;IAChD,QAAQ,EAAE,wBAAwB,CAAC;IACnC,+FAA+F;IAC/F,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAChC,CAAC"}
@@ -6,6 +6,13 @@ export type DefiSupplyActionInputSchema = z.ZodObject<{
6
6
  chain: z.ZodEnum<[string, ...string[]]>;
7
7
  userAddress: z.ZodString;
8
8
  protocol: z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>;
9
+ /**
10
+ * Optional curated-vault address for vault-shaped protocols (Morpho), e.g.
11
+ * taken from a prior `defiFetchListings` result. Pool-shaped protocols (Aave)
12
+ * ignore it. When omitted, the provider selects a vault (e.g. the highest-APY
13
+ * curated vault for the token/chain).
14
+ */
15
+ vaultAddress: z.ZodOptional<z.ZodString>;
9
16
  }>;
10
17
  export type DefiSupplyActionInput = TypeOf<DefiSupplyActionInputSchema>;
11
18
  //# sourceMappingURL=defiSupplyAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defiSupplyAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiSupplyAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,SAAS,CAAC;IAClD,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC;IACnB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;CAClF,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"defiSupplyAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiSupplyAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,SAAS,CAAC;IAClD,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC;IACnB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;IAC/E;;;;;OAKG;IACH,YAAY,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAC"}
@@ -6,6 +6,13 @@ export type DefiWithdrawActionInputSchema = z.ZodObject<{
6
6
  chain: z.ZodEnum<[string, ...string[]]>;
7
7
  userAddress: z.ZodString;
8
8
  protocol: z.ZodEnum<[SupportedLendingProvider, ...SupportedLendingProvider[]]>;
9
+ /**
10
+ * Optional curated-vault address for vault-shaped protocols (Morpho), e.g.
11
+ * taken from a prior `defiFetchListings`/`defiPositions` result. Pool-shaped
12
+ * protocols (Aave) ignore it. When omitted, the provider resolves the vault
13
+ * from the user's positions for the token/chain.
14
+ */
15
+ vaultAddress: z.ZodOptional<z.ZodString>;
9
16
  }>;
10
17
  export type DefiWithdrawActionInput = TypeOf<DefiWithdrawActionInputSchema>;
11
18
  //# sourceMappingURL=defiWithdrawAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defiWithdrawAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiWithdrawAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC;IACnB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;CAClF,CAAC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"defiWithdrawAction.d.ts","sourceRoot":"","sources":["../../../../src/types/actions/tools/defiWithdrawAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAErC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAErE,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,SAAS,CAAC;IACnB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC;IACxC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,wBAAwB,EAAE,GAAG,wBAAwB,EAAE,CAAC,CAAC,CAAC;IAC/E;;;;;OAKG;IACH,YAAY,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- export declare const LENDING_PROVIDERS: readonly ["aave"];
1
+ export declare const LENDING_PROVIDERS: readonly ["aave", "morpho"];
2
2
  export declare const SUPPORTED_SWAP_PROVIDERS: readonly ["lifi", "aerodrome"];
3
3
  export declare const SUPPORTED_BRIDGE_PROVIDERS: readonly ["lifi"];
4
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,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAChC,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,GAClC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,yBAAyB,mCAAoC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,2BAA2B,4gBAqB9B,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpF;;GAEG;AACH,eAAO,MAAM,uBAAuB,sEAK1B,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- export const LENDING_PROVIDERS = Object.freeze(["aave"]);
1
+ export const LENDING_PROVIDERS = Object.freeze(["aave", "morpho"]);
2
2
  export const SUPPORTED_SWAP_PROVIDERS = Object.freeze(["lifi", "aerodrome"]);
3
3
  export const SUPPORTED_BRIDGE_PROVIDERS = Object.freeze(["lifi"]);
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAAU,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,WAAW,CAAU,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,MAA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AAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@illalabs/interfaces",
3
- "version": "0.26.0",
3
+ "version": "0.27.0-canary-beta-0a54b3fd",
4
4
  "description": "ILLA interfaces and types",
5
5
  "repository": {
6
6
  "type": "git",