@merkl/api 1.13.0 → 1.13.2
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/src/eden/index.d.ts +390 -212
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +25 -25
- package/dist/src/engine/implementations/Blend/metadata.d.ts +32 -0
- package/dist/src/engine/implementations/Blend/metadata.js.map +1 -0
- package/dist/src/engine/implementations/SacHolder/metadata.d.ts +16 -0
- package/dist/src/engine/implementations/SacHolder/metadata.js.map +1 -0
- package/dist/src/engine/metadata/factory.js.map +1 -1
- package/dist/src/engine/nativeAPR/factory.js.map +1 -1
- package/dist/src/engine/tvl/factory.js.map +1 -1
- package/dist/src/index.d.ts +390 -212
- package/dist/src/index.js.map +1 -1
- package/dist/src/jobs/auto-claim/index.js.map +1 -0
- package/dist/src/jobs/leaf-breakdown-etl/config.d.ts +8 -0
- package/dist/src/jobs/leaf-breakdown-etl/config.js.map +1 -0
- package/dist/src/jobs/leaf-breakdown-etl/index.js.map +1 -0
- package/dist/src/jobs/leaf-breakdown-etl/load.d.ts +13 -0
- package/dist/src/jobs/leaf-breakdown-etl/load.js.map +1 -0
- package/dist/src/jobs/leaf-breakdown-etl/subcampaigns.d.ts +27 -0
- package/dist/src/jobs/leaf-breakdown-etl/subcampaigns.js.map +1 -0
- package/dist/src/jobs/leaf-breakdown-etl/types.d.ts +15 -0
- package/dist/src/jobs/leaf-breakdown-etl/types.js.map +1 -0
- package/dist/src/jobs/leaf-etl/config.d.ts +7 -0
- package/dist/src/jobs/leaf-etl/config.js.map +1 -0
- package/dist/src/jobs/leaf-etl/index.d.ts +1 -0
- package/dist/src/jobs/leaf-etl/index.js.map +1 -0
- package/dist/src/jobs/leaf-etl/load.d.ts +13 -0
- package/dist/src/jobs/leaf-etl/load.js.map +1 -0
- package/dist/src/jobs/leaf-etl/types.d.ts +11 -0
- package/dist/src/jobs/leaf-etl/types.js.map +1 -0
- package/dist/src/jobs/pendings-etl/load.js.map +1 -1
- package/dist/src/jobs/refresh-materialized-views.d.ts +1 -0
- package/dist/src/jobs/refresh-materialized-views.js.map +1 -0
- package/dist/src/jobs/reward-breakdowns-etl/index.js.map +1 -1
- package/dist/src/jobs/reward-breakdowns-etl/load.js.map +1 -1
- package/dist/src/jobs/rewards-etl/index.js.map +1 -1
- package/dist/src/jobs/rewards-etl/load-rewards.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +64 -5
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +10 -2
- package/dist/src/modules/v4/campaign/campaign.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +49 -12
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +36 -48
- package/dist/src/modules/v4/carousel/carousel.controller.d.ts +84 -50
- package/dist/src/modules/v4/carousel/carousel.repository.d.ts +64 -68
- package/dist/src/modules/v4/carousel/carousel.repository.js.map +1 -1
- package/dist/src/modules/v4/carousel/carousel.service.d.ts +86 -70
- package/dist/src/modules/v4/config/config.controller.d.ts +9 -12
- package/dist/src/modules/v4/config/config.service.d.ts +9 -12
- package/dist/src/modules/v4/creator/creator.controller.d.ts +8 -1
- package/dist/src/modules/v4/leaf/leaf.repository.d.ts +18 -22
- package/dist/src/modules/v4/leaf/leaf.repository.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.service.d.ts +18 -22
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.d.ts +20 -0
- package/dist/src/modules/v4/opportunity/depositUrl.formatter.js.map +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +88 -31
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +25 -1
- package/dist/src/modules/v4/opportunity/opportunity.formatter.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +69 -5
- package/dist/src/modules/v4/opportunity/opportunity.model.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +57 -57
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +54 -67
- package/dist/src/modules/v4/opportunity/opportunity.repository.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +93 -60
- package/dist/src/modules/v4/opportunity/opportunity.service.js.map +1 -1
- package/dist/src/modules/v4/payload/payload.controller.d.ts +27 -36
- package/dist/src/modules/v4/payload/payload.service.d.ts +36 -48
- package/dist/src/modules/v4/program/program.controller.d.ts +32 -4
- package/dist/src/modules/v4/program/program.repository.d.ts +41 -45
- package/dist/src/modules/v4/program/program.repository.js.map +1 -1
- package/dist/src/modules/v4/program/program.service.d.ts +32 -4
- package/dist/src/modules/v4/protocol/protocol.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +39 -22
- package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +128 -122
- package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +390 -212
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +226 -156
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +16 -2
- package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +8 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +26 -23
- package/dist/src/scripts/exportOpportunities.js.map +1 -1
- package/dist/src/scripts/importOpportunities.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +38 -3
- package/dist/src/utils/parseDistributionType.d.ts +1087 -1052
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/jobs/basculate-past-pendings/index.js.map +0 -1
- package/dist/src/jobs/pendings-etl/load-leaf.d.ts +0 -6
- package/dist/src/jobs/pendings-etl/load-leaf.js.map +0 -1
- package/dist/src/jobs/pendings-watcher/index.d.ts +0 -47
- package/dist/src/jobs/pendings-watcher/index.js.map +0 -1
- package/dist/src/jobs/pendings-watcher/types.d.ts +0 -52
- package/dist/src/jobs/pendings-watcher/types.js.map +0 -1
- package/dist/src/jobs/refresh-count-views.js.map +0 -1
- package/dist/src/jobs/reward-breakdowns-etl/load-leaf.d.ts +0 -8
- package/dist/src/jobs/reward-breakdowns-etl/load-leaf.js.map +0 -1
- package/dist/src/jobs/rewards-etl/load-leaf.d.ts +0 -5
- package/dist/src/jobs/rewards-etl/load-leaf.js.map +0 -1
- package/dist/src/jobs/test-partitions.d.ts +0 -11
- package/dist/src/jobs/test-partitions.js.map +0 -1
- /package/dist/src/jobs/{refresh-count-views.d.ts → auto-claim/index.d.ts} +0 -0
- /package/dist/src/jobs/{basculate-past-pendings → leaf-breakdown-etl}/index.d.ts +0 -0
|
@@ -376,6 +376,14 @@ export declare abstract class CampaignService {
|
|
|
376
376
|
name: string;
|
|
377
377
|
slug: string | null;
|
|
378
378
|
}[];
|
|
379
|
+
depositUrls: {
|
|
380
|
+
id: string;
|
|
381
|
+
title: string;
|
|
382
|
+
url: string;
|
|
383
|
+
subtitle?: string | undefined;
|
|
384
|
+
icon?: string | undefined;
|
|
385
|
+
priority: number;
|
|
386
|
+
}[] | undefined;
|
|
379
387
|
id: string;
|
|
380
388
|
hidden: true | undefined;
|
|
381
389
|
nativeApr: number | undefined;
|
|
@@ -471,6 +479,14 @@ export declare abstract class CampaignService {
|
|
|
471
479
|
name: string;
|
|
472
480
|
slug: string | null;
|
|
473
481
|
}[];
|
|
482
|
+
depositUrls: {
|
|
483
|
+
id: string;
|
|
484
|
+
title: string;
|
|
485
|
+
url: string;
|
|
486
|
+
subtitle?: string | undefined;
|
|
487
|
+
icon?: string | undefined;
|
|
488
|
+
priority: number;
|
|
489
|
+
}[] | undefined;
|
|
474
490
|
id: string;
|
|
475
491
|
hidden: true | undefined;
|
|
476
492
|
nativeApr: number | undefined;
|
|
@@ -595,6 +611,14 @@ export declare abstract class CampaignService {
|
|
|
595
611
|
name: string;
|
|
596
612
|
slug: string | null;
|
|
597
613
|
}[];
|
|
614
|
+
depositUrls: {
|
|
615
|
+
id: string;
|
|
616
|
+
title: string;
|
|
617
|
+
url: string;
|
|
618
|
+
subtitle?: string | undefined;
|
|
619
|
+
icon?: string | undefined;
|
|
620
|
+
priority: number;
|
|
621
|
+
}[] | undefined;
|
|
598
622
|
id: string;
|
|
599
623
|
hidden: true | undefined;
|
|
600
624
|
nativeApr: number | undefined;
|
|
@@ -713,6 +737,14 @@ export declare abstract class CampaignService {
|
|
|
713
737
|
name: string;
|
|
714
738
|
slug: string | null;
|
|
715
739
|
}[];
|
|
740
|
+
depositUrls: {
|
|
741
|
+
id: string;
|
|
742
|
+
title: string;
|
|
743
|
+
url: string;
|
|
744
|
+
subtitle?: string | undefined;
|
|
745
|
+
icon?: string | undefined;
|
|
746
|
+
priority: number;
|
|
747
|
+
}[] | undefined;
|
|
716
748
|
id: string;
|
|
717
749
|
hidden: true | undefined;
|
|
718
750
|
nativeApr: number | undefined;
|
|
@@ -799,6 +831,14 @@ export declare abstract class CampaignService {
|
|
|
799
831
|
name: string;
|
|
800
832
|
slug: string | null;
|
|
801
833
|
}[];
|
|
834
|
+
depositUrls: {
|
|
835
|
+
id: string;
|
|
836
|
+
title: string;
|
|
837
|
+
url: string;
|
|
838
|
+
subtitle?: string | undefined;
|
|
839
|
+
icon?: string | undefined;
|
|
840
|
+
priority: number;
|
|
841
|
+
}[] | undefined;
|
|
802
842
|
id: string;
|
|
803
843
|
hidden: true | undefined;
|
|
804
844
|
nativeApr: number | undefined;
|
|
@@ -931,7 +971,6 @@ export declare abstract class CampaignService {
|
|
|
931
971
|
address: string;
|
|
932
972
|
chainId: number;
|
|
933
973
|
}[];
|
|
934
|
-
protocols?: string[] | undefined;
|
|
935
974
|
mainProtocol?: string | undefined;
|
|
936
975
|
depositUrl?: string | undefined;
|
|
937
976
|
explorerAddress?: string | undefined;
|
|
@@ -1042,6 +1081,15 @@ export declare abstract class CampaignService {
|
|
|
1042
1081
|
total: number;
|
|
1043
1082
|
opportunityId: string;
|
|
1044
1083
|
})[];
|
|
1084
|
+
DepositUrls: {
|
|
1085
|
+
id: string;
|
|
1086
|
+
title: string;
|
|
1087
|
+
url: string;
|
|
1088
|
+
subtitle: string | null;
|
|
1089
|
+
icon: string | null;
|
|
1090
|
+
priority: number;
|
|
1091
|
+
opportunityId: string;
|
|
1092
|
+
}[];
|
|
1045
1093
|
MainProtocol: {
|
|
1046
1094
|
id: string;
|
|
1047
1095
|
tags: string[];
|
|
@@ -1082,17 +1130,6 @@ export declare abstract class CampaignService {
|
|
|
1082
1130
|
rewardTokenId: string | null;
|
|
1083
1131
|
opportunityId: string;
|
|
1084
1132
|
})[];
|
|
1085
|
-
Protocols: {
|
|
1086
|
-
id: string;
|
|
1087
|
-
tags: string[];
|
|
1088
|
-
name: string;
|
|
1089
|
-
description: string;
|
|
1090
|
-
url: string;
|
|
1091
|
-
icon: string;
|
|
1092
|
-
banner: string | null;
|
|
1093
|
-
opportunityBannerLight: string | null;
|
|
1094
|
-
opportunityBannerDark: string | null;
|
|
1095
|
-
}[];
|
|
1096
1133
|
Tokens: {
|
|
1097
1134
|
id: string;
|
|
1098
1135
|
name: string | null;
|
|
@@ -40,7 +40,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
40
40
|
address: string;
|
|
41
41
|
chainId: number;
|
|
42
42
|
}[];
|
|
43
|
-
protocols?: string[] | undefined;
|
|
44
43
|
mainProtocol?: string | undefined;
|
|
45
44
|
depositUrl?: string | undefined;
|
|
46
45
|
explorerAddress?: string | undefined;
|
|
@@ -151,6 +150,15 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
151
150
|
total: number;
|
|
152
151
|
opportunityId: string;
|
|
153
152
|
})[];
|
|
153
|
+
DepositUrls: {
|
|
154
|
+
id: string;
|
|
155
|
+
title: string;
|
|
156
|
+
url: string;
|
|
157
|
+
subtitle: string | null;
|
|
158
|
+
icon: string | null;
|
|
159
|
+
priority: number;
|
|
160
|
+
opportunityId: string;
|
|
161
|
+
}[];
|
|
154
162
|
MainProtocol: {
|
|
155
163
|
id: string;
|
|
156
164
|
tags: string[];
|
|
@@ -191,17 +199,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
191
199
|
rewardTokenId: string | null;
|
|
192
200
|
opportunityId: string;
|
|
193
201
|
})[];
|
|
194
|
-
Protocols: {
|
|
195
|
-
id: string;
|
|
196
|
-
tags: string[];
|
|
197
|
-
name: string;
|
|
198
|
-
description: string;
|
|
199
|
-
url: string;
|
|
200
|
-
icon: string;
|
|
201
|
-
banner: string | null;
|
|
202
|
-
opportunityBannerLight: string | null;
|
|
203
|
-
opportunityBannerDark: string | null;
|
|
204
|
-
}[];
|
|
205
202
|
Tokens: {
|
|
206
203
|
id: string;
|
|
207
204
|
name: string | null;
|
|
@@ -905,7 +902,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
905
902
|
address: string;
|
|
906
903
|
chainId: number;
|
|
907
904
|
}[];
|
|
908
|
-
protocols?: string[] | undefined;
|
|
909
905
|
mainProtocol?: string | undefined;
|
|
910
906
|
depositUrl?: string | undefined;
|
|
911
907
|
explorerAddress?: string | undefined;
|
|
@@ -1016,6 +1012,15 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1016
1012
|
total: number;
|
|
1017
1013
|
opportunityId: string;
|
|
1018
1014
|
})[];
|
|
1015
|
+
DepositUrls: {
|
|
1016
|
+
id: string;
|
|
1017
|
+
title: string;
|
|
1018
|
+
url: string;
|
|
1019
|
+
subtitle: string | null;
|
|
1020
|
+
icon: string | null;
|
|
1021
|
+
priority: number;
|
|
1022
|
+
opportunityId: string;
|
|
1023
|
+
}[];
|
|
1019
1024
|
MainProtocol: {
|
|
1020
1025
|
id: string;
|
|
1021
1026
|
tags: string[];
|
|
@@ -1056,17 +1061,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1056
1061
|
rewardTokenId: string | null;
|
|
1057
1062
|
opportunityId: string;
|
|
1058
1063
|
})[];
|
|
1059
|
-
Protocols: {
|
|
1060
|
-
id: string;
|
|
1061
|
-
tags: string[];
|
|
1062
|
-
name: string;
|
|
1063
|
-
description: string;
|
|
1064
|
-
url: string;
|
|
1065
|
-
icon: string;
|
|
1066
|
-
banner: string | null;
|
|
1067
|
-
opportunityBannerLight: string | null;
|
|
1068
|
-
opportunityBannerDark: string | null;
|
|
1069
|
-
}[];
|
|
1070
1064
|
Tokens: {
|
|
1071
1065
|
id: string;
|
|
1072
1066
|
name: string | null;
|
|
@@ -1169,7 +1163,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1169
1163
|
address: string;
|
|
1170
1164
|
chainId: number;
|
|
1171
1165
|
}[];
|
|
1172
|
-
protocols?: string[] | undefined;
|
|
1173
1166
|
mainProtocol?: string | undefined;
|
|
1174
1167
|
depositUrl?: string | undefined;
|
|
1175
1168
|
explorerAddress?: string | undefined;
|
|
@@ -1280,6 +1273,15 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1280
1273
|
total: number;
|
|
1281
1274
|
opportunityId: string;
|
|
1282
1275
|
})[];
|
|
1276
|
+
DepositUrls: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
title: string;
|
|
1279
|
+
url: string;
|
|
1280
|
+
subtitle: string | null;
|
|
1281
|
+
icon: string | null;
|
|
1282
|
+
priority: number;
|
|
1283
|
+
opportunityId: string;
|
|
1284
|
+
}[];
|
|
1283
1285
|
MainProtocol: {
|
|
1284
1286
|
id: string;
|
|
1285
1287
|
tags: string[];
|
|
@@ -1320,17 +1322,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1320
1322
|
rewardTokenId: string | null;
|
|
1321
1323
|
opportunityId: string;
|
|
1322
1324
|
})[];
|
|
1323
|
-
Protocols: {
|
|
1324
|
-
id: string;
|
|
1325
|
-
tags: string[];
|
|
1326
|
-
name: string;
|
|
1327
|
-
description: string;
|
|
1328
|
-
url: string;
|
|
1329
|
-
icon: string;
|
|
1330
|
-
banner: string | null;
|
|
1331
|
-
opportunityBannerLight: string | null;
|
|
1332
|
-
opportunityBannerDark: string | null;
|
|
1333
|
-
}[];
|
|
1334
1325
|
Tokens: {
|
|
1335
1326
|
id: string;
|
|
1336
1327
|
name: string | null;
|
|
@@ -1432,7 +1423,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1432
1423
|
address: string;
|
|
1433
1424
|
chainId: number;
|
|
1434
1425
|
}[];
|
|
1435
|
-
protocols?: string[] | undefined;
|
|
1436
1426
|
mainProtocol?: string | undefined;
|
|
1437
1427
|
depositUrl?: string | undefined;
|
|
1438
1428
|
explorerAddress?: string | undefined;
|
|
@@ -1543,6 +1533,15 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1543
1533
|
total: number;
|
|
1544
1534
|
opportunityId: string;
|
|
1545
1535
|
})[];
|
|
1536
|
+
DepositUrls: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
title: string;
|
|
1539
|
+
url: string;
|
|
1540
|
+
subtitle: string | null;
|
|
1541
|
+
icon: string | null;
|
|
1542
|
+
priority: number;
|
|
1543
|
+
opportunityId: string;
|
|
1544
|
+
}[];
|
|
1546
1545
|
MainProtocol: {
|
|
1547
1546
|
id: string;
|
|
1548
1547
|
tags: string[];
|
|
@@ -1583,17 +1582,6 @@ export declare const CampaignTestController: Elysia<"/campaigns", {
|
|
|
1583
1582
|
rewardTokenId: string | null;
|
|
1584
1583
|
opportunityId: string;
|
|
1585
1584
|
})[];
|
|
1586
|
-
Protocols: {
|
|
1587
|
-
id: string;
|
|
1588
|
-
tags: string[];
|
|
1589
|
-
name: string;
|
|
1590
|
-
description: string;
|
|
1591
|
-
url: string;
|
|
1592
|
-
icon: string;
|
|
1593
|
-
banner: string | null;
|
|
1594
|
-
opportunityBannerLight: string | null;
|
|
1595
|
-
opportunityBannerDark: string | null;
|
|
1596
|
-
}[];
|
|
1597
1585
|
Tokens: {
|
|
1598
1586
|
id: string;
|
|
1599
1587
|
name: string | null;
|
|
@@ -46,9 +46,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
46
46
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
47
47
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
48
48
|
tags: string[];
|
|
49
|
-
protocols?: string[] | undefined;
|
|
50
49
|
mainProtocol?: string | undefined;
|
|
51
50
|
depositUrl?: string | undefined;
|
|
51
|
+
depositUrls?: {
|
|
52
|
+
id: string;
|
|
53
|
+
title: string;
|
|
54
|
+
url: string;
|
|
55
|
+
subtitle?: string | undefined;
|
|
56
|
+
icon?: string | undefined;
|
|
57
|
+
priority: number;
|
|
58
|
+
}[] | undefined;
|
|
52
59
|
explorerAddress?: string | undefined;
|
|
53
60
|
hidden?: boolean | undefined;
|
|
54
61
|
tvl: number;
|
|
@@ -215,9 +222,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
215
222
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
216
223
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
217
224
|
tags: string[];
|
|
218
|
-
protocols?: string[] | undefined;
|
|
219
225
|
mainProtocol?: string | undefined;
|
|
220
226
|
depositUrl?: string | undefined;
|
|
227
|
+
depositUrls?: {
|
|
228
|
+
id: string;
|
|
229
|
+
title: string;
|
|
230
|
+
url: string;
|
|
231
|
+
subtitle?: string | undefined;
|
|
232
|
+
icon?: string | undefined;
|
|
233
|
+
priority: number;
|
|
234
|
+
}[] | undefined;
|
|
221
235
|
explorerAddress?: string | undefined;
|
|
222
236
|
hidden?: boolean | undefined;
|
|
223
237
|
tvl: number;
|
|
@@ -441,9 +455,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
441
455
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
442
456
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
443
457
|
tags: string[];
|
|
444
|
-
protocols?: string[] | undefined;
|
|
445
458
|
mainProtocol?: string | undefined;
|
|
446
459
|
depositUrl?: string | undefined;
|
|
460
|
+
depositUrls?: {
|
|
461
|
+
id: string;
|
|
462
|
+
title: string;
|
|
463
|
+
url: string;
|
|
464
|
+
subtitle?: string | undefined;
|
|
465
|
+
icon?: string | undefined;
|
|
466
|
+
priority: number;
|
|
467
|
+
}[] | undefined;
|
|
447
468
|
explorerAddress?: string | undefined;
|
|
448
469
|
hidden?: boolean | undefined;
|
|
449
470
|
tvl: number;
|
|
@@ -610,9 +631,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
610
631
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
611
632
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
612
633
|
tags: string[];
|
|
613
|
-
protocols?: string[] | undefined;
|
|
614
634
|
mainProtocol?: string | undefined;
|
|
615
635
|
depositUrl?: string | undefined;
|
|
636
|
+
depositUrls?: {
|
|
637
|
+
id: string;
|
|
638
|
+
title: string;
|
|
639
|
+
url: string;
|
|
640
|
+
subtitle?: string | undefined;
|
|
641
|
+
icon?: string | undefined;
|
|
642
|
+
priority: number;
|
|
643
|
+
}[] | undefined;
|
|
616
644
|
explorerAddress?: string | undefined;
|
|
617
645
|
hidden?: boolean | undefined;
|
|
618
646
|
tvl: number;
|
|
@@ -850,18 +878,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
850
878
|
endOfDisputePeriod: number;
|
|
851
879
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
852
880
|
};
|
|
853
|
-
|
|
881
|
+
DepositUrls: {
|
|
854
882
|
id: string;
|
|
855
|
-
|
|
856
|
-
name: string;
|
|
857
|
-
description: string;
|
|
883
|
+
title: string;
|
|
858
884
|
url: string;
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
}
|
|
864
|
-
|
|
885
|
+
subtitle: string | null;
|
|
886
|
+
icon: string | null;
|
|
887
|
+
priority: number;
|
|
888
|
+
opportunityId: string;
|
|
889
|
+
}[];
|
|
890
|
+
MainProtocol: {
|
|
865
891
|
id: string;
|
|
866
892
|
tags: string[];
|
|
867
893
|
name: string;
|
|
@@ -871,7 +897,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
871
897
|
banner: string | null;
|
|
872
898
|
opportunityBannerLight: string | null;
|
|
873
899
|
opportunityBannerDark: string | null;
|
|
874
|
-
}
|
|
900
|
+
} | null;
|
|
875
901
|
Tokens: {
|
|
876
902
|
id: string;
|
|
877
903
|
name: string | null;
|
|
@@ -935,18 +961,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
935
961
|
endOfDisputePeriod: number;
|
|
936
962
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
937
963
|
};
|
|
938
|
-
|
|
964
|
+
DepositUrls: {
|
|
939
965
|
id: string;
|
|
940
|
-
|
|
941
|
-
name: string;
|
|
942
|
-
description: string;
|
|
966
|
+
title: string;
|
|
943
967
|
url: string;
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
}
|
|
949
|
-
|
|
968
|
+
subtitle: string | null;
|
|
969
|
+
icon: string | null;
|
|
970
|
+
priority: number;
|
|
971
|
+
opportunityId: string;
|
|
972
|
+
}[];
|
|
973
|
+
MainProtocol: {
|
|
950
974
|
id: string;
|
|
951
975
|
tags: string[];
|
|
952
976
|
name: string;
|
|
@@ -956,7 +980,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
956
980
|
banner: string | null;
|
|
957
981
|
opportunityBannerLight: string | null;
|
|
958
982
|
opportunityBannerDark: string | null;
|
|
959
|
-
}
|
|
983
|
+
} | null;
|
|
960
984
|
Tokens: {
|
|
961
985
|
id: string;
|
|
962
986
|
name: string | null;
|
|
@@ -1107,9 +1131,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1107
1131
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
1108
1132
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
1109
1133
|
tags: string[];
|
|
1110
|
-
protocols?: string[] | undefined;
|
|
1111
1134
|
mainProtocol?: string | undefined;
|
|
1112
1135
|
depositUrl?: string | undefined;
|
|
1136
|
+
depositUrls?: {
|
|
1137
|
+
id: string;
|
|
1138
|
+
title: string;
|
|
1139
|
+
url: string;
|
|
1140
|
+
subtitle?: string | undefined;
|
|
1141
|
+
icon?: string | undefined;
|
|
1142
|
+
priority: number;
|
|
1143
|
+
}[] | undefined;
|
|
1113
1144
|
explorerAddress?: string | undefined;
|
|
1114
1145
|
hidden?: boolean | undefined;
|
|
1115
1146
|
tvl: number;
|
|
@@ -1276,9 +1307,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1276
1307
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
1277
1308
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
1278
1309
|
tags: string[];
|
|
1279
|
-
protocols?: string[] | undefined;
|
|
1280
1310
|
mainProtocol?: string | undefined;
|
|
1281
1311
|
depositUrl?: string | undefined;
|
|
1312
|
+
depositUrls?: {
|
|
1313
|
+
id: string;
|
|
1314
|
+
title: string;
|
|
1315
|
+
url: string;
|
|
1316
|
+
subtitle?: string | undefined;
|
|
1317
|
+
icon?: string | undefined;
|
|
1318
|
+
priority: number;
|
|
1319
|
+
}[] | undefined;
|
|
1282
1320
|
explorerAddress?: string | undefined;
|
|
1283
1321
|
hidden?: boolean | undefined;
|
|
1284
1322
|
tvl: number;
|
|
@@ -1539,18 +1577,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1539
1577
|
endOfDisputePeriod: number;
|
|
1540
1578
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1541
1579
|
};
|
|
1542
|
-
|
|
1580
|
+
DepositUrls: {
|
|
1543
1581
|
id: string;
|
|
1544
|
-
|
|
1545
|
-
name: string;
|
|
1546
|
-
description: string;
|
|
1582
|
+
title: string;
|
|
1547
1583
|
url: string;
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1584
|
+
subtitle: string | null;
|
|
1585
|
+
icon: string | null;
|
|
1586
|
+
priority: number;
|
|
1587
|
+
opportunityId: string;
|
|
1588
|
+
}[];
|
|
1589
|
+
MainProtocol: {
|
|
1554
1590
|
id: string;
|
|
1555
1591
|
tags: string[];
|
|
1556
1592
|
name: string;
|
|
@@ -1560,7 +1596,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1560
1596
|
banner: string | null;
|
|
1561
1597
|
opportunityBannerLight: string | null;
|
|
1562
1598
|
opportunityBannerDark: string | null;
|
|
1563
|
-
}
|
|
1599
|
+
} | null;
|
|
1564
1600
|
Tokens: {
|
|
1565
1601
|
id: string;
|
|
1566
1602
|
name: string | null;
|
|
@@ -1624,18 +1660,16 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1624
1660
|
endOfDisputePeriod: number;
|
|
1625
1661
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1626
1662
|
};
|
|
1627
|
-
|
|
1663
|
+
DepositUrls: {
|
|
1628
1664
|
id: string;
|
|
1629
|
-
|
|
1630
|
-
name: string;
|
|
1631
|
-
description: string;
|
|
1665
|
+
title: string;
|
|
1632
1666
|
url: string;
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1667
|
+
subtitle: string | null;
|
|
1668
|
+
icon: string | null;
|
|
1669
|
+
priority: number;
|
|
1670
|
+
opportunityId: string;
|
|
1671
|
+
}[];
|
|
1672
|
+
MainProtocol: {
|
|
1639
1673
|
id: string;
|
|
1640
1674
|
tags: string[];
|
|
1641
1675
|
name: string;
|
|
@@ -1645,7 +1679,7 @@ export declare const CarouselController: Elysia<"/carousels", {
|
|
|
1645
1679
|
banner: string | null;
|
|
1646
1680
|
opportunityBannerLight: string | null;
|
|
1647
1681
|
opportunityBannerDark: string | null;
|
|
1648
|
-
}
|
|
1682
|
+
} | null;
|
|
1649
1683
|
Tokens: {
|
|
1650
1684
|
id: string;
|
|
1651
1685
|
name: string | null;
|