@merkl/api 1.1.46 → 1.1.49
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 +164 -38
- package/dist/src/index.d.ts +82 -19
- package/dist/src/modules/v4/apr/apr.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +13 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +6 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +41 -8
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +18 -4
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +15 -3
- package/dist/src/modules/v4/chain/chain.controller.d.ts +9 -0
- package/dist/src/modules/v4/chain/chain.model.d.ts +3 -0
- package/dist/src/modules/v4/chain/chain.repository.d.ts +12 -0
- package/dist/src/modules/v4/chain/chain.service.d.ts +14 -0
- package/dist/src/modules/v4/creator/creator.controller.d.ts +6 -2
- package/dist/src/modules/v4/creator/creator.repository.d.ts +3 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +6 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +21 -7
- package/dist/src/modules/v4/opportunity/opportunity.formatter.d.ts +10 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +9 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +91 -17
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +24 -8
- package/dist/src/modules/v4/payload/payload.controller.d.ts +13 -4
- package/dist/src/modules/v4/payload/payload.model.d.ts +9 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +3 -1
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -1
- package/dist/src/modules/v4/reward/reward.service.d.ts +24 -7
- package/dist/src/modules/v4/router.d.ts +82 -19
- package/dist/src/modules/v4/status/status.controller.d.ts +0 -1
- package/dist/src/modules/v4/status/status.service.d.ts +0 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +5 -1
- package/dist/src/modules/v4/user/user.model.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -45,20 +45,22 @@ export declare abstract class OpportunityRepository {
|
|
45
45
|
action: import("@package/databases").OpportunityAction;
|
46
46
|
type: string;
|
47
47
|
depositUrl: string | null;
|
48
|
+
dailyRewards: number;
|
48
49
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
49
50
|
identifier: string;
|
50
51
|
howToSteps: string[];
|
51
52
|
explorerAddress: string | null;
|
52
53
|
mainProtocolId: string | null;
|
53
|
-
dailyRewards: number;
|
54
54
|
tags: string[];
|
55
55
|
lastCampaignCreatedAt: Date;
|
56
56
|
}>;
|
57
57
|
static findUnique(id: string): Promise<({
|
58
58
|
Chain: {
|
59
59
|
name: string;
|
60
|
+
endOfDisputePeriod: number;
|
60
61
|
id: number;
|
61
62
|
icon: string;
|
63
|
+
liveCampaigns: number;
|
62
64
|
};
|
63
65
|
Campaigns: ({
|
64
66
|
RewardToken: {
|
@@ -77,6 +79,7 @@ export declare abstract class OpportunityRepository {
|
|
77
79
|
displaySymbol: string;
|
78
80
|
};
|
79
81
|
} & {
|
82
|
+
apr: number;
|
80
83
|
campaignId: string;
|
81
84
|
description: string | null;
|
82
85
|
id: string;
|
@@ -91,6 +94,7 @@ export declare abstract class OpportunityRepository {
|
|
91
94
|
subType: number | null;
|
92
95
|
rewardTokenId: string;
|
93
96
|
opportunityId: string;
|
97
|
+
dailyRewards: number;
|
94
98
|
creatorAddress: string;
|
95
99
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
96
100
|
createdAt: Date;
|
@@ -143,6 +147,7 @@ export declare abstract class OpportunityRepository {
|
|
143
147
|
AprRecords: ({
|
144
148
|
AprBreakdown: {
|
145
149
|
value: number;
|
150
|
+
timestamp: bigint;
|
146
151
|
type: import("@package/databases").AprType;
|
147
152
|
identifier: string;
|
148
153
|
}[];
|
@@ -188,6 +193,7 @@ export declare abstract class OpportunityRepository {
|
|
188
193
|
campaignId: string;
|
189
194
|
id: string;
|
190
195
|
value: number;
|
196
|
+
timestamp: bigint;
|
191
197
|
dailyRewardsRecordId: string;
|
192
198
|
})[];
|
193
199
|
} & {
|
@@ -207,22 +213,25 @@ export declare abstract class OpportunityRepository {
|
|
207
213
|
action: import("@package/databases").OpportunityAction;
|
208
214
|
type: string;
|
209
215
|
depositUrl: string | null;
|
216
|
+
dailyRewards: number;
|
210
217
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
211
218
|
identifier: string;
|
212
219
|
howToSteps: string[];
|
213
220
|
explorerAddress: string | null;
|
214
221
|
mainProtocolId: string | null;
|
215
|
-
dailyRewards: number;
|
216
222
|
tags: string[];
|
217
223
|
lastCampaignCreatedAt: Date;
|
218
224
|
}) | null>;
|
219
225
|
static findUniqueOrThrow(id: string, query: FindOpportunityModel): Promise<{
|
220
226
|
Chain: {
|
221
227
|
name: string;
|
228
|
+
endOfDisputePeriod: number;
|
222
229
|
id: number;
|
223
230
|
icon: string;
|
231
|
+
liveCampaigns: number;
|
224
232
|
};
|
225
233
|
Campaigns: {
|
234
|
+
apr: number;
|
226
235
|
campaignId: string;
|
227
236
|
description: string | null;
|
228
237
|
id: string;
|
@@ -237,6 +246,7 @@ export declare abstract class OpportunityRepository {
|
|
237
246
|
subType: number | null;
|
238
247
|
rewardTokenId: string;
|
239
248
|
opportunityId: string;
|
249
|
+
dailyRewards: number;
|
240
250
|
creatorAddress: string;
|
241
251
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
242
252
|
createdAt: Date;
|
@@ -289,6 +299,7 @@ export declare abstract class OpportunityRepository {
|
|
289
299
|
AprRecords: ({
|
290
300
|
AprBreakdown: {
|
291
301
|
value: number;
|
302
|
+
timestamp: bigint;
|
292
303
|
type: import("@package/databases").AprType;
|
293
304
|
identifier: string;
|
294
305
|
}[];
|
@@ -334,6 +345,7 @@ export declare abstract class OpportunityRepository {
|
|
334
345
|
campaignId: string;
|
335
346
|
id: string;
|
336
347
|
value: number;
|
348
|
+
timestamp: bigint;
|
337
349
|
dailyRewardsRecordId: string;
|
338
350
|
})[];
|
339
351
|
} & {
|
@@ -353,12 +365,12 @@ export declare abstract class OpportunityRepository {
|
|
353
365
|
action: import("@package/databases").OpportunityAction;
|
354
366
|
type: string;
|
355
367
|
depositUrl: string | null;
|
368
|
+
dailyRewards: number;
|
356
369
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
357
370
|
identifier: string;
|
358
371
|
howToSteps: string[];
|
359
372
|
explorerAddress: string | null;
|
360
373
|
mainProtocolId: string | null;
|
361
|
-
dailyRewards: number;
|
362
374
|
tags: string[];
|
363
375
|
lastCampaignCreatedAt: Date;
|
364
376
|
}>;
|
@@ -375,8 +387,10 @@ export declare abstract class OpportunityRepository {
|
|
375
387
|
}[];
|
376
388
|
} & {
|
377
389
|
name: string;
|
390
|
+
endOfDisputePeriod: number;
|
378
391
|
id: number;
|
379
392
|
icon: string;
|
393
|
+
liveCampaigns: number;
|
380
394
|
};
|
381
395
|
Campaigns: ({
|
382
396
|
CampaignStatus: {
|
@@ -387,6 +401,26 @@ export declare abstract class OpportunityRepository {
|
|
387
401
|
computedUntil: bigint;
|
388
402
|
processingStarted: bigint;
|
389
403
|
}[];
|
404
|
+
Opportunity: {
|
405
|
+
name: string;
|
406
|
+
apr: number;
|
407
|
+
tvl: number;
|
408
|
+
description: string;
|
409
|
+
id: string;
|
410
|
+
status: import("@package/databases").Status;
|
411
|
+
chainId: number;
|
412
|
+
action: import("@package/databases").OpportunityAction;
|
413
|
+
type: string;
|
414
|
+
depositUrl: string | null;
|
415
|
+
dailyRewards: number;
|
416
|
+
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
417
|
+
identifier: string;
|
418
|
+
howToSteps: string[];
|
419
|
+
explorerAddress: string | null;
|
420
|
+
mainProtocolId: string | null;
|
421
|
+
tags: string[];
|
422
|
+
lastCampaignCreatedAt: Date;
|
423
|
+
};
|
390
424
|
Creator: {
|
391
425
|
address: string;
|
392
426
|
tags: string[];
|
@@ -394,20 +428,17 @@ export declare abstract class OpportunityRepository {
|
|
394
428
|
};
|
395
429
|
ComputeChain: {
|
396
430
|
name: string;
|
431
|
+
endOfDisputePeriod: number;
|
397
432
|
id: number;
|
398
433
|
icon: string;
|
434
|
+
liveCampaigns: number;
|
399
435
|
};
|
400
436
|
DistributionChain: {
|
401
|
-
Explorer: {
|
402
|
-
id: string;
|
403
|
-
chainId: number;
|
404
|
-
type: import("@package/databases").ExplorerType;
|
405
|
-
url: string;
|
406
|
-
}[];
|
407
|
-
} & {
|
408
437
|
name: string;
|
438
|
+
endOfDisputePeriod: number;
|
409
439
|
id: number;
|
410
440
|
icon: string;
|
441
|
+
liveCampaigns: number;
|
411
442
|
};
|
412
443
|
RewardToken: {
|
413
444
|
symbol: string;
|
@@ -425,6 +456,7 @@ export declare abstract class OpportunityRepository {
|
|
425
456
|
displaySymbol: string;
|
426
457
|
};
|
427
458
|
} & {
|
459
|
+
apr: number;
|
428
460
|
campaignId: string;
|
429
461
|
description: string | null;
|
430
462
|
id: string;
|
@@ -439,6 +471,7 @@ export declare abstract class OpportunityRepository {
|
|
439
471
|
subType: number | null;
|
440
472
|
rewardTokenId: string;
|
441
473
|
opportunityId: string;
|
474
|
+
dailyRewards: number;
|
442
475
|
creatorAddress: string;
|
443
476
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
444
477
|
createdAt: Date;
|
@@ -491,6 +524,7 @@ export declare abstract class OpportunityRepository {
|
|
491
524
|
AprRecords: ({
|
492
525
|
AprBreakdown: {
|
493
526
|
value: number;
|
527
|
+
timestamp: bigint;
|
494
528
|
type: import("@package/databases").AprType;
|
495
529
|
identifier: string;
|
496
530
|
}[];
|
@@ -536,6 +570,7 @@ export declare abstract class OpportunityRepository {
|
|
536
570
|
campaignId: string;
|
537
571
|
id: string;
|
538
572
|
value: number;
|
573
|
+
timestamp: bigint;
|
539
574
|
dailyRewardsRecordId: string;
|
540
575
|
})[];
|
541
576
|
} & {
|
@@ -555,12 +590,12 @@ export declare abstract class OpportunityRepository {
|
|
555
590
|
action: import("@package/databases").OpportunityAction;
|
556
591
|
type: string;
|
557
592
|
depositUrl: string | null;
|
593
|
+
dailyRewards: number;
|
558
594
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
559
595
|
identifier: string;
|
560
596
|
howToSteps: string[];
|
561
597
|
explorerAddress: string | null;
|
562
598
|
mainProtocolId: string | null;
|
563
|
-
dailyRewards: number;
|
564
599
|
tags: string[];
|
565
600
|
lastCampaignCreatedAt: Date;
|
566
601
|
})[]>;
|
@@ -574,10 +609,13 @@ export declare abstract class OpportunityRepository {
|
|
574
609
|
}[];
|
575
610
|
} & {
|
576
611
|
name: string;
|
612
|
+
endOfDisputePeriod: number;
|
577
613
|
id: number;
|
578
614
|
icon: string;
|
615
|
+
liveCampaigns: number;
|
579
616
|
};
|
580
617
|
Campaigns: {
|
618
|
+
apr: number;
|
581
619
|
campaignId: string;
|
582
620
|
description: string | null;
|
583
621
|
id: string;
|
@@ -592,6 +630,7 @@ export declare abstract class OpportunityRepository {
|
|
592
630
|
subType: number | null;
|
593
631
|
rewardTokenId: string;
|
594
632
|
opportunityId: string;
|
633
|
+
dailyRewards: number;
|
595
634
|
creatorAddress: string;
|
596
635
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
597
636
|
createdAt: Date;
|
@@ -644,6 +683,7 @@ export declare abstract class OpportunityRepository {
|
|
644
683
|
AprRecords: ({
|
645
684
|
AprBreakdown: {
|
646
685
|
value: number;
|
686
|
+
timestamp: bigint;
|
647
687
|
type: import("@package/databases").AprType;
|
648
688
|
identifier: string;
|
649
689
|
}[];
|
@@ -689,6 +729,7 @@ export declare abstract class OpportunityRepository {
|
|
689
729
|
campaignId: string;
|
690
730
|
id: string;
|
691
731
|
value: number;
|
732
|
+
timestamp: bigint;
|
692
733
|
dailyRewardsRecordId: string;
|
693
734
|
})[];
|
694
735
|
} & {
|
@@ -708,12 +749,12 @@ export declare abstract class OpportunityRepository {
|
|
708
749
|
action: import("@package/databases").OpportunityAction;
|
709
750
|
type: string;
|
710
751
|
depositUrl: string | null;
|
752
|
+
dailyRewards: number;
|
711
753
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
712
754
|
identifier: string;
|
713
755
|
howToSteps: string[];
|
714
756
|
explorerAddress: string | null;
|
715
757
|
mainProtocolId: string | null;
|
716
|
-
dailyRewards: number;
|
717
758
|
tags: string[];
|
718
759
|
lastCampaignCreatedAt: Date;
|
719
760
|
})[]>;
|
@@ -735,8 +776,10 @@ export declare abstract class OpportunityRepository {
|
|
735
776
|
}[];
|
736
777
|
} & {
|
737
778
|
name: string;
|
779
|
+
endOfDisputePeriod: number;
|
738
780
|
id: number;
|
739
781
|
icon: string;
|
782
|
+
liveCampaigns: number;
|
740
783
|
};
|
741
784
|
Campaigns: ({
|
742
785
|
CampaignStatus: {
|
@@ -754,8 +797,10 @@ export declare abstract class OpportunityRepository {
|
|
754
797
|
};
|
755
798
|
ComputeChain: {
|
756
799
|
name: string;
|
800
|
+
endOfDisputePeriod: number;
|
757
801
|
id: number;
|
758
802
|
icon: string;
|
803
|
+
liveCampaigns: number;
|
759
804
|
};
|
760
805
|
DistributionChain: {
|
761
806
|
Explorer: {
|
@@ -766,8 +811,10 @@ export declare abstract class OpportunityRepository {
|
|
766
811
|
}[];
|
767
812
|
} & {
|
768
813
|
name: string;
|
814
|
+
endOfDisputePeriod: number;
|
769
815
|
id: number;
|
770
816
|
icon: string;
|
817
|
+
liveCampaigns: number;
|
771
818
|
};
|
772
819
|
RewardToken: {
|
773
820
|
symbol: string;
|
@@ -785,6 +832,7 @@ export declare abstract class OpportunityRepository {
|
|
785
832
|
displaySymbol: string;
|
786
833
|
};
|
787
834
|
} & {
|
835
|
+
apr: number;
|
788
836
|
campaignId: string;
|
789
837
|
description: string | null;
|
790
838
|
id: string;
|
@@ -799,6 +847,7 @@ export declare abstract class OpportunityRepository {
|
|
799
847
|
subType: number | null;
|
800
848
|
rewardTokenId: string;
|
801
849
|
opportunityId: string;
|
850
|
+
dailyRewards: number;
|
802
851
|
creatorAddress: string;
|
803
852
|
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
804
853
|
createdAt: Date;
|
@@ -851,6 +900,7 @@ export declare abstract class OpportunityRepository {
|
|
851
900
|
AprRecords: ({
|
852
901
|
AprBreakdown: {
|
853
902
|
value: number;
|
903
|
+
timestamp: bigint;
|
854
904
|
type: import("@package/databases").AprType;
|
855
905
|
identifier: string;
|
856
906
|
}[];
|
@@ -896,6 +946,7 @@ export declare abstract class OpportunityRepository {
|
|
896
946
|
campaignId: string;
|
897
947
|
id: string;
|
898
948
|
value: number;
|
949
|
+
timestamp: bigint;
|
899
950
|
dailyRewardsRecordId: string;
|
900
951
|
})[];
|
901
952
|
} & {
|
@@ -915,12 +966,12 @@ export declare abstract class OpportunityRepository {
|
|
915
966
|
action: import("@package/databases").OpportunityAction;
|
916
967
|
type: string;
|
917
968
|
depositUrl: string | null;
|
969
|
+
dailyRewards: number;
|
918
970
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
919
971
|
identifier: string;
|
920
972
|
howToSteps: string[];
|
921
973
|
explorerAddress: string | null;
|
922
974
|
mainProtocolId: string | null;
|
923
|
-
dailyRewards: number;
|
924
975
|
tags: string[];
|
925
976
|
lastCampaignCreatedAt: Date;
|
926
977
|
})[]>;
|
@@ -957,6 +1008,7 @@ export declare abstract class OpportunityRepository {
|
|
957
1008
|
campaignId: string;
|
958
1009
|
id: string;
|
959
1010
|
value: number;
|
1011
|
+
timestamp: bigint;
|
960
1012
|
dailyRewardsRecordId: string;
|
961
1013
|
}[];
|
962
1014
|
} & {
|
@@ -965,7 +1017,7 @@ export declare abstract class OpportunityRepository {
|
|
965
1017
|
opportunityId: string;
|
966
1018
|
total: number;
|
967
1019
|
};
|
968
|
-
opportunity: {
|
1020
|
+
opportunity: Prisma.BatchPayload | {
|
969
1021
|
name: string;
|
970
1022
|
apr: number;
|
971
1023
|
tvl: number;
|
@@ -976,14 +1028,36 @@ export declare abstract class OpportunityRepository {
|
|
976
1028
|
action: import("@package/databases").OpportunityAction;
|
977
1029
|
type: string;
|
978
1030
|
depositUrl: string | null;
|
1031
|
+
dailyRewards: number;
|
979
1032
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
980
1033
|
identifier: string;
|
981
1034
|
howToSteps: string[];
|
982
1035
|
explorerAddress: string | null;
|
983
1036
|
mainProtocolId: string | null;
|
984
|
-
dailyRewards: number;
|
985
1037
|
tags: string[];
|
986
1038
|
lastCampaignCreatedAt: Date;
|
1039
|
+
} | {
|
1040
|
+
apr: number;
|
1041
|
+
campaignId: string;
|
1042
|
+
description: string | null;
|
1043
|
+
id: string;
|
1044
|
+
params: import("@prisma/client/runtime/client").JsonValue;
|
1045
|
+
amount: string;
|
1046
|
+
startTimestamp: bigint;
|
1047
|
+
type: string;
|
1048
|
+
computeChainId: number;
|
1049
|
+
distributionChainId: number;
|
1050
|
+
endTimestamp: bigint;
|
1051
|
+
distributionType: import("@package/databases").DistributionType;
|
1052
|
+
subType: number | null;
|
1053
|
+
rewardTokenId: string;
|
1054
|
+
opportunityId: string;
|
1055
|
+
dailyRewards: number;
|
1056
|
+
creatorAddress: string;
|
1057
|
+
manualOverrides: import("@package/databases").CampaignManualOverride[];
|
1058
|
+
createdAt: Date;
|
1059
|
+
rootCampaignId: string | null;
|
1060
|
+
parentCampaignId: string | null;
|
987
1061
|
};
|
988
1062
|
}>;
|
989
1063
|
static updateStatus(id: string, status: Status): Promise<{
|
@@ -997,12 +1071,12 @@ export declare abstract class OpportunityRepository {
|
|
997
1071
|
action: import("@package/databases").OpportunityAction;
|
998
1072
|
type: string;
|
999
1073
|
depositUrl: string | null;
|
1074
|
+
dailyRewards: number;
|
1000
1075
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1001
1076
|
identifier: string;
|
1002
1077
|
howToSteps: string[];
|
1003
1078
|
explorerAddress: string | null;
|
1004
1079
|
mainProtocolId: string | null;
|
1005
|
-
dailyRewards: number;
|
1006
1080
|
tags: string[];
|
1007
1081
|
lastCampaignCreatedAt: Date;
|
1008
1082
|
}>;
|
@@ -1017,12 +1091,12 @@ export declare abstract class OpportunityRepository {
|
|
1017
1091
|
action: import("@package/databases").OpportunityAction;
|
1018
1092
|
type: string;
|
1019
1093
|
depositUrl: string | null;
|
1094
|
+
dailyRewards: number;
|
1020
1095
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
1021
1096
|
identifier: string;
|
1022
1097
|
howToSteps: string[];
|
1023
1098
|
explorerAddress: string | null;
|
1024
1099
|
mainProtocolId: string | null;
|
1025
|
-
dailyRewards: number;
|
1026
1100
|
tags: string[];
|
1027
1101
|
lastCampaignCreatedAt: Date;
|
1028
1102
|
}>;
|
@@ -42,12 +42,12 @@ export declare abstract class OpportunityService {
|
|
42
42
|
action: import("@package/databases").OpportunityAction;
|
43
43
|
type: string;
|
44
44
|
depositUrl: string | null;
|
45
|
+
dailyRewards: number;
|
45
46
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
46
47
|
identifier: string;
|
47
48
|
howToSteps: string[];
|
48
49
|
explorerAddress: string | null;
|
49
50
|
mainProtocolId: string | null;
|
50
|
-
dailyRewards: number;
|
51
51
|
tags: string[];
|
52
52
|
lastCampaignCreatedAt: Date;
|
53
53
|
}>;
|
@@ -117,12 +117,12 @@ export declare abstract class OpportunityService {
|
|
117
117
|
action: import("@package/databases").OpportunityAction;
|
118
118
|
type: string;
|
119
119
|
depositUrl: string | null;
|
120
|
+
dailyRewards: number;
|
120
121
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
121
122
|
identifier: string;
|
122
123
|
howToSteps: string[];
|
123
124
|
explorerAddress: string | null;
|
124
125
|
mainProtocolId: string | null;
|
125
|
-
dailyRewards: number;
|
126
126
|
tags: string[];
|
127
127
|
lastCampaignCreatedAt: Date;
|
128
128
|
})>;
|
@@ -197,12 +197,12 @@ export declare abstract class OpportunityService {
|
|
197
197
|
action: import("@package/databases").OpportunityAction;
|
198
198
|
type: string;
|
199
199
|
depositUrl: string | null;
|
200
|
+
dailyRewards: number;
|
200
201
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
201
202
|
identifier: string;
|
202
203
|
howToSteps: string[];
|
203
204
|
explorerAddress: string | null;
|
204
205
|
mainProtocolId: string | null;
|
205
|
-
dailyRewards: number;
|
206
206
|
tags: string[];
|
207
207
|
lastCampaignCreatedAt: Date;
|
208
208
|
})>;
|
@@ -276,12 +276,12 @@ export declare abstract class OpportunityService {
|
|
276
276
|
action: import("@package/databases").OpportunityAction;
|
277
277
|
type: string;
|
278
278
|
depositUrl: string | null;
|
279
|
+
dailyRewards: number;
|
279
280
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
280
281
|
identifier: string;
|
281
282
|
howToSteps: string[];
|
282
283
|
explorerAddress: string | null;
|
283
284
|
mainProtocolId: string | null;
|
284
|
-
dailyRewards: number;
|
285
285
|
tags: string[];
|
286
286
|
lastCampaignCreatedAt: Date;
|
287
287
|
})>;
|
@@ -394,8 +394,10 @@ export declare abstract class OpportunityService {
|
|
394
394
|
url: string;
|
395
395
|
}[] | undefined;
|
396
396
|
name: string;
|
397
|
+
endOfDisputePeriod: number;
|
397
398
|
id: number;
|
398
399
|
icon: string;
|
400
|
+
liveCampaigns: number;
|
399
401
|
} | undefined;
|
400
402
|
rewardToken: {
|
401
403
|
price?: number | null | undefined;
|
@@ -427,8 +429,10 @@ export declare abstract class OpportunityService {
|
|
427
429
|
url: string;
|
428
430
|
}[] | undefined;
|
429
431
|
name: string;
|
432
|
+
endOfDisputePeriod: number;
|
430
433
|
id: number;
|
431
434
|
icon: string;
|
435
|
+
liveCampaigns: number;
|
432
436
|
};
|
433
437
|
subType: number | null;
|
434
438
|
creatorAddress: string;
|
@@ -443,12 +447,14 @@ export declare abstract class OpportunityService {
|
|
443
447
|
url: string;
|
444
448
|
}[] | undefined;
|
445
449
|
name: string;
|
450
|
+
endOfDisputePeriod: number;
|
446
451
|
id: number;
|
447
452
|
icon: string;
|
453
|
+
liveCampaigns: number;
|
448
454
|
};
|
455
|
+
dailyRewards: number;
|
449
456
|
identifier: string;
|
450
457
|
howToSteps: string[];
|
451
|
-
dailyRewards: number;
|
452
458
|
tags: string[];
|
453
459
|
lastCampaignCreatedAt: number;
|
454
460
|
}[]>;
|
@@ -464,11 +470,13 @@ export declare abstract class OpportunityService {
|
|
464
470
|
timestamp: bigint;
|
465
471
|
breakdowns: ({
|
466
472
|
value: number;
|
473
|
+
timestamp: bigint;
|
467
474
|
distributionType: import("@package/databases").DistributionType;
|
468
475
|
identifier: string;
|
469
476
|
type: "CAMPAIGN";
|
470
477
|
} | {
|
471
478
|
value: number;
|
479
|
+
timestamp: bigint;
|
472
480
|
identifier: string;
|
473
481
|
type: import("@package/databases").AprType;
|
474
482
|
})[];
|
@@ -490,6 +498,7 @@ export declare abstract class OpportunityService {
|
|
490
498
|
breakdowns: {
|
491
499
|
campaignId: string;
|
492
500
|
id: string;
|
501
|
+
timestamp: bigint;
|
493
502
|
dailyRewardsRecordId: string;
|
494
503
|
token: {
|
495
504
|
symbol: string;
|
@@ -531,8 +540,10 @@ export declare abstract class OpportunityService {
|
|
531
540
|
})[];
|
532
541
|
chain: {
|
533
542
|
name: string;
|
543
|
+
endOfDisputePeriod: number;
|
534
544
|
id: number;
|
535
545
|
icon: string;
|
546
|
+
liveCampaigns: number;
|
536
547
|
};
|
537
548
|
protocol: {
|
538
549
|
name: string;
|
@@ -554,9 +565,9 @@ export declare abstract class OpportunityService {
|
|
554
565
|
chainId: number;
|
555
566
|
action: import("@package/databases").OpportunityAction;
|
556
567
|
type: string;
|
568
|
+
dailyRewards: number;
|
557
569
|
identifier: string;
|
558
570
|
howToSteps: string[];
|
559
|
-
dailyRewards: number;
|
560
571
|
tags: string[];
|
561
572
|
}[]>;
|
562
573
|
/**
|
@@ -572,11 +583,13 @@ export declare abstract class OpportunityService {
|
|
572
583
|
timestamp: bigint;
|
573
584
|
breakdowns: ({
|
574
585
|
value: number;
|
586
|
+
timestamp: bigint;
|
575
587
|
distributionType: import("@package/databases").DistributionType;
|
576
588
|
identifier: string;
|
577
589
|
type: "CAMPAIGN";
|
578
590
|
} | {
|
579
591
|
value: number;
|
592
|
+
timestamp: bigint;
|
580
593
|
identifier: string;
|
581
594
|
type: import("@package/databases").AprType;
|
582
595
|
})[];
|
@@ -598,6 +611,7 @@ export declare abstract class OpportunityService {
|
|
598
611
|
breakdowns: {
|
599
612
|
campaignId: string;
|
600
613
|
id: string;
|
614
|
+
timestamp: bigint;
|
601
615
|
dailyRewardsRecordId: string;
|
602
616
|
token: {
|
603
617
|
symbol: string;
|
@@ -639,8 +653,10 @@ export declare abstract class OpportunityService {
|
|
639
653
|
})[];
|
640
654
|
chain: {
|
641
655
|
name: string;
|
656
|
+
endOfDisputePeriod: number;
|
642
657
|
id: number;
|
643
658
|
icon: string;
|
659
|
+
liveCampaigns: number;
|
644
660
|
};
|
645
661
|
protocol: {
|
646
662
|
name: string;
|
@@ -662,9 +678,9 @@ export declare abstract class OpportunityService {
|
|
662
678
|
chainId: number;
|
663
679
|
action: import("@package/databases").OpportunityAction;
|
664
680
|
type: string;
|
681
|
+
dailyRewards: number;
|
665
682
|
identifier: string;
|
666
683
|
howToSteps: string[];
|
667
|
-
dailyRewards: number;
|
668
684
|
tags: string[];
|
669
685
|
}[]>;
|
670
686
|
static aggregate(query: FindManyOpportunityModel, field: keyof Prisma.OpportunitySumAggregateInputType): Promise<{
|
@@ -687,12 +703,12 @@ export declare abstract class OpportunityService {
|
|
687
703
|
action: import("@package/databases").OpportunityAction;
|
688
704
|
type: string;
|
689
705
|
depositUrl: string | null;
|
706
|
+
dailyRewards: number;
|
690
707
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
691
708
|
identifier: string;
|
692
709
|
howToSteps: string[];
|
693
710
|
explorerAddress: string | null;
|
694
711
|
mainProtocolId: string | null;
|
695
|
-
dailyRewards: number;
|
696
712
|
tags: string[];
|
697
713
|
lastCampaignCreatedAt: Date;
|
698
714
|
}>;
|
@@ -53,6 +53,7 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
53
53
|
poolId?: string | undefined;
|
54
54
|
hooks?: {}[] | undefined;
|
55
55
|
isOutOfRangeIncentivized?: boolean | undefined;
|
56
|
+
vaultAddress?: string | undefined;
|
56
57
|
endTimestamp?: number | undefined;
|
57
58
|
blacklist?: string[] | undefined;
|
58
59
|
url?: string | undefined;
|
@@ -64,6 +65,14 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
64
65
|
weightFees?: number | undefined;
|
65
66
|
weightToken0?: number | undefined;
|
66
67
|
weightToken1?: number | undefined;
|
68
|
+
distributionMethodParameters?: {
|
69
|
+
distributionMethod?: string | undefined;
|
70
|
+
distributionSettings?: any;
|
71
|
+
} | undefined;
|
72
|
+
computeScoreParameters?: {
|
73
|
+
computeMethod?: string | undefined;
|
74
|
+
computeSettings?: any;
|
75
|
+
} | undefined;
|
67
76
|
compFork?: number | undefined;
|
68
77
|
rewardsUrl?: string | undefined;
|
69
78
|
dataUrl?: string | undefined;
|
@@ -157,12 +166,12 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
157
166
|
action: import("@package/databases").OpportunityAction;
|
158
167
|
type: string;
|
159
168
|
depositUrl: string | null;
|
169
|
+
dailyRewards: number;
|
160
170
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
161
171
|
identifier: string;
|
162
172
|
howToSteps: string[];
|
163
173
|
explorerAddress: string | null;
|
164
174
|
mainProtocolId: string | null;
|
165
|
-
dailyRewards: number;
|
166
175
|
tags: string[];
|
167
176
|
lastCampaignCreatedAt: Date;
|
168
177
|
}) | undefined;
|
@@ -275,12 +284,12 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
275
284
|
action: import("@package/databases").OpportunityAction;
|
276
285
|
type: string;
|
277
286
|
depositUrl: string | null;
|
287
|
+
dailyRewards: number;
|
278
288
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
279
289
|
identifier: string;
|
280
290
|
howToSteps: string[];
|
281
291
|
explorerAddress: string | null;
|
282
292
|
mainProtocolId: string | null;
|
283
|
-
dailyRewards: number;
|
284
293
|
tags: string[];
|
285
294
|
lastCampaignCreatedAt: Date;
|
286
295
|
});
|
@@ -405,12 +414,12 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
405
414
|
action: import("@package/databases").OpportunityAction;
|
406
415
|
type: string;
|
407
416
|
depositUrl: string | null;
|
417
|
+
dailyRewards: number;
|
408
418
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
409
419
|
identifier: string;
|
410
420
|
howToSteps: string[];
|
411
421
|
explorerAddress: string | null;
|
412
422
|
mainProtocolId: string | null;
|
413
|
-
dailyRewards: number;
|
414
423
|
tags: string[];
|
415
424
|
lastCampaignCreatedAt: Date;
|
416
425
|
});
|
@@ -531,12 +540,12 @@ export declare const PayloadController: Elysia<"/payload", {
|
|
531
540
|
action: import("@package/databases").OpportunityAction;
|
532
541
|
type: string;
|
533
542
|
depositUrl: string | null;
|
543
|
+
dailyRewards: number;
|
534
544
|
manualOverrides: import("@package/databases").OpportunityManualOverride[];
|
535
545
|
identifier: string;
|
536
546
|
howToSteps: string[];
|
537
547
|
explorerAddress: string | null;
|
538
548
|
mainProtocolId: string | null;
|
539
|
-
dailyRewards: number;
|
540
549
|
tags: string[];
|
541
550
|
lastCampaignCreatedAt: Date;
|
542
551
|
});
|