@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
|
@@ -8,9 +8,13 @@ export declare abstract class CarouselRepository {
|
|
|
8
8
|
include: {
|
|
9
9
|
MainProtocol: boolean;
|
|
10
10
|
Chain: boolean;
|
|
11
|
-
Protocols: boolean;
|
|
12
11
|
Tokens: boolean;
|
|
13
12
|
ActivePrograms: boolean;
|
|
13
|
+
DepositUrls: {
|
|
14
|
+
orderBy: {
|
|
15
|
+
priority: "asc";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
14
18
|
};
|
|
15
19
|
};
|
|
16
20
|
};
|
|
@@ -25,9 +29,13 @@ export declare abstract class CarouselRepository {
|
|
|
25
29
|
include: {
|
|
26
30
|
Tokens: boolean;
|
|
27
31
|
Chain: boolean;
|
|
28
|
-
Protocols: boolean;
|
|
29
32
|
MainProtocol: boolean;
|
|
30
33
|
ActivePrograms: boolean;
|
|
34
|
+
DepositUrls: {
|
|
35
|
+
orderBy: {
|
|
36
|
+
priority: "asc";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
31
39
|
};
|
|
32
40
|
};
|
|
33
41
|
};
|
|
@@ -63,18 +71,16 @@ export declare abstract class CarouselRepository {
|
|
|
63
71
|
endOfDisputePeriod: number;
|
|
64
72
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
65
73
|
};
|
|
66
|
-
|
|
74
|
+
DepositUrls: {
|
|
67
75
|
id: string;
|
|
68
|
-
|
|
69
|
-
name: string;
|
|
70
|
-
description: string;
|
|
76
|
+
title: string;
|
|
71
77
|
url: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
+
subtitle: string | null;
|
|
79
|
+
icon: string | null;
|
|
80
|
+
priority: number;
|
|
81
|
+
opportunityId: string;
|
|
82
|
+
}[];
|
|
83
|
+
MainProtocol: {
|
|
78
84
|
id: string;
|
|
79
85
|
tags: string[];
|
|
80
86
|
name: string;
|
|
@@ -84,7 +90,7 @@ export declare abstract class CarouselRepository {
|
|
|
84
90
|
banner: string | null;
|
|
85
91
|
opportunityBannerLight: string | null;
|
|
86
92
|
opportunityBannerDark: string | null;
|
|
87
|
-
}
|
|
93
|
+
} | null;
|
|
88
94
|
Tokens: {
|
|
89
95
|
id: string;
|
|
90
96
|
name: string | null;
|
|
@@ -148,18 +154,16 @@ export declare abstract class CarouselRepository {
|
|
|
148
154
|
endOfDisputePeriod: number;
|
|
149
155
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
150
156
|
};
|
|
151
|
-
|
|
157
|
+
DepositUrls: {
|
|
152
158
|
id: string;
|
|
153
|
-
|
|
154
|
-
name: string;
|
|
155
|
-
description: string;
|
|
159
|
+
title: string;
|
|
156
160
|
url: string;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
161
|
+
subtitle: string | null;
|
|
162
|
+
icon: string | null;
|
|
163
|
+
priority: number;
|
|
164
|
+
opportunityId: string;
|
|
165
|
+
}[];
|
|
166
|
+
MainProtocol: {
|
|
163
167
|
id: string;
|
|
164
168
|
tags: string[];
|
|
165
169
|
name: string;
|
|
@@ -169,7 +173,7 @@ export declare abstract class CarouselRepository {
|
|
|
169
173
|
banner: string | null;
|
|
170
174
|
opportunityBannerLight: string | null;
|
|
171
175
|
opportunityBannerDark: string | null;
|
|
172
|
-
}
|
|
176
|
+
} | null;
|
|
173
177
|
Tokens: {
|
|
174
178
|
id: string;
|
|
175
179
|
name: string | null;
|
|
@@ -284,18 +288,16 @@ export declare abstract class CarouselRepository {
|
|
|
284
288
|
endOfDisputePeriod: number;
|
|
285
289
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
286
290
|
};
|
|
287
|
-
|
|
291
|
+
DepositUrls: {
|
|
288
292
|
id: string;
|
|
289
|
-
|
|
290
|
-
name: string;
|
|
291
|
-
description: string;
|
|
293
|
+
title: string;
|
|
292
294
|
url: string;
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
|
|
295
|
+
subtitle: string | null;
|
|
296
|
+
icon: string | null;
|
|
297
|
+
priority: number;
|
|
298
|
+
opportunityId: string;
|
|
299
|
+
}[];
|
|
300
|
+
MainProtocol: {
|
|
299
301
|
id: string;
|
|
300
302
|
tags: string[];
|
|
301
303
|
name: string;
|
|
@@ -305,7 +307,7 @@ export declare abstract class CarouselRepository {
|
|
|
305
307
|
banner: string | null;
|
|
306
308
|
opportunityBannerLight: string | null;
|
|
307
309
|
opportunityBannerDark: string | null;
|
|
308
|
-
}
|
|
310
|
+
} | null;
|
|
309
311
|
Tokens: {
|
|
310
312
|
id: string;
|
|
311
313
|
name: string | null;
|
|
@@ -369,18 +371,16 @@ export declare abstract class CarouselRepository {
|
|
|
369
371
|
endOfDisputePeriod: number;
|
|
370
372
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
371
373
|
};
|
|
372
|
-
|
|
374
|
+
DepositUrls: {
|
|
373
375
|
id: string;
|
|
374
|
-
|
|
375
|
-
name: string;
|
|
376
|
-
description: string;
|
|
376
|
+
title: string;
|
|
377
377
|
url: string;
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}
|
|
383
|
-
|
|
378
|
+
subtitle: string | null;
|
|
379
|
+
icon: string | null;
|
|
380
|
+
priority: number;
|
|
381
|
+
opportunityId: string;
|
|
382
|
+
}[];
|
|
383
|
+
MainProtocol: {
|
|
384
384
|
id: string;
|
|
385
385
|
tags: string[];
|
|
386
386
|
name: string;
|
|
@@ -390,7 +390,7 @@ export declare abstract class CarouselRepository {
|
|
|
390
390
|
banner: string | null;
|
|
391
391
|
opportunityBannerLight: string | null;
|
|
392
392
|
opportunityBannerDark: string | null;
|
|
393
|
-
}
|
|
393
|
+
} | null;
|
|
394
394
|
Tokens: {
|
|
395
395
|
id: string;
|
|
396
396
|
name: string | null;
|
|
@@ -505,18 +505,16 @@ export declare abstract class CarouselRepository {
|
|
|
505
505
|
endOfDisputePeriod: number;
|
|
506
506
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
507
507
|
};
|
|
508
|
-
|
|
508
|
+
DepositUrls: {
|
|
509
509
|
id: string;
|
|
510
|
-
|
|
511
|
-
name: string;
|
|
512
|
-
description: string;
|
|
510
|
+
title: string;
|
|
513
511
|
url: string;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
}
|
|
519
|
-
|
|
512
|
+
subtitle: string | null;
|
|
513
|
+
icon: string | null;
|
|
514
|
+
priority: number;
|
|
515
|
+
opportunityId: string;
|
|
516
|
+
}[];
|
|
517
|
+
MainProtocol: {
|
|
520
518
|
id: string;
|
|
521
519
|
tags: string[];
|
|
522
520
|
name: string;
|
|
@@ -526,7 +524,7 @@ export declare abstract class CarouselRepository {
|
|
|
526
524
|
banner: string | null;
|
|
527
525
|
opportunityBannerLight: string | null;
|
|
528
526
|
opportunityBannerDark: string | null;
|
|
529
|
-
}
|
|
527
|
+
} | null;
|
|
530
528
|
Tokens: {
|
|
531
529
|
id: string;
|
|
532
530
|
name: string | null;
|
|
@@ -590,18 +588,16 @@ export declare abstract class CarouselRepository {
|
|
|
590
588
|
endOfDisputePeriod: number;
|
|
591
589
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
592
590
|
};
|
|
593
|
-
|
|
591
|
+
DepositUrls: {
|
|
594
592
|
id: string;
|
|
595
|
-
|
|
596
|
-
name: string;
|
|
597
|
-
description: string;
|
|
593
|
+
title: string;
|
|
598
594
|
url: string;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
}
|
|
604
|
-
|
|
595
|
+
subtitle: string | null;
|
|
596
|
+
icon: string | null;
|
|
597
|
+
priority: number;
|
|
598
|
+
opportunityId: string;
|
|
599
|
+
}[];
|
|
600
|
+
MainProtocol: {
|
|
605
601
|
id: string;
|
|
606
602
|
tags: string[];
|
|
607
603
|
name: string;
|
|
@@ -611,7 +607,7 @@ export declare abstract class CarouselRepository {
|
|
|
611
607
|
banner: string | null;
|
|
612
608
|
opportunityBannerLight: string | null;
|
|
613
609
|
opportunityBannerDark: string | null;
|
|
614
|
-
}
|
|
610
|
+
} | null;
|
|
615
611
|
Tokens: {
|
|
616
612
|
id: string;
|
|
617
613
|
name: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE,MAAM,OAAgB,kBAAkB;IACtC,MAAM,CAAC,kBAAkB,GAAG;QAC1B,OAAO;YACL,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,WAAW,EAAE;wBACX,OAAO,EAAE;4BACP,YAAY,EAAE,IAAI;4BAClB,KAAK,EAAE,IAAI;4BACX,
|
|
1
|
+
{"version":3,"file":"carousel.repository.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/carousel/carousel.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,uBAAuB,EAAE,M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amp: string | null;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
DepositUrls: {
|
|
38
38
|
id: string;
|
|
39
|
-
|
|
40
|
-
name: string;
|
|
41
|
-
description: string;
|
|
39
|
+
title: string;
|
|
42
40
|
url: string;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
41
|
+
subtitle: string | null;
|
|
42
|
+
icon: string | null;
|
|
43
|
+
priority: number;
|
|
44
|
+
opportunityId: string;
|
|
45
|
+
}[];
|
|
46
|
+
MainProtocol: {
|
|
49
47
|
id: string;
|
|
50
48
|
tags: string[];
|
|
51
49
|
name: string;
|
|
@@ -55,7 +53,7 @@ export declare abstract class CarouselService {
|
|
|
55
53
|
banner: string | null;
|
|
56
54
|
opportunityBannerLight: string | null;
|
|
57
55
|
opportunityBannerDark: string | null;
|
|
58
|
-
}
|
|
56
|
+
} | null;
|
|
59
57
|
Tokens: {
|
|
60
58
|
id: string;
|
|
61
59
|
name: string | null;
|
|
@@ -119,18 +117,16 @@ export declare abstract class CarouselService {
|
|
|
119
117
|
endOfDisputePeriod: number;
|
|
120
118
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
121
119
|
};
|
|
122
|
-
|
|
120
|
+
DepositUrls: {
|
|
123
121
|
id: string;
|
|
124
|
-
|
|
125
|
-
name: string;
|
|
126
|
-
description: string;
|
|
122
|
+
title: string;
|
|
127
123
|
url: string;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
124
|
+
subtitle: string | null;
|
|
125
|
+
icon: string | null;
|
|
126
|
+
priority: number;
|
|
127
|
+
opportunityId: string;
|
|
128
|
+
}[];
|
|
129
|
+
MainProtocol: {
|
|
134
130
|
id: string;
|
|
135
131
|
tags: string[];
|
|
136
132
|
name: string;
|
|
@@ -140,7 +136,7 @@ export declare abstract class CarouselService {
|
|
|
140
136
|
banner: string | null;
|
|
141
137
|
opportunityBannerLight: string | null;
|
|
142
138
|
opportunityBannerDark: string | null;
|
|
143
|
-
}
|
|
139
|
+
} | null;
|
|
144
140
|
Tokens: {
|
|
145
141
|
id: string;
|
|
146
142
|
name: string | null;
|
|
@@ -243,9 +239,16 @@ export declare abstract class CarouselService {
|
|
|
243
239
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
244
240
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
245
241
|
tags: string[];
|
|
246
|
-
protocols?: string[] | undefined;
|
|
247
242
|
mainProtocol?: string | undefined;
|
|
248
243
|
depositUrl?: string | undefined;
|
|
244
|
+
depositUrls?: {
|
|
245
|
+
id: string;
|
|
246
|
+
title: string;
|
|
247
|
+
url: string;
|
|
248
|
+
subtitle?: string | undefined;
|
|
249
|
+
icon?: string | undefined;
|
|
250
|
+
priority: number;
|
|
251
|
+
}[] | undefined;
|
|
249
252
|
explorerAddress?: string | undefined;
|
|
250
253
|
hidden?: boolean | undefined;
|
|
251
254
|
tvl: number;
|
|
@@ -412,9 +415,16 @@ export declare abstract class CarouselService {
|
|
|
412
415
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
413
416
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
414
417
|
tags: string[];
|
|
415
|
-
protocols?: string[] | undefined;
|
|
416
418
|
mainProtocol?: string | undefined;
|
|
417
419
|
depositUrl?: string | undefined;
|
|
420
|
+
depositUrls?: {
|
|
421
|
+
id: string;
|
|
422
|
+
title: string;
|
|
423
|
+
url: string;
|
|
424
|
+
subtitle?: string | undefined;
|
|
425
|
+
icon?: string | undefined;
|
|
426
|
+
priority: number;
|
|
427
|
+
}[] | undefined;
|
|
418
428
|
explorerAddress?: string | undefined;
|
|
419
429
|
hidden?: boolean | undefined;
|
|
420
430
|
tvl: number;
|
|
@@ -646,18 +656,16 @@ export declare abstract class CarouselService {
|
|
|
646
656
|
endOfDisputePeriod: number;
|
|
647
657
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
648
658
|
};
|
|
649
|
-
|
|
659
|
+
DepositUrls: {
|
|
650
660
|
id: string;
|
|
651
|
-
|
|
652
|
-
name: string;
|
|
653
|
-
description: string;
|
|
661
|
+
title: string;
|
|
654
662
|
url: string;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}
|
|
660
|
-
|
|
663
|
+
subtitle: string | null;
|
|
664
|
+
icon: string | null;
|
|
665
|
+
priority: number;
|
|
666
|
+
opportunityId: string;
|
|
667
|
+
}[];
|
|
668
|
+
MainProtocol: {
|
|
661
669
|
id: string;
|
|
662
670
|
tags: string[];
|
|
663
671
|
name: string;
|
|
@@ -667,7 +675,7 @@ export declare abstract class CarouselService {
|
|
|
667
675
|
banner: string | null;
|
|
668
676
|
opportunityBannerLight: string | null;
|
|
669
677
|
opportunityBannerDark: string | null;
|
|
670
|
-
}
|
|
678
|
+
} | null;
|
|
671
679
|
Tokens: {
|
|
672
680
|
id: string;
|
|
673
681
|
name: string | null;
|
|
@@ -731,18 +739,16 @@ export declare abstract class CarouselService {
|
|
|
731
739
|
endOfDisputePeriod: number;
|
|
732
740
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
733
741
|
};
|
|
734
|
-
|
|
742
|
+
DepositUrls: {
|
|
735
743
|
id: string;
|
|
736
|
-
|
|
737
|
-
name: string;
|
|
738
|
-
description: string;
|
|
744
|
+
title: string;
|
|
739
745
|
url: string;
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
+
subtitle: string | null;
|
|
747
|
+
icon: string | null;
|
|
748
|
+
priority: number;
|
|
749
|
+
opportunityId: string;
|
|
750
|
+
}[];
|
|
751
|
+
MainProtocol: {
|
|
746
752
|
id: string;
|
|
747
753
|
tags: string[];
|
|
748
754
|
name: string;
|
|
@@ -752,7 +758,7 @@ export declare abstract class CarouselService {
|
|
|
752
758
|
banner: string | null;
|
|
753
759
|
opportunityBannerLight: string | null;
|
|
754
760
|
opportunityBannerDark: string | null;
|
|
755
|
-
}
|
|
761
|
+
} | null;
|
|
756
762
|
Tokens: {
|
|
757
763
|
id: string;
|
|
758
764
|
name: string | null;
|
|
@@ -855,9 +861,16 @@ export declare abstract class CarouselService {
|
|
|
855
861
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
856
862
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
857
863
|
tags: string[];
|
|
858
|
-
protocols?: string[] | undefined;
|
|
859
864
|
mainProtocol?: string | undefined;
|
|
860
865
|
depositUrl?: string | undefined;
|
|
866
|
+
depositUrls?: {
|
|
867
|
+
id: string;
|
|
868
|
+
title: string;
|
|
869
|
+
url: string;
|
|
870
|
+
subtitle?: string | undefined;
|
|
871
|
+
icon?: string | undefined;
|
|
872
|
+
priority: number;
|
|
873
|
+
}[] | undefined;
|
|
861
874
|
explorerAddress?: string | undefined;
|
|
862
875
|
hidden?: boolean | undefined;
|
|
863
876
|
tvl: number;
|
|
@@ -1024,9 +1037,16 @@ export declare abstract class CarouselService {
|
|
|
1024
1037
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
1025
1038
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
1026
1039
|
tags: string[];
|
|
1027
|
-
protocols?: string[] | undefined;
|
|
1028
1040
|
mainProtocol?: string | undefined;
|
|
1029
1041
|
depositUrl?: string | undefined;
|
|
1042
|
+
depositUrls?: {
|
|
1043
|
+
id: string;
|
|
1044
|
+
title: string;
|
|
1045
|
+
url: string;
|
|
1046
|
+
subtitle?: string | undefined;
|
|
1047
|
+
icon?: string | undefined;
|
|
1048
|
+
priority: number;
|
|
1049
|
+
}[] | undefined;
|
|
1030
1050
|
explorerAddress?: string | undefined;
|
|
1031
1051
|
hidden?: boolean | undefined;
|
|
1032
1052
|
tvl: number;
|
|
@@ -1292,18 +1312,16 @@ export declare abstract class CarouselService {
|
|
|
1292
1312
|
endOfDisputePeriod: number;
|
|
1293
1313
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1294
1314
|
};
|
|
1295
|
-
|
|
1315
|
+
DepositUrls: {
|
|
1296
1316
|
id: string;
|
|
1297
|
-
|
|
1298
|
-
name: string;
|
|
1299
|
-
description: string;
|
|
1317
|
+
title: string;
|
|
1300
1318
|
url: string;
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1319
|
+
subtitle: string | null;
|
|
1320
|
+
icon: string | null;
|
|
1321
|
+
priority: number;
|
|
1322
|
+
opportunityId: string;
|
|
1323
|
+
}[];
|
|
1324
|
+
MainProtocol: {
|
|
1307
1325
|
id: string;
|
|
1308
1326
|
tags: string[];
|
|
1309
1327
|
name: string;
|
|
@@ -1313,7 +1331,7 @@ export declare abstract class CarouselService {
|
|
|
1313
1331
|
banner: string | null;
|
|
1314
1332
|
opportunityBannerLight: string | null;
|
|
1315
1333
|
opportunityBannerDark: string | null;
|
|
1316
|
-
}
|
|
1334
|
+
} | null;
|
|
1317
1335
|
Tokens: {
|
|
1318
1336
|
id: string;
|
|
1319
1337
|
name: string | null;
|
|
@@ -1377,18 +1395,16 @@ export declare abstract class CarouselService {
|
|
|
1377
1395
|
endOfDisputePeriod: number;
|
|
1378
1396
|
lastClaimsOnchainFetchTimestamp: string | null;
|
|
1379
1397
|
};
|
|
1380
|
-
|
|
1398
|
+
DepositUrls: {
|
|
1381
1399
|
id: string;
|
|
1382
|
-
|
|
1383
|
-
name: string;
|
|
1384
|
-
description: string;
|
|
1400
|
+
title: string;
|
|
1385
1401
|
url: string;
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
}
|
|
1391
|
-
|
|
1402
|
+
subtitle: string | null;
|
|
1403
|
+
icon: string | null;
|
|
1404
|
+
priority: number;
|
|
1405
|
+
opportunityId: string;
|
|
1406
|
+
}[];
|
|
1407
|
+
MainProtocol: {
|
|
1392
1408
|
id: string;
|
|
1393
1409
|
tags: string[];
|
|
1394
1410
|
name: string;
|
|
@@ -1398,7 +1414,7 @@ export declare abstract class CarouselService {
|
|
|
1398
1414
|
banner: string | null;
|
|
1399
1415
|
opportunityBannerLight: string | null;
|
|
1400
1416
|
opportunityBannerDark: string | null;
|
|
1401
|
-
}
|
|
1417
|
+
} | null;
|
|
1402
1418
|
Tokens: {
|
|
1403
1419
|
id: string;
|
|
1404
1420
|
name: string | null;
|
|
@@ -191,7 +191,6 @@ export declare const ConfigController: Elysia<"/config", {
|
|
|
191
191
|
address: string;
|
|
192
192
|
chainId: number;
|
|
193
193
|
}[];
|
|
194
|
-
protocols?: string[] | undefined;
|
|
195
194
|
mainProtocol?: string | undefined;
|
|
196
195
|
depositUrl?: string | undefined;
|
|
197
196
|
explorerAddress?: string | undefined;
|
|
@@ -302,6 +301,15 @@ export declare const ConfigController: Elysia<"/config", {
|
|
|
302
301
|
total: number;
|
|
303
302
|
opportunityId: string;
|
|
304
303
|
})[];
|
|
304
|
+
DepositUrls: {
|
|
305
|
+
id: string;
|
|
306
|
+
title: string;
|
|
307
|
+
url: string;
|
|
308
|
+
subtitle: string | null;
|
|
309
|
+
icon: string | null;
|
|
310
|
+
priority: number;
|
|
311
|
+
opportunityId: string;
|
|
312
|
+
}[];
|
|
305
313
|
MainProtocol: {
|
|
306
314
|
id: string;
|
|
307
315
|
tags: string[];
|
|
@@ -342,17 +350,6 @@ export declare const ConfigController: Elysia<"/config", {
|
|
|
342
350
|
rewardTokenId: string | null;
|
|
343
351
|
opportunityId: string;
|
|
344
352
|
})[];
|
|
345
|
-
Protocols: {
|
|
346
|
-
id: string;
|
|
347
|
-
tags: string[];
|
|
348
|
-
name: string;
|
|
349
|
-
description: string;
|
|
350
|
-
url: string;
|
|
351
|
-
icon: string;
|
|
352
|
-
banner: string | null;
|
|
353
|
-
opportunityBannerLight: string | null;
|
|
354
|
-
opportunityBannerDark: string | null;
|
|
355
|
-
}[];
|
|
356
353
|
Tokens: {
|
|
357
354
|
id: string;
|
|
358
355
|
name: string | null;
|
|
@@ -47,7 +47,6 @@ export declare abstract class ConfigService {
|
|
|
47
47
|
address: string;
|
|
48
48
|
chainId: number;
|
|
49
49
|
}[];
|
|
50
|
-
protocols?: string[] | undefined;
|
|
51
50
|
mainProtocol?: string | undefined;
|
|
52
51
|
depositUrl?: string | undefined;
|
|
53
52
|
explorerAddress?: string | undefined;
|
|
@@ -158,6 +157,15 @@ export declare abstract class ConfigService {
|
|
|
158
157
|
total: number;
|
|
159
158
|
opportunityId: string;
|
|
160
159
|
})[];
|
|
160
|
+
DepositUrls: {
|
|
161
|
+
id: string;
|
|
162
|
+
title: string;
|
|
163
|
+
url: string;
|
|
164
|
+
subtitle: string | null;
|
|
165
|
+
icon: string | null;
|
|
166
|
+
priority: number;
|
|
167
|
+
opportunityId: string;
|
|
168
|
+
}[];
|
|
161
169
|
MainProtocol: {
|
|
162
170
|
id: string;
|
|
163
171
|
tags: string[];
|
|
@@ -198,17 +206,6 @@ export declare abstract class ConfigService {
|
|
|
198
206
|
rewardTokenId: string | null;
|
|
199
207
|
opportunityId: string;
|
|
200
208
|
})[];
|
|
201
|
-
Protocols: {
|
|
202
|
-
id: string;
|
|
203
|
-
tags: string[];
|
|
204
|
-
name: string;
|
|
205
|
-
description: string;
|
|
206
|
-
url: string;
|
|
207
|
-
icon: string;
|
|
208
|
-
banner: string | null;
|
|
209
|
-
opportunityBannerLight: string | null;
|
|
210
|
-
opportunityBannerDark: string | null;
|
|
211
|
-
}[];
|
|
212
209
|
Tokens: {
|
|
213
210
|
id: string;
|
|
214
211
|
name: string | null;
|
|
@@ -432,9 +432,16 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
|
432
432
|
status: "LIVE" | "NONE" | "PAST" | "SOON";
|
|
433
433
|
action: "BORROW" | "DROP" | "HOLD" | "INVALID" | "LEND" | "LONG" | "POOL" | "SHORT" | "STAKE" | "SWAP";
|
|
434
434
|
tags: string[];
|
|
435
|
-
protocols?: string[] | undefined;
|
|
436
435
|
mainProtocol?: string | undefined;
|
|
437
436
|
depositUrl?: string | undefined;
|
|
437
|
+
depositUrls?: {
|
|
438
|
+
id: string;
|
|
439
|
+
title: string;
|
|
440
|
+
url: string;
|
|
441
|
+
subtitle?: string | undefined;
|
|
442
|
+
icon?: string | undefined;
|
|
443
|
+
priority: number;
|
|
444
|
+
}[] | undefined;
|
|
438
445
|
explorerAddress?: string | undefined;
|
|
439
446
|
hidden?: boolean | undefined;
|
|
440
447
|
tvl: number;
|