@argent/x-shared 1.38.0 → 1.38.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 +219 -215
- package/dist/src/tokens/service/implementation.d.ts +21 -2
- package/dist/src/tokens/service/types/backend.model.cjs +1 -1
- package/dist/src/tokens/service/types/backend.model.d.ts +818 -73
- package/dist/src/tokens/service/types/backend.model.js +29 -22
- package/dist/src/tokens/service/types/defiPosition.model.cjs +1 -1
- package/dist/src/tokens/service/types/defiPosition.model.d.ts +1024 -64
- package/dist/src/tokens/service/types/defiPosition.model.js +29 -22
- 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 +3 -2
- package/package.json +1 -1
|
@@ -1227,7 +1227,261 @@ export declare const collateralizedDebtPositionsSchema: z.ZodArray<z.ZodObject<z
|
|
|
1227
1227
|
} | undefined;
|
|
1228
1228
|
accountAddressGroup?: string | undefined;
|
|
1229
1229
|
}>, "many">;
|
|
1230
|
-
export declare const
|
|
1230
|
+
export declare const delegatedTokensSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1231
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1232
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1233
|
+
}, {
|
|
1234
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1235
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1236
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1237
|
+
networkId: z.ZodString;
|
|
1238
|
+
}, {
|
|
1239
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1240
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1243
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1244
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1245
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1247
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
}>, {
|
|
1249
|
+
currencyValue: z.ZodString;
|
|
1250
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
}>, {
|
|
1255
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1256
|
+
networkId: z.ZodString;
|
|
1257
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1262
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1263
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
balance: z.ZodString;
|
|
1267
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1268
|
+
address: `0x${string}`;
|
|
1269
|
+
networkId: string;
|
|
1270
|
+
balance: string;
|
|
1271
|
+
currencyValue: string;
|
|
1272
|
+
symbol?: string | undefined;
|
|
1273
|
+
name?: string | undefined;
|
|
1274
|
+
decimals?: number | undefined;
|
|
1275
|
+
dappId?: string | undefined;
|
|
1276
|
+
brandColor?: string | undefined;
|
|
1277
|
+
unitCurrencyValue?: string | undefined;
|
|
1278
|
+
id?: number | undefined;
|
|
1279
|
+
iconUrl?: string | undefined;
|
|
1280
|
+
category?: string | undefined;
|
|
1281
|
+
pricingId?: number | undefined;
|
|
1282
|
+
ethDayChange?: string | undefined;
|
|
1283
|
+
ccyDayChange?: string | undefined;
|
|
1284
|
+
currencySymbol?: string | undefined;
|
|
1285
|
+
}, {
|
|
1286
|
+
address: string;
|
|
1287
|
+
networkId: string;
|
|
1288
|
+
balance: string;
|
|
1289
|
+
currencyValue: string;
|
|
1290
|
+
symbol?: string | undefined;
|
|
1291
|
+
name?: string | undefined;
|
|
1292
|
+
decimals?: number | undefined;
|
|
1293
|
+
dappId?: string | undefined;
|
|
1294
|
+
brandColor?: string | undefined;
|
|
1295
|
+
unitCurrencyValue?: string | undefined;
|
|
1296
|
+
id?: number | undefined;
|
|
1297
|
+
iconUrl?: string | undefined;
|
|
1298
|
+
category?: string | undefined;
|
|
1299
|
+
pricingId?: number | undefined;
|
|
1300
|
+
ethDayChange?: string | undefined;
|
|
1301
|
+
ccyDayChange?: string | undefined;
|
|
1302
|
+
currencySymbol?: string | undefined;
|
|
1303
|
+
}>>;
|
|
1304
|
+
balance: z.ZodString;
|
|
1305
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1306
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1307
|
+
unitCurrencyValue: string;
|
|
1308
|
+
delegatingTo: `0x${string}`;
|
|
1309
|
+
balance: string;
|
|
1310
|
+
currencyValue: string;
|
|
1311
|
+
address?: `0x${string}` | undefined;
|
|
1312
|
+
token?: {
|
|
1313
|
+
address: `0x${string}`;
|
|
1314
|
+
networkId: string;
|
|
1315
|
+
balance: string;
|
|
1316
|
+
currencyValue: string;
|
|
1317
|
+
symbol?: string | undefined;
|
|
1318
|
+
name?: string | undefined;
|
|
1319
|
+
decimals?: number | undefined;
|
|
1320
|
+
dappId?: string | undefined;
|
|
1321
|
+
brandColor?: string | undefined;
|
|
1322
|
+
unitCurrencyValue?: string | undefined;
|
|
1323
|
+
id?: number | undefined;
|
|
1324
|
+
iconUrl?: string | undefined;
|
|
1325
|
+
category?: string | undefined;
|
|
1326
|
+
pricingId?: number | undefined;
|
|
1327
|
+
ethDayChange?: string | undefined;
|
|
1328
|
+
ccyDayChange?: string | undefined;
|
|
1329
|
+
currencySymbol?: string | undefined;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
}, {
|
|
1332
|
+
delegatingTo: string;
|
|
1333
|
+
balance: string;
|
|
1334
|
+
address?: string | undefined;
|
|
1335
|
+
unitCurrencyValue?: string | undefined;
|
|
1336
|
+
currencyValue?: string | undefined;
|
|
1337
|
+
token?: {
|
|
1338
|
+
address: string;
|
|
1339
|
+
networkId: string;
|
|
1340
|
+
balance: string;
|
|
1341
|
+
currencyValue: string;
|
|
1342
|
+
symbol?: string | undefined;
|
|
1343
|
+
name?: string | undefined;
|
|
1344
|
+
decimals?: number | undefined;
|
|
1345
|
+
dappId?: string | undefined;
|
|
1346
|
+
brandColor?: string | undefined;
|
|
1347
|
+
unitCurrencyValue?: string | undefined;
|
|
1348
|
+
id?: number | undefined;
|
|
1349
|
+
iconUrl?: string | undefined;
|
|
1350
|
+
category?: string | undefined;
|
|
1351
|
+
pricingId?: number | undefined;
|
|
1352
|
+
ethDayChange?: string | undefined;
|
|
1353
|
+
ccyDayChange?: string | undefined;
|
|
1354
|
+
currencySymbol?: string | undefined;
|
|
1355
|
+
} | undefined;
|
|
1356
|
+
}>;
|
|
1357
|
+
export declare const delegatedTokensArraySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1358
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1359
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1360
|
+
}, {
|
|
1361
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1362
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1363
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1364
|
+
networkId: z.ZodString;
|
|
1365
|
+
}, {
|
|
1366
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1370
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1371
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1372
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1373
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
}>, {
|
|
1376
|
+
currencyValue: z.ZodString;
|
|
1377
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
1381
|
+
}>, {
|
|
1382
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
1383
|
+
networkId: z.ZodString;
|
|
1384
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
1385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1387
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1388
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
1389
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
category: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
1392
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
balance: z.ZodString;
|
|
1394
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1395
|
+
address: `0x${string}`;
|
|
1396
|
+
networkId: string;
|
|
1397
|
+
balance: string;
|
|
1398
|
+
currencyValue: string;
|
|
1399
|
+
symbol?: string | undefined;
|
|
1400
|
+
name?: string | undefined;
|
|
1401
|
+
decimals?: number | undefined;
|
|
1402
|
+
dappId?: string | undefined;
|
|
1403
|
+
brandColor?: string | undefined;
|
|
1404
|
+
unitCurrencyValue?: string | undefined;
|
|
1405
|
+
id?: number | undefined;
|
|
1406
|
+
iconUrl?: string | undefined;
|
|
1407
|
+
category?: string | undefined;
|
|
1408
|
+
pricingId?: number | undefined;
|
|
1409
|
+
ethDayChange?: string | undefined;
|
|
1410
|
+
ccyDayChange?: string | undefined;
|
|
1411
|
+
currencySymbol?: string | undefined;
|
|
1412
|
+
}, {
|
|
1413
|
+
address: string;
|
|
1414
|
+
networkId: string;
|
|
1415
|
+
balance: string;
|
|
1416
|
+
currencyValue: string;
|
|
1417
|
+
symbol?: string | undefined;
|
|
1418
|
+
name?: string | undefined;
|
|
1419
|
+
decimals?: number | undefined;
|
|
1420
|
+
dappId?: string | undefined;
|
|
1421
|
+
brandColor?: string | undefined;
|
|
1422
|
+
unitCurrencyValue?: string | undefined;
|
|
1423
|
+
id?: number | undefined;
|
|
1424
|
+
iconUrl?: string | undefined;
|
|
1425
|
+
category?: string | undefined;
|
|
1426
|
+
pricingId?: number | undefined;
|
|
1427
|
+
ethDayChange?: string | undefined;
|
|
1428
|
+
ccyDayChange?: string | undefined;
|
|
1429
|
+
currencySymbol?: string | undefined;
|
|
1430
|
+
}>>;
|
|
1431
|
+
balance: z.ZodString;
|
|
1432
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1433
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1434
|
+
unitCurrencyValue: string;
|
|
1435
|
+
delegatingTo: `0x${string}`;
|
|
1436
|
+
balance: string;
|
|
1437
|
+
currencyValue: string;
|
|
1438
|
+
address?: `0x${string}` | undefined;
|
|
1439
|
+
token?: {
|
|
1440
|
+
address: `0x${string}`;
|
|
1441
|
+
networkId: string;
|
|
1442
|
+
balance: string;
|
|
1443
|
+
currencyValue: string;
|
|
1444
|
+
symbol?: string | undefined;
|
|
1445
|
+
name?: string | undefined;
|
|
1446
|
+
decimals?: number | undefined;
|
|
1447
|
+
dappId?: string | undefined;
|
|
1448
|
+
brandColor?: string | undefined;
|
|
1449
|
+
unitCurrencyValue?: string | undefined;
|
|
1450
|
+
id?: number | undefined;
|
|
1451
|
+
iconUrl?: string | undefined;
|
|
1452
|
+
category?: string | undefined;
|
|
1453
|
+
pricingId?: number | undefined;
|
|
1454
|
+
ethDayChange?: string | undefined;
|
|
1455
|
+
ccyDayChange?: string | undefined;
|
|
1456
|
+
currencySymbol?: string | undefined;
|
|
1457
|
+
} | undefined;
|
|
1458
|
+
}, {
|
|
1459
|
+
delegatingTo: string;
|
|
1460
|
+
balance: string;
|
|
1461
|
+
address?: string | undefined;
|
|
1462
|
+
unitCurrencyValue?: string | undefined;
|
|
1463
|
+
currencyValue?: string | undefined;
|
|
1464
|
+
token?: {
|
|
1465
|
+
address: string;
|
|
1466
|
+
networkId: string;
|
|
1467
|
+
balance: string;
|
|
1468
|
+
currencyValue: string;
|
|
1469
|
+
symbol?: string | undefined;
|
|
1470
|
+
name?: string | undefined;
|
|
1471
|
+
decimals?: number | undefined;
|
|
1472
|
+
dappId?: string | undefined;
|
|
1473
|
+
brandColor?: string | undefined;
|
|
1474
|
+
unitCurrencyValue?: string | undefined;
|
|
1475
|
+
id?: number | undefined;
|
|
1476
|
+
iconUrl?: string | undefined;
|
|
1477
|
+
category?: string | undefined;
|
|
1478
|
+
pricingId?: number | undefined;
|
|
1479
|
+
ethDayChange?: string | undefined;
|
|
1480
|
+
ccyDayChange?: string | undefined;
|
|
1481
|
+
currencySymbol?: string | undefined;
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
}>, "many">;
|
|
1484
|
+
export declare const defiPositionSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1231
1485
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1232
1486
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1233
1487
|
}, {
|
|
@@ -1790,6 +2044,132 @@ export declare const defiPositionSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1790
2044
|
currencySymbol?: string | undefined;
|
|
1791
2045
|
} | undefined;
|
|
1792
2046
|
accountAddressGroup?: string | undefined;
|
|
2047
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2048
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2049
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2050
|
+
}, {
|
|
2051
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2052
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2053
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2054
|
+
networkId: z.ZodString;
|
|
2055
|
+
}, {
|
|
2056
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2057
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2058
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2059
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2060
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2061
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2062
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
}>, {
|
|
2066
|
+
currencyValue: z.ZodString;
|
|
2067
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
2068
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
2069
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
}>, {
|
|
2072
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2073
|
+
networkId: z.ZodString;
|
|
2074
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2075
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2078
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2079
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2080
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2082
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
balance: z.ZodString;
|
|
2084
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2085
|
+
address: `0x${string}`;
|
|
2086
|
+
networkId: string;
|
|
2087
|
+
balance: string;
|
|
2088
|
+
currencyValue: string;
|
|
2089
|
+
symbol?: string | undefined;
|
|
2090
|
+
name?: string | undefined;
|
|
2091
|
+
decimals?: number | undefined;
|
|
2092
|
+
dappId?: string | undefined;
|
|
2093
|
+
brandColor?: string | undefined;
|
|
2094
|
+
unitCurrencyValue?: string | undefined;
|
|
2095
|
+
id?: number | undefined;
|
|
2096
|
+
iconUrl?: string | undefined;
|
|
2097
|
+
category?: string | undefined;
|
|
2098
|
+
pricingId?: number | undefined;
|
|
2099
|
+
ethDayChange?: string | undefined;
|
|
2100
|
+
ccyDayChange?: string | undefined;
|
|
2101
|
+
currencySymbol?: string | undefined;
|
|
2102
|
+
}, {
|
|
2103
|
+
address: string;
|
|
2104
|
+
networkId: string;
|
|
2105
|
+
balance: string;
|
|
2106
|
+
currencyValue: string;
|
|
2107
|
+
symbol?: string | undefined;
|
|
2108
|
+
name?: string | undefined;
|
|
2109
|
+
decimals?: number | undefined;
|
|
2110
|
+
dappId?: string | undefined;
|
|
2111
|
+
brandColor?: string | undefined;
|
|
2112
|
+
unitCurrencyValue?: string | undefined;
|
|
2113
|
+
id?: number | undefined;
|
|
2114
|
+
iconUrl?: string | undefined;
|
|
2115
|
+
category?: string | undefined;
|
|
2116
|
+
pricingId?: number | undefined;
|
|
2117
|
+
ethDayChange?: string | undefined;
|
|
2118
|
+
ccyDayChange?: string | undefined;
|
|
2119
|
+
currencySymbol?: string | undefined;
|
|
2120
|
+
}>>;
|
|
2121
|
+
balance: z.ZodString;
|
|
2122
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2123
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2124
|
+
unitCurrencyValue: string;
|
|
2125
|
+
delegatingTo: `0x${string}`;
|
|
2126
|
+
balance: string;
|
|
2127
|
+
currencyValue: string;
|
|
2128
|
+
address?: `0x${string}` | undefined;
|
|
2129
|
+
token?: {
|
|
2130
|
+
address: `0x${string}`;
|
|
2131
|
+
networkId: string;
|
|
2132
|
+
balance: string;
|
|
2133
|
+
currencyValue: string;
|
|
2134
|
+
symbol?: string | undefined;
|
|
2135
|
+
name?: string | undefined;
|
|
2136
|
+
decimals?: number | undefined;
|
|
2137
|
+
dappId?: string | undefined;
|
|
2138
|
+
brandColor?: string | undefined;
|
|
2139
|
+
unitCurrencyValue?: string | undefined;
|
|
2140
|
+
id?: number | undefined;
|
|
2141
|
+
iconUrl?: string | undefined;
|
|
2142
|
+
category?: string | undefined;
|
|
2143
|
+
pricingId?: number | undefined;
|
|
2144
|
+
ethDayChange?: string | undefined;
|
|
2145
|
+
ccyDayChange?: string | undefined;
|
|
2146
|
+
currencySymbol?: string | undefined;
|
|
2147
|
+
} | undefined;
|
|
2148
|
+
}, {
|
|
2149
|
+
delegatingTo: string;
|
|
2150
|
+
balance: string;
|
|
2151
|
+
address?: string | undefined;
|
|
2152
|
+
unitCurrencyValue?: string | undefined;
|
|
2153
|
+
currencyValue?: string | undefined;
|
|
2154
|
+
token?: {
|
|
2155
|
+
address: string;
|
|
2156
|
+
networkId: string;
|
|
2157
|
+
balance: string;
|
|
2158
|
+
currencyValue: string;
|
|
2159
|
+
symbol?: string | undefined;
|
|
2160
|
+
name?: string | undefined;
|
|
2161
|
+
decimals?: number | undefined;
|
|
2162
|
+
dappId?: string | undefined;
|
|
2163
|
+
brandColor?: string | undefined;
|
|
2164
|
+
unitCurrencyValue?: string | undefined;
|
|
2165
|
+
id?: number | undefined;
|
|
2166
|
+
iconUrl?: string | undefined;
|
|
2167
|
+
category?: string | undefined;
|
|
2168
|
+
pricingId?: number | undefined;
|
|
2169
|
+
ethDayChange?: string | undefined;
|
|
2170
|
+
ccyDayChange?: string | undefined;
|
|
2171
|
+
currencySymbol?: string | undefined;
|
|
2172
|
+
} | undefined;
|
|
1793
2173
|
}>]>;
|
|
1794
2174
|
export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1795
2175
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1805,10 +2185,10 @@ export declare const productGroupsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1805
2185
|
healthRatio?: string | undefined;
|
|
1806
2186
|
}>>;
|
|
1807
2187
|
export declare const defiProductSchema: z.ZodObject<{
|
|
1808
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
2188
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
1809
2189
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
1810
2190
|
name: z.ZodString;
|
|
1811
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2191
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
1812
2192
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
1813
2193
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
1814
2194
|
}, {
|
|
@@ -2288,14 +2668,171 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2288
2668
|
brandColor?: string | undefined;
|
|
2289
2669
|
iconUrl?: string | undefined;
|
|
2290
2670
|
pricingId?: number | undefined;
|
|
2291
|
-
marketData?: {
|
|
2292
|
-
marketCap: number;
|
|
2293
|
-
marketCap24hChange: number;
|
|
2294
|
-
dailyVolume: number;
|
|
2295
|
-
rank: number;
|
|
2296
|
-
} | undefined;
|
|
2297
|
-
tags?: string[] | undefined;
|
|
2298
|
-
} | undefined;
|
|
2671
|
+
marketData?: {
|
|
2672
|
+
marketCap: number;
|
|
2673
|
+
marketCap24hChange: number;
|
|
2674
|
+
dailyVolume: number;
|
|
2675
|
+
rank: number;
|
|
2676
|
+
} | undefined;
|
|
2677
|
+
tags?: string[] | undefined;
|
|
2678
|
+
} | undefined;
|
|
2679
|
+
token?: {
|
|
2680
|
+
address: `0x${string}`;
|
|
2681
|
+
networkId: string;
|
|
2682
|
+
balance: string;
|
|
2683
|
+
currencyValue: string;
|
|
2684
|
+
symbol?: string | undefined;
|
|
2685
|
+
name?: string | undefined;
|
|
2686
|
+
decimals?: number | undefined;
|
|
2687
|
+
dappId?: string | undefined;
|
|
2688
|
+
brandColor?: string | undefined;
|
|
2689
|
+
unitCurrencyValue?: string | undefined;
|
|
2690
|
+
id?: number | undefined;
|
|
2691
|
+
iconUrl?: string | undefined;
|
|
2692
|
+
category?: string | undefined;
|
|
2693
|
+
pricingId?: number | undefined;
|
|
2694
|
+
ethDayChange?: string | undefined;
|
|
2695
|
+
ccyDayChange?: string | undefined;
|
|
2696
|
+
currencySymbol?: string | undefined;
|
|
2697
|
+
} | undefined;
|
|
2698
|
+
accountAddressGroup?: string | undefined;
|
|
2699
|
+
}, {
|
|
2700
|
+
totalBalances: Record<string, string>;
|
|
2701
|
+
collateral: boolean;
|
|
2702
|
+
debt: boolean;
|
|
2703
|
+
lending: boolean;
|
|
2704
|
+
address?: string | undefined;
|
|
2705
|
+
accountAddress?: string | undefined;
|
|
2706
|
+
unitCurrencyValue?: string | undefined;
|
|
2707
|
+
apy?: string | undefined;
|
|
2708
|
+
group?: string | undefined;
|
|
2709
|
+
currencyValue?: string | undefined;
|
|
2710
|
+
positionToken?: {
|
|
2711
|
+
symbol: string;
|
|
2712
|
+
name: string;
|
|
2713
|
+
address: string;
|
|
2714
|
+
decimals: number;
|
|
2715
|
+
id: number;
|
|
2716
|
+
sendable: boolean;
|
|
2717
|
+
popular: boolean;
|
|
2718
|
+
refundable: boolean;
|
|
2719
|
+
listed: boolean;
|
|
2720
|
+
tradable: boolean;
|
|
2721
|
+
category: "tokens" | "currencies" | "savings";
|
|
2722
|
+
dappId?: string | undefined;
|
|
2723
|
+
brandColor?: string | undefined;
|
|
2724
|
+
iconUrl?: string | undefined;
|
|
2725
|
+
pricingId?: number | undefined;
|
|
2726
|
+
marketData?: {
|
|
2727
|
+
marketCap: number;
|
|
2728
|
+
marketCap24hChange: number;
|
|
2729
|
+
dailyVolume: number;
|
|
2730
|
+
rank: number;
|
|
2731
|
+
} | undefined;
|
|
2732
|
+
tags?: string[] | undefined;
|
|
2733
|
+
} | undefined;
|
|
2734
|
+
token?: {
|
|
2735
|
+
address: string;
|
|
2736
|
+
networkId: string;
|
|
2737
|
+
balance: string;
|
|
2738
|
+
currencyValue: string;
|
|
2739
|
+
symbol?: string | undefined;
|
|
2740
|
+
name?: string | undefined;
|
|
2741
|
+
decimals?: number | undefined;
|
|
2742
|
+
dappId?: string | undefined;
|
|
2743
|
+
brandColor?: string | undefined;
|
|
2744
|
+
unitCurrencyValue?: string | undefined;
|
|
2745
|
+
id?: number | undefined;
|
|
2746
|
+
iconUrl?: string | undefined;
|
|
2747
|
+
category?: string | undefined;
|
|
2748
|
+
pricingId?: number | undefined;
|
|
2749
|
+
ethDayChange?: string | undefined;
|
|
2750
|
+
ccyDayChange?: string | undefined;
|
|
2751
|
+
currencySymbol?: string | undefined;
|
|
2752
|
+
} | undefined;
|
|
2753
|
+
accountAddressGroup?: string | undefined;
|
|
2754
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2755
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2756
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2757
|
+
}, {
|
|
2758
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2759
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2760
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2761
|
+
networkId: z.ZodString;
|
|
2762
|
+
}, {
|
|
2763
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2764
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2767
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2768
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2769
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2770
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2771
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
}>, {
|
|
2773
|
+
currencyValue: z.ZodString;
|
|
2774
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
2775
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
2778
|
+
}>, {
|
|
2779
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2780
|
+
networkId: z.ZodString;
|
|
2781
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
2782
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2783
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2784
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2785
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
2786
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
2787
|
+
category: z.ZodOptional<z.ZodString>;
|
|
2788
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
2790
|
+
balance: z.ZodString;
|
|
2791
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2792
|
+
address: `0x${string}`;
|
|
2793
|
+
networkId: string;
|
|
2794
|
+
balance: string;
|
|
2795
|
+
currencyValue: string;
|
|
2796
|
+
symbol?: string | undefined;
|
|
2797
|
+
name?: string | undefined;
|
|
2798
|
+
decimals?: number | undefined;
|
|
2799
|
+
dappId?: string | undefined;
|
|
2800
|
+
brandColor?: string | undefined;
|
|
2801
|
+
unitCurrencyValue?: string | undefined;
|
|
2802
|
+
id?: number | undefined;
|
|
2803
|
+
iconUrl?: string | undefined;
|
|
2804
|
+
category?: string | undefined;
|
|
2805
|
+
pricingId?: number | undefined;
|
|
2806
|
+
ethDayChange?: string | undefined;
|
|
2807
|
+
ccyDayChange?: string | undefined;
|
|
2808
|
+
currencySymbol?: string | undefined;
|
|
2809
|
+
}, {
|
|
2810
|
+
address: string;
|
|
2811
|
+
networkId: string;
|
|
2812
|
+
balance: string;
|
|
2813
|
+
currencyValue: string;
|
|
2814
|
+
symbol?: string | undefined;
|
|
2815
|
+
name?: string | undefined;
|
|
2816
|
+
decimals?: number | undefined;
|
|
2817
|
+
dappId?: string | undefined;
|
|
2818
|
+
brandColor?: string | undefined;
|
|
2819
|
+
unitCurrencyValue?: string | undefined;
|
|
2820
|
+
id?: number | undefined;
|
|
2821
|
+
iconUrl?: string | undefined;
|
|
2822
|
+
category?: string | undefined;
|
|
2823
|
+
pricingId?: number | undefined;
|
|
2824
|
+
ethDayChange?: string | undefined;
|
|
2825
|
+
ccyDayChange?: string | undefined;
|
|
2826
|
+
currencySymbol?: string | undefined;
|
|
2827
|
+
}>>;
|
|
2828
|
+
balance: z.ZodString;
|
|
2829
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2830
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2831
|
+
unitCurrencyValue: string;
|
|
2832
|
+
delegatingTo: `0x${string}`;
|
|
2833
|
+
balance: string;
|
|
2834
|
+
currencyValue: string;
|
|
2835
|
+
address?: `0x${string}` | undefined;
|
|
2299
2836
|
token?: {
|
|
2300
2837
|
address: `0x${string}`;
|
|
2301
2838
|
networkId: string;
|
|
@@ -2315,42 +2852,12 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2315
2852
|
ccyDayChange?: string | undefined;
|
|
2316
2853
|
currencySymbol?: string | undefined;
|
|
2317
2854
|
} | undefined;
|
|
2318
|
-
accountAddressGroup?: string | undefined;
|
|
2319
2855
|
}, {
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
debt: boolean;
|
|
2323
|
-
lending: boolean;
|
|
2856
|
+
delegatingTo: string;
|
|
2857
|
+
balance: string;
|
|
2324
2858
|
address?: string | undefined;
|
|
2325
|
-
accountAddress?: string | undefined;
|
|
2326
2859
|
unitCurrencyValue?: string | undefined;
|
|
2327
|
-
apy?: string | undefined;
|
|
2328
|
-
group?: string | undefined;
|
|
2329
2860
|
currencyValue?: string | undefined;
|
|
2330
|
-
positionToken?: {
|
|
2331
|
-
symbol: string;
|
|
2332
|
-
name: string;
|
|
2333
|
-
address: string;
|
|
2334
|
-
decimals: number;
|
|
2335
|
-
id: number;
|
|
2336
|
-
sendable: boolean;
|
|
2337
|
-
popular: boolean;
|
|
2338
|
-
refundable: boolean;
|
|
2339
|
-
listed: boolean;
|
|
2340
|
-
tradable: boolean;
|
|
2341
|
-
category: "tokens" | "currencies" | "savings";
|
|
2342
|
-
dappId?: string | undefined;
|
|
2343
|
-
brandColor?: string | undefined;
|
|
2344
|
-
iconUrl?: string | undefined;
|
|
2345
|
-
pricingId?: number | undefined;
|
|
2346
|
-
marketData?: {
|
|
2347
|
-
marketCap: number;
|
|
2348
|
-
marketCap24hChange: number;
|
|
2349
|
-
dailyVolume: number;
|
|
2350
|
-
rank: number;
|
|
2351
|
-
} | undefined;
|
|
2352
|
-
tags?: string[] | undefined;
|
|
2353
|
-
} | undefined;
|
|
2354
2861
|
token?: {
|
|
2355
2862
|
address: string;
|
|
2356
2863
|
networkId: string;
|
|
@@ -2370,7 +2877,6 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2370
2877
|
ccyDayChange?: string | undefined;
|
|
2371
2878
|
currencySymbol?: string | undefined;
|
|
2372
2879
|
} | undefined;
|
|
2373
|
-
accountAddressGroup?: string | undefined;
|
|
2374
2880
|
}>]>, "many">;
|
|
2375
2881
|
positionsTotalValue: z.ZodString;
|
|
2376
2882
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -2390,7 +2896,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2390
2896
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
2391
2897
|
}, "strip", z.ZodTypeAny, {
|
|
2392
2898
|
name: string;
|
|
2393
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
2899
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
2394
2900
|
accountAddress: `0x${string}`;
|
|
2395
2901
|
positions: ({
|
|
2396
2902
|
poolFeePercentage: string;
|
|
@@ -2503,6 +3009,31 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2503
3009
|
currencySymbol?: string | undefined;
|
|
2504
3010
|
} | undefined;
|
|
2505
3011
|
accountAddressGroup?: string | undefined;
|
|
3012
|
+
} | {
|
|
3013
|
+
unitCurrencyValue: string;
|
|
3014
|
+
delegatingTo: `0x${string}`;
|
|
3015
|
+
balance: string;
|
|
3016
|
+
currencyValue: string;
|
|
3017
|
+
address?: `0x${string}` | undefined;
|
|
3018
|
+
token?: {
|
|
3019
|
+
address: `0x${string}`;
|
|
3020
|
+
networkId: string;
|
|
3021
|
+
balance: string;
|
|
3022
|
+
currencyValue: string;
|
|
3023
|
+
symbol?: string | undefined;
|
|
3024
|
+
name?: string | undefined;
|
|
3025
|
+
decimals?: number | undefined;
|
|
3026
|
+
dappId?: string | undefined;
|
|
3027
|
+
brandColor?: string | undefined;
|
|
3028
|
+
unitCurrencyValue?: string | undefined;
|
|
3029
|
+
id?: number | undefined;
|
|
3030
|
+
iconUrl?: string | undefined;
|
|
3031
|
+
category?: string | undefined;
|
|
3032
|
+
pricingId?: number | undefined;
|
|
3033
|
+
ethDayChange?: string | undefined;
|
|
3034
|
+
ccyDayChange?: string | undefined;
|
|
3035
|
+
currencySymbol?: string | undefined;
|
|
3036
|
+
} | undefined;
|
|
2506
3037
|
})[];
|
|
2507
3038
|
positionsTotalValue: string;
|
|
2508
3039
|
brandColor?: string | undefined;
|
|
@@ -2514,7 +3045,7 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2514
3045
|
}> | undefined;
|
|
2515
3046
|
}, {
|
|
2516
3047
|
name: string;
|
|
2517
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
3048
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
2518
3049
|
accountAddress: string;
|
|
2519
3050
|
positions: ({
|
|
2520
3051
|
poolFeePercentage: string;
|
|
@@ -2627,6 +3158,31 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2627
3158
|
currencySymbol?: string | undefined;
|
|
2628
3159
|
} | undefined;
|
|
2629
3160
|
accountAddressGroup?: string | undefined;
|
|
3161
|
+
} | {
|
|
3162
|
+
delegatingTo: string;
|
|
3163
|
+
balance: string;
|
|
3164
|
+
address?: string | undefined;
|
|
3165
|
+
unitCurrencyValue?: string | undefined;
|
|
3166
|
+
currencyValue?: string | undefined;
|
|
3167
|
+
token?: {
|
|
3168
|
+
address: string;
|
|
3169
|
+
networkId: string;
|
|
3170
|
+
balance: string;
|
|
3171
|
+
currencyValue: string;
|
|
3172
|
+
symbol?: string | undefined;
|
|
3173
|
+
name?: string | undefined;
|
|
3174
|
+
decimals?: number | undefined;
|
|
3175
|
+
dappId?: string | undefined;
|
|
3176
|
+
brandColor?: string | undefined;
|
|
3177
|
+
unitCurrencyValue?: string | undefined;
|
|
3178
|
+
id?: number | undefined;
|
|
3179
|
+
iconUrl?: string | undefined;
|
|
3180
|
+
category?: string | undefined;
|
|
3181
|
+
pricingId?: number | undefined;
|
|
3182
|
+
ethDayChange?: string | undefined;
|
|
3183
|
+
ccyDayChange?: string | undefined;
|
|
3184
|
+
currencySymbol?: string | undefined;
|
|
3185
|
+
} | undefined;
|
|
2630
3186
|
})[];
|
|
2631
3187
|
positionsTotalValue: string;
|
|
2632
3188
|
brandColor?: string | undefined;
|
|
@@ -2638,10 +3194,10 @@ export declare const defiProductSchema: z.ZodObject<{
|
|
|
2638
3194
|
}> | undefined;
|
|
2639
3195
|
}>;
|
|
2640
3196
|
export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
2641
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
3197
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
2642
3198
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
2643
3199
|
name: z.ZodString;
|
|
2644
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3200
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2645
3201
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
2646
3202
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
2647
3203
|
}, {
|
|
@@ -3204,6 +3760,132 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3204
3760
|
currencySymbol?: string | undefined;
|
|
3205
3761
|
} | undefined;
|
|
3206
3762
|
accountAddressGroup?: string | undefined;
|
|
3763
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3764
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3765
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3766
|
+
}, {
|
|
3767
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3768
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3769
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3770
|
+
networkId: z.ZodString;
|
|
3771
|
+
}, {
|
|
3772
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3773
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3775
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3776
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3777
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
3778
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3779
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
}>, {
|
|
3782
|
+
currencyValue: z.ZodString;
|
|
3783
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
3784
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
3786
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
3787
|
+
}>, {
|
|
3788
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3789
|
+
networkId: z.ZodString;
|
|
3790
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
3791
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
3794
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
3795
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
3796
|
+
category: z.ZodOptional<z.ZodString>;
|
|
3797
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
3798
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
3799
|
+
balance: z.ZodString;
|
|
3800
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3801
|
+
address: `0x${string}`;
|
|
3802
|
+
networkId: string;
|
|
3803
|
+
balance: string;
|
|
3804
|
+
currencyValue: string;
|
|
3805
|
+
symbol?: string | undefined;
|
|
3806
|
+
name?: string | undefined;
|
|
3807
|
+
decimals?: number | undefined;
|
|
3808
|
+
dappId?: string | undefined;
|
|
3809
|
+
brandColor?: string | undefined;
|
|
3810
|
+
unitCurrencyValue?: string | undefined;
|
|
3811
|
+
id?: number | undefined;
|
|
3812
|
+
iconUrl?: string | undefined;
|
|
3813
|
+
category?: string | undefined;
|
|
3814
|
+
pricingId?: number | undefined;
|
|
3815
|
+
ethDayChange?: string | undefined;
|
|
3816
|
+
ccyDayChange?: string | undefined;
|
|
3817
|
+
currencySymbol?: string | undefined;
|
|
3818
|
+
}, {
|
|
3819
|
+
address: string;
|
|
3820
|
+
networkId: string;
|
|
3821
|
+
balance: string;
|
|
3822
|
+
currencyValue: string;
|
|
3823
|
+
symbol?: string | undefined;
|
|
3824
|
+
name?: string | undefined;
|
|
3825
|
+
decimals?: number | undefined;
|
|
3826
|
+
dappId?: string | undefined;
|
|
3827
|
+
brandColor?: string | undefined;
|
|
3828
|
+
unitCurrencyValue?: string | undefined;
|
|
3829
|
+
id?: number | undefined;
|
|
3830
|
+
iconUrl?: string | undefined;
|
|
3831
|
+
category?: string | undefined;
|
|
3832
|
+
pricingId?: number | undefined;
|
|
3833
|
+
ethDayChange?: string | undefined;
|
|
3834
|
+
ccyDayChange?: string | undefined;
|
|
3835
|
+
currencySymbol?: string | undefined;
|
|
3836
|
+
}>>;
|
|
3837
|
+
balance: z.ZodString;
|
|
3838
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3839
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3840
|
+
unitCurrencyValue: string;
|
|
3841
|
+
delegatingTo: `0x${string}`;
|
|
3842
|
+
balance: string;
|
|
3843
|
+
currencyValue: string;
|
|
3844
|
+
address?: `0x${string}` | undefined;
|
|
3845
|
+
token?: {
|
|
3846
|
+
address: `0x${string}`;
|
|
3847
|
+
networkId: string;
|
|
3848
|
+
balance: string;
|
|
3849
|
+
currencyValue: string;
|
|
3850
|
+
symbol?: string | undefined;
|
|
3851
|
+
name?: string | undefined;
|
|
3852
|
+
decimals?: number | undefined;
|
|
3853
|
+
dappId?: string | undefined;
|
|
3854
|
+
brandColor?: string | undefined;
|
|
3855
|
+
unitCurrencyValue?: string | undefined;
|
|
3856
|
+
id?: number | undefined;
|
|
3857
|
+
iconUrl?: string | undefined;
|
|
3858
|
+
category?: string | undefined;
|
|
3859
|
+
pricingId?: number | undefined;
|
|
3860
|
+
ethDayChange?: string | undefined;
|
|
3861
|
+
ccyDayChange?: string | undefined;
|
|
3862
|
+
currencySymbol?: string | undefined;
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
}, {
|
|
3865
|
+
delegatingTo: string;
|
|
3866
|
+
balance: string;
|
|
3867
|
+
address?: string | undefined;
|
|
3868
|
+
unitCurrencyValue?: string | undefined;
|
|
3869
|
+
currencyValue?: string | undefined;
|
|
3870
|
+
token?: {
|
|
3871
|
+
address: string;
|
|
3872
|
+
networkId: string;
|
|
3873
|
+
balance: string;
|
|
3874
|
+
currencyValue: string;
|
|
3875
|
+
symbol?: string | undefined;
|
|
3876
|
+
name?: string | undefined;
|
|
3877
|
+
decimals?: number | undefined;
|
|
3878
|
+
dappId?: string | undefined;
|
|
3879
|
+
brandColor?: string | undefined;
|
|
3880
|
+
unitCurrencyValue?: string | undefined;
|
|
3881
|
+
id?: number | undefined;
|
|
3882
|
+
iconUrl?: string | undefined;
|
|
3883
|
+
category?: string | undefined;
|
|
3884
|
+
pricingId?: number | undefined;
|
|
3885
|
+
ethDayChange?: string | undefined;
|
|
3886
|
+
ccyDayChange?: string | undefined;
|
|
3887
|
+
currencySymbol?: string | undefined;
|
|
3888
|
+
} | undefined;
|
|
3207
3889
|
}>]>, "many">;
|
|
3208
3890
|
positionsTotalValue: z.ZodString;
|
|
3209
3891
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -3223,7 +3905,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3223
3905
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
3224
3906
|
}, "strip", z.ZodTypeAny, {
|
|
3225
3907
|
name: string;
|
|
3226
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
3908
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
3227
3909
|
accountAddress: `0x${string}`;
|
|
3228
3910
|
positions: ({
|
|
3229
3911
|
poolFeePercentage: string;
|
|
@@ -3308,14 +3990,40 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3308
3990
|
brandColor?: string | undefined;
|
|
3309
3991
|
iconUrl?: string | undefined;
|
|
3310
3992
|
pricingId?: number | undefined;
|
|
3311
|
-
marketData?: {
|
|
3312
|
-
marketCap: number;
|
|
3313
|
-
marketCap24hChange: number;
|
|
3314
|
-
dailyVolume: number;
|
|
3315
|
-
rank: number;
|
|
3316
|
-
} | undefined;
|
|
3317
|
-
tags?: string[] | undefined;
|
|
3993
|
+
marketData?: {
|
|
3994
|
+
marketCap: number;
|
|
3995
|
+
marketCap24hChange: number;
|
|
3996
|
+
dailyVolume: number;
|
|
3997
|
+
rank: number;
|
|
3998
|
+
} | undefined;
|
|
3999
|
+
tags?: string[] | undefined;
|
|
4000
|
+
} | undefined;
|
|
4001
|
+
token?: {
|
|
4002
|
+
address: `0x${string}`;
|
|
4003
|
+
networkId: string;
|
|
4004
|
+
balance: string;
|
|
4005
|
+
currencyValue: string;
|
|
4006
|
+
symbol?: string | undefined;
|
|
4007
|
+
name?: string | undefined;
|
|
4008
|
+
decimals?: number | undefined;
|
|
4009
|
+
dappId?: string | undefined;
|
|
4010
|
+
brandColor?: string | undefined;
|
|
4011
|
+
unitCurrencyValue?: string | undefined;
|
|
4012
|
+
id?: number | undefined;
|
|
4013
|
+
iconUrl?: string | undefined;
|
|
4014
|
+
category?: string | undefined;
|
|
4015
|
+
pricingId?: number | undefined;
|
|
4016
|
+
ethDayChange?: string | undefined;
|
|
4017
|
+
ccyDayChange?: string | undefined;
|
|
4018
|
+
currencySymbol?: string | undefined;
|
|
3318
4019
|
} | undefined;
|
|
4020
|
+
accountAddressGroup?: string | undefined;
|
|
4021
|
+
} | {
|
|
4022
|
+
unitCurrencyValue: string;
|
|
4023
|
+
delegatingTo: `0x${string}`;
|
|
4024
|
+
balance: string;
|
|
4025
|
+
currencyValue: string;
|
|
4026
|
+
address?: `0x${string}` | undefined;
|
|
3319
4027
|
token?: {
|
|
3320
4028
|
address: `0x${string}`;
|
|
3321
4029
|
networkId: string;
|
|
@@ -3335,7 +4043,6 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3335
4043
|
ccyDayChange?: string | undefined;
|
|
3336
4044
|
currencySymbol?: string | undefined;
|
|
3337
4045
|
} | undefined;
|
|
3338
|
-
accountAddressGroup?: string | undefined;
|
|
3339
4046
|
})[];
|
|
3340
4047
|
positionsTotalValue: string;
|
|
3341
4048
|
brandColor?: string | undefined;
|
|
@@ -3347,7 +4054,7 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3347
4054
|
}> | undefined;
|
|
3348
4055
|
}, {
|
|
3349
4056
|
name: string;
|
|
3350
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
4057
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
3351
4058
|
accountAddress: string;
|
|
3352
4059
|
positions: ({
|
|
3353
4060
|
poolFeePercentage: string;
|
|
@@ -3460,6 +4167,31 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3460
4167
|
currencySymbol?: string | undefined;
|
|
3461
4168
|
} | undefined;
|
|
3462
4169
|
accountAddressGroup?: string | undefined;
|
|
4170
|
+
} | {
|
|
4171
|
+
delegatingTo: string;
|
|
4172
|
+
balance: string;
|
|
4173
|
+
address?: string | undefined;
|
|
4174
|
+
unitCurrencyValue?: string | undefined;
|
|
4175
|
+
currencyValue?: string | undefined;
|
|
4176
|
+
token?: {
|
|
4177
|
+
address: string;
|
|
4178
|
+
networkId: string;
|
|
4179
|
+
balance: string;
|
|
4180
|
+
currencyValue: string;
|
|
4181
|
+
symbol?: string | undefined;
|
|
4182
|
+
name?: string | undefined;
|
|
4183
|
+
decimals?: number | undefined;
|
|
4184
|
+
dappId?: string | undefined;
|
|
4185
|
+
brandColor?: string | undefined;
|
|
4186
|
+
unitCurrencyValue?: string | undefined;
|
|
4187
|
+
id?: number | undefined;
|
|
4188
|
+
iconUrl?: string | undefined;
|
|
4189
|
+
category?: string | undefined;
|
|
4190
|
+
pricingId?: number | undefined;
|
|
4191
|
+
ethDayChange?: string | undefined;
|
|
4192
|
+
ccyDayChange?: string | undefined;
|
|
4193
|
+
currencySymbol?: string | undefined;
|
|
4194
|
+
} | undefined;
|
|
3463
4195
|
})[];
|
|
3464
4196
|
positionsTotalValue: string;
|
|
3465
4197
|
brandColor?: string | undefined;
|
|
@@ -3473,10 +4205,10 @@ export declare const defiProductsSchema: z.ZodArray<z.ZodObject<{
|
|
|
3473
4205
|
export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
3474
4206
|
dappId: z.ZodString;
|
|
3475
4207
|
products: z.ZodArray<z.ZodObject<{
|
|
3476
|
-
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"staking">]>;
|
|
4208
|
+
type: z.ZodUnion<[z.ZodLiteral<"concentratedLiquidityPosition">, z.ZodLiteral<"collateralizedDebtPosition">, z.ZodLiteral<"delegatedTokens">, z.ZodLiteral<"staking">]>;
|
|
3477
4209
|
manageUrl: z.ZodOptional<z.ZodString>;
|
|
3478
4210
|
name: z.ZodString;
|
|
3479
|
-
positions: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
4211
|
+
positions: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
3480
4212
|
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
3481
4213
|
currencyValue: z.ZodDefault<z.ZodString>;
|
|
3482
4214
|
}, {
|
|
@@ -4039,6 +4771,132 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4039
4771
|
currencySymbol?: string | undefined;
|
|
4040
4772
|
} | undefined;
|
|
4041
4773
|
accountAddressGroup?: string | undefined;
|
|
4774
|
+
}>]>, z.ZodObject<z.objectUtil.extendShape<{
|
|
4775
|
+
address: z.ZodOptional<z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>>;
|
|
4776
|
+
currencyValue: z.ZodDefault<z.ZodString>;
|
|
4777
|
+
}, {
|
|
4778
|
+
delegatingTo: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4779
|
+
token: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4780
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4781
|
+
networkId: z.ZodString;
|
|
4782
|
+
}, {
|
|
4783
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4784
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4785
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
4786
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4787
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
4788
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
4789
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4790
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
4791
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
4792
|
+
}>, {
|
|
4793
|
+
currencyValue: z.ZodString;
|
|
4794
|
+
currencySymbol: z.ZodOptional<z.ZodString>;
|
|
4795
|
+
ccyDayChange: z.ZodOptional<z.ZodString>;
|
|
4796
|
+
ethDayChange: z.ZodOptional<z.ZodString>;
|
|
4797
|
+
unitCurrencyValue: z.ZodOptional<z.ZodString>;
|
|
4798
|
+
}>, {
|
|
4799
|
+
address: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4800
|
+
networkId: z.ZodString;
|
|
4801
|
+
id: z.ZodOptional<z.ZodNumber>;
|
|
4802
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4803
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
4804
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
4805
|
+
iconUrl: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodLiteral<"">]>;
|
|
4806
|
+
pricingId: z.ZodOptional<z.ZodNumber>;
|
|
4807
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4808
|
+
dappId: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
brandColor: z.ZodOptional<z.ZodString>;
|
|
4810
|
+
balance: z.ZodString;
|
|
4811
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4812
|
+
address: `0x${string}`;
|
|
4813
|
+
networkId: string;
|
|
4814
|
+
balance: string;
|
|
4815
|
+
currencyValue: string;
|
|
4816
|
+
symbol?: string | undefined;
|
|
4817
|
+
name?: string | undefined;
|
|
4818
|
+
decimals?: number | undefined;
|
|
4819
|
+
dappId?: string | undefined;
|
|
4820
|
+
brandColor?: string | undefined;
|
|
4821
|
+
unitCurrencyValue?: string | undefined;
|
|
4822
|
+
id?: number | undefined;
|
|
4823
|
+
iconUrl?: string | undefined;
|
|
4824
|
+
category?: string | undefined;
|
|
4825
|
+
pricingId?: number | undefined;
|
|
4826
|
+
ethDayChange?: string | undefined;
|
|
4827
|
+
ccyDayChange?: string | undefined;
|
|
4828
|
+
currencySymbol?: string | undefined;
|
|
4829
|
+
}, {
|
|
4830
|
+
address: string;
|
|
4831
|
+
networkId: string;
|
|
4832
|
+
balance: string;
|
|
4833
|
+
currencyValue: string;
|
|
4834
|
+
symbol?: string | undefined;
|
|
4835
|
+
name?: string | undefined;
|
|
4836
|
+
decimals?: number | undefined;
|
|
4837
|
+
dappId?: string | undefined;
|
|
4838
|
+
brandColor?: string | undefined;
|
|
4839
|
+
unitCurrencyValue?: string | undefined;
|
|
4840
|
+
id?: number | undefined;
|
|
4841
|
+
iconUrl?: string | undefined;
|
|
4842
|
+
category?: string | undefined;
|
|
4843
|
+
pricingId?: number | undefined;
|
|
4844
|
+
ethDayChange?: string | undefined;
|
|
4845
|
+
ccyDayChange?: string | undefined;
|
|
4846
|
+
currencySymbol?: string | undefined;
|
|
4847
|
+
}>>;
|
|
4848
|
+
balance: z.ZodString;
|
|
4849
|
+
unitCurrencyValue: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4850
|
+
}>, "strip", z.ZodTypeAny, {
|
|
4851
|
+
unitCurrencyValue: string;
|
|
4852
|
+
delegatingTo: `0x${string}`;
|
|
4853
|
+
balance: string;
|
|
4854
|
+
currencyValue: string;
|
|
4855
|
+
address?: `0x${string}` | undefined;
|
|
4856
|
+
token?: {
|
|
4857
|
+
address: `0x${string}`;
|
|
4858
|
+
networkId: string;
|
|
4859
|
+
balance: string;
|
|
4860
|
+
currencyValue: string;
|
|
4861
|
+
symbol?: string | undefined;
|
|
4862
|
+
name?: string | undefined;
|
|
4863
|
+
decimals?: number | undefined;
|
|
4864
|
+
dappId?: string | undefined;
|
|
4865
|
+
brandColor?: string | undefined;
|
|
4866
|
+
unitCurrencyValue?: string | undefined;
|
|
4867
|
+
id?: number | undefined;
|
|
4868
|
+
iconUrl?: string | undefined;
|
|
4869
|
+
category?: string | undefined;
|
|
4870
|
+
pricingId?: number | undefined;
|
|
4871
|
+
ethDayChange?: string | undefined;
|
|
4872
|
+
ccyDayChange?: string | undefined;
|
|
4873
|
+
currencySymbol?: string | undefined;
|
|
4874
|
+
} | undefined;
|
|
4875
|
+
}, {
|
|
4876
|
+
delegatingTo: string;
|
|
4877
|
+
balance: string;
|
|
4878
|
+
address?: string | undefined;
|
|
4879
|
+
unitCurrencyValue?: string | undefined;
|
|
4880
|
+
currencyValue?: string | undefined;
|
|
4881
|
+
token?: {
|
|
4882
|
+
address: string;
|
|
4883
|
+
networkId: string;
|
|
4884
|
+
balance: string;
|
|
4885
|
+
currencyValue: string;
|
|
4886
|
+
symbol?: string | undefined;
|
|
4887
|
+
name?: string | undefined;
|
|
4888
|
+
decimals?: number | undefined;
|
|
4889
|
+
dappId?: string | undefined;
|
|
4890
|
+
brandColor?: string | undefined;
|
|
4891
|
+
unitCurrencyValue?: string | undefined;
|
|
4892
|
+
id?: number | undefined;
|
|
4893
|
+
iconUrl?: string | undefined;
|
|
4894
|
+
category?: string | undefined;
|
|
4895
|
+
pricingId?: number | undefined;
|
|
4896
|
+
ethDayChange?: string | undefined;
|
|
4897
|
+
ccyDayChange?: string | undefined;
|
|
4898
|
+
currencySymbol?: string | undefined;
|
|
4899
|
+
} | undefined;
|
|
4042
4900
|
}>]>, "many">;
|
|
4043
4901
|
positionsTotalValue: z.ZodString;
|
|
4044
4902
|
brandColor: z.ZodOptional<z.ZodString>;
|
|
@@ -4058,7 +4916,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4058
4916
|
accountAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
4059
4917
|
}, "strip", z.ZodTypeAny, {
|
|
4060
4918
|
name: string;
|
|
4061
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
4919
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4062
4920
|
accountAddress: `0x${string}`;
|
|
4063
4921
|
positions: ({
|
|
4064
4922
|
poolFeePercentage: string;
|
|
@@ -4171,6 +5029,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4171
5029
|
currencySymbol?: string | undefined;
|
|
4172
5030
|
} | undefined;
|
|
4173
5031
|
accountAddressGroup?: string | undefined;
|
|
5032
|
+
} | {
|
|
5033
|
+
unitCurrencyValue: string;
|
|
5034
|
+
delegatingTo: `0x${string}`;
|
|
5035
|
+
balance: string;
|
|
5036
|
+
currencyValue: string;
|
|
5037
|
+
address?: `0x${string}` | undefined;
|
|
5038
|
+
token?: {
|
|
5039
|
+
address: `0x${string}`;
|
|
5040
|
+
networkId: string;
|
|
5041
|
+
balance: string;
|
|
5042
|
+
currencyValue: string;
|
|
5043
|
+
symbol?: string | undefined;
|
|
5044
|
+
name?: string | undefined;
|
|
5045
|
+
decimals?: number | undefined;
|
|
5046
|
+
dappId?: string | undefined;
|
|
5047
|
+
brandColor?: string | undefined;
|
|
5048
|
+
unitCurrencyValue?: string | undefined;
|
|
5049
|
+
id?: number | undefined;
|
|
5050
|
+
iconUrl?: string | undefined;
|
|
5051
|
+
category?: string | undefined;
|
|
5052
|
+
pricingId?: number | undefined;
|
|
5053
|
+
ethDayChange?: string | undefined;
|
|
5054
|
+
ccyDayChange?: string | undefined;
|
|
5055
|
+
currencySymbol?: string | undefined;
|
|
5056
|
+
} | undefined;
|
|
4174
5057
|
})[];
|
|
4175
5058
|
positionsTotalValue: string;
|
|
4176
5059
|
brandColor?: string | undefined;
|
|
@@ -4182,7 +5065,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4182
5065
|
}> | undefined;
|
|
4183
5066
|
}, {
|
|
4184
5067
|
name: string;
|
|
4185
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5068
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4186
5069
|
accountAddress: string;
|
|
4187
5070
|
positions: ({
|
|
4188
5071
|
poolFeePercentage: string;
|
|
@@ -4295,6 +5178,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4295
5178
|
currencySymbol?: string | undefined;
|
|
4296
5179
|
} | undefined;
|
|
4297
5180
|
accountAddressGroup?: string | undefined;
|
|
5181
|
+
} | {
|
|
5182
|
+
delegatingTo: string;
|
|
5183
|
+
balance: string;
|
|
5184
|
+
address?: string | undefined;
|
|
5185
|
+
unitCurrencyValue?: string | undefined;
|
|
5186
|
+
currencyValue?: string | undefined;
|
|
5187
|
+
token?: {
|
|
5188
|
+
address: string;
|
|
5189
|
+
networkId: string;
|
|
5190
|
+
balance: string;
|
|
5191
|
+
currencyValue: string;
|
|
5192
|
+
symbol?: string | undefined;
|
|
5193
|
+
name?: string | undefined;
|
|
5194
|
+
decimals?: number | undefined;
|
|
5195
|
+
dappId?: string | undefined;
|
|
5196
|
+
brandColor?: string | undefined;
|
|
5197
|
+
unitCurrencyValue?: string | undefined;
|
|
5198
|
+
id?: number | undefined;
|
|
5199
|
+
iconUrl?: string | undefined;
|
|
5200
|
+
category?: string | undefined;
|
|
5201
|
+
pricingId?: number | undefined;
|
|
5202
|
+
ethDayChange?: string | undefined;
|
|
5203
|
+
ccyDayChange?: string | undefined;
|
|
5204
|
+
currencySymbol?: string | undefined;
|
|
5205
|
+
} | undefined;
|
|
4298
5206
|
})[];
|
|
4299
5207
|
positionsTotalValue: string;
|
|
4300
5208
|
brandColor?: string | undefined;
|
|
@@ -4309,7 +5217,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4309
5217
|
dappId: string;
|
|
4310
5218
|
products: {
|
|
4311
5219
|
name: string;
|
|
4312
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5220
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4313
5221
|
accountAddress: `0x${string}`;
|
|
4314
5222
|
positions: ({
|
|
4315
5223
|
poolFeePercentage: string;
|
|
@@ -4422,6 +5330,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4422
5330
|
currencySymbol?: string | undefined;
|
|
4423
5331
|
} | undefined;
|
|
4424
5332
|
accountAddressGroup?: string | undefined;
|
|
5333
|
+
} | {
|
|
5334
|
+
unitCurrencyValue: string;
|
|
5335
|
+
delegatingTo: `0x${string}`;
|
|
5336
|
+
balance: string;
|
|
5337
|
+
currencyValue: string;
|
|
5338
|
+
address?: `0x${string}` | undefined;
|
|
5339
|
+
token?: {
|
|
5340
|
+
address: `0x${string}`;
|
|
5341
|
+
networkId: string;
|
|
5342
|
+
balance: string;
|
|
5343
|
+
currencyValue: string;
|
|
5344
|
+
symbol?: string | undefined;
|
|
5345
|
+
name?: string | undefined;
|
|
5346
|
+
decimals?: number | undefined;
|
|
5347
|
+
dappId?: string | undefined;
|
|
5348
|
+
brandColor?: string | undefined;
|
|
5349
|
+
unitCurrencyValue?: string | undefined;
|
|
5350
|
+
id?: number | undefined;
|
|
5351
|
+
iconUrl?: string | undefined;
|
|
5352
|
+
category?: string | undefined;
|
|
5353
|
+
pricingId?: number | undefined;
|
|
5354
|
+
ethDayChange?: string | undefined;
|
|
5355
|
+
ccyDayChange?: string | undefined;
|
|
5356
|
+
currencySymbol?: string | undefined;
|
|
5357
|
+
} | undefined;
|
|
4425
5358
|
})[];
|
|
4426
5359
|
positionsTotalValue: string;
|
|
4427
5360
|
brandColor?: string | undefined;
|
|
@@ -4436,7 +5369,7 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4436
5369
|
dappId: string;
|
|
4437
5370
|
products: {
|
|
4438
5371
|
name: string;
|
|
4439
|
-
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "staking";
|
|
5372
|
+
type: "concentratedLiquidityPosition" | "collateralizedDebtPosition" | "delegatedTokens" | "staking";
|
|
4440
5373
|
accountAddress: string;
|
|
4441
5374
|
positions: ({
|
|
4442
5375
|
poolFeePercentage: string;
|
|
@@ -4549,6 +5482,31 @@ export declare const defiDappsProductsSchema: z.ZodObject<{
|
|
|
4549
5482
|
currencySymbol?: string | undefined;
|
|
4550
5483
|
} | undefined;
|
|
4551
5484
|
accountAddressGroup?: string | undefined;
|
|
5485
|
+
} | {
|
|
5486
|
+
delegatingTo: string;
|
|
5487
|
+
balance: string;
|
|
5488
|
+
address?: string | undefined;
|
|
5489
|
+
unitCurrencyValue?: string | undefined;
|
|
5490
|
+
currencyValue?: string | undefined;
|
|
5491
|
+
token?: {
|
|
5492
|
+
address: string;
|
|
5493
|
+
networkId: string;
|
|
5494
|
+
balance: string;
|
|
5495
|
+
currencyValue: string;
|
|
5496
|
+
symbol?: string | undefined;
|
|
5497
|
+
name?: string | undefined;
|
|
5498
|
+
decimals?: number | undefined;
|
|
5499
|
+
dappId?: string | undefined;
|
|
5500
|
+
brandColor?: string | undefined;
|
|
5501
|
+
unitCurrencyValue?: string | undefined;
|
|
5502
|
+
id?: number | undefined;
|
|
5503
|
+
iconUrl?: string | undefined;
|
|
5504
|
+
category?: string | undefined;
|
|
5505
|
+
pricingId?: number | undefined;
|
|
5506
|
+
ethDayChange?: string | undefined;
|
|
5507
|
+
ccyDayChange?: string | undefined;
|
|
5508
|
+
currencySymbol?: string | undefined;
|
|
5509
|
+
} | undefined;
|
|
4552
5510
|
})[];
|
|
4553
5511
|
positionsTotalValue: string;
|
|
4554
5512
|
brandColor?: string | undefined;
|
|
@@ -4564,6 +5522,8 @@ export type ProductGroups = z.infer<typeof productGroupsSchema>;
|
|
|
4564
5522
|
export type CollateralizedDebtPosition = z.infer<typeof collateralizedDebtPositionSchema>;
|
|
4565
5523
|
export type CollateralizedDebtGroup = z.infer<typeof collateralizedDebtGroupSchema>;
|
|
4566
5524
|
export type ConcentratedLiquidityPosition = z.infer<typeof concentratedLiquidityPositionSchema>;
|
|
5525
|
+
export type DelegatedTokens = z.infer<typeof delegatedTokensSchema>;
|
|
5526
|
+
export type DelegatedTokensArray = z.infer<typeof delegatedTokensArraySchema>;
|
|
4567
5527
|
export type DefiPositionToken = z.infer<typeof defiPositionTokenSchema>;
|
|
4568
5528
|
export type DefiPosition = z.infer<typeof defiPositionSchema>;
|
|
4569
5529
|
export type DefiProduct = z.infer<typeof defiProductSchema>;
|