@argent/x-shared 1.62.12 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/defiDecomposition.cjs +1 -0
- package/dist/defiDecomposition.d.ts +2 -0
- package/dist/defiDecomposition.js +65 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +476 -475
- package/dist/src/account/account.model.cjs +1 -1
- package/dist/src/account/account.model.d.ts +11 -0
- package/dist/src/account/account.model.js +8 -4
- package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.d.ts +6 -0
- package/dist/src/features/defiDecomposition/helpers/computeCollateralizedDebtPositionsUsdValue.js +62 -0
- package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/computeConcentratedLiquidityPositionsUsdValue.js +31 -0
- package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/computeDefiDecompositionUsdValue.js +55 -0
- package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/computeDelegatedTokensPositionsUsdValue.js +30 -0
- package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/computeStakingPositionsUsdValue.js +30 -0
- package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/computeStrkDelegatedStakingPositionsUsdValue.js +30 -0
- package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.d.ts +3 -0
- package/dist/src/features/defiDecomposition/helpers/computeUsdValueForPosition.js +17 -0
- package/dist/src/features/defiDecomposition/helpers/getDefiProductName.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/getDefiProductName.d.ts +1 -0
- package/dist/src/features/defiDecomposition/helpers/getDefiProductName.js +11 -0
- package/dist/src/features/defiDecomposition/helpers/index.d.ts +13 -0
- package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.d.ts +7 -0
- package/dist/src/features/defiDecomposition/helpers/parseCollateralizedDebtPositions.js +57 -0
- package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/parseConcentratedLiquidityPositions.js +42 -0
- package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/parseDefiDecomposition.js +63 -0
- package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/parseDelegatedTokensPositions.js +27 -0
- package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/parseStakingPositions.js +29 -0
- package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.d.ts +4 -0
- package/dist/src/features/defiDecomposition/helpers/parseStrkDelegatedStakingPositions.js +27 -0
- package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.cjs +1 -0
- package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.d.ts +9 -0
- package/dist/src/features/defiDecomposition/helpers/sortDescendingByUsdValue.js +9 -0
- package/dist/src/features/defiDecomposition/index.d.ts +2 -0
- package/dist/src/features/defiDecomposition/schema.cjs +1 -0
- package/dist/src/features/defiDecomposition/schema.d.ts +16935 -0
- package/dist/src/features/defiDecomposition/schema.js +153 -0
- package/dist/src/features/paymaster/types.d.ts +20 -20
- package/dist/src/features/simulation/activity/schema.d.ts +356 -356
- package/dist/src/features/simulation/activity/utils/createNativeActivity.d.ts +8 -8
- package/dist/src/features/simulation/transactionReview/schema.d.ts +1484 -1484
- package/dist/src/features/swap/models/trade.model.d.ts +20 -0
- package/dist/src/staking/schema.d.ts +24 -24
- package/dist/src/tokens/service/types/backend.model.d.ts +8 -8
- package/dist/src/tokens/service/types/defiPosition.model.d.ts +576 -40
- package/dist/src/tokens/service/types/unclaimedRewards.model.d.ts +8 -8
- package/dist/src/tokens/service/types/webToken.model.cjs +1 -1
- package/dist/src/tokens/service/types/webToken.model.d.ts +36 -2
- package/dist/src/tokens/service/types/webToken.model.js +9 -7
- package/dist/src/transactions/equalTokens.cjs +1 -0
- package/dist/src/transactions/equalTokens.d.ts +2 -0
- package/dist/src/transactions/equalTokens.js +5 -0
- package/dist/src/transactions/errors.d.ts +4 -4
- package/dist/src/utils/starknet/starknet.d.ts +12 -12
- package/dist/src/utils/starknet/starknetSchemas.d.ts +212 -212
- package/package.json +6 -1
|
@@ -18,6 +18,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
18
18
|
category: z.ZodOptional<z.ZodString>;
|
|
19
19
|
dappId: z.ZodOptional<z.ZodString>;
|
|
20
20
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
21
|
+
tradable: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
21
23
|
}>, "strip", z.ZodTypeAny, {
|
|
22
24
|
address: `0x${string}`;
|
|
23
25
|
networkId: string;
|
|
@@ -29,6 +31,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
29
31
|
id?: number | undefined;
|
|
30
32
|
iconUrl?: string | undefined;
|
|
31
33
|
category?: string | undefined;
|
|
34
|
+
popular?: boolean | undefined;
|
|
35
|
+
tradable?: boolean | undefined;
|
|
32
36
|
pricingId?: number | undefined;
|
|
33
37
|
}, {
|
|
34
38
|
address: string;
|
|
@@ -41,6 +45,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
41
45
|
id?: number | undefined;
|
|
42
46
|
iconUrl?: string | undefined;
|
|
43
47
|
category?: string | undefined;
|
|
48
|
+
popular?: boolean | undefined;
|
|
49
|
+
tradable?: boolean | undefined;
|
|
44
50
|
pricingId?: number | undefined;
|
|
45
51
|
}>;
|
|
46
52
|
receiveToken: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -56,6 +62,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
56
62
|
category: z.ZodOptional<z.ZodString>;
|
|
57
63
|
dappId: z.ZodOptional<z.ZodString>;
|
|
58
64
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
65
|
+
tradable: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
popular: z.ZodOptional<z.ZodBoolean>;
|
|
59
67
|
}>, "strip", z.ZodTypeAny, {
|
|
60
68
|
address: `0x${string}`;
|
|
61
69
|
networkId: string;
|
|
@@ -67,6 +75,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
67
75
|
id?: number | undefined;
|
|
68
76
|
iconUrl?: string | undefined;
|
|
69
77
|
category?: string | undefined;
|
|
78
|
+
popular?: boolean | undefined;
|
|
79
|
+
tradable?: boolean | undefined;
|
|
70
80
|
pricingId?: number | undefined;
|
|
71
81
|
}, {
|
|
72
82
|
address: string;
|
|
@@ -79,6 +89,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
79
89
|
id?: number | undefined;
|
|
80
90
|
iconUrl?: string | undefined;
|
|
81
91
|
category?: string | undefined;
|
|
92
|
+
popular?: boolean | undefined;
|
|
93
|
+
tradable?: boolean | undefined;
|
|
82
94
|
pricingId?: number | undefined;
|
|
83
95
|
}>;
|
|
84
96
|
tradeType: z.ZodDefault<z.ZodNativeEnum<typeof TradeType>>;
|
|
@@ -117,6 +129,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
117
129
|
id?: number | undefined;
|
|
118
130
|
iconUrl?: string | undefined;
|
|
119
131
|
category?: string | undefined;
|
|
132
|
+
popular?: boolean | undefined;
|
|
133
|
+
tradable?: boolean | undefined;
|
|
120
134
|
pricingId?: number | undefined;
|
|
121
135
|
};
|
|
122
136
|
receiveToken: {
|
|
@@ -130,6 +144,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
130
144
|
id?: number | undefined;
|
|
131
145
|
iconUrl?: string | undefined;
|
|
132
146
|
category?: string | undefined;
|
|
147
|
+
popular?: boolean | undefined;
|
|
148
|
+
tradable?: boolean | undefined;
|
|
133
149
|
pricingId?: number | undefined;
|
|
134
150
|
};
|
|
135
151
|
tradeType: TradeType;
|
|
@@ -158,6 +174,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
158
174
|
id?: number | undefined;
|
|
159
175
|
iconUrl?: string | undefined;
|
|
160
176
|
category?: string | undefined;
|
|
177
|
+
popular?: boolean | undefined;
|
|
178
|
+
tradable?: boolean | undefined;
|
|
161
179
|
pricingId?: number | undefined;
|
|
162
180
|
};
|
|
163
181
|
receiveToken: {
|
|
@@ -171,6 +189,8 @@ export declare const TradeSchema: z.ZodObject<{
|
|
|
171
189
|
id?: number | undefined;
|
|
172
190
|
iconUrl?: string | undefined;
|
|
173
191
|
category?: string | undefined;
|
|
192
|
+
popular?: boolean | undefined;
|
|
193
|
+
tradable?: boolean | undefined;
|
|
174
194
|
pricingId?: number | undefined;
|
|
175
195
|
};
|
|
176
196
|
payAmount: string;
|
|
@@ -450,12 +450,12 @@ export declare const stakerInfoSchema: z.ZodObject<{
|
|
|
450
450
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
451
451
|
address: z.ZodOptional<z.ZodString>;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
name?: string | undefined;
|
|
454
453
|
address?: string | undefined;
|
|
454
|
+
name?: string | undefined;
|
|
455
455
|
iconUrl?: string | undefined;
|
|
456
456
|
}, {
|
|
457
|
-
name?: string | undefined;
|
|
458
457
|
address?: string | undefined;
|
|
458
|
+
name?: string | undefined;
|
|
459
459
|
iconUrl?: string | undefined;
|
|
460
460
|
}>;
|
|
461
461
|
export type StakerInfo = z.infer<typeof stakerInfoSchema>;
|
|
@@ -521,12 +521,12 @@ export declare const strkDelegatedStakingInvestmentSchema: z.ZodObject<z.objectU
|
|
|
521
521
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
522
522
|
address: z.ZodOptional<z.ZodString>;
|
|
523
523
|
}, "strip", z.ZodTypeAny, {
|
|
524
|
-
name?: string | undefined;
|
|
525
524
|
address?: string | undefined;
|
|
525
|
+
name?: string | undefined;
|
|
526
526
|
iconUrl?: string | undefined;
|
|
527
527
|
}, {
|
|
528
|
-
name?: string | undefined;
|
|
529
528
|
address?: string | undefined;
|
|
529
|
+
name?: string | undefined;
|
|
530
530
|
iconUrl?: string | undefined;
|
|
531
531
|
}>;
|
|
532
532
|
investableAssets: z.ZodObject<{
|
|
@@ -710,8 +710,8 @@ export declare const strkDelegatedStakingInvestmentSchema: z.ZodObject<z.objectU
|
|
|
710
710
|
} | undefined;
|
|
711
711
|
};
|
|
712
712
|
stakerInfo: {
|
|
713
|
-
name?: string | undefined;
|
|
714
713
|
address?: string | undefined;
|
|
714
|
+
name?: string | undefined;
|
|
715
715
|
iconUrl?: string | undefined;
|
|
716
716
|
};
|
|
717
717
|
learnMoreUrl?: string | undefined;
|
|
@@ -776,8 +776,8 @@ export declare const strkDelegatedStakingInvestmentSchema: z.ZodObject<z.objectU
|
|
|
776
776
|
} | undefined;
|
|
777
777
|
};
|
|
778
778
|
stakerInfo: {
|
|
779
|
-
name?: string | undefined;
|
|
780
779
|
address?: string | undefined;
|
|
780
|
+
name?: string | undefined;
|
|
781
781
|
iconUrl?: string | undefined;
|
|
782
782
|
};
|
|
783
783
|
learnMoreUrl?: string | undefined;
|
|
@@ -1291,12 +1291,12 @@ export declare const investmentSchema: z.ZodDiscriminatedUnion<"category", [z.Zo
|
|
|
1291
1291
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1292
1292
|
address: z.ZodOptional<z.ZodString>;
|
|
1293
1293
|
}, "strip", z.ZodTypeAny, {
|
|
1294
|
-
name?: string | undefined;
|
|
1295
1294
|
address?: string | undefined;
|
|
1295
|
+
name?: string | undefined;
|
|
1296
1296
|
iconUrl?: string | undefined;
|
|
1297
1297
|
}, {
|
|
1298
|
-
name?: string | undefined;
|
|
1299
1298
|
address?: string | undefined;
|
|
1299
|
+
name?: string | undefined;
|
|
1300
1300
|
iconUrl?: string | undefined;
|
|
1301
1301
|
}>;
|
|
1302
1302
|
investableAssets: z.ZodObject<{
|
|
@@ -1480,8 +1480,8 @@ export declare const investmentSchema: z.ZodDiscriminatedUnion<"category", [z.Zo
|
|
|
1480
1480
|
} | undefined;
|
|
1481
1481
|
};
|
|
1482
1482
|
stakerInfo: {
|
|
1483
|
-
name?: string | undefined;
|
|
1484
1483
|
address?: string | undefined;
|
|
1484
|
+
name?: string | undefined;
|
|
1485
1485
|
iconUrl?: string | undefined;
|
|
1486
1486
|
};
|
|
1487
1487
|
learnMoreUrl?: string | undefined;
|
|
@@ -1546,8 +1546,8 @@ export declare const investmentSchema: z.ZodDiscriminatedUnion<"category", [z.Zo
|
|
|
1546
1546
|
} | undefined;
|
|
1547
1547
|
};
|
|
1548
1548
|
stakerInfo: {
|
|
1549
|
-
name?: string | undefined;
|
|
1550
1549
|
address?: string | undefined;
|
|
1550
|
+
name?: string | undefined;
|
|
1551
1551
|
iconUrl?: string | undefined;
|
|
1552
1552
|
};
|
|
1553
1553
|
learnMoreUrl?: string | undefined;
|
|
@@ -2066,12 +2066,12 @@ export declare const investmentsResponseSchema: z.ZodObject<{
|
|
|
2066
2066
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2067
2067
|
address: z.ZodOptional<z.ZodString>;
|
|
2068
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2069
|
-
name?: string | undefined;
|
|
2070
2069
|
address?: string | undefined;
|
|
2070
|
+
name?: string | undefined;
|
|
2071
2071
|
iconUrl?: string | undefined;
|
|
2072
2072
|
}, {
|
|
2073
|
-
name?: string | undefined;
|
|
2074
2073
|
address?: string | undefined;
|
|
2074
|
+
name?: string | undefined;
|
|
2075
2075
|
iconUrl?: string | undefined;
|
|
2076
2076
|
}>;
|
|
2077
2077
|
investableAssets: z.ZodObject<{
|
|
@@ -2255,8 +2255,8 @@ export declare const investmentsResponseSchema: z.ZodObject<{
|
|
|
2255
2255
|
} | undefined;
|
|
2256
2256
|
};
|
|
2257
2257
|
stakerInfo: {
|
|
2258
|
-
name?: string | undefined;
|
|
2259
2258
|
address?: string | undefined;
|
|
2259
|
+
name?: string | undefined;
|
|
2260
2260
|
iconUrl?: string | undefined;
|
|
2261
2261
|
};
|
|
2262
2262
|
learnMoreUrl?: string | undefined;
|
|
@@ -2321,8 +2321,8 @@ export declare const investmentsResponseSchema: z.ZodObject<{
|
|
|
2321
2321
|
} | undefined;
|
|
2322
2322
|
};
|
|
2323
2323
|
stakerInfo: {
|
|
2324
|
-
name?: string | undefined;
|
|
2325
2324
|
address?: string | undefined;
|
|
2325
|
+
name?: string | undefined;
|
|
2326
2326
|
iconUrl?: string | undefined;
|
|
2327
2327
|
};
|
|
2328
2328
|
learnMoreUrl?: string | undefined;
|
|
@@ -2485,8 +2485,8 @@ export declare const investmentsResponseSchema: z.ZodObject<{
|
|
|
2485
2485
|
} | undefined;
|
|
2486
2486
|
};
|
|
2487
2487
|
stakerInfo: {
|
|
2488
|
-
name?: string | undefined;
|
|
2489
2488
|
address?: string | undefined;
|
|
2489
|
+
name?: string | undefined;
|
|
2490
2490
|
iconUrl?: string | undefined;
|
|
2491
2491
|
};
|
|
2492
2492
|
learnMoreUrl?: string | undefined;
|
|
@@ -2649,8 +2649,8 @@ export declare const investmentsResponseSchema: z.ZodObject<{
|
|
|
2649
2649
|
} | undefined;
|
|
2650
2650
|
};
|
|
2651
2651
|
stakerInfo: {
|
|
2652
|
-
name?: string | undefined;
|
|
2653
2652
|
address?: string | undefined;
|
|
2653
|
+
name?: string | undefined;
|
|
2654
2654
|
iconUrl?: string | undefined;
|
|
2655
2655
|
};
|
|
2656
2656
|
learnMoreUrl?: string | undefined;
|
|
@@ -2678,12 +2678,12 @@ export declare const strkStakingCalldataSchema: z.ZodObject<{
|
|
|
2678
2678
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2679
2679
|
address: z.ZodOptional<z.ZodString>;
|
|
2680
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2681
|
-
name?: string | undefined;
|
|
2682
2681
|
address?: string | undefined;
|
|
2682
|
+
name?: string | undefined;
|
|
2683
2683
|
iconUrl?: string | undefined;
|
|
2684
2684
|
}, {
|
|
2685
|
-
name?: string | undefined;
|
|
2686
2685
|
address?: string | undefined;
|
|
2686
|
+
name?: string | undefined;
|
|
2687
2687
|
iconUrl?: string | undefined;
|
|
2688
2688
|
}>;
|
|
2689
2689
|
amount: z.ZodString;
|
|
@@ -2692,8 +2692,8 @@ export declare const strkStakingCalldataSchema: z.ZodObject<{
|
|
|
2692
2692
|
accountAddress: `0x${string}`;
|
|
2693
2693
|
tokenAddress: `0x${string}`;
|
|
2694
2694
|
stakerInfo: {
|
|
2695
|
-
name?: string | undefined;
|
|
2696
2695
|
address?: string | undefined;
|
|
2696
|
+
name?: string | undefined;
|
|
2697
2697
|
iconUrl?: string | undefined;
|
|
2698
2698
|
};
|
|
2699
2699
|
investmentId: string;
|
|
@@ -2703,8 +2703,8 @@ export declare const strkStakingCalldataSchema: z.ZodObject<{
|
|
|
2703
2703
|
accountAddress: string;
|
|
2704
2704
|
tokenAddress: string;
|
|
2705
2705
|
stakerInfo: {
|
|
2706
|
-
name?: string | undefined;
|
|
2707
2706
|
address?: string | undefined;
|
|
2707
|
+
name?: string | undefined;
|
|
2708
2708
|
iconUrl?: string | undefined;
|
|
2709
2709
|
};
|
|
2710
2710
|
investmentId: string;
|
|
@@ -2733,12 +2733,12 @@ export declare const investmentMetaSchema: z.ZodObject<{
|
|
|
2733
2733
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2734
2734
|
address: z.ZodOptional<z.ZodString>;
|
|
2735
2735
|
}, "strip", z.ZodTypeAny, {
|
|
2736
|
-
name?: string | undefined;
|
|
2737
2736
|
address?: string | undefined;
|
|
2737
|
+
name?: string | undefined;
|
|
2738
2738
|
iconUrl?: string | undefined;
|
|
2739
2739
|
}, {
|
|
2740
|
-
name?: string | undefined;
|
|
2741
2740
|
address?: string | undefined;
|
|
2741
|
+
name?: string | undefined;
|
|
2742
2742
|
iconUrl?: string | undefined;
|
|
2743
2743
|
}>;
|
|
2744
2744
|
tokenAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
@@ -2747,8 +2747,8 @@ export declare const investmentMetaSchema: z.ZodObject<{
|
|
|
2747
2747
|
amount: string;
|
|
2748
2748
|
tokenAddress: `0x${string}`;
|
|
2749
2749
|
stakerInfo: {
|
|
2750
|
-
name?: string | undefined;
|
|
2751
2750
|
address?: string | undefined;
|
|
2751
|
+
name?: string | undefined;
|
|
2752
2752
|
iconUrl?: string | undefined;
|
|
2753
2753
|
};
|
|
2754
2754
|
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
@@ -2759,8 +2759,8 @@ export declare const investmentMetaSchema: z.ZodObject<{
|
|
|
2759
2759
|
amount: string;
|
|
2760
2760
|
tokenAddress: string;
|
|
2761
2761
|
stakerInfo: {
|
|
2762
|
-
name?: string | undefined;
|
|
2763
2762
|
address?: string | undefined;
|
|
2763
|
+
name?: string | undefined;
|
|
2764
2764
|
iconUrl?: string | undefined;
|
|
2765
2765
|
};
|
|
2766
2766
|
stakingAction: "deposit" | "stake" | "initiateWithdraw" | "withdraw" | "claim";
|
|
@@ -66,8 +66,8 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
|
|
|
66
66
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
symbol: string;
|
|
69
|
-
name: string;
|
|
70
69
|
address: `0x${string}`;
|
|
70
|
+
name: string;
|
|
71
71
|
decimals: number;
|
|
72
72
|
id: number;
|
|
73
73
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -89,8 +89,8 @@ export declare const apiTokenInfoSchema: z.ZodObject<{
|
|
|
89
89
|
tags?: string[] | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
symbol: string;
|
|
92
|
-
name: string;
|
|
93
92
|
address: string;
|
|
93
|
+
name: string;
|
|
94
94
|
decimals: number;
|
|
95
95
|
id: number;
|
|
96
96
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -148,8 +148,8 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
148
148
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
150
|
symbol: string;
|
|
151
|
-
name: string;
|
|
152
151
|
address: `0x${string}`;
|
|
152
|
+
name: string;
|
|
153
153
|
decimals: number;
|
|
154
154
|
id: number;
|
|
155
155
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -171,8 +171,8 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
171
171
|
tags?: string[] | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
symbol: string;
|
|
174
|
-
name: string;
|
|
175
174
|
address: string;
|
|
175
|
+
name: string;
|
|
176
176
|
decimals: number;
|
|
177
177
|
id: number;
|
|
178
178
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -196,8 +196,8 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
196
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
197
|
tokens: {
|
|
198
198
|
symbol: string;
|
|
199
|
-
name: string;
|
|
200
199
|
address: `0x${string}`;
|
|
200
|
+
name: string;
|
|
201
201
|
decimals: number;
|
|
202
202
|
id: number;
|
|
203
203
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -221,8 +221,8 @@ export declare const apiTokensInfoResponseSchema: z.ZodObject<{
|
|
|
221
221
|
}, {
|
|
222
222
|
tokens: {
|
|
223
223
|
symbol: string;
|
|
224
|
-
name: string;
|
|
225
224
|
address: string;
|
|
225
|
+
name: string;
|
|
226
226
|
decimals: number;
|
|
227
227
|
id: number;
|
|
228
228
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -279,8 +279,8 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
|
|
|
279
279
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
symbol: string;
|
|
282
|
-
name: string;
|
|
283
282
|
address: `0x${string}`;
|
|
283
|
+
name: string;
|
|
284
284
|
decimals: number;
|
|
285
285
|
id: number;
|
|
286
286
|
category: "tokens" | "currencies" | "savings";
|
|
@@ -302,8 +302,8 @@ export declare const apiTokenInfoResponseSchema: z.ZodObject<{
|
|
|
302
302
|
tags?: string[] | undefined;
|
|
303
303
|
}, {
|
|
304
304
|
symbol: string;
|
|
305
|
-
name: string;
|
|
306
305
|
address: string;
|
|
306
|
+
name: string;
|
|
307
307
|
decimals: number;
|
|
308
308
|
id: number;
|
|
309
309
|
category: "tokens" | "currencies" | "savings";
|