@merkl/api 1.0.67 → 1.0.69
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 +430 -418
- package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
- package/dist/src/index.d.ts +215 -209
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +41 -41
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +180 -180
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +50 -50
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +44 -44
- package/dist/src/modules/v4/creator/creator.controller.d.ts +12 -12
- package/dist/src/modules/v4/creator/creator.repository.d.ts +6 -6
- package/dist/src/modules/v4/creator/creator.service.d.ts +12 -12
- package/dist/src/modules/v4/node/node.controller.d.ts +1 -1
- package/dist/src/modules/v4/node/node.repository.d.ts +2 -2
- package/dist/src/modules/v4/node/node.service.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +80 -80
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +192 -192
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +54 -54
- package/dist/src/modules/v4/price/price.controller.d.ts +4 -4
- package/dist/src/modules/v4/price/price.repository.d.ts +5 -5
- package/dist/src/modules/v4/price/price.service.d.ts +4 -4
- package/dist/src/modules/v4/programPayload/programPayload.model.d.ts +19 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +25 -2
- package/dist/src/modules/v4/programPayload/subPayloads/hypurrFi.d.ts +9 -1
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +6 -6
- package/dist/src/modules/v4/reward/reward.repository.d.ts +11 -11
- package/dist/src/modules/v4/reward/reward.service.d.ts +67 -67
- package/dist/src/modules/v4/router.d.ts +212 -209
- package/dist/src/modules/v4/status/status.controller.d.ts +14 -14
- package/dist/src/modules/v4/status/status.repository.d.ts +20 -20
- package/dist/src/modules/v4/status/status.service.d.ts +16 -16
- package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +3 -0
- package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +11 -11
- package/dist/src/routes/v3/router.d.ts +3 -0
- package/dist/src/routes/v3/uniswapv4.d.ts +3 -0
- package/dist/src/utils/providers.d.ts +2 -0
- package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -40,16 +40,16 @@ export declare const v4: Elysia<"/v4", {
|
|
40
40
|
tokenSymbol?: string | undefined;
|
41
41
|
type?: string | undefined;
|
42
42
|
endTimestamp?: string | undefined;
|
43
|
+
subType?: number | undefined;
|
43
44
|
opportunityId?: string | undefined;
|
44
45
|
creatorAddress?: string | undefined;
|
45
|
-
mainProtocolId?: string | undefined;
|
46
|
-
subType?: number | undefined;
|
47
46
|
rootCampaignId?: string | undefined;
|
48
47
|
parentCampaignId?: string | undefined;
|
48
|
+
mainProtocolId?: string | undefined;
|
49
49
|
creatorId?: string | undefined;
|
50
|
-
mainParameter?: string | undefined;
|
51
50
|
test?: boolean | undefined;
|
52
51
|
page?: number | undefined;
|
52
|
+
mainParameter?: string | undefined;
|
53
53
|
creatorTag?: string | undefined;
|
54
54
|
distributionChainIds?: number[] | undefined;
|
55
55
|
types?: string[] | undefined;
|
@@ -72,8 +72,6 @@ export declare const v4: Elysia<"/v4", {
|
|
72
72
|
tags: string[];
|
73
73
|
} | null | undefined;
|
74
74
|
depositUrl?: string | undefined;
|
75
|
-
explorerAddress?: string | undefined;
|
76
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
77
75
|
aprRecord?: {
|
78
76
|
timestamp: string | bigint;
|
79
77
|
cumulated: number;
|
@@ -84,6 +82,8 @@ export declare const v4: Elysia<"/v4", {
|
|
84
82
|
identifier: string;
|
85
83
|
}[];
|
86
84
|
} | undefined;
|
85
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
86
|
+
explorerAddress?: string | undefined;
|
87
87
|
tvlRecord?: {
|
88
88
|
timestamp: string | bigint;
|
89
89
|
total: number;
|
@@ -147,9 +147,6 @@ export declare const v4: Elysia<"/v4", {
|
|
147
147
|
creatorId?: string | null | undefined;
|
148
148
|
address: string;
|
149
149
|
} | undefined;
|
150
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
151
|
-
rootCampaignId?: string | undefined;
|
152
|
-
parentCampaignId?: string | undefined;
|
153
150
|
campaignStatus?: {
|
154
151
|
error?: string | undefined;
|
155
152
|
details?: any;
|
@@ -157,6 +154,9 @@ export declare const v4: Elysia<"/v4", {
|
|
157
154
|
computedUntil: string | number;
|
158
155
|
processingStarted: string | number;
|
159
156
|
} | undefined;
|
157
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
158
|
+
rootCampaignId?: string | undefined;
|
159
|
+
parentCampaignId?: string | undefined;
|
160
160
|
distributionChain?: {
|
161
161
|
explorers?: {
|
162
162
|
chainId: number;
|
@@ -191,9 +191,6 @@ export declare const v4: Elysia<"/v4", {
|
|
191
191
|
computeChainId: number;
|
192
192
|
distributionChainId: number;
|
193
193
|
endTimestamp: string | number;
|
194
|
-
creatorAddress: string;
|
195
|
-
subType: number | null;
|
196
|
-
createdAt: string;
|
197
194
|
chain: {
|
198
195
|
explorers?: {
|
199
196
|
chainId: number;
|
@@ -204,14 +201,12 @@ export declare const v4: Elysia<"/v4", {
|
|
204
201
|
id: number;
|
205
202
|
icon: string;
|
206
203
|
};
|
204
|
+
subType: number | null;
|
205
|
+
creatorAddress: string;
|
206
|
+
createdAt: string;
|
207
207
|
}[];
|
208
208
|
action: string;
|
209
209
|
type: string;
|
210
|
-
howToSteps: string[];
|
211
|
-
identifier: string;
|
212
|
-
dailyRewards: number;
|
213
|
-
tags: string[];
|
214
|
-
lastCampaignCreatedAt: number;
|
215
210
|
chain: {
|
216
211
|
explorers?: {
|
217
212
|
chainId: number;
|
@@ -222,6 +217,11 @@ export declare const v4: Elysia<"/v4", {
|
|
222
217
|
id: number;
|
223
218
|
icon: string;
|
224
219
|
};
|
220
|
+
identifier: string;
|
221
|
+
howToSteps: string[];
|
222
|
+
dailyRewards: number;
|
223
|
+
tags: string[];
|
224
|
+
lastCampaignCreatedAt: number;
|
225
225
|
}[];
|
226
226
|
readonly 500: {
|
227
227
|
info: string;
|
@@ -274,8 +274,6 @@ export declare const v4: Elysia<"/v4", {
|
|
274
274
|
tags: string[];
|
275
275
|
} | null | undefined;
|
276
276
|
depositUrl?: string | undefined;
|
277
|
-
explorerAddress?: string | undefined;
|
278
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
279
277
|
aprRecord?: {
|
280
278
|
timestamp: string | bigint;
|
281
279
|
cumulated: number;
|
@@ -286,6 +284,8 @@ export declare const v4: Elysia<"/v4", {
|
|
286
284
|
identifier: string;
|
287
285
|
}[];
|
288
286
|
} | undefined;
|
287
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
288
|
+
explorerAddress?: string | undefined;
|
289
289
|
tvlRecord?: {
|
290
290
|
timestamp: string | bigint;
|
291
291
|
total: number;
|
@@ -344,11 +344,6 @@ export declare const v4: Elysia<"/v4", {
|
|
344
344
|
chainId: number;
|
345
345
|
action: string;
|
346
346
|
type: string;
|
347
|
-
howToSteps: string[];
|
348
|
-
identifier: string;
|
349
|
-
dailyRewards: number;
|
350
|
-
tags: string[];
|
351
|
-
lastCampaignCreatedAt: number;
|
352
347
|
chain: {
|
353
348
|
explorers?: {
|
354
349
|
chainId: number;
|
@@ -359,6 +354,11 @@ export declare const v4: Elysia<"/v4", {
|
|
359
354
|
id: number;
|
360
355
|
icon: string;
|
361
356
|
};
|
357
|
+
identifier: string;
|
358
|
+
howToSteps: string[];
|
359
|
+
dailyRewards: number;
|
360
|
+
tags: string[];
|
361
|
+
lastCampaignCreatedAt: number;
|
362
362
|
};
|
363
363
|
readonly 500: {
|
364
364
|
info: string;
|
@@ -412,8 +412,6 @@ export declare const v4: Elysia<"/v4", {
|
|
412
412
|
tags: string[];
|
413
413
|
} | null | undefined;
|
414
414
|
depositUrl?: string | undefined;
|
415
|
-
explorerAddress?: string | undefined;
|
416
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
417
415
|
aprRecord?: {
|
418
416
|
timestamp: string | bigint;
|
419
417
|
cumulated: number;
|
@@ -424,6 +422,8 @@ export declare const v4: Elysia<"/v4", {
|
|
424
422
|
identifier: string;
|
425
423
|
}[];
|
426
424
|
} | undefined;
|
425
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
426
|
+
explorerAddress?: string | undefined;
|
427
427
|
tvlRecord?: {
|
428
428
|
timestamp: string | bigint;
|
429
429
|
total: number;
|
@@ -487,9 +487,6 @@ export declare const v4: Elysia<"/v4", {
|
|
487
487
|
creatorId?: string | null | undefined;
|
488
488
|
address: string;
|
489
489
|
} | undefined;
|
490
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
491
|
-
rootCampaignId?: string | undefined;
|
492
|
-
parentCampaignId?: string | undefined;
|
493
490
|
campaignStatus?: {
|
494
491
|
error?: string | undefined;
|
495
492
|
details?: any;
|
@@ -497,6 +494,9 @@ export declare const v4: Elysia<"/v4", {
|
|
497
494
|
computedUntil: string | number;
|
498
495
|
processingStarted: string | number;
|
499
496
|
} | undefined;
|
497
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
498
|
+
rootCampaignId?: string | undefined;
|
499
|
+
parentCampaignId?: string | undefined;
|
500
500
|
distributionChain?: {
|
501
501
|
explorers?: {
|
502
502
|
chainId: number;
|
@@ -531,9 +531,6 @@ export declare const v4: Elysia<"/v4", {
|
|
531
531
|
computeChainId: number;
|
532
532
|
distributionChainId: number;
|
533
533
|
endTimestamp: string | number;
|
534
|
-
creatorAddress: string;
|
535
|
-
subType: number | null;
|
536
|
-
createdAt: string;
|
537
534
|
chain: {
|
538
535
|
explorers?: {
|
539
536
|
chainId: number;
|
@@ -544,14 +541,12 @@ export declare const v4: Elysia<"/v4", {
|
|
544
541
|
id: number;
|
545
542
|
icon: string;
|
546
543
|
};
|
544
|
+
subType: number | null;
|
545
|
+
creatorAddress: string;
|
546
|
+
createdAt: string;
|
547
547
|
}[];
|
548
548
|
action: string;
|
549
549
|
type: string;
|
550
|
-
howToSteps: string[];
|
551
|
-
identifier: string;
|
552
|
-
dailyRewards: number;
|
553
|
-
tags: string[];
|
554
|
-
lastCampaignCreatedAt: number;
|
555
550
|
chain: {
|
556
551
|
explorers?: {
|
557
552
|
chainId: number;
|
@@ -562,6 +557,11 @@ export declare const v4: Elysia<"/v4", {
|
|
562
557
|
id: number;
|
563
558
|
icon: string;
|
564
559
|
};
|
560
|
+
identifier: string;
|
561
|
+
howToSteps: string[];
|
562
|
+
dailyRewards: number;
|
563
|
+
tags: string[];
|
564
|
+
lastCampaignCreatedAt: number;
|
565
565
|
};
|
566
566
|
readonly 500: {
|
567
567
|
info: string;
|
@@ -606,8 +606,8 @@ export declare const v4: Elysia<"/v4", {
|
|
606
606
|
type?: string | undefined;
|
607
607
|
search?: string | undefined;
|
608
608
|
creatorAddress?: string | undefined;
|
609
|
-
mainProtocolId?: string | undefined;
|
610
609
|
identifier?: string | undefined;
|
610
|
+
mainProtocolId?: string | undefined;
|
611
611
|
tags?: string | undefined;
|
612
612
|
test?: boolean | undefined;
|
613
613
|
page?: number | undefined;
|
@@ -633,8 +633,6 @@ export declare const v4: Elysia<"/v4", {
|
|
633
633
|
tags: string[];
|
634
634
|
} | null | undefined;
|
635
635
|
depositUrl?: string | undefined;
|
636
|
-
explorerAddress?: string | undefined;
|
637
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
638
636
|
aprRecord?: {
|
639
637
|
timestamp: string | bigint;
|
640
638
|
cumulated: number;
|
@@ -645,6 +643,8 @@ export declare const v4: Elysia<"/v4", {
|
|
645
643
|
identifier: string;
|
646
644
|
}[];
|
647
645
|
} | undefined;
|
646
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
647
|
+
explorerAddress?: string | undefined;
|
648
648
|
tvlRecord?: {
|
649
649
|
timestamp: string | bigint;
|
650
650
|
total: number;
|
@@ -703,11 +703,6 @@ export declare const v4: Elysia<"/v4", {
|
|
703
703
|
chainId: number;
|
704
704
|
action: string;
|
705
705
|
type: string;
|
706
|
-
howToSteps: string[];
|
707
|
-
identifier: string;
|
708
|
-
dailyRewards: number;
|
709
|
-
tags: string[];
|
710
|
-
lastCampaignCreatedAt: number;
|
711
706
|
chain: {
|
712
707
|
explorers?: {
|
713
708
|
chainId: number;
|
@@ -718,6 +713,11 @@ export declare const v4: Elysia<"/v4", {
|
|
718
713
|
id: number;
|
719
714
|
icon: string;
|
720
715
|
};
|
716
|
+
identifier: string;
|
717
|
+
howToSteps: string[];
|
718
|
+
dailyRewards: number;
|
719
|
+
tags: string[];
|
720
|
+
lastCampaignCreatedAt: number;
|
721
721
|
} | null)[];
|
722
722
|
422: {
|
723
723
|
type: "validation";
|
@@ -752,8 +752,8 @@ export declare const v4: Elysia<"/v4", {
|
|
752
752
|
type?: string | undefined;
|
753
753
|
search?: string | undefined;
|
754
754
|
creatorAddress?: string | undefined;
|
755
|
-
mainProtocolId?: string | undefined;
|
756
755
|
identifier?: string | undefined;
|
756
|
+
mainProtocolId?: string | undefined;
|
757
757
|
tags?: string | undefined;
|
758
758
|
test?: boolean | undefined;
|
759
759
|
page?: number | undefined;
|
@@ -802,8 +802,8 @@ export declare const v4: Elysia<"/v4", {
|
|
802
802
|
type?: string | undefined;
|
803
803
|
search?: string | undefined;
|
804
804
|
creatorAddress?: string | undefined;
|
805
|
-
mainProtocolId?: string | undefined;
|
806
805
|
identifier?: string | undefined;
|
806
|
+
mainProtocolId?: string | undefined;
|
807
807
|
tags?: string | undefined;
|
808
808
|
test?: boolean | undefined;
|
809
809
|
page?: number | undefined;
|
@@ -862,8 +862,8 @@ export declare const v4: Elysia<"/v4", {
|
|
862
862
|
type?: string | undefined;
|
863
863
|
search?: string | undefined;
|
864
864
|
creatorAddress?: string | undefined;
|
865
|
-
mainProtocolId?: string | undefined;
|
866
865
|
identifier?: string | undefined;
|
866
|
+
mainProtocolId?: string | undefined;
|
867
867
|
tags?: string | undefined;
|
868
868
|
test?: boolean | undefined;
|
869
869
|
page?: number | undefined;
|
@@ -924,8 +924,8 @@ export declare const v4: Elysia<"/v4", {
|
|
924
924
|
type?: string | undefined;
|
925
925
|
search?: string | undefined;
|
926
926
|
creatorAddress?: string | undefined;
|
927
|
-
mainProtocolId?: string | undefined;
|
928
927
|
identifier?: string | undefined;
|
928
|
+
mainProtocolId?: string | undefined;
|
929
929
|
tags?: string | undefined;
|
930
930
|
test?: boolean | undefined;
|
931
931
|
page?: number | undefined;
|
@@ -980,8 +980,8 @@ export declare const v4: Elysia<"/v4", {
|
|
980
980
|
type?: string | undefined;
|
981
981
|
search?: string | undefined;
|
982
982
|
creatorAddress?: string | undefined;
|
983
|
-
mainProtocolId?: string | undefined;
|
984
983
|
identifier?: string | undefined;
|
984
|
+
mainProtocolId?: string | undefined;
|
985
985
|
tags?: string | undefined;
|
986
986
|
test?: boolean | undefined;
|
987
987
|
page?: number | undefined;
|
@@ -1037,8 +1037,8 @@ export declare const v4: Elysia<"/v4", {
|
|
1037
1037
|
type?: string | undefined;
|
1038
1038
|
search?: string | undefined;
|
1039
1039
|
creatorAddress?: string | undefined;
|
1040
|
-
mainProtocolId?: string | undefined;
|
1041
1040
|
identifier?: string | undefined;
|
1041
|
+
mainProtocolId?: string | undefined;
|
1042
1042
|
tags?: string | undefined;
|
1043
1043
|
test?: boolean | undefined;
|
1044
1044
|
page?: number | undefined;
|
@@ -1116,6 +1116,14 @@ export declare const v4: Elysia<"/v4", {
|
|
1116
1116
|
explorerAddress: string | undefined;
|
1117
1117
|
tags: string[];
|
1118
1118
|
} | {
|
1119
|
+
Protocols: {
|
1120
|
+
name: string;
|
1121
|
+
description: string;
|
1122
|
+
id: string;
|
1123
|
+
url: string;
|
1124
|
+
icon: string;
|
1125
|
+
tags: string[];
|
1126
|
+
}[];
|
1119
1127
|
Tokens: {
|
1120
1128
|
symbol: string;
|
1121
1129
|
name: string | null;
|
@@ -1132,14 +1140,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1132
1140
|
verified: boolean;
|
1133
1141
|
displaySymbol: string;
|
1134
1142
|
}[];
|
1135
|
-
Protocols: {
|
1136
|
-
name: string;
|
1137
|
-
description: string;
|
1138
|
-
id: string;
|
1139
|
-
url: string;
|
1140
|
-
icon: string;
|
1141
|
-
tags: string[];
|
1142
|
-
}[];
|
1143
1143
|
name: string;
|
1144
1144
|
apr: number;
|
1145
1145
|
tvl: number;
|
@@ -1150,11 +1150,11 @@ export declare const v4: Elysia<"/v4", {
|
|
1150
1150
|
action: import("@package/databases").OpportunityAction;
|
1151
1151
|
type: string;
|
1152
1152
|
depositUrl: string | null;
|
1153
|
-
explorerAddress: string | null;
|
1154
|
-
howToSteps: string[];
|
1155
|
-
mainProtocolId: string | null;
|
1156
1153
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1157
1154
|
identifier: string;
|
1155
|
+
howToSteps: string[];
|
1156
|
+
explorerAddress: string | null;
|
1157
|
+
mainProtocolId: string | null;
|
1158
1158
|
dailyRewards: number;
|
1159
1159
|
tags: string[];
|
1160
1160
|
lastCampaignCreatedAt: Date;
|
@@ -1196,11 +1196,11 @@ export declare const v4: Elysia<"/v4", {
|
|
1196
1196
|
action: import("@package/databases").OpportunityAction;
|
1197
1197
|
type: string;
|
1198
1198
|
depositUrl: string | null;
|
1199
|
-
explorerAddress: string | null;
|
1200
|
-
howToSteps: string[];
|
1201
|
-
mainProtocolId: string | null;
|
1202
1199
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1203
1200
|
identifier: string;
|
1201
|
+
howToSteps: string[];
|
1202
|
+
explorerAddress: string | null;
|
1203
|
+
mainProtocolId: string | null;
|
1204
1204
|
dailyRewards: number;
|
1205
1205
|
tags: string[];
|
1206
1206
|
lastCampaignCreatedAt: Date;
|
@@ -1228,8 +1228,8 @@ export declare const v4: Elysia<"/v4", {
|
|
1228
1228
|
description?: string | undefined;
|
1229
1229
|
action?: "POOL" | "INVALID" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | undefined;
|
1230
1230
|
depositUrl?: string | undefined;
|
1231
|
-
explorerAddress?: string | undefined;
|
1232
1231
|
howToSteps?: string[] | undefined;
|
1232
|
+
explorerAddress?: string | undefined;
|
1233
1233
|
mainProtocolId?: string | undefined;
|
1234
1234
|
};
|
1235
1235
|
params: {
|
@@ -1249,11 +1249,11 @@ export declare const v4: Elysia<"/v4", {
|
|
1249
1249
|
action: import("@package/databases").OpportunityAction;
|
1250
1250
|
type: string;
|
1251
1251
|
depositUrl: string | null;
|
1252
|
-
explorerAddress: string | null;
|
1253
|
-
howToSteps: string[];
|
1254
|
-
mainProtocolId: string | null;
|
1255
1252
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1256
1253
|
identifier: string;
|
1254
|
+
howToSteps: string[];
|
1255
|
+
explorerAddress: string | null;
|
1256
|
+
mainProtocolId: string | null;
|
1257
1257
|
dailyRewards: number;
|
1258
1258
|
tags: string[];
|
1259
1259
|
lastCampaignCreatedAt: Date;
|
@@ -1277,7 +1277,7 @@ export declare const v4: Elysia<"/v4", {
|
|
1277
1277
|
":id": {
|
1278
1278
|
override: {
|
1279
1279
|
delete: {
|
1280
|
-
body: ("name" | "description" | "action" | "depositUrl" | "
|
1280
|
+
body: ("name" | "description" | "action" | "depositUrl" | "howToSteps" | "explorerAddress" | "mainProtocolId")[];
|
1281
1281
|
params: {
|
1282
1282
|
id: string;
|
1283
1283
|
};
|
@@ -1317,6 +1317,14 @@ export declare const v4: Elysia<"/v4", {
|
|
1317
1317
|
explorerAddress: string | undefined;
|
1318
1318
|
tags: string[];
|
1319
1319
|
} | {
|
1320
|
+
Protocols: {
|
1321
|
+
name: string;
|
1322
|
+
description: string;
|
1323
|
+
id: string;
|
1324
|
+
url: string;
|
1325
|
+
icon: string;
|
1326
|
+
tags: string[];
|
1327
|
+
}[];
|
1320
1328
|
Tokens: {
|
1321
1329
|
symbol: string;
|
1322
1330
|
name: string | null;
|
@@ -1333,14 +1341,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1333
1341
|
verified: boolean;
|
1334
1342
|
displaySymbol: string;
|
1335
1343
|
}[];
|
1336
|
-
Protocols: {
|
1337
|
-
name: string;
|
1338
|
-
description: string;
|
1339
|
-
id: string;
|
1340
|
-
url: string;
|
1341
|
-
icon: string;
|
1342
|
-
tags: string[];
|
1343
|
-
}[];
|
1344
1344
|
name: string;
|
1345
1345
|
apr: number;
|
1346
1346
|
tvl: number;
|
@@ -1351,11 +1351,11 @@ export declare const v4: Elysia<"/v4", {
|
|
1351
1351
|
action: import("@package/databases").OpportunityAction;
|
1352
1352
|
type: string;
|
1353
1353
|
depositUrl: string | null;
|
1354
|
-
explorerAddress: string | null;
|
1355
|
-
howToSteps: string[];
|
1356
|
-
mainProtocolId: string | null;
|
1357
1354
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1358
1355
|
identifier: string;
|
1356
|
+
howToSteps: string[];
|
1357
|
+
explorerAddress: string | null;
|
1358
|
+
mainProtocolId: string | null;
|
1359
1359
|
dailyRewards: number;
|
1360
1360
|
tags: string[];
|
1361
1361
|
lastCampaignCreatedAt: Date;
|
@@ -1408,18 +1408,18 @@ export declare const v4: Elysia<"/v4", {
|
|
1408
1408
|
campaignId: string;
|
1409
1409
|
description: string | null;
|
1410
1410
|
id: string;
|
1411
|
-
params: import("@prisma/client/runtime/
|
1411
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
1412
1412
|
amount: string;
|
1413
1413
|
startTimestamp: bigint;
|
1414
1414
|
type: string;
|
1415
1415
|
computeChainId: number;
|
1416
1416
|
distributionChainId: number;
|
1417
1417
|
endTimestamp: bigint;
|
1418
|
-
opportunityId: string;
|
1419
|
-
creatorAddress: string;
|
1420
1418
|
distributionType: import("@package/databases").DistributionType;
|
1421
1419
|
subType: number | null;
|
1422
1420
|
rewardTokenId: string;
|
1421
|
+
opportunityId: string;
|
1422
|
+
creatorAddress: string;
|
1423
1423
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
1424
1424
|
createdAt: Date;
|
1425
1425
|
rootCampaignId: string | null;
|
@@ -1457,6 +1457,14 @@ export declare const v4: Elysia<"/v4", {
|
|
1457
1457
|
explorerAddress: string | undefined;
|
1458
1458
|
tags: string[];
|
1459
1459
|
} | {
|
1460
|
+
Protocols: {
|
1461
|
+
name: string;
|
1462
|
+
description: string;
|
1463
|
+
id: string;
|
1464
|
+
url: string;
|
1465
|
+
icon: string;
|
1466
|
+
tags: string[];
|
1467
|
+
}[];
|
1460
1468
|
Tokens: {
|
1461
1469
|
symbol: string;
|
1462
1470
|
name: string | null;
|
@@ -1473,14 +1481,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1473
1481
|
verified: boolean;
|
1474
1482
|
displaySymbol: string;
|
1475
1483
|
}[];
|
1476
|
-
Protocols: {
|
1477
|
-
name: string;
|
1478
|
-
description: string;
|
1479
|
-
id: string;
|
1480
|
-
url: string;
|
1481
|
-
icon: string;
|
1482
|
-
tags: string[];
|
1483
|
-
}[];
|
1484
1484
|
name: string;
|
1485
1485
|
apr: number;
|
1486
1486
|
tvl: number;
|
@@ -1491,11 +1491,11 @@ export declare const v4: Elysia<"/v4", {
|
|
1491
1491
|
action: import("@package/databases").OpportunityAction;
|
1492
1492
|
type: string;
|
1493
1493
|
depositUrl: string | null;
|
1494
|
-
explorerAddress: string | null;
|
1495
|
-
howToSteps: string[];
|
1496
|
-
mainProtocolId: string | null;
|
1497
1494
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1498
1495
|
identifier: string;
|
1496
|
+
howToSteps: string[];
|
1497
|
+
explorerAddress: string | null;
|
1498
|
+
mainProtocolId: string | null;
|
1499
1499
|
dailyRewards: number;
|
1500
1500
|
tags: string[];
|
1501
1501
|
lastCampaignCreatedAt: Date;
|
@@ -1531,9 +1531,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1531
1531
|
creatorId?: string | null | undefined;
|
1532
1532
|
address: string;
|
1533
1533
|
} | undefined;
|
1534
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
1535
|
-
rootCampaignId?: string | undefined;
|
1536
|
-
parentCampaignId?: string | undefined;
|
1537
1534
|
campaignStatus?: {
|
1538
1535
|
error?: string | undefined;
|
1539
1536
|
details?: any;
|
@@ -1541,6 +1538,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1541
1538
|
computedUntil: string | number;
|
1542
1539
|
processingStarted: string | number;
|
1543
1540
|
} | undefined;
|
1541
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
1542
|
+
rootCampaignId?: string | undefined;
|
1543
|
+
parentCampaignId?: string | undefined;
|
1544
1544
|
distributionChain?: {
|
1545
1545
|
explorers?: {
|
1546
1546
|
chainId: number;
|
@@ -1575,9 +1575,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1575
1575
|
computeChainId: number;
|
1576
1576
|
distributionChainId: number;
|
1577
1577
|
endTimestamp: string | number;
|
1578
|
-
creatorAddress: string;
|
1579
|
-
subType: number | null;
|
1580
|
-
createdAt: string;
|
1581
1578
|
chain: {
|
1582
1579
|
explorers?: {
|
1583
1580
|
chainId: number;
|
@@ -1588,6 +1585,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1588
1585
|
id: number;
|
1589
1586
|
icon: string;
|
1590
1587
|
};
|
1588
|
+
subType: number | null;
|
1589
|
+
creatorAddress: string;
|
1590
|
+
createdAt: string;
|
1591
1591
|
};
|
1592
1592
|
422: {
|
1593
1593
|
type: "validation";
|
@@ -1810,16 +1810,16 @@ export declare const v4: Elysia<"/v4", {
|
|
1810
1810
|
tokenSymbol?: string | undefined;
|
1811
1811
|
type?: string | undefined;
|
1812
1812
|
endTimestamp?: string | undefined;
|
1813
|
+
subType?: number | undefined;
|
1813
1814
|
opportunityId?: string | undefined;
|
1814
1815
|
creatorAddress?: string | undefined;
|
1815
|
-
mainProtocolId?: string | undefined;
|
1816
|
-
subType?: number | undefined;
|
1817
1816
|
rootCampaignId?: string | undefined;
|
1818
1817
|
parentCampaignId?: string | undefined;
|
1818
|
+
mainProtocolId?: string | undefined;
|
1819
1819
|
creatorId?: string | undefined;
|
1820
|
-
mainParameter?: string | undefined;
|
1821
1820
|
test?: boolean | undefined;
|
1822
1821
|
page?: number | undefined;
|
1822
|
+
mainParameter?: string | undefined;
|
1823
1823
|
creatorTag?: string | undefined;
|
1824
1824
|
distributionChainIds?: number[] | undefined;
|
1825
1825
|
types?: string[] | undefined;
|
@@ -1836,9 +1836,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1836
1836
|
creatorId?: string | null | undefined;
|
1837
1837
|
address: string;
|
1838
1838
|
} | undefined;
|
1839
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
1840
|
-
rootCampaignId?: string | undefined;
|
1841
|
-
parentCampaignId?: string | undefined;
|
1842
1839
|
campaignStatus?: {
|
1843
1840
|
error?: string | undefined;
|
1844
1841
|
details?: any;
|
@@ -1846,6 +1843,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1846
1843
|
computedUntil: string | number;
|
1847
1844
|
processingStarted: string | number;
|
1848
1845
|
} | undefined;
|
1846
|
+
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
1847
|
+
rootCampaignId?: string | undefined;
|
1848
|
+
parentCampaignId?: string | undefined;
|
1849
1849
|
distributionChain?: {
|
1850
1850
|
explorers?: {
|
1851
1851
|
chainId: number;
|
@@ -1880,9 +1880,6 @@ export declare const v4: Elysia<"/v4", {
|
|
1880
1880
|
computeChainId: number;
|
1881
1881
|
distributionChainId: number;
|
1882
1882
|
endTimestamp: string | number;
|
1883
|
-
creatorAddress: string;
|
1884
|
-
subType: number | null;
|
1885
|
-
createdAt: string;
|
1886
1883
|
chain: {
|
1887
1884
|
explorers?: {
|
1888
1885
|
chainId: number;
|
@@ -1893,6 +1890,9 @@ export declare const v4: Elysia<"/v4", {
|
|
1893
1890
|
id: number;
|
1894
1891
|
icon: string;
|
1895
1892
|
};
|
1893
|
+
subType: number | null;
|
1894
|
+
creatorAddress: string;
|
1895
|
+
createdAt: string;
|
1896
1896
|
}[];
|
1897
1897
|
422: {
|
1898
1898
|
type: "validation";
|
@@ -1924,16 +1924,16 @@ export declare const v4: Elysia<"/v4", {
|
|
1924
1924
|
tokenSymbol?: string | undefined;
|
1925
1925
|
type?: string | undefined;
|
1926
1926
|
endTimestamp?: string | undefined;
|
1927
|
+
subType?: number | undefined;
|
1927
1928
|
opportunityId?: string | undefined;
|
1928
1929
|
creatorAddress?: string | undefined;
|
1929
|
-
mainProtocolId?: string | undefined;
|
1930
|
-
subType?: number | undefined;
|
1931
1930
|
rootCampaignId?: string | undefined;
|
1932
1931
|
parentCampaignId?: string | undefined;
|
1932
|
+
mainProtocolId?: string | undefined;
|
1933
1933
|
creatorId?: string | undefined;
|
1934
|
-
mainParameter?: string | undefined;
|
1935
1934
|
test?: boolean | undefined;
|
1936
1935
|
page?: number | undefined;
|
1936
|
+
mainParameter?: string | undefined;
|
1937
1937
|
creatorTag?: string | undefined;
|
1938
1938
|
distributionChainIds?: number[] | undefined;
|
1939
1939
|
types?: string[] | undefined;
|
@@ -1975,16 +1975,16 @@ export declare const v4: Elysia<"/v4", {
|
|
1975
1975
|
tokenSymbol?: string | undefined;
|
1976
1976
|
type?: string | undefined;
|
1977
1977
|
endTimestamp?: string | undefined;
|
1978
|
+
subType?: number | undefined;
|
1978
1979
|
opportunityId?: string | undefined;
|
1979
1980
|
creatorAddress?: string | undefined;
|
1980
|
-
mainProtocolId?: string | undefined;
|
1981
|
-
subType?: number | undefined;
|
1982
1981
|
rootCampaignId?: string | undefined;
|
1983
1982
|
parentCampaignId?: string | undefined;
|
1983
|
+
mainProtocolId?: string | undefined;
|
1984
1984
|
creatorId?: string | undefined;
|
1985
|
-
mainParameter?: string | undefined;
|
1986
1985
|
test?: boolean | undefined;
|
1987
1986
|
page?: number | undefined;
|
1987
|
+
mainParameter?: string | undefined;
|
1988
1988
|
creatorTag?: string | undefined;
|
1989
1989
|
distributionChainIds?: number[] | undefined;
|
1990
1990
|
types?: string[] | undefined;
|
@@ -2031,16 +2031,16 @@ export declare const v4: Elysia<"/v4", {
|
|
2031
2031
|
tokenSymbol?: string | undefined;
|
2032
2032
|
type?: string | undefined;
|
2033
2033
|
endTimestamp?: string | undefined;
|
2034
|
+
subType?: number | undefined;
|
2034
2035
|
opportunityId?: string | undefined;
|
2035
2036
|
creatorAddress?: string | undefined;
|
2036
|
-
mainProtocolId?: string | undefined;
|
2037
|
-
subType?: number | undefined;
|
2038
2037
|
rootCampaignId?: string | undefined;
|
2039
2038
|
parentCampaignId?: string | undefined;
|
2039
|
+
mainProtocolId?: string | undefined;
|
2040
2040
|
creatorId?: string | undefined;
|
2041
|
-
mainParameter?: string | undefined;
|
2042
2041
|
test?: boolean | undefined;
|
2043
2042
|
page?: number | undefined;
|
2043
|
+
mainParameter?: string | undefined;
|
2044
2044
|
creatorTag?: string | undefined;
|
2045
2045
|
distributionChainIds?: number[] | undefined;
|
2046
2046
|
types?: string[] | undefined;
|
@@ -2088,16 +2088,16 @@ export declare const v4: Elysia<"/v4", {
|
|
2088
2088
|
tokenSymbol?: string | undefined;
|
2089
2089
|
type?: string | undefined;
|
2090
2090
|
endTimestamp?: string | undefined;
|
2091
|
+
subType?: number | undefined;
|
2091
2092
|
opportunityId?: string | undefined;
|
2092
2093
|
creatorAddress?: string | undefined;
|
2093
|
-
mainProtocolId?: string | undefined;
|
2094
|
-
subType?: number | undefined;
|
2095
2094
|
rootCampaignId?: string | undefined;
|
2096
2095
|
parentCampaignId?: string | undefined;
|
2096
|
+
mainProtocolId?: string | undefined;
|
2097
2097
|
creatorId?: string | undefined;
|
2098
|
-
mainParameter?: string | undefined;
|
2099
2098
|
test?: boolean | undefined;
|
2100
2099
|
page?: number | undefined;
|
2100
|
+
mainParameter?: string | undefined;
|
2101
2101
|
creatorTag?: string | undefined;
|
2102
2102
|
distributionChainIds?: number[] | undefined;
|
2103
2103
|
types?: string[] | undefined;
|
@@ -2372,8 +2372,8 @@ export declare const v4: Elysia<"/v4", {
|
|
2372
2372
|
campaignId?: string | undefined;
|
2373
2373
|
id?: string | undefined;
|
2374
2374
|
amount?: string | undefined;
|
2375
|
-
creatorAddress?: string | undefined;
|
2376
2375
|
subType?: number | undefined;
|
2376
|
+
creatorAddress?: string | undefined;
|
2377
2377
|
rewardToken: string;
|
2378
2378
|
params: any;
|
2379
2379
|
startTimestamp: number;
|
@@ -2410,8 +2410,8 @@ export declare const v4: Elysia<"/v4", {
|
|
2410
2410
|
campaignId?: string | undefined;
|
2411
2411
|
id?: string | undefined;
|
2412
2412
|
amount?: string | undefined;
|
2413
|
-
creatorAddress?: string | undefined;
|
2414
2413
|
subType?: number | undefined;
|
2414
|
+
creatorAddress?: string | undefined;
|
2415
2415
|
rewardToken: string;
|
2416
2416
|
params: any;
|
2417
2417
|
startTimestamp: number;
|
@@ -2430,18 +2430,18 @@ export declare const v4: Elysia<"/v4", {
|
|
2430
2430
|
campaignId: string;
|
2431
2431
|
description: string | null;
|
2432
2432
|
id: string;
|
2433
|
-
params: import("@prisma/client/runtime/
|
2433
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
2434
2434
|
amount: string;
|
2435
2435
|
startTimestamp: bigint;
|
2436
2436
|
type: string;
|
2437
2437
|
computeChainId: number;
|
2438
2438
|
distributionChainId: number;
|
2439
2439
|
endTimestamp: bigint;
|
2440
|
-
opportunityId: string;
|
2441
|
-
creatorAddress: string;
|
2442
2440
|
distributionType: import("@package/databases").DistributionType;
|
2443
2441
|
subType: number | null;
|
2444
2442
|
rewardTokenId: string;
|
2443
|
+
opportunityId: string;
|
2444
|
+
creatorAddress: string;
|
2445
2445
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
2446
2446
|
createdAt: Date;
|
2447
2447
|
rootCampaignId: string | null;
|
@@ -2479,6 +2479,14 @@ export declare const v4: Elysia<"/v4", {
|
|
2479
2479
|
explorerAddress: string | undefined;
|
2480
2480
|
tags: string[];
|
2481
2481
|
} | {
|
2482
|
+
Protocols: {
|
2483
|
+
name: string;
|
2484
|
+
description: string;
|
2485
|
+
id: string;
|
2486
|
+
url: string;
|
2487
|
+
icon: string;
|
2488
|
+
tags: string[];
|
2489
|
+
}[];
|
2482
2490
|
Tokens: {
|
2483
2491
|
symbol: string;
|
2484
2492
|
name: string | null;
|
@@ -2495,14 +2503,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2495
2503
|
verified: boolean;
|
2496
2504
|
displaySymbol: string;
|
2497
2505
|
}[];
|
2498
|
-
Protocols: {
|
2499
|
-
name: string;
|
2500
|
-
description: string;
|
2501
|
-
id: string;
|
2502
|
-
url: string;
|
2503
|
-
icon: string;
|
2504
|
-
tags: string[];
|
2505
|
-
}[];
|
2506
2506
|
name: string;
|
2507
2507
|
apr: number;
|
2508
2508
|
tvl: number;
|
@@ -2513,11 +2513,11 @@ export declare const v4: Elysia<"/v4", {
|
|
2513
2513
|
action: import("@package/databases").OpportunityAction;
|
2514
2514
|
type: string;
|
2515
2515
|
depositUrl: string | null;
|
2516
|
-
explorerAddress: string | null;
|
2517
|
-
howToSteps: string[];
|
2518
|
-
mainProtocolId: string | null;
|
2519
2516
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
2520
2517
|
identifier: string;
|
2518
|
+
howToSteps: string[];
|
2519
|
+
explorerAddress: string | null;
|
2520
|
+
mainProtocolId: string | null;
|
2521
2521
|
dailyRewards: number;
|
2522
2522
|
tags: string[];
|
2523
2523
|
lastCampaignCreatedAt: Date;
|
@@ -2553,18 +2553,18 @@ export declare const v4: Elysia<"/v4", {
|
|
2553
2553
|
campaignId: string;
|
2554
2554
|
description: string | null;
|
2555
2555
|
id: string;
|
2556
|
-
params: import("@prisma/client/runtime/
|
2556
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
2557
2557
|
amount: string;
|
2558
2558
|
startTimestamp: bigint;
|
2559
2559
|
type: string;
|
2560
2560
|
computeChainId: number;
|
2561
2561
|
distributionChainId: number;
|
2562
2562
|
endTimestamp: bigint;
|
2563
|
-
opportunityId: string;
|
2564
|
-
creatorAddress: string;
|
2565
2563
|
distributionType: import("@package/databases").DistributionType;
|
2566
2564
|
subType: number | null;
|
2567
2565
|
rewardTokenId: string;
|
2566
|
+
opportunityId: string;
|
2567
|
+
creatorAddress: string;
|
2568
2568
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
2569
2569
|
createdAt: Date;
|
2570
2570
|
rootCampaignId: string | null;
|
@@ -2602,6 +2602,14 @@ export declare const v4: Elysia<"/v4", {
|
|
2602
2602
|
explorerAddress: string | undefined;
|
2603
2603
|
tags: string[];
|
2604
2604
|
} | {
|
2605
|
+
Protocols: {
|
2606
|
+
name: string;
|
2607
|
+
description: string;
|
2608
|
+
id: string;
|
2609
|
+
url: string;
|
2610
|
+
icon: string;
|
2611
|
+
tags: string[];
|
2612
|
+
}[];
|
2605
2613
|
Tokens: {
|
2606
2614
|
symbol: string;
|
2607
2615
|
name: string | null;
|
@@ -2618,14 +2626,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2618
2626
|
verified: boolean;
|
2619
2627
|
displaySymbol: string;
|
2620
2628
|
}[];
|
2621
|
-
Protocols: {
|
2622
|
-
name: string;
|
2623
|
-
description: string;
|
2624
|
-
id: string;
|
2625
|
-
url: string;
|
2626
|
-
icon: string;
|
2627
|
-
tags: string[];
|
2628
|
-
}[];
|
2629
2629
|
name: string;
|
2630
2630
|
apr: number;
|
2631
2631
|
tvl: number;
|
@@ -2636,11 +2636,11 @@ export declare const v4: Elysia<"/v4", {
|
|
2636
2636
|
action: import("@package/databases").OpportunityAction;
|
2637
2637
|
type: string;
|
2638
2638
|
depositUrl: string | null;
|
2639
|
-
explorerAddress: string | null;
|
2640
|
-
howToSteps: string[];
|
2641
|
-
mainProtocolId: string | null;
|
2642
2639
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
2643
2640
|
identifier: string;
|
2641
|
+
howToSteps: string[];
|
2642
|
+
explorerAddress: string | null;
|
2643
|
+
mainProtocolId: string | null;
|
2644
2644
|
dailyRewards: number;
|
2645
2645
|
tags: string[];
|
2646
2646
|
lastCampaignCreatedAt: Date;
|
@@ -2677,18 +2677,18 @@ export declare const v4: Elysia<"/v4", {
|
|
2677
2677
|
campaignId: string;
|
2678
2678
|
description: string | null;
|
2679
2679
|
id: string;
|
2680
|
-
params: import("@prisma/client/runtime/
|
2680
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
2681
2681
|
amount: string;
|
2682
2682
|
startTimestamp: bigint;
|
2683
2683
|
type: string;
|
2684
2684
|
computeChainId: number;
|
2685
2685
|
distributionChainId: number;
|
2686
2686
|
endTimestamp: bigint;
|
2687
|
-
opportunityId: string;
|
2688
|
-
creatorAddress: string;
|
2689
2687
|
distributionType: import("@package/databases").DistributionType;
|
2690
2688
|
subType: number | null;
|
2691
2689
|
rewardTokenId: string;
|
2690
|
+
opportunityId: string;
|
2691
|
+
creatorAddress: string;
|
2692
2692
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
2693
2693
|
createdAt: Date;
|
2694
2694
|
rootCampaignId: string | null;
|
@@ -2726,6 +2726,14 @@ export declare const v4: Elysia<"/v4", {
|
|
2726
2726
|
explorerAddress: string | undefined;
|
2727
2727
|
tags: string[];
|
2728
2728
|
} | {
|
2729
|
+
Protocols: {
|
2730
|
+
name: string;
|
2731
|
+
description: string;
|
2732
|
+
id: string;
|
2733
|
+
url: string;
|
2734
|
+
icon: string;
|
2735
|
+
tags: string[];
|
2736
|
+
}[];
|
2729
2737
|
Tokens: {
|
2730
2738
|
symbol: string;
|
2731
2739
|
name: string | null;
|
@@ -2742,14 +2750,6 @@ export declare const v4: Elysia<"/v4", {
|
|
2742
2750
|
verified: boolean;
|
2743
2751
|
displaySymbol: string;
|
2744
2752
|
}[];
|
2745
|
-
Protocols: {
|
2746
|
-
name: string;
|
2747
|
-
description: string;
|
2748
|
-
id: string;
|
2749
|
-
url: string;
|
2750
|
-
icon: string;
|
2751
|
-
tags: string[];
|
2752
|
-
}[];
|
2753
2753
|
name: string;
|
2754
2754
|
apr: number;
|
2755
2755
|
tvl: number;
|
@@ -2760,11 +2760,11 @@ export declare const v4: Elysia<"/v4", {
|
|
2760
2760
|
action: import("@package/databases").OpportunityAction;
|
2761
2761
|
type: string;
|
2762
2762
|
depositUrl: string | null;
|
2763
|
-
explorerAddress: string | null;
|
2764
|
-
howToSteps: string[];
|
2765
|
-
mainProtocolId: string | null;
|
2766
2763
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
2767
2764
|
identifier: string;
|
2765
|
+
howToSteps: string[];
|
2766
|
+
explorerAddress: string | null;
|
2767
|
+
mainProtocolId: string | null;
|
2768
2768
|
dailyRewards: number;
|
2769
2769
|
tags: string[];
|
2770
2770
|
lastCampaignCreatedAt: Date;
|
@@ -4349,7 +4349,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4349
4349
|
200: {
|
4350
4350
|
symbol: string;
|
4351
4351
|
id: number;
|
4352
|
-
args: import("@prisma/client/runtime/
|
4352
|
+
args: import("@prisma/client/runtime/client").JsonValue | null;
|
4353
4353
|
method: import("@package/databases").PriceSourceMethod;
|
4354
4354
|
}[];
|
4355
4355
|
};
|
@@ -4370,7 +4370,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4370
4370
|
200: {
|
4371
4371
|
symbol: string;
|
4372
4372
|
id: number;
|
4373
|
-
args: import("@prisma/client/runtime/
|
4373
|
+
args: import("@prisma/client/runtime/client").JsonValue | null;
|
4374
4374
|
method: import("@package/databases").PriceSourceMethod;
|
4375
4375
|
};
|
4376
4376
|
422: {
|
@@ -4435,7 +4435,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4435
4435
|
200: {
|
4436
4436
|
symbol: string;
|
4437
4437
|
id: number;
|
4438
|
-
args: import("@prisma/client/runtime/
|
4438
|
+
args: import("@prisma/client/runtime/client").JsonValue | null;
|
4439
4439
|
method: import("@package/databases").PriceSourceMethod;
|
4440
4440
|
};
|
4441
4441
|
422: {
|
@@ -4469,7 +4469,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4469
4469
|
200: {
|
4470
4470
|
symbol: string;
|
4471
4471
|
id: number;
|
4472
|
-
args: import("@prisma/client/runtime/
|
4472
|
+
args: import("@prisma/client/runtime/client").JsonValue | null;
|
4473
4473
|
method: import("@package/databases").PriceSourceMethod;
|
4474
4474
|
};
|
4475
4475
|
422: {
|
@@ -4503,7 +4503,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4503
4503
|
chainId: number;
|
4504
4504
|
userAddress: string;
|
4505
4505
|
arrestTimestamp: bigint;
|
4506
|
-
arrestDetails: import("@prisma/client/runtime/
|
4506
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
4507
4507
|
}[];
|
4508
4508
|
};
|
4509
4509
|
};
|
@@ -4570,7 +4570,7 @@ export declare const v4: Elysia<"/v4", {
|
|
4570
4570
|
chainId: number;
|
4571
4571
|
userAddress: string;
|
4572
4572
|
arrestTimestamp: bigint;
|
4573
|
-
arrestDetails: import("@prisma/client/runtime/
|
4573
|
+
arrestDetails: import("@prisma/client/runtime/client").JsonValue;
|
4574
4574
|
};
|
4575
4575
|
422: {
|
4576
4576
|
type: "validation";
|
@@ -4817,6 +4817,14 @@ export declare const v4: Elysia<"/v4", {
|
|
4817
4817
|
id: number;
|
4818
4818
|
icon: string;
|
4819
4819
|
};
|
4820
|
+
Protocols: {
|
4821
|
+
name: string;
|
4822
|
+
description: string;
|
4823
|
+
id: string;
|
4824
|
+
url: string;
|
4825
|
+
icon: string;
|
4826
|
+
tags: string[];
|
4827
|
+
}[];
|
4820
4828
|
Tokens: {
|
4821
4829
|
symbol: string;
|
4822
4830
|
name: string | null;
|
@@ -4833,14 +4841,6 @@ export declare const v4: Elysia<"/v4", {
|
|
4833
4841
|
verified: boolean;
|
4834
4842
|
displaySymbol: string;
|
4835
4843
|
}[];
|
4836
|
-
Protocols: {
|
4837
|
-
name: string;
|
4838
|
-
description: string;
|
4839
|
-
id: string;
|
4840
|
-
url: string;
|
4841
|
-
icon: string;
|
4842
|
-
tags: string[];
|
4843
|
-
}[];
|
4844
4844
|
MainProtocol: {
|
4845
4845
|
name: string;
|
4846
4846
|
description: string;
|
@@ -4860,11 +4860,11 @@ export declare const v4: Elysia<"/v4", {
|
|
4860
4860
|
action: import("@package/databases").OpportunityAction;
|
4861
4861
|
type: string;
|
4862
4862
|
depositUrl: string | null;
|
4863
|
-
explorerAddress: string | null;
|
4864
|
-
howToSteps: string[];
|
4865
|
-
mainProtocolId: string | null;
|
4866
4863
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
4867
4864
|
identifier: string;
|
4865
|
+
howToSteps: string[];
|
4866
|
+
explorerAddress: string | null;
|
4867
|
+
mainProtocolId: string | null;
|
4868
4868
|
dailyRewards: number;
|
4869
4869
|
tags: string[];
|
4870
4870
|
lastCampaignCreatedAt: Date;
|
@@ -5622,7 +5622,7 @@ export declare const v4: Elysia<"/v4", {
|
|
5622
5622
|
campaignId: string;
|
5623
5623
|
error: string;
|
5624
5624
|
status: import("@package/databases").RunStatus;
|
5625
|
-
details: import("@prisma/client/runtime/
|
5625
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
5626
5626
|
computedUntil: bigint;
|
5627
5627
|
processingStarted: bigint;
|
5628
5628
|
}[];
|
@@ -5651,14 +5651,14 @@ export declare const v4: Elysia<"/v4", {
|
|
5651
5651
|
campaignId: string;
|
5652
5652
|
error: string;
|
5653
5653
|
status: import("@package/databases").RunStatus;
|
5654
|
-
details: import("@prisma/client/runtime/
|
5654
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
5655
5655
|
computedUntil: bigint;
|
5656
5656
|
processingStarted: bigint;
|
5657
5657
|
}[] | {
|
5658
5658
|
campaignId: string;
|
5659
5659
|
error: string;
|
5660
5660
|
status: import("@package/databases").RunStatus;
|
5661
|
-
details: import("@prisma/client/runtime/
|
5661
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
5662
5662
|
computedUntil: bigint;
|
5663
5663
|
processingStarted: bigint;
|
5664
5664
|
};
|
@@ -5695,24 +5695,24 @@ export declare const v4: Elysia<"/v4", {
|
|
5695
5695
|
computeChainId: number;
|
5696
5696
|
distributionChainId: number;
|
5697
5697
|
endTimestamp: bigint;
|
5698
|
-
RewardToken: {
|
5699
|
-
symbol: string;
|
5700
|
-
address: string;
|
5701
|
-
isTest: boolean;
|
5702
|
-
};
|
5703
|
-
Opportunity: {
|
5704
|
-
name: string;
|
5705
|
-
type: string;
|
5706
|
-
identifier: string;
|
5707
|
-
};
|
5708
5698
|
CampaignStatus: {
|
5709
5699
|
campaignId: string;
|
5710
5700
|
error: string;
|
5711
5701
|
status: import("@package/databases").RunStatus;
|
5712
|
-
details: import("@prisma/client/runtime/
|
5702
|
+
details: import("@prisma/client/runtime/client").JsonValue;
|
5713
5703
|
computedUntil: bigint;
|
5714
5704
|
processingStarted: bigint;
|
5715
5705
|
}[];
|
5706
|
+
Opportunity: {
|
5707
|
+
name: string;
|
5708
|
+
type: string;
|
5709
|
+
identifier: string;
|
5710
|
+
};
|
5711
|
+
RewardToken: {
|
5712
|
+
symbol: string;
|
5713
|
+
address: string;
|
5714
|
+
isTest: boolean;
|
5715
|
+
};
|
5716
5716
|
}[];
|
5717
5717
|
422: {
|
5718
5718
|
type: "validation";
|
@@ -7460,11 +7460,11 @@ export declare const v4: Elysia<"/v4", {
|
|
7460
7460
|
action: import("@package/databases").OpportunityAction;
|
7461
7461
|
type: string;
|
7462
7462
|
depositUrl: string | null;
|
7463
|
-
explorerAddress: string | null;
|
7464
|
-
howToSteps: string[];
|
7465
|
-
mainProtocolId: string | null;
|
7466
7463
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7467
7464
|
identifier: string;
|
7465
|
+
howToSteps: string[];
|
7466
|
+
explorerAddress: string | null;
|
7467
|
+
mainProtocolId: string | null;
|
7468
7468
|
dailyRewards: number;
|
7469
7469
|
tags: string[];
|
7470
7470
|
lastCampaignCreatedAt: Date;
|
@@ -7473,18 +7473,18 @@ export declare const v4: Elysia<"/v4", {
|
|
7473
7473
|
campaignId: string;
|
7474
7474
|
description: string | null;
|
7475
7475
|
id: string;
|
7476
|
-
params: import("@prisma/client/runtime/
|
7476
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
7477
7477
|
amount: string;
|
7478
7478
|
startTimestamp: bigint;
|
7479
7479
|
type: string;
|
7480
7480
|
computeChainId: number;
|
7481
7481
|
distributionChainId: number;
|
7482
7482
|
endTimestamp: bigint;
|
7483
|
-
opportunityId: string;
|
7484
|
-
creatorAddress: string;
|
7485
7483
|
distributionType: import("@package/databases").DistributionType;
|
7486
7484
|
subType: number | null;
|
7487
7485
|
rewardTokenId: string;
|
7486
|
+
opportunityId: string;
|
7487
|
+
creatorAddress: string;
|
7488
7488
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
7489
7489
|
createdAt: Date;
|
7490
7490
|
rootCampaignId: string | null;
|
@@ -7531,11 +7531,11 @@ export declare const v4: Elysia<"/v4", {
|
|
7531
7531
|
action: import("@package/databases").OpportunityAction;
|
7532
7532
|
type: string;
|
7533
7533
|
depositUrl: string | null;
|
7534
|
-
explorerAddress: string | null;
|
7535
|
-
howToSteps: string[];
|
7536
|
-
mainProtocolId: string | null;
|
7537
7534
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
7538
7535
|
identifier: string;
|
7536
|
+
howToSteps: string[];
|
7537
|
+
explorerAddress: string | null;
|
7538
|
+
mainProtocolId: string | null;
|
7539
7539
|
dailyRewards: number;
|
7540
7540
|
tags: string[];
|
7541
7541
|
lastCampaignCreatedAt: Date;
|
@@ -7544,18 +7544,18 @@ export declare const v4: Elysia<"/v4", {
|
|
7544
7544
|
campaignId: string;
|
7545
7545
|
description: string | null;
|
7546
7546
|
id: string;
|
7547
|
-
params: import("@prisma/client/runtime/
|
7547
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
7548
7548
|
amount: string;
|
7549
7549
|
startTimestamp: bigint;
|
7550
7550
|
type: string;
|
7551
7551
|
computeChainId: number;
|
7552
7552
|
distributionChainId: number;
|
7553
7553
|
endTimestamp: bigint;
|
7554
|
-
opportunityId: string;
|
7555
|
-
creatorAddress: string;
|
7556
7554
|
distributionType: import("@package/databases").DistributionType;
|
7557
7555
|
subType: number | null;
|
7558
7556
|
rewardTokenId: string;
|
7557
|
+
opportunityId: string;
|
7558
|
+
creatorAddress: string;
|
7559
7559
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
7560
7560
|
createdAt: Date;
|
7561
7561
|
rootCampaignId: string | null;
|
@@ -7949,6 +7949,9 @@ export declare const v4: Elysia<"/v4", {
|
|
7949
7949
|
747474?: {
|
7950
7950
|
[poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
|
7951
7951
|
} | undefined;
|
7952
|
+
151?: {
|
7953
|
+
[poolId: string]: import("@angleprotocol/sdk/ts").UniswapV4PoolType;
|
7954
|
+
} | undefined;
|
7952
7955
|
};
|
7953
7956
|
};
|
7954
7957
|
};
|
@@ -8405,8 +8408,8 @@ export declare const v4: Elysia<"/v4", {
|
|
8405
8408
|
NodesSources: {
|
8406
8409
|
id: string;
|
8407
8410
|
chainId: number;
|
8408
|
-
lastFetchedBlockNumber: number;
|
8409
8411
|
source: string;
|
8412
|
+
lastFetchedBlockNumber: number;
|
8410
8413
|
topics: string[];
|
8411
8414
|
};
|
8412
8415
|
}[];
|