@argent/x-shared 1.72.2 → 1.73.1

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