@merkl/api 1.0.0 → 1.0.4
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 +131 -128
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/implementations/PendleYTProcessor.d.ts +1 -1
- package/dist/src/index.d.ts +47 -46
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +15 -15
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +30 -30
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +13 -13
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +20 -20
- package/dist/src/modules/v4/router.d.ts +47 -46
- package/dist/src/modules/v4/status/status.controller.d.ts +1 -0
- package/dist/src/modules/v4/status/status.model.d.ts +1 -0
- package/dist/src/utils/pricer.d.ts +4 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -2
package/dist/src/index.d.ts
CHANGED
@@ -325,11 +325,6 @@ declare const app: Elysia<"", {
|
|
325
325
|
chainId: number;
|
326
326
|
action: string;
|
327
327
|
type: string;
|
328
|
-
howToSteps: string[];
|
329
|
-
identifier: string;
|
330
|
-
dailyRewards: number;
|
331
|
-
tags: string[];
|
332
|
-
lastCampaignCreatedAt: string;
|
333
328
|
chain: {
|
334
329
|
explorers?: {
|
335
330
|
chainId: number;
|
@@ -340,6 +335,11 @@ declare const app: Elysia<"", {
|
|
340
335
|
id: number;
|
341
336
|
icon: string;
|
342
337
|
};
|
338
|
+
howToSteps: string[];
|
339
|
+
identifier: string;
|
340
|
+
dailyRewards: number;
|
341
|
+
tags: string[];
|
342
|
+
lastCampaignCreatedAt: string;
|
343
343
|
} | null)[];
|
344
344
|
422: {
|
345
345
|
type: "validation";
|
@@ -606,11 +606,6 @@ declare const app: Elysia<"", {
|
|
606
606
|
chainId: number;
|
607
607
|
action: string;
|
608
608
|
type: string;
|
609
|
-
howToSteps: string[];
|
610
|
-
identifier: string;
|
611
|
-
dailyRewards: number;
|
612
|
-
tags: string[];
|
613
|
-
lastCampaignCreatedAt: string;
|
614
609
|
chain: {
|
615
610
|
explorers?: {
|
616
611
|
chainId: number;
|
@@ -621,6 +616,11 @@ declare const app: Elysia<"", {
|
|
621
616
|
id: number;
|
622
617
|
icon: string;
|
623
618
|
};
|
619
|
+
howToSteps: string[];
|
620
|
+
identifier: string;
|
621
|
+
dailyRewards: number;
|
622
|
+
tags: string[];
|
623
|
+
lastCampaignCreatedAt: string;
|
624
624
|
};
|
625
625
|
readonly 500: {
|
626
626
|
info: string;
|
@@ -806,11 +806,6 @@ declare const app: Elysia<"", {
|
|
806
806
|
computeChainId: number;
|
807
807
|
distributionChainId: number;
|
808
808
|
endTimestamp: string | number;
|
809
|
-
opportunityId: string;
|
810
|
-
creatorAddress: string;
|
811
|
-
subType: number | null;
|
812
|
-
rewardTokenId: string;
|
813
|
-
createdAt: string;
|
814
809
|
chain: {
|
815
810
|
explorers?: {
|
816
811
|
chainId: number;
|
@@ -821,14 +816,14 @@ declare const app: Elysia<"", {
|
|
821
816
|
id: number;
|
822
817
|
icon: string;
|
823
818
|
};
|
819
|
+
opportunityId: string;
|
820
|
+
creatorAddress: string;
|
821
|
+
subType: number | null;
|
822
|
+
rewardTokenId: string;
|
823
|
+
createdAt: string;
|
824
824
|
}[];
|
825
825
|
action: string;
|
826
826
|
type: string;
|
827
|
-
howToSteps: string[];
|
828
|
-
identifier: string;
|
829
|
-
dailyRewards: number;
|
830
|
-
tags: string[];
|
831
|
-
lastCampaignCreatedAt: string;
|
832
827
|
chain: {
|
833
828
|
explorers?: {
|
834
829
|
chainId: number;
|
@@ -839,6 +834,11 @@ declare const app: Elysia<"", {
|
|
839
834
|
id: number;
|
840
835
|
icon: string;
|
841
836
|
};
|
837
|
+
howToSteps: string[];
|
838
|
+
identifier: string;
|
839
|
+
dailyRewards: number;
|
840
|
+
tags: string[];
|
841
|
+
lastCampaignCreatedAt: string;
|
842
842
|
}[];
|
843
843
|
readonly 500: {
|
844
844
|
info: string;
|
@@ -1005,11 +1005,6 @@ declare const app: Elysia<"", {
|
|
1005
1005
|
computeChainId: number;
|
1006
1006
|
distributionChainId: number;
|
1007
1007
|
endTimestamp: string | number;
|
1008
|
-
opportunityId: string;
|
1009
|
-
creatorAddress: string;
|
1010
|
-
subType: number | null;
|
1011
|
-
rewardTokenId: string;
|
1012
|
-
createdAt: string;
|
1013
1008
|
chain: {
|
1014
1009
|
explorers?: {
|
1015
1010
|
chainId: number;
|
@@ -1020,14 +1015,14 @@ declare const app: Elysia<"", {
|
|
1020
1015
|
id: number;
|
1021
1016
|
icon: string;
|
1022
1017
|
};
|
1018
|
+
opportunityId: string;
|
1019
|
+
creatorAddress: string;
|
1020
|
+
subType: number | null;
|
1021
|
+
rewardTokenId: string;
|
1022
|
+
createdAt: string;
|
1023
1023
|
}[];
|
1024
1024
|
action: string;
|
1025
1025
|
type: string;
|
1026
|
-
howToSteps: string[];
|
1027
|
-
identifier: string;
|
1028
|
-
dailyRewards: number;
|
1029
|
-
tags: string[];
|
1030
|
-
lastCampaignCreatedAt: string;
|
1031
1026
|
chain: {
|
1032
1027
|
explorers?: {
|
1033
1028
|
chainId: number;
|
@@ -1038,6 +1033,11 @@ declare const app: Elysia<"", {
|
|
1038
1033
|
id: number;
|
1039
1034
|
icon: string;
|
1040
1035
|
};
|
1036
|
+
howToSteps: string[];
|
1037
|
+
identifier: string;
|
1038
|
+
dailyRewards: number;
|
1039
|
+
tags: string[];
|
1040
|
+
lastCampaignCreatedAt: string;
|
1041
1041
|
};
|
1042
1042
|
readonly 500: {
|
1043
1043
|
info: string;
|
@@ -2107,11 +2107,6 @@ declare const app: Elysia<"", {
|
|
2107
2107
|
computeChainId: number;
|
2108
2108
|
distributionChainId: number;
|
2109
2109
|
endTimestamp: string | number;
|
2110
|
-
opportunityId: string;
|
2111
|
-
creatorAddress: string;
|
2112
|
-
subType: number | null;
|
2113
|
-
rewardTokenId: string;
|
2114
|
-
createdAt: string;
|
2115
2110
|
chain: {
|
2116
2111
|
explorers?: {
|
2117
2112
|
chainId: number;
|
@@ -2122,6 +2117,11 @@ declare const app: Elysia<"", {
|
|
2122
2117
|
id: number;
|
2123
2118
|
icon: string;
|
2124
2119
|
};
|
2120
|
+
opportunityId: string;
|
2121
|
+
creatorAddress: string;
|
2122
|
+
subType: number | null;
|
2123
|
+
rewardTokenId: string;
|
2124
|
+
createdAt: string;
|
2125
2125
|
}[];
|
2126
2126
|
422: {
|
2127
2127
|
type: "validation";
|
@@ -2194,11 +2194,6 @@ declare const app: Elysia<"", {
|
|
2194
2194
|
computeChainId: number;
|
2195
2195
|
distributionChainId: number;
|
2196
2196
|
endTimestamp: string | number;
|
2197
|
-
opportunityId: string;
|
2198
|
-
creatorAddress: string;
|
2199
|
-
subType: number | null;
|
2200
|
-
rewardTokenId: string;
|
2201
|
-
createdAt: string;
|
2202
2197
|
chain: {
|
2203
2198
|
explorers?: {
|
2204
2199
|
chainId: number;
|
@@ -2209,6 +2204,11 @@ declare const app: Elysia<"", {
|
|
2209
2204
|
id: number;
|
2210
2205
|
icon: string;
|
2211
2206
|
};
|
2207
|
+
opportunityId: string;
|
2208
|
+
creatorAddress: string;
|
2209
|
+
subType: number | null;
|
2210
|
+
rewardTokenId: string;
|
2211
|
+
createdAt: string;
|
2212
2212
|
};
|
2213
2213
|
422: {
|
2214
2214
|
type: "validation";
|
@@ -2488,11 +2488,6 @@ declare const app: Elysia<"", {
|
|
2488
2488
|
computeChainId: number;
|
2489
2489
|
distributionChainId: number;
|
2490
2490
|
endTimestamp: string | number;
|
2491
|
-
opportunityId: string;
|
2492
|
-
creatorAddress: string;
|
2493
|
-
subType: number | null;
|
2494
|
-
rewardTokenId: string;
|
2495
|
-
createdAt: string;
|
2496
2491
|
chain: {
|
2497
2492
|
explorers?: {
|
2498
2493
|
chainId: number;
|
@@ -2503,6 +2498,11 @@ declare const app: Elysia<"", {
|
|
2503
2498
|
id: number;
|
2504
2499
|
icon: string;
|
2505
2500
|
};
|
2501
|
+
opportunityId: string;
|
2502
|
+
creatorAddress: string;
|
2503
|
+
subType: number | null;
|
2504
|
+
rewardTokenId: string;
|
2505
|
+
createdAt: string;
|
2506
2506
|
}[];
|
2507
2507
|
422: {
|
2508
2508
|
type: "validation";
|
@@ -5577,10 +5577,10 @@ declare const app: Elysia<"", {
|
|
5577
5577
|
slippage?: number | undefined;
|
5578
5578
|
protocolId: string;
|
5579
5579
|
chainId: number;
|
5580
|
+
fromAmount: string;
|
5580
5581
|
userAddress: string;
|
5581
5582
|
identifier: string;
|
5582
5583
|
fromTokenAddress: string;
|
5583
|
-
fromAmount: string;
|
5584
5584
|
};
|
5585
5585
|
headers: unknown;
|
5586
5586
|
response: {
|
@@ -6071,6 +6071,7 @@ declare const app: Elysia<"", {
|
|
6071
6071
|
query: {
|
6072
6072
|
chainId?: number | undefined;
|
6073
6073
|
endTimestampLowerBound?: number | undefined;
|
6074
|
+
includeSubCampaigns?: boolean | undefined;
|
6074
6075
|
delayLowerBound?: number | undefined;
|
6075
6076
|
};
|
6076
6077
|
headers: unknown;
|
@@ -505,11 +505,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
505
505
|
computeChainId: number;
|
506
506
|
distributionChainId: number;
|
507
507
|
endTimestamp: string | number;
|
508
|
-
opportunityId: string;
|
509
|
-
creatorAddress: string;
|
510
|
-
subType: number | null;
|
511
|
-
rewardTokenId: string;
|
512
|
-
createdAt: string;
|
513
508
|
chain: {
|
514
509
|
explorers?: {
|
515
510
|
chainId: number;
|
@@ -520,6 +515,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
520
515
|
id: number;
|
521
516
|
icon: string;
|
522
517
|
};
|
518
|
+
opportunityId: string;
|
519
|
+
creatorAddress: string;
|
520
|
+
subType: number | null;
|
521
|
+
rewardTokenId: string;
|
522
|
+
createdAt: string;
|
523
523
|
}[];
|
524
524
|
422: {
|
525
525
|
type: "validation";
|
@@ -592,11 +592,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
592
592
|
computeChainId: number;
|
593
593
|
distributionChainId: number;
|
594
594
|
endTimestamp: string | number;
|
595
|
-
opportunityId: string;
|
596
|
-
creatorAddress: string;
|
597
|
-
subType: number | null;
|
598
|
-
rewardTokenId: string;
|
599
|
-
createdAt: string;
|
600
595
|
chain: {
|
601
596
|
explorers?: {
|
602
597
|
chainId: number;
|
@@ -607,6 +602,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
607
602
|
id: number;
|
608
603
|
icon: string;
|
609
604
|
};
|
605
|
+
opportunityId: string;
|
606
|
+
creatorAddress: string;
|
607
|
+
subType: number | null;
|
608
|
+
rewardTokenId: string;
|
609
|
+
createdAt: string;
|
610
610
|
};
|
611
611
|
422: {
|
612
612
|
type: "validation";
|
@@ -886,11 +886,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
886
886
|
computeChainId: number;
|
887
887
|
distributionChainId: number;
|
888
888
|
endTimestamp: string | number;
|
889
|
-
opportunityId: string;
|
890
|
-
creatorAddress: string;
|
891
|
-
subType: number | null;
|
892
|
-
rewardTokenId: string;
|
893
|
-
createdAt: string;
|
894
889
|
chain: {
|
895
890
|
explorers?: {
|
896
891
|
chainId: number;
|
@@ -901,6 +896,11 @@ export declare const CampaignController: Elysia<"/campaigns", {
|
|
901
896
|
id: number;
|
902
897
|
icon: string;
|
903
898
|
};
|
899
|
+
opportunityId: string;
|
900
|
+
creatorAddress: string;
|
901
|
+
subType: number | null;
|
902
|
+
rewardTokenId: string;
|
903
|
+
createdAt: string;
|
904
904
|
}[];
|
905
905
|
422: {
|
906
906
|
type: "validation";
|
@@ -542,7 +542,7 @@ export declare abstract class CampaignRepository {
|
|
542
542
|
distributionChainId?: number;
|
543
543
|
computeChainId?: number;
|
544
544
|
type?: string;
|
545
|
-
}): Promise<number>;
|
545
|
+
}, includeSubCampaigns?: boolean): Promise<number>;
|
546
546
|
/**
|
547
547
|
* Upserts a campaign in the database. If the campaign already exists, it updates the existing record;
|
548
548
|
* otherwise, it creates a new one.
|
@@ -86,10 +86,10 @@ export declare const InteractionController: Elysia<"/interaction", {
|
|
86
86
|
slippage?: number | undefined;
|
87
87
|
protocolId: string;
|
88
88
|
chainId: number;
|
89
|
+
fromAmount: string;
|
89
90
|
userAddress: string;
|
90
91
|
identifier: string;
|
91
92
|
fromTokenAddress: string;
|
92
|
-
fromAmount: string;
|
93
93
|
};
|
94
94
|
headers: unknown;
|
95
95
|
response: {
|
@@ -125,11 +125,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
125
125
|
chainId: number;
|
126
126
|
action: string;
|
127
127
|
type: string;
|
128
|
-
howToSteps: string[];
|
129
|
-
identifier: string;
|
130
|
-
dailyRewards: number;
|
131
|
-
tags: string[];
|
132
|
-
lastCampaignCreatedAt: string;
|
133
128
|
chain: {
|
134
129
|
explorers?: {
|
135
130
|
chainId: number;
|
@@ -140,6 +135,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
140
135
|
id: number;
|
141
136
|
icon: string;
|
142
137
|
};
|
138
|
+
howToSteps: string[];
|
139
|
+
identifier: string;
|
140
|
+
dailyRewards: number;
|
141
|
+
tags: string[];
|
142
|
+
lastCampaignCreatedAt: string;
|
143
143
|
} | null)[];
|
144
144
|
422: {
|
145
145
|
type: "validation";
|
@@ -406,11 +406,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
406
406
|
chainId: number;
|
407
407
|
action: string;
|
408
408
|
type: string;
|
409
|
-
howToSteps: string[];
|
410
|
-
identifier: string;
|
411
|
-
dailyRewards: number;
|
412
|
-
tags: string[];
|
413
|
-
lastCampaignCreatedAt: string;
|
414
409
|
chain: {
|
415
410
|
explorers?: {
|
416
411
|
chainId: number;
|
@@ -421,6 +416,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
421
416
|
id: number;
|
422
417
|
icon: string;
|
423
418
|
};
|
419
|
+
howToSteps: string[];
|
420
|
+
identifier: string;
|
421
|
+
dailyRewards: number;
|
422
|
+
tags: string[];
|
423
|
+
lastCampaignCreatedAt: string;
|
424
424
|
};
|
425
425
|
readonly 500: {
|
426
426
|
info: string;
|
@@ -606,11 +606,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
606
606
|
computeChainId: number;
|
607
607
|
distributionChainId: number;
|
608
608
|
endTimestamp: string | number;
|
609
|
-
opportunityId: string;
|
610
|
-
creatorAddress: string;
|
611
|
-
subType: number | null;
|
612
|
-
rewardTokenId: string;
|
613
|
-
createdAt: string;
|
614
609
|
chain: {
|
615
610
|
explorers?: {
|
616
611
|
chainId: number;
|
@@ -621,14 +616,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
621
616
|
id: number;
|
622
617
|
icon: string;
|
623
618
|
};
|
619
|
+
opportunityId: string;
|
620
|
+
creatorAddress: string;
|
621
|
+
subType: number | null;
|
622
|
+
rewardTokenId: string;
|
623
|
+
createdAt: string;
|
624
624
|
}[];
|
625
625
|
action: string;
|
626
626
|
type: string;
|
627
|
-
howToSteps: string[];
|
628
|
-
identifier: string;
|
629
|
-
dailyRewards: number;
|
630
|
-
tags: string[];
|
631
|
-
lastCampaignCreatedAt: string;
|
632
627
|
chain: {
|
633
628
|
explorers?: {
|
634
629
|
chainId: number;
|
@@ -639,6 +634,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
639
634
|
id: number;
|
640
635
|
icon: string;
|
641
636
|
};
|
637
|
+
howToSteps: string[];
|
638
|
+
identifier: string;
|
639
|
+
dailyRewards: number;
|
640
|
+
tags: string[];
|
641
|
+
lastCampaignCreatedAt: string;
|
642
642
|
}[];
|
643
643
|
readonly 500: {
|
644
644
|
info: string;
|
@@ -805,11 +805,6 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
805
805
|
computeChainId: number;
|
806
806
|
distributionChainId: number;
|
807
807
|
endTimestamp: string | number;
|
808
|
-
opportunityId: string;
|
809
|
-
creatorAddress: string;
|
810
|
-
subType: number | null;
|
811
|
-
rewardTokenId: string;
|
812
|
-
createdAt: string;
|
813
808
|
chain: {
|
814
809
|
explorers?: {
|
815
810
|
chainId: number;
|
@@ -820,14 +815,14 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
820
815
|
id: number;
|
821
816
|
icon: string;
|
822
817
|
};
|
818
|
+
opportunityId: string;
|
819
|
+
creatorAddress: string;
|
820
|
+
subType: number | null;
|
821
|
+
rewardTokenId: string;
|
822
|
+
createdAt: string;
|
823
823
|
}[];
|
824
824
|
action: string;
|
825
825
|
type: string;
|
826
|
-
howToSteps: string[];
|
827
|
-
identifier: string;
|
828
|
-
dailyRewards: number;
|
829
|
-
tags: string[];
|
830
|
-
lastCampaignCreatedAt: string;
|
831
826
|
chain: {
|
832
827
|
explorers?: {
|
833
828
|
chainId: number;
|
@@ -838,6 +833,11 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
838
833
|
id: number;
|
839
834
|
icon: string;
|
840
835
|
};
|
836
|
+
howToSteps: string[];
|
837
|
+
identifier: string;
|
838
|
+
dailyRewards: number;
|
839
|
+
tags: string[];
|
840
|
+
lastCampaignCreatedAt: string;
|
841
841
|
};
|
842
842
|
readonly 500: {
|
843
843
|
info: string;
|
@@ -166,6 +166,19 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
166
166
|
chainId: import("@sinclair/typebox").TNumber;
|
167
167
|
action: import("@sinclair/typebox").TString;
|
168
168
|
type: import("@sinclair/typebox").TString;
|
169
|
+
chain: import("@sinclair/typebox").TObject<{
|
170
|
+
id: import("@sinclair/typebox").TNumber;
|
171
|
+
name: import("@sinclair/typebox").TString;
|
172
|
+
icon: import("@sinclair/typebox").TString;
|
173
|
+
explorers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
174
|
+
type: import("@sinclair/typebox").TEnum<{
|
175
|
+
readonly ETHERSCAN: "ETHERSCAN";
|
176
|
+
readonly BLOCKSCOUT: "BLOCKSCOUT";
|
177
|
+
}>;
|
178
|
+
url: import("@sinclair/typebox").TString;
|
179
|
+
chainId: import("@sinclair/typebox").TNumber;
|
180
|
+
}>>>;
|
181
|
+
}>;
|
169
182
|
depositUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
170
183
|
protocol: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
171
184
|
id: import("@sinclair/typebox").TString;
|
@@ -188,19 +201,6 @@ export declare const OpportunityWithCampaignsResourceDto: import("@sinclair/type
|
|
188
201
|
dailyRewards: import("@sinclair/typebox").TNumber;
|
189
202
|
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
190
203
|
lastCampaignCreatedAt: import("@sinclair/typebox").TString;
|
191
|
-
chain: import("@sinclair/typebox").TObject<{
|
192
|
-
id: import("@sinclair/typebox").TNumber;
|
193
|
-
name: import("@sinclair/typebox").TString;
|
194
|
-
icon: import("@sinclair/typebox").TString;
|
195
|
-
explorers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
196
|
-
type: import("@sinclair/typebox").TEnum<{
|
197
|
-
readonly ETHERSCAN: "ETHERSCAN";
|
198
|
-
readonly BLOCKSCOUT: "BLOCKSCOUT";
|
199
|
-
}>;
|
200
|
-
url: import("@sinclair/typebox").TString;
|
201
|
-
chainId: import("@sinclair/typebox").TNumber;
|
202
|
-
}>>>;
|
203
|
-
}>;
|
204
204
|
aprRecord: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
205
205
|
cumulated: import("@sinclair/typebox").TNumber;
|
206
206
|
timestamp: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBigInt, import("@sinclair/typebox").TString]>;
|
@@ -457,11 +457,6 @@ export declare abstract class OpportunityService {
|
|
457
457
|
computeChainId: number;
|
458
458
|
distributionChainId: number;
|
459
459
|
endTimestamp: string | number;
|
460
|
-
opportunityId: string;
|
461
|
-
creatorAddress: string;
|
462
|
-
subType: number | null;
|
463
|
-
rewardTokenId: string;
|
464
|
-
createdAt: string;
|
465
460
|
chain: {
|
466
461
|
explorers?: {
|
467
462
|
chainId: number;
|
@@ -472,14 +467,14 @@ export declare abstract class OpportunityService {
|
|
472
467
|
id: number;
|
473
468
|
icon: string;
|
474
469
|
};
|
470
|
+
opportunityId: string;
|
471
|
+
creatorAddress: string;
|
472
|
+
subType: number | null;
|
473
|
+
rewardTokenId: string;
|
474
|
+
createdAt: string;
|
475
475
|
}[];
|
476
476
|
action: string;
|
477
477
|
type: string;
|
478
|
-
howToSteps: string[];
|
479
|
-
identifier: string;
|
480
|
-
dailyRewards: number;
|
481
|
-
tags: string[];
|
482
|
-
lastCampaignCreatedAt: string;
|
483
478
|
chain: {
|
484
479
|
explorers?: {
|
485
480
|
chainId: number;
|
@@ -490,6 +485,11 @@ export declare abstract class OpportunityService {
|
|
490
485
|
id: number;
|
491
486
|
icon: string;
|
492
487
|
};
|
488
|
+
howToSteps: string[];
|
489
|
+
identifier: string;
|
490
|
+
dailyRewards: number;
|
491
|
+
tags: string[];
|
492
|
+
lastCampaignCreatedAt: string;
|
493
493
|
}[]>;
|
494
494
|
static getUniqueWithCampaignsOrThrow(opportunityId: string | OpportunityUnique, withTest?: boolean, withPoints?: boolean): Promise<{
|
495
495
|
depositUrl?: string | undefined;
|
@@ -618,11 +618,6 @@ export declare abstract class OpportunityService {
|
|
618
618
|
computeChainId: number;
|
619
619
|
distributionChainId: number;
|
620
620
|
endTimestamp: string | number;
|
621
|
-
opportunityId: string;
|
622
|
-
creatorAddress: string;
|
623
|
-
subType: number | null;
|
624
|
-
rewardTokenId: string;
|
625
|
-
createdAt: string;
|
626
621
|
chain: {
|
627
622
|
explorers?: {
|
628
623
|
chainId: number;
|
@@ -633,14 +628,14 @@ export declare abstract class OpportunityService {
|
|
633
628
|
id: number;
|
634
629
|
icon: string;
|
635
630
|
};
|
631
|
+
opportunityId: string;
|
632
|
+
creatorAddress: string;
|
633
|
+
subType: number | null;
|
634
|
+
rewardTokenId: string;
|
635
|
+
createdAt: string;
|
636
636
|
}[];
|
637
637
|
action: string;
|
638
638
|
type: string;
|
639
|
-
howToSteps: string[];
|
640
|
-
identifier: string;
|
641
|
-
dailyRewards: number;
|
642
|
-
tags: string[];
|
643
|
-
lastCampaignCreatedAt: string;
|
644
639
|
chain: {
|
645
640
|
explorers?: {
|
646
641
|
chainId: number;
|
@@ -651,6 +646,11 @@ export declare abstract class OpportunityService {
|
|
651
646
|
id: number;
|
652
647
|
icon: string;
|
653
648
|
};
|
649
|
+
howToSteps: string[];
|
650
|
+
identifier: string;
|
651
|
+
dailyRewards: number;
|
652
|
+
tags: string[];
|
653
|
+
lastCampaignCreatedAt: string;
|
654
654
|
}>;
|
655
655
|
static findUniqueOrThrow(opportunityId: string | OpportunityUnique, withCampaigns?: boolean, withTest?: boolean, withPoints?: boolean): Promise<OpportunityResourceModel>;
|
656
656
|
/**
|