@argent/x-shared 1.40.0 → 1.41.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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +342 -337
- package/dist/src/tokens/service/implementation.d.ts +101 -2
- package/dist/src/tokens/service/types/backend.model.cjs +1 -1
- package/dist/src/tokens/service/types/backend.model.d.ts +4290 -97
- package/dist/src/tokens/service/types/backend.model.js +59 -41
- package/dist/src/tokens/service/types/defiPosition.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPosition.model.d.ts +153 -93
- package/dist/src/tokens/service/types/defiPosition.model.js +31 -27
- package/dist/src/tokens/service/types/defiPositionType.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.d.ts +1 -1
- package/dist/src/tokens/service/types/defiPositionType.model.js +8 -7
- package/dist/src/tokens/utils.d.ts +6 -0
- package/package.json +1 -1
|
@@ -85,7 +85,6 @@ declare const defiPositionTokenSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
85
85
|
currencySymbol?: string | undefined;
|
|
86
86
|
}>;
|
|
87
87
|
export declare const concentratedLiquidityPositionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
88
|
-
id: z.ZodString;
|
|
89
88
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
90
89
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
91
90
|
}, {
|
|
@@ -265,7 +264,6 @@ export declare const concentratedLiquidityPositionSchema: z.ZodObject<z.objectUt
|
|
|
265
264
|
currencySymbol?: string | undefined;
|
|
266
265
|
}>;
|
|
267
266
|
}>, "strip", z.ZodTypeAny, {
|
|
268
|
-
id: string;
|
|
269
267
|
poolFeePercentage: string;
|
|
270
268
|
token0: {
|
|
271
269
|
address: `0x${string}`;
|
|
@@ -322,7 +320,6 @@ export declare const concentratedLiquidityPositionSchema: z.ZodObject<z.objectUt
|
|
|
322
320
|
unitCurrencyValueToken0?: string | undefined;
|
|
323
321
|
unitCurrencyValueToken1?: string | undefined;
|
|
324
322
|
}, {
|
|
325
|
-
id: string;
|
|
326
323
|
poolFeePercentage: string;
|
|
327
324
|
token0: {
|
|
328
325
|
address: string;
|
|
@@ -380,7 +377,6 @@ export declare const concentratedLiquidityPositionSchema: z.ZodObject<z.objectUt
|
|
|
380
377
|
unitCurrencyValueToken1?: string | undefined;
|
|
381
378
|
}>;
|
|
382
379
|
export declare const concentratedLiquidityPositionsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
383
|
-
id: z.ZodString;
|
|
384
380
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
385
381
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
386
382
|
}, {
|
|
@@ -560,7 +556,6 @@ export declare const concentratedLiquidityPositionsSchema: z.ZodArray<z.ZodObjec
|
|
|
560
556
|
currencySymbol?: string | undefined;
|
|
561
557
|
}>;
|
|
562
558
|
}>, "strip", z.ZodTypeAny, {
|
|
563
|
-
id: string;
|
|
564
559
|
poolFeePercentage: string;
|
|
565
560
|
token0: {
|
|
566
561
|
address: `0x${string}`;
|
|
@@ -617,7 +612,6 @@ export declare const concentratedLiquidityPositionsSchema: z.ZodArray<z.ZodObjec
|
|
|
617
612
|
unitCurrencyValueToken0?: string | undefined;
|
|
618
613
|
unitCurrencyValueToken1?: string | undefined;
|
|
619
614
|
}, {
|
|
620
|
-
id: string;
|
|
621
615
|
poolFeePercentage: string;
|
|
622
616
|
token0: {
|
|
623
617
|
address: string;
|
|
@@ -688,7 +682,6 @@ export declare const collateralizedDebtGroupSchema: z.ZodObject<{
|
|
|
688
682
|
healthRatio?: string | undefined;
|
|
689
683
|
}>;
|
|
690
684
|
export declare const collateralizedDebtPositionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
691
|
-
id: z.ZodString;
|
|
692
685
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
693
686
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
694
687
|
}, {
|
|
@@ -851,7 +844,6 @@ export declare const collateralizedDebtPositionSchema: z.ZodObject<z.objectUtil.
|
|
|
851
844
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
852
845
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
853
846
|
}>, "strip", z.ZodTypeAny, {
|
|
854
|
-
id: string;
|
|
855
847
|
lending: boolean;
|
|
856
848
|
totalBalances: Record<string, string>;
|
|
857
849
|
collateral: boolean;
|
|
@@ -907,7 +899,6 @@ export declare const collateralizedDebtPositionSchema: z.ZodObject<z.objectUtil.
|
|
|
907
899
|
} | undefined;
|
|
908
900
|
accountAddressGroup?: string | undefined;
|
|
909
901
|
}, {
|
|
910
|
-
id: string;
|
|
911
902
|
lending: boolean;
|
|
912
903
|
totalBalances: Record<string, string>;
|
|
913
904
|
collateral: boolean;
|
|
@@ -964,7 +955,6 @@ export declare const collateralizedDebtPositionSchema: z.ZodObject<z.objectUtil.
|
|
|
964
955
|
accountAddressGroup?: string | undefined;
|
|
965
956
|
}>;
|
|
966
957
|
export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
967
|
-
id: z.ZodString;
|
|
968
958
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
969
959
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
970
960
|
}, {
|
|
@@ -1127,7 +1117,6 @@ export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z
|
|
|
1127
1117
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1128
1118
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
1129
1119
|
}>, "strip", z.ZodTypeAny, {
|
|
1130
|
-
id: string;
|
|
1131
1120
|
lending: boolean;
|
|
1132
1121
|
totalBalances: Record<string, string>;
|
|
1133
1122
|
collateral: boolean;
|
|
@@ -1183,7 +1172,6 @@ export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z
|
|
|
1183
1172
|
} | undefined;
|
|
1184
1173
|
accountAddressGroup?: string | undefined;
|
|
1185
1174
|
}, {
|
|
1186
|
-
id: string;
|
|
1187
1175
|
lending: boolean;
|
|
1188
1176
|
totalBalances: Record<string, string>;
|
|
1189
1177
|
collateral: boolean;
|
|
@@ -1240,7 +1228,6 @@ export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z
|
|
|
1240
1228
|
accountAddressGroup?: string | undefined;
|
|
1241
1229
|
}>, "many">;
|
|
1242
1230
|
export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1243
|
-
id: z.ZodString;
|
|
1244
1231
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1245
1232
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1246
1233
|
}, {
|
|
@@ -1317,7 +1304,6 @@ export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
1317
1304
|
balance: z.ZodString;
|
|
1318
1305
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1319
1306
|
}>, "strip", z.ZodTypeAny, {
|
|
1320
|
-
id: string;
|
|
1321
1307
|
unitCurrencyValue: string;
|
|
1322
1308
|
delegatingTo: `0x${string}`;
|
|
1323
1309
|
balance: string;
|
|
@@ -1343,7 +1329,6 @@ export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
1343
1329
|
currencySymbol?: string | undefined;
|
|
1344
1330
|
} | undefined;
|
|
1345
1331
|
}, {
|
|
1346
|
-
id: string;
|
|
1347
1332
|
delegatingTo: string;
|
|
1348
1333
|
balance: string;
|
|
1349
1334
|
address?: string | undefined;
|
|
@@ -1370,7 +1355,6 @@ export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
1370
1355
|
} | undefined;
|
|
1371
1356
|
}>;
|
|
1372
1357
|
export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1373
|
-
id: z.ZodString;
|
|
1374
1358
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1375
1359
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1376
1360
|
}, {
|
|
@@ -1447,7 +1431,6 @@ export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.object
|
|
|
1447
1431
|
balance: z.ZodString;
|
|
1448
1432
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1449
1433
|
}>, "strip", z.ZodTypeAny, {
|
|
1450
|
-
id: string;
|
|
1451
1434
|
unitCurrencyValue: string;
|
|
1452
1435
|
delegatingTo: `0x${string}`;
|
|
1453
1436
|
balance: string;
|
|
@@ -1473,7 +1456,6 @@ export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.object
|
|
|
1473
1456
|
currencySymbol?: string | undefined;
|
|
1474
1457
|
} | undefined;
|
|
1475
1458
|
}, {
|
|
1476
|
-
id: string;
|
|
1477
1459
|
delegatingTo: string;
|
|
1478
1460
|
balance: string;
|
|
1479
1461
|
address?: string | undefined;
|
|
@@ -1499,8 +1481,41 @@ export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.object
|
|
|
1499
1481
|
currencySymbol?: string | undefined;
|
|
1500
1482
|
} | undefined;
|
|
1501
1483
|
}>, "many">;
|
|
1502
|
-
export declare const
|
|
1503
|
-
|
|
1484
|
+
export declare const stakingPositionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1485
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1486
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1487
|
+
}, {
|
|
1488
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1491
|
+
currencyValue: string;
|
|
1492
|
+
address?: `0x${string}` | undefined;
|
|
1493
|
+
apy?: string | undefined;
|
|
1494
|
+
unitCurrencyValue?: string | undefined;
|
|
1495
|
+
}, {
|
|
1496
|
+
address?: string | undefined;
|
|
1497
|
+
apy?: string | undefined;
|
|
1498
|
+
unitCurrencyValue?: string | undefined;
|
|
1499
|
+
currencyValue?: string | undefined;
|
|
1500
|
+
}>;
|
|
1501
|
+
export declare const stakingPositionsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1502
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1503
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1504
|
+
}, {
|
|
1505
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1508
|
+
currencyValue: string;
|
|
1509
|
+
address?: `0x${string}` | undefined;
|
|
1510
|
+
apy?: string | undefined;
|
|
1511
|
+
unitCurrencyValue?: string | undefined;
|
|
1512
|
+
}, {
|
|
1513
|
+
address?: string | undefined;
|
|
1514
|
+
apy?: string | undefined;
|
|
1515
|
+
unitCurrencyValue?: string | undefined;
|
|
1516
|
+
currencyValue?: string | undefined;
|
|
1517
|
+
}>, "many">;
|
|
1518
|
+
export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1504
1519
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1505
1520
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1506
1521
|
}, {
|
|
@@ -1680,7 +1695,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
1680
1695
|
currencySymbol?: string | undefined;
|
|
1681
1696
|
}>;
|
|
1682
1697
|
}>, "strip", z.ZodTypeAny, {
|
|
1683
|
-
id: string;
|
|
1684
1698
|
poolFeePercentage: string;
|
|
1685
1699
|
token0: {
|
|
1686
1700
|
address: `0x${string}`;
|
|
@@ -1737,7 +1751,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
1737
1751
|
unitCurrencyValueToken0?: string | undefined;
|
|
1738
1752
|
unitCurrencyValueToken1?: string | undefined;
|
|
1739
1753
|
}, {
|
|
1740
|
-
id: string;
|
|
1741
1754
|
poolFeePercentage: string;
|
|
1742
1755
|
token0: {
|
|
1743
1756
|
address: string;
|
|
@@ -1794,7 +1807,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
1794
1807
|
unitCurrencyValueToken0?: string | undefined;
|
|
1795
1808
|
unitCurrencyValueToken1?: string | undefined;
|
|
1796
1809
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1797
|
-
id: z.ZodString;
|
|
1798
1810
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1799
1811
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1800
1812
|
}, {
|
|
@@ -1957,7 +1969,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
1957
1969
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1958
1970
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
1959
1971
|
}>, "strip", z.ZodTypeAny, {
|
|
1960
|
-
id: string;
|
|
1961
1972
|
lending: boolean;
|
|
1962
1973
|
totalBalances: Record<string, string>;
|
|
1963
1974
|
collateral: boolean;
|
|
@@ -2013,7 +2024,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
2013
2024
|
} | undefined;
|
|
2014
2025
|
accountAddressGroup?: string | undefined;
|
|
2015
2026
|
}, {
|
|
2016
|
-
id: string;
|
|
2017
2027
|
lending: boolean;
|
|
2018
2028
|
totalBalances: Record<string, string>;
|
|
2019
2029
|
collateral: boolean;
|
|
@@ -2069,7 +2079,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
2069
2079
|
} | undefined;
|
|
2070
2080
|
accountAddressGroup?: string | undefined;
|
|
2071
2081
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2072
|
-
id: z.ZodString;
|
|
2073
2082
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2074
2083
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2075
2084
|
}, {
|
|
@@ -2146,7 +2155,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
2146
2155
|
balance: z.ZodString;
|
|
2147
2156
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2148
2157
|
}>, "strip", z.ZodTypeAny, {
|
|
2149
|
-
id: string;
|
|
2150
2158
|
unitCurrencyValue: string;
|
|
2151
2159
|
delegatingTo: `0x${string}`;
|
|
2152
2160
|
balance: string;
|
|
@@ -2172,7 +2180,6 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
2172
2180
|
currencySymbol?: string | undefined;
|
|
2173
2181
|
} | undefined;
|
|
2174
2182
|
}, {
|
|
2175
|
-
id: string;
|
|
2176
2183
|
delegatingTo: string;
|
|
2177
2184
|
balance: string;
|
|
2178
2185
|
address?: string | undefined;
|
|
@@ -2197,6 +2204,22 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.o
|
|
|
2197
2204
|
ccyDayChange?: string | undefined;
|
|
2198
2205
|
currencySymbol?: string | undefined;
|
|
2199
2206
|
} | undefined;
|
|
2207
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2208
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2209
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2210
|
+
}, {
|
|
2211
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
2212
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2213
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2214
|
+
currencyValue: string;
|
|
2215
|
+
address?: `0x${string}` | undefined;
|
|
2216
|
+
apy?: string | undefined;
|
|
2217
|
+
unitCurrencyValue?: string | undefined;
|
|
2218
|
+
}, {
|
|
2219
|
+
address?: string | undefined;
|
|
2220
|
+
apy?: string | undefined;
|
|
2221
|
+
unitCurrencyValue?: string | undefined;
|
|
2222
|
+
currencyValue?: string | undefined;
|
|
2200
2223
|
}>]>;
|
|
2201
2224
|
export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2202
2225
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2212,11 +2235,10 @@ export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2212
2235
|
healthRatio?: string | undefined;
|
|
2213
2236
|
}>>;
|
|
2214
2237
|
export declare const defiProductSchema: z.ZodObject<{
|
|
2215
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2238
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
2216
2239
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
2217
2240
|
name: z.ZodString;
|
|
2218
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2219
|
-
id: z.ZodString;
|
|
2241
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2220
2242
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2221
2243
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2222
2244
|
}, {
|
|
@@ -2396,7 +2418,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2396
2418
|
currencySymbol?: string | undefined;
|
|
2397
2419
|
}>;
|
|
2398
2420
|
}>, "strip", z.ZodTypeAny, {
|
|
2399
|
-
id: string;
|
|
2400
2421
|
poolFeePercentage: string;
|
|
2401
2422
|
token0: {
|
|
2402
2423
|
address: `0x${string}`;
|
|
@@ -2453,7 +2474,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2453
2474
|
unitCurrencyValueToken0?: string | undefined;
|
|
2454
2475
|
unitCurrencyValueToken1?: string | undefined;
|
|
2455
2476
|
}, {
|
|
2456
|
-
id: string;
|
|
2457
2477
|
poolFeePercentage: string;
|
|
2458
2478
|
token0: {
|
|
2459
2479
|
address: string;
|
|
@@ -2510,7 +2530,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2510
2530
|
unitCurrencyValueToken0?: string | undefined;
|
|
2511
2531
|
unitCurrencyValueToken1?: string | undefined;
|
|
2512
2532
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2513
|
-
id: z.ZodString;
|
|
2514
2533
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2515
2534
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2516
2535
|
}, {
|
|
@@ -2673,7 +2692,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2673
2692
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2674
2693
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
2675
2694
|
}>, "strip", z.ZodTypeAny, {
|
|
2676
|
-
id: string;
|
|
2677
2695
|
lending: boolean;
|
|
2678
2696
|
totalBalances: Record<string, string>;
|
|
2679
2697
|
collateral: boolean;
|
|
@@ -2729,7 +2747,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2729
2747
|
} | undefined;
|
|
2730
2748
|
accountAddressGroup?: string | undefined;
|
|
2731
2749
|
}, {
|
|
2732
|
-
id: string;
|
|
2733
2750
|
lending: boolean;
|
|
2734
2751
|
totalBalances: Record<string, string>;
|
|
2735
2752
|
collateral: boolean;
|
|
@@ -2785,7 +2802,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2785
2802
|
} | undefined;
|
|
2786
2803
|
accountAddressGroup?: string | undefined;
|
|
2787
2804
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2788
|
-
id: z.ZodString;
|
|
2789
2805
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2790
2806
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2791
2807
|
}, {
|
|
@@ -2862,7 +2878,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2862
2878
|
balance: z.ZodString;
|
|
2863
2879
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2864
2880
|
}>, "strip", z.ZodTypeAny, {
|
|
2865
|
-
id: string;
|
|
2866
2881
|
unitCurrencyValue: string;
|
|
2867
2882
|
delegatingTo: `0x${string}`;
|
|
2868
2883
|
balance: string;
|
|
@@ -2888,7 +2903,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2888
2903
|
currencySymbol?: string | undefined;
|
|
2889
2904
|
} | undefined;
|
|
2890
2905
|
}, {
|
|
2891
|
-
id: string;
|
|
2892
2906
|
delegatingTo: string;
|
|
2893
2907
|
balance: string;
|
|
2894
2908
|
address?: string | undefined;
|
|
@@ -2913,6 +2927,22 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2913
2927
|
ccyDayChange?: string | undefined;
|
|
2914
2928
|
currencySymbol?: string | undefined;
|
|
2915
2929
|
} | undefined;
|
|
2930
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2931
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2932
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2933
|
+
}, {
|
|
2934
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2936
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2937
|
+
currencyValue: string;
|
|
2938
|
+
address?: `0x${string}` | undefined;
|
|
2939
|
+
apy?: string | undefined;
|
|
2940
|
+
unitCurrencyValue?: string | undefined;
|
|
2941
|
+
}, {
|
|
2942
|
+
address?: string | undefined;
|
|
2943
|
+
apy?: string | undefined;
|
|
2944
|
+
unitCurrencyValue?: string | undefined;
|
|
2945
|
+
currencyValue?: string | undefined;
|
|
2916
2946
|
}>]>, "many">;
|
|
2917
2947
|
positionsTotalValue: z.ZodString;
|
|
2918
2948
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -2932,10 +2962,9 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2932
2962
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2933
2963
|
}, "strip", z.ZodTypeAny, {
|
|
2934
2964
|
name: string;
|
|
2935
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
2965
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
2936
2966
|
accountAddress: `0x${string}`;
|
|
2937
2967
|
positions: ({
|
|
2938
|
-
id: string;
|
|
2939
2968
|
poolFeePercentage: string;
|
|
2940
2969
|
token0: {
|
|
2941
2970
|
address: `0x${string}`;
|
|
@@ -2992,7 +3021,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2992
3021
|
unitCurrencyValueToken0?: string | undefined;
|
|
2993
3022
|
unitCurrencyValueToken1?: string | undefined;
|
|
2994
3023
|
} | {
|
|
2995
|
-
id: string;
|
|
2996
3024
|
lending: boolean;
|
|
2997
3025
|
totalBalances: Record<string, string>;
|
|
2998
3026
|
collateral: boolean;
|
|
@@ -3048,7 +3076,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3048
3076
|
} | undefined;
|
|
3049
3077
|
accountAddressGroup?: string | undefined;
|
|
3050
3078
|
} | {
|
|
3051
|
-
id: string;
|
|
3052
3079
|
unitCurrencyValue: string;
|
|
3053
3080
|
delegatingTo: `0x${string}`;
|
|
3054
3081
|
balance: string;
|
|
@@ -3073,6 +3100,11 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3073
3100
|
ccyDayChange?: string | undefined;
|
|
3074
3101
|
currencySymbol?: string | undefined;
|
|
3075
3102
|
} | undefined;
|
|
3103
|
+
} | {
|
|
3104
|
+
currencyValue: string;
|
|
3105
|
+
address?: `0x${string}` | undefined;
|
|
3106
|
+
apy?: string | undefined;
|
|
3107
|
+
unitCurrencyValue?: string | undefined;
|
|
3076
3108
|
})[];
|
|
3077
3109
|
positionsTotalValue: string;
|
|
3078
3110
|
brandColor?: string | undefined;
|
|
@@ -3084,10 +3116,9 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3084
3116
|
}> | undefined;
|
|
3085
3117
|
}, {
|
|
3086
3118
|
name: string;
|
|
3087
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
3119
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
3088
3120
|
accountAddress: string;
|
|
3089
3121
|
positions: ({
|
|
3090
|
-
id: string;
|
|
3091
3122
|
poolFeePercentage: string;
|
|
3092
3123
|
token0: {
|
|
3093
3124
|
address: string;
|
|
@@ -3144,7 +3175,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3144
3175
|
unitCurrencyValueToken0?: string | undefined;
|
|
3145
3176
|
unitCurrencyValueToken1?: string | undefined;
|
|
3146
3177
|
} | {
|
|
3147
|
-
id: string;
|
|
3148
3178
|
lending: boolean;
|
|
3149
3179
|
totalBalances: Record<string, string>;
|
|
3150
3180
|
collateral: boolean;
|
|
@@ -3200,7 +3230,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3200
3230
|
} | undefined;
|
|
3201
3231
|
accountAddressGroup?: string | undefined;
|
|
3202
3232
|
} | {
|
|
3203
|
-
id: string;
|
|
3204
3233
|
delegatingTo: string;
|
|
3205
3234
|
balance: string;
|
|
3206
3235
|
address?: string | undefined;
|
|
@@ -3225,6 +3254,11 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3225
3254
|
ccyDayChange?: string | undefined;
|
|
3226
3255
|
currencySymbol?: string | undefined;
|
|
3227
3256
|
} | undefined;
|
|
3257
|
+
} | {
|
|
3258
|
+
address?: string | undefined;
|
|
3259
|
+
apy?: string | undefined;
|
|
3260
|
+
unitCurrencyValue?: string | undefined;
|
|
3261
|
+
currencyValue?: string | undefined;
|
|
3228
3262
|
})[];
|
|
3229
3263
|
positionsTotalValue: string;
|
|
3230
3264
|
brandColor?: string | undefined;
|
|
@@ -3236,11 +3270,10 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
3236
3270
|
}> | undefined;
|
|
3237
3271
|
}>;
|
|
3238
3272
|
export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
3239
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3273
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
3240
3274
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
3241
3275
|
name: z.ZodString;
|
|
3242
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3243
|
-
id: z.ZodString;
|
|
3276
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3244
3277
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3245
3278
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3246
3279
|
}, {
|
|
@@ -3420,7 +3453,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3420
3453
|
currencySymbol?: string | undefined;
|
|
3421
3454
|
}>;
|
|
3422
3455
|
}>, "strip", z.ZodTypeAny, {
|
|
3423
|
-
id: string;
|
|
3424
3456
|
poolFeePercentage: string;
|
|
3425
3457
|
token0: {
|
|
3426
3458
|
address: `0x${string}`;
|
|
@@ -3477,7 +3509,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3477
3509
|
unitCurrencyValueToken0?: string | undefined;
|
|
3478
3510
|
unitCurrencyValueToken1?: string | undefined;
|
|
3479
3511
|
}, {
|
|
3480
|
-
id: string;
|
|
3481
3512
|
poolFeePercentage: string;
|
|
3482
3513
|
token0: {
|
|
3483
3514
|
address: string;
|
|
@@ -3534,7 +3565,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3534
3565
|
unitCurrencyValueToken0?: string | undefined;
|
|
3535
3566
|
unitCurrencyValueToken1?: string | undefined;
|
|
3536
3567
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3537
|
-
id: z.ZodString;
|
|
3538
3568
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3539
3569
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3540
3570
|
}, {
|
|
@@ -3697,7 +3727,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3697
3727
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3698
3728
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
3699
3729
|
}>, "strip", z.ZodTypeAny, {
|
|
3700
|
-
id: string;
|
|
3701
3730
|
lending: boolean;
|
|
3702
3731
|
totalBalances: Record<string, string>;
|
|
3703
3732
|
collateral: boolean;
|
|
@@ -3753,7 +3782,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3753
3782
|
} | undefined;
|
|
3754
3783
|
accountAddressGroup?: string | undefined;
|
|
3755
3784
|
}, {
|
|
3756
|
-
id: string;
|
|
3757
3785
|
lending: boolean;
|
|
3758
3786
|
totalBalances: Record<string, string>;
|
|
3759
3787
|
collateral: boolean;
|
|
@@ -3809,7 +3837,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3809
3837
|
} | undefined;
|
|
3810
3838
|
accountAddressGroup?: string | undefined;
|
|
3811
3839
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3812
|
-
id: z.ZodString;
|
|
3813
3840
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3814
3841
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3815
3842
|
}, {
|
|
@@ -3886,7 +3913,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3886
3913
|
balance: z.ZodString;
|
|
3887
3914
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3888
3915
|
}>, "strip", z.ZodTypeAny, {
|
|
3889
|
-
id: string;
|
|
3890
3916
|
unitCurrencyValue: string;
|
|
3891
3917
|
delegatingTo: `0x${string}`;
|
|
3892
3918
|
balance: string;
|
|
@@ -3912,7 +3938,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3912
3938
|
currencySymbol?: string | undefined;
|
|
3913
3939
|
} | undefined;
|
|
3914
3940
|
}, {
|
|
3915
|
-
id: string;
|
|
3916
3941
|
delegatingTo: string;
|
|
3917
3942
|
balance: string;
|
|
3918
3943
|
address?: string | undefined;
|
|
@@ -3937,6 +3962,22 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3937
3962
|
ccyDayChange?: string | undefined;
|
|
3938
3963
|
currencySymbol?: string | undefined;
|
|
3939
3964
|
} | undefined;
|
|
3965
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3966
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3967
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3968
|
+
}, {
|
|
3969
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
3970
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
3971
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3972
|
+
currencyValue: string;
|
|
3973
|
+
address?: `0x${string}` | undefined;
|
|
3974
|
+
apy?: string | undefined;
|
|
3975
|
+
unitCurrencyValue?: string | undefined;
|
|
3976
|
+
}, {
|
|
3977
|
+
address?: string | undefined;
|
|
3978
|
+
apy?: string | undefined;
|
|
3979
|
+
unitCurrencyValue?: string | undefined;
|
|
3980
|
+
currencyValue?: string | undefined;
|
|
3940
3981
|
}>]>, "many">;
|
|
3941
3982
|
positionsTotalValue: z.ZodString;
|
|
3942
3983
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -3956,10 +3997,9 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3956
3997
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3957
3998
|
}, "strip", z.ZodTypeAny, {
|
|
3958
3999
|
name: string;
|
|
3959
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4000
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
3960
4001
|
accountAddress: `0x${string}`;
|
|
3961
4002
|
positions: ({
|
|
3962
|
-
id: string;
|
|
3963
4003
|
poolFeePercentage: string;
|
|
3964
4004
|
token0: {
|
|
3965
4005
|
address: `0x${string}`;
|
|
@@ -4016,7 +4056,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4016
4056
|
unitCurrencyValueToken0?: string | undefined;
|
|
4017
4057
|
unitCurrencyValueToken1?: string | undefined;
|
|
4018
4058
|
} | {
|
|
4019
|
-
id: string;
|
|
4020
4059
|
lending: boolean;
|
|
4021
4060
|
totalBalances: Record<string, string>;
|
|
4022
4061
|
collateral: boolean;
|
|
@@ -4072,7 +4111,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4072
4111
|
} | undefined;
|
|
4073
4112
|
accountAddressGroup?: string | undefined;
|
|
4074
4113
|
} | {
|
|
4075
|
-
id: string;
|
|
4076
4114
|
unitCurrencyValue: string;
|
|
4077
4115
|
delegatingTo: `0x${string}`;
|
|
4078
4116
|
balance: string;
|
|
@@ -4097,6 +4135,11 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4097
4135
|
ccyDayChange?: string | undefined;
|
|
4098
4136
|
currencySymbol?: string | undefined;
|
|
4099
4137
|
} | undefined;
|
|
4138
|
+
} | {
|
|
4139
|
+
currencyValue: string;
|
|
4140
|
+
address?: `0x${string}` | undefined;
|
|
4141
|
+
apy?: string | undefined;
|
|
4142
|
+
unitCurrencyValue?: string | undefined;
|
|
4100
4143
|
})[];
|
|
4101
4144
|
positionsTotalValue: string;
|
|
4102
4145
|
brandColor?: string | undefined;
|
|
@@ -4108,10 +4151,9 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4108
4151
|
}> | undefined;
|
|
4109
4152
|
}, {
|
|
4110
4153
|
name: string;
|
|
4111
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4154
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4112
4155
|
accountAddress: string;
|
|
4113
4156
|
positions: ({
|
|
4114
|
-
id: string;
|
|
4115
4157
|
poolFeePercentage: string;
|
|
4116
4158
|
token0: {
|
|
4117
4159
|
address: string;
|
|
@@ -4168,7 +4210,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4168
4210
|
unitCurrencyValueToken0?: string | undefined;
|
|
4169
4211
|
unitCurrencyValueToken1?: string | undefined;
|
|
4170
4212
|
} | {
|
|
4171
|
-
id: string;
|
|
4172
4213
|
lending: boolean;
|
|
4173
4214
|
totalBalances: Record<string, string>;
|
|
4174
4215
|
collateral: boolean;
|
|
@@ -4224,7 +4265,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4224
4265
|
} | undefined;
|
|
4225
4266
|
accountAddressGroup?: string | undefined;
|
|
4226
4267
|
} | {
|
|
4227
|
-
id: string;
|
|
4228
4268
|
delegatingTo: string;
|
|
4229
4269
|
balance: string;
|
|
4230
4270
|
address?: string | undefined;
|
|
@@ -4249,6 +4289,11 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4249
4289
|
ccyDayChange?: string | undefined;
|
|
4250
4290
|
currencySymbol?: string | undefined;
|
|
4251
4291
|
} | undefined;
|
|
4292
|
+
} | {
|
|
4293
|
+
address?: string | undefined;
|
|
4294
|
+
apy?: string | undefined;
|
|
4295
|
+
unitCurrencyValue?: string | undefined;
|
|
4296
|
+
currencyValue?: string | undefined;
|
|
4252
4297
|
})[];
|
|
4253
4298
|
positionsTotalValue: string;
|
|
4254
4299
|
brandColor?: string | undefined;
|
|
@@ -4262,11 +4307,10 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
4262
4307
|
export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
4263
4308
|
dappId: z.ZodString;
|
|
4264
4309
|
products: z.ZodArray<z.ZodObject<{
|
|
4265
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
4310
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"strkDelegatedStaking">, z.ZodLiteral<"staking">]>;
|
|
4266
4311
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
4267
4312
|
name: z.ZodString;
|
|
4268
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4269
|
-
id: z.ZodString;
|
|
4313
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4270
4314
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4271
4315
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
4272
4316
|
}, {
|
|
@@ -4446,7 +4490,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4446
4490
|
currencySymbol?: string | undefined;
|
|
4447
4491
|
}>;
|
|
4448
4492
|
}>, "strip", z.ZodTypeAny, {
|
|
4449
|
-
id: string;
|
|
4450
4493
|
poolFeePercentage: string;
|
|
4451
4494
|
token0: {
|
|
4452
4495
|
address: `0x${string}`;
|
|
@@ -4503,7 +4546,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4503
4546
|
unitCurrencyValueToken0?: string | undefined;
|
|
4504
4547
|
unitCurrencyValueToken1?: string | undefined;
|
|
4505
4548
|
}, {
|
|
4506
|
-
id: string;
|
|
4507
4549
|
poolFeePercentage: string;
|
|
4508
4550
|
token0: {
|
|
4509
4551
|
address: string;
|
|
@@ -4560,7 +4602,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4560
4602
|
unitCurrencyValueToken0?: string | undefined;
|
|
4561
4603
|
unitCurrencyValueToken1?: string | undefined;
|
|
4562
4604
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4563
|
-
id: z.ZodString;
|
|
4564
4605
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4565
4606
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
4566
4607
|
}, {
|
|
@@ -4723,7 +4764,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4723
4764
|
accountAddress: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4724
4765
|
accountAddressGroup: z.ZodOptional<z.ZodString>;
|
|
4725
4766
|
}>, "strip", z.ZodTypeAny, {
|
|
4726
|
-
id: string;
|
|
4727
4767
|
lending: boolean;
|
|
4728
4768
|
totalBalances: Record<string, string>;
|
|
4729
4769
|
collateral: boolean;
|
|
@@ -4779,7 +4819,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4779
4819
|
} | undefined;
|
|
4780
4820
|
accountAddressGroup?: string | undefined;
|
|
4781
4821
|
}, {
|
|
4782
|
-
id: string;
|
|
4783
4822
|
lending: boolean;
|
|
4784
4823
|
totalBalances: Record<string, string>;
|
|
4785
4824
|
collateral: boolean;
|
|
@@ -4835,7 +4874,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4835
4874
|
} | undefined;
|
|
4836
4875
|
accountAddressGroup?: string | undefined;
|
|
4837
4876
|
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4838
|
-
id: z.ZodString;
|
|
4839
4877
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4840
4878
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
4841
4879
|
}, {
|
|
@@ -4912,7 +4950,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4912
4950
|
balance: z.ZodString;
|
|
4913
4951
|
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4914
4952
|
}>, "strip", z.ZodTypeAny, {
|
|
4915
|
-
id: string;
|
|
4916
4953
|
unitCurrencyValue: string;
|
|
4917
4954
|
delegatingTo: `0x${string}`;
|
|
4918
4955
|
balance: string;
|
|
@@ -4938,7 +4975,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4938
4975
|
currencySymbol?: string | undefined;
|
|
4939
4976
|
} | undefined;
|
|
4940
4977
|
}, {
|
|
4941
|
-
id: string;
|
|
4942
4978
|
delegatingTo: string;
|
|
4943
4979
|
balance: string;
|
|
4944
4980
|
address?: string | undefined;
|
|
@@ -4963,6 +4999,22 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4963
4999
|
ccyDayChange?: string | undefined;
|
|
4964
5000
|
currencySymbol?: string | undefined;
|
|
4965
5001
|
} | undefined;
|
|
5002
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5003
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
5004
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
5005
|
+
}, {
|
|
5006
|
+
apy: z.ZodOptional<z.ZodString>;
|
|
5007
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
5008
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5009
|
+
currencyValue: string;
|
|
5010
|
+
address?: `0x${string}` | undefined;
|
|
5011
|
+
apy?: string | undefined;
|
|
5012
|
+
unitCurrencyValue?: string | undefined;
|
|
5013
|
+
}, {
|
|
5014
|
+
address?: string | undefined;
|
|
5015
|
+
apy?: string | undefined;
|
|
5016
|
+
unitCurrencyValue?: string | undefined;
|
|
5017
|
+
currencyValue?: string | undefined;
|
|
4966
5018
|
}>]>, "many">;
|
|
4967
5019
|
positionsTotalValue: z.ZodString;
|
|
4968
5020
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -4982,10 +5034,9 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4982
5034
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4983
5035
|
}, "strip", z.ZodTypeAny, {
|
|
4984
5036
|
name: string;
|
|
4985
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5037
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
4986
5038
|
accountAddress: `0x${string}`;
|
|
4987
5039
|
positions: ({
|
|
4988
|
-
id: string;
|
|
4989
5040
|
poolFeePercentage: string;
|
|
4990
5041
|
token0: {
|
|
4991
5042
|
address: `0x${string}`;
|
|
@@ -5042,7 +5093,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5042
5093
|
unitCurrencyValueToken0?: string | undefined;
|
|
5043
5094
|
unitCurrencyValueToken1?: string | undefined;
|
|
5044
5095
|
} | {
|
|
5045
|
-
id: string;
|
|
5046
5096
|
lending: boolean;
|
|
5047
5097
|
totalBalances: Record<string, string>;
|
|
5048
5098
|
collateral: boolean;
|
|
@@ -5098,7 +5148,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5098
5148
|
} | undefined;
|
|
5099
5149
|
accountAddressGroup?: string | undefined;
|
|
5100
5150
|
} | {
|
|
5101
|
-
id: string;
|
|
5102
5151
|
unitCurrencyValue: string;
|
|
5103
5152
|
delegatingTo: `0x${string}`;
|
|
5104
5153
|
balance: string;
|
|
@@ -5123,6 +5172,11 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5123
5172
|
ccyDayChange?: string | undefined;
|
|
5124
5173
|
currencySymbol?: string | undefined;
|
|
5125
5174
|
} | undefined;
|
|
5175
|
+
} | {
|
|
5176
|
+
currencyValue: string;
|
|
5177
|
+
address?: `0x${string}` | undefined;
|
|
5178
|
+
apy?: string | undefined;
|
|
5179
|
+
unitCurrencyValue?: string | undefined;
|
|
5126
5180
|
})[];
|
|
5127
5181
|
positionsTotalValue: string;
|
|
5128
5182
|
brandColor?: string | undefined;
|
|
@@ -5134,10 +5188,9 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5134
5188
|
}> | undefined;
|
|
5135
5189
|
}, {
|
|
5136
5190
|
name: string;
|
|
5137
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5191
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5138
5192
|
accountAddress: string;
|
|
5139
5193
|
positions: ({
|
|
5140
|
-
id: string;
|
|
5141
5194
|
poolFeePercentage: string;
|
|
5142
5195
|
token0: {
|
|
5143
5196
|
address: string;
|
|
@@ -5194,7 +5247,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5194
5247
|
unitCurrencyValueToken0?: string | undefined;
|
|
5195
5248
|
unitCurrencyValueToken1?: string | undefined;
|
|
5196
5249
|
} | {
|
|
5197
|
-
id: string;
|
|
5198
5250
|
lending: boolean;
|
|
5199
5251
|
totalBalances: Record<string, string>;
|
|
5200
5252
|
collateral: boolean;
|
|
@@ -5250,7 +5302,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5250
5302
|
} | undefined;
|
|
5251
5303
|
accountAddressGroup?: string | undefined;
|
|
5252
5304
|
} | {
|
|
5253
|
-
id: string;
|
|
5254
5305
|
delegatingTo: string;
|
|
5255
5306
|
balance: string;
|
|
5256
5307
|
address?: string | undefined;
|
|
@@ -5275,6 +5326,11 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5275
5326
|
ccyDayChange?: string | undefined;
|
|
5276
5327
|
currencySymbol?: string | undefined;
|
|
5277
5328
|
} | undefined;
|
|
5329
|
+
} | {
|
|
5330
|
+
address?: string | undefined;
|
|
5331
|
+
apy?: string | undefined;
|
|
5332
|
+
unitCurrencyValue?: string | undefined;
|
|
5333
|
+
currencyValue?: string | undefined;
|
|
5278
5334
|
})[];
|
|
5279
5335
|
positionsTotalValue: string;
|
|
5280
5336
|
brandColor?: string | undefined;
|
|
@@ -5289,10 +5345,9 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5289
5345
|
dappId: string;
|
|
5290
5346
|
products: {
|
|
5291
5347
|
name: string;
|
|
5292
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5348
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5293
5349
|
accountAddress: `0x${string}`;
|
|
5294
5350
|
positions: ({
|
|
5295
|
-
id: string;
|
|
5296
5351
|
poolFeePercentage: string;
|
|
5297
5352
|
token0: {
|
|
5298
5353
|
address: `0x${string}`;
|
|
@@ -5349,7 +5404,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5349
5404
|
unitCurrencyValueToken0?: string | undefined;
|
|
5350
5405
|
unitCurrencyValueToken1?: string | undefined;
|
|
5351
5406
|
} | {
|
|
5352
|
-
id: string;
|
|
5353
5407
|
lending: boolean;
|
|
5354
5408
|
totalBalances: Record<string, string>;
|
|
5355
5409
|
collateral: boolean;
|
|
@@ -5405,7 +5459,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5405
5459
|
} | undefined;
|
|
5406
5460
|
accountAddressGroup?: string | undefined;
|
|
5407
5461
|
} | {
|
|
5408
|
-
id: string;
|
|
5409
5462
|
unitCurrencyValue: string;
|
|
5410
5463
|
delegatingTo: `0x${string}`;
|
|
5411
5464
|
balance: string;
|
|
@@ -5430,6 +5483,11 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5430
5483
|
ccyDayChange?: string | undefined;
|
|
5431
5484
|
currencySymbol?: string | undefined;
|
|
5432
5485
|
} | undefined;
|
|
5486
|
+
} | {
|
|
5487
|
+
currencyValue: string;
|
|
5488
|
+
address?: `0x${string}` | undefined;
|
|
5489
|
+
apy?: string | undefined;
|
|
5490
|
+
unitCurrencyValue?: string | undefined;
|
|
5433
5491
|
})[];
|
|
5434
5492
|
positionsTotalValue: string;
|
|
5435
5493
|
brandColor?: string | undefined;
|
|
@@ -5444,10 +5502,9 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5444
5502
|
dappId: string;
|
|
5445
5503
|
products: {
|
|
5446
5504
|
name: string;
|
|
5447
|
-
type: "staking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5505
|
+
type: "staking" | "strkDelegatedStaking" | "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens";
|
|
5448
5506
|
accountAddress: string;
|
|
5449
5507
|
positions: ({
|
|
5450
|
-
id: string;
|
|
5451
5508
|
poolFeePercentage: string;
|
|
5452
5509
|
token0: {
|
|
5453
5510
|
address: string;
|
|
@@ -5504,7 +5561,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5504
5561
|
unitCurrencyValueToken0?: string | undefined;
|
|
5505
5562
|
unitCurrencyValueToken1?: string | undefined;
|
|
5506
5563
|
} | {
|
|
5507
|
-
id: string;
|
|
5508
5564
|
lending: boolean;
|
|
5509
5565
|
totalBalances: Record<string, string>;
|
|
5510
5566
|
collateral: boolean;
|
|
@@ -5560,7 +5616,6 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5560
5616
|
} | undefined;
|
|
5561
5617
|
accountAddressGroup?: string | undefined;
|
|
5562
5618
|
} | {
|
|
5563
|
-
id: string;
|
|
5564
5619
|
delegatingTo: string;
|
|
5565
5620
|
balance: string;
|
|
5566
5621
|
address?: string | undefined;
|
|
@@ -5585,6 +5640,11 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
5585
5640
|
ccyDayChange?: string | undefined;
|
|
5586
5641
|
currencySymbol?: string | undefined;
|
|
5587
5642
|
} | undefined;
|
|
5643
|
+
} | {
|
|
5644
|
+
address?: string | undefined;
|
|
5645
|
+
apy?: string | undefined;
|
|
5646
|
+
unitCurrencyValue?: string | undefined;
|
|
5647
|
+
currencyValue?: string | undefined;
|
|
5588
5648
|
})[];
|
|
5589
5649
|
positionsTotalValue: string;
|
|
5590
5650
|
brandColor?: string | undefined;
|