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